Used  or ng-init to initialize value of placeholder attribute, and used ng conditional expressions in DOM