angularJs 怎么根据两种不同的条件使 placeholder=" " 等于不同的值。<input type="text" name="keyWords" id="keyWords" placeholder="关键词1/关键词2" class="search-style">
<input type="text" name="keyWords" id="keyWords" placeholder="{{myPlaceholder}}" class="search-style">
Controller里面
$scope.myPlaceholder = '关键词';
Controller里面