angularjs - Angular 1.5 component doesn't call parent controller method -


i'm using angular 1.5 component , want call controller's method bind scope component's method call. please find below code

<table-pagination previous="getpagename()"></table-pagination>  bindings: {    previous:"&" }  this.previous = function () { }; 

in above example, want call getpagename() method of controller bind $scope , here not using controlleras syntax.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -