Wednesday, June 24, 2015
Tuesday, June 23, 2015
angularjs Failed to instantiate module oc.lazyLoad due to:
When I open browser Internet Explorer 7 (7.0.5730)
Status tools appear error:
[$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
[$injector:nomod] Module ‘undefined’ is not available!
But chrome (43.0.2357) is great.Console not appear error.
Status tools appear error:
[$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
[$injector:nomod] Module ‘undefined’ is not available!
But chrome (43.0.2357) is great.Console not appear error.
Friday, June 19, 2015
mac virtualbox xp ,It can't open internet
Install VM VirtualBox Guest Addtions.
Update network is Net and choose PCnet-Fast III
Tuesday, June 2, 2015
angularjs directive not working
js
app.directive('onlyLabelName', function($http) {
......
}
html
<input onlyLabelName><input>
when I open AngularJS websites(https://docs.angularjs.org/guide/directive),I see information on below:
The normalization process is as follows:
- Strip
x-anddata-from the front of the element/attributes.- Convert the
:,-, or_-delimited name tocamelCase.So,I need change onlyLabelName to only-label-name
Error: Failed to load template: template/modal/window.html
Error: Failed to load template: template/modal/window.html
Error: Failed to load template: template/modal/backdrop.html
I have resolved it by including $templateCache as app dependency (the one that posess function that calls open).
app.run(function($rootScope, $templateCache) {
$rootScope.$on('$viewContentLoaded', function() {
$templateCache.removeAll();
console.log('removeAllCache');
});
});
Subscribe to:
Comments (Atom)