 <p>i think you are using $routeProvider for your angular app. but in your example angular app is using $stateProvider.so you have to install angular-ui-router.js and give reference to it to the index.html . and also you have to put dependency 'ui.router' in to app.js </p>