How to display a block of markup depending on a function

前端 未结 0 1694
难免孤独
难免孤独 2020-12-21 18:44

I have a controller with this function

$scope.showAdditionalCode = function() {
    return true;
};

and a template like this:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题