37 questions
1
vote
0
answers
1k
views
What is the alternative of ng-cloak(angularjs) in Angular 7 for boolean variable not for object
ngIf causes links on my page to show during load time, and then disappear.
The link is not supposed to show at all, and I am assuming that the ngIf statement hasn't been processed yet for the second ...
0
votes
0
answers
65
views
Why is AngularJs not rendeting directive on page change?
I found this treeview directive
////////////////////////////////////////////////////////////////////////////////
/// TREEVIEW //////////////////////////////////////////////////////////////////
...
2
votes
0
answers
224
views
ng-cloak does not work with Firefox browser
Although using ng-cloak, some bindings are shown with brakets until getting data at firefox, not other browsers. Which workaround should I do?
3
votes
2
answers
363
views
When not to use ng-cloak in AngularJs?
One query regarding AngularJS (ng-cloak), as per official docs:
The ng-cloak directive is used to prevent the AngularJS HTML template from being briefly displayed by the browser in its raw (...
0
votes
1
answer
693
views
Make a full-screen loading image for an AngularJS website
I want to show a full-screen image before my AngularJS website is fully bootstrapped.
One way is to use ng-cloak.
This is an example to show a line of words.
I tried to make a full-screen image ...
0
votes
1
answer
47
views
ng-cloak not working properly
In my angular app, I'm displaying a pdf using <object> tag.
<object ng-cloak data="data:application/pdf;base64,{{tab.documentdata}}"
width="100%"
height="5000"
...
3
votes
5
answers
4k
views
html briefly displayed when page is loading
In my Angular app, my menu component html code is displayed briefly when the page is loading. Even if I hide the menu html root element with a display none css, the html is still displayed when the ...
0
votes
2
answers
754
views
How to use ng-cloak in angular js properly?
I have a basic question about ng-cloak In my page I have some places where are I binded some data using angular js {{ }}. Now, I used ng-cloak directive in the body tag and because of this the whole ...
1
vote
1
answer
210
views
Angularjs - How to make login page load instead of index page when giving weburl
I have created a web app where the user needs to login first.
When i type the url in the address bar and press enter, i first see the contents of my index page that is the navigation bar ,...
1
vote
1
answer
963
views
Disable form/page until APIs that load controls are complete
I have an HTML form that makes use of a select element. The options of the select element are populated via an API call. I am finding that at times the page appears to be done loading but the select ...
2
votes
1
answer
318
views
execute directive function after ng-cloak
My content use ng-cloak directive and i would like to get a element height with innerHeight() in a directive.
But, when the innerHeight() is use the element is hide by ng-cloak so the result is ...
0
votes
1
answer
263
views
adding ng-model to my checkbox flickers the modal in the angular screen
how to avoid flicker of a modal box upon clicking on a chekckbox inside that modal
<time-checkbox name="show" id="show" class="form-checkbox" >Show</time-checkbox>
I tried ng-cloak, it ...
1
vote
1
answer
95
views
AngularJS shows model text before compilation despite ng-cloak
I'm working on a page that has to run on an embedded android system (in the system webview), and this thing is tragically slow. So slow in fact, that when you load a page, somtimes the model text is ...
0
votes
2
answers
187
views
Angular JS - Page flickering without css
In my web application we have a master index.html , which includes header.html,footer.html,preference.html... and main view content .
When the page loads,(url = index.html#) I could see the static ...
0
votes
1
answer
414
views
AngularJS - DOM-Elements are flickering
lately I have a pretty significant problem with ng-view and ng-if.Suppose there is a dropdown with two elements (element one and element two).The two elements change a property on rootScope.
I have ...