How can i use razor null check using angularjs ng-init method ?