almost 7 years ago
$route: This is used for deep-linking URLs to controllers and views (HTML partials) and watches $location.url() in order to map the path from an existing definition of route.
When we use ngRoute, the route is configured with $routeProvider and when we use ui-router, the route is configured with $stateProvider and $urlRouterProvider.
ngRoute - It is a part of AngularJs and was developed by Angular.js team.
ui-router - It is used to enhance and to improve the capabilities of routing, It is basically a framework.
ui-router supports everything the normal ngRoute has as well as many extra functions.
There are some powerful reasons to use ui-router over ngRoute:
Also if you want, your can using https://oclazyload.readme.io, This is very marriage. Lazy load on demand. :)
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2022 FindNerd.com. All rights reserved.
Sign up using