Closed atefcharef closed 7 years ago
Notification.primary({ message: "success2", msg2: "Hello", templateUrl: "custom_template.html", scope: $scope}); in custom_template.html {{message}} work but, {{msg2}} show nothing! so how to pass customs parameters to template?
thnx
$scope.customTemplateScope = function() { $scope.type="msg2"; Notification.primary({message: "success2", templateUrl: "custom_template.html", scope: $scope}); };
in custom_template.html {{msg2}}
Notification.primary({ message: "success2", msg2: "Hello", templateUrl: "custom_template.html", scope: $scope}); in custom_template.html {{message}} work but, {{msg2}} show nothing! so how to pass customs parameters to template?
thnx