Is there a way to have bootstrap js directives (inline tag attributes) work within a angular template file?
All JS libs are correctly loaded, including the js init code for using popovers. The angular template is correctly loaded using angular router.
All the bootstrap js functions fail to be run/detected in angular templates, is there something i'm doing wrong or is this expected, and is there a way to get it working without changing the html (I looked at angular bootstap ui, but it requires rewriting the html)
Super simplified:
Twig template:
<div class="col-md-12" ng-app="builderApp"><div ng-view></div></div>
Angular template:
<i class="fa fa-info-circle" data-toggle="popover" data-content="woop woop"></i>
Angular JS:
var builderApp = angular.module('builderApp', ['ngRoute', 'xeditable']);
builderApp.config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/', {
templateUrl: template_path + 'root.html',
controller: 'rootController'
})
}]);
builderApp.controller('rootController', function($scope, directoryFactory) {
$scope.directory = directoryFactory.getDirectory();
});