nohros / nsPopover

Popover dialogs for angularjs applications.
MIT License
126 stars 107 forks source link

Loading template from external path is not working #119

Open jeevasusej opened 7 years ago

jeevasusej commented 7 years ago

I have tried to load the template from external path. But I can't load. How to do that? Please see the following how did I do?

 <span ns-popover
                                      ns-popover-template="{{oBoard.boardUserPermissionTemplate}}"
                                      ns-popover-trigger="click"
                                      ns-popover-theme="ns-popover-tooltip-theme"
                                      ns-popover-timeout="1000"
                                      ns-popover-hide-on-inside-click="false"
                                      ns-popover-hide-on-outside-click="true"
                                      ns-popover-hide-on-button-click="true"
                                      class="mrg5B">
                                    <i class="btn btn-md btn-primary fa fa-key"></i>
                                </span>

$scope.oBoard = {
        template: 'http://localhost:4085/App/T/Template.html'
    };