railsResourceFactory is outside of any Angular controller.
I am not sure if $rootScope is accessible in
@quote.factory '*****', ['railsResourceFactory', (railsResourceFactory) ->
railsResourceFactory
url: '/board_sizes_side_materials'
name: 'board_sizes_side_material'
]
пятница, 19 июня 2015 г., 13:10:08 UTC+3 пользователь Sander Elias написал:
>
> That's probably not the issue. I think it has to do with accessing
> the SizesMaterial before your promise is done. Does
> your railsResourceFactory makes sure there is an $rootScope.$apply?
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.