Hi @whynotworking,
Try below code
<form name="frmTest">
<script cam-script type="text/form-script">
inject([ '$rootScope', '$scope', 'Notifications', function($rootScope, $scope, Notifications) {
$scope.doComplete = function() {
// invoke complete() method
$scope.complete(Notifications.addMessage({
status: 'Successfully Submitted',
message: 'Form has been successfully submitted',
scope: $scope
}));
}
}]);
</script>
<div class="form-group">
<button type="button" class="btn btn-primary" type="submit" ng-click="doComplete()">Test Complete</button>
</div>
</form>