J
J
JIakki2015-09-28 20:32:48
Angular
JIakki, 2015-09-28 20:32:48

What is the problem when updating data in contoller us?

There is a piece of code:

controllerAs: 'source'
controller: ($scope)->
    source = this
    $rootScope.$on 'update-source', () ->
        source.sources = User.getData('moneySource')

during the event, some data is updated
, so, the data is updated only on the PC, but on the ipad there is no one.
Has anyone encountered a similar one?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question