AngularJS ng-show directive not working on scope function like it should -
What's wrong with this simple ng-show directive? It should be simple because I have hidden buttons through the ng-show and when a third button is clicked, these two buttons will be displayed so long as they are not clicked, they hide. javascript $ scope.addQuestion = function () {$ ('button # addquestion'). Click (function () ($ scope.addQuestion = true; console.log ("clicked");})} HTML & lt ; Div class = "program-edit-btns well" & gt; & Lt ;! - These two buttons are hidden until the third button is clicked - & gt; & Lt; Div class = "btn-group pull-left" ng-show = "plus question ()" & gt; & Lt; Button type = "button" class = "BTN-remove BTN" & gt; & Lt; I class = "fa fa-plus" & gt; & Lt; / I & gt; Add & lt; / Button & gt; & Lt; Button type = "button" class = "BTN-remove BTN" & gt; & Lt; I class = "f...