Angular-UI (bootstrap) popover not working?
So, I am working on getting the popover to be displayed on the button using Angular-UI. I tested the tooltips first and they work great ... but when I use popovers it doesn't work at all.
My controller is empty, just has $ scope. Here's my code for the button (taken directly from the demo on their site):
<button popover-placement="bottom" popover="On the Bottom!" class="btn btn-default">Bottom</button>
What confuses me is that if the prompt directive works, why isn't it a popover? Am I missing something from my controller?
Here's my controller, although I don't think it will be very helpful:
angular.module('module').controller('MyController', ['$scope',
function($scope) {
}
]);
Hope I can solve this problem. Thanks in advance.
+3
source to share