Hi Greg,
A few things, the only place where you can use the route like you do it is
in the AppController (the root router)
for all other controllers you have to use it like this:
RouterCtrl.$routerconfig = [
{ path: '/', redirectTo: '/page/' + '553e2d15f91e4bd75d000009' }, //
SHOULD REDIRECT TO A DYNAMIC HOME PAGE
];
function RouterCtrl() {
...
}
Well, at least for now, it will work like this!
That will restrict what you want to do to the AppController only. For
now.At least in the current iteration of the router.
Also to current iteration of the router more or less demands that you name
your first controller 'AppController', exactly like that.
Hope this helps you a bit,
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.