hi i am starter in angularjs. I want to inject controller in app.js using $stateProvider.
This is my code
$state('/home',{
url:'home',
templateurl :'home.html',
controller : ' homecontroller'
})
but controller does not load when we run tha application