Angular_Routing

Routing:

  • In angular, routing is a way of walking through different-2 parts of html

Here is a concept folks, take it:

  • $routeProvider.when() takes two argument one specified the route/path and another is a obect that contain url of that path with their own controller
  • Dn't worry controller is nothing, its function just to control your application, sounds scary but its awesome