Open mahyar-pasarzangene opened 7 years ago
"It should be noted that the -tpls files contain the templates bundled in JavaScript, while the regular version does not contain the bundled templates." https://angular-ui.github.io/bootstrap/
You forgot to include ui-bootstrap-tpls.min.js
file in your index.html or whatever loads your application.
Bug description:
I've added ui-bootstrap to an angular 1.x project and getting this error when I want to open a modal form
[$compile:tpload] Failed to load template: uib/template/modal/window.html (HTTP status: 404 Not Found)
I've used ui-bootstrap before and always it worked well but in my new project I have problem with it.
the code is like :
$uibModal.open({ backdrop: 'static', templateUrl: 'DesktopModules/' + window.GLOB.moduleFolderName + '/app/form/form.html', controller: 'requestCtrl', size: 'sm', scope: $scope });
angular ver : v1.5.8UIBS: v2.2.0
Bootstrap: v3.3.7