.config(['$stateProvider', '$urlRouterProvider', '$locationProvider',
function ($stateProvider, $urlRouterProvider, $locationProvider) {
$stateProvider
.state('login', {
url: "/login",
templateUrl: "app/components/auth/login.html",
controller: "Logi
Can we know how the controller are placed on view ?
On Tuesday, 5 April 2016 05:04:30 UTC+10, Rj Ewing wrote:
>
> Hello, I'm new to angular and having trouble accessing the user from my
> UserFactory. My NavCtrl isn't recognizing when UserFactory.user is updated
> (after authentication)
>
> app.
I'm not really getting an error. NavCtrl.vm.user is undefined even though I can
grab the UserFactory on the console and the user property is set correctly.
> On Apr 4, 2016, at 7:17 PM, Tito wrote:
>
> what error are you seeing? I am thinking you need the UserFactory before
> NavCtrl?
>
>> O
what error are you seeing? I am thinking you need the UserFactory before
NavCtrl?
On Monday, April 4, 2016 at 12:04:30 PM UTC-7, Rj Ewing wrote:
>
> Hello, I'm new to angular and having trouble accessing the user from my
> UserFactory. My NavCtrl isn't recognizing when UserFactory.user is update