depressed use or ng-init in angular,use func in controller instead