How to hide the ios statusbar for a particular ionic view?


#1

Hi, I am new to ionic. Please help me in finding the solution for hiding the ios statusbar in a particular view.I know we could use “Statusbar.hide”, but as per my knowledge and r&d, we could do it on "app.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
if (window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.hide();
}
});
}) "

is there a way to do it in a particular controlle, for a particular view?