2
AngularJS डायरेक्टिव एलिमेंट मेथड बाइंडिंग - TypeError: 'functionName' को खोजने के लिए 'ऑपरेटर' में 'का उपयोग नहीं कर सकता'
यह मुख्य टेम्पलेट का नियंत्रक है: app.controller('OverviewCtrl', ['$scope', '$location', '$routeParams', 'websiteService', 'helperService', function($scope, $location, $routeParams, websiteService, helperService) { ... $scope.editWebsite = function(id) { $location.path('/websites/edit/' + id); }; }]); यह निर्देश है: app.directive('wdaWebsitesOverview', function() { return { restrict: 'E', scope: { heading: '=', websites: '=', editWebsite: '&' }, templateUrl: 'views/websites-overview.html' } …