? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumDevelopmentDevelopmentAngular issues using $watchAngular issues using $watch
Previous
 
Next
New Post
5/18/2016 8:59 AM
 

Using your brilliant example, Scott, on bootstrapping Angular into my DNN modules (but I have to admit it still confuses me exactly how it works - but it works!).  However, running into a much more complex module I'm developing where examples I'm trying to implement use $watch (creating a multi check box list set of filters).   Basically if I try to implement $watch it says $scope is not defined.  If I add $scope in my dependencies of the controller, then I get error: 'TypeError: AppServiceFramework.getServiceRoot is not a function'.   What am I missing?   I know this particular module will never be in a situation where there will be more than one module on a page.   Thoughts?   As I get deeper and deeper into angular, so many of the examples out there depend on $scope or I'm not changing something correctly.

 
New Post
5/25/2016 4:36 AM
 

I have only used the $.watch effectively in a directive to get alerted when the parent scope changed.  I may need to see some of your code to understand the problem.  Is it possible to post a piece of it?

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentAngular issues using $watchAngular issues using $watch



Try FREE
30 days money back guaranteed