How to make placeholder=" " equal to different values according to two different conditions in angularJs.
<input type="text" name="keyWords" id="keyWords" placeholder="Keyword 1/Keyword 2" class="search-style">
世界只因有你2017-05-15 17:01:19
<input type="text" name="keyWords" id="keyWords" placeholder="{{myPlaceholder}}" class="search-style">
Inside Controller
$scope.myPlaceholder = '关键词';