I am using like this in my .html file,but it is not working.
<p>State is {{state.current.name}}</p>
In controller.js i am able to get it. But I want to get it in html file. Anyone can help me in this.
in controller assign state to a variable
$scope.state = $state;
Now you can access it in the HTML.
<p>State is {{state.current.name}}</p>
Make sure to inject $state
into controller.