I am using ui route. I want to set the page title if the title is static or hard code, it's working fine but I want to set the page title based on dynamic state. Here is my code:
    .state('sportsbrief', {
    url: '/sportsbrief',
    controller: 'homeController as home',
    templateUrl: HTML.SPORTS_BRIEF,
    title:"sportsbrief"
  })
  .state('page',{
    url:'/page/:page',
    templateUrl:function(value){
      return"views/"+value.page+".html"
    },
    controller:"staticPageController",
    title:value.page
  })
I want to set the page title for state page.
 
     
     
    