V
V
Vassa2014-12-10 15:28:15
Angular
Vassa, 2014-12-10 15:28:15

Why is angular bootstrap not working?

I have a large page with 21154 DOM elements.
When this page is loaded for the first time, it loads normally, and angular also clings normally - the functionality is working. But if you submit a form on this page, or simply duplicate the tab in chrome - which leads to a reload / (loading this page in a new window) then part of the functionality will simply fall off, for example, on the places of the bindings, instead of displaying the value in
the osprey variable, I have:

what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vassa, 2014-12-10
@Mr_Pukin

Problem solved like this:
/ Developer Guide / Bootstrap

angular.element(document).ready(function() {
      angular.bootstrap(document, ['myApp']);
    });

It's not all pretty :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question