{{message}}

Usage
Create a button in html file and write a specific function in javascript file to perform your business logic. An sample example as shown below:

HTML file:
<button type="button" class="btn btn-default" ng-click="showCreate()">Create</button>

Javascript file:

        var data={"create_data" : {"title":"Create", "labels":[{"text": "Username", "input_id":"username", "type":"text"},{"text": "Password", "input_id":"username", "type":"password"}], "showClose":"true","closeBtnTxt":"Cancel","msg":"This is Create dialog box", "buttons":[{"text": "Ok"}]}};

        $scope.showCreate = function() {
        dialog_tpl = $(modelTemplate).filter('#functionalDialog').html();
        var html = Mustache.to_html(dialog_tpl, data.create_data);
        $(html).modal();
        }