Yes I actaully looked at the code again and it is $stateProvider.state(url, templateUrl, etc...) Why would you use this over $routeProvider?
On Wednesday, March 19, 2014 2:40:23 PM UTC-4, Mauro Servienti wrote: > Sounds strange, are you speaking about the $stateProvider of the > UI-router plugin? > > Sent from my Amazing Yellow Lumia, typos are guaranteed ;-) > ------------------------------ > From: Scott Howser <javascript:> > Sent: 19/03/2014 19.29 > To: [email protected] <javascript:> > Subject: [AngularJS] $routeProvider > > I recently saw some code that used > $routeProvider > .status(...) > .status(...) > > I cant find any documentation on this but I do see that .status() is > actaully available. > Why would you use status over $routeProvider.when() ?? > > > Thanks > Scott > St. Pete Florida (Yes angular has reached Florida) > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- 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.
