$scope has a very important role in AngularJS, it works as a mediator (or ... So, when we create a custom directive it has a default scope, ...
確定! 回上一頁