I'm newer to AngularJs. First i was added one samplecontroller and run that it was working fine. Next i added the routing in my sample application it's not working . I dont know whether this is js dependency issue or somewhat.


I'm newer to AngularJs. First i was added one samplecontroller and run that it was working fine. Next i added the routing in my sample application it's not working . I dont know whether this is js dependency issue or somewhat.


You have added the script for angular-route, but you haven't loaded the ngRoute module in your app:
angular.module('demoApplication', ['ngRoute']);
This is well described in the documentation: https://docs.angularjs.org/api/ngRoute