Perhaps a simpler way to test 
it: 
http://angular.github.io/angular-phonecat/step-12/app/#/phones/invalid-phone-id 
should default to /phones but instead displays an empty phone detail view.

Am Mittwoch, 17. Februar 2016 17:26:51 UTC-5 schrieb Camilo Delvasto:
>
> I was going through the complete tutorial here: 
> https://docs.angularjs.org/tutorial/ and noticed a problem with the 
> routing configuration: on the step 7, where routing was added, if I try an 
> invalid phone value, it will anyway try to load a phone and assign a view 
> to it. The problem persists till the end of the tutorial, commit 3a69cd6
>
> What would be the correct way to implement it for the default case, let's 
> say to create a 404 page?
>
> Thanks!
> Camilo
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to