interface IAdminTab { tooltip : string ; icon : string ; active : boolean ; state : string ; } ngInject export class AdminController { $state : angular . ui . IStateService ; tabs : IAdminTab [ ] = [ { tooltip : 'ADMINS' , icon : 'fa fa-user' , active : true , state : 'admin.users' } , { tooltip : 'FEEDS USERS' , icon : 'fa fa-circle' , active : false , state : 'admin.fusers' } ] ; constructor ( $state ) { this . $state = $state ; } public select ( state ) { this . $state . go ( state ) ; } }