I'm using jquery notification plugin, I tried to call the function of this plugin in angular controller shown in the below code, but always gives an exception that the method I'm calling isn't defined. I think the problem comes from the way I call this function; So does anyone know a right way for calling it ?!
$scope.AddLayout = function () {
LayoutApi.AddLayout(angular.toJson($scope.Layout)).success(function () {
$.sticky("Layout Saved Successfully", {
stickyClass: 'success'
});
});
}