[00:00:11] *** jquery-owl is now known as night-owl
[00:00:16] <jaawerth> Guest25108: I just edited a copy of your plunk to put in the libraries and yeah, looks like the issue is what I thought -
[00:00:17] *** IvanoffCSI has quit IRC
[00:00:22] *** rafagomes has joined #angularjs
[00:00:23] *** charuru has joined #angularjs
[00:00:32] *** dman777_alter has quit IRC
[00:00:48] *** Shadda has quit IRC
[00:00:48] *** zanea has quit IRC
[00:01:07] <jaawerth> Guest25108: your index.html is your main landing page for your app, and it has your ng-view in it - you can't also have a route that points to index.html, that's.. well it breaks for a bunch of reasons. Your view templates would be little html partials
[00:01:26] *** deanclkclk has quit IRC
[00:01:31] *** ccohn_ has joined #angularjs
[00:01:34] *** ccohn has quit IRC
[00:01:59] *** _mtr has joined #angularjs
[00:02:04] *** zanea has joined #angularjs
[00:02:09] *** JaKXz has joined #angularjs
[00:02:13] *** nerdgrass has quit IRC
[00:02:24] <Guest25108> so the solution is jaawerth?
[00:02:41] *** samuel02 has joined #angularjs
[00:03:00] *** bayousoft has quit IRC
[00:03:23] <mclenithan> stormbytes: {name:"bob", foo: new Foo(this)} -> Foo(obj){ obj.name == bob} I think thats what ur asking?
[00:03:29] <ron1> i have a ng-model being displayed in a disabled input, but sometimes it displays [object Object] instead of the contents, any ideas? i need to refresh the page to bring up the model
[00:03:32] *** jdivock_ has quit IRC
[00:03:35] *** scythe__ has joined #angularjs
[00:04:11] *** dcherman2 has joined #angularjs
[00:04:11] *** mglvl has joined #angularjs
[00:04:14] *** Shadda has joined #angularjs
[00:04:23] <stormbytes> mclenithan well the end-result of that looks right :) though i don't have an inkling as to what your'e doing here
[00:04:33] *** tristanp has quit IRC
[00:04:39] *** IvanoffC_ has quit IRC
[00:04:45] *** iribarne has joined #angularjs
[00:04:49] *** nirvana has joined #angularjs
[00:04:58] <nirvana> Hi
[00:05:03] <nirvana> I have this weird error
[00:05:06] *** tristanp has joined #angularjs
[00:05:09] <nirvana> Error: [ng:areq] Argument ‘samplecontroller’ is not a function, got undefined
[00:05:18] *** uris77 has quit IRC
[00:05:19] <nirvana> Any one faced a similar issue
[00:05:19] <nirvana> ?
[00:05:20] *** s00pcan has quit IRC
[00:05:20] <stormbytes> mclenithan owner = new Obj("bob") where Obj.name == bob. Now Obj.foo = new Foo() (no "this")
[00:05:26] *** IvanoffCSI has joined #angularjs
[00:05:41] <nirvana> It fails on occasions and works fine otherwise
[00:05:48] <jaawerth> Guest25108: I just updated the plnr again if you refresh - I added .otherwise({redirectTo: '/'}) to the end of your routes, to give you a default route if the path doesn't match
[00:05:55] *** sonofdirt has quit IRC
[00:06:04] <Guest25108> and the index.html is charged on every request?
[00:06:07] *** ccohn_ has quit IRC
[00:06:09] *** wiherek has joined #angularjs
[00:06:20] <wiherek> I want to debug an Angularjs app, which runs in Android native browser. How can I do that?
[00:06:38] <mclenithan> stormbytes can you pass Foo() any params? like new Foo(Obj) then you have access to the values
[00:06:58] *** jdivock_ has joined #angularjs
[00:06:58] *** marcjs has quit IRC
[00:06:59] <wiherek> i need console output sent somewhere.. I tried with weinre, but i dont even know if it works for spas.. I see the html, but not console / net
[00:07:00] <stormbytes> mclenithan but i want the value of the owner instance (not the prototype)
[00:07:12] *** dcherman has quit IRC
[00:07:17] *** _mtr has quit IRC
[00:07:28] *** richiebkr has quit IRC
[00:07:35] *** aslate has joined #angularjs
[00:07:36] <mclenithan> stormbytes then you have to use "this" no?
[00:07:42] <jaawerth> Guest25108: angular uses client-side routing, not server-side. It's a Single Page App, so you're always on index.html. It loads and caches your routes into your ng-view as you change paths (which is why path changing is so)
[00:07:55] <jaawerth> so fast*
[00:08:04] *** weems|mac has quit IRC
[00:08:10] *** richiebkr has joined #angularjs
[00:08:21] <Guest25108> I undersntand it
[00:08:33] <stormbytes> mclenithan good point :) i'm gonna fiddle with a plunk later, i've got my hands tied at the moment
[00:08:33] *** d10n-work has quit IRC
[00:08:37] <stormbytes> mclenithan thanks!
[00:08:37] <icfantv> is it kosher to inject the $rootScope into a service and then use it to broadcast events?
[00:08:44] *** jlambert121 has quit IRC
[00:08:48] <stormbytes> icfantv that's the point of it ;)
[00:08:49] <mclenithan> stormbytes no worries
[00:08:54] <icfantv> stormbytes: SWEET!@
[00:09:00] * icfantv guessed right
[00:09:03] <icfantv> for once
[00:09:09] *** qdk has quit IRC
[00:09:15] *** chrisbirk has quit IRC
[00:09:19] *** s00pcan has joined #angularjs
[00:09:25] *** tristanp has quit IRC
[00:09:29] <stormbytes> icfantv i would advice against constructing an entire api around emitters/handlers
[00:09:37] <jaawerth> uhh well
[00:09:43] <jaawerth> use it with a light touch?
[00:09:52] *** dcherman2 has quit IRC
[00:09:52] <stormbytes> jaawerth :)
[00:09:53] *** getn_outchea has quit IRC
[00:09:55] <icfantv> so far this was my only use
[00:09:58] <icfantv> so we're good
[00:10:08] <stormbytes> $watchers are evil
[00:10:11] <icfantv> and it's not app wide
[00:10:12] <stormbytes> just plain evil
[00:10:14] <jaawerth> if you have a bunch of events flying around, you're probably in treif territory
[00:10:23] <stormbytes> hah jaawerth
[00:10:40] *** richiebkr has quit IRC
[00:10:43] <stormbytes> dunno about 'treif' but def not "glatt'
[00:10:48] *** richiebkr has joined #angularjs
[00:10:48] <jaawerth> what exactly are you usuing it for?
[00:10:51] <jaawerth> hehe
[00:10:54] <Guest25108> jaawerth:thanks for the help! I have the example running on my localhost and I understand the problem and the solution :-D
[00:10:56] <icfantv> jaawerth: me?
[00:11:05] <jaawerth> yeah
[00:11:28] <jaawerth> Guest25108: cool - glad I was able to help. have fun!
[00:11:55] <jaawerth> icfantv: yeah - what is your nefarious plans for $rootScope events?
[00:11:57] *** aslate has quit IRC
[00:11:58] *** Linell_ has quit IRC
[00:12:22] *** rafagomes_ has joined #angularjs
[00:12:40] <icfantv> jaawerth: we have a profile service used in media markets to determine how many subscribers/devices are in a given customer profile. the customer profile is made up of rules (think: tree). As the user edits the tree of rules and accepts changes, we submit that profile to a queue for submission to a service that gets estimated counts.
[00:13:17] *** rafagomes has quit IRC
[00:13:49] <jaawerth> ah, so you need to trigger a bunch of things upon changes, more than you can handle with a simple ng-change or other trigger action that occurs on a user interaction?
[00:14:05] *** dacuca has joined #angularjs
[00:14:06] <icfantv> jaawerth: those counts are used to [re]generate visual stuff in the UI. but i don't want to submit live references to scoped objects in that service
[00:14:09] <jaawerth> what's triggering the event broadcast/emit?
[00:14:15] *** juanpablo__ has quit IRC
[00:14:29] *** getn_outchea has joined #angularjs
[00:14:43] <icfantv> jaawerth: i do, every time a user clicks on the accept changes button on a rule in the tree
[00:14:46] *** juanpablo__ has joined #angularjs
[00:14:59] <icfantv> jaawerth: that puts the profile in the queue for processing
[00:15:00] *** tomphp has joined #angularjs
[00:15:07] *** juanpablo__ has quit IRC
[00:15:35] *** juanpablo__ has joined #angularjs
[00:15:42] <icfantv> jaawerth: i found, quite by accident, that i can happily submit and update live $scope field references to that service and update them there (which in turn updates my UI) - but this strikes me as very evil
[00:15:58] *** Linell has quit IRC
[00:16:10] <icfantv> jaawerth: so i wanted a way for the service to say "hey, i'm done with profile X if anyone cares"
[00:16:16] *** Sawbones has quit IRC
[00:16:36] *** rafagomes_ has quit IRC
[00:16:40] <jaawerth> hrm, well I usuaully have the data all live in the service and have everything refer to it via the service - as you say, live references, but I get why you might need to avoid that if there are changes going on you don't want bound until submitted
[00:16:49] <icfantv> jaawerth: and IIRC, angular 1.3 is super smart in that it doesn't broadcast events down to EVERY scope, just the ones that are "active"
[00:16:57] <jaawerth> icfantv: I'm tired, so I might be missing an obvious "other way" but here is what I'd recommend you do
[00:17:03] *** rafagomes has joined #angularjs
[00:17:30] <jaawerth> icfantv: rather than broadcasting on $rootScope, have your service use $rootScope to create a new child scope from which it can broadcast events
[00:17:50] *** ivok has joined #angularjs
[00:17:51] *** DLSteve has quit IRC
[00:17:55] <icfantv> jaawerth: what does that really buy me?
[00:18:19] <jaawerth> icfantv: then give your appropriate objects an "on" or "subscribe" method for doing the event listeners
[00:18:52] <jaawerth> that way you're listening to them through a dedicated scope
[00:18:57] *** jdivock_ has quit IRC
[00:19:20] *** SargoDarya has joined #angularjs
[00:19:21] *** m3l720 has quit IRC
[00:19:25] *** soee has quit IRC
[00:19:34] <icfantv> jaawerth: should that be created every time the event fires, or just once when the service is created?
[00:19:47] <jaawerth> just one scope for the service to do events from
[00:19:56] <jaawerth> you'd have it the whole time, with the service
[00:20:10] *** juanpablo__ has quit IRC
[00:20:10] <jaawerth> just an idea - it was thinking about this kind of thing recently for something else - feel free to reject it
[00:20:12] *** FunnyLookinHat has quit IRC
[00:20:20] <jaawerth> but I think it would be a cleaner use of events for that kind of thing
[00:20:31] *** lexek__ has quit IRC
[00:20:34] *** dhcar is now known as dhcar_AFK
[00:20:54] *** dcherman has joined #angularjs
[00:21:45] *** IvanoffC_ has joined #angularjs
[00:21:51] *** lw has joined #angularjs
[00:21:55] <jaawerth> oh, and maybe have the function take the scope from which you're using it as an optional param, that way when a scope is passed in it will automate the $destroy listener that will unregister this function if your controller's scope is destroyed - that's the one downside I can think of, that that wouldn't take care of itself
[00:21:58] *** Aswebb_ has quit IRC
[00:22:07] *** lw has quit IRC
[00:22:13] <icfantv> jaawerth: i like the idea of the model firing events when stuff changes, but i'm not sure i like the idea of the model responding to events directly. unless i'm misunderstanding you
[00:22:27] *** moogey has quit IRC
[00:22:29] <jaawerth> the model would be the one broadcasting them
[00:22:41] *** lw has joined #angularjs
[00:22:44] *** samuel02 has quit IRC
[00:22:50] <jaawerth> from its own dedicated scope. so you've got a scope set aside for that model
[00:22:56] <jaawerth> as opposed to a global event
[00:23:02] *** iribarne has quit IRC
[00:23:09] *** Aerospark has quit IRC
[00:23:11] <jaawerth> it's more like doing events on node, or socket.on, that kind of thing
[00:23:18] <icfantv> jaawerth: right now, my model is just JSON received from the server that I set on the $scope on the controller - i suppose i could add functions at that time...
[00:23:21] <jaawerth> anyway, just a thought - maybe you're right about 1.3, try rootScope
[00:23:36] <jaawerth> wait, no services?
[00:23:37] *** IvanoffCSI has quit IRC
[00:23:38] *** SargoDarya has quit IRC
[00:23:46] *** yoshokatana has quit IRC
[00:23:49] <jaawerth> oh you mean it's just raw data in a factory/service
[00:24:01] *** nirvana has quit IRC
[00:24:03] <icfantv> jaawerth: yes, it just retrieves the data and returns it
[00:24:15] <icfantv> and the controller calls the service to get the data
[00:24:50] *** moogey has joined #angularjs
[00:25:23] <icfantv> creating a new scope from root scope and then broadcasting from it doesn't wokr
[00:25:28] *** wiherek has left #angularjs
[00:25:35] *** baweaver has quit IRC
[00:25:49] *** iribarne has joined #angularjs
[00:25:52] *** dmst has quit IRC
[00:25:58] *** macabre has quit IRC
[00:26:32] *** mven has quit IRC
[00:26:57] *** adben has quit IRC
[00:27:02] *** Solid1 is now known as Solid1_afk
[00:27:14] <jaawerth> you wouldn't listen on the controllers scope, the idea is your service would have methods that take a callback as a parameter, do the scope.$on, and return something
[00:28:38] *** jdcasey has quit IRC
[00:28:43] <jaawerth> I've just switched to my phone for a couple minutes, but I'll code up a quick example in a couple minutes
[00:28:44] <dsdeiz> hey all back again with my newbie questions :D
[00:29:10] *** Sadin has joined #angularjs
[00:29:26] *** 64MABB3CH has quit IRC
[00:29:29] *** nerdgrass has joined #angularjs
[00:29:52] *** g33k5z has joined #angularjs
[00:30:00] *** lw has quit IRC
[00:30:09] *** rafagomes has quit IRC
[00:30:12] *** dejanr has joined #angularjs
[00:30:33] *** rafagomes has joined #angularjs
[00:32:35] *** mary5030 has quit IRC
[00:33:08] <icfantv> jaawerth: i get it. mostly. i have to go now - kid duty. but will be back on tomorrow. i'm interested in this solution as i would love to not have to tightly couple my service with my controller data. a callback would still allow that and work well for me.
[00:33:10] *** mary5030 has joined #angularjs
[00:33:42] <jaawerth> icfantv: it's just an idea - I haven't fully put it into practice, so no promises that it isn't actually a bad idea for some reason ;-)
[00:33:57] *** macabre has joined #angularjs
[00:33:59] <icfantv> jaawerth: hahaha. i'll trust you until you burn me.
[00:34:02] <icfantv> ;-)
[00:34:28] *** g33k5z has quit IRC
[00:34:29] <jaawerth> lol. this one definitely comes with a warning label, all I'm saying. just food for thought
[00:34:54] *** snapwich has quit IRC
[00:35:01] *** pipoo has joined #angularjs
[00:35:14] *** jdivock_ has joined #angularjs
[00:35:18] *** ninjaparade has joined #angularjs
[00:36:35] *** pipoo has quit IRC
[00:36:40] *** maikowblue has joined #angularjs
[00:36:41] *** baweaver has joined #angularjs
[00:37:28] *** themime has joined #angularjs
[00:37:29] *** mary5030 has quit IRC
[00:37:33] *** rafagomes_ has joined #angularjs
[00:37:50] *** __danimal__ has joined #angularjs
[00:37:56] *** AciD`` has quit IRC
[00:38:03] *** say2joe has joined #angularjs
[00:38:05] *** rafagomes has quit IRC
[00:38:05] *** bbankes has quit IRC
[00:38:59] *** ProLoser has quit IRC
[00:39:00] *** icfantv has quit IRC
[00:39:06] *** rafagomes_ has quit IRC
[00:39:14] *** fabiofb has quit IRC
[00:39:16] *** umib0zu has quit IRC
[00:39:33] *** elrabin has joined #angularjs
[00:40:11] *** vassagus has quit IRC
[00:40:48] *** macabre has quit IRC
[00:40:53] *** tschundeee has quit IRC
[00:40:59] *** sirkitree is now known as sirkitree|afk
[00:41:50] *** TommyO has quit IRC
[00:41:57] *** AWAW has quit IRC
[00:42:25] *** zeroquake has quit IRC
[00:42:37] *** araujo has quit IRC
[00:43:23] *** cboden has quit IRC
[00:44:51] *** OddDuck` has joined #angularjs
[00:44:53] *** OddDuck has quit IRC
[00:44:59] *** marcjs has joined #angularjs
[00:45:03] *** rafagomes has joined #angularjs
[00:45:18] *** H1FuelCell has joined #angularjs
[00:45:32] *** Christer has quit IRC
[00:45:54] *** snapwich has joined #angularjs
[00:46:56] <jaawerth> Guest25108: you made a separate module for your service, but didn't inject it
[00:46:57] *** OddDuck` has quit IRC
[00:47:00] *** OddDuck_ has joined #angularjs
[00:47:02] *** akrikos has quit IRC
[00:47:40] <Guest25108> jaawerth:I think that I inject it on app.js
[00:47:43] *** ctanga has joined #angularjs
[00:47:49] *** tsalb has quit IRC
[00:47:49] <jaawerth> nope, not in that plunk anyway
[00:47:53] *** zackiv31 has quit IRC
[00:47:53] *** MaxV has quit IRC
[00:47:57] *** elrabin has quit IRC
[00:47:58] *** nicholes has joined #angularjs
[00:47:59] <jaawerth> that's what will fix it though
[00:48:04] <nicholes> Yeahhhhh ANGULAR!! WOoooh!
[00:48:20] <Guest25108> jaawerth:can you inject it for me please?
[00:49:17] *** codeman has joined #angularjs
[00:49:25] *** tschundeee has joined #angularjs
[00:49:27] <jaawerth> you can do it - part of learning ;-)
[00:49:47] *** fouadm has quit IRC
[00:49:52] <Guest25108> jaawerth:where i have to inject it?
[00:49:57] <jaawerth> just gotta inject the new module you created into the main module
[00:50:21] <Guest25108> i dont know how can i do that
[00:50:29] *** nerdgrass has quit IRC
[00:50:39] *** cotko has joined #angularjs
[00:50:58] <jaawerth> though you don't even need to create a separate module for the service - a more advanced thing to do is create separate modules for groups of services/controllers/whatever so you can break your code up into components to be reused across apps, but you could also just add the service on your main module without creating a whole new oneo
[00:52:46] *** JERE has quit IRC
[00:52:48] *** Aerospark has joined #angularjs
[00:53:29] *** qdk has joined #angularjs
[00:53:32]
<cilkay> I'm using https://github.com/yeoman/generator-angular Does that offer any way to deal with master/detail relationships? E.g. I have a list of clients. I want to fetch one client when I click on a given row in the clients list. Is that something in the scaffolding or would I have to do that by hand?
[00:54:25] <Guest25108> Show me how can add the service to the main module. As I said I think that is been make with the line 1 of app.js -> tareaService but you say me no so I dont know how can I do it jaawerth
[00:54:37] <jaawerth> angular.module('yourMainModule').factory....
[00:54:48] *** JERE has joined #angularjs
[00:54:49] *** ianpirro has quit IRC
[00:54:51] <jaawerth> instead of that new one you created in services.js
[00:54:57] *** Sadin has quit IRC
[00:55:06] <jaawerth> as for injecting the new modules into your main one... it's just line 1 of your app.js
[00:55:20] <jaawerth> just add the new module to the array of dependencies
[00:55:24] *** akrikos has joined #angularjs
[00:55:25] *** shackleford has quit IRC
[00:55:37] <jaawerth> that's all it takes
[00:56:09] <Guest25108> jaawerth:tareaService is the new module, the service one
[00:56:25] *** JaKXz has quit IRC
[00:56:33] <jaawerth> Yes. So you've created a new module with the name 'tareaService'
[00:56:41] *** mzabriskie has quit IRC
[00:56:53] <jaawerth> and it's a dependency for your main module, so you add it to the list of dependencies in the declaration of your main module
[00:57:00] *** AciD` has quit IRC
[00:57:18] *** brettfrable has joined #angularjs
[00:57:19] <jaawerth> (if you're keeping on doing it the "whole new module" way instead of just adding the service to the main module)
[00:57:21] *** Marsup has quit IRC
[00:57:24] *** jchamberlain has quit IRC
[00:57:24] *** jaredwil_ has quit IRC
[00:57:53] *** evilaliv3 has quit IRC
[00:57:57] <Grokling> Can I suggest just using one module until you NEED more than one (by which time you will have figured out how it works)?
[00:57:58] *** duellsy has joined #angularjs
[00:58:36] *** patcito has joined #angularjs
[00:58:45] <jaawerth> exactly, yeah
[00:58:55] <jaawerth> just change it so your service is part of the main module
[00:58:59] *** angular-mike has joined #angularjs
[00:59:01] *** zanea is now known as zanea|away
[00:59:03] <duellsy> how can I catch clicks on images that are loaded in as part of content into something like this: <div class="article-content" ng-bind-html="article.body"></div>
[00:59:08] *** tfennelly has quit IRC
[00:59:11] <jaawerth> the only reason to use more than one is if you're building reusable components, which you shouldn't try to do until you're experienced with angular anyway
[00:59:11] *** mzabriskie has joined #angularjs
[00:59:11] *** chrisshattuck has quit IRC
[00:59:12] *** chrisbirk has joined #angularjs
[00:59:17] <Guest25108> jaawerth: if I have tareaServce add as a dependency on line1 of app.js what I need to inject the module?
[00:59:22] *** knownasilya has quit IRC
[00:59:24] *** jchamberlain has joined #angularjs
[00:59:52] *** Marsup has joined #angularjs
[01:00:03] <jaawerth> Guest25108: that *is* injecting it
[01:00:41] <Grokling> Guest25108: Forget about the second module. Make your service part of your main module.
[01:00:50] <Grokling> You're just making things hard for yourself.
[01:01:06] <jaawerth> yeah - just change angular.module('tareaService', []) to angular.module('app')
[01:01:09] *** AciD` has joined #angularjs
[01:01:28] *** s00pcan has quit IRC
[01:01:57] <jaawerth> when you use angular.module() without that array as a second param, it's *accessing* an existing module to add stuff to it rather than declaring a new one
[01:02:03] *** ccohn has joined #angularjs
[01:02:57] *** mmealling has joined #angularjs
[01:03:04] *** apertoire has joined #angularjs
[01:03:30] <jaawerth> Guest25108: did you remove the dependency you added (since that new module doesn't exist anymore)
[01:03:33] <jaawerth> ?
[01:03:38] *** dc has quit IRC
[01:03:43] *** adamsilver has quit IRC
[01:04:08] *** Superhard_ has joined #angularjs
[01:04:08] *** _mtr has joined #angularjs
[01:04:23] <Guest25108> jaawerth:yes
[01:04:39] <Grokling> Guest25108: F12 is a good and faithful friend..
[01:04:49] <jaawerth> hehe
[01:04:56] <Grokling> It says 'no', 'no you didn't'
[01:04:56] <duellsy> hey gang. if content is loaded into a div with ng-bind-html, how can I catch clicks on images that were loaded in?
[01:05:38] <Guest25108> F12 is a good firend when the error messages are friendly
[01:05:56] *** tilgovi has joined #angularjs
[01:06:05] <Grokling> "Module 'tareaService' is not available! You either misspelled the module name or forgot to load it" is pretty friendly.. and clear too.
[01:06:11] <jaawerth> duellsy: you could write a directive that adds an event listener for any children of the div (specifically any *image* children of the div)
[01:06:17] *** ccohn has quit IRC
[01:06:23] <Grokling> Annnnd.. it's even highlighted in red.
[01:06:39] <duellsy> jaawerth will this pick up new content when it's loaded in?
[01:06:57] <jaawerth> no, it works like jquery does
[01:07:14] *** baweaver has quit IRC
[01:07:42] *** mmealling has quit IRC
[01:07:43] *** dcherman has quit IRC
[01:07:45] *** dhcar_AFK is now known as dhcar
[01:07:49] <Grokling> angular-mike: Ouch. Those messages are horrid.
[01:07:52] <Guest25108> I see the same errors with this change
[01:08:39] <Grokling> Guest25108: You need, as jaawerth said, to remove the injection that you added.
[01:08:41] *** Superhard_ has quit IRC
[01:09:15] <jaawerth> Guest25108: app.js line 1
[01:09:18] *** _mtr has quit IRC
[01:09:45] <Grokling> Guest25108: That error means that it's trying to inject something that doesn't exist. Find the point where it's trying to inject it, and remove.
[01:09:46] *** OddDuck_ has quit IRC
[01:09:56] *** gunn has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:00] <jaawerth> duellsy: ooh, this is actually better - write a directive that listens for a click event on the directive element itself, but use event.target to grab the actual event target - that could work
[01:10:03] *** OddDuck has joined #angularjs
[01:10:06] *** bmac has quit IRC
[01:10:09] *** gunn has joined #angularjs
[01:10:12] *** CanyonMan has joined #angularjs
[01:10:29] <duellsy> jaawerth ooh that sounds way better
[01:10:42] <jaawerth> element.on('click', function(event) { do stuff with event.target, maybe grab some data if you can
[01:10:54] *** tomphp has quit IRC
[01:11:21] *** WhatsInTheBoks has quit IRC
[01:11:43] *** dnewkerk has joined #angularjs
[01:11:48] <duellsy> yeah that's way better, less of a brain melter
[01:12:20] *** Aerospark has quit IRC
[01:12:29] <jaawerth> don't say that until you're sure you can do what you can with just event.target
[01:12:32] <jaawerth> ;-)
[01:12:38] <jaawerth> er, do what you need
[01:12:46] <duellsy> well I like the theiory better ;)
[01:12:54] *** Aerospark has joined #angularjs
[01:13:29] *** LossFor has quit IRC
[01:13:37] <Guest25108> no way
[01:13:37] *** jchamberlain has quit IRC
[01:13:55] <angular-mike> Grokling thank you for your empathy
[01:14:22] *** _ritchie_ has joined #angularjs
[01:14:29] *** ron1 has quit IRC
[01:14:32] <GreenJello> with ui-router, how can I have an optional prefix to all of my routes?
[01:14:32] <Grokling> angular-mike: you're welcome. As for solving the problem, not so much help..
[01:14:49] <Grokling> angular-mike: Are you on windows?
[01:15:05] *** Sadin has joined #angularjs
[01:15:20] *** Sadin has quit IRC
[01:15:29] <jaawerth> duellsy: if they have ID's, you could do angular.element(event.target).attr('id') to grab and work with the ID - feels a little jquery-ish for my liking, but it works. you may be able to do similar with .data() to get any data attributes
[01:15:30] <GreenJello> er actually that's not what I want, I guess I just want a query string that doesn't go away when I click a ui-sref or $state.go()
[01:15:47] <duellsy> nah, not ids, it's user based content from a wysiwyg
[01:15:54] <duellsy> just trying to add a simple lightbox to all images
[01:16:06] <jaawerth> oh, then that's perfect
[01:16:13] *** warpx has joined #angularjs
[01:16:34] <GreenJello> I have an optional global filter that affects most routes (accountId) and it needs to be reflected in the url somehow
[01:18:40] *** jtimon has quit IRC
[01:20:32] *** rud has joined #angularjs
[01:20:50] *** warpx has quit IRC
[01:20:51] *** AimerPaddle has quit IRC
[01:21:19] *** Foxandxss has quit IRC
[01:21:34] *** BillCriswell has joined #angularjs
[01:22:05] *** baweaver has joined #angularjs
[01:22:17] *** _mtr has joined #angularjs
[01:22:27] *** bkuberek has joined #angularjs
[01:22:30] *** k-dawg has joined #angularjs
[01:22:48] *** seriema has joined #angularjs
[01:23:06] *** Guest25108 has quit IRC
[01:23:15] <jaawerth> duellsy: ack, image load events don't bubble
[01:23:36] <duellsy> damn, that could have been handy
[01:24:27] *** caitp has quit IRC
[01:24:27] <jaawerth> duellsy: ah, but it looks like it works if you do element.children().on
[01:24:55] <angular-mike> Grokling: on mac
[01:24:57] *** bkuberek_ has quit IRC
[01:25:02] <jaawerth> duellsy: (though children only searches 1 level deep - you'll have to use another selector if you need to go deeper)
[01:25:33] *** Embassy has quit IRC
[01:25:34] *** iribarne has quit IRC
[01:25:34] <duellsy> yeah, will probably have to go deeper, the format of the copy wont be known
[01:25:47] *** whitebook has quit IRC
[01:26:29] *** dejanr has quit IRC
[01:26:32] <Grokling> angular-mike: That's a shame. On windows, those sorts of problems sometimes go away with reinstalling stuff. Which is one of the reasons I don't run windows ;-)
[01:26:57] *** seriema has quit IRC
[01:27:09] *** g33k5z_ has joined #angularjs
[01:27:29] *** iribarne has joined #angularjs
[01:27:41] <jaawerth> duellsy: bingo - if you're using full jquery and not just jqlite (which doesn't allow you to use elements with 'find'), you can do element.find('img').on('load', function(event) { ...
[01:27:54] <jaawerth> and then angular.element(event.target) and go nuts
[01:27:55] *** dc has joined #angularjs
[01:28:01] <duellsy> :( not using jquery
[01:28:19] *** jchamberlain has joined #angularjs
[01:29:28] <jaawerth> oh wait
[01:29:35] <jaawerth> it DOES do tag name, just nothing else. lucky day for you
[01:29:48] *** bbankes has joined #angularjs
[01:29:54] <duellsy> mind if I see the sample code you're using?
[01:29:56] *** araujo has joined #angularjs
[01:29:56] *** araujo has joined #angularjs
[01:30:14] *** chrisbirk has quit IRC
[01:30:15] *** cakirke has joined #angularjs
[01:30:45] <jaawerth> I added a div with a giant green border and logged the event target in the listener (as you can see)
[01:30:59] *** rtpg has joined #angularjs
[01:31:42] *** andrew9183 has joined #angularjs
[01:31:45] <jaawerth> since it's just doing DOM stuff and no data stuff, you can do scope: false (just updated)
[01:31:52] *** htowngangsta has quit IRC
[01:31:57] <andrew9183> wow I just spent the last 3 hours figuring out how to hook up ngGrid with typeahead
[01:32:14] *** angular-mike has quit IRC
[01:32:41] *** jMyles has quit IRC
[01:32:43] *** robdubya has quit IRC
[01:32:44] *** chrisbirk has joined #angularjs
[01:32:46] <duellsy> awesome, thanks
[01:33:50] *** chrisbirk has quit IRC
[01:34:59] *** TyrfingMjolnir has quit IRC
[01:35:21] *** akrikos has quit IRC
[01:35:49] *** frem has quit IRC
[01:35:50] *** frem_ is now known as frem
[01:36:20] *** jlevstein has joined #angularjs
[01:37:08] <andrew9183> how do you get the input value from ng-change
[01:37:09] *** g33k5z_ has quit IRC
[01:37:37] *** shinnya has joined #angularjs
[01:37:43] *** g33k5z_ has joined #angularjs
[01:37:51] *** dannyc has joined #angularjs
[01:38:04] *** cornerma1 has joined #angularjs
[01:39:06] *** bradmaxs has quit IRC
[01:39:35] *** jlevstein has quit IRC
[01:39:54] <Grokling> andrew9183: <input ng-model="myModel.property" ng-change="someFunction(myModel.property)"> etc
[01:40:14] *** rchavik has joined #angularjs
[01:41:06] *** cornerman has quit IRC
[01:41:13] *** cornerma1 is now known as cornerman
[01:41:16] *** BillCriswell has quit IRC
[01:42:16] *** dannyc has quit IRC
[01:42:21] *** LossFor has joined #angularjs
[01:42:25] *** g33k5z_ has quit IRC
[01:42:51] *** lw has joined #angularjs
[01:43:15] <duellsy> very nice, just trying to get it working with ng-bind-html loaded content
[01:43:24] *** mogaj has joined #angularjs
[01:43:43] *** mary5030 has joined #angularjs
[01:43:44] *** lw has quit IRC
[01:43:45] *** lw_ has joined #angularjs
[01:44:27] *** elrabin has joined #angularjs
[01:45:27] <jaawerth> alright - gotta go - later all
[01:45:28] *** s00pcan has joined #angularjs
[01:46:51] *** richiebkr has quit IRC
[01:46:55] *** geiltalasdair has quit IRC
[01:47:06] *** geilt has joined #angularjs
[01:47:07] <duellsy> cya bud
[01:47:16] *** fouadm has joined #angularjs
[01:47:24] *** swist has joined #angularjs
[01:47:42] *** tilgovi has quit IRC
[01:48:00] *** bengillies has joined #angularjs
[01:48:03] *** moogey has quit IRC
[01:48:15] <CanyonMan> I'm not so sure about 'select as'
[01:48:18] <CanyonMan> NOOOOT SO SURE
[01:48:24] *** mary5030 has quit IRC
[01:48:28] *** dejanr has joined #angularjs
[01:48:37] *** jstroem has quit IRC
[01:48:56] *** ome has joined #angularjs
[01:50:39] *** H1FuelCell has quit IRC
[01:51:20] *** geilt has quit IRC
[01:51:30] *** geilt has joined #angularjs
[01:51:59] *** geilt has quit IRC
[01:52:06] *** jeremymarc has joined #angularjs
[01:52:17] *** bengillies has quit IRC
[01:52:22] *** dacuca has quit IRC
[01:52:46] *** elrabin has quit IRC
[01:52:54] *** geilt has joined #angularjs
[01:53:41] *** nicholes has quit IRC
[01:54:32] *** rho has quit IRC
[01:54:48] *** d0ngz has quit IRC
[01:54:54] *** Aerospark has quit IRC
[01:55:28] *** phzon has joined #angularjs
[01:56:28] *** aslate has joined #angularjs
[01:56:37] *** pootpoot has quit IRC
[01:56:41] *** mzabriskie has quit IRC
[01:57:58] <andrew9183> thanks Grokling
[01:58:07] <andrew9183> anyone know how to set filter on ng-grid to only filter certain columns
[01:58:23] *** fatshark has quit IRC
[01:58:29] *** MaxV has joined #angularjs
[01:59:31] *** marr has quit IRC
[01:59:35] *** phzon has quit IRC
[02:00:33] *** jeffisabelle has quit IRC
[02:00:39] *** fairuz has quit IRC
[02:00:54] *** moogey has joined #angularjs
[02:01:22] *** aslate has quit IRC
[02:02:52] *** ccohn has joined #angularjs
[02:02:57] *** jdivock_ has quit IRC
[02:03:07] *** MaxV has quit IRC
[02:04:03] *** jdivock_ has joined #angularjs
[02:04:48] *** jdivock_ has quit IRC
[02:04:54] *** CoreyIrwin has joined #angularjs
[02:07:09] *** Aerospark has joined #angularjs
[02:07:19] *** ccohn has quit IRC
[02:07:28] *** samuel02 has joined #angularjs
[02:08:05] *** erikruthven has quit IRC
[02:08:14] *** SargoDarya has joined #angularjs
[02:08:34] *** CoreyIrwin has quit IRC
[02:08:43] *** zackiv31 has joined #angularjs
[02:08:53] *** CoreyIrwin has joined #angularjs
[02:09:24] *** apertoire has quit IRC
[02:09:27] *** CoreyIrwin has left #angularjs
[02:09:35] *** merobertsjr has quit IRC
[02:10:09] *** {DV8} has joined #angularjs
[02:11:03] *** lw_ has quit IRC
[02:11:20] *** jdivock_ has joined #angularjs
[02:11:28] *** markalanevans has quit IRC
[02:11:50] *** sojic has joined #angularjs
[02:11:58] *** moogey has joined #angularjs
[02:12:11] *** apertoire has joined #angularjs
[02:12:22] *** samuel02 has quit IRC
[02:12:48] *** SargoDarya has quit IRC
[02:15:42] *** snapwich has quit IRC
[02:15:57] *** caitp has joined #angularjs
[02:16:11] *** __danimal__ has quit IRC
[02:16:13] *** jdivock_ has quit IRC
[02:17:29] *** Evanion has quit IRC
[02:17:47] *** jlambert121 has joined #angularjs
[02:17:49] <andrew9183> are there alternatives to ng-grid? I just find it incredibly janky
[02:18:18] <Grokling> ui-grid perhaps?
[02:18:25] <andrew9183> but it’s in beta
[02:18:48] <Grokling> Better than being in alpha!
[02:18:55] *** rtpg has quit IRC
[02:19:05] *** rtpg has joined #angularjs
[02:19:13] <Grokling> Or being janky I guess..
[02:19:15] *** jdivock_ has joined #angularjs
[02:19:24] *** jlambert121 has quit IRC
[02:19:26] *** __danimal__ has joined #angularjs
[02:19:35] *** tschundeee has quit IRC
[02:20:11] *** tschundeee has joined #angularjs
[02:20:40] *** sumgy has joined #angularjs
[02:21:34] <themime> people here don't seem to like ui-grid
[02:21:40] <themime> er wait that was ng-grid
[02:21:43] <themime> im not sure now
[02:22:21] <andrew9183> gonna try ui-grid
[02:22:25] <Grokling> themime: Pick either, you're sure to find someone who doesn't like it.
[02:22:26] <andrew9183> i guess for an internal tool it should be ok
[02:22:28] *** Guest22_ has joined #angularjs
[02:22:35] <themime> oh you did say ng-grid. yea i heard ui-grid, but ive also seen smarttable, and depending on your needs, infinite scroll, or just one-time binding
[02:22:52] *** Guest22 has quit IRC
[02:22:59] <themime> but if you actually need grid freatures im not sure
[02:23:19] *** fedenunez has joined #angularjs
[02:23:48] *** iribarne has quit IRC
[02:24:02] *** rtpg has quit IRC
[02:24:27] *** axsuul has quit IRC
[02:24:36] *** jdivock_ has quit IRC
[02:24:57] *** tschundeee has quit IRC
[02:25:52] *** lw has joined #angularjs
[02:26:24] *** lw has quit IRC
[02:26:35] *** jdivock_ has joined #angularjs
[02:26:39] *** stormbytes has quit IRC
[02:26:42] *** lw has joined #angularjs
[02:27:11] *** jdivock_ has quit IRC
[02:27:44] *** ProLoser has joined #angularjs
[02:27:48] *** whitebook has joined #angularjs
[02:31:18] <sojic> Anybody to help me with "chaining" filters?
[02:31:32] *** bbankes has quit IRC
[02:31:48] *** jareddlc has quit IRC
[02:31:50] *** emanresu404 has joined #angularjs
[02:31:55] <themime> sojic: best to just ask your question - if its with something that needs to be debugged id highly recommend posting a plunker
[02:32:18] *** ProLoser has quit IRC
[02:32:43] *** robdubya has joined #angularjs
[02:33:03] <sojic> Please check all the items... below the line is result... uncheck 5 items... the result is not OK... The first list has 5 elements, the second 0.... there should be 3+2
[02:33:44] *** k-dawg has quit IRC
[02:33:48] *** emanresu404 has quit IRC
[02:34:03] *** emanresu404 has joined #angularjs
[02:34:20] <jaawerth> [I'M NOT HERE]smart tables isn't as wide in scope, but I've heard it recommended (haven't really delved in much, myself)[/I'M NOT HERE]
[02:34:26] <sojic> How to pass filtered array into "slice" filter?
[02:35:10] *** iammerrick has joined #angularjs
[02:35:27] * Grokling thinks that jaawerth Should have left that [I'M NOT HERE] tag open..
[02:35:39] <jaawerth> ahaha you're right
[02:35:43] <jaawerth> damn my poor scripting
[02:36:13] *** TyrfingMjolnir has joined #angularjs
[02:36:33] *** lw has quit IRC
[02:36:34] *** lw_ has joined #angularjs
[02:37:13] *** rtpg has joined #angularjs
[02:37:19] *** AngularUI has joined #angularjs
[02:37:19]
<AngularUI> [bootstrap] shwei opened pull request #3074: Fix datepicker input display. #2932, #3047 (master...master) http://git.io/T-AddA
[02:37:20] *** AngularUI has left #angularjs
[02:37:28] *** oste has joined #angularjs
[02:37:51] <Grokling> Grrr. CSS. and fricken ipads. Such a time waster.
[02:38:00] *** g33k5z has joined #angularjs
[02:38:16] *** axsuul has joined #angularjs
[02:38:21] <sojic> Anybody?
[02:38:54] *** lw_ has quit IRC
[02:39:05] <jaawerth> sojic: the problem is that a filtered array is essentially a whole new array as far as the next filter (or any expressions that work with it) are concerned. In other words, the slice filter is seeing the input as a shorter array (an array containing the unfiltered items)
[02:39:06] *** lw has joined #angularjs
[02:39:12] <jaawerth> sojic: just switched the filters around and it will work
[02:39:16] <jaawerth> er, just switch*
[02:39:20] *** dsdeiz_ has joined #angularjs
[02:39:22] <jaawerth> okay, now [I'M NOT HERE]
[02:39:44] <sojic> jaawerth, tried... same problem.
[02:39:50] *** iribarne has joined #angularjs
[02:40:05] *** lw has quit IRC
[02:40:18] *** Sadin has joined #angularjs
[02:40:28] *** dsdeiz has quit IRC
[02:41:25] <Grokling> 'items' will refer to the original array. That's the cause of the problem.
[02:41:33] <jaawerth> oh you mean you WANT it to rearrange them
[02:41:45] <sojic> Grokling, I know... and asking for the solution.
[02:41:57] <Grokling> hey.. you're not here jaawerth..
[02:42:00] *** jrajaratnam has joined #angularjs
[02:42:09] <sojic> How to "split" on half, filtered (visible) items.
[02:42:43] *** g33k5z has quit IRC
[02:42:44] *** livingstn has quit IRC
[02:42:55] *** jMyles has joined #angularjs
[02:42:57] *** tilgovi has joined #angularjs
[02:43:10] <jaawerth> parentheses
[02:43:15] *** Xaleph has joined #angularjs
[02:43:21] *** LossFor has quit IRC
[02:43:25] *** Crumb has quit IRC
[02:43:27] *** baweaver has quit IRC
[02:43:28] *** cswelin has quit IRC
[02:43:30] <jaawerth> "item in (items | filter: {visible:true} | slice:0:items.length/2)"
[02:43:49] *** mclenithan has quit IRC
[02:43:49] *** debunk has joined #angularjs
[02:43:58] <sojic> Hm... thanks... I didn't know that
[02:44:02] <sojic> I'll try
[02:44:14] <Grokling> Ooo.. that's cool! I didn't know you could do that either..
[02:44:23] *** Guest22_ has quit IRC
[02:44:25] <jaawerth> they work like you'd expect as an angular expression - the part in parentheses outputs the result for use in the rest of the expression
[02:44:41] <Grokling> Yeah, of course you can, I'd just never considered doing it.
[02:45:03] *** bbankes has joined #angularjs
[02:45:12] *** cswelin has joined #angularjs
[02:45:16] *** zanea|away is now known as zanea
[02:45:17] *** SomeKittens has joined #angularjs
[02:46:17] <sojic> jaawerth, unsuccessful
[02:46:37] <jaawerth> I just tried it and it worked
[02:46:46] *** say2joe has quit IRC
[02:46:55] <sojic> Can you fork my plnkr?
[02:47:40] <dsdeiz_> what i'm basically trying to do is make use of an authentication service function inside the 'rule' callback
[02:47:44] <jaawerth> oh, did you swap the filters back so they were in their original order?
[02:47:45] *** balr0g_ has quit IRC
[02:47:51] <jaawerth> 'cause that first switch was my bad ;-)
[02:48:09] <jaawerth> I was telling how to make it NOT get your intended result (I was confused about what you wanted)
[02:48:48] <sojic> So... I need to "split" on half only visible items.
[02:48:50] *** ron1 has joined #angularjs
[02:48:50] *** Aerospark has quit IRC
[02:48:56] *** sumgy has quit IRC
[02:49:20] *** restless_being has quit IRC
[02:49:32] *** jlambert121 has joined #angularjs
[02:49:33] *** elrabin has joined #angularjs
[02:49:40] *** jlambert121 has quit IRC
[02:49:41] <sojic> Still the "first half" contains 5 items, the second is empty
[02:49:55] <jaawerth> derp, right. one sec
[02:49:58] *** ProLoser has joined #angularjs
[02:50:26] <jaawerth> so yeah, like Grokling said, the last bit you need is the right thing to grab the length from
[02:50:42] <sojic> I think I need another "conecpt"... because split:items.length.... yea
[02:51:17] <sojic> another approach.
[02:52:07] <sojic> probably to create one filter and combine visible and split filters?
[02:52:40] *** nuizzy has quit IRC
[02:52:51] *** Superhard_ has joined #angularjs
[02:52:58] <sojic> Or something else?
[02:53:30] *** emanresu404 has quit IRC
[02:53:37] *** restless_being has joined #angularjs
[02:53:45] *** emanresu404 has joined #angularjs
[02:54:24] *** opiates has quit IRC
[02:55:05] *** bostonaholic has quit IRC
[02:56:22] *** peterp has joined #angularjs
[02:57:14] *** Superhard_ has quit IRC
[02:57:22] *** brettfrable has quit IRC
[02:57:30] *** btreeinfinity has joined #angularjs
[02:57:33] *** Xaleph has quit IRC
[02:57:45] *** elrabin has quit IRC
[02:57:46] *** dejanr has quit IRC
[02:57:46] *** motionman has joined #angularjs
[02:59:33] *** SonikBoom has quit IRC
[03:01:09] *** cakirke has quit IRC
[03:02:04] *** jgladwill has quit IRC
[03:03:36] *** ccohn has joined #angularjs
[03:04:19] *** axsuul has quit IRC
[03:04:59] *** warpx has joined #angularjs
[03:05:54] *** emanresu404 has quit IRC
[03:05:56] *** jchamberlain has quit IRC
[03:07:32] <sojic> jaawerth, got it!
[03:07:48] <sojic> Just to optimize it... give me a sec.
[03:08:22] *** ccohn has quit IRC
[03:08:51] <sojic> No, that's it! I do not like double apply of {visible} filter.
[03:09:16] *** daynaskully has quit IRC
[03:09:32] *** wsmoak has quit IRC
[03:09:39] *** motionman has quit IRC
[03:09:42] *** nemothekid has quit IRC
[03:09:44] *** warpx has quit IRC
[03:10:16] <jaawerth> hmm well I know two ways you could do what you need
[03:10:45] *** torartc has joined #angularjs
[03:10:48] <jaawerth> one is, instead of specifying actual index length, you could specify the start and end points as a fraction/percentage
[03:10:52] *** moogey has quit IRC
[03:11:14] <dsdeiz_> anyone happen to have any ideas? :D
[03:11:34] <jaawerth> the other would be # of moves form the ends, butu that could go wrong if you don't know the length - fraction is safer
[03:11:56] <jaawerth> failing that, you'll need to grab the length of the resultant array somehow
[03:12:07] *** testin has quit IRC
[03:12:22] <torartc> I'm having a really hard time using a directive to modify a $scope value outside of the directive. Currently getting "…but the directive is used with an expression that is not-assignable." when trying to use the "=bind" on scope
[03:12:28] *** iribarne_ has joined #angularjs
[03:12:59] <torartc> I have tried 100 things and have read the docs and seen other examples, I can't for the life of me trouble shoot this
[03:13:06] <jaawerth> 1) that's generally a bad idea, 2) just use scope.$parent
[03:13:12] *** wookiehangover has joined #angularjs
[03:13:15] *** uris77 has joined #angularjs
[03:13:15] *** rafagomes has quit IRC
[03:13:15] <jaawerth> (if you must do it, that is)
[03:13:35] *** swist has quit IRC
[03:13:36] *** ProLoser has quit IRC
[03:13:56] <jaawerth> 3) if it isn't the parent scope, if SHOULD let you pass in a scope if you wrap it in another object to hide the fact that you're passing a scope from angular
[03:14:01] <jaawerth> it*
[03:14:18] <jaawerth> but 4) there be dragons there
[03:14:40] <torartc> jaawerth: Ok. I get that. I was really just trying to toggle an ng-show with a click of a directive
[03:15:29] <torartc> jaawerth: I guess I just had so much trouble getting anythign to work that I've ended up trying to change that variable with the directive. If there is a better way of doing that i'd be happy to
[03:16:03] *** iribarne has quit IRC
[03:16:03] *** iribarne_ is now known as iribarne
[03:16:08] <torartc> jaawerth: at this point I'm just going to throw an ng-click on it, but I was trying build that into the directive
[03:16:17] *** morenoh149 has quit IRC
[03:16:30] *** ProLoser has joined #angularjs
[03:16:34] *** baweaver has joined #angularjs
[03:16:37] *** Xaleph has joined #angularjs
[03:17:09] *** dejanr has joined #angularjs
[03:17:47] *** areologist has joined #angularjs
[03:18:01] <jaawerth> torartc: oh! in that case, you want '&'
[03:18:06] <jaawerth> that's what it's for
[03:18:12] *** RedOrangeZ has quit IRC
[03:18:41] *** encryptd_fractl has quit IRC
[03:19:29] *** aniM has joined #angularjs
[03:20:06] <areologist> that was exciting: ui-router infinite loop
[03:20:09] <torartc> @jaawerth ah hm so I should use & for a method that changes that scope value?
[03:20:20] *** Tons has joined #angularjs
[03:20:23] <aniM> I want to call some code as soon as angular has rendered all the ng-includes. How do I know when all the ng-includes have been rendered?
[03:20:33] *** fairuz has joined #angularjs
[03:20:38] <jaawerth> torartc: it lets you execute the expression that's passed in on the parent scope's context - it's how ng-click works
[03:20:53] *** japhar81 has joined #angularjs
[03:20:53] <areologist> partial didn't exist and I saw ui-router initiated 404s in the console without end.. thousands of them before I reloaded. One-time thing, apparently.
[03:21:00] *** baweaver has quit IRC
[03:21:33] *** _ritchie_ has quit IRC
[03:22:19] *** rhp has quit IRC
[03:22:19] <torartc> @jaawerth ah ok. This is super helpful. I'll mess around with it and see if I can get it working. Thanks a ton.
[03:23:00] *** ProLoser has quit IRC
[03:23:14] *** chrisbirk has joined #angularjs
[03:23:55] <areologist> anyone else ever experienced an infinite request/404 with ui-router?
[03:24:22] *** baweaver has joined #angularjs
[03:24:49] *** sirkitree|afk is now known as sirkitree|afk|af
[03:24:54] *** cthrax has quit IRC
[03:25:03] *** glaksmono has joined #angularjs
[03:25:49] *** btreeinfinity has quit IRC
[03:25:50] *** AWAW has joined #angularjs
[03:26:14] *** baweaver has joined #angularjs
[03:27:15] *** jeremymarc has quit IRC
[03:27:23] <areologist> thx, ctanga, will check that out
[03:27:25] *** djvirgen has quit IRC
[03:27:26] *** mmealling has joined #angularjs
[03:28:10] *** icotestin has joined #angularjs
[03:28:14] *** scythe__ has quit IRC
[03:28:26] *** kolyaflash has joined #angularjs
[03:28:30] *** motionman has joined #angularjs
[03:28:34] *** shinnya has quit IRC
[03:30:32] *** digifiv5e has joined #angularjs
[03:30:38] *** zanea is now known as zanea|away
[03:30:40] *** digifiv5e is now known as Guest9241
[03:30:49] *** frkout_ has joined #angularjs
[03:31:05] *** tfennelly has joined #angularjs
[03:31:51] *** robdubya has quit IRC
[03:32:16] *** bbankes has quit IRC
[03:32:45] *** areologist has quit IRC
[03:33:00] *** arkanciscan has quit IRC
[03:34:07] *** Xaleph has quit IRC
[03:34:08] *** frkout has quit IRC
[03:34:13] *** stormbytes has joined #angularjs
[03:34:20] *** peterp has quit IRC
[03:34:47] *** JeffBuhrt1 has joined #angularjs
[03:34:49] *** lw has joined #angularjs
[03:35:25] *** tfennelly has quit IRC
[03:36:07] *** JeffBuhrt has quit IRC
[03:36:21] <jaawerth> torartc: sure - if you need to pass params into the expression, you can pass them into the function as a named hash scope.myClick({ exprVar: myyData }) and exprVar will have the value/object in the expression
[03:36:35] *** nemothekid has joined #angularjs
[03:36:57] *** RobinBAwesome has quit IRC
[03:37:02] <jaawerth> torartc: that is, if you need to pass them in FROM the directive. From outside the directive, where you're passing the expression in, you can just use whatever local scope properties you want
[03:37:12] *** motionman has quit IRC
[03:38:23] *** debunk has quit IRC
[03:38:33] *** spectator has quit IRC
[03:40:07] *** Anonymous has joined #angularjs
[03:40:19] *** mven has joined #angularjs
[03:40:21] *** kirfu has joined #angularjs
[03:40:34] *** mven has quit IRC
[03:41:11] *** Anonymous has quit IRC
[03:41:43] *** rtpg has quit IRC
[03:42:07] *** sojic has quit IRC
[03:42:35] *** gladely has quit IRC
[03:43:12] <ctanga> wow weird
[03:43:19] *** bostonaholic has joined #angularjs
[03:43:23] <ctanga> btford just committed a new version of batarang (0.5.0) an hour ago
[03:43:36] <ctanga> I suddenly started getting “Angular Hint” in my console
[03:43:42] <ctanga> and performance dropped significantly
[03:43:57] <ctanga> it must have auto-updated
[03:44:10] *** dejanr has quit IRC
[03:44:12] <glaksmono> anyone is around?
[03:44:19] <ctanga> useful hints, though
[03:44:28] *** getn_outchea has quit IRC
[03:44:42] *** adamsilver has joined #angularjs
[03:44:58] *** kulis has joined #angularjs
[03:45:08] *** scythe__ has joined #angularjs
[03:45:12] <glaksmono> anyone have had the chance to combine angularjs with rails?
[03:45:28] *** aslate has joined #angularjs
[03:45:57] *** lw has quit IRC
[03:46:14] *** iribarne has quit IRC
[03:46:32] <adamsilver> I don't understand how rest auth should work. On a desktop js app, should i include the password with every request in the header?
[03:47:17] <ctanga> adamsilver: rest auth? Are you by chance referring to JWT?
[03:47:34] *** getn_outchea has joined #angularjs
[03:47:51] <CanyonMan> adamsilver: that's how basic authentication generally works yes
[03:48:14] <CanyonMan> for REST services, people are talking about OIDC (Open ID Connect) but if you really look at it, it's still a huge mess
[03:48:15] *** whitebook has quit IRC
[03:48:28] *** RobinBAwesome has joined #angularjs
[03:48:49] <adamsilver> Do i include the password or a key?
[03:49:22] *** Aerospark has joined #angularjs
[03:49:27] *** RobinBAwesome has quit IRC
[03:49:54] *** wookiehangover has quit IRC
[03:49:55] *** aniM has quit IRC
[03:50:11] *** ChadStrat has quit IRC
[03:50:18] *** aslate has quit IRC
[03:50:27] *** Iravan has joined #angularjs
[03:51:11] *** axsuul has joined #angularjs
[03:51:27] <ctanga> wtf batarang :(
[03:51:54] *** Oddman has quit IRC
[03:52:00] *** ChadStrat has joined #angularjs
[03:52:53] *** kakashiA1 has joined #angularjs
[03:52:54] *** g33k5z has joined #angularjs
[03:54:06] *** ninjaparade has quit IRC
[03:54:08] *** TheAceOfHearts has quit IRC
[03:54:28] *** Aerospark has quit IRC
[03:54:41] *** elrabin has joined #angularjs
[03:55:45] *** knownasilya has joined #angularjs
[03:55:45] *** ianpirro has joined #angularjs
[03:55:47] *** wookiehangover has joined #angularjs
[03:56:02] *** lw has joined #angularjs
[03:56:04] *** kakashiAL has quit IRC
[03:56:06] *** samuel02 has joined #angularjs
[03:56:09] *** lw has quit IRC
[03:56:10] *** Iravan has quit IRC
[03:56:16] *** uris77 has quit IRC
[03:56:38] *** busticated has quit IRC
[03:56:46] *** Iravan has joined #angularjs
[03:56:50] *** jonathanpglick has quit IRC
[03:56:52] *** lw has joined #angularjs
[03:57:07] *** adamsilver has quit IRC
[03:57:21] *** SargoDarya has joined #angularjs
[03:57:47] *** frem has quit IRC
[03:57:47] *** evanjs has joined #angularjs
[03:57:51] *** patcito has quit IRC
[03:58:40] *** andrewvee has joined #angularjs
[03:58:59] *** JeffBuhrt1 has left #angularjs
[03:59:31] *** DoubleAW has joined #angularjs
[04:00:15] *** ianpirro has quit IRC
[04:00:43] *** emanresu404 has joined #angularjs
[04:00:45] *** samuel02 has quit IRC
[04:01:18] *** emanresu404 has quit IRC
[04:01:26] *** emanresu404 has joined #angularjs
[04:01:32] *** SargoDarya has quit IRC
[04:01:37] *** AWAW has quit IRC
[04:01:57] *** kirfu has quit IRC
[04:02:18] *** jMyles has quit IRC
[04:02:22] *** digisky has quit IRC
[04:02:27] *** doug64k has joined #angularjs
[04:02:43] *** wallerdev has quit IRC
[04:03:20] *** elrabin has quit IRC
[04:04:11] *** g33k5z has quit IRC
[04:04:22] *** ccohn has joined #angularjs
[04:04:43] *** dejanr has joined #angularjs
[04:04:52] *** digisky1 has joined #angularjs
[04:04:55] *** snurfery has quit IRC
[04:05:17] *** Iravan_ has joined #angularjs
[04:05:51] *** DanSkaggs has quit IRC
[04:05:55] *** gjaldon has joined #angularjs
[04:06:31] *** chrisshattuck has joined #angularjs
[04:06:53] *** BillCriswell has joined #angularjs
[04:07:57] *** Iravan__ has joined #angularjs
[04:08:01] *** Iravan has quit IRC
[04:08:18] *** tilgovi has quit IRC
[04:09:05] *** ccohn has quit IRC
[04:10:17] *** ianpirro has joined #angularjs
[04:10:28] *** cacts has quit IRC
[04:10:42] *** davesidious_ has joined #angularjs
[04:10:53] *** Iravan_ has quit IRC
[04:14:47] *** davesidious__ has quit IRC
[04:14:58] *** Hackwar has joined #angularjs
[04:15:05] *** baweaver has quit IRC
[04:15:28] *** Iravan__ has quit IRC
[04:15:57] *** Hackwar1 has quit IRC
[04:16:05] *** fouadm has quit IRC
[04:16:13] <cilkay> I assume that in app.factory above where you see return $resource("/api/posts/:id");, that can be a full URL to some external service, too.
[04:16:32] *** gjaldon has quit IRC
[04:17:49] *** fouadm has joined #angularjs
[04:18:07] *** ron1 has quit IRC
[04:18:57] *** snurfery has joined #angularjs
[04:21:19] *** josh-k has joined #angularjs
[04:21:23] *** Iravan has joined #angularjs
[04:22:29] *** Iravan has joined #angularjs
[04:23:17] *** deg has quit IRC
[04:23:47] <oniMaker> How can I include a controller or service from another module inside a directive?
[04:23:54] *** josh-k_ has quit IRC
[04:25:23] *** chrisshattuck has quit IRC
[04:25:52] *** frkout_ has quit IRC
[04:26:18] *** frkout has joined #angularjs
[04:26:45] *** Iravan_ has joined #angularjs
[04:26:54] *** TyrfingMjolnir has quit IRC
[04:27:28] *** TyrfingMjolnir has joined #angularjs
[04:28:21] *** AWAW has joined #angularjs
[04:28:34] *** balr0g_ has joined #angularjs
[04:30:01] *** Iravan has quit IRC
[04:30:38] *** peterp has joined #angularjs
[04:30:58] *** rtpg has joined #angularjs
[04:31:11] *** rtpg has joined #angularjs
[04:31:41] *** DoubleAW has quit IRC
[04:31:53] *** peterp has quit IRC
[04:33:20] *** fedenunez has quit IRC
[04:34:40] *** peterp has joined #angularjs
[04:35:03] *** nemothekid has quit IRC
[04:35:37] *** Xaleph has joined #angularjs
[04:36:07] *** gjaldon has joined #angularjs
[04:37:16] *** jchamberlain has joined #angularjs
[04:38:04] *** mmealling has quit IRC
[04:39:42] *** TyrfingMjolnir has quit IRC
[04:40:27] *** Iravan_ has quit IRC
[04:40:32] *** Iravan has joined #angularjs
[04:41:01] *** scythe__ has quit IRC
[04:41:25] *** ProLoser has joined #angularjs
[04:41:38] *** Superhard_ has joined #angularjs
[04:42:14] *** evanjs has quit IRC
[04:42:18] *** jchamberlain has quit IRC
[04:43:18] <oniMaker> How can I include a controller or service from another module inside a directive?
[04:46:01] *** {DV8} has quit IRC
[04:46:10] *** kp666 has joined #angularjs
[04:46:11] *** Superhard_ has quit IRC
[04:46:58] *** jchamberlain has joined #angularjs
[04:47:57] *** neilff has joined #angularjs
[04:48:54] *** maikowblue has quit IRC
[04:48:59] *** _mtr has quit IRC
[04:50:29] *** Aliks has quit IRC
[04:50:29] *** bbankes has joined #angularjs
[04:50:49] *** gunn has quit IRC
[04:52:57] *** ianpirro has quit IRC
[04:53:45] *** warpx has joined #angularjs
[04:54:13] *** LossFor has joined #angularjs
[04:54:14] *** Aerospark has joined #angularjs
[04:54:26] *** mmealling has joined #angularjs
[04:54:28] *** __danimal__ has quit IRC
[04:54:31] *** ProLoser has quit IRC
[04:55:42] *** ninjaparade has joined #angularjs
[04:56:51] *** RedOrangeZ has joined #angularjs
[04:57:02] *** Aerospark has quit IRC
[04:57:52] *** ron1 has joined #angularjs
[04:58:45] *** warpx has quit IRC
[04:59:18] *** ron1 has quit IRC
[04:59:20] *** SexualRickshaw has quit IRC
[04:59:37] *** deg has joined #angularjs
[04:59:44] *** Tons has quit IRC
[04:59:55] *** bmac has joined #angularjs
[05:00:02] *** elrabin has joined #angularjs
[05:01:39] *** bejames has quit IRC
[05:02:17] *** rho has joined #angularjs
[05:02:22] *** rho has joined #angularjs
[05:03:04] *** renlord has left #angularjs
[05:04:59] *** g33k5z has joined #angularjs
[05:05:10] *** ccohn has joined #angularjs
[05:05:16] *** BillCriswell has quit IRC
[05:05:18] *** enaqx has quit IRC
[05:05:36] *** maikowblue has joined #angularjs
[05:06:02] *** icotestin has quit IRC
[05:06:02] *** maikowblue has quit IRC
[05:06:22] *** maikowblue has joined #angularjs
[05:07:15] *** enaqx has joined #angularjs
[05:07:22] *** ron1 has joined #angularjs
[05:07:28] *** dejanr has quit IRC
[05:07:31] *** elrabin has quit IRC
[05:08:09] *** TripTastic has quit IRC
[05:09:17] *** ccohn has quit IRC
[05:09:25] *** g33k5z has quit IRC
[05:10:50] *** ProLoser has joined #angularjs
[05:11:48] *** Etherael has quit IRC
[05:12:36] *** Xaleph has quit IRC
[05:13:14] *** motionman has joined #angularjs
[05:14:32] *** bostonaholic has quit IRC
[05:14:38] *** HowdyHowdy has joined #angularjs
[05:14:41] <HowdyHowdy> so when i run my tests through karma, all the tests work. when i run with the --single-run option, I get an ELIFECYCLE error
[05:14:53] *** caitp has quit IRC
[05:15:06] *** JBreit has joined #angularjs
[05:15:26] *** dannyc has joined #angularjs
[05:15:32] *** marcjs has quit IRC
[05:16:27] *** jordandotdev has quit IRC
[05:17:22] *** MuffinMan` has quit IRC
[05:17:53] *** retornam has quit IRC
[05:19:37] *** ChadStrat has quit IRC
[05:19:39] *** tfennelly has joined #angularjs
[05:19:52] *** dannyc has quit IRC
[05:20:14] <snurfery> gentlemen
[05:20:24] <snurfery> question
[05:20:37] <snurfery> anyone know how to get the code point of a unicode character?
[05:21:03] *** jchamberlain has quit IRC
[05:21:14] *** neilff has quit IRC
[05:21:34] *** imonthercks has joined #angularjs
[05:21:46] *** HowdyHowdy has quit IRC
[05:22:12] *** mzabriskie has joined #angularjs
[05:22:26] *** japhar81 has quit IRC
[05:22:48] *** neilff has joined #angularjs
[05:23:24] <imonthercks> anyone using protractor in debug and seeing selenium shutdown after continuing from the initial breakpoint?
[05:23:44] *** bostonaholic has joined #angularjs
[05:23:58] *** tfennelly has quit IRC
[05:24:02] *** dhcar is now known as dhcar_AFK
[05:24:53] *** ckuehl has quit IRC
[05:24:59] *** dc has quit IRC
[05:25:16] *** tripu has joined #angularjs
[05:25:32] *** bengillies has joined #angularjs
[05:25:39] *** ckuehl has joined #angularjs
[05:25:51] *** retornam has joined #angularjs
[05:26:29] *** bostonaholic has quit IRC
[05:27:09] *** dc has joined #angularjs
[05:27:28] *** Xaleph has joined #angularjs
[05:27:47] *** night-owl is now known as zz_night-owl
[05:28:18] *** ProLoser has quit IRC
[05:30:20] *** bengillies has quit IRC
[05:30:54] *** ron1 has quit IRC
[05:31:46] *** zz_night-owl is now known as night-owl
[05:33:57] *** mary5030 has joined #angularjs
[05:34:06] *** bbankes has quit IRC
[05:34:17] *** aslate has joined #angularjs
[05:34:18] *** gjaldon has quit IRC
[05:34:29] *** ron1 has joined #angularjs
[05:34:39] *** gjaldon has joined #angularjs
[05:35:44] *** torartc has quit IRC
[05:36:03] *** rtpg has quit IRC
[05:36:14] *** i_am_nader has quit IRC
[05:36:30] *** Iravan_ has joined #angularjs
[05:36:54] *** kagitingan has joined #angularjs
[05:38:24] *** mary5030 has quit IRC
[05:38:41] *** aslate has quit IRC
[05:38:43] <imonthercks> ended up just using browser.pause() in my protractor test, however it still shuts down selenium when I type "c" to continue after pause
[05:39:12] *** Iravan has quit IRC
[05:39:18] *** snurfery has quit IRC
[05:40:08] *** nya has joined #angularjs
[05:40:35] *** settinghead has quit IRC
[05:41:10] *** settinghead has joined #angularjs
[05:43:56] *** torartc has joined #angularjs
[05:44:50] *** samuel02 has joined #angularjs
[05:45:03] *** _mtr has joined #angularjs
[05:45:40] *** settinghead has quit IRC
[05:46:00] *** SargoDarya has joined #angularjs
[05:46:12] *** {DV8} has joined #angularjs
[05:46:43] *** Nijikoku_ has quit IRC
[05:46:45] *** gunn has joined #angularjs
[05:47:30] *** Aliks has joined #angularjs
[05:48:41] *** lemur has joined #angularjs
[05:49:42] *** samuel02 has quit IRC
[05:49:58] *** _mtr has quit IRC
[05:50:26] *** moogey has joined #angularjs
[05:50:32] *** SargoDarya has quit IRC
[05:50:33] *** neilff has quit IRC
[05:51:49] *** rho has quit IRC
[05:51:57] *** snurfery has joined #angularjs
[05:52:28] *** Grokling_ has joined #angularjs
[05:52:39] *** dave_boling has quit IRC
[05:56:17] *** mennea has joined #angularjs
[05:56:38] *** busticated has joined #angularjs
[05:58:29] <oniMaker> I can inject services et al. into directives... so how do I assign them to $scope ?
[05:59:22] <moogey> oniMaker: you don't. You're controller uses the services, and assigns the data it needs to scope
[05:59:31] <moogey> $scope is for things that plan on being used by the template
[05:59:39] <oniMaker> moogey: what if my directive is used among multiple controllers from different modules?
[06:00:12] <oniMaker> I just want to make something available in the directive template
[06:00:18] *** annlewis has quit IRC
[06:00:20] <oniMaker> regardless of where the directive has been inlucded
[06:00:28] *** maikowblue has quit IRC
[06:01:12] *** trezee has joined #angularjs
[06:01:29] *** torartc has quit IRC
[06:01:33] <trezee> good morning
[06:01:33] <themime> oniMaker: you can assign something rom a service into a directive and assign it in the link function to the scope
[06:01:34] <moogey> oniMaker: you either give the directive a controller. Or put it in the link. Use the service, and put it on the scope there.
[06:01:54] <themime> something rom a service?
[06:01:56] * themime goes to bed
[06:01:57] *** Milk_weed has quit IRC
[06:02:01] <oniMaker> so it sounds like the link() function is the way to go
[06:02:05] *** JBreit has quit IRC
[06:02:24] *** Xaleph has quit IRC
[06:02:42] *** goodenough has joined #angularjs
[06:03:25] <oniMaker> cool, that worked
[06:03:27] <oniMaker> thanks guys
[06:03:31] *** rchavik has quit IRC
[06:03:42] <moogey> oniMaker: :D
[06:03:45] *** ron1 has quit IRC
[06:03:53] *** _ritchie_ has joined #angularjs
[06:04:41] *** elrabin has joined #angularjs
[06:05:27] *** mary5030 has joined #angularjs
[06:05:31] *** Marsoln has joined #angularjs
[06:05:53] *** ccohn has joined #angularjs
[06:05:59] *** mzabriskie has quit IRC
[06:06:22] *** federicobucchi has joined #angularjs
[06:06:39] *** cthrax has joined #angularjs
[06:06:40] <Marsoln> hmm
[06:07:21] <federicobucchi> Hello guys, I have 2 questions: 1) what is the difference between a factory and service (why and for what I should use one or the other)? 2) How can I create a method in the directive and call it from a controller?
[06:10:10] *** ccohn has quit IRC
[06:10:25] *** ron1 has joined #angularjs
[06:10:49] *** jasonp has quit IRC
[06:11:19] *** ron1 has quit IRC
[06:11:52] *** bmac has quit IRC
[06:12:26] *** caitp has joined #angularjs
[06:12:44] *** cthrax has quit IRC
[06:13:40] *** elrabin has quit IRC
[06:13:46] *** ron1 has joined #angularjs
[06:14:32] *** bmac has joined #angularjs
[06:15:37] *** Sna4x8 has quit IRC
[06:15:43] *** frem has joined #angularjs
[06:16:00] *** thomas has joined #angularjs
[06:16:26] *** Sna4x8 has joined #angularjs
[06:18:17] *** ron1 has quit IRC
[06:18:26] *** caitp has quit IRC
[06:18:45] *** Rock has joined #angularjs
[06:19:09] *** jchamberlain has joined #angularjs
[06:19:43] *** Rock has quit IRC
[06:20:30] *** ProLoser has joined #angularjs
[06:21:05] *** mary5030 has quit IRC
[06:21:28] *** Marsoln has quit IRC
[06:21:41] *** mary5030 has joined #angularjs
[06:23:29] *** cacts has joined #angularjs
[06:23:58] *** josh-k has quit IRC
[06:23:58] *** jaydubya has quit IRC
[06:24:35] *** jaydubya has joined #angularjs
[06:24:50] <cilkay> federicobucchi: StackOverflow has several answers to #1.
[06:25:49] <federicobucchi> cilkay thanks
[06:25:54] *** mennea has quit IRC
[06:25:59] *** techsethi has joined #angularjs
[06:26:16] <cilkay> You're welcome.
[06:26:19] *** mary5030 has quit IRC
[06:26:31] *** mennea has joined #angularjs
[06:26:49] *** moogey is now known as zz_moogey
[06:27:47] *** rtpg has joined #angularjs
[06:28:05] <oniMaker> How can I wait for a $response to be finished inside a service?
[06:28:31] <oniMaker> I'm calling a get() inside a service, and I want to add some additional info to each object I receive before returning the service
[06:28:48] <oniMaker> i.e. anything using the service should have the additional info for each object automatically
[06:28:57] *** jaydubya has quit IRC
[06:30:21] *** Superhard_ has joined #angularjs
[06:31:06] *** annlewis has joined #angularjs
[06:32:22] *** Fire-Dragon-DoL has quit IRC
[06:33:55] <imonthercks> oniMaker: take a look at the $q service in the angular docs
[06:34:17] <oniMaker> imonthercks: seeing it now.. I understand promises
[06:34:26] <oniMaker> but I don't understand how I can use them within an angular context
[06:34:47] *** gjaldon has quit IRC
[06:34:55] *** Superhard_ has quit IRC
[06:35:11] <oniMaker> as I understand... promises can be used directly in views
[06:35:41] <oniMaker> how can I make sure the .then() in my service executes before the implied .then() from a view?
[06:36:15] *** annlewis has quit IRC
[06:36:18] <oniMaker> also it's not working... I return a promise which returns a result
[06:36:23] *** gjaldon has joined #angularjs
[06:36:27] <oniMaker> but the view shows nothing
[06:37:05] <oniMaker> returning `TagEndpoint.get()` to the view works
[06:37:20] <oniMaker> but not `TagEndpoint.get().$promise` or `TagEndpoint.get().$promise.then(function() { ... });`
[06:37:29] <oniMaker> I can see the then function is working
[06:37:37] <oniMaker> and returning something
[06:38:24] *** joshontheweb has quit IRC
[06:39:18] <imonthercks> in the then() in your service, process results from get and then call resolve(<<new results>>)
[06:39:41] <oniMaker> $q.resolve ?
[06:40:23] *** IJNX has joined #angularjs
[06:40:43] <oniMaker> there's no $q resolve or plain resolve
[06:40:45] <imonthercks> the call to the service also should not be in a view, but in a controller that is setting the results to the $scope that the view is bound to
[06:41:05] *** bmac has quit IRC
[06:41:13] <oniMaker> the service is in a directive's link function that's setting it as part of scope
[06:41:41] *** SahanH has joined #angularjs
[06:41:58] *** moogey has joined #angularjs
[06:42:21] *** settinghead has joined #angularjs
[06:42:34] *** warpx has joined #angularjs
[06:43:38] *** gladely has joined #angularjs
[06:44:09] <oniMaker> so far I'm not using it directly
[06:44:19] <oniMaker> just waiting on a $response
[06:44:27] *** SexualRickshaw has joined #angularjs
[06:44:28] <oniMaker> $resource rather
[06:45:07] *** fixl has joined #angularjs
[06:45:13] *** instence_ has joined #angularjs
[06:45:13] *** sigurding has joined #angularjs
[06:45:15] *** scriptThis has joined #angularjs
[06:45:19] *** JBreit has joined #angularjs
[06:45:47] *** kuadrosx has quit IRC
[06:45:51] <imonthercks> i also try to keep services that call http out of my directives and in controllers, and then bind the scope attribute from the parent controller to the directive
[06:46:19] <imonthercks> what is it that you are not using directly?
[06:46:57] *** settinghead has quit IRC
[06:47:18] *** warpx has quit IRC
[06:47:24] *** instence has quit IRC
[06:47:42] *** Oka has quit IRC
[06:48:03] *** d4rklit3 has quit IRC
[06:48:16] *** {DV8} has quit IRC
[06:50:24] *** jchamberlain has quit IRC
[06:50:42] *** BahamutWC|Work has quit IRC
[06:51:17] *** prontotest has joined #angularjs
[06:51:24] *** prontotest has left #angularjs
[06:51:28] <oniMaker> imonthercks: I'm getting a bunch of categories for a global site filter
[06:51:49] <oniMaker> so there's a GlobalFilter service that pulls from the TagEndpoint service (which uses $resource)
[06:52:14] <oniMaker> for display, there's a globalFilter directive which uses the GlobalFilter service
[06:53:01] *** Zentdayn has quit IRC
[06:53:53] *** g33k5z_ has joined #angularjs
[06:54:05] *** IJNX has quit IRC
[06:55:41] *** moogey has quit IRC
[06:56:18] *** mennea has quit IRC
[06:56:28] *** davek is now known as wartech1
[06:58:19] *** g33k5z_ has quit IRC
[06:58:23] *** gkap has joined #angularjs
[06:59:56] *** joshontheweb has joined #angularjs
[07:00:08] *** kp666 has quit IRC
[07:03:02] *** kulis has quit IRC
[07:04:12] *** dannyc has joined #angularjs
[07:04:37] *** frkout_ has joined #angularjs
[07:05:50] *** brundrett has joined #angularjs
[07:06:48] *** ccohn has joined #angularjs
[07:07:17] *** frkout has quit IRC
[07:08:42] *** dannyc has quit IRC
[07:09:12] *** kp666 has joined #angularjs
[07:09:16] <oniMaker> my $watch is not working for checked/unchecked elements in my directive
[07:09:21] <oniMaker> do I need to manually call $apply?
[07:09:47] *** elrabin has joined #angularjs
[07:10:57] *** ccohn has quit IRC
[07:11:01] *** frkout_ has quit IRC
[07:11:10] *** TyrfingMjolnir has joined #angularjs
[07:11:27] *** frkout has joined #angularjs
[07:13:49] *** dc has quit IRC
[07:14:18] *** bengillies has joined #angularjs
[07:14:25] *** LossFor has quit IRC
[07:15:00] *** caitp has joined #angularjs
[07:15:46] *** jrajaratnam has quit IRC
[07:16:31] *** lw has quit IRC
[07:17:13] *** _mtr has joined #angularjs
[07:18:09] *** elrabin has quit IRC
[07:18:54] *** bengillies has quit IRC
[07:18:55] *** chrisbirk has quit IRC
[07:19:24] *** caitp has quit IRC
[07:19:47] *** rchavik has joined #angularjs
[07:21:14] *** plekplek has joined #angularjs
[07:22:00] *** dcherman has joined #angularjs
[07:22:27] *** phzon has joined #angularjs
[07:22:42] *** _mtr has quit IRC
[07:23:20] *** aslate has joined #angularjs
[07:24:15] *** kagitingan has quit IRC
[07:24:31] *** trezee has quit IRC
[07:24:47] *** busticated has quit IRC
[07:25:21] *** joshontheweb has quit IRC
[07:27:08] *** phzon has quit IRC
[07:27:19] *** joshontheweb has joined #angularjs
[07:28:05] *** doginal has quit IRC
[07:28:06] *** aslate has quit IRC
[07:29:33] *** LossFor has joined #angularjs
[07:29:33] *** gjaldon has quit IRC
[07:30:00] *** gjaldon has joined #angularjs
[07:31:07] *** Superhard_ has joined #angularjs
[07:31:17] *** Oka has joined #angularjs
[07:31:41] *** e0ipso|away is now known as e0ipso
[07:31:47] *** annlewis has joined #angularjs
[07:32:19] *** mary5030 has joined #angularjs
[07:33:47] *** samuel02 has joined #angularjs
[07:34:55] *** SargoDarya has joined #angularjs
[07:35:17] *** Superhard_ has quit IRC
[07:35:43] *** SexualRickshaw has quit IRC
[07:35:50] *** dcherman has quit IRC
[07:36:11] *** SexualRickshaw has joined #angularjs
[07:36:22] *** annlewis has quit IRC
[07:36:27] *** CodeFriar has quit IRC
[07:36:51] *** mary5030 has quit IRC
[07:37:17] *** cotko has quit IRC
[07:38:12] *** samuel02 has quit IRC
[07:39:01] *** _ritchie_ has quit IRC
[07:39:19] *** dcherman has joined #angularjs
[07:39:20] *** SargoDarya has quit IRC
[07:40:59] *** macobo has joined #angularjs
[07:42:09] *** oste has quit IRC
[07:42:49] *** doginal has joined #angularjs
[07:42:52] *** dcherman2 has joined #angularjs
[07:43:16] *** ggrzybek has joined #angularjs
[07:45:13] *** frkout has quit IRC
[07:45:39] *** IJNX has joined #angularjs
[07:45:42] *** frkout has joined #angularjs
[07:45:55] *** dcherman has quit IRC
[07:46:27] *** VeeWee has joined #angularjs
[07:46:39] *** dcherman has joined #angularjs
[07:46:51] *** mogaj|2 has joined #angularjs
[07:47:19] *** dcherman2 has quit IRC
[07:48:16] *** zumba_ad_ has joined #angularjs
[07:48:30] *** dcherman2 has joined #angularjs
[07:49:06] *** mogaj has quit IRC
[07:49:12] *** Leon has joined #angularjs
[07:51:28] *** mglvl has quit IRC
[07:51:48] *** _ritchie_ has joined #angularjs
[07:52:10] *** dcherman has quit IRC
[07:53:12] <federicobucchi> I have a directive where I am adding a link action to the element and I add a method to the $scope… the method is $scope.changeColorEnableDisable.. but is not working.. how can I do it?
[07:53:53] *** ianpirro has joined #angularjs
[07:54:04] *** gauravsaini03 has joined #angularjs
[07:54:27] *** hello has joined #angularjs
[07:57:00] *** earthquake has joined #angularjs
[07:57:37] *** hello has quit IRC
[07:58:18] *** ianpirro has quit IRC
[07:59:29] *** federicobucchi has left #angularjs
[07:59:49] *** federicobucchi has joined #angularjs
[08:00:32] *** Raymund has joined #angularjs
[08:00:46] *** one0one has quit IRC
[08:00:58] <Raymund> hello everyone :)
[08:01:05] <Raymund> I <3 angularjs
[08:03:14] *** IJNX has quit IRC
[08:03:34] *** jordandotdev has joined #angularjs
[08:04:18] *** morenoh149 has joined #angularjs
[08:04:31] *** DaveDH2 has joined #angularjs
[08:04:50] <TyrfingMjolnir> Raymund: Enjoy!
[08:04:50] *** dcherman2 has quit IRC
[08:05:28] *** platonic has joined #angularjs
[08:07:22] *** ccohn has joined #angularjs
[08:11:12] *** pknordic has joined #angularjs
[08:12:27] *** ccohn has quit IRC
[08:12:36] *** jaydubya has joined #angularjs
[08:13:08] *** _ritchie_ has quit IRC
[08:13:13] *** Sadin has quit IRC
[08:14:56] *** rboyd has quit IRC
[08:15:27] *** elrabin has joined #angularjs
[08:16:19] *** pknordic has quit IRC
[08:16:29] *** Gathri has joined #angularjs
[08:16:31] *** _ritchie_ has joined #angularjs
[08:16:47] <Gathri> How to set max age to cookie in angularJS
[08:16:49] *** JohnBat26 has joined #angularjs
[08:17:49] *** sigurding has quit IRC
[08:17:53] *** uru|away is now known as uru
[08:17:55] *** pknordic has joined #angularjs
[08:17:58] *** lite has joined #angularjs
[08:18:40] *** earthquake has quit IRC
[08:18:46] *** ninjaparade has quit IRC
[08:19:22] *** knownasilya has quit IRC
[08:20:18] *** velocity has joined #angularjs
[08:20:19] *** Raymund has quit IRC
[08:20:41] *** soee has joined #angularjs
[08:20:55] <velocity> Anyone would have advice for using angularjs with velocity?
[08:21:17] *** Firo has joined #angularjs
[08:21:40] <soee> good morning
[08:22:58] *** elrabin has quit IRC
[08:23:01] <velocity> good morning
[08:24:15] *** sigurding has joined #angularjs
[08:24:32] *** wooz86 has joined #angularjs
[08:25:58] *** dan2k3k4 has joined #angularjs
[08:26:03] *** IJNX has joined #angularjs
[08:27:40] *** jonasliljestrand has quit IRC
[08:28:18] *** jaydubya has quit IRC
[08:29:51] *** goodenough has quit IRC
[08:30:17] *** SahanH has quit IRC
[08:30:47] *** kk_ has joined #angularjs
[08:30:54] *** MistahKurtz has quit IRC
[08:31:20] *** tfennelly has joined #angularjs
[08:31:25] *** warpx has joined #angularjs
[08:31:42] *** annlewis has joined #angularjs
[08:32:09] *** TheAceOfHearts has joined #angularjs
[08:34:06] *** HMBBabyface has joined #angularjs
[08:34:38] *** codeman has quit IRC
[08:35:20] *** mtsr has joined #angularjs
[08:35:49] *** SargoDarya has joined #angularjs
[08:35:54] *** warpx has quit IRC
[08:36:10] *** annlewis has quit IRC
[08:36:16] *** sheplu has quit IRC
[08:36:46] *** linojon has quit IRC
[08:36:53] *** grantfunke_ has joined #angularjs
[08:39:37] *** iksik has quit IRC
[08:39:37] *** iksik has joined #angularjs
[08:39:47] *** morenoh149 has quit IRC
[08:40:02] *** _ritchie_ has quit IRC
[08:40:34] *** kk_ has quit IRC
[08:40:42] *** SargoDarya has quit IRC
[08:40:48] *** doginal has quit IRC
[08:41:45] *** foofoobar has joined #angularjs
[08:42:26] *** sigurding has quit IRC
[08:42:33] *** g33k5z has joined #angularjs
[08:43:02] *** doginal has joined #angularjs
[08:44:04] *** Nijikoku_ has joined #angularjs
[08:44:08] *** HMBBabyface has quit IRC
[08:44:29] *** gjaldon has quit IRC
[08:44:49] *** Wizek has joined #angularjs
[08:46:18] *** TheAceOfHearts has quit IRC
[08:47:13] *** g33k5z has quit IRC
[08:47:32] *** jstroem has joined #angularjs
[08:47:33] *** jacuqesdancona_ has joined #angularjs
[08:47:44] *** kolyaflash has quit IRC
[08:48:42] *** morenoh149 has joined #angularjs
[08:48:55] *** CiE has quit IRC
[08:49:25] *** krthorse has joined #angularjs
[08:49:37] *** duellsy has quit IRC
[08:49:45] *** federicobucchi has quit IRC
[08:49:56] *** Raging_Hog has joined #angularjs
[08:51:01] *** neilff has joined #angularjs
[08:52:23] *** grantfunke_ has quit IRC
[08:52:59] *** dannyc has joined #angularjs
[08:54:42] *** Raging_Hog has quit IRC
[08:54:43] *** gkap has quit IRC
[08:54:52] *** freelyfred has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:12] *** gkap has joined #angularjs
[08:55:14] *** neilff has quit IRC
[08:57:24] *** andrew9183 has quit IRC
[08:57:32] *** dannyc has quit IRC
[08:57:39] *** deyna has joined #angularjs
[08:58:05] *** sp00x has quit IRC
[08:58:12] <Firo> Expected to see more people complaining about what Batarang has pulled off today...
[08:58:18] *** LossFor has quit IRC
[08:58:43] *** Raging_Hog has joined #angularjs
[08:59:10] *** goodenough has joined #angularjs
[09:00:30] *** werehuman has quit IRC
[09:01:02] *** deyna has quit IRC
[09:01:49] *** Wizek has quit IRC
[09:02:11] *** Evanion has joined #angularjs
[09:02:24] *** apoorvparijat has joined #angularjs
[09:02:51] *** kolyaflash has joined #angularjs
[09:02:58] *** blomman has joined #angularjs
[09:03:01] *** dannyc has joined #angularjs
[09:03:01] *** brundrett has quit IRC
[09:03:18] *** deyna has joined #angularjs
[09:03:36] *** cheef has joined #angularjs
[09:03:39] *** caitp has joined #angularjs
[09:04:45] *** jonasliljestrand has joined #angularjs
[09:04:55] *** fbenoit has joined #angularjs
[09:05:02] *** sigurding_ has joined #angularjs
[09:05:18] *** mennea has joined #angularjs
[09:05:45] *** nemothekid has joined #angularjs
[09:05:49] *** pinner has joined #angularjs
[09:05:56] *** artee_ has quit IRC
[09:06:02] *** sp00x has joined #angularjs
[09:06:13] *** _mtr has joined #angularjs
[09:06:21] *** artee_ has joined #angularjs
[09:07:05] *** Superhard_ has joined #angularjs
[09:07:22] *** laurensclaessen has joined #angularjs
[09:08:08] *** ccohn has joined #angularjs
[09:08:25] *** caitp has quit IRC
[09:08:26] *** jstroem has quit IRC
[09:08:37] *** Hounddog has joined #angularjs
[09:09:48] *** Yankie has joined #angularjs
[09:10:51] *** Yankie has quit IRC
[09:11:01] *** medusa has quit IRC
[09:11:21] *** _mtr has quit IRC
[09:11:57] *** Raging_Hog has quit IRC
[09:12:17] *** medusa has joined #angularjs
[09:12:18] *** aslate has joined #angularjs
[09:12:37] *** ccohn has quit IRC
[09:12:47] *** sigurding_ has quit IRC
[09:13:06] *** cacts has quit IRC
[09:14:22] *** ron1 has joined #angularjs
[09:14:44] *** daro has joined #angularjs
[09:15:25] *** apoorvparijat has quit IRC
[09:15:45] *** krthorse has quit IRC
[09:15:59] <cheef> morning
[09:16:38] *** aslate has quit IRC
[09:18:07] *** tangorri has joined #angularjs
[09:18:34] *** ron1 has quit IRC
[09:18:43] *** Climax777 has joined #angularjs
[09:18:57] *** e0ipso is now known as e0ipso|away
[09:19:40] *** elrabin has joined #angularjs
[09:21:27] *** mchammer has joined #angularjs
[09:21:35] *** mrru has joined #angularjs
[09:22:14] *** kagitingan has joined #angularjs
[09:22:25] *** samuel02 has joined #angularjs
[09:23:12] *** mogaj has joined #angularjs
[09:23:30] *** CanyonMan has quit IRC
[09:23:38] *** e0ipso|away is now known as e0ipso
[09:23:41] *** mogaj has quit IRC
[09:23:43] *** StryKaizer has joined #angularjs
[09:24:00] *** mogaj|2 has quit IRC
[09:24:59] *** sebhoss has joined #angularjs
[09:26:51] *** samuel02 has quit IRC
[09:27:40] *** dannyc has quit IRC
[09:28:09] *** elrabin has quit IRC
[09:28:42] *** motionman has quit IRC
[09:30:38] *** Alina-malina has quit IRC
[09:31:23] *** Alina-malina has joined #angularjs
[09:31:24] *** Alina-malina has joined #angularjs
[09:31:35] *** annlewis has joined #angularjs
[09:32:00] *** jstroem has joined #angularjs
[09:32:06] *** frobs has joined #angularjs
[09:33:16] *** Gathri has quit IRC
[09:33:37] *** jonasliljestrand has quit IRC
[09:33:41] *** mogaj has joined #angularjs
[09:34:06] *** phzon has joined #angularjs
[09:35:09] *** sheplu has joined #angularjs
[09:35:22] <wooz86> hey guys! I have this dropdown which is divided into optgroups with the help of "group by" in ng-options. But now I want to sort the optgroups alphabetically. How do I do that?
[09:36:04] *** annlewis has quit IRC
[09:36:10] *** frkout_ has joined #angularjs
[09:37:11] *** joshontheweb has quit IRC
[09:37:49] *** frkout_ has quit IRC
[09:38:15] *** frkout_ has joined #angularjs
[09:38:33] *** doginal has quit IRC
[09:38:51] *** tfennelly has quit IRC
[09:39:02] *** bejames has joined #angularjs
[09:39:20] *** doginal has joined #angularjs
[09:39:49] *** frkout has quit IRC
[09:39:50] *** joshontheweb has joined #angularjs
[09:41:19] *** jtimon has joined #angularjs
[09:41:25] *** doginal has quit IRC
[09:41:34] *** MaxV has joined #angularjs
[09:41:55] *** Christer has joined #angularjs
[09:42:31] *** juampy has joined #angularjs
[09:43:34] *** g33k5z has joined #angularjs
[09:43:54] *** AviMarcus has joined #angularjs
[09:45:28] *** cotko has joined #angularjs
[09:45:37] *** kagitingan has quit IRC
[09:46:04] *** gjaldon has joined #angularjs
[09:46:06] *** ggrzybek is now known as ggrzybek_brb
[09:47:32] *** lite is now known as lite_
[09:47:55] *** AviMarcus has quit IRC
[09:47:58] *** g33k5z has quit IRC
[09:49:11] *** kkthxbye has quit IRC
[09:49:33] *** Rebirth has joined #angularjs
[09:50:07] *** adrrr has joined #angularjs
[09:50:09] *** ciwolsey has joined #angularjs
[09:50:21] *** ogdabou has joined #angularjs
[09:51:34] *** ProLoser has quit IRC
[09:51:36] *** warpx has joined #angularjs
[09:51:49] *** ivok has quit IRC
[09:52:24] *** ProLoser has joined #angularjs
[09:52:51] *** Nivag_ has quit IRC
[09:53:51] *** dannyc has joined #angularjs
[09:54:39] *** ninkotech has joined #angularjs
[09:55:01] *** sk87 has joined #angularjs
[09:57:44] *** chr1stopher has joined #angularjs
[09:58:12] *** dannyc has quit IRC
[09:59:10] *** chr1stopher has left #angularjs
[09:59:43] *** jlebrech has joined #angularjs
[09:59:58] *** chr1stopher has joined #angularjs
[10:00:13] *** chr1stopher has left #angularjs
[10:00:34] <cheef> how can i pass some information between a parent directive and child directives that are transcluded?
[10:00:44] <cheef> cant use the traditional require: ^parent
[10:00:47] *** zumba_ad_ has quit IRC
[10:01:29] *** Climax777 has quit IRC
[10:01:45] *** chr1stopher has joined #angularjs
[10:02:11] *** night-owl is now known as zz_night-owl
[10:02:26] *** mennea has quit IRC
[10:04:24] *** sebhoss_ has joined #angularjs
[10:04:31] *** jaznow has joined #angularjs
[10:05:08] *** dannyc has joined #angularjs
[10:05:32] *** sebhoss has quit IRC
[10:05:36] *** aslate has joined #angularjs
[10:05:49] *** Climax777 has joined #angularjs
[10:05:58] *** emanresu404 has quit IRC
[10:06:39] *** SargoDarya has joined #angularjs
[10:08:04] *** kagitingan has joined #angularjs
[10:08:41] *** cojack has joined #angularjs
[10:08:51] *** ccohn has joined #angularjs
[10:08:54] *** jstroem has quit IRC
[10:09:12] *** DarrenCraig has joined #angularjs
[10:09:18] *** jstroem has joined #angularjs
[10:09:51] *** evilaliv3 has joined #angularjs
[10:09:59] *** jstroem has quit IRC
[10:10:33] *** jstroem has joined #angularjs
[10:10:44] *** jaydubya has joined #angularjs
[10:11:14] *** SargoDarya has quit IRC
[10:11:25] *** SonikBoom has joined #angularjs
[10:11:46] *** stormbytes has quit IRC
[10:12:04] *** gurke_ has joined #angularjs
[10:12:14] <gurke_> hi@all :)
[10:13:20] *** sigurding has joined #angularjs
[10:13:24] *** ccohn has quit IRC
[10:16:14] *** nfroidure has joined #angularjs
[10:16:17] *** Climax777 has quit IRC
[10:16:27] <jaawerth> cheef: sure you can!
[10:16:31] *** jaydubya has quit IRC
[10:17:05] *** milka has joined #angularjs
[10:19:07] *** vita_ has joined #angularjs
[10:19:58] <cheef> jaawerth:
[10:20:30] <cheef> cant figure out how
[10:20:54] <cheef> i think the problem is that the controller is on the isolate scope, not the transcluded scope, so its not an anchester of the text field directives
[10:22:04] <cheef> i need the child directive to access some config info from the parent
[10:22:09] *** m8 has joined #angularjs
[10:24:01] *** pilva1 has quit IRC
[10:24:21] *** pilva has joined #angularjs
[10:24:31] *** Etherael has joined #angularjs
[10:24:47] *** elrabin has joined #angularjs
[10:25:15] *** ingsoc has joined #angularjs
[10:25:34] *** ivok has joined #angularjs
[10:25:49] <jaawerth> hmm my own test worked
[10:26:04] <jaawerth> perhaps because you're using the transcludeFn instead of ng-transclude
[10:26:27] <cheef> the reason i did that, was because i wanted the transcluded content (textfield) to end up inside an ng-repeat
[10:26:39] *** motto has joined #angularjs
[10:27:01] *** guilbep has joined #angularjs
[10:27:02] <cheef> i tried with ng-transclude originally, but i couldnt get the two way data binding working
[10:27:03] *** motto is now known as Guest39615
[10:28:10] *** josh-k has joined #angularjs
[10:28:19] *** intellix has joined #angularjs
[10:28:48] *** frankblizzar has joined #angularjs
[10:29:09] <cheef> there we go
[10:29:18] <cheef> seems i can have both!
[10:29:21] <cheef> cant*
[10:29:40] *** josh-k has quit IRC
[10:29:50] *** josh-k has joined #angularjs
[10:29:54] *** m8 has quit IRC
[10:30:37] <jaawerth> huh weird
[10:30:39] *** ivok has quit IRC
[10:30:43] <jaawerth> it works if you make it optional
[10:31:06] <jaawerth> like, if you make it optional and then look for the controller in the link function of the child, it's there
[10:31:14] <cheef> which plunkr is that?
[10:31:15] *** red_horned_rihno has quit IRC
[10:31:51] *** vita_ has joined #angularjs
[10:32:06] *** jagga has joined #angularjs
[10:32:15] *** Iravan_ has quit IRC
[10:32:21] *** daro has quit IRC
[10:33:17] <cheef> i.e. using ng-transclude
[10:33:20] *** elrabin has quit IRC
[10:33:43] *** jonasliljestrand has joined #angularjs
[10:34:09] *** KushS has joined #angularjs
[10:34:42] *** nemothekid has quit IRC
[10:35:04] *** Ritoon_ has left #angularjs
[10:35:06] *** gurke_ has quit IRC
[10:35:16] <cheef> hmm, plunkr seems down - cant load them!
[10:37:01] *** tumdedum has quit IRC
[10:37:02] *** bengillies has joined #angularjs
[10:37:15] *** xuu has quit IRC
[10:37:27] <jaawerth> ohh
[10:37:33] *** tumdedum has joined #angularjs
[10:37:34] *** AciD`` has joined #angularjs
[10:37:35] <jaawerth> I think you just need to set your directive to a higher priority than the child directive
[10:37:43] *** tumdedum has quit IRC
[10:37:43] *** tumdedum has joined #angularjs
[10:38:52] <cheef> bit difficult with plunkr down...but i have two options
[10:38:55] <jaawerth> cheef: as for plnkr - try disabling batarang. Batarang was just updated and I think it broke plnkr - I couldn't load it either until I disabled batarang
[10:39:07] *** nemothekid has joined #angularjs
[10:39:10] <jaawerth> er, scratch that
[10:39:16] <cheef> it seems down for everyone :)
[10:39:21] <cheef> Unable to connect to any application instances.
[10:39:21] <jaawerth> before it was loading and not bootstrapping, now it's actually DOWN down
[10:39:53] *** AlSquirikou has joined #angularjs
[10:39:59] <cheef> so my two options are 1) use ng-transclude, this allows require to work, but two way data binding within ng-repeat doesnt work
[10:40:13] <jagga> anyone here written a directive for a d3 map to auto-resize in ng?
[10:40:15] <cheef> or 2) custom transclude, but require doesnt work, and two way data binding does
[10:40:35] *** Abin has joined #angularjs
[10:40:45] <jaawerth> like I said: try a higher priority
[10:40:53] <cheef> on both versions?
[10:41:04] <jaawerth> I dunno, play with it
[10:41:27] <cheef> im not going mad though am i, the parent directive creates an isolated scope, and then the transcluded scope as a sibling of it
[10:41:28] <jaawerth> but the priority thing explains why making the require controller optional got it to work for me (before plnkr went down)
[10:41:38] <jaawerth> on the first pass, it couldn't find the parent directive - on the second pass, it found it
[10:41:41] *** alpha080 has joined #angularjs
[10:41:42] <jaawerth> (is my guess)
[10:41:52] <cheef> ah right, i'll have a check now (my plunkr is still working)
[10:41:55] <cheef> just cant load new ones!
[10:41:56] *** jaznow has quit IRC
[10:41:58] <jaawerth> so that by the time the link function runs - you've got your controller
[10:42:12] <jaawerth> that's why I think it might be priority
[10:42:19] <cheef> what value did you use?
[10:42:25] *** gjaldon has quit IRC
[10:42:58] *** Abin has quit IRC
[10:43:43] *** mrru has quit IRC
[10:43:55] *** tarnus has joined #angularjs
[10:43:58] *** velocity has quit IRC
[10:44:11] *** g33k5z_ has joined #angularjs
[10:44:33] <jaawerth> I didn't try priority, I made the require optional
[10:44:48] <jaawerth> then plnkr went down
[10:44:51] <cheef> ah
[10:45:10] *** josh-k has quit IRC
[10:45:15] <jaawerth> default is 0, so.. something higher than 0?
[10:45:20] <cheef> ye im trying 100
[10:46:24] *** epantzar has joined #angularjs
[10:46:32] <cheef> boo its gone down for me now
[10:46:34] *** Nivag_ has joined #angularjs
[10:46:43] *** IJNX has quit IRC
[10:46:46] <cheef> am i understanding the scope heirachy correctly though?
[10:47:01] <cheef> isolate + transclude results in sibling scopes
[10:47:25] <cheef> but i can pass a scope to my transcludeFn (which happens to be my isolate scope)
[10:47:31] <cheef> im not sure what effect that has though
[10:47:43] *** alpha080 has quit IRC
[10:48:07] *** IJNX has joined #angularjs
[10:48:41] *** pilva has quit IRC
[10:48:43] *** g33k5z_ has quit IRC
[10:48:43] *** tarnus has quit IRC
[10:49:09] <foofoobar> I have the following code in my template: {{editMode}} <div ng-show=„editMode“>test</div>
[10:49:15] <foofoobar> My output is: false test
[10:49:17] <foofoobar> How is this possible?
[10:49:18] *** Ajans has quit IRC
[10:49:19] *** alpha080 has joined #angularjs
[10:49:33] <cheef> js pass by value/reference
[10:49:43] <cheef> dont use primitives on your view model
[10:49:46] *** aortmann has quit IRC
[10:49:56] <cheef> do something like $scope.status = {editMode: false}
[10:50:34] *** aslate has quit IRC
[10:51:04] *** xuu has joined #angularjs
[10:51:04] *** HMBBabyface has joined #angularjs
[10:51:59] <foofoobar> cheef: same as before
[10:52:13] <foofoobar> It’s in a directive, if this is important for you
[10:52:22] *** jaznow has joined #angularjs
[10:52:41] *** aslate has joined #angularjs
[10:52:43] *** caitp has joined #angularjs
[10:52:43] <cheef> can you set it up on a plunkr or similar? i can take a look
[10:53:10] *** pilva has joined #angularjs
[10:53:25] *** azizur has joined #angularjs
[10:53:51] *** IJNX has quit IRC
[10:54:09] <foofoobar> cheef: I’ll try. Its a lot to do because I’m also using ui-bootstrap.
[10:54:20] <cheef> keep it simple
[10:54:24] *** marr has joined #angularjs
[10:54:29] <cheef> dont need all of the code, just reproduce :)
[10:54:32] <foofoobar> THe problem occurs just in one tab on the page
[10:54:37] <foofoobar> so I need to copy both..
[10:54:38] *** Nivag_ has quit IRC
[10:54:45] <foofoobar> The ui-bootstraps seems to be part of the problem I think.
[10:54:48] *** SomeKittens has quit IRC
[10:54:49] *** t1mmen has joined #angularjs
[10:55:03] *** _mtr has joined #angularjs
[10:55:29] *** HMBBabyface has quit IRC
[10:56:34] <cheef> ok im not being pedantic, but its the ,, in the code you pasted actually ,,?
[10:56:37] <cheef> or did you type?
[10:56:39] <cheef> typo*
[10:57:26] *** caitp has quit IRC
[10:57:31] <cheef> that seems to work
[10:58:17] *** tfennelly has joined #angularjs
[10:58:22] *** kagitingan has quit IRC
[10:58:59] *** kagitingan has joined #angularjs
[10:59:14] *** jstroem has quit IRC
[10:59:22] *** eberdt has joined #angularjs
[10:59:39] *** jstroem has joined #angularjs
[10:59:48] *** edy has joined #angularjs
[10:59:53] *** _mtr has quit IRC
[10:59:56] *** Foxandxss has joined #angularjs
[11:01:27] *** Sebastien-L has joined #angularjs
[11:01:34] *** dejanr has joined #angularjs
[11:01:52] <foofoobar> cheef: no my IRC chat tool has replaced it
[11:02:03] <cheef> ok :) jsut checking!
[11:02:07] <foofoobar> Give me a few minutes, I need to put this into plunkr
[11:02:22] *** aendrew has joined #angularjs
[11:02:28] <foofoobar> brb
[11:02:33] *** foofoobar has quit IRC
[11:03:18] *** devhoag has joined #angularjs
[11:03:59] <soee> are there some guidlines how angualr directives, controllers etc. should be documentated ? via annotations etc.
[11:04:45] *** chachan has joined #angularjs
[11:05:16] <cheef> no worries, im here all day
[11:05:31] *** foofoobar has joined #angularjs
[11:06:44] *** platonic has quit IRC
[11:08:03] *** samuel02 has joined #angularjs
[11:08:33] *** devhoag has quit IRC
[11:09:16] *** mennea has joined #angularjs
[11:09:39] *** ccohn has joined #angularjs
[11:09:54] *** freelyfred has quit IRC
[11:10:21] *** josh-k has joined #angularjs
[11:11:24] *** axsuul has quit IRC
[11:12:05] <Foxandxss> we are here all day, no beers, gotta complain with the staff
[11:12:34] *** Grokling_ has quit IRC
[11:13:13] *** platonic has joined #angularjs
[11:13:57] *** ccohn has quit IRC
[11:14:21] *** Raging_Hog has joined #angularjs
[11:14:24] *** warpx has quit IRC
[11:14:28] *** Ajans has joined #angularjs
[11:14:47] *** TyrfingMjolnir has quit IRC
[11:15:04] <cheef> jaawerth:slowly but surely it seems to be working :) integrating the example back into my code
[11:15:26] <vita_> #join jquery
[11:17:06] *** fixl has quit IRC
[11:18:01] *** gkap has quit IRC
[11:18:21] <jaawerth> cheef: send again? the only one I saw still had the same issue
[11:18:36] *** cbennett has joined #angularjs
[11:18:37] *** TyrfingMjolnir has joined #angularjs
[11:18:41] *** gkap has joined #angularjs
[11:19:08] *** azizur has quit IRC
[11:19:08] <cheef> although i think its still down
[11:19:26] *** azizur has joined #angularjs
[11:19:30] <jaawerth> it's intermittent
[11:20:11] *** settinghead has joined #angularjs
[11:20:41] *** deanclkclk_ has quit IRC
[11:20:54] <aendrew> Hey everyone! How’s things? So, I’m trying to write some tests for a bunch of services I’ve written, and have a controller that gets a promise from a service and then assigns some scope variables (array $scope.foo and string $scope.bar, say) in a then() stanza. How would I write a spec that ensures that promise is resolved before running the assertions?
[11:21:37] *** platonic has quit IRC
[11:22:16] *** samuel02 has quit IRC
[11:22:57] *** gkap has quit IRC
[11:23:10] <cheef> if you get a change have a gander anyways
[11:23:30] <cheef> its probably the most complex thing ive done with angular in terms of leveraging the underlying framework
[11:24:00] <Foxandxss> aendrew: a $digest will trigger promises
[11:24:49] *** settinghead has quit IRC
[11:24:55] *** IJNX has joined #angularjs
[11:24:56] <aendrew> Foxandxss: O RLY? Let me try that...
[11:25:04] *** Solid1_afk is now known as Solid1
[11:25:18] <Foxandxss> yarly
[11:26:33] *** azizur has quit IRC
[11:27:36] *** platonic has joined #angularjs
[11:28:56] *** duall has joined #angularjs
[11:29:22] *** azizur has joined #angularjs
[11:30:12] *** elrabin has joined #angularjs
[11:30:19] *** ggrzybek_brb is now known as ggrzybek
[11:30:23] *** foofoobar has quit IRC
[11:30:52] *** Sky[x] has joined #angularjs
[11:31:22] *** red_horned_rihno has joined #angularjs
[11:31:30] *** foofoobar has joined #angularjs
[11:32:05] <aendrew> Another probably-obvious question — when I’m calling module() in beforeEach, is there any way of configuring a provider via angular.module.config? It’s telling me “config is undefined”.
[11:32:06] *** red_horned_rihno has quit IRC
[11:32:23] <foofoobar> It works here as you can see.
[11:32:50] *** red_horned_rihno has joined #angularjs
[11:33:00] <foofoobar> I have this <span inline-edit> in a <tabset><tab><span inline-edit …></tab></tabset> (tab feature from ui-bootstrap)
[11:33:40] <cheef> trying to load, plunkr up and down atm
[11:33:47] <foofoobar> The directive inside this tab has this strange behaviour of {{status.editMode}} <div ng-show=„status.editMode>test</div> to evaluate to „false test"
[11:34:12] <sacho_> "false" is not false
[11:34:27] *** juampy is now known as juampy_backlater
[11:34:36] *** DaveDH2 has quit IRC
[11:37:24] *** mak`` has joined #angularjs
[11:37:52] *** bejames1 has joined #angularjs
[11:37:57] *** bejames has quit IRC
[11:37:59] *** elrabin has quit IRC
[11:38:25] <foofoobar> sacho_: In the directive I’m using status = { editMode: false }
[11:38:28] <foofoobar> So it’s not a string
[11:38:33] *** boxmein has joined #angularjs
[11:38:56] *** TyrfingMjolnir has quit IRC
[11:39:29] * sacho_ shrugs
[11:39:36] *** SargoDarya has joined #angularjs
[11:39:45] <cheef> you could try replacing status.editMode with isEditing and on your vm implement function isEditing(){return $scope.status.editMode})
[11:39:50] <cheef> can break in there then
[11:39:55] <cheef> and see if its really false
[11:39:59] <cheef> or if its "false"
[11:41:00] <cheef> alternative use batarang to interrogate your scopes
[11:41:05] <cheef> see what the state of it is
[11:42:13] *** samuel02 has joined #angularjs
[11:42:24] *** sk87 has quit IRC
[11:44:08] *** SargoDarya has quit IRC
[11:44:10] *** epantzar has quit IRC
[11:44:31] <foofoobar> the state is always false when isEditing() is called
[11:44:44] <foofoobar> isEditing always returns false, but the ng-show validates to true ..
[11:45:17] *** Hounddog has quit IRC
[11:45:34] <foofoobar> I can also set to return only „false“ in isEditing(). But ng-show still shows 0o
[11:45:56] <sacho_> do you have a plunker exhibiting the problem?
[11:45:57] <cheef> sounds like a scoping thing
[11:46:15] *** lemur has quit IRC
[11:46:50] *** lemur has joined #angularjs
[11:47:04] *** zbzzn has joined #angularjs
[11:47:20] *** g__ has joined #angularjs
[11:47:44] *** g__ is now known as Guest24295
[11:47:48] *** gjaldon has joined #angularjs
[11:47:49] <aendrew> Foxandxss: It doesn’t seem to be resolving it… Will create a Plunker explaining what I’m doing.
[11:47:56] *** aliocha has joined #angularjs
[11:48:04] *** fedenunez has joined #angularjs
[11:48:32] *** ProLoser has quit IRC
[11:48:40] *** jonasliljestrand has quit IRC
[11:48:58] <zbzzn> Anyone knows what happens to all the promises in $q.all when one of them is rejected?
[11:49:00] *** ProLoser has joined #angularjs
[11:49:08] <aendrew> Foxandxss: Cool, thanks! Alas, Plunker seems to be throwing a wobbly this morning...
[11:49:08] <zbzzn> in 1.2
[11:49:34] <Foxandxss> aendrew: yeah, seems so, I just had the link at hand :P
[11:51:22] *** lemur has quit IRC
[11:51:54] *** platonic has quit IRC
[11:52:14] *** olivvv has joined #angularjs
[11:52:23] <olivvv> hi.
[11:52:35] <olivvv> I am looking for a pattern for e2e test
[11:52:35] <foofoobar> cheef, sacho_: I found the problem.
[11:52:42] <sacho_> that's nice
[11:52:45] <foofoobar> Inside a tab, doing a ng-show on a <form> tag does not work.
[11:52:54] <foofoobar> *sometimes
[11:53:06] <foofoobar> I some situations it works, in some not. I can figure out what exactly is causing this.
[11:53:07] <olivvv> how to loop recusively over thing that returns a promise
[11:53:16] <foofoobar> When using a <div ng-show=„isEditing()“> it works
[11:53:28] <olivvv> it needs to wait for the promise to resole at each iteration
[11:53:43] <foofoobar> As I saw the tag <form ng-show=„isEditing()“> with isEditing()=false removes the <form> tag from the DOM
[11:53:48] <foofoobar> But the child elements are still shown
[11:53:57] *** duall has quit IRC
[11:54:20] *** cbennett has quit IRC
[11:56:06] *** Guest39615 has quit IRC
[11:57:40] *** adben has joined #angularjs
[11:57:57] *** nico__ has joined #angularjs
[11:58:00] *** sk87 has joined #angularjs
[11:58:13] *** nico__ has quit IRC
[11:58:45] *** platonic has joined #angularjs
[11:58:48] *** duall has joined #angularjs
[11:59:04] *** Superhard_ has quit IRC
[11:59:13] <cheef> any idea why ng-if doesnt work inside transcluded content?
[11:59:39] *** m8 has joined #angularjs
[11:59:40] *** jaydubya has joined #angularjs
[11:59:44] *** eberdt has quit IRC
[12:00:10] <Foxandxss> show code
[12:00:33] <cheef> hold on ill fork my plunkr to demo
[12:01:04] <Foxandxss> plunker is in a fun state right now
[12:01:23] *** cbennett has joined #angularjs
[12:01:53] <cheef> ye i can edit
[12:01:56] <cheef> hard to share :)
[12:02:16] *** fabiofb has joined #angularjs
[12:02:41] *** cbennett has joined #angularjs
[12:03:02] <aendrew> Woooo, I figured it out. Forgot to .flush(). Thanks Foxandxss!
[12:03:04] *** dannyc_ has joined #angularjs
[12:04:36] <Foxandxss> cheef: can't open it
[12:04:51] <cheef> seems loading other plunkrs is not working today
[12:05:00] *** m8 has quit IRC
[12:05:01] *** gkap has joined #angularjs
[12:05:06] *** jaydubya has quit IRC
[12:05:28] <cheef> ng if is going to create a child scope isnt it?
[12:05:49] <aendrew> So, another question — I use ui-router to resolve a promise upon loading a state. How do I provide that to tests, or at least mock it?
[12:05:53] <Foxandxss> cheef: yes
[12:06:12] <Foxandxss> aendrew: tests wont do any resolve
[12:06:15] <Foxandxss> not unit tests at least
[12:06:37] <cheef> so its parent scope should be the scope that i passed to the transcludeFn
[12:06:56] *** cbennett has quit IRC
[12:06:56] *** dannyc has quit IRC
[12:06:57] *** platonic has quit IRC
[12:07:22] <aendrew> Foxandxss: So would I then just write a mock provider with the same name or something? My tests are failing on “unknown provider” errors.
[12:07:23] <Foxandxss> yes
[12:07:45] <Foxandxss> aendrew: you inject the result of that resolve into the controller?
[12:07:52] *** azizur8 has joined #angularjs
[12:07:58] *** Left_Turn has joined #angularjs
[12:08:27] <aendrew> Foxandxss: Yep! Basically I have a provider that grabs a bunch of config from a file and passes that on to my various controllers.
[12:08:56] <Foxandxss> for the test controller
[12:09:05] <Foxandxss> just pass dummy data on creation
[12:09:12] *** rtpg has quit IRC
[12:09:41] *** airtonix has quit IRC
[12:09:46] *** medice has quit IRC
[12:09:58] *** kajstrom has quit IRC
[12:10:17] *** fizbani has quit IRC
[12:10:24] *** ccohn has joined #angularjs
[12:10:46] *** azizur has quit IRC
[12:10:46] *** m8 has joined #angularjs
[12:11:51] *** nemothekid has quit IRC
[12:11:51] *** medice has joined #angularjs
[12:11:53] *** fizbani has joined #angularjs
[12:13:07] *** platonic has joined #angularjs
[12:13:23] <cheef> Foxandxss: looks like its watching the wrong scope for the ng-if
[12:14:30] *** m8 has quit IRC
[12:14:37] <Foxandxss> plunker loaded
[12:14:40] <cheef> the transcluded content is compiled against the isolate scope of the parent directive
[12:14:49] *** ccohn has quit IRC
[12:14:56] <cheef> but the ng-if should have the scope for the ng-repeat
[12:15:05] *** KushS has quit IRC
[12:15:11] *** cbennett has joined #angularjs
[12:15:36] <Foxandxss> scopes are a pain
[12:15:45] <cheef> i know :)
[12:15:56] *** cbennett has joined #angularjs
[12:15:56] <Foxandxss> I am glad they go away on 2.0
[12:16:05] *** alpha080 has quit IRC
[12:16:52] *** kajstrom has joined #angularjs
[12:16:53] *** AlSquirikou has quit IRC
[12:16:59] *** ronskisika has joined #angularjs
[12:17:21] *** alpha080 has joined #angularjs
[12:17:23] <Foxandxss> one thing I can say so far, your idea is really messy
[12:17:32] <cheef> it probably is,
[12:17:35] <Foxandxss> playing with transcludeFn and changing scopes can confuse people
[12:17:37] *** Raging_Hog has quit IRC
[12:17:38] *** Alina-malina has quit IRC
[12:17:41] <Foxandxss> more if you add more nested scopes there
[12:17:48] <cheef> i tried just using ng-transclude
[12:17:52] <cheef> but i couldnt get 2 way data binding to work
[12:18:36] *** Alina-malina has joined #angularjs
[12:18:37] *** Alina-malina has joined #angularjs
[12:18:47] <cheef> the scope of the ng-if is definitately wrong, its the isolate scope of the group directive, instead of the ng-repeat
[12:18:55] <cheef> so item.field2 is not in scope
[12:20:46] *** Guest24295 has quit IRC
[12:20:53] *** fairuz has quit IRC
[12:20:53] *** jtimon has quit IRC
[12:21:06] *** ProLoser has quit IRC
[12:21:09] *** antons__ has quit IRC
[12:21:10] *** antons_ has quit IRC
[12:21:31] <cheef> i thought it would be simpler to pull some content into an ng-repeat
[12:21:46] <cheef> data binding goes to fuck though
[12:21:47] *** ome has quit IRC
[12:22:09] *** ProLoser has joined #angularjs
[12:22:20] *** apertoire has quit IRC
[12:22:37] *** elyssonmr has joined #angularjs
[12:22:37] *** qdk has quit IRC
[12:23:24] *** caitp has joined #angularjs
[12:23:46] *** aendrew has quit IRC
[12:23:59] <Foxandxss> cheef: for the time being, you can use ng-show
[12:24:04] <Foxandxss> still, there is an issue
[12:24:18] *** ProLoser has quit IRC
[12:24:40] *** Oka has quit IRC
[12:24:50] *** ProLoser has joined #angularjs
[12:25:30] *** AlSquirikou has joined #angularjs
[12:25:33] <cheef> is there a better solution to achieve what im trying to do?
[12:25:41] <Foxandxss> probably
[12:25:43] <cheef> i dont feel like this is a good way, but it works
[12:25:48] <Foxandxss> but it is nothing someone have in hand :P
[12:25:49] *** leolrrj has joined #angularjs
[12:25:56] <Foxandxss> s/nothing/something
[12:25:58] <cheef> havent come across many examples of doing what im doing :)
[12:26:26] <cheef> i can try ng-show, it'll mess with my form validation though :)
[12:27:07] *** samuel02 has quit IRC
[12:27:13] *** gjaldon has quit IRC
[12:27:51] *** caitp has quit IRC
[12:28:23] *** aendrew has joined #angularjs
[12:28:57] *** ProLoser has quit IRC
[12:29:25] *** rafagomes has joined #angularjs
[12:29:32] <cheef> aye, $scope.$eval($attr.ngIf, {item: {field2: 'shome'}}) is true
[12:29:39] <cheef> but otherwise its false
[12:30:35] *** Oka has joined #angularjs
[12:31:34] *** annlewis has joined #angularjs
[12:32:14] *** sebhoss_ has quit IRC
[12:32:17] *** cakirke has joined #angularjs
[12:32:33] *** \du has joined #angularjs
[12:32:43] *** \du has joined #angularjs
[12:32:47] *** tarnus has joined #angularjs
[12:32:51] <aendrew> Foxandxss: re: passing dummy data on creation — how would I do that? I’m trying $controller(‘MainCtrl’, {$scope: scope, appConfig: { … }});, but it’s saying “Unknown provider: appConfigProvider <- appConfig”
[12:32:54] *** g33k5z_ has joined #angularjs
[12:33:03] <aendrew> Apologies if this is all a bit elementary; I’m pretty new to unit testing.
[12:33:10] *** Grumelo has joined #angularjs
[12:33:17] <Foxandxss> that should work
[12:33:27] <Foxandxss> problem seems to lie in a different line
[12:33:28] *** marcjs has joined #angularjs
[12:34:29] *** elrabin has joined #angularjs
[12:34:40] *** rafagomes has quit IRC
[12:35:36] *** sigurding has quit IRC
[12:35:37] *** olivvv has quit IRC
[12:35:48] *** dannyc_ has quit IRC
[12:35:53] *** rafagomes has joined #angularjs
[12:35:56] *** RangerRick has quit IRC
[12:35:58] *** annlewis has quit IRC
[12:36:19] *** RangerRick has joined #angularjs
[12:36:21] *** settinghead has joined #angularjs
[12:36:24] *** dannyc has joined #angularjs
[12:36:47] *** IvailoStoianov has joined #angularjs
[12:37:05] <aendrew> Foxandxss: I define my controller as “angular.module('axisJSApp').controller('MainCtrl', function (chartProvider, appConfig, $scope) { .. });” — it’s passing in the resolved promise from ui-router to the controller, where another service takes it and does some stuff. It seems to me that I’m doing something wrong with DI?
[12:37:16] *** tarnus has quit IRC
[12:37:22] *** adben has quit IRC
[12:37:37] *** g33k5z_ has quit IRC
[12:37:38] <Foxandxss> so appConfig is the resolve function?
[12:37:44] *** gkap has quit IRC
[12:39:22] *** jaydubya has joined #angularjs
[12:39:46] *** KushS has joined #angularjs
[12:41:38] *** settinghead has quit IRC
[12:42:49] *** elrabin has quit IRC
[12:43:05] *** laurensclaessen has quit IRC
[12:43:45] *** _mtr has joined #angularjs
[12:43:53] *** craigp has joined #angularjs
[12:44:04] *** skyx_ has joined #angularjs
[12:44:04] <aendrew> Foxandxss: Yes, the resolve function runs a provider which returns a promise, which is passed to resolve and resolved before being passed to the controller.
[12:44:11] *** chachan has quit IRC
[12:44:26] <Foxandxss> really need to see code or a working example
[12:44:40] <cheef> Foxandxss: definately works with ng-show
[12:44:41] *** platonic has quit IRC
[12:44:49] *** chachan has joined #angularjs
[12:45:27] *** ciwolsey has quit IRC
[12:45:48] <aendrew> Foxandxss: Will do that in a sec.
[12:46:12] *** gjaldon has joined #angularjs
[12:46:13] *** Sky[x] has quit IRC
[12:46:47] *** laurensclaessen has joined #angularjs
[12:48:27] *** _mtr has quit IRC
[12:49:14] *** joshontheweb has quit IRC
[12:49:19] *** chachan has quit IRC
[12:49:33] *** intellix has quit IRC
[12:51:27] *** blomman has quit IRC
[12:51:34] *** samuel02 has joined #angularjs
[12:51:37] *** platonic has joined #angularjs
[12:51:38] <zbzzn> I have an array of promises and I want to do something when all the promises are done (resolved or rejected) how can I do it?
[12:51:58] <Foxandxss> $q.all
[12:52:00] <Foxandxss> you said it before
[12:52:00] <Foxandxss> :P
[12:52:01] *** blomman has joined #angularjs
[12:52:14] *** gjaldon has left #angularjs
[12:52:15] <zbzzn> but if one gets rejected will it kill all the rest?
[12:52:30] <sacho_> "kill"?
[12:52:36] <zbzzn> in the regular q there is a special function for that
[12:52:57] <zbzzn> kill === won't wait for and give me the resoved values of
[12:53:04] <zbzzn> resolved
[12:53:13] <sacho_> that's a very odd way of expressing what a promise does.
[12:53:38] <sacho_> $q.all creates a new promise which is resolved if all the passed promises are resolved, with their values, otherwise it's rejected
[12:53:52] <sacho_> perhaps you're looking for .finally()
[12:54:07] <zbzzn> I am looking for something like Q.allSettled
[12:55:30] *** SargoDarya has joined #angularjs
[12:55:37] <zbzzn> I guess I have to simulate it using $q.all
[12:55:53] <sacho_> you can't, really.
[12:57:33] *** craigp has quit IRC
[12:57:36] *** encryptd_fractl has joined #angularjs
[12:57:55] *** kagitingan has quit IRC
[12:57:57] *** skyx_ has quit IRC
[12:58:43] *** rafagomes has quit IRC
[12:59:00] *** Rebirth has quit IRC
[12:59:28] *** Rebirth has joined #angularjs
[12:59:40] *** SargoDarya has quit IRC
[12:59:52] *** Superhard_ has joined #angularjs
[13:00:04] *** caitp has joined #angularjs
[13:00:04] *** kiran_ has joined #angularjs
[13:00:16] *** blomman has quit IRC
[13:00:17] *** sk87 has quit IRC
[13:00:21] *** rafagomes_ has joined #angularjs
[13:00:30] *** HMBBabyface has joined #angularjs
[13:00:50] *** blomman has joined #angularjs
[13:00:58] *** kiran_ has quit IRC
[13:01:47] *** rafagomes_ is now known as rafaremos
[13:01:57] *** encryptd_fractl has quit IRC
[13:02:15] *** adrrr has quit IRC
[13:02:34] *** whitebook has joined #angularjs
[13:02:35] *** adrrr has joined #angularjs
[13:02:51] *** kolyaflash has quit IRC
[13:03:00] *** jonasliljestrand has joined #angularjs
[13:03:16] *** craigp has joined #angularjs
[13:03:20] *** rafaremos has quit IRC
[13:04:15] *** rafagomes_ has joined #angularjs
[13:04:26] *** Superhard_ has quit IRC
[13:04:52] *** sk87 has joined #angularjs
[13:04:58] *** HMBBabyface has quit IRC
[13:05:03] *** kolyaflash has joined #angularjs
[13:07:06] <aendrew> Foxandxss: I figured out my issue, it was because my other service was having issues. Thanks for all the help!
[13:07:09] *** Aliks has quit IRC
[13:07:42] *** Aliks has joined #angularjs
[13:07:49] *** tangorri has quit IRC
[13:08:02] <zbzzn> sacho_, I think I can
[13:08:15] <zbzzn> at least by copy pasting the Q code :P
[13:08:15] *** rtpg has joined #angularjs
[13:09:08] *** jlebrech has quit IRC
[13:09:13] *** joshontheweb has joined #angularjs
[13:10:15] *** raj___ has joined #angularjs
[13:10:50] *** spatialbrew has joined #angularjs
[13:11:07] *** ccohn has joined #angularjs
[13:11:57] *** platonic has quit IRC
[13:12:14] *** Aliks has quit IRC
[13:12:24] *** \du has quit IRC
[13:13:07] *** \du has joined #angularjs
[13:13:13] *** monoscuit has joined #angularjs
[13:13:17] *** uru is now known as uru|away
[13:14:33] <monoscuit> hi, I have the following expression in a tr: ng-repeat="c in list|filter:var"
[13:14:49] *** VictorBjelkholm has joined #angularjs
[13:15:02] <monoscuit> i want to obtain in the controller filteredList, filtered by the same var as in the partial
[13:15:31] *** wsmoak has joined #angularjs
[13:15:32] <monoscuit> I have tried $filteredList = $filter("filterFilter")($list, "var"); and various combinations
[13:15:42] <minimoo1> hey, is there a form validation directive to check if two inputs are the same?
[13:15:57] *** ccohn has quit IRC
[13:16:14] *** HMBBabyface has joined #angularjs
[13:16:23] *** jordandotdev has quit IRC
[13:17:01] <minimoo1> try $filter("filter")($list, "var");
[13:17:02] *** Siyfion has joined #angularjs
[13:18:12] *** platonic has joined #angularjs
[13:20:33] *** HMBBabyface has quit IRC
[13:21:04] *** azizur8 has quit IRC
[13:21:27] <Firo> It doesn't seem to wait for others to resolve
[13:21:52] *** cakirke has quit IRC
[13:22:00] <sacho_> you don't need to read the code, that's exactly what the documentation says.
[13:22:09] <rtpg> I'm having some issues where angular doesn't seem to be loading some of the time
[13:22:24] <rtpg> Like, the first time I load a page nothing seems to work, but if I refresh it's fine
[13:22:42] <rtpg> I was thinking it's maybe a cache issue, and am wondering whether anyone else has hit this problem?
[13:23:29] <monoscuit> minimoo1: oddly enough, the thing that seems to work was ...($list, $scope.var)
[13:24:06] *** whitebook has quit IRC
[13:24:28] *** jlebrech has joined #angularjs
[13:24:38] <sacho_> that's not odd at all.
[13:25:58] *** gkap has joined #angularjs
[13:26:28] <jaawerth> yeah that's exactly how it works. $filter isn't like $parse
[13:26:53] *** fedenunez has quit IRC
[13:27:19] <Firo> sacho_: It only mentions what's the final result, not whether it does wait for all of them anyway. It wouldn't make much sense to do so though
[13:27:59] *** __danimal__ has joined #angularjs
[13:28:22] <sacho_> oh sorry, angular's documentation on it is pretty bad.
[13:28:45] <stryju> $q.all will resolve only if all of the elements in object/array will resolve
[13:29:01] <stryju> as soon as ANY of those is rejected, whole $q.all is rejected with that “reason"
[13:29:13] <jaawerth> $q != Q, it's just based on it, IIRC
[13:29:24] <sacho_> yes, a good reason to not use $q
[13:29:35] <jaawerth> wait, what?
[13:29:46] *** k-dawg has joined #angularjs
[13:29:51] <jaawerth> $q is fine
[13:29:52] <sacho_> it's bare-bones and under-documented
[13:30:18] <Firo> You'd see a lot of $apply otherwise...
[13:30:31] <jaawerth> what is there to document, really? I mean, it's no bluebird, but it isn't worth including a whole other promise library
[13:30:35] *** sebhoss has joined #angularjs
[13:30:37] <jaawerth> not when $q is built into angular
[13:31:10] <jaawerth> plus a bunch of the fancy bluebird stuff just comes from some clever use of lodash
[13:31:32] *** blomman has quit IRC
[13:31:51] *** annlewis has joined #angularjs
[13:32:02] *** HMBBabyface has joined #angularjs
[13:32:06] *** blomman has joined #angularjs
[13:32:13] *** frobs has quit IRC
[13:32:23] <stryju> @zbzzn
[13:32:53] <stryju> the only logical way of handling of ‘all’ is to act when all have been resolved, not rejected
[13:33:04] *** jaznow has quit IRC
[13:33:13] <stryju> especially when you think aboyt the collection of those promises being an array
[13:33:23] <stryju> given [a,b,c]
[13:33:27] <stryju> if b was rejected
[13:33:33] <stryju> how would you handle it?
[13:33:36] *** g33k5z has joined #angularjs
[13:33:38] <stryju> [a,null,c] ?
[13:33:43] *** pinner has quit IRC
[13:33:52] *** AngularUI has joined #angularjs
[13:33:52]
<AngularUI> [ng-grid] dunmaksim opened pull request #2316: Update ru.js (master...patch-1) http://git.io/qV-kJQ
[13:33:52] *** AngularUI has left #angularjs
[13:34:01] <stryju> there’s no way of telling if b was rejected, or just resolved with “null”
[13:34:08] *** bbankes has joined #angularjs
[13:34:14] <sacho_> stryju, he specifically asked for functionality that is like .allSettled().
[13:34:15] *** duall has quit IRC
[13:34:31] *** mmealling has quit IRC
[13:34:55] *** aendrew has quit IRC
[13:35:13] *** intellix has joined #angularjs
[13:35:19] <stryju> ah
[13:35:30] <stryju> well, you can implement it quite easily with decorator
[13:36:07] *** annlewis has quit IRC
[13:36:47] *** __danima_ has joined #angularjs
[13:36:48] *** HMBBabyface has quit IRC
[13:37:31] *** Etherael has quit IRC
[13:37:34] *** whitebook has joined #angularjs
[13:37:37] *** __danima_ has quit IRC
[13:37:55] *** g33k5z has quit IRC
[13:38:28] <stryju> hm - is plunker really slow only here?
[13:38:34] <stryju> or any1 else also experiencing that?
[13:38:40] *** bostonaholic has joined #angularjs
[13:38:59] *** whitebook has quit IRC
[13:39:16] <lite_> fucking hell. I've spent the last 2 hours trying to figure out why my entire app suddenly wasnt working any longer
[13:39:36] <sacho_> sounds good.
[13:39:36] <lite_> I finally decided to uninstall Batarang on a hunch and it fixed the issues.
[13:39:38] <lite_> What the fuck.
[13:39:43] *** elrabin has joined #angularjs
[13:39:54] <jaydubya> Where do you keep common scope functions that are needed throughout an app? For example, I have a getTotalAcres() method that I use in every module and I know that I shouldn't copy-paste that into every controller.
[13:39:57] *** __danimal__ has quit IRC
[13:39:57] *** pspfolio has quit IRC
[13:40:02] *** bostonaholic has quit IRC
[13:40:04] <lite_> jaydubya: a service
[13:40:15] *** azizur has joined #angularjs
[13:40:41] <jaydubya> lite_: but a service doesn't have access to $scope
[13:41:13] <lite_> jaydubya: is there any reason why you cannot declare getTotalAcres on the service object ?
[13:41:13] *** dman777_alter has joined #angularjs
[13:41:18] <stryju> @lite_ batarang was updated
[13:41:20] <Firo> lite_: Batarang? :X
[13:41:25] <stryju> if you’re not running 1.3
[13:41:33] <stryju> there’s a heap of errors and issues
[13:41:38] <stryju> had the same issue here
[13:41:42] <stryju> w/ 1.2.27
[13:41:52] *** aendrew has joined #angularjs
[13:41:54] <lite_> We're not - We havent had time to migrate from 1.2 to 1.3
[13:42:09] <stryju> same here
[13:42:14] <jaawerth> If you aren't putting most of your actual application logic and data model stuff in factories and services, you're more or less doing it wrong :P
[13:42:15] <stryju> disabled batarang for now
[13:42:25] <stryju> @jaydubya service, definitely
[13:42:48] <stryju> you don’t need to have access to $scope built in - just pass the reference, if that’s needed
[13:42:55] *** duall has joined #angularjs
[13:43:01] <jaawerth> $scope is the glue between your application logic/model and your view, with maybe some data transformation in there for those purposes - little else
[13:43:14] <jaawerth> ideally, anyway
[13:43:34] *** phzon has quit IRC
[13:44:02] <jaydubya> ok, service it is ... so in EACH controller I would inject the service and call it from the view or do I still need a $scope function that calls the service function?
[13:44:05] <jaawerth> the controller pulls the strings on the factory/service functions to get/modify data, transforms it as necessary, then glues it to the view via the $scope for interaction purposes
[13:44:22] <jaawerth> depends
[13:44:43] <lite_> you could create a reference on your scope to the service
[13:44:49] *** epantzar has joined #angularjs
[13:45:06] <jaawerth> you could have controller functions that call your service/factory functions when they're called via user interaction, or in some cases you can get away with sticking the service itself on scope, but that's not as common
[13:45:29] <jaawerth> (option #2 I mentioned is the same as what lite_ is saying)
[13:45:31] <lite_> i'd probably just do something along the lines of $scope.getAcres = function(){myService.getTotalAcres()}
[13:45:41] <lite_> and call getAcres() from my view
[13:45:44] <jaawerth> yeah, that's usually what I do
[13:45:48] <jaydubya> k
[13:46:31] *** aendrew has quit IRC
[13:46:57] *** bbankes has quit IRC
[13:47:20] *** ogdabou has quit IRC
[13:47:22] <stryju> why not $scope.getAcres = myService.getTotalAcres ;-)
[13:47:43] <lite_> that too
[13:47:46] <jaydubya> and it could me this (with an object as param) : $scope.getAcres = function( o ){ myService.getTotalAcres(o); } and called like getAcres( farms.corn);
[13:47:47] *** frem has quit IRC
[13:47:48] *** HMBBabyface has joined #angularjs
[13:47:50] <stryju> or better yet, controller.getAcres = myService.getTotalAcres
[13:47:58] *** techsethi has quit IRC
[13:48:14] <stryju> @jaydubya exactly
[13:48:20] *** elrabin has quit IRC
[13:48:49] <stryju> if the $scope.foo is just a proxy with 1-1 mapping of arguments, i’d directly reference it
[13:49:07] <stryju> > $scope.getAcres = myService.getTotalAcres
[13:49:18] <stryju> unless you need some extra logic in there
[13:49:24] *** lsiv568 has joined #angularjs
[13:49:28] <jaydubya> any best practice as to naming this utility service?
[13:49:43] <stryju> utilityService?
[13:49:49] <jaydubya> stryju: how does your mapping handle parameters?
[13:49:51] <stryju> acresCalcServioce?
[13:50:23] *** aendrew has joined #angularjs
[13:50:23] <stryju> it’s just referencing the service’s method
[13:50:25] <stryju> so
[13:50:26] *** hugofirth has joined #angularjs
[13:50:36] <stryju> you pass the parameteres directly
[13:50:42] <stryju> as you normaly would
[13:50:48] <jaydubya> well, I have about 78 functions that compose the business logic so are you saying I should have a service per method?
[13:50:48] *** raj___ has quit IRC
[13:50:52] *** txa has joined #angularjs
[13:51:02] <stryju> no no
[13:51:09] <stryju> you should have a service with 78 functions :-)
[13:51:10] *** tangorri has joined #angularjs
[13:51:10] *** VictorBjelkholm has quit IRC
[13:51:14] <zbzzn> was AFK
[13:51:33] *** uru|away is now known as uru
[13:51:34] <jaydubya> thought so but naming it acresCalcService made it seem to be one per
[13:51:57] *** HMBBabyface has quit IRC
[13:51:59] <stryju> or better yey, X services, Y methods per service grouped, that sum up to 78 methods in total
[13:52:22] *** settinghead has joined #angularjs
[13:52:23] <stryju> no idea what other functions were in that service, so just went for it ;-)
[13:52:42] <jaydubya> gotcha ... lastly, is this a factory or a service?
[13:52:57] <sacho_> there's no meaningful difference between factory and service
[13:52:58] <stryju> factory - create something
[13:53:01] <stryju> service - do something
[13:53:22] <stryju> usually, you end up with “new Factory()”
[13:53:37] <jaydubya> OOOHHHH, finally a distinction between the two
[13:53:39] *** deanclkclk has joined #angularjs
[13:53:43] <sacho_> not really
[13:53:49] <jaydubya> shit
[13:54:19] *** Txandy has quit IRC
[13:54:22] <jaydubya> stryju's distinction really made sense
[13:55:16] <stryju> model == factory
[13:55:26] <stryju> at least, that how i understand and use it
[13:55:27] <stryju> :-)
[13:56:29] <jaydubya> the conundrum of learning a new framework is that if it's too opinionated, veterans feel constricted and not opinionated leave a newbie with 53 f-ing choices to do anything and just overwhelmed
[13:56:29] <stryju> >factory(name, $getFn); Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function.”
[13:56:43] *** settinghead has quit IRC
[13:57:11] *** evilaliv3 has quit IRC
[13:57:16] <stryju> > service(name, constructor);
[13:57:17] <stryju> Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is the service constructor function that will be used to instantiate the service instance.
[13:57:21] *** olivvv has joined #angularjs
[13:57:33] <stryju> correct me if i’m wrong
[13:57:35] <stryju> but
[13:57:47] <stryju> service is instatniated once, on bootstrap (with new)
[13:58:05] *** Wizek has joined #angularjs
[13:58:21] <stryju> while factory is not instantiated on bootstrap at all - so it needsz to be instatniated on-request
[13:58:40] *** AlSquirrel has joined #angularjs
[13:59:05] <jaydubya> I just want a place to put methods that I know will be reused throughout the app because right now my "MainController" is 1300 lines long because I just tried to put all of the $scope function as high up on the food chain as I could to be available everywhere and the MainController is assigned to the body tag and all other controller's are its children
[13:59:28] *** annlewis has joined #angularjs
[13:59:30] *** akrikos has joined #angularjs
[13:59:31] <stryju> put it in a service :-)
[14:00:06] <cheef> is there a way to move some content from inside a directive and wrap it in an ng-repeat without using transclusion?
[14:00:13] <cheef> thought i could do this in the compile
[14:00:25] *** tarnus has joined #angularjs
[14:00:44] *** Sadin has joined #angularjs
[14:00:47] *** raj___ has joined #angularjs
[14:01:01] *** sk87 has quit IRC
[14:01:08] *** AlSquirikou has quit IRC
[14:01:12] *** vsorlov has joined #angularjs
[14:01:21] *** blomman has quit IRC
[14:01:25] *** raj___ has quit IRC
[14:01:42] *** ronskisika has quit IRC
[14:01:42] *** elliotstokes has joined #angularjs
[14:01:54] *** skyx_ has joined #angularjs
[14:01:56] *** blomman has joined #angularjs
[14:01:58] *** e0ipso is now known as e0ipso|away
[14:02:17] *** adrrr has quit IRC
[14:02:29] <jaydubya> that works for me because like you said a factory makes something and a service does something (car factory makes a car and limo service moves people around) and since most people asked say there's no difference between the two, I will just use this for my own sanity
[14:03:09] *** __danimal__ has joined #angularjs
[14:03:09] * stryju hifives jaydubya
[14:03:14] <stryju> sanity +1
[14:03:25] *** zlalanne has joined #angularjs
[14:03:31] *** HMBBabyface has joined #angularjs
[14:04:00] *** Wizek has quit IRC
[14:04:36] <cheef> anyone?
[14:04:47] *** azizur has quit IRC
[14:04:56] *** cbennett has quit IRC
[14:04:59] *** rtpg has quit IRC
[14:05:01] *** James_ has joined #angularjs
[14:05:01] <James_> when using UI-Bootstrap custom templates does anyone know if you can pass in custom variables?
[14:05:03] *** evilaliv3 has joined #angularjs
[14:05:04] *** fairuz has joined #angularjs
[14:05:16] *** vsorlov has quit IRC
[14:05:25] *** James_ is now known as Guest64157
[14:05:26] <sacho_> stryju, both service and factory functions are called the first time you try to inject them
[14:05:32] *** cbennett has joined #angularjs
[14:05:47] *** fairuz has quit IRC
[14:05:58] *** adrrr has joined #angularjs
[14:06:07] *** fedenunez has joined #angularjs
[14:06:23] *** fairuz has joined #angularjs
[14:06:46] *** manielo has joined #angularjs
[14:07:17] *** manielo has left #angularjs
[14:07:50] *** lsiv568 has quit IRC
[14:07:59] *** HMBBabyface has quit IRC
[14:08:16] *** pilva has quit IRC
[14:09:52] *** cbennett has quit IRC
[14:10:06] *** lsiv568 has joined #angularjs
[14:10:11] *** aslate has quit IRC
[14:11:20] <stryju> yes, but the factory becomes the return value
[14:11:23] *** SargoDarya has joined #angularjs
[14:11:54] *** ccohn has joined #angularjs
[14:11:54] *** Rebirth has quit IRC
[14:12:05] <sacho_> hmm?
[14:12:07] *** Laserbeak43 has joined #angularjs
[14:12:11] * sacho_ isn't sure what that means
[14:12:12] <stryju> while service just… lives
[14:12:13] *** Rebirth has joined #angularjs
[14:12:17] <stryju> sec
[14:12:25] *** emanresu404 has joined #angularjs
[14:12:29] *** Laserbeak43 has quit IRC
[14:12:46] *** tristanp has joined #angularjs
[14:12:53] *** sk87 has joined #angularjs
[14:13:25] *** ProLoser has joined #angularjs
[14:13:28] *** aslate has joined #angularjs
[14:13:58] *** rtpg has joined #angularjs
[14:14:15] *** danecando has quit IRC
[14:14:17] <minimoo1> how do you do a radio button selection validation?
[14:14:18] <stryju> both use the same “constructor"
[14:14:23] *** pilva has joined #angularjs
[14:14:31] *** _mtr has joined #angularjs
[14:14:45] <stryju> factory “becomes” the return value of it’s provider
[14:14:59] *** Jae has quit IRC
[14:15:06] <sacho_> I know how they work - the difference is superfluous, and not in favor of services.
[14:15:31] *** techsethi has joined #angularjs
[14:15:36] *** Jae has joined #angularjs
[14:15:54] *** phzon has joined #angularjs
[14:15:57] *** uris77 has joined #angularjs
[14:15:59] *** SargoDarya has quit IRC
[14:16:37] *** ccohn has quit IRC
[14:16:55] *** IJNX has quit IRC
[14:16:56] *** rafagomes_ has quit IRC
[14:17:01] <stryju> my point is: service is instantiated and the reference lives on (someService)
[14:17:20] <stryju> the factory is instantiated in order for DI to do i’ts magic
[14:17:20] *** simplyshipley has joined #angularjs
[14:17:36] <stryju> and the return value is the reference to the factory, not the factory itself
[14:17:46] *** blomman_ has joined #angularjs
[14:17:48] *** ProLoser has quit IRC
[14:18:08] <sacho_> you're confused
[14:18:38] <sacho_> in both cases the 'service' or 'factory' is not the same thing as the function you pass to register it.
[14:19:21] *** blomman has quit IRC
[14:19:22] *** HMBBabyface has joined #angularjs
[14:19:24] *** _mtr has quit IRC
[14:19:29] <minimoo1> i hate when plnkr isn't working
[14:19:29] *** jaznow has joined #angularjs
[14:21:12] *** rafagomes_ has joined #angularjs
[14:21:51] <stryju> @sacho_ i get that
[14:23:18] *** mennea has quit IRC
[14:23:35] *** HMBBabyface has quit IRC
[14:23:57] *** greg5green has quit IRC
[14:24:10] *** monoscuit has quit IRC
[14:24:19] <minimoo1> sacho_ do you have an idea how to validate selection of radio button?
[14:26:09] *** loverajoel has joined #angularjs
[14:27:35] <olivvv> Can anyone hint me a pattern for promises ?
[14:27:41] <olivvv> I need to recurse
[14:27:46] *** Fardin has joined #angularjs
[14:27:49] *** dmack has joined #angularjs
[14:28:00] <olivvv> test every result and recurse again or stop
[14:28:06] *** elliotstokes has quit IRC
[14:28:11] *** Hackwar1 has joined #angularjs
[14:28:16] <olivvv> not sure how to do that nicely
[14:28:18] <sacho_> that's very vague
[14:28:49] *** JeffBuhrt has joined #angularjs
[14:29:37] *** Hackwar has quit IRC
[14:29:48] *** Guest9241 has quit IRC
[14:29:49] *** Guest9241 has joined #angularjs
[14:29:52] *** Guest9241 is now known as daynaskully
[14:30:30] *** Hackwar1 is now known as Hackwar
[14:30:35] <olivvv> hmm. more precisely it is for e2e tests. It need to getText() (async), test that text, and either perform click-getText() again or stop.
[14:30:35] *** mccarrontr1ck has joined #angularjs
[14:30:39] *** Superhard_ has joined #angularjs
[14:30:45] *** seriema has joined #angularjs
[14:30:54] <olivvv> sacho_:^^
[14:31:28] *** dejanr has quit IRC
[14:32:16] *** goodenough has quit IRC
[14:32:21] *** Greed has quit IRC
[14:32:43] *** Nijikoku_ has quit IRC
[14:33:20] *** azizur has joined #angularjs
[14:33:39] <sacho_> seems fairly straightforward. function test() { getText().then(function success() { if (haveToGoOn) test() }) }
[14:33:55] *** livingstn has joined #angularjs
[14:34:23] *** g33k5z_ has joined #angularjs
[14:35:03] *** HMBBabyface has joined #angularjs
[14:35:03] *** astakane has joined #angularjs
[14:35:17] *** Superhard_ has quit IRC
[14:35:17] *** g33k5z_ has quit IRC
[14:35:36] *** astakane has left #angularjs
[14:35:43] *** jmckind has joined #angularjs
[14:35:47] *** bayousoft has joined #angularjs
[14:35:55] *** g33k5z__ has joined #angularjs
[14:36:04] *** cornerma1 has joined #angularjs
[14:36:37] *** Sebastien-L has quit IRC
[14:36:40] *** livingstn has joined #angularjs
[14:37:16] *** AngularUI has joined #angularjs
[14:37:16]
<AngularUI> [ng-grid] cookednoodles opened pull request #2318: Remove prevent defaults blocking actions on mobile (master...master) http://git.io/3e0VTw
[14:37:16] *** AngularUI has left #angularjs
[14:38:02] *** walden|afk is now known as walden
[14:38:10] *** tomphp has joined #angularjs
[14:38:16] <cheef> not sure if plunkrs up
[14:38:24] <cheef> trying to do what i was doing before without all the transclusion
[14:38:43] <cheef> any ideas why i cant nest my group directive?
[14:39:06] *** emanresu404 has quit IRC
[14:39:14] *** cornerman has quit IRC
[14:39:22] *** emanresu404 has joined #angularjs
[14:39:24] *** cornerma1 is now known as cornerman
[14:39:35] *** pspfolio has joined #angularjs
[14:39:36] *** HMBBabyface has quit IRC
[14:40:14] *** leolrrj has quit IRC
[14:40:20] *** elrabin has joined #angularjs
[14:40:37] *** bayousoft has quit IRC
[14:41:04] *** m8 has joined #angularjs
[14:41:10] *** bayousoft has joined #angularjs
[14:41:35] <Guest64157> when using UI-Bootstrap custom templates does anyone know if you can pass in custom variables?
[14:41:48] <Guest64157> as attributes on the directive or something, any help highly appreciated
[14:42:13] *** chr1stopher has left #angularjs
[14:42:30] *** hugofirth has quit IRC
[14:44:18] *** foofoobar has quit IRC
[14:44:33] *** danecando has joined #angularjs
[14:44:37] *** Fardin has quit IRC
[14:45:01] *** pspfolio has quit IRC
[14:45:18] *** foofoobar has joined #angularjs
[14:45:26] *** Superhard_ has joined #angularjs
[14:45:40] *** sk87 has quit IRC
[14:45:40] *** sigurding has joined #angularjs
[14:46:35] *** Sebastien-L has joined #angularjs
[14:47:40] *** azizur has quit IRC
[14:48:05] *** mmeallin_ has joined #angularjs
[14:48:17] *** glaksmono has quit IRC
[14:48:27] *** StryKaizer has quit IRC
[14:50:07] *** DanSkaggs has joined #angularjs
[14:50:39] *** sigurding has quit IRC
[14:50:46] <Foxandxss> Guest64157: I don't follow
[14:50:52] *** HMBBabyface has joined #angularjs
[14:50:58] *** Fardin has joined #angularjs
[14:52:02] *** fairuz has quit IRC
[14:52:10] *** mennea has joined #angularjs
[14:52:14] *** joshontheweb has quit IRC
[14:52:25] *** MaxV has quit IRC
[14:52:37] *** MaxV has joined #angularjs
[14:52:39] *** bayousoft has quit IRC
[14:53:17] *** bayousoft has joined #angularjs
[14:53:47] *** fairuz has joined #angularjs
[14:53:53] <Guest64157> Foxandxss: thanks for the reply - basically I am overriding ui-bootstraps templates
[14:54:12] <Guest64157> and inside the template I want to pass in for example a date of last weeks
[14:54:39] *** aslate has quit IRC
[14:54:42] <Guest64157> but since it has an isolated scope, and I don't want to edit the core ui-bootstrap JS, I don't know how to do it
[14:54:49] *** bbankes has joined #angularjs
[14:55:03] *** aslate has joined #angularjs
[14:55:06] *** HMBBabyface has quit IRC
[14:55:06] <Foxandxss> normally your templates will just do the same but in a different way
[14:55:10] <cheef> guys, quick way to find and remove elements with angular.element?
[14:55:10] <Foxandxss> that means, no creating new stuff
[14:55:16] *** elaijuh has joined #angularjs
[14:55:25] <Guest64157> okay, that's a shame
[14:55:39] <Guest64157> I have a second question then, this one slightly more stupid
[14:56:30] <Guest64157> I can also achieve what I want to do if I can construct a date inside the template (e.g. <div ng-click="updateDate(new Date('-7 days'))>"View last week"</div> <<<< is it possible at all to construct a date in angular purely through HTML? sorry if I'm being retarded
[14:56:54] *** whitebook has joined #angularjs
[14:57:17] *** mfunkie has joined #angularjs
[14:57:22] *** emanresu404 has quit IRC
[14:57:23] *** weems|mac has joined #angularjs
[14:57:30] *** emanresu404 has joined #angularjs
[14:57:43] *** weems|mac has quit IRC
[14:57:43] *** weems|mac has joined #angularjs
[14:57:55] <jonasliljestrand> lol the angularjs extension brooke console.developers.google.com
[14:58:00] <jonasliljestrand> chrome extension
[14:58:41] *** bayousoft has quit IRC
[14:59:02] *** rtpg has quit IRC
[14:59:18] *** bayousoft has joined #angularjs
[14:59:30] *** rtpg has joined #angularjs
[14:59:35] *** jtimon has joined #angularjs
[14:59:53] *** Greed has joined #angularjs
[14:59:55] *** kuadrosx has joined #angularjs
[15:00:04] *** JERE has quit IRC
[15:00:12] *** snurfery has quit IRC
[15:00:23] <sacho_> angularjs extension?
[15:00:28] <caitp> tomorrow is the anniversary of the statute of westminster
[15:00:32] <caitp> are you excited?
[15:00:45] *** sressot has quit IRC
[15:01:14] *** cbennett has joined #angularjs
[15:01:20] *** cboden has joined #angularjs
[15:01:29] *** cbennett has quit IRC
[15:01:41] <jonasliljestrand> sacho_ yes
[15:01:44] *** rtpg_ has joined #angularjs
[15:01:47] <sacho_> what's that?
[15:01:48] *** VeeWee has quit IRC
[15:01:56] *** hurley_ has joined #angularjs
[15:02:00] *** StryKaizer has joined #angularjs
[15:02:07] *** cbennett has joined #angularjs
[15:02:13] *** aendrew has quit IRC
[15:02:27] *** sressot has joined #angularjs
[15:02:28] <caitp> it is a rule that basically says english laws enacted after 1931 don't apply to australia or canada (or others) without ratification from our own governments
[15:02:54] *** mhoran has left #angularjs
[15:03:05] <caitp> that's as good an excuse as any to launch fireworks
[15:04:06] *** rtpg has quit IRC
[15:04:42] *** gkap has quit IRC
[15:04:48] <hurley_> Would somebody try to help me with some questions to angularjs, requirejs and protractor?
[15:04:55] *** Zentdayn has joined #angularjs
[15:05:16] <jaydubya> how would YOU handle this spec: if a report is marked 'required' by admin, it must be viewed by all users daily. System should produce a log showing users who have not accessed a required report for 1 day, 3 days and send an email to admin if not accessed in 7 days.
[15:05:37] *** mivv has joined #angularjs
[15:06:14] <jaydubya> ^caveat: reports can be marked 'required' for a certain period of time and then marked 'optional' -- meaning the cadre of required reports is not constant
[15:06:19] *** jaznow has quit IRC
[15:06:32] <caitp> for 1 days, 3 days, and 7 days, produce mock data, run it through the black box, and assert the expected result
[15:06:34] *** HMBBabyface has joined #angularjs
[15:06:55] *** platonic has quit IRC
[15:06:59] *** anil has joined #angularjs
[15:07:07] *** ccohn has joined #angularjs
[15:07:12] <minimoo1> ng-model doesn't update if the input fail the validation?
[15:07:20] *** rafagomes_ has quit IRC
[15:07:34] *** ccohn has quit IRC
[15:07:36] *** i_am_nader has joined #angularjs
[15:07:43] <jaydubya> caitp: but I am still trying to figure out what kind of app architecture I would need to do something like that
[15:07:45] <caitp> minimoo1, invalid models are undefined
[15:07:55] <caitp> by default
[15:08:02] <caitp> unless you enable allowInvalid
[15:08:06] <caitp> the whole thing is really confusing =)
[15:08:07] <jaydubya> caitp: it can't be a database table because the list isn't constant
[15:08:11] *** i_am_nader has quit IRC
[15:08:17] *** jaznow has joined #angularjs
[15:08:36] *** mennea has quit IRC
[15:08:43] *** aendrew has joined #angularjs
[15:08:53] <jaydubya> caitp: I can't see where/how I would store the data required for the 'black box'
[15:08:55] <caitp> databases don't require data to be constant though
[15:09:20] <anil> ng-repeat is having slow response on IE...any hack to get rid of it...my app is running on 2x version...
[15:09:54] <anil> anyone has faced issues regarding IE performance
[15:10:01] *** gkap has joined #angularjs
[15:10:06] *** qdk has joined #angularjs
[15:10:30] *** duall has quit IRC
[15:10:35] <caitp> what do you mean by slow response
[15:10:41] *** mennea has joined #angularjs
[15:10:48] <jlebrech> i think the directive guide needs more examples for @, = and &
[15:10:52] *** Zentdayn has quit IRC
[15:11:04] *** HMBBabyface has quit IRC
[15:11:12] *** BillCriswell has joined #angularjs
[15:11:30] *** mivv has quit IRC
[15:11:40] *** josh-k has quit IRC
[15:11:52] *** nerder has joined #angularjs
[15:12:12] <caitp> jlebrech they're pretty simple -> @ is interpolated, so you pass in a string like attr="my name is {{name}}", = tries to keep objects in sync between isolate scope and parent scope, so if it detects a difference it will copy it in, & gives you a function you can call
[15:12:37] <nerder> hello, anybody can help me configure html5Mode with ui-router on apache?
[15:12:59] *** viper__ has joined #angularjs
[15:13:15] <caitp> so for &, attr="scopeVar = someData;" -> $scope.attr({someData: 1}); -> ParentScope.scopeVar = 1
[15:13:20] <nerder> my issue is that when i refresh the page apache return a 404 on www.mywebsite.com/main
[15:13:26] <minimoo1> thanks caitp
[15:13:26] *** techsethi has quit IRC
[15:13:27] *** viper__ has quit IRC
[15:13:27] *** platonic has joined #angularjs
[15:13:40] *** craigp has quit IRC
[15:13:56] <jlebrech> caitp: having symbols, and bad docs is anoying tho.
[15:14:14] <sacho_> jlebrech, I don't think an api reference is the best place for examples, but it would be nice to have a cookbook of usage.
[15:14:25] *** azizur has joined #angularjs
[15:14:29] *** danecando has quit IRC
[15:14:31] *** chr1stopher has joined #angularjs
[15:14:33] *** prosper has joined #angularjs
[15:14:39] <caitp> well, it is what it is ;)
[15:14:40] <nerder> use prexif could help me?
[15:14:43] <anil> @cairp ---- actually my page has lots of collapse-expand sections which are building using ng-repeate.....now the big issue is on the first time page load...internate explorer is loading the DOM very slowly...i also implemented the progress bar so that all the ajax request get loaded...but still once everything is loaded DOM is still loading and end user feels slowness intially
[15:14:44] <caitp> they're pretty easy once you learn them though
[15:14:46] <jlebrech> sacho_: I think some like todomvc but a bit more advance
[15:14:49] *** duall has joined #angularjs
[15:14:51] *** imehesz has joined #angularjs
[15:14:57] *** prosper is now known as Guest29844
[15:14:57] <sacho_> sure.
[15:15:07] <caitp> if you want to improve the docs, send us a pull request
[15:15:10] *** stryju has quit IRC
[15:15:10] <sacho_> There are some examples though, e.g. how & is useful for callbacks
[15:15:13] <caitp> we merge those very quickly
[15:15:20] *** chr1stopher has left #angularjs
[15:15:21] *** jpstone has joined #angularjs
[15:15:44] *** craigp has joined #angularjs
[15:16:13] <caitp> there was an attempt to support "long-form" versions, but I can't recall if it ever landed
[15:16:15] <caitp> lemme see
[15:17:26] *** jaredwilli has joined #angularjs
[15:18:04] *** gauravsaini03 has quit IRC
[15:18:09] *** jdivock_ has joined #angularjs
[15:18:20] *** anil has quit IRC
[15:18:36] *** e0ipso|away is now known as e0ipso
[15:18:42] *** edzez has quit IRC
[15:18:43] *** danecando has joined #angularjs
[15:18:56] *** linojon has joined #angularjs
[15:19:00] *** mary5030 has joined #angularjs
[15:19:16] *** g33k5z__ has quit IRC
[15:19:25] *** jdivock_ has quit IRC
[15:19:30] *** jdivock__ has joined #angularjs
[15:20:39] *** emanresu404 has quit IRC
[15:21:13] <cheef> gus im struggling with nested directives using ng-repeat
[15:21:24] <sacho_> lol
[15:21:28] *** FIFOd[a] has joined #angularjs
[15:21:28] <sacho_> "it adds another way to do the same thing!"
[15:21:35] <sacho_> kind of late to plug that hole. :)
[15:22:13] *** mary5030_ has joined #angularjs
[15:22:15] *** juampy_backlater is now known as juampy
[15:22:21] *** HMBBabyface has joined #angularjs
[15:22:44] *** settinghead has joined #angularjs
[15:23:15] *** stagymonk has joined #angularjs
[15:23:19] *** mary5030 has quit IRC
[15:23:29] *** startupality has joined #angularjs
[15:23:48] *** angy-mike has joined #angularjs
[15:24:01] <angy-mike> Hi Kid
[15:24:04] <angy-mike> Hi Kids
[15:24:18] *** Anonymous_ has joined #angularjs
[15:24:39] <angy-mike> any Vim users here? vim javascript syntax highlightening? any recommendations?
[15:25:11] *** lewdev has joined #angularjs
[15:25:28] *** juanpablo__ has joined #angularjs
[15:25:31] <stagymonk> hello, how much time can take to switch from backend (most PHP, Python and Ruby - a little) to frontend angular developer? maybe some one have such expirience?
[15:25:32] *** lewdev has quit IRC
[15:25:54] *** ppppaul has joined #angularjs
[15:25:58] <stagymonk> yes
[15:26:48] *** HMBBabyface has quit IRC
[15:27:00] *** CHC has joined #angularjs
[15:27:18] *** txa is now known as Txandy
[15:27:19] *** SargoDarya has joined #angularjs
[15:27:55] *** settinghead has quit IRC
[15:29:38] *** ggrzybek is now known as ggrzybek_brb
[15:29:39] <Foxandxss> stagymonk: there is no answer for that question
[15:29:49] *** platonic has quit IRC
[15:29:53] *** g33k5z has joined #angularjs
[15:30:17] *** Guest29844 has quit IRC
[15:30:39] *** zackiv31 has quit IRC
[15:30:45] *** robbiethegeek has quit IRC
[15:30:51] <christo_m> I have a service that broadcasts through $rootScope an event. I listen to this event in a controller and bind the result into a scope variable, but this scope variable refuses to update in the view
[15:31:03] <christo_m> do i have to force it to digest somehow?
[15:31:09] *** rtpg_ has quit IRC
[15:31:31] <tristanp> I have an ng-src="{{content.image}}", and periodically I'll do delete $scope.content and then add a different object to $scope.content, but the problem is in the DOM, the ng-src doesn't keep up and still displays the image of the old content. any idea why this is?
[15:31:32] *** SargoDarya has quit IRC
[15:31:33] *** juanlas has joined #angularjs
[15:31:34] *** rtpg has joined #angularjs
[15:31:46] <angy-mike> any vim users here? what do you recommend for javascript support?
[15:31:51] <tristanp> christo_m: try adding $scope.apply()
[15:31:55] *** azizur4 has joined #angularjs
[15:32:03] <tristanp> christo_m: sorry, $scope.$apply()
[15:32:14] <tristanp> after whatever change
[15:32:25] <tristanp> angy-mike: yeah, i use vim let me look up my js plugins
[15:33:04] <angy-mike> tristanp: thanks, trying to avoid installing crap
[15:33:16] <tristanp> angy-mike: well i think the first step is always vim-javascript
[15:33:59] *** ajk27_ has quit IRC
[15:34:02] <christo_m> tristanp: weird, that works, however if i do anything on the page it will automatically clear it out
[15:34:04] *** azizur has quit IRC
[15:34:10] <tristanp> angy-mike: i also have something called javascript-libraries-syntax.vim in my bundle/, not sure if that's being installed by pathogen or not, but I have good angular syntax highlighting in any case
[15:34:15] <cheef> guys, ive got a nested directive, which basically moves some content inside an ng-repeat. however in the nested instance it only seems to run it one, rather than once for everything in the parent ng-repeat
[15:34:23] <tristanp> angy-mike: yep that's the one
[15:34:31] *** s00pcan_ has joined #angularjs
[15:34:36] <angy-mike> tristantp: thanks
[15:35:17] *** jeffisabelle has joined #angularjs
[15:35:20] *** wooz86 has quit IRC
[15:35:53] <tristanp> christo_m: I don't know about the clearing out business, would need more detail to guess why that's happening, but I don't think it's to do with the $apply. $apply just tells angular to run the digest cycle
[15:36:19] <christo_m> tristanp: hmm, i dont think so either, but its something with the digest cycle
[15:36:26] <christo_m> because if i jog the page in any way its cleared instantly
[15:36:35] *** platonic has joined #angularjs
[15:36:36] <tristanp> by jog you mean?
[15:36:37] <christo_m> even though the title is updating properly when i trigger the events programatically
[15:36:44] <christo_m> tristanp: well its an ionic map, so any gesture, tap, etc
[15:36:49] <christo_m> it will just blank out the field
[15:37:15] <tristanp> angy-mike: yeah, i used ember some time ago but I forget what I used for syntax highlighting. maybe i just used regular old vim-javascript
[15:37:45] <angy-mike> tristanp: it looks like a great plugin..
[15:37:57] *** lsiv568 has quit IRC
[15:38:04] *** HMBBabyface has joined #angularjs
[15:38:06] *** lsiv568 has joined #angularjs
[15:38:28] *** saint-ron has joined #angularjs
[15:38:32] *** bkuberek_ has joined #angularjs
[15:38:40] *** Oddman has joined #angularjs
[15:38:58] *** fabiofb has quit IRC
[15:39:08] <tristanp> angy-mike: i know yehuda uses vim, so there must be something out there that makes writing ember in vim tolerable
[15:39:15] *** wooz86 has joined #angularjs
[15:39:19] *** ajk27_ has joined #angularjs
[15:39:53] *** sirkitree|afk|af is now known as sirkitree
[15:39:56] *** stagymonk has quit IRC
[15:41:32] *** bkuberek has quit IRC
[15:41:42] *** walden is now known as walden|brb
[15:41:56] *** jdivock__ has quit IRC
[15:42:07] *** caitp has quit IRC
[15:42:12] *** KushS has quit IRC
[15:42:12] *** olivvv has quit IRC
[15:42:32] *** settinghead has joined #angularjs
[15:42:38] *** HMBBabyface has quit IRC
[15:42:51] *** bmac has joined #angularjs
[15:42:57] *** bkuberek_ has quit IRC
[15:43:04] *** gkap has quit IRC
[15:43:35] *** ron1 has joined #angularjs
[15:43:42] <hurley_> Does somebody have a clue what could be responseble for a "warn - Exception: unknown error: bad inspector message:[...]" when I try to click on a link within protractor?
[15:43:42] *** adrrr_ has joined #angularjs
[15:43:44] *** bayousoft has quit IRC
[15:44:08] *** ali__ has joined #angularjs
[15:44:17] *** bayousoft has joined #angularjs
[15:44:42] *** mven has joined #angularjs
[15:45:03] *** ali__ has quit IRC
[15:45:14] *** adrrr has quit IRC
[15:45:39] *** settinghead has quit IRC
[15:46:10] *** IvailoStoianov has quit IRC
[15:46:13] *** settinghead has joined #angularjs
[15:46:37] *** avens has joined #angularjs
[15:46:43] <christo_m> tristanp: any ideas?
[15:46:54] *** pilva has quit IRC
[15:46:57] <christo_m> its an ionic app, so maybe ionic is doing something
[15:47:06] <tristanp> don't know what an ionic app is
[15:47:21] *** ron1 has quit IRC
[15:47:24] <tristanp> i looked it up though and I suppose it's possible
[15:47:31] *** marr has quit IRC
[15:47:34] *** pilva has joined #angularjs
[15:47:41] <angy-mike> tristanp: how do you set the variables for vim-javascript? I'm getting error messages when I do this (for example) let javascript_enable_domhtmlcss
[15:47:50] *** boxmein is now known as [boxmein]
[15:48:19] *** chachan has joined #angularjs
[15:49:12] *** evanjs has joined #angularjs
[15:50:20] *** getn_outchea has quit IRC
[15:50:28] *** pknordic has quit IRC
[15:50:30] *** caitp has joined #angularjs
[15:50:38] *** settinghead has quit IRC
[15:51:07] *** saint-ron has quit IRC
[15:51:19] *** jdj_dk has joined #angularjs
[15:51:29] *** shackleford has joined #angularjs
[15:51:43] *** Sebastien-L has quit IRC
[15:51:55] *** shackleford has quit IRC
[15:52:13] *** rtpg has quit IRC
[15:52:29] *** shackleford has joined #angularjs
[15:52:35] *** rtpg has joined #angularjs
[15:52:47] *** tripu has quit IRC
[15:53:22] *** qdk has quit IRC
[15:53:47] *** HMBBabyface has joined #angularjs
[15:54:11] <themime> im getting angular hint messages all of a sudden - no one on the team seems to have installed it and i see no traces of angular hint in the solution, but my ui-view doesn't populate and i get no errors. does this sound familiar to anyone?
[15:54:26] <themime> trying to figure out if/how these things are related
[15:54:27] <angy-mike> is it true that the angular api is going to be changing significantly? think I read/heard that it's not worth getting into Angular right now with changes coming soon?
[15:54:39] *** ianpirro has joined #angularjs
[15:54:50] *** Sebastien-L has joined #angularjs
[15:54:55] *** jdj_dk has quit IRC
[15:55:16] <themime> angy-mike: the time its saving me now is worth whatever they end up doing with it 2 years down the road. worst case: they don't officiall support it and the /awesome/ community we have takes over
[15:55:50] <themime> angy-mike: no one seems to be /actually/ worried about it
[15:56:07] <angy-mike> thanks
[15:56:41] *** adrrr_ has quit IRC
[15:56:42] *** shinnya has joined #angularjs
[15:57:33] *** encryptd_fractl has joined #angularjs
[15:57:57] *** HMBBabyface has quit IRC
[15:58:10] *** Afwas has joined #angularjs
[15:58:58] <themime> figured it out, disabled/renabled batarang. so weird
[15:59:09] *** ron1 has joined #angularjs
[15:59:16] *** jdivock_ has joined #angularjs
[15:59:49] *** craigp has quit IRC
[15:59:55] <themime> christo_m: could be scope overwriting your primitive type - best not to store primitives on the scope as inheritence can cause them to get overwritten. it happens more than youd think, and enough to force me to refactor all my code
[16:00:03] *** t1mmen has quit IRC
[16:00:20] *** rtpg has quit IRC
[16:00:30] *** soee has quit IRC
[16:00:45] *** ron1 has quit IRC
[16:01:09] *** Siecje has joined #angularjs
[16:01:13] *** e0ipso is now known as e0ipso|away
[16:01:46] <christo_m> themime: whats a better way to do it then?
[16:01:51] <christo_m> write a getter function?
[16:01:54] *** jdivock_ has quit IRC
[16:02:08] <christo_m> well i dont think that would work either actually, i need to store the most recent broadcast somehow though
[16:02:14] *** ProLoser has joined #angularjs
[16:02:33] <themime> christo_m: oh god not this again. man some other guy was in here a few weeks ago with the exact same issue
[16:03:00] <themime> christo_m: scope is unrelated most likely - however to answer your question, $scope.opts = {}; $scope.opts.appName = ''
[16:03:05] *** blomman_ has quit IRC
[16:03:13] *** _mtr has joined #angularjs
[16:03:18] *** mary5030_ has quit IRC
[16:03:37] *** blomman has joined #angularjs
[16:03:42] <angy-mike> themime: is there a blog post that outlines the rumored changes?
[16:03:46] *** __danima_ has joined #angularjs
[16:03:57] <angy-mike> themime: and when those changes might happen?
[16:04:38] <themime> angy-mike: probably several, all of which id end up just googling for you. i think release is about a year, then they support 1.3 for another year officially, but given the badass support here /I'm/ not worried about it at all
[16:04:46] *** bayousoft has quit IRC
[16:05:03] *** jdivock_ has joined #angularjs
[16:05:08] <themime> christo_m: the issue is you are trying to set the app at an awkward time
[16:05:11] <angy-mike> ok, thanks
[16:05:24] <themime> christo_m: i assume that appName is tied to ng-app for some phonecat related reason (if i recall)
[16:05:24] *** bayousoft has joined #angularjs
[16:05:28] *** CodeFriar has joined #angularjs
[16:05:39] *** mary5030 has joined #angularjs
[16:05:39] <christo_m> themime: appName is just an expression im shoving in the navbar title
[16:05:47] *** qdk has joined #angularjs
[16:06:03] <christo_m> i have a node webkit app running on the computer that sends the current app in focus' name down to the cordova app on the phone
[16:06:12] <christo_m> which broadcasts to ionic that appName
[16:06:17] <themime> christo_m: oh maybe different issue then
[16:06:24] <themime> yea try using scope.object.appname
[16:06:28] *** th3fallen has joined #angularjs
[16:06:32] *** ProLoser has quit IRC
[16:06:55] *** __danimal__ has quit IRC
[16:07:01] <christo_m> true
[16:07:01] *** imonthercks has quit IRC
[16:07:27] *** FunnyLookinHat has joined #angularjs
[16:07:32] *** jdcasey has joined #angularjs
[16:07:38] *** swist has joined #angularjs
[16:07:41] <themime> $scope.$watch('tasks', ...
[16:07:43] *** jdcasey has quit IRC
[16:07:43] *** jdcasey has joined #angularjs
[16:07:45] <themime> ^ th3fallen
[16:07:46] *** jdivock_ has quit IRC
[16:07:54] *** neilff has joined #angularjs
[16:08:05] *** rtpg has joined #angularjs
[16:08:09] *** _mtr has quit IRC
[16:08:24] <themime> but you can skip the watch and add the filter directly in the html - cleaner solution if it works for your intent (usually $watch can be avoided)
[16:08:31] *** jasonp has joined #angularjs
[16:08:43] <th3fallen> themime thanks but when i do that i get $scope is undefined and when i change the param to val or something i get error $filter(...)(...) is undefined
[16:09:02] *** rtpg has quit IRC
[16:09:12] <themime> you don't need to pass $scope in as a variable
[16:09:24] *** bostonaholic has joined #angularjs
[16:09:32] <th3fallen> I changed it to val
[16:09:34] *** HMBBabyface has joined #angularjs
[16:09:35] <th3fallen> Still nothing
[16:09:35] *** neilff has quit IRC
[16:09:47] *** jdivock_ has joined #angularjs
[16:09:47] *** walden|brb is now known as walden
[16:09:51] <themime> th3fallen: plunker, i don't have enough information
[16:10:03] <th3fallen> themime one sec
[16:10:18] *** mary5030 has quit IRC
[16:10:24] *** fedenunez has quit IRC
[16:11:08] *** rafagomes has joined #angularjs
[16:11:08] <dmack> I love how the "new" trend when writing angular is to write as little $scope as possible
[16:11:24] *** rafagomes is now known as Guest65008
[16:11:35] *** jdivock__ has joined #angularjs
[16:11:41] *** jdivock_ has quit IRC
[16:11:48] <themime> dmack: smaller scope = easier to read, maintain and update
[16:11:53] *** ctanga has quit IRC
[16:11:57] <dmack> oh, I totally agree with it
[16:11:58] *** g33k5z has quit IRC
[16:12:07] <dmack> I've barely used $scope in this app.
[16:12:28] *** foofoobar has quit IRC
[16:12:31] <themime> you really only need it to set your variables - all processing can be done in services or worst case a resolve
[16:12:33] *** hurley_ has quit IRC
[16:12:35] *** Rutix`away is now known as Rutix
[16:12:43] *** dave_boling has joined #angularjs
[16:13:07] *** g33k5z has joined #angularjs
[16:13:21] <th3fallen> As soon as plunker loads...
[16:13:33] *** neilff has joined #angularjs
[16:13:52] *** e0ipso|away is now known as e0ipso
[16:13:59] <themime> this should display a count, if that was the only reason you wanted the watch: {{(tasks | filter:{completed:true}).length }}
[16:14:04] *** HMBBabyface has quit IRC
[16:14:08] *** zB0hs has joined #angularjs
[16:14:09] *** dcherman has joined #angularjs
[16:14:22] <themime> man plunker was down yesterday too
[16:14:43] <themime> DISAPPOINT
[16:15:08] <Foxandxss> host it on your servers
[16:15:51] *** rchavik has quit IRC
[16:16:28] *** Mxyzpltk has joined #angularjs
[16:16:40] <th3fallen> that works thanks themime
[16:16:41] *** elrabin_ has joined #angularjs
[16:16:46] *** oste has joined #angularjs
[16:16:53] *** diosney has joined #angularjs
[16:17:05] *** cacts has joined #angularjs
[16:17:09] <themime> th3fallen: sweet np
[16:17:09] *** elrabin_ has quit IRC
[16:17:36] *** tristanp has quit IRC
[16:17:46] *** pootpoot has joined #angularjs
[16:18:05] *** torartc has joined #angularjs
[16:18:24] *** torartc has quit IRC
[16:18:55] *** elrabin_ has joined #angularjs
[16:19:37] *** elrabin has quit IRC
[16:19:38] *** chr1stopher has joined #angularjs
[16:19:49] *** dcherman has quit IRC
[16:20:05] *** juanlas has quit IRC
[16:21:05] *** seriema has quit IRC
[16:21:15] *** anapitupulu has joined #angularjs
[16:21:30] *** seriema has joined #angularjs
[16:21:39] *** Raging_Hog has joined #angularjs
[16:21:52] <th3fallen> i obviously cant do it like i have it as it doesn't work
[16:21:52] *** Rob__ has joined #angularjs
[16:21:56] *** anapitupulu has quit IRC
[16:22:11] *** aendrew has quit IRC
[16:22:21] *** tristanp has joined #angularjs
[16:22:33] *** yoshokatana has joined #angularjs
[16:22:40] *** elrabin_ has quit IRC
[16:23:02] *** elrabin has joined #angularjs
[16:23:24] *** elrabin has quit IRC
[16:23:26] *** neilff has quit IRC
[16:23:40] *** lite_ has quit IRC
[16:23:49] *** elrabin has joined #angularjs
[16:23:52] *** Guest65008 has quit IRC
[16:23:55] *** Xaleph has joined #angularjs
[16:23:57] *** saint-ron has joined #angularjs
[16:24:08] *** Linell has joined #angularjs
[16:24:18] <th3fallen> I got it nevermind
[16:25:19] *** HMBBabyface has joined #angularjs
[16:25:47] *** DanielKarp has joined #angularjs
[16:26:20] *** seriema has quit IRC
[16:26:20] *** elrabin has quit IRC
[16:26:42] *** Juanchito has joined #angularjs
[16:26:44] *** rtpg has joined #angularjs
[16:26:52] *** cthrax has joined #angularjs
[16:28:07] *** jscarmona is now known as who
[16:28:10] *** elrabin has joined #angularjs
[16:28:13] *** who is now known as jscarmona
[16:28:57] *** sigurding has joined #angularjs
[16:29:10] *** alpha080 has quit IRC
[16:29:17] *** mary5030 has joined #angularjs
[16:29:21] *** pspfolio has joined #angularjs
[16:29:37] *** HMBBabyface has quit IRC
[16:29:45] *** mennea has quit IRC
[16:30:12] *** dacuca has joined #angularjs
[16:30:18] *** mennea has joined #angularjs
[16:30:38] *** mary5030 has quit IRC
[16:30:58] *** Txandy has quit IRC
[16:30:59] *** aendrew has joined #angularjs
[16:31:05] *** devhoag has joined #angularjs
[16:31:12] *** mary5030 has joined #angularjs
[16:31:29] *** rtpg has quit IRC
[16:31:41] *** dacuca has quit IRC
[16:32:03] *** IvailoStoianov has joined #angularjs
[16:32:04] *** neilff has joined #angularjs
[16:32:09] *** DanielKarp has quit IRC
[16:32:18] *** dacuca has joined #angularjs
[16:32:31] *** josh-k has joined #angularjs
[16:32:44] *** platonic has quit IRC
[16:34:12] *** jdivock_ has joined #angularjs
[16:34:16] *** g33k5z has quit IRC
[16:34:30] *** ggrzybek_brb is now known as ggrzybek
[16:34:35] *** Fardin has quit IRC
[16:34:38] *** jdivock_ has quit IRC
[16:34:42] *** g33k5z has joined #angularjs
[16:35:09] *** dcherman has joined #angularjs
[16:35:14] *** jdivock_ has joined #angularjs
[16:35:17] *** devhoag has quit IRC
[16:35:32] *** tristanp has quit IRC
[16:35:47] *** jdivock__ has quit IRC
[16:35:52] *** rho_ has joined #angularjs
[16:36:13] *** bostonaholic has quit IRC
[16:36:57] *** trpsrv has joined #angularjs
[16:37:05] *** mmeallin_ has quit IRC
[16:37:09] *** dcherman2 has joined #angularjs
[16:37:31] *** dmack has quit IRC
[16:37:35] <themime> th3fallen: make sure you remove that watch, the tasks| etc is in replacement of the $watch
[16:37:37] *** mmealling has joined #angularjs
[16:37:46] <th3fallen> Yeah i figured it out
[16:37:47] <th3fallen> Thanks
[16:37:50] *** jdivock__ has joined #angularjs
[16:37:50] <themime> sweet! np
[16:37:51] <trpsrv> question regarding $compile in 1.2.19 and 1.3.16
[16:38:08] *** annlewis_ has joined #angularjs
[16:38:08] *** tristanp has joined #angularjs
[16:38:52] *** rho_ is now known as rho
[16:38:56] *** rafagomes has joined #angularjs
[16:39:16] *** g33k5z has quit IRC
[16:39:23] *** platonic has joined #angularjs
[16:39:33] <trpsrv> in 1.2.19 $compile an element in scope was working without problems. In 1.3.16 I get this err: Syntax Error: Token '.548' is an unexpected token at column 7 of the expression [access.548] starting at [.548].
[16:39:35] *** mzabriskie has joined #angularjs
[16:39:41] *** mmealling has quit IRC
[16:39:53] *** Xaleph has quit IRC
[16:39:54] *** mmealling has joined #angularjs
[16:40:06] *** annlewis has quit IRC
[16:40:28] *** bengillies has quit IRC
[16:40:28] *** g33k5z has joined #angularjs
[16:40:30] *** jdivock_ has quit IRC
[16:40:33] *** dcherman has quit IRC
[16:40:42] *** bengillies has joined #angularjs
[16:41:04] *** HMBBabyface has joined #angularjs
[16:41:10] <sacho_> sounds like they changed the behavior to more closely resemble js.
[16:41:48] <themime> th3fallen: not sure, your whole paradigm seems a little off though
[16:42:12] *** mennea has quit IRC
[16:42:31] *** startupality has quit IRC
[16:42:46] *** wooz86 has quit IRC
[16:43:11] <themime> th3fallen: an element won't show until the controller loads, what are you trying to accomplish?
[16:43:53] *** whitebook has quit IRC
[16:43:54] <trpsrv> I want to understand what has changed in this case
[16:44:42] *** Silne30 has quit IRC
[16:44:54] *** elaijuh has quit IRC
[16:44:59] <trpsrv> sure, we use a 3rd party lib for controllers.. so when we render a view (MVC .net) then we want to open a Modal.
[16:45:18] <trpsrv> So we have to embed the html because it's the way who this lib works..
[16:45:34] *** HMBBabyface has quit IRC
[16:45:38] <trpsrv> then we used to compile the element.. in 1.2.x
[16:45:49] *** lsiv568 has quit IRC
[16:46:06] *** Txandy has joined #angularjs
[16:46:07] *** Silne30 has joined #angularjs
[16:46:07] <trpsrv> so.. the html contains some angular directives to respond to data input..
[16:46:20] *** busticated has joined #angularjs
[16:46:25] <themime> th3fallen: furthermore your logic seems like it would prodice inconsistent behavior, that directive won't get called until the whole thing bootstraps and your possibly unrelated controller will be making calls as well - the hide/show could trigger back and forth several times. what it really looks like you want is $q and promises, which $http returns. if you
[16:46:25] <themime> want to load data then do stuff use promises
[16:46:25] <trpsrv> like, ng-model, ng-click, etc
[16:46:29] *** bkuberek has joined #angularjs
[16:46:39] <themime> s/produce/prodice
[16:46:55] *** bkuberek_ has joined #angularjs
[16:46:59] <themime> er reverse that
[16:47:06] * themime hasn't used vim in a while
[16:47:06] *** phzon has quit IRC
[16:47:06] *** elrabin has quit IRC
[16:47:25] *** Txandy has quit IRC
[16:47:43] *** elrabin has joined #angularjs
[16:47:53] *** encryptd_fractl has quit IRC
[16:48:13] *** g33k5z has quit IRC
[16:48:31] *** wooz86 has joined #angularjs
[16:48:33] *** milka has quit IRC
[16:48:35] *** encryptd_fractl has joined #angularjs
[16:50:42] *** bkuberek has quit IRC
[16:50:46] *** trpsrv has quit IRC
[16:50:57] *** pknordic has joined #angularjs
[16:51:04] *** quan__ has joined #angularjs
[16:51:05] *** platonic has quit IRC
[16:51:06] *** g33k5z has joined #angularjs
[16:51:28] <jagga> I want to get the height of all the elements on the html page in an angular directive. I've been looking at some stuff such as ($window) etc but I can't quite make sense out of what is going on.
[16:51:38] *** ngeksyo has joined #angularjs
[16:51:38] *** elrabin has quit IRC
[16:51:44] <th3fallen> Trying to dynmically show a loading element when an ajax request is being run
[16:51:53] <jagga> I've never done this sort of thing before and have not done it in jquery or anything either
[16:51:56] <jagga> any pointers?
[16:52:09] <intellix> anyone know a gulp/grunt task for removing/conditionally removing HTML tags on build? I need to remove the <base> tag when I build for cordova
[16:52:13] *** Txandy has joined #angularjs
[16:52:50] *** icfantv has joined #angularjs
[16:53:04] <themime> th3fallen: id make a wrapper around the ajax call and in that wrapper you update a factory that controls a state. you then use ng-show along with that state
[16:53:06] *** Xaleph has joined #angularjs
[16:53:15] <themime> need to head to lunch though good luck!
[16:53:22] <jagga> I basically have a d3 svg element being generated in the directive. I want the height of that element to be based on the height of the whole window angular.element($window)[0].innerHeight MINUS the rest of the elements.
[16:53:36] <th3fallen> Yeah but then i end up doing $scope.loading = true;/false over and over and over
[16:53:36] *** elrabin has joined #angularjs
[16:53:45] <th3fallen> Was trying to cut out the duplication
[16:53:48] *** jdivock__ has quit IRC
[16:53:50] *** jrist has joined #angularjs
[16:53:56] *** mary5030 has quit IRC
[16:54:21] *** mary5030 has joined #angularjs
[16:55:07] *** mokush has joined #angularjs
[16:55:17] *** azizur4 has quit IRC
[16:55:45] *** saint-ron has quit IRC
[16:56:07] *** pknordic has quit IRC
[16:56:21] <sacho_> uhh
[16:56:24] *** Foxandxss has quit IRC
[16:56:27] <sacho_> you'd only have that in the factory.
[16:56:52] *** HMBBabyface has joined #angularjs
[16:57:05] *** platonic has joined #angularjs
[16:58:18] *** epantzar has quit IRC
[16:58:23] *** tomphp has quit IRC
[16:58:24] *** mzabriskie has quit IRC
[16:59:02] *** ron1 has joined #angularjs
[16:59:03] *** yajinoki has joined #angularjs
[16:59:47] *** fedenunez has joined #angularjs
[17:00:00] *** cbennett has quit IRC
[17:00:11] *** lsiv568 has joined #angularjs
[17:00:54] *** mzabriskie has joined #angularjs
[17:01:17] *** HMBBabyface has quit IRC
[17:02:00] *** cacts|wtf has joined #angularjs
[17:03:10] <kakashiA1> I am studing diretives and at the moment I am writing one but I dont understand what "require: 'ngModel'" means
[17:04:26] <sacho_> have you checked out the $compile documentatoin?
[17:04:40] *** marr has joined #angularjs
[17:04:51] *** settinghead has joined #angularjs
[17:04:58] *** zackiv31 has joined #angularjs
[17:05:24] *** mglvl has joined #angularjs
[17:05:26] *** azizur has joined #angularjs
[17:05:31] <jsheely> Need some advice
[17:05:48] <cheef> kakashiA1: it basically injects the ngModelController into your directive
[17:05:49] *** red_horned_rihno has quit IRC
[17:05:50] *** net2014 has joined #angularjs
[17:05:50] <jsheely> I'm using controllerAs syntax and the properties are not showing up
[17:05:50] <cheef> if you need it
[17:05:51] *** jstroem has quit IRC
[17:06:01] *** phzon has joined #angularjs
[17:06:04] *** red_horned_rihno has joined #angularjs
[17:06:06] <jsheely> Hey cheef
[17:06:11] <cheef> hey js!
[17:06:14] <jsheely> I did something interesting with the problem we had yesterday
[17:06:14] *** dc has joined #angularjs
[17:06:16] <jsheely> Let met find it
[17:06:26] <jsheely> I found a hidden gem
[17:06:32] <cheef> i found a solution to my problem :)
[17:06:32] <net2014> hello, would I normally want to put functions in models, instead of putting them directly in controllers, if they have some logic that is not template like?
[17:06:33] <chachan> any alternative for plnkr?
[17:07:08] *** wooz86 has quit IRC
[17:07:13] *** yajinoki has quit IRC
[17:07:22] <jsheely> I figured but you may find this interesting
[17:07:29] <cheef> sure sure :)
[17:07:33] <jsheely> However plunker is not loading, wtf
[17:07:45] *** Milkweed has joined #angularjs
[17:07:52] <cheef> my infinate nested repeated forms
[17:07:53] *** fbenoit has quit IRC
[17:07:55] <cheef> infinite*
[17:08:02] *** net2014 has left #angularjs
[17:08:35] <jsheely> I have one of those Monday bugs on a Wednesday
[17:08:38] <jsheely> =|
[17:09:20] *** [boxmein] is now known as boxmein
[17:09:33] *** goodenough has joined #angularjs
[17:09:42] *** gkap has joined #angularjs
[17:09:44] *** lsiv568 has quit IRC
[17:09:50] *** bayousoft has quit IRC
[17:09:58] *** jdivock_ has joined #angularjs
[17:10:06] <jsheely> Something that was working has stopped but why it stopped makes no sense
[17:10:24] *** bayousoft has joined #angularjs
[17:10:26] <ioudas> Can anyone help me migrating a urlrouter provider state provider to angular 1.3.0's state provider?
[17:10:27] *** zwischenzug has joined #angularjs
[17:10:51] <cheef> i love those sorts of problems
[17:10:54] *** chr1stopher has left #angularjs
[17:11:09] <jagga> Guys, I have an svg element I'm putting in my page but I need to set its height based on the available space on the page, that being the height of the page - the total of heights from other elements. Is it possible to do this in Angularjs?
[17:11:56] <cheef> you'd probably need jquery
[17:12:00] <cheef> rather then jqlite
[17:12:04] <cheef> but they are intechangeable
[17:12:24] <cheef> be careful thugh when you are trying to calculate heights that the elements have actually been rendered
[17:12:36] *** HMBBabyface has joined #angularjs
[17:12:39] <jagga> hmm
[17:12:42] *** neilff has quit IRC
[17:12:45] <cheef> i ran into some issues before with heights being 0 because they hadnt been rendered yet
[17:12:55] <jagga> I see
[17:12:56] *** neilff has joined #angularjs
[17:13:05] *** balr0g_ is now known as balr0g
[17:13:09] *** StryKaizer has quit IRC
[17:13:14] <jagga> but what do you mean, you need jquery rarther than jqlite
[17:13:28] <jagga> I have no idea about jquery/jqlite. I went straight into javascript/angular.
[17:13:30] <jagga> Never used jquery
[17:13:32] <BahamutWC> you can do it with angular - create a directive
[17:13:47] <dan2k3k4> what's the "angular" way to build up an array of keys=>values ?
[17:13:56] *** azizur has quit IRC
[17:14:07] <BahamutWC> dan2k3k4: from what?
[17:14:22] <jagga> yeah, I'm trying to do this all in the directive. The width is easy. It's the width of the parent element. The height isn't because the parent element (the svg) has no height until I set that height. If that makes sense.
[17:14:24] *** loverajoel has quit IRC
[17:14:41] <jagga> Until I set it, the parent element (svg) has 0 height. Naturally
[17:14:55] *** Xaleph has quit IRC
[17:15:09] *** rud_ has joined #angularjs
[17:15:10] *** lsiv568 has joined #angularjs
[17:15:13] *** gauravsaini03 has joined #angularjs
[17:15:35] *** IvailoStoianov has quit IRC
[17:15:57] *** dcherman2 has quit IRC
[17:16:01] *** shackleford has quit IRC
[17:16:09] *** SargoDarya has joined #angularjs
[17:16:09] *** yelvert has joined #angularjs
[17:16:23] <dan2k3k4> BahamutWC, simple just pushing items
[17:16:26] <dan2k3k4> php
[17:16:30] *** shackleford has joined #angularjs
[17:16:32] <dan2k3k4> inside .phtml
[17:16:42] *** gurke_ has joined #angularjs
[17:16:57] *** HMBBabyface has quit IRC
[17:17:11] *** rud_ has quit IRC
[17:17:27] *** Guest64157 has quit IRC
[17:18:08] *** anapitupulu has joined #angularjs
[17:18:12] <anapitupulu> j #scrapy
[17:18:23] <BahamutWC> you're not being clear - is the data being injected in a file in PHP, or is it coming from an AJAX request?
[17:18:23] *** rud has quit IRC
[17:18:26] <anapitupulu> oopps
[17:18:31] *** kas84 has joined #angularjs
[17:19:07] *** leex has joined #angularjs
[17:19:17] *** ctanga has joined #angularjs
[17:19:23] *** cacts|wtf is now known as cacts|works
[17:19:37] <leex> Hi, what is the best way of getting i18n support to my rails/angularjs project?
[17:19:40] *** prbc has joined #angularjs
[17:19:55] *** chr1stopher1 has joined #angularjs
[17:19:55] *** mokush has quit IRC
[17:20:09] *** bbankes has quit IRC
[17:20:11] <BahamutWC> leex: best way is to use a library like angular-translate or angular-localization
[17:20:17] *** pilva has quit IRC
[17:20:35] <dan2k3k4> BahamutWC, injected... basically for ol3, I add layers to the map but I wanted to store an array of each layer based on a key/name... so that I can do: map.removeLayer(myLayers.get(key));
[17:20:36] *** moogey has joined #angularjs
[17:20:54] *** SargoDarya has quit IRC
[17:21:08] <cheef> jagga, you set up a watch for the height, in a directive and when it changes then do what eyou need to do
[17:21:13] *** angy-mike has quit IRC
[17:21:29] <jagga> yeah I have 0 problems setting up a watch
[17:21:32] <jagga> on the height
[17:21:35] *** pilva has joined #angularjs
[17:21:37] *** cbennett has joined #angularjs
[17:21:39] <jagga> the height of the window that is
[17:21:49] <jagga> but I can't just set the height of the svg to the height of the window
[17:21:51] *** cbennett has quit IRC
[17:22:00] <jagga> hmm
[17:22:27] *** cbennett has joined #angularjs
[17:22:49] <ioudas> Can anyone help me migrating a urlrouter provider state provider to angular 1.3.0's state provider?
[17:22:55] <jagga> I'm a little confused on how to set the default height of the svg
[17:23:02] <jagga> anyway, I'm going to try a few things
[17:23:13] <jagga> get my brain together and I'll come back if I need help
[17:23:31] *** chr1stopher1 has left #angularjs
[17:23:33] *** easywriter has joined #angularjs
[17:23:38] *** Anton_ has quit IRC
[17:23:51] *** shackleford has quit IRC
[17:24:18] *** cavallari has joined #angularjs
[17:24:24] *** shackleford has joined #angularjs
[17:24:26] <cavallari> Hi people
[17:24:41] <cavallari> is there any way to control a directive from a controller??
[17:24:49] *** bbankes has joined #angularjs
[17:24:55] *** cheef has quit IRC
[17:25:34] <themime> cavallari: data-binding data that is shared through a factory
[17:25:38] *** cacts has quit IRC
[17:26:10] *** chr1stopher has joined #angularjs
[17:26:21] *** chr1stopher has left #angularjs
[17:26:23] <jsheely> I have no idea why my controller as syntax doesn't work and it's starting to piss me off
[17:26:40] <cavallari> i must create a factory them?
[17:27:00] *** arabot has joined #angularjs
[17:27:03] *** arabot has quit IRC
[17:27:10] <icfantv> cavallari: what exactly are you trying to do?
[17:27:37] *** nicholes has joined #angularjs
[17:27:38] <cavallari> I have a directive wich creates a variable inside... and I want to get this variable in the controller
[17:27:44] *** blomman has quit IRC
[17:27:48] *** gladely has quit IRC
[17:27:57] *** lsiv568 has quit IRC
[17:27:58] <icfantv> jsheely: can you plunk the code or an example? i've not used controller as, but maybe we can figure it out
[17:28:17] *** axsuul has joined #angularjs
[17:28:19] *** blomman has joined #angularjs
[17:28:19] <icfantv> cavallari: isolate scope?
[17:28:24] *** HMBBabyface has joined #angularjs
[17:28:31] *** samuel02 has quit IRC
[17:28:32] *** fbenoit has joined #angularjs
[17:28:37] <themime> oh yea that might work better. depends on your circumstances
[17:28:55] <themime> sometimes having the factory control the data is what you want
[17:29:19] *** Crumb has joined #angularjs
[17:29:23] <icfantv> cavallari: are you using an isolate scope?
[17:29:31] <cavallari> no
[17:29:38] <jsheely> icfantv plunker is down right now. But I'm fairly sure it's a problem in my code. Just can't hunt it down
[17:29:49] <jsheely> I'm also using typeScript which extends the issue
[17:29:53] <icfantv> cavallari: oh. then in that case, you can just do $scope.myNewVar = blah
[17:30:04] *** snapwich has joined #angularjs
[17:30:07] <jsheely> But I SWEAR this was working for weeks. So I busted it somewhere and now I dunno wtf it's doing
[17:30:11] <cavallari> But it´s not working
[17:30:12] <icfantv> jsheely: oh. i'm absolutely out of my league then
[17:30:36] <icfantv> jsheely: when that happens to me, i start backtracking through code revisions to find the one that broke it
[17:30:56] <cavallari> return { link:function(s,e,a){ s.map = "..."; }} ...
[17:30:57] *** rud has joined #angularjs
[17:30:59] <jsheely> Yea, it's just a pain cuz I'm working on a laptop ><
[17:31:16] <cavallari> them in controller if I try to access the $scope.map it returns undefined
[17:31:27] <icfantv> jsheely: yea, but sometimes that's what it takes. i've had to do it before. not fun, for sure.
[17:31:33] <cavallari> btu curiously if I console.log($scope) the .map is there
[17:31:48] *** Anton_ has joined #angularjs
[17:32:17] <icfantv> cavallari: where in the controller are you accessing the field vs. where are you logging it to the console?
[17:32:36] *** seriema has joined #angularjs
[17:32:49] *** HMBBabyface has quit IRC
[17:32:49] *** blomman has quit IRC
[17:32:53] <icfantv> cavallari: depending on how you are using your directive and whether or not the data is available yet, it may be that map hasn't yet been assigned
[17:32:59] <jsheely> icfantv Sadly though the files having the issue don't have any changes in them that would cause any issues
[17:33:01] <icfantv> cavallari: which is where $watch comes in.
[17:33:02] <cavallari> both I am logging to the console
[17:33:31] <icfantv> jsheely: did you upgrade angular?
[17:33:32] *** Sky[x] has joined #angularjs
[17:33:47] <cavallari> I will read more about $watch
[17:33:55] *** _mtr has joined #angularjs
[17:33:59] *** Bennit has quit IRC
[17:34:07] *** lw has joined #angularjs
[17:34:14] *** skyx_ has quit IRC
[17:34:16] <jsheely> I did as a possible remedy
[17:34:28] <jsheely> But it wasn't working before then on 1.2. On 1.3.2 now
[17:34:36] *** lite_ has joined #angularjs
[17:34:37] <icfantv> cavallari: watch is very easy. $scope.$watch('variable', function () { // execute me when variable changes })
[17:34:42] <jsheely> Unless I'm dumb
[17:34:43] <cavallari> where is $watch doc?
[17:34:54] <jsheely> it's ng-controller="ControllerName as vm"
[17:34:57] <jsheely> right?
[17:35:12] *** sk87 has joined #angularjs
[17:35:12] <cavallari> i am searching on angular webpage but not finding...
[17:35:29] <jsheely> and in my controller I should have a function function ControllerName() { var vm = this; vm.wtf = "zomg"; }
[17:35:40] <jsheely> Then I should be able to use {{vm.wtf}}
[17:35:41] *** patrickarlt has joined #angularjs
[17:35:54] <cavallari> Thanks a lot
[17:36:07] <icfantv> cavallari: scroll down to $watch.
[17:36:10] *** laurensclaessen has quit IRC
[17:36:21] *** mtsr has quit IRC
[17:36:23] <cavallari> I found here, thanks!!
[17:36:25] <icfantv> cavallari: the third parameter is for watching contents of objects as well
[17:36:27] *** rud has quit IRC
[17:36:30] *** laurensclaessen has joined #angularjs
[17:36:36] *** elestud has joined #angularjs
[17:36:39] <cavallari> seems to be nice
[17:36:45] <jsheely> I feel like it's ignoring my ControllerAs syntax
[17:37:03] *** seriema has quit IRC
[17:37:11] *** jacuqesdancona_ has quit IRC
[17:37:11] <themime> cavallari: careful overusing it though. with angulars two way data binding you often don't need it when you think you might at first. its just a common pitfall
[17:37:29] <elestud> hello everyone: does anyone know why an element scope would contain an item, but the corresponding {{}} binding would come up blank
[17:37:46] *** jacuqesdancona_ has joined #angularjs
[17:37:46] <elestud> I've used the browser dev console to verify that the item is in the scope as expected
[17:37:49] *** thumpba has joined #angularjs
[17:37:55] *** dISKRET has joined #angularjs
[17:37:58] <elestud> controller is set correctly, etc. just comes up blank
[17:38:10] *** knownasilya has joined #angularjs
[17:38:37] *** lite_ has quit IRC
[17:38:43] *** easywriter has quit IRC
[17:38:43] <cavallari> I am curious about the $resource... is it sync or async??
[17:38:43] *** rud has joined #angularjs
[17:38:49] *** _mtr has quit IRC
[17:38:55] *** a3gis has joined #angularjs
[17:39:00] <icfantv> cavallari: $resourse is just a wrapper around $http
[17:39:04] <icfantv> cavallari: async
[17:39:10] <chachan> elestud: paste the code using plnkr or jsfiddle and someone will help you, it's hard know with only words
[17:39:11] *** dcherman has joined #angularjs
[17:39:22] <elestud> ok
[17:39:24] *** dan2k3k4 has quit IRC
[17:39:37] <icfantv> jsheely: lemme take a look at the docs
[17:39:45] <th3fallen> Regarding $watching a filter
[17:39:52] *** MistahKurtz has joined #angularjs
[17:40:01] *** dcherman has quit IRC
[17:40:02] <cavallari> but so how it works something like variable = $resource('file.json').query() and it immediatly have the json data?
[17:41:14] *** swist has quit IRC
[17:41:22] *** josh-k has quit IRC
[17:41:22] *** atomical has quit IRC
[17:41:46] <jsheely> Yea I'm looking at it
[17:41:50] *** Christer has quit IRC
[17:41:50] <jsheely> It looks the same as mine =]
[17:41:51] *** M8M has joined #angularjs
[17:41:53] *** swist has joined #angularjs
[17:41:59] *** josh-k has joined #angularjs
[17:41:59] <icfantv> cavallari: no. $resource is kind of for REST interfaces
[17:42:28] *** jacuqesdancona_ has quit IRC
[17:42:46] *** Shaz has joined #angularjs
[17:42:59] <icfantv> cavallari: so the idea is to create an object from your $resource, and then operate on that object. ala: var CreditCard = $resource(…..); CreditCard.charge(…), etc...
[17:43:05] *** sonofdirt has joined #angularjs
[17:43:25] *** shacklef_ has joined #angularjs
[17:43:27] *** atomical has joined #angularjs
[17:43:53] *** k-dawg has quit IRC
[17:44:11] *** HMBBabyface has joined #angularjs
[17:44:20] *** rud has quit IRC
[17:44:52] *** sebhoss has quit IRC
[17:44:54] <elestud> the XHR request works as expected; there's also an item in the scope that's set manually in the controller
[17:44:57] *** dcherman has joined #angularjs
[17:45:08] *** rud has joined #angularjs
[17:45:08] *** rud has joined #angularjs
[17:45:16] *** DrMabuse has joined #angularjs
[17:45:20] *** H1FuelCell has joined #angularjs
[17:45:21] *** samuel02 has joined #angularjs
[17:45:24] <elestud> both show up as completely blank when bound
[17:45:43] <icfantv> jsheely: if i'm reading this correctly, using controller as syntax is really just for clarity, no?
[17:45:54] *** themime has quit IRC
[17:45:55] *** frozenice_ has quit IRC
[17:45:57] *** cuong_ has quit IRC
[17:45:58] *** janoelze has quit IRC
[17:45:58] *** williamtdr has quit IRC
[17:46:09] <tristanp> is there any way in angular or javascript to avoid if statements like this? if (location.associationsOut && location.associationsOut.CONTENT && location.associationsOut.CONTENT[0] && location.associationsOut[0].data) {
[17:46:11] <elestud> would appreciate any help
[17:46:13] <jsheely> Mainly it's for scoping heiarchy
[17:46:17] *** Ironlink has quit IRC
[17:46:21] *** ceej_irccloud has quit IRC
[17:46:21] *** prettymuchbryce has quit IRC
[17:46:21] *** amtiskaw has quit IRC
[17:46:25] *** felipesabino has quit IRC
[17:46:30] *** jstroem has joined #angularjs
[17:46:31] <icfantv> M8M: what do you mean?
[17:46:37] *** eshlox has quit IRC
[17:46:37] *** kwmiebach has quit IRC
[17:46:44] *** merpnderp has quit IRC
[17:46:44] *** ZucchiniZe has quit IRC
[17:46:46] *** shadowhand has quit IRC
[17:46:46] *** nhoening has quit IRC
[17:46:47] *** merlinsbrain has quit IRC
[17:46:47] *** shackleford has quit IRC
[17:46:49] *** ycodr has quit IRC
[17:46:50] <icfantv> M8M: outside the ng-repeat?
[17:46:53] <elestud> will be right back
[17:46:54] *** joshtau has quit IRC
[17:46:56] *** knownasilya has quit IRC
[17:46:57] *** epickillerpigz has quit IRC
[17:47:02] *** mkulke has joined #angularjs
[17:47:06] *** Shaz has quit IRC
[17:47:09] *** elestud has quit IRC
[17:47:15] *** lowell has quit IRC
[17:47:19] *** ycodr has joined #angularjs
[17:47:23] *** epantzar has joined #angularjs
[17:47:24] *** Shaz has joined #angularjs
[17:47:27] *** jga_ has quit IRC
[17:47:28] *** bobbyd918_ has quit IRC
[17:47:30] *** syphar_ has quit IRC
[17:47:32] *** cmenscher has quit IRC
[17:47:45] *** mchammer has quit IRC
[17:47:53] *** richburke__ has quit IRC
[17:47:55] <icfantv> M8M: yea, that's not going to work.
[17:48:01] *** ikevin has quit IRC
[17:48:01] *** lebster has quit IRC
[17:48:01] *** bbhoss has quit IRC
[17:48:28] <icfantv> M8M: first: every user in users is going to have its own scope. and secondly, the user model doesn't exist outside the ng-repeat
[17:48:29] *** dotty has quit IRC
[17:48:29] <M8M> icfantv: it is a child/parent scope issue right?
[17:48:30] *** Immutef has quit IRC
[17:48:43] *** HMBBabyface has quit IRC
[17:49:14] <mkulke> hello there, what would be a good way to $watch a list? i want to listen only to the composition of the list, but $watch('mystuffs.length'..) probably does not work, since there might be an addition and removal of an item from the $scoped list quickly after each other, so the length of the array keeps the same
[17:49:17] <icfantv> M8M: not really. think of it this way: you're defining a variable (user) and trying to access it outside the confines of its existence.
[17:49:39] <M8M> icfantv: ok, so what would the best approach be to bind that checkbox to something outside the ng-repeat?
[17:49:49] <jsheely> HOLY FUCKING SHIT
[17:49:51] <icfantv> mkulke: the third option to $watch lets you watch contents
[17:49:59] <jsheely> God damn POS Batarang plugin
[17:50:07] <jsheely> That's what screwed up my ControllerAs shit
[17:50:09] <jsheely> 0=23jg=24jg2=g24j=g2
[17:50:10] *** laurensclaessen has quit IRC
[17:50:19] *** rud has quit IRC
[17:50:21] <tristanp> batarang fucks up my day
[17:50:22] <tristanp> i dont use it
[17:50:36] <jsheely> tristanp never had a problem with it. I just noticed that it updated
[17:50:40] <mkulke> icfantv: but i don't want to watch all contents
[17:50:49] <jsheely> the UI is different and now evidently breaks your shit
[17:50:52] <icfantv> M8M: what are you trying to create? if you want that checkbox to have state based on a user, it needs to be in the ng-repeat
[17:51:06] *** ProLoser has joined #angularjs
[17:51:23] <icfantv> jsheely: i've had issues w/ batarang too. it will barf errors if you try and watch variables that havne't been defined yet
[17:51:39] <M8M> icfantv: I want to add active class to delete-user and remove disabled on select when checkbox is check
[17:51:55] *** nfroidure has quit IRC
[17:52:00] <icfantv> m8m: yes, but based on what?
[17:52:07] <mkulke> ahh $watchCollection to the rescue
[17:52:08] *** Greed` has joined #angularjs
[17:52:11] <M8M> icfantv: sorry, not sure I follow
[17:52:27] *** pknordic has joined #angularjs
[17:52:36] *** aendrew has quit IRC
[17:52:40] <icfantv> m8m: you have a bunch of users you're iterating over and you're trying to set the state of ONE checkbox based on ….what exactly?
[17:52:50] <jsheely> I'm so mad right now =(
[17:53:03] <jsheely> That was seriously like 3 hours of debugging
[17:53:10] <jsheely> UGH!
[17:53:12] *** shacklef_ has quit IRC
[17:53:22] <icfantv> jsheely: we've all been there.
[17:53:26] <quan__> indeed
[17:53:38] <mkulke> hmm $watchCollection still watches changes to the properties within an array :/
[17:53:41] *** aendrew has joined #angularjs
[17:53:45] *** shackleford has joined #angularjs
[17:53:58] <icfantv> mkulke: you only want to watch the contents?
[17:54:15] <mkulke> no, the composition of the list
[17:54:24] *** Greed has quit IRC
[17:54:26] *** Greed` is now known as Greed
[17:54:41] *** david_boling has joined #angularjs
[17:54:50] <M8M> icfantv: I am missing something ... based on whether it is checked or not
[17:55:00] <icfantv> m8m: what's in that select? the list of users?
[17:55:07] <mkulke> icfantv: [a,b,c] => [a,b] is what i want to catch i dont't care about a.bla => a.blub
[17:55:25] *** ProLoser has quit IRC
[17:55:47] <icfantv> mkulke: then, i think just using $watch will work, no?
[17:55:53] *** shackleford has quit IRC
[17:55:55] *** dave_boling has quit IRC
[17:56:08] <M8M> icfantv: no, sorry, I just posted basic code. The select will be a user role, so if an admin selects a user, aka checks the checkbox, the select will become enabled, allowing admin to change that user's role
[17:56:10] *** shackleford has joined #angularjs
[17:56:28] <icfantv> mkulke: i've not used it for arrays, but on objects, it only does one level by default
[17:56:38] *** ngeksyo has quit IRC
[17:56:56] *** kas84 has quit IRC
[17:56:58] *** pknordic has quit IRC
[17:57:03] *** Shaz has quit IRC
[17:57:11] <icfantv> m8m: ok, then for the select, use ng-options
[17:57:30] *** Shaz has joined #angularjs
[17:57:33] <icfantv> M8M: and then use users
[17:57:40] <M8M> icfantv: likewise with the delete-user, when admin selects the user, aka checks the checkbox, delete will become enabled, allowing admin to delete user.
[17:57:45] *** Anton_ has quit IRC
[17:58:31] <icfantv> m8m, that seems really complicated. what about using a selection grid?
[17:58:48] *** ngeksyo has joined #angularjs
[17:59:02] *** seriema has joined #angularjs
[17:59:04] *** nachinius has joined #angularjs
[17:59:06] <mkulke> icfantv: it seems you're right, thx. i thought it was listening deep
[17:59:08] <M8M> icfantv: probably is, this is where being new to Angular gets me.
[17:59:14] *** juanlas has joined #angularjs
[17:59:21] <cavallari> is it possible a factory change a scope variable??
[17:59:39] *** epantzar has quit IRC
[17:59:55] *** HMBBabyface has joined #angularjs
[18:00:00] <icfantv> m8m, then you can do one of two things: each row can have a delete button, or a checkbox and then the top of the grid has a delete button whose disabled state can be controlled via ng-disabled='someCondition | function'
[18:00:24] <icfantv> mkulke: i only know about watching objects, not arrays.
[18:00:48] *** nemothekid has joined #angularjs
[18:01:00] <icfantv> cavallari: in theory? yes, you could expose a factory method that passes in a $scope reference. but i would avoid this.
[18:01:18] <icfantv> cavallari: i would pass in a callback function and let the caller decide what to do
[18:01:19] <cavallari> why?
[18:01:55] <icfantv> cavallari: just bad design. you're leaking your scope. it could make it hard to debug stuff
[18:01:55] *** qdk has quit IRC
[18:02:36] <cavallari> I have a factory wich loads a json file and would like to put it into scope
[18:02:39] <cavallari> when it loads
[18:02:48] <icfantv> cavallari: you could also have the factory fire an event that your controller could listen too, but you don't want hundreds of events flying around either
[18:03:05] <cavallari> you´re right!
[18:03:06] <icfantv> cavallari: that's perfect for a callback function
[18:03:26] *** cbennett has quit IRC
[18:03:28] *** jagga has quit IRC
[18:03:49] <icfantv> cavallari: have your controller call your factory function with a callback that takes in the loaded file as it's function argument and voila! you have the data
[18:04:00] *** fbenoit has quit IRC
[18:04:08] <icfantv> cavallari: this is exactly how the angularjs AJAX api works
[18:04:12] *** HMBBabyface has quit IRC
[18:04:35] <icfantv> cavallari: well, with promises. so i'd do that too. especially if you're loading data
[18:05:13] <icfantv> cavallari: MyFactory.loadFile().then(function (fileData) { /* do something with data */ });
[18:05:14] *** avens has quit IRC
[18:05:43] <icfantv> cavallari: that line would be in your controller
[18:05:52] *** Anton_ has joined #angularjs
[18:05:58] *** azizur has joined #angularjs
[18:05:59] <cavallari> it´s what i´ve done
[18:06:07] *** KushS has joined #angularjs
[18:06:13] <icfantv> cavallari: great!
[18:06:19] *** nicholes has quit IRC
[18:06:20] <cavallari> factory.get = function(callback){ ... }
[18:06:39] <icfantv> cavallari: that works too, but if you're loading a file, synchronously, it's going to block
[18:06:48] <icfantv> cavallari: that's why promises are great
[18:06:54] <cavallari> promises?
[18:07:14] <mkulke> :)
[18:07:41] *** richiebkr has joined #angularjs
[18:07:42] *** mzabriskie has quit IRC
[18:07:52] <cavallari> icfantv: where can I read about promises?
[18:07:54] *** grantfunke_ has joined #angularjs
[18:08:15] <mkulke> in the link, angular uses a bit of a dumbed down version of q
[18:08:30] *** jagga has joined #angularjs
[18:08:36] *** Sadin has quit IRC
[18:08:41] <mkulke> it will mess with your head at first, but finally you'll love them
[18:08:55] *** sigurding has quit IRC
[18:09:00] <icfantv> cavallari: and with 1.3, the api is a lot cleaner
[18:09:00] *** bbankes_ has joined #angularjs
[18:09:18] <icfantv> cavallari: wait, 1.2, i think
[18:09:47] *** tfennelly has quit IRC
[18:09:55] *** yelvert has quit IRC
[18:11:16] <icfantv> cavallari: you used to have to do: var deferred = $q.defer(); deferred.resolve(data); return deferred.promise;
[18:11:47] *** loverajoel has joined #angularjs
[18:12:13] <icfantv> cavallari: now you can just do return $q(function (resolve, reject) { …; resolve(data); } );
[18:12:27] *** ggrzybek is now known as ggrzybek_brb
[18:12:30] *** ggrzybek_brb is now known as ggrzybek_afk
[18:12:45] <cavallari> .them, .them...
[18:12:50] <cavallari> I am reading something about it
[18:12:53] *** stephen has joined #angularjs
[18:12:55] *** bbankes has quit IRC
[18:13:00] *** rosshuggett has joined #angularjs
[18:13:09] <BahamutWC> icfantv: that's a really nice syntax, I love it
[18:13:32] <BahamutWC> sometimes you have to do the $q.defer() syntax still though I found
[18:13:49] *** oncenull has joined #angularjs
[18:14:06] <icfantv> BahamutWC: oh really? what use case? i've not hit one yet. jaawerth put me on to the new style, it's awesome
[18:14:23] <icfantv> cavallari: 'then' not 'them'
[18:14:23] *** bbankes_ has quit IRC
[18:14:49] <icfantv> cavallari: basically it's saying "do this and when finished, THEN do this with the data returned from the first bit"
[18:15:04] <icfantv> cavallari: and you can chain them
[18:15:08] <cavallari> oh, i am understanding
[18:15:35] *** SinceSidSlid has joined #angularjs
[18:15:40] <icfantv> cavallari: if you want to really learn it, start using it. you're not going to learn a ton by people posting code snippets
[18:15:40] *** HMBBabyface has joined #angularjs
[18:15:51] <BahamutWC> icfantv: there was one situation I came across where in the process of the app booting, a value needs to be fetched as a part of a complex chain of AJAX requests - it needed to be resolved only when the value came through, and it didn't make sense to modify the other code since any request to fetch this one piece of data didn't need to execute this complex chain
[18:15:54] *** ycodr has quit IRC
[18:16:10] <BahamutWC> so somewhere in a then success callback we do deferred.resolve(foo) and then continue on the chain
[18:16:11] *** jagga_ has joined #angularjs
[18:16:16] *** loverajoel has quit IRC
[18:16:34] <BahamutWC> and whenever any service requested this one piece of data, it returned the promise that is resolved with foo
[18:16:34] *** ycodr has joined #angularjs
[18:16:45] <cavallari> icfantv: I really want to learn angular, but for now I need this quickly, because I need to deliver to my client until friday
[18:16:58] <cavallari> but i want to learn angular the correct way
[18:18:23] <icfantv> BahamutWC: cool.
[18:18:32] <icfantv> cavallari: deliver MAINTAINABLE code?
[18:18:48] <cavallari> working code
[18:18:48] <icfantv> cavallari: heh.
[18:18:55] <cavallari> I will remake the code latter
[18:19:00] <cavallari> the correct way
[18:19:00] <icfantv> cavallari: careful, it's a slippery slope
[18:19:07] <icfantv> cavallari: we've all said that, too
[18:19:10] <SinceSidSlid> Has there been any news on the batarang issues?
[18:19:24] <icfantv> SinceSidSlid: i've not heard any, but have avoided using it
[18:19:30] *** NormySan has joined #angularjs
[18:19:35] <icfantv> SinceSidSlid: i know the bug boards are active.
[18:19:40] *** shackleford has quit IRC
[18:19:52] <icfantv> SinceSidSlid: (i keep getting spam, er, email)
[18:19:53] *** deanclkclk has quit IRC
[18:19:58] *** jaznow has quit IRC
[18:20:07] <cavallari> angular has too many ways to do the same thing, that´s why i never know if I am doing the correct way
[18:20:07] *** jagga has quit IRC
[18:20:20] <cavallari> i will get a course or something similar and study a lot
[18:20:23] *** shackleford has joined #angularjs
[18:20:28] *** HMBBabyface has quit IRC
[18:21:02] *** mattvv has quit IRC
[18:21:05] *** richiebk_ has joined #angularjs
[18:21:13] *** deanclkclk has joined #angularjs
[18:21:29] *** m_rc has joined #angularjs
[18:21:44] *** mzabriskie has joined #angularjs
[18:21:50] *** doginal has joined #angularjs
[18:22:09] *** loverajoel has joined #angularjs
[18:22:47] *** ishan1604 has joined #angularjs
[18:22:48] *** richiebkr has quit IRC
[18:22:50] *** Torrieri has quit IRC
[18:23:16] *** jonathanpglick has joined #angularjs
[18:23:17] <icfantv> cavallari: there's good books out there
[18:23:25] *** Torrieri has joined #angularjs
[18:23:26] *** nachinius has quit IRC
[18:23:28] *** shacklef_ has joined #angularjs
[18:23:36] <icfantv> cavallari: there's the angularjs PDF, lemme find the title
[18:24:44] *** shacklef_ has quit IRC
[18:24:51] *** phrozensilver has joined #angularjs
[18:25:17] *** shacklef_ has joined #angularjs
[18:25:43] *** tyson2 has joined #angularjs
[18:25:43] *** jlebrech has quit IRC
[18:26:03] *** adrrr has joined #angularjs
[18:26:10] *** shackleford has quit IRC
[18:26:28] *** Joy has joined #angularjs
[18:27:02] *** pspfolio has quit IRC
[18:27:45] *** Torrieri has quit IRC
[18:27:52] <cavallari> ng-book ?
[18:28:12] *** _mtr has joined #angularjs
[18:28:20] *** edy has quit IRC
[18:28:29] *** elrabin has quit IRC
[18:28:38] *** adrrr has quit IRC
[18:29:02] *** m8 has quit IRC
[18:29:02] *** elrabin has joined #angularjs
[18:29:08] *** Joy__ has joined #angularjs
[18:29:56] *** jmls has joined #angularjs
[18:30:23] <icfantv> cavallari: sorry, got side tracked by the CL games today. some GOOD matchups
[18:30:25] *** platonic has quit IRC
[18:30:27] *** phuh has joined #angularjs
[18:30:28] *** Joy has quit IRC
[18:30:36] <cavallari> ok
[18:30:37] *** IvailoStoianov has joined #angularjs
[18:30:48] <icfantv> cavallari: where are you from?
[18:30:51] <cavallari> Brazil
[18:30:59] <icfantv> cavallari: yea, ng-book
[18:31:03] <cavallari> ng-book seems to be good...
[18:31:14] <cavallari> i will try to find any store here before
[18:31:17] <icfantv> cavallari: it's not advanced
[18:31:26] *** HMBBabyface has joined #angularjs
[18:31:31] <cavallari> I dont need advanced right now
[18:31:42] <icfantv> cavallari: MEAP has angularjs in action
[18:32:07] *** boxmein has quit IRC
[18:32:18] *** robdubya has joined #angularjs
[18:32:25] *** say2joe has joined #angularjs
[18:32:32] *** richiebk_ has quit IRC
[18:32:44] *** richiebkr has joined #angularjs
[18:33:11] *** lexek__ has joined #angularjs
[18:33:11] *** rosshuggett has quit IRC
[18:33:17] *** pilva has quit IRC
[18:33:40] *** jdivock_ has quit IRC
[18:33:55] *** grantfunke_ has quit IRC
[18:34:05] *** josh-k_ has joined #angularjs
[18:34:17] *** mkulke has quit IRC
[18:34:18] *** sk87 has quit IRC
[18:34:22] *** fatshark has joined #angularjs
[18:34:52] *** dannyc has quit IRC
[18:35:22] *** brodul has quit IRC
[18:35:43] *** deanclkclk has quit IRC
[18:35:46] *** Ironlink has joined #angularjs
[18:36:10] *** HMBBabyface has quit IRC
[18:36:11] *** syphar_ has joined #angularjs
[18:36:36] *** yelvert has joined #angularjs
[18:36:41] *** platonic has joined #angularjs
[18:37:04] *** merpnderp has joined #angularjs
[18:37:10] *** sonofdirt has quit IRC
[18:37:17] *** elrabin has quit IRC
[18:37:19] *** josh-k has quit IRC
[18:37:21] *** ikevin has joined #angularjs
[18:37:29] *** brodul has joined #angularjs
[18:37:33] *** ukko has joined #angularjs
[18:37:46] *** kwmiebach has joined #angularjs
[18:37:49] *** sonofdirt has joined #angularjs
[18:37:54] *** AngularUI has joined #angularjs
[18:37:54]
<AngularUI> [ng-grid] brianchance opened pull request #2320: Fix paging and pagination to work with client side filtering (master...master) http://git.io/sHNV5w
[18:37:55] *** AngularUI has left #angularjs
[18:38:12] *** Siyfion has quit IRC
[18:38:53] *** seriema has quit IRC
[18:39:03] *** thumpba has quit IRC
[18:39:06] *** lebster has joined #angularjs
[18:39:20] *** seriema has joined #angularjs
[18:39:46] *** cuong_ has joined #angularjs
[18:40:59] *** m_rc has quit IRC
[18:41:11] *** jagga has joined #angularjs
[18:41:11] *** sheplu has quit IRC
[18:41:13] *** felipesabino has joined #angularjs
[18:41:15] *** g33k5z has quit IRC
[18:41:20] *** pilva has joined #angularjs
[18:41:26] *** sonofdirt has quit IRC
[18:41:27] *** joshtau has joined #angularjs
[18:41:41] *** sonofdirt has joined #angularjs
[18:41:43] *** g33k5z has joined #angularjs
[18:41:55] *** M8M has quit IRC
[18:42:08] *** H1FuelCell has quit IRC
[18:42:10] *** g33k5z has joined #angularjs
[18:42:15] *** merlinsbrain has joined #angularjs
[18:42:21] *** thumpba has joined #angularjs
[18:42:45] *** Immutef has joined #angularjs
[18:43:04] *** bbhoss has joined #angularjs
[18:43:07] *** thumpba has joined #angularjs
[18:43:46] *** seriema has quit IRC
[18:43:51] *** jagga_ has quit IRC
[18:43:51] *** doginal has quit IRC
[18:44:01] *** Afwas has quit IRC
[18:44:13] *** shackleford has joined #angularjs
[18:44:29] *** plex0r has joined #angularjs
[18:44:30] *** cmenscher has joined #angularjs
[18:44:30] <cavallari> why i have to use ['$scope',function($scope)... everytime instead of using directly function($scope) ??
[18:44:53] *** doginal has joined #angularjs
[18:44:54] *** shackleford has joined #angularjs
[18:45:28] <Shaz> Helps when you go to minify your code; It's not required if your not going to minify
[18:46:00] <plex0r> hi all i don't necessarily have a question pertaining to code, but how long would you estimate it would take to develop a kickstarter like webapp?
[18:46:21] <cavallari> for me is required, i´ve tryed without '$scope', but didnt work
[18:46:22] *** amtiskaw has joined #angularjs
[18:46:22] <cavallari> =(
[18:46:26] <cavallari> it´s not minified
[18:46:37] *** shacklef_ has quit IRC
[18:46:40] *** vassagus has joined #angularjs
[18:46:42] *** sheplu has joined #angularjs
[18:46:43] *** RobinBAwesome has joined #angularjs
[18:46:48] *** IsraelOrtuno has joined #angularjs
[18:47:09] <Shaz> If you don't use it then you decide to minify your code, function($scope) {} becomes something like function(a). Then, Angular tries to inject "a" but doesn't doesn't know what to do if "a" does not exists as a service or provider, etc...
[18:47:14] *** HMBBabyface has joined #angularjs
[18:47:16] *** tomengland_mbp has joined #angularjs
[18:47:17] *** jagga_ has joined #angularjs
[18:47:17] *** qwerty has joined #angularjs
[18:47:26] <qwerty> hi
[18:47:31] <cavallari> I inderstand..
[18:47:35] *** phzon has quit IRC
[18:47:40] <Dwarf> Hello folks
[18:47:44] *** qwerty is now known as Guest50008
[18:47:57] <Dwarf> I'm getting a quite vague error and I was hoping you guys could shed some light on it: TypeError: dbg is undefined
[18:48:22]
<Guest50008> Why with this code http://pastebin.com/iQgXvCBt ¿ I get " TypeError: undefined is not a function" on angular.js:92 please ?
[18:48:25] *** jacuqesdancona_ has joined #angularjs
[18:48:29] *** Grumelo has quit IRC
[18:48:33] *** Johnny13371337 has joined #angularjs
[18:48:56] <cavallari> $scope isnt shared between controllers??
[18:49:23] <ingsoc> cavallari: are you still passing an array to controller
[18:49:31] <Shaz> Child controllers inherit, yes
[18:49:38] *** merobertsjr has joined #angularjs
[18:49:49] <Shaz> But not separate controlle, no
[18:49:58] *** Guest22 has joined #angularjs
[18:50:01] <Shaz> @cavallari Care to write up a quick jsfiddle or jsbin?
[18:50:37] *** Gabriel403 has quit IRC
[18:51:03] *** jagga has quit IRC
[18:51:04] *** bbankes has joined #angularjs
[18:51:07] *** dmack has joined #angularjs
[18:51:44] *** HMBBabyface has quit IRC
[18:51:50] <ingsoc> yourApp.controller('ControllerName, function($scope) { your code }) if you aren't minifying and want to use the method you describe
[18:52:01] *** ceej_irccloud has joined #angularjs
[18:52:06] *** frozenice_ has joined #angularjs
[18:52:08] <ingsoc> cavallari:^
[18:52:20] *** Guest50008 is now known as qwerty2
[18:52:30] *** jheady has joined #angularjs
[18:52:36] *** qwerty2 is now known as qwerty11
[18:52:49] *** jacuqesdancona_ has quit IRC
[18:53:03] <jaawerth> argh is plnkr seriously the only service out there that lets you put in your own <head> tags? I need to demonstrate someting to a coworker and of course none of the crap works, and I HAD to need to do this while plnkr is down
[18:53:04] *** Torrieri has joined #angularjs
[18:53:07] * jaawerth digs up a server somewhere
[18:53:31]
<qwerty11> Why with this code http://pastebin.com/iQgXvCBt ¿ I get " TypeError: undefined is not a function" on angular.js:92 please ? This is my second example and I cant add a factory to my example
[18:53:40] *** jheady has left #angularjs
[18:53:50] *** juanlas has quit IRC
[18:53:52] *** IvailoStoianov_ has joined #angularjs
[18:53:59] *** Marble68 has quit IRC
[18:54:30] *** richburke__ has joined #angularjs
[18:54:55] *** ukko has quit IRC
[18:55:26] *** ukko has joined #angularjs
[18:55:39] *** IvailoStoianov has quit IRC
[18:55:41] *** IvailoStoianov_ is now known as IvailoStoianov
[18:55:54] *** ukko has quit IRC
[18:56:06] *** jMyles has joined #angularjs
[18:56:11] *** jagga__ has joined #angularjs
[18:56:34] *** knownasilya has joined #angularjs
[18:56:39] <tristanp> qwerty11: just scanning through, looks like you gave your postService its own module and then didn't include it in your main app?
[18:56:40] *** jagga__ has quit IRC
[18:56:40] *** Christer has joined #angularjs
[18:56:52] *** rev087 has joined #angularjs
[18:57:00] *** s00pcan_ has quit IRC
[18:57:03] *** jheady1 has joined #angularjs
[18:57:13] *** aslate has quit IRC
[18:57:14] *** afuggini has joined #angularjs
[18:57:21] <tristanp> qwerty11: also, this line isn't right: app.controller("homeController", ['$scope', 'Tarea'], function($scope,$http, Tarea)
[18:57:23] *** jheady1 has left #angularjs
[18:57:39] <jaawerth> Shaz: never heard of liveweave - thanks!
[18:57:53] *** goodenough has quit IRC
[18:57:55] *** nn has joined #angularjs
[18:57:59] <qwerty11> tristanp:I add postService on line 16
[18:58:15] <qwerty11> how would be the line that you say me ok?
[18:58:16] *** mennea has joined #angularjs
[18:58:16] *** ZucchiniZe has joined #angularjs
[18:58:17] *** Afwas has joined #angularjs
[18:58:19] *** nn is now known as Guest74220
[18:58:23] *** jstroem has quit IRC
[18:58:29] *** Guest74220 has left #angularjs
[18:58:43] *** shawnzhu has joined #angularjs
[18:58:45] <tristanp> qwerty11: yes, you include the file, but it is namespaced under the module postService. your main app has to inject it along with ngRoute
[18:58:48] *** epickillerpigz has joined #angularjs
[18:58:59] *** jstroem has joined #angularjs
[18:59:03] *** shadowhand has joined #angularjs
[18:59:13] <tristanp> so your app declaration should be var app = angular.module("app", ['ngRoute', 'postService']);
[18:59:16] *** d4rklit3 has joined #angularjs
[18:59:54] *** jagga_ has quit IRC
[19:00:02] <Dwarf> When visiting #/posts I don't get the error
[19:00:08] *** Wizek has joined #angularjs
[19:00:18] *** pzuraq has joined #angularjs
[19:00:38] <nickeddy> has anyone else had an issue with batarang recently? it completely destroys my angular apps when i enable it
[19:00:53] *** yoshokatana has quit IRC
[19:01:10] <tristanp> nickeddy: I just started angular a few months ago and I've never had batarang not wreck my shit
[19:01:15] *** aendrew has quit IRC
[19:01:27] <nickeddy> tristanp: first time encountering it now lol
[19:01:28] *** aslate has joined #angularjs
[19:01:34] *** williamtdr has joined #angularjs
[19:01:39] <snapwich> nickeddy: i was getting a weird 'can't read property "flush" of undefined today' that i've never got before
[19:01:40] <tristanp> qwerty11: yep, there is a separate bug, on line 37
[19:01:40] *** ukko has joined #angularjs
[19:01:45] <snapwich> it was in hint.js which ended up being batarang
[19:01:47] <Dwarf> afk
[19:01:54] *** Tiruri has joined #angularjs
[19:01:55] *** Shaz has quit IRC
[19:02:11] *** Shaz has joined #angularjs
[19:02:15] *** tomengland_mbp has quit IRC
[19:02:21] *** phuh has quit IRC
[19:02:30] *** KushS has quit IRC
[19:02:35] *** SonikBoom has quit IRC
[19:02:40] *** MaxV has quit IRC
[19:02:44] *** cojack has quit IRC
[19:02:46] <qwerty11> tristanp:what is wrong on line 37?
[19:02:49] *** phuh has joined #angularjs
[19:02:50] *** janoelze has joined #angularjs
[19:02:55] *** ngbot has joined #angularjs
[19:02:55]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/jtTu_w
[19:02:56] <ngbot> angular.js/master 5d28d19 Danny Callaghan: docs(guide/Animations): fix punctuation...
[19:02:56] *** ngbot has left #angularjs
[19:03:01] *** HMBBabyface has joined #angularjs
[19:03:09] *** jstroem has quit IRC
[19:03:10] <nickeddy> snapwich: yeah, hint.js
[19:03:10] *** ycodr has quit IRC
[19:03:27] <snapwich> nickeddy: i just uninstalled it. I don't really use batarang much anymore anyways
[19:03:41] *** ycodr has joined #angularjs
[19:03:52] <jaawerth> this is actually a thing. batarang hadn't been updated in a long, long time
[19:04:00] <jaawerth> er, a good thing
[19:04:24] <jaawerth> maybe once they get through the bugs it will be up-to-date with 1.3 and have useful new features (and also not break webpages even when you aren't debugging)
[19:04:25] *** ngbot has joined #angularjs
[19:04:25]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/Ysnbjw
[19:04:25] <ngbot> angular.js/master c437d0a thorn0: docs(CHANGELOG.md): better group changes in 1.3.6...
[19:04:25] *** ngbot has left #angularjs
[19:04:48] *** platonic has quit IRC
[19:04:52] <nickeddy> snapwich: same, that fixed it
[19:04:56] *** aendrew has joined #angularjs
[19:05:00] <jaawerth> in the meantime there's always nginspector
[19:05:01] *** josh-k_ has quit IRC
[19:05:05] *** SargoDarya has joined #angularjs
[19:05:05] <nickeddy> forgot i even had it installed
[19:05:05] *** AngularUI has joined #angularjs
[19:05:05]
<AngularUI> [ng-grid] c0bra closed pull request #2318: Remove prevent defaults blocking actions on mobile (master...master) http://git.io/3e0VTw
[19:05:05] *** AngularUI has left #angularjs
[19:05:08] <jaawerth> or, just, you know, breakpoints
[19:05:26] <nickeddy> debugger;
[19:05:37] *** Wizek has quit IRC
[19:05:51] *** wallerdev has joined #angularjs
[19:05:59] <jaawerth> yeah - though angular-specific memory profiling is a useful thing
[19:06:01] *** tangorri has quit IRC
[19:06:03] <tristanp> I use console logs and debugger, bataran and nginspector have always been more trouble than they're worth for me. Which is odd because back when I was doing Ember, the Ember inspector was really handy
[19:06:35] *** ngbot has joined #angularjs
[19:06:35]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/4B57wA
[19:06:35] <ngbot> angular.js/master 4025883 Rouven Weßling: fix($http): don't convert FormData objects to JSON...
[19:06:35] *** ngbot has left #angularjs
[19:06:38] *** a3gis has quit IRC
[19:06:50] <jaawerth> the one thing I'm excited to try is a sublimetext plugin I recently installed that supposedly allows you to do the debugging and breakpoints in devtools right in sublime
[19:06:51] <rev087> tristanp: I'll update ng-inspector soon, client work has been eating me alive
[19:07:14] *** HMBBabyface has quit IRC
[19:07:44] <jaawerth> rev087: Hey, you currently have the only working Angular devtool extension (that I know of)!
[19:07:58] *** nerder has quit IRC
[19:07:59] *** Christer has quit IRC
[19:08:03] *** ycodr has quit IRC
[19:08:09] <tristanp> rev087: it's not that I can think of anything particularly wrong with it. come to think of it, I think the ember inspector was more useful because ember apps are more rigid in their structure, so the inspector could provide better display of info. There's no good way to do an angular inspector as the maze of services, controllers and directives will have a different feel in every angular app
[19:08:50] *** jga_ has joined #angularjs
[19:08:51] *** ycodr has joined #angularjs
[19:09:01] *** ggrzybek_afk is now known as ggrzybek
[19:09:09] *** aendrew has quit IRC
[19:09:32] *** H1FuelCell has joined #angularjs
[19:09:52] *** SargoDarya has quit IRC
[19:10:10] *** platonic has joined #angularjs
[19:10:29] *** epantzar has joined #angularjs
[19:10:30]
<qwerty11> tristanp:I read the link that you pass me and I change the controller (http://pastebin.com/VwkLsX9x lines 37-41) but the same error still is there
[19:11:00] *** bobbyd918_ has joined #angularjs
[19:11:04] *** Ix-Xitan has joined #angularjs
[19:11:05] *** Ix-Xitan is now known as PointBlank
[19:11:14] *** PointBlank is now known as Ix-xitan
[19:11:29] *** jdivock_ has joined #angularjs
[19:11:36] *** dacuca has quit IRC
[19:11:53] <tristanp> qwerty11: line 41 should be }]);
[19:12:29] *** elrabin has joined #angularjs
[19:12:32] *** bbankes has quit IRC
[19:13:53] *** lsiv568 has joined #angularjs
[19:13:54] <rev087> jaawerth: I've got reports that it's breaking with the new angular chrome dev tools
[19:13:54] *** bbankes has joined #angularjs
[19:13:59] <rev087> I'll investigate
[19:14:12] <jaawerth> ah, well then!
[19:14:15] *** Christer has joined #angularjs
[19:14:17] *** mzabriskie has quit IRC
[19:14:58] *** epantzar has quit IRC
[19:15:06] *** lowell has joined #angularjs
[19:15:29] *** OnkelTem has quit IRC
[19:15:35] *** robdubya has quit IRC
[19:15:40] *** g33k5z has quit IRC
[19:15:40] *** dotty has joined #angularjs
[19:15:43] *** areologist has joined #angularjs
[19:15:47] *** duall has quit IRC
[19:15:58] <jaydubya> I created an "edit-in-place" directive and thinking I would only use it for currency I hard-coded the currency filter into the directive. Then I realized I needed it for percents as well so I copy-pasted the directive (ugh) named the new one percent-edit-in-place and hardcoded the number filter with 1 decimal place and the % sign after the value. Now I realize I need on for phone number, ssn, and so on. Realizing cop
[19:15:58]
<jaydubya> y-paste is not my friend, I want to refactor to pass in the filter (if any). However, I have probably 2000 edit-in-place for currency in place in my app. Is there a way to refactor this directive but have the new type attribute default to currency? https://gist.github.com/anonymous/6ab3cf4d18e12959e885
[19:16:06] *** g33k5z has joined #angularjs
[19:16:12] *** jdivock_ has quit IRC
[19:16:15] *** nhoening has joined #angularjs
[19:16:32] *** JohnBat26 has quit IRC
[19:16:33] <areologist> anyone know of a quick way to enumerate current scopes in the console without batarang?
[19:16:43] *** boxmein has joined #angularjs
[19:16:52] *** OnkelTem has joined #angularjs
[19:16:57] *** intellix has quit IRC
[19:16:57] *** Sebastien-L has quit IRC
[19:17:08] <areologist> I just want to make sure scopes are being cleaned up properly but the latest update to batarang is a mess
[19:17:29] *** nemothekid has quit IRC
[19:17:31] <icfantv> 'controller as' syntax is supposed to work inside of nested controllers, right? e.g. <body ng-controller='ControllerOne as ControllerOne'><div ng-controller="ControllerTwo"><div ng-if='ControllerOne.foo()'></div></div></body>
[19:17:40] <jaydubya> I had to uninstall Batarang just to see my app this morning
[19:17:51] <Shaz> Supposed to yes, @icfantv
[19:18:05] *** doginal has quit IRC
[19:18:21] <uris77> I know the general convention when declaring dependencies is to specify the angular (those that start with $) first. Is there any documentation out there I can refer to that describes this?
[19:18:44] *** HMBBabyface has joined #angularjs
[19:18:45] *** Christer_ has joined #angularjs
[19:18:50] *** tomphp has joined #angularjs
[19:19:12] *** ggrzybek has quit IRC
[19:19:22] <icfantv> shaz: thanks
[19:19:32] *** Stichoza has joined #angularjs
[19:19:59] *** whitebook has joined #angularjs
[19:20:22] *** g33k5z has quit IRC
[19:20:31] *** mzabriskie has joined #angularjs
[19:20:32] *** doginal has joined #angularjs
[19:20:32] *** eshlox has joined #angularjs
[19:20:41] *** \du has quit IRC
[19:20:54] *** mogaj has joined #angularjs
[19:20:55] *** doginal has quit IRC
[19:21:05] <tristanp> uris77: we don't have documentation for the most basic of things so I would be surprised if this was documented ^.^
[19:21:09] *** jareddlc has joined #angularjs
[19:21:26] *** Christer has quit IRC
[19:21:31] <uris77> ok. I remember reading it somewhere, but can't recall.
[19:21:32] *** Christer_ is now known as Christer
[19:22:04] <uris77> Reviewing someone's code and I recommended that the order of the deps be changed, but they think I'm just pulling it out of my ass.
[19:22:05] *** goodenough has joined #angularjs
[19:22:34] *** ngeksyo has quit IRC
[19:22:36] *** Christer has quit IRC
[19:22:37] *** mogaj has quit IRC
[19:22:41] *** mzabriskie has quit IRC
[19:23:06] *** KushS has joined #angularjs
[19:23:19] *** HMBBabyface has quit IRC
[19:23:45] *** Dave321 has joined #angularjs
[19:23:49] <wafflej0ck> uris77: yeah it's just convention someone may have written about it somewhere but there's no hard rules about the order of injected parameters
[19:24:28] *** robdubya has joined #angularjs
[19:24:35] *** Gabriel403 has joined #angularjs
[19:24:35] *** Gabriel403 has joined #angularjs
[19:24:48] *** Tiruri has quit IRC
[19:24:58] *** aslate has quit IRC
[19:25:07] <Shaz> If you introducing minifiers, then the order does matter
[19:25:25] *** ChadStrat has joined #angularjs
[19:25:36] <jaydubya> if I use the compile function in a directive, isn't the link function ignored?
[19:25:37] *** oncenull has quit IRC
[19:25:45] <Dave321> Let's say I have a template, and I want to bind to the first element of an array which is not defined. I only want the array to be defined if the user inputs data. How can I do this? Example: <input ng-model="person.friends[0]" /> In this, I only want person to have a friends array if the user fills out the input box, otherwise, I don't want it."
[19:25:47] *** AlSquirrel has quit IRC
[19:27:10] <uris77> yeah, we are using minifiers.
[19:27:28] <Dave321> Currently, that code throws an error, cannot set property '0' of undefined, where friends is not defined
[19:27:43] *** mennea has quit IRC
[19:27:44] *** debunk has joined #angularjs
[19:27:46] *** stephen has quit IRC
[19:28:24] *** mennea has joined #angularjs
[19:28:30] *** Xaleph has joined #angularjs
[19:28:37] *** DaveDH2 has joined #angularjs
[19:28:45] *** themime has joined #angularjs
[19:29:39] *** kirfu has joined #angularjs
[19:30:08] *** prettymuchbryce has joined #angularjs
[19:30:17] *** soee has joined #angularjs
[19:30:18] *** Nivag_ has joined #angularjs
[19:30:21] <Shaz> If that's the case @uris77, order matters. You'll also need to manually specify the service/provider names to inject
[19:30:40] <icfantv> jaawerth: didyou get liveweave working w/ angular?
[19:30:49] *** BahamutWC|Work has joined #angularjs
[19:31:00] *** tomphp has quit IRC
[19:31:03] *** shackleford has quit IRC
[19:31:29] <jaawerth> icfantv: nah, I'd already thrown my example up on one of my test servers
[19:31:30] *** Gabriel403 has quit IRC
[19:31:57] <uris77> @Shaz we are specifying the service/provider names, I'm trying to get all the code to follow the 'convention' of specifying angular deps first. But need to find some references to make my case.
[19:32:02] <icfantv> jaawerth: ok. liveweave doesn't look like it's playing nicely
[19:32:35] *** guilbep has quit IRC
[19:32:57] *** jtimon has quit IRC
[19:33:46] *** Stichoza has quit IRC
[19:34:26] *** qwerty11 has quit IRC
[19:34:33] *** diosney has quit IRC
[19:34:33] *** HMBBabyface has joined #angularjs
[19:34:36] <jsheely> Anyone know how to refresh a directive based on a property change?
[19:35:29] <jsheely> I have a $compile operation where I am dynmically adding html and configuring ng-model properties. I need to re-render the directive (to fetch new data from server) on a property change
[19:35:34] *** Gabriel403 has joined #angularjs
[19:35:35] *** Gabriel403 has joined #angularjs
[19:35:46] *** cheef has joined #angularjs
[19:35:49] *** robdubya has quit IRC
[19:35:59] *** dannyc has joined #angularjs
[19:36:08] *** a3gis has joined #angularjs
[19:36:13] *** Leon has quit IRC
[19:36:29] <jaawerth> icfantv: yeah, it seems to hate using a CDN at least, and I'll be damned if I'm going to use 1.0.7 voluntarily (which is what they have built in)
[19:36:49] <jsheely> I'm about 2 seconds away from simply removing and re-adding the directive. But seems like there is a smarter way
[19:36:49] *** wooz86 has joined #angularjs
[19:37:22] <Shaz> Angular stuff first, then your stuff, is how I've seen most do it. I don't have any references at the moment, however. I think there was a Pluralsight video about it...
[19:37:31] *** dc_ has joined #angularjs
[19:37:38] <icfantv> jaawerth: works with 1.2.x
[19:37:41] <icfantv> not 1.3.x
[19:37:47] <jaawerth> bleh
[19:37:50] <jaawerth> YOU CAN'T MAKE ME GO BACK
[19:37:51] <icfantv> i know
[19:37:53] <icfantv> hahahaha
[19:38:03] <jaawerth> haha anyway, back later
[19:39:07] <icfantv> works on 1.2.14 and <
[19:39:09] <icfantv> breaks on >
[19:39:12] *** arpu has quit IRC
[19:39:15] *** patrick99e99 has joined #angularjs
[19:39:16] *** HMBBabyface has quit IRC
[19:39:41] *** aliocha has quit IRC
[19:39:48] *** dc has quit IRC
[19:39:59] *** ProLoser has joined #angularjs
[19:40:16] *** richiebkr is now known as richiebkr_afk
[19:40:18] *** dannyc has quit IRC
[19:40:27] *** richiebkr_afk has quit IRC
[19:40:37] *** richiebkr_afk has joined #angularjs
[19:40:41] *** mlpug has joined #angularjs
[19:40:47] *** djvirgen has joined #angularjs
[19:40:51] *** whitebook has quit IRC
[19:41:07] *** bengillies has quit IRC
[19:41:37] *** whitebook has joined #angularjs
[19:42:53] *** thumpba has quit IRC
[19:43:05] *** thumpba has joined #angularjs
[19:43:23] *** thumpba has quit IRC
[19:43:56] *** thumpba has joined #angularjs
[19:43:57] *** fedenunez1 has joined #angularjs
[19:44:24] *** ProLoser has quit IRC
[19:44:53] *** jkevinburton has joined #angularjs
[19:45:10] *** robdubya has joined #angularjs
[19:45:18] *** nemothekid has joined #angularjs
[19:45:48] *** jharbaugh has joined #angularjs
[19:46:03] *** fedenunez has quit IRC
[19:47:05] *** qdk has joined #angularjs
[19:48:27] *** gauravsaini03 has quit IRC
[19:49:37] *** Sky[x] has quit IRC
[19:50:04] *** jchamberlain has joined #angularjs
[19:50:16] *** HMBBabyface has joined #angularjs
[19:50:41] *** vassagus has quit IRC
[19:50:47] *** tfennelly has joined #angularjs
[19:51:40] *** azizur has quit IRC
[19:51:57] *** wartech1 has quit IRC
[19:52:10] *** erikruthven has joined #angularjs
[19:53:13] *** KushS has quit IRC
[19:53:16] *** bullicon has joined #angularjs
[19:54:12] *** MaxV has joined #angularjs
[19:54:23] *** edy has joined #angularjs
[19:54:46] *** HMBBabyface has quit IRC
[19:55:01] *** prbc has quit IRC
[19:55:29] *** tkimmel has joined #angularjs
[19:55:34] *** prbc has joined #angularjs
[19:57:00] *** rhp has joined #angularjs
[19:57:05] *** jstroem has joined #angularjs
[19:57:10] <icfantv> wtf. 'controller as' syntax is so damn straight forward, why isn't working.....
[19:57:26] *** DrMabuse_ has joined #angularjs
[19:57:46] *** mennea has quit IRC
[19:58:21] *** mennea has joined #angularjs
[19:58:55] *** vassagus has joined #angularjs
[19:59:03] *** Guest22 has quit IRC
[19:59:24] <chachan> cilkay: hi, I saw you were talking about django compressor and angular yesterday, how did it go?. I need to add something like background-image: url({{ STATIC_URL }}/img/example.png) inside an angular template. I tried setting a value provider, it loads the image but it also throws a 404 like %7B%7B%20STATIC_URL%20%7D%7Dimg/example.png
[19:59:28] *** Anton_ has quit IRC
[19:59:42] *** avree has joined #angularjs
[20:00:19] *** prbc has quit IRC
[20:00:27] *** bkuberek_ has quit IRC
[20:00:31] <chachan> cilkay: I use a value provider since django won't render an angular template
[20:00:33] *** Guest22 has joined #angularjs
[20:00:39] *** fouadm has quit IRC
[20:00:58] *** bkuberek has joined #angularjs
[20:00:59] *** IJNX has joined #angularjs
[20:01:08] *** DrMabuse has quit IRC
[20:01:36] *** a3gis has quit IRC
[20:01:37] *** shackleford has joined #angularjs
[20:01:39] *** elrabin_ has joined #angularjs
[20:02:07] *** DrMabuse_ has quit IRC
[20:02:28] *** phuh has quit IRC
[20:02:28] *** elrabin_ has quit IRC
[20:02:51] *** {DV8} has joined #angularjs
[20:02:55] *** MaxV has quit IRC
[20:02:56] *** phuh has joined #angularjs
[20:03:05] *** ChadStrat has quit IRC
[20:03:10] *** bkuberek_ has joined #angularjs
[20:03:11] *** ishan1604 has quit IRC
[20:03:16] *** richiebkr_afk has quit IRC
[20:03:24] *** a3gis has joined #angularjs
[20:03:26] *** elrabin_ has joined #angularjs
[20:04:06] *** doginal has joined #angularjs
[20:04:14] *** jdivock_ has joined #angularjs
[20:04:14] *** bkubere__ has joined #angularjs
[20:04:33] *** panzon has joined #angularjs
[20:04:35] *** Juanchito has quit IRC
[20:04:42] <nickeddy> chachan: protip: don't do both django templating and angular templating at the same time
[20:04:49] *** elrabin has quit IRC
[20:05:15] *** bkuberek has quit IRC
[20:05:18] *** Greed has quit IRC
[20:05:28] <chachan> nickeddy: thanks, I'm not doing both. I'm only rendering index.html, rest is handled by angular
[20:05:29] *** umib0zu has joined #angularjs
[20:05:50] *** pzuraq has quit IRC
[20:06:02] *** HMBBabyface has joined #angularjs
[20:06:02] *** david_boling has quit IRC
[20:06:12] *** shackleford has quit IRC
[20:06:15] <nickeddy> dmack: well i can state already i dislike atscript
[20:06:30] *** erikruthven has quit IRC
[20:06:54] <chachan> nickeddy: I'm returning json objects. I'm inserting a JSON object in the index.html, it has the STATIC_URL value then I read it and inject it using a value provider
[20:06:59] <dmack> nickeddy: I'm trying to figure out what $SCRIPTS$ is in the .html page
[20:07:20] <chachan> nickeddy: seems to work but I also get a 404 error =/
[20:07:27] *** jheady has joined #angularjs
[20:07:31] *** Anton_ has joined #angularjs
[20:07:51] *** chrisshattuck has joined #angularjs
[20:08:04] <nickeddy> chachan: well static_url isn't going to change ever, so just make it an angular.constant() for your site config
[20:08:07] *** bkuberek_ has quit IRC
[20:08:20] *** shackleford has joined #angularjs
[20:08:26] *** maraneta has quit IRC
[20:08:57] *** jdivock_ has quit IRC
[20:09:15] *** marcjs has quit IRC
[20:09:20] <nickeddy> dmack: yeah, that must be for the build process. not sure
[20:09:30] <chachan> nickeddy: I guess I will put that in the index.html right?
[20:09:40] *** Sontakey has joined #angularjs
[20:09:55] *** doginal has quit IRC
[20:10:12] <chachan> I thought about that as well but I decided to try with the value provider first :(
[20:10:16] *** HMBBabyface has quit IRC
[20:10:36] *** cannap has joined #angularjs
[20:10:46] <Dave321> If I have a directive, and I have an attribute that's being passed into the scope, and that attribute is being set from an $http get in the parent controller, is there any way, in the directive's controller, to wait for the post to finish before accessing the object? Do I need to pass the promise into the directive?
[20:10:54] *** mpw has joined #angularjs
[20:11:06] *** Foxandxss has joined #angularjs
[20:11:19] *** sirkitree is now known as sirkitree|afk
[20:11:38] *** thumpba has quit IRC
[20:11:38] *** frankbli_ has joined #angularjs
[20:11:40] *** robdubya has quit IRC
[20:11:42] *** Sontakey has left #angularjs
[20:11:49] *** MaxV has joined #angularjs
[20:12:01] <BahamutWC|Work> angular 1.3.6 made an undocumented breaking change :(
[20:12:13] <nickeddy> BahamutWC|Work: where?
[20:12:19] *** sheplu has quit IRC
[20:12:27] <BahamutWC|Work> you cannot do controller: FooCtrl as Foo anymore
[20:12:39] *** shackleford has quit IRC
[20:12:41] <BahamutWC|Work> the change broke UI Router and anyone using that syntax
[20:12:46] <nickeddy> god damn it
[20:12:50] <nickeddy> that's how i use it
[20:12:56] <nickeddy> welp waiting for 1.3.7 then :P
[20:13:09] *** gladely has joined #angularjs
[20:13:14] *** shackleford has joined #angularjs
[20:13:38] *** richiebkr_afk has joined #angularjs
[20:13:40] <dmack> do you have to use controllerAs?
[20:13:43] *** bullicon has quit IRC
[20:13:51] <BahamutWC|Work> yes
[20:14:00] *** JBreit has quit IRC
[20:14:01] *** richiebkr_afk is now known as richiebkr
[20:14:03] *** richiebkr is now known as richardbkr
[20:14:05] *** frankblizzar has quit IRC
[20:14:34] <Foxandxss> BahamutWC|Work: I don't follow
[20:14:40] <nickeddy> how did they introduce that change and it didn't get rejected? ffs
[20:14:48] *** stormbytes has joined #angularjs
[20:14:55] <areologist> also beware of yesterday's batarang update. it's pretty broken.
[20:16:03] <jaydubya> Is plunker deceased?
[20:16:18] *** levidTablet has joined #angularjs
[20:16:20] <nickeddy> jaydubya: it would appear so
[20:16:29] *** KushS has joined #angularjs
[20:16:33] <areologist> if you run batarang try turning it off or uninstalling it; my stuff was hosed until I did this
[20:16:50] <jaydubya> we should send flowers?
[20:16:55] *** jheady1 has joined #angularjs
[20:17:02] *** jheady1 has left #angularjs
[20:17:04] <Foxandxss> I'll ping Geoff bout that
[20:17:04] <BahamutWC|Work> ah, it looks like it’s batarang
[20:17:06] *** tristanp has quit IRC
[20:17:18] *** Inge- has quit IRC
[20:17:18] <areologist> the chrome webstore has a pile of pissed off reviews from the past 24 hours on batarang.
[20:17:23] <jaydubya> New Batarang == 'evil'
[20:17:29] <nickeddy> BahamutWC|Work: oh nvm then thank jesus
[20:17:32] <BahamutWC|Work> ugh....
[20:17:43] <nickeddy> yeah i had to uninstall it earlier today, forgot it was even installed. some issue with hint.js
[20:17:55] <jaydubya> I wonder if plunker was assassinated by Batarang?
[20:18:00] <BahamutWC|Work> yep, it’s hint.js that’s wrong here
[20:18:12] *** xesus has joined #angularjs
[20:18:19] <BahamutWC|Work> guess I’m switching to ng-inspector then
[20:18:25] <nickeddy> ^
[20:18:33] *** jdivock_ has joined #angularjs
[20:18:49] <jaawerth> It'll be fixed. In the meantime, I just disabled it
[20:18:50] *** mennea_ has joined #angularjs
[20:18:54] *** jheady has quit IRC
[20:19:08] <jaawerth> someone should probably put something about it in the topic channel, though
[20:19:09] *** Anton_ has quit IRC
[20:19:10] *** xesus has left #angularjs
[20:19:17] *** neilff has quit IRC
[20:19:30] *** frem has joined #angularjs
[20:19:31] <Foxandxss> but batarang did work in the past?
[20:19:46] <jaawerth> well, it didn't break every angular page you went to
[20:19:49] <areologist> it worked before yesterday, Fox
[20:20:06] <Foxandxss> fair enough
[20:20:07] *** mennea has quit IRC
[20:20:12] <Foxandxss> I don't use it
[20:20:43] <jaawerth> I've had it installed for months, I maybe used it for some memory profiling once or twice
[20:20:44] *** Marble68 has joined #angularjs
[20:20:49] *** Gay-champion has joined #angularjs
[20:20:52] <areologist> the chrome store comments document the tragedy. starting yesterday there's a flood of 1-star reviews saying it's broken
[20:20:54] <Gay-champion> anyone here is a programmer unity 3d? 8'à
[20:21:00] <jaawerth> usually I just poked around with it, thought "This is kinda neat I guess", and never did anything with it
[20:21:11] *** Dave321 has quit IRC
[20:21:23] <jaawerth> poor btford
[20:21:24] <BahamutWC|Work> it’s nice at least for the element $scope inspection done in the regular Elements tab
[20:21:42] <jaawerth> ah, that's true
[20:21:45] *** frem_ has joined #angularjs
[20:21:51] *** HMBBabyface has joined #angularjs
[20:22:09] *** plato has joined #angularjs
[20:22:50] <areologist> I mainly use it while developing to check that scopes and bindings are coming and going as I expect, and to check for glaring perf bugs
[20:22:53] *** jpstone has quit IRC
[20:23:24] *** g33k5z has joined #angularjs
[20:23:53] *** __danima_ has quit IRC
[20:23:54] *** __danimal__ has joined #angularjs
[20:23:59] *** Inge- has joined #angularjs
[20:24:03] *** prosper_ has joined #angularjs
[20:24:13] *** tfennelly has quit IRC
[20:24:22] *** fourq is now known as daryjshaber
[20:24:27] *** daryjshaber is now known as fourq
[20:24:38] *** chrisbirk has joined #angularjs
[20:25:32] *** Silne30_ has joined #angularjs
[20:25:40] *** sigurding has joined #angularjs
[20:25:52] *** doginal has joined #angularjs
[20:25:53] *** snapwich has quit IRC
[20:26:01] *** wooz86 has left #angularjs
[20:26:22] *** davi has joined #angularjs
[20:26:28] <jaydubya> BahamutWC|Work: thanks for mentioning ng-inspector -- I very much prefer it over Batarang anyway
[20:26:31] *** HMBBabyface has quit IRC
[20:27:10] *** phuh has quit IRC
[20:27:16] *** Anton_ has joined #angularjs
[20:28:06] *** Rob__ has quit IRC
[20:28:13] *** Silne30 has quit IRC
[20:28:18] *** cacts|works has quit IRC
[20:28:33] *** shampine has joined #angularjs
[20:28:36] <dmack> is ngInspector for chrome?
[20:28:42] *** chrisbirk has quit IRC
[20:28:43] <nickeddy> dmack: yep
[20:28:43] <dmack> safari only the last time i checked
[20:28:46] <dmack> oh snap
[20:29:53] *** cacts|works has joined #angularjs
[20:29:58] <dmack> it shows up blank?
[20:30:00] <dmack> lol
[20:31:31] <dmack> yep. doesn't load. aweosme
[20:31:42] *** pilva has quit IRC
[20:31:47] <areologist> yeah, thanks for mentioning ng-inspector. using it now and it's working out just fine.
[20:31:50] <BahamutWC|Work> search for ng-inspector
[20:32:02] <BahamutWC|Work> I still have batarang installed, just disabled it for now
[20:32:15] <dmack> ng-inspector doesnt load either
[20:32:34] *** chrisbirk has joined #angularjs
[20:32:50] *** richardlitt has joined #angularjs
[20:32:59] *** morenoh149 has quit IRC
[20:33:02] *** arkanciscan has joined #angularjs
[20:33:02] <BahamutWC|Work> it loads for me - you have to restart your browser I believe
[20:33:06] *** neilff has joined #angularjs
[20:33:35] <dmack> tried that
[20:33:53] <nickeddy> ctanga: may have found a bug in ui-router just for you
[20:34:06] <ctanga> yay
[20:34:08] <Gay-champion> Who is a transexual gay here ?
[20:34:29] <Foxandxss> Gay-champion: this is not the correct channel for those questions
[20:34:52] *** diosney has joined #angularjs
[20:35:10] <nickeddy> ctanga: i may have a pr for it though, let me see if this fixes
[20:35:11] <themime> Gay-champion: we don't mind going off topic once in a while, but its usually something semi related like mean stack opinions or which IDE people like to use
[20:35:28] *** cheef has quit IRC
[20:35:28] *** amortimer has joined #angularjs
[20:35:37] *** shawnzhu has quit IRC
[20:35:38] *** richardlitt has quit IRC
[20:35:56] *** richardlitt has joined #angularjs
[20:36:00] *** aslate has joined #angularjs
[20:36:08] *** phzon has joined #angularjs
[20:37:37] *** HMBBabyface has joined #angularjs
[20:38:06] *** g33k5z has quit IRC
[20:38:29] *** avree has quit IRC
[20:38:33] *** 64MABCFAN has joined #angularjs
[20:39:03] *** pknordic has joined #angularjs
[20:39:13] *** h0ru5 has joined #angularjs
[20:39:18] *** mzabriskie has joined #angularjs
[20:39:29] *** cpfaresn has joined #angularjs
[20:39:47] *** mzabriskie has quit IRC
[20:39:56] *** cpfaresn has quit IRC
[20:40:09] *** mtsr has joined #angularjs
[20:40:14] *** richardlitt has quit IRC
[20:40:26] *** aslate has quit IRC
[20:40:41] *** phzon has quit IRC
[20:40:42] *** sigurding has quit IRC
[20:41:34] *** dc_ has quit IRC
[20:42:14] <nickeddy> ctanga: weird. that bug was there and now i can't replicate it. meh
[20:42:16] *** HMBBabyface has quit IRC
[20:42:20] <Foxandxss> Plunker will be live tomorrow again
[20:42:25] <ctanga> what was it doing
[20:42:47] *** nuizzy has joined #angularjs
[20:43:10] *** 64MABCFAN has quit IRC
[20:43:15] *** amortimer has quit IRC
[20:43:22] *** ChadStrat has joined #angularjs
[20:43:38] *** pknordic has quit IRC
[20:44:03] *** jhertz has joined #angularjs
[20:44:04] <nickeddy> ctanga: doing a $state.go('home') while already at 'home' state would give an error trying to access $state.$current.locals['@'];
[20:44:18] *** dc has joined #angularjs
[20:44:43] *** MistahKurtz has quit IRC
[20:44:55] <nickeddy> and it's still doing it
[20:44:56] <nickeddy> damnit
[20:45:29] *** IsraelOrtuno has quit IRC
[20:46:04] *** IsraelOrtuno has joined #angularjs
[20:46:17] *** davi has quit IRC
[20:46:20] *** juampy has quit IRC
[20:46:20] *** Gay-champion has quit IRC
[20:46:39] <nickeddy> ctanga: $state.$current.locals is undefined, and it tries to access '@' of locals anyway
[20:46:47] <jhertz> I only get the error if Batarang is active, anyone have any idea on how to solve this?
[20:47:34] <ctanga> jhertz: downgrade to 0.4.3 batarang
[20:47:36] *** shackleford has quit IRC
[20:47:40] *** frem has quit IRC
[20:47:41] *** frem_ is now known as frem
[20:47:44] *** tristanp has joined #angularjs
[20:47:45] *** mzabriskie has joined #angularjs
[20:47:46] <ctanga> nickeddy: looks like it should be checking if $current.locals before dereferencing
[20:48:01] <nickeddy> ctanga: adding that in doesn't help
[20:48:09] <nickeddy> just moves the error down
[20:48:26] <nickeddy> still trying to access it there.
[20:48:28] <jhertz> ctanga: thanks so it is a Batarang issue then?
[20:48:32] *** mennea_ has quit IRC
[20:48:48] <ctanga> jhertz: yes, check twitter if you are curious
[20:49:09] *** mennea has joined #angularjs
[20:49:12] <jhertz> ctanga: thanks for the quick reply! will do
[20:49:19] <ctanga> nickeddy: how can you update a view when no state is loaded?
[20:49:33] *** RobinBAwesome has quit IRC
[20:49:35] <nickeddy> it is loaded already.
[20:49:55] <ctanga> $state.$current should never be empty, methinks, … hrm
[20:50:10] <ctanga> oh, state.$current.locals
[20:50:17] <nickeddy> yeah.
[20:50:20] <nickeddy> aka some bug somewhere.
[20:51:00] *** g33k5z has joined #angularjs
[20:51:09] *** IsraelOrtuno has quit IRC
[20:51:12] <nickeddy> it's not null, it's undefined
[20:51:19] *** d10n-work has joined #angularjs
[20:51:20] <ctanga> you sure?
[20:51:25] *** IsraelOrtuno has joined #angularjs
[20:51:28] *** joshontheweb has joined #angularjs
[20:51:36] *** Sontakey has joined #angularjs
[20:51:41] <nickeddy> double checking
[20:51:53] *** fairuz has quit IRC
[20:51:53] *** robdubya has joined #angularjs
[20:52:09] <nickeddy> nope it is null
[20:52:22] *** wartech1 has joined #angularjs
[20:52:22] *** wartech1 has joined #angularjs
[20:52:26] *** prosper_ has quit IRC
[20:52:29] <nickeddy> meaning what? updateView needs to check for a null locals?
[20:52:48] <ctanga> hmmm no, I don’t think so
[20:52:54] <ctanga> can you reproduce it now?
[20:53:13] *** Sontakey has left #angularjs
[20:53:20] *** HMBBabyface has joined #angularjs
[20:53:24] <nickeddy> no plnkr working :(
[20:53:29] <nickeddy> but yeah i'm still getting the error
[20:53:34] *** MaxV has quit IRC
[20:53:43] <ctanga> ok. this sounds familiar
[20:53:49] <ctanga> there’s an open bug, IIRC
[20:53:55] *** SargoDarya has joined #angularjs
[20:54:03] *** tristanp has quit IRC
[20:54:20] <nickeddy> changed the line where it checks if previousLocals === latestLocals
[20:54:26] <nickeddy> if ((!firstTime && previousLocals === latestLocals) || $state.$current.locals === null) return; // nothing to do
[20:54:36] <nickeddy> that fixed it, but probably broke everything else
[20:54:42] *** jheady1 has joined #angularjs
[20:54:51] *** jheady1 has left #angularjs
[20:54:52] <ctanga> i think the answer is: tough, wait for 1.0 ;)
[20:55:01] <ctanga> are you redirecting and stuff?
[20:55:03] <nickeddy> that's not a very good answer.
[20:55:37] <christo_m> i cant seem to get it to work
[20:55:39] *** elyssonmr has quit IRC
[20:55:41] <nickeddy> ctanga: can $state.go be called with nothing? this is part of redirecting away from authorized states
[20:55:50] *** sheplu has joined #angularjs
[20:55:58] <ctanga> called with nothing? i don’t get what you mean
[20:56:02] *** CHC has quit IRC
[20:56:07] <nickeddy> $state.go()
[20:56:08] <nickeddy> :P
[20:56:19] <ctanga> what would that ddddo? heh
[20:56:35] <nickeddy> i have no idea. that workaround is shitty.
[20:56:51] <ctanga> I gues it’s better than your code not working
[20:57:01] <ctanga> but shouldn’t be necessary, for sure
[20:57:04] *** Jaytee_ has joined #angularjs
[20:57:17] <ctanga> wait, which workaround? yours, or @darinclark's?
[20:57:22] *** say2joe has quit IRC
[20:57:25] <nickeddy> either lol
[20:57:28] <ctanga> heh
[20:57:39] <ctanga> I’d use @darinclark’s for now
[20:58:22] <ctanga> and send nate some energy drinks to get 1.0 working
[20:58:23] *** HMBBabyface has quit IRC
[20:58:23] *** ngbot has joined #angularjs
[20:58:24]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/2hf3Pg
[20:58:24] <ngbot> angular.js/master d162f15 Pawel Kozlowski: refactor($http): avoid re-creating execHeaders function...
[20:58:24] *** ngbot has left #angularjs
[20:58:24] *** cavallari has quit IRC
[20:58:39] *** SargoDarya has quit IRC
[20:58:57] *** baweaver has joined #angularjs
[21:00:16] *** patrick99e99 has quit IRC
[21:00:17] *** doginal has quit IRC
[21:00:39] *** shackleford has joined #angularjs
[21:01:20] <nickeddy> ctanga: it would appear i've fixed it
[21:01:59] <jsheely> Wonder if plunker is working yet
[21:02:14] <ctanga> if only there were some way to find out
[21:02:29] <nickeddy> ctanga: i'll try forking and testing
[21:02:29] <ctanga> nickeddy: the fix isn’t in updateView, FYI
[21:02:31] *** shacklef_ has joined #angularjs
[21:02:35] *** ianpirro has quit IRC
[21:02:39] <jsheely> Negative =|
[21:02:45] <jsheely> Codepen it is!
[21:02:59] <ctanga> you’d only be suppressing the symptom… the bug is that the state’s locals are cleared during the onExit phase
[21:03:00] <nickeddy> ctanga: well, changing that line fixed it and the rest of my routing is working as before
[21:03:11] <ctanga> yeah i understand
[21:03:13] <nickeddy> yeah
[21:03:14] *** MotherMGA1 has joined #angularjs
[21:03:17] <ctanga> but I can’t merge that in
[21:03:20] *** shacklef_ has quit IRC
[21:03:47] <nickeddy> okay then
[21:03:52] *** shacklef_ has joined #angularjs
[21:04:17] <nickeddy> if only you were maintainer when the bug got introduced
[21:04:20] <nickeddy> because seriously, wtf.
[21:04:35] *** pretzel80 has joined #angularjs
[21:04:51] <ctanga> yeah it’s fundamentally flawed
[21:04:55] <MotherMGA1> I'm trying to make my application work in IE8. I've implemented the IE8 guidelines, using angular 1.2.25, but I'm getting massive amounts of "TypeError: Object doesn't support this property or method" with no line/file references. Anyone have a suggestion on how to debug?
[21:04:57] *** dacuca has joined #angularjs
[21:05:13] *** shackleford has quit IRC
[21:05:13] <nickeddy> ctanga: smack nate, do it. must have 1.0
[21:05:20] <ctanga> the fix would be to delay clearing out of the .locals of exiting states until the transition promise is resolved
[21:05:34] *** bkubere__ has quit IRC
[21:05:38] <ctanga> sorta like a transactional commit
[21:05:40] *** platonic has quit IRC
[21:05:52] <ctanga> stuff like this is why we needed to overhaul the entire core
[21:06:00] <nickeddy> ctanga: show me where to fix it and i will
[21:06:04] *** swist has quit IRC
[21:06:09] <nickeddy> because that sounded trivial
[21:06:57] *** lsiv568 has quit IRC
[21:07:57] *** DrMabuse has joined #angularjs
[21:08:01] <ctanga> nickeddy: how is your redirect implemented? onEnter? controller? resolve?
[21:08:08] <nickeddy> onEnter
[21:08:12] <ctanga> yeah
[21:08:17] <nickeddy> i don't like using the events
[21:08:23] <ctanga> they’re being nuked
[21:08:28] <nickeddy> :(
[21:08:30] <nickeddy> for what
[21:08:32] <ctanga> no more $stateChangeStart
[21:08:36] *** doginal has joined #angularjs
[21:08:37] <nickeddy> oh good
[21:08:39] *** MaxV has joined #angularjs
[21:08:46] *** DLSteve has joined #angularjs
[21:08:52] <ctanga> unless you want it, then write it your damn self
[21:08:59] <ctanga> O)_(0
[21:09:08] *** HMBBabyface has joined #angularjs
[21:09:17] *** platonic has joined #angularjs
[21:09:23] <nickeddy> nah the event stuff is meh. the onEnter/onExit callbacks are way more usable imo
[21:09:29] *** Sadin has joined #angularjs
[21:09:48] <ctanga> depends
[21:09:58] *** bkuberek has joined #angularjs
[21:10:30] <ctanga> the start event is synchronous, the rest execute during the promise chain
[21:10:36] *** thumpba has joined #angularjs
[21:10:41] *** Raging_Hog has quit IRC
[21:10:43] <ctanga> the rest being onEnter, etc
[21:10:50] <nickeddy> did not know that
[21:10:53] *** Torrieri has quit IRC
[21:10:53] <ctanga> I think stateNotFound is sync too
[21:10:57] <nickeddy> welp
[21:10:59] <nickeddy> god damn it
[21:11:09] *** seriema has joined #angularjs
[21:11:18] *** morenoh149 has joined #angularjs
[21:11:24] *** Sadin_ has joined #angularjs
[21:11:29] *** joelwallis has joined #angularjs
[21:12:13] *** DrMabuse has quit IRC
[21:12:51] *** jtimon has joined #angularjs
[21:12:54] *** vonnegut has left #angularjs
[21:13:00] *** goodenough has quit IRC
[21:13:28] *** jsheely|ltop has joined #angularjs
[21:13:28] *** JBreit has joined #angularjs
[21:13:37] <BobbieBarker_> hey what is this "Angular Hint:" crap in my dev tools now?
[21:13:43] <BobbieBarker_> it just started showing up like yesturday
[21:13:46] *** HMBBabyface has quit IRC
[21:14:10] <ctanga> batarang is broken
[21:14:21] <ctanga> downgrade to 0.4.3
[21:14:43] *** bkuberek has quit IRC
[21:14:43] *** naiyte_ has quit IRC
[21:14:54] <ctanga> lol batarang
[21:15:37] <nickeddy> lol
[21:15:40] *** Sadin has quit IRC
[21:16:01] *** H1FuelCell has quit IRC
[21:17:10] *** Aliks has joined #angularjs
[21:17:13] *** sigurding has joined #angularjs
[21:17:22] *** sonofdirt has quit IRC
[21:17:23] *** wallerdev has quit IRC
[21:17:40] *** levidTablet has quit IRC
[21:17:55] <ctanga> I’m just glad he’s on it
[21:18:16] *** MistahKurtz has joined #angularjs
[21:18:33] *** mennea has quit IRC
[21:18:37] *** opiates has joined #angularjs
[21:18:40] <christo_m> haha
[21:18:43] *** seriema has quit IRC
[21:18:52] <christo_m> rap style bobbie barker
[21:18:56] *** woah has joined #angularjs
[21:18:58] *** levidTablet has joined #angularjs
[21:18:59] *** bayousoft has quit IRC
[21:19:09] *** mennea has joined #angularjs
[21:19:14] *** nashimus has joined #angularjs
[21:19:40] *** sigurding has quit IRC
[21:19:44] *** bkuberek has joined #angularjs
[21:19:45] *** bayousoft has joined #angularjs
[21:19:57] *** baweaver has quit IRC
[21:20:15] *** gkap has quit IRC
[21:20:56] *** IsraelOrtuno has quit IRC
[21:21:04] *** Jaytee_ has left #angularjs
[21:21:12] *** loverajo_ has joined #angularjs
[21:21:16] <Grokling> selects. default options. ipads. So, I have some selects (using ng-options) It is valid for the model to have no value. Angular says 'hey, you can't have a value that isn't in the options', and adds in a blank option. This turns to complete poo on the ipad, where the indexing seems to be positional, and gets applied AFTER that blank option is removed from the list. This means that if I have option 1,2,3 (and the default blank one) and I choose opti
[21:21:17] <Grokling> on 1 from the select, option 2 gets registered into the ng-model.
[21:21:45] *** pretzel80 has quit IRC
[21:21:53] <Grokling> There must be a good solution to this that I haven't yet thought of.. I still need 'no value' to be a valid case I think.
[21:21:55] *** __danimal__ has quit IRC
[21:22:51] <ctanga> can’t you add an explicit option for empty string?
[21:23:01] *** joelwallis has quit IRC
[21:23:50] *** loverajoel has quit IRC
[21:23:54] *** tristanp has joined #angularjs
[21:24:11] *** Nijikoku_ has joined #angularjs
[21:24:24] <nashimus> Okay, here is a stupid question: Is it possible to append to a model, from within ng-repeat by returning a value from an async function like http get?
[21:24:29] <nashimus> because it sure seems like it isn't
[21:24:50] *** HMBBabyface has joined #angularjs
[21:24:59] <ctanga> from *within* an ng-repeat? I don’t understand what you are trying to d
[21:25:07] <Grokling> ctanga: That's kinda where I was getting to next in my thinking. Feels like a workaround, but it may be the best/only way.
[21:25:10] *** dannyc has joined #angularjs
[21:25:31] *** devmonkey has joined #angularjs
[21:26:37] *** jdivock_ has quit IRC
[21:26:41] *** dave_boling has joined #angularjs
[21:26:47] <nashimus> ctanga, sorry I should be more specific; what I mean is by placing a plus/expand button, within the ng-repeat, with ng-click="topModel.SubModel = getDate(id);"
[21:26:52] *** g33k5z has quit IRC
[21:27:18] *** g33k5z has joined #angularjs
[21:27:31] <ctanga> nashimus: first, move javascript into little controller functions. Don’t do assignment in your template.
[21:27:54] <ctanga> nashimus: second, in your little controller function, execute your fetch and in the .then() block, assign to topModel.subModel
[21:27:57] *** mzabriskie has quit IRC
[21:28:39] *** g33k5z_ has joined #angularjs
[21:28:41] *** g33k5z has quit IRC
[21:28:46] *** ChadStrat has quit IRC
[21:28:56] *** ProLoser has joined #angularjs
[21:29:04] <ctanga> So, angular-ui ui-bootrap, or mgcrea angular-strap?
[21:29:13] <ctanga> ^ pros/cons anyone?
[21:29:25] *** dannyc has quit IRC
[21:29:27] *** HMBBabyface has quit IRC
[21:29:30] *** g33k5z_ has quit IRC
[21:29:33] *** simplyshipley has quit IRC
[21:29:55] *** g33k5z has joined #angularjs
[21:29:59] <nashimus> ctanga, yeah that makes more sense. I'm confused about how to know where in the model to add the additional data. Is there an easy way to get the index of an item that has been repeated? That way I'd know where to put the additional data, in the controller.
[21:30:03] *** yelvert has quit IRC
[21:30:23] <ctanga> nashimus: pass the repeated variable into the function
[21:30:31] *** jheady has joined #angularjs
[21:30:34] *** jdivock_ has joined #angularjs
[21:30:38] *** yelvert has joined #angularjs
[21:30:47] *** baweaver has joined #angularjs
[21:31:02] <ctanga> in your example above, what is being repeated? ng-repeat=“what in whats”?
[21:31:14] *** DrMabuse has joined #angularjs
[21:31:16] <moogey> ctanga don't know how on top of things I am because I use ui-bootstrap. But angular-strap seems to be maintained more.
[21:31:29] <moogey> And they have some stuff like html ready tooltips that ui-bootstrap doesn't
[21:31:49] *** disorder20 has joined #angularjs
[21:31:51] <moogey> Other than that. I can't speak much towards the choice :(
[21:32:01] <ctanga> thanks
[21:32:29] *** frankbli_ has quit IRC
[21:32:33] *** gurke_ has quit IRC
[21:32:34] *** DrMabuse has quit IRC
[21:32:39] *** richardbkr is now known as richardbkr|afk
[21:32:42] *** richardbkr|afk has quit IRC
[21:33:01] *** DrMabuse has joined #angularjs
[21:33:06] *** drej|work has quit IRC
[21:33:13] *** ProLoser has quit IRC
[21:33:56] *** Nijikoku_ has quit IRC
[21:34:06] *** tristanp has quit IRC
[21:34:28] *** g33k5z has quit IRC
[21:34:29] *** levidTablet has quit IRC
[21:34:38] *** IvailoStoianov has quit IRC
[21:34:53] *** dacuca has quit IRC
[21:34:56] *** Evanion_ has joined #angularjs
[21:35:49] *** Evanion has quit IRC
[21:35:50] *** Evanion_ is now known as Evanion
[21:35:54] *** lw has quit IRC
[21:36:08] *** dacuca has joined #angularjs
[21:36:14] <nashimus> ctanga, basically I have 3 levels of items that are being repeated: ParentItems, which contain MidLevelItems, which contain ChildItems. These are arranged in nested tables that are collapsed. So, if someone expands a ParentItem, they will see a grid of MidLevelItems, of which they can expand and see the ChildItems. I don't want to load all the data (slow), so I'm preloading Parent and Mid items, but adding Child items when the us
[21:36:33] *** markus_ has joined #angularjs
[21:36:48] *** markus_ is now known as raveli
[21:37:10] *** MaxV has quit IRC
[21:37:11] *** raveli is now known as raveli_
[21:37:22] *** DrMabuse has quit IRC
[21:37:24] *** mlpug has quit IRC
[21:37:29] *** jheady has left #angularjs
[21:37:32] <ctanga> gotcha. <div ng-repeat=“parent in parentItems”>Name: {{ parent.name }} <button type=“button” ng-click=“loadMidLevelItems(parent)”>+</button>
[21:38:04] <Grokling> nashimus: as ctanga said, just pass in the relevant parent level item/object to your function, and amend it accordingly. Because you'll be passing in a reference, any changes you make will be reflected in your ng-repeats immediately.
[21:38:10] *** sk87 has joined #angularjs
[21:38:21] *** HarryAtMove has joined #angularjs
[21:38:32] <ctanga> if you wanna be OO about it you could even put loadMidLevelItems() as a function on each ParentItem object
[21:38:35] *** jacuqesdancona_ has joined #angularjs
[21:38:37] *** jheady1 has joined #angularjs
[21:38:42] <ctanga> then ng-click=“parent.loadMidLevelItems()”
[21:39:12] <Grokling> OO ftw.. (might be a bridge further than he needs at the moment though!)
[21:39:42] *** moafoca has joined #angularjs
[21:40:31] *** sk87 has quit IRC
[21:40:37] *** Nijikoku_ has joined #angularjs
[21:40:40] *** mennea has quit IRC
[21:40:41] *** Ben___ has joined #angularjs
[21:40:43] <nashimus> lol
[21:40:47] <nashimus> thanks guys
[21:41:32] *** JohnBat26 has joined #angularjs
[21:41:38] *** sirkitree|afk is now known as sirkitree
[21:41:39] *** JohnBat26 has quit IRC
[21:41:52] *** JohnBat26 has joined #angularjs
[21:42:21] *** moogey is now known as moogey_feed
[21:42:34] *** nicholes has joined #angularjs
[21:42:36] *** ron1 has quit IRC
[21:42:43] *** whiteboo_ has joined #angularjs
[21:43:17] *** deanclkclk has joined #angularjs
[21:43:31] *** jacuqesdancona_ has quit IRC
[21:44:00] <nashimus> omg
[21:44:03] <nashimus> so easy
[21:44:11] <nashimus> I definitely fighting the framwork
[21:44:17] *** Anton_ has quit IRC
[21:44:19] <nashimus> thanks thanks thanks!
[21:44:26] *** chrisbirk has quit IRC
[21:44:49] *** whitebook has quit IRC
[21:45:25] *** snapwich has joined #angularjs
[21:45:45] *** DrJae has joined #angularjs
[21:45:49] <areologist> ctanga: you were asking about angular & bootstrap?
[21:46:05] *** ron1 has joined #angularjs
[21:46:29] *** chrisbirk has joined #angularjs
[21:46:36] *** jheady1 has left #angularjs
[21:46:37] *** Jae has quit IRC
[21:46:48] <ctanga> areologist: i was
[21:47:04] *** Sadin_ is now known as Sadin
[21:47:05] <areologist> using ui-bootstrap right now and maybe it's just me, but I find myself rewriting things a lot. It doesn't feel mature.
[21:47:10] <ctanga> nashimus: :)
[21:47:15] <areologist> or complete
[21:47:34] <ctanga> areologist: what kind of things are you having to do?
[21:47:41] <ctanga> ui-bootstrap is configuration object driven, yes?
[21:47:42] <areologist> I think new frameworks like angular-materials and angular directives from semantic-ui will take over
[21:47:58] <areologist> yeah, templates are nicely configurable
[21:48:46] *** jshultz has joined #angularjs
[21:48:49] *** Notte has joined #angularjs
[21:49:10] <areologist> I think part of my problem is that I don't really want bootstrap. haha
[21:49:28] *** Guest22 has quit IRC
[21:49:31] *** MaxV has joined #angularjs
[21:50:00] <areologist> but it's production ready and familiar
[21:50:18] *** MistahKurtz has quit IRC
[21:50:26] *** zackiv31 has quit IRC
[21:50:58] *** woah has quit IRC
[21:51:05] *** one0one has joined #angularjs
[21:51:18] *** jareddlc has quit IRC
[21:51:19] *** fedenunez1 has quit IRC
[21:51:19] *** ips|malc has quit IRC
[21:51:49] *** jareddlc has joined #angularjs
[21:51:49] *** IJNX has quit IRC
[21:51:51] *** Anton_ has joined #angularjs
[21:52:23] *** ips|malc has joined #angularjs
[21:52:38] *** emanresu404 has joined #angularjs
[21:53:22] *** richardbkr|afk has joined #angularjs
[21:53:40] <stormbytes> i'm trying to bind an iframe's src attrib to a model
[21:53:41] <areologist> I've tried the other bootstrap projects you mentioned on a superficial level: test projects and what not. can't say which is best. angular-strap is pretty cool too.
[21:53:47] <stormbytes> f*** Error: [$interpolate:interr]
[21:53:56] <stormbytes> how do i get around this sh**
[21:53:58] *** angpy has joined #angularjs
[21:54:21] *** IJNX has joined #angularjs
[21:54:29] *** stormbytes has quit IRC
[21:54:35] *** yelvert has quit IRC
[21:54:54] *** Orbitrix has quit IRC
[21:54:54] <nickeddy> you don't have to censor yourself on the internet you know
[21:54:58] *** 64MABCF4K has joined #angularjs
[21:55:03] *** yelvert has joined #angularjs
[21:55:09] *** juanlas has joined #angularjs
[21:55:16] <nickeddy> did he leave? :(
[21:55:18] *** cotko has quit IRC
[21:56:03] <Grokling> Prolly threw his laptop out the window.
[21:56:03] *** dacuca has quit IRC
[21:56:25] *** HMBBabyface has joined #angularjs
[21:56:52] *** devhoag has joined #angularjs
[21:57:21] *** andrew9183 has joined #angularjs
[21:57:37] *** ips|malc has quit IRC
[21:57:49] *** dave_boling has quit IRC
[21:58:07] *** Rojtjo has quit IRC
[21:58:09] *** Sadin has quit IRC
[21:58:30] *** Guest22 has joined #angularjs
[21:58:54] *** angpy has quit IRC
[21:59:40] *** 64MABCF4K has quit IRC
[21:59:43] *** thumpba has quit IRC
[21:59:44] *** yelvert has quit IRC
[22:00:14] *** seriema has joined #angularjs
[22:00:28] <shacklef_> In an Angular that I am working, I have a function that assigns value for a table based on the 'tab' that is clicked. They table data is dynamic and differs from tab click to tab click. In chrome everything works fine, but in firefox (and specifically when running my protractor test) if a tab is clicked it will sometimes show the last tab values.
[22:00:28] *** bradmaxs has joined #angularjs
[22:00:34] *** tristanp has joined #angularjs
[22:00:39] <shacklef_> has anyone run into this or anything similar
[22:00:49] <shacklef_> it's not making an async call or anything
[22:00:56] *** doginal has quit IRC
[22:00:57] *** MaxV has quit IRC
[22:01:01] *** HMBBabyface has quit IRC
[22:01:21] *** devhoag has quit IRC
[22:01:22] *** richardbkr|afk is now known as richardbkr
[22:02:10] *** danecando has quit IRC
[22:02:16] *** ngbot has joined #angularjs
[22:02:16] <ngbot> angular.js/master aac3c4a Rouven Weßling: chore($$raf) remove moz prefix for requestAnimationFrame...
[22:02:17] *** ngbot has left #angularjs
[22:03:15] <areologist> re: the above ngbot post; I think caitp is doing the angular directives for semantic-ui. It's a slick framework.
[22:03:44] *** laj has joined #angularjs
[22:04:31] *** ips|malc has joined #angularjs
[22:04:32] *** emanresu404 has quit IRC
[22:04:38] *** seriema has quit IRC
[22:04:39] <laj> hey guys. What's the best way to update an object after an AJAX request?
[22:04:51] <nickeddy> areologist: uhhh no. chore($$raf) remove moz prefix for requestAnimationFrame
[22:04:53] *** goodenough has joined #angularjs
[22:04:58] <jsheely> In case anyone wanted to know. This is how I solved my re-render of the directive issue with $compile. The secret was in the element.children().remove();
[22:05:20] <Grokling> laj: use $http, make the update in a .then() function.
[22:05:23] *** crawleyprint has quit IRC
[22:05:32] *** crawleyprint has joined #angularjs
[22:05:38] <caitp> areologist, i mostly gave that over to m0t0r, who is in here sometimes
[22:05:43] *** crawleyprint has quit IRC
[22:05:51] <caitp> it's in the semantic-ui org now, but I think he could use some help working on it
[22:05:57] <caitp> so if you're into that, you should volunteer =0
[22:06:06] *** threepwood has joined #angularjs
[22:06:07] <areologist> interesting, thanks, caitp. it looks like fun.
[22:06:08] <laj> ah okay. I'm using a method from the soundcloud API. is there another way apart from $http?
[22:06:18] *** richardlitt has joined #angularjs
[22:06:31] *** threepwood is now known as Guest90469
[22:06:53] <Grokling> laj: you have some magical API that communicates via something other than http?
[22:07:03] *** richardlitt has quit IRC
[22:07:19] *** doginal has joined #angularjs
[22:07:22] *** richardlitt has joined #angularjs
[22:08:06] *** Orbitrix has joined #angularjs
[22:08:09] *** lsiv568 has joined #angularjs
[22:08:30] *** RobinBAwesome has joined #angularjs
[22:08:42] <Grokling> laj: looks like a wrapper around $http to me. Probably returns a promise?
[22:09:25] *** doginal has quit IRC
[22:09:26] <laj> aah okay. I'll give that a go then. :) ta
[22:09:26] <areologist> doesn't soundcloud have a service for angular in their SDK?
[22:09:26] *** frem_ has joined #angularjs
[22:09:32] *** nuizzy has quit IRC
[22:09:56] *** nuizzy has joined #angularjs
[22:10:54] *** MaxV has joined #angularjs
[22:11:09] *** icfantv has quit IRC
[22:12:07] *** HMBBabyface has joined #angularjs
[22:12:12] *** jimmyy has joined #angularjs
[22:12:12] *** lsiv568 has quit IRC
[22:12:16] *** jMyles has quit IRC
[22:12:20] *** jimmyy has quit IRC
[22:12:25] <areologist> laj: concur with Grok I do. promise-based service from soundcloud SDK; no need for $http
[22:12:49] *** patrick99e99 has joined #angularjs
[22:13:20] *** icfantv has joined #angularjs
[22:13:29] <laj> hmm okay. do you have any documentation I could look at? :s so soundclouds wrapper, not angular's $http?
[22:13:31] *** sonofdirt has joined #angularjs
[22:13:54] *** lucasjones has quit IRC
[22:15:13] *** jstroem has quit IRC
[22:15:58] *** bbfck has joined #angularjs
[22:16:31] *** jaredwilli has quit IRC
[22:16:34] <Grokling> I have a feeling that there's a tool that does this already, and that I just don't know about it yet. I have an array of objects. I want to make a new array consisting of the same property from each object. Reduce perhaps?
[22:16:38] *** whiteboo_ has quit IRC
[22:16:58] *** HMBBabyface has quit IRC
[22:17:35] <themime> Grokling: a clone of the array? if you find something let me know, if i need it i end up having to write clone methods on my objects manually
[22:17:58] <themime> or a clone helper method
[22:19:06] <Grokling> themime: Not so much a clone.. At the moment I have a map that pushes the property I want into my new array. Seems clunky, and like there should be a cleaner way.
[22:19:38] *** yelvert has joined #angularjs
[22:19:54] *** rafagomes has quit IRC
[22:19:56] <Grokling> incidentally, angular.forEach is faster than array.map, and lodash.forEach beats them all..
[22:20:17] <nashimus> ctanga or Grokling, I've managed to update the model with the child level items (ParentItem.MidLevelItem.ChildItem), but for some reason the ng-repeat that displays the ChildItems is not actually showing them. I'm not sure why. Is there something I need to do to refresh it, or is my model just a bit off?
[22:21:15] <ctanga> nashimus: does your ng-repeat have a nested ng-repeat?
[22:21:21] *** moafoca has quit IRC
[22:21:27] <Grokling> nashimus: Probably the model doesn't quite look like you think it does. Can you add in a temporary {{model}} and see what it really looks like?
[22:21:38] <ctanga> {{ model | json }}
[22:21:51] <ctanga> even better: <pre>{{ model | json }}</pre>
[22:22:11] *** lsiv568 has joined #angularjs
[22:22:35] <Grokling> As long as there are no circular structures in there.. (I can't use that trick anymore sadly...)
[22:22:42] *** Guest90469 is now known as crawleyprint
[22:22:58] *** dmack has quit IRC
[22:23:01] *** bayousoft has quit IRC
[22:23:15] *** wallerdev has joined #angularjs
[22:23:26] *** bayousoft has joined #angularjs
[22:24:00] *** bostonaholic has joined #angularjs
[22:24:13] <areologist> you could inject that SC object as a constant, or something, and facade the thing with a bare bones angular factory. it seems to just have settings and crud
[22:24:18] *** DrMabuse has joined #angularjs
[22:24:28] *** doginal has joined #angularjs
[22:24:58] <laj> ooh ta
[22:25:00] *** aslate has joined #angularjs
[22:25:23] *** prosper_ has joined #angularjs
[22:26:00] *** dannyc has joined #angularjs
[22:26:10] *** dacuca has joined #angularjs
[22:26:23] *** jlebrech has joined #angularjs
[22:26:23] *** juanlas has quit IRC
[22:26:45] <themime> ^ thats how i add external libs
[22:27:05] *** m3l720 has joined #angularjs
[22:27:57] *** HMBBabyface has joined #angularjs
[22:28:02] *** pknordic has joined #angularjs
[22:28:58] *** moogey_feed is now known as moogey
[22:29:15] *** disorder20 has quit IRC
[22:29:24] *** RobinBAwesome has quit IRC
[22:29:43] *** aslate has quit IRC
[22:30:03] *** arpu has joined #angularjs
[22:30:24] <nashimus> ctanga and Grokling, found the problem... I had temporary modified the nested ng-repeat (for testing) but never changed it back, it's all good now! The model was correct, I just wasn't referencing it lol...
[22:30:26] *** cdaringe has joined #angularjs
[22:30:34] *** RobinBAwesome has joined #angularjs
[22:30:35] <ctanga> :)
[22:30:41] <nashimus> doh!
[22:30:45] *** dmack has joined #angularjs
[22:30:54] *** dman777_alter has quit IRC
[22:31:02] <Grokling> That happens. At least you found it yourself ;-)
[22:31:06] *** jlebrech has quit IRC
[22:31:14] *** leolrrj has joined #angularjs
[22:31:19] *** laj has quit IRC
[22:31:31] *** dannyc has quit IRC
[22:32:17] *** HMBBabyface has quit IRC
[22:32:23] *** pknordic has quit IRC
[22:32:54] <BahamutWC|Work> Batarang is fixed now
[22:32:55] *** a3gis has quit IRC
[22:33:02] *** bayousoft has quit IRC
[22:33:11] *** tristanp has quit IRC
[22:33:29] *** bayousoft has joined #angularjs
[22:34:25] *** tristanp has joined #angularjs
[22:35:14] *** cdaringe has quit IRC
[22:36:18] <ctanga> well good, it’s been like 18 hours'
[22:36:27] <ctanga> such slow updates! ;)
[22:36:33] <Mxyzpltk> ;)
[22:36:47] *** cdaringe has joined #angularjs
[22:36:49] <Mxyzpltk> it scared the crap out of me this morning...
[22:36:59] *** dISKRET has quit IRC
[22:37:04] <ctanga> happened to me last night during a coding session
[22:37:10] *** ChadStrat has joined #angularjs
[22:37:16] <ctanga> suddenly my app slowed to a crawl and i got a ton of errors in the console
[22:37:17] <BahamutWC|Work> yup, scared everyone on my team too
[22:37:31] <BahamutWC|Work> “the app is broken just before our pilot with [major customer], the world is falling!"
[22:37:33] <ctanga> I saw stack traces in extension hint.js
[22:38:11] *** MaxV has quit IRC
[22:38:17] <BahamutWC|Work> me too, I just assumed it was angular 1.3.6
[22:38:44] *** charuru has joined #angularjs
[22:39:30] *** kirfu has quit IRC
[22:40:29] *** doginal has quit IRC
[22:40:32] *** cdaringe_ has joined #angularjs
[22:40:40] *** zz_night-owl is now known as night-owl
[22:41:07] *** cdaringe has quit IRC
[22:41:08] *** cdaringe_ is now known as cdaringe
[22:41:23] *** Notte has quit IRC
[22:41:33] *** lexek__ has quit IRC
[22:42:13] *** loverajo_ has quit IRC
[22:42:29] *** KushS has quit IRC
[22:42:51] *** SargoDarya has joined #angularjs
[22:42:53] *** grantfunke_ has joined #angularjs
[22:43:01] *** tristanp has quit IRC
[22:43:23] *** g33k5z has joined #angularjs
[22:43:40] *** HMBBabyface has joined #angularjs
[22:44:40] *** spatialbrew has quit IRC
[22:44:54] *** lucasjones has joined #angularjs
[22:45:07] *** mzabriskie has joined #angularjs
[22:45:21] *** morenoh149 has quit IRC
[22:45:23] *** pretzel80 has joined #angularjs
[22:46:59] *** richardlitt has quit IRC
[22:47:19] *** SargoDarya has quit IRC
[22:47:20] *** cdaringe_ has joined #angularjs
[22:47:49] *** cdaringe has quit IRC
[22:47:49] *** cdaringe_ is now known as cdaringe
[22:48:24] *** HMBBabyface has quit IRC
[22:49:01] *** deanclkclk has quit IRC
[22:49:01] *** torartc has joined #angularjs
[22:49:22] *** andrew9183 has quit IRC
[22:49:40] *** MaxV has joined #angularjs
[22:49:52] *** Ben___ has quit IRC
[22:50:58] *** lexek__ has joined #angularjs
[22:51:12] *** jkevinburton has quit IRC
[22:51:33] *** m_rc has joined #angularjs
[22:51:48] *** cdaringe_ has joined #angularjs
[22:52:14] *** cdaringe has quit IRC
[22:52:15] *** lucasjones has quit IRC
[22:52:15] *** cdaringe_ is now known as cdaringe
[22:52:41] *** Guest22 has quit IRC
[22:53:08] *** Xaleph has quit IRC
[22:53:23] <jsheely|ltop> I don't know how I haven't run into the fact that IE9 event object doesn't have preventDefault() on it
[22:53:24] *** mtsr has quit IRC
[22:53:32] *** doginal has joined #angularjs
[22:53:40] *** wartech1 has quit IRC
[22:53:42] <jsheely|ltop> But super annoying ><
[22:53:58] *** tyson2 has quit IRC
[22:54:02] *** lsiv568 has quit IRC
[22:54:08] *** neilff has quit IRC
[22:54:21] *** tristanp has joined #angularjs
[22:54:25] <jsheely|ltop> Can we induct the Old browsers will deprecated from the earth act of 2015?
[22:54:40] <jsheely|ltop> EVER GREEN OR DIE
[22:54:45] *** D-Boy has quit IRC
[22:54:51] *** D-Boy has joined #angularjs
[22:55:13] *** baweaver has quit IRC
[22:56:17] *** cdaringe has quit IRC
[22:56:18] *** IJNX has quit IRC
[22:56:23] *** m_rc has quit IRC
[22:56:24] *** prosper_ has quit IRC
[22:56:30] *** lucasjones has joined #angularjs
[22:56:39] *** cmenscher has quit IRC
[22:56:58] *** cmenscher has joined #angularjs
[22:57:02] <Grokling> jsheely|ltop: Very tempting to enforce it in the app... splash a screen up that says 'Sorry - this browser is so far out of date that even Adam would struggle to use it'
[22:57:22] <jsheely|ltop> lol yea
[22:57:40] *** burzum has joined #angularjs
[22:57:42] *** Mxyzpltk has quit IRC
[22:57:43] <burzum> hi
[22:57:55] <jsheely|ltop> Getting to the point where my old (If browser!="Nescape") code can be re-purposed.
[22:57:57] *** night-owl is now known as zz_night-owl
[22:58:23] <jsheely|ltop> It's just all the subtle stupid crap we have to defensively code around.
[22:58:26] <burzum> has anyone a recommendation for a datepicker and timepicker that work nice together (angular 1.2.x and bootstrap2) or a single datetimepicker? I can't find a good one that doesn't have some kind of downside.
[22:58:32] *** kirfu has joined #angularjs
[22:59:24] *** HMBBabyface has joined #angularjs
[22:59:31] *** lexek__ has quit IRC
[22:59:45] <Grokling> Or even 'Sorry - due to the development overhead in supporting non-standards compliant browsers, this site/application is not supported on Internet Exploder. You should update to a modern standards compliant browser.
[22:59:45] *** evanjs has quit IRC
[23:00:29] *** cdaringe has joined #angularjs
[23:00:58] <areologist> we have customers who seem impressed with themselves for making the leap from IE6 to IE8 not too long ago
[23:01:17] *** Nijikoku_ is now known as Nijikokun
[23:02:10] *** marcjs has joined #angularjs
[23:02:52] *** dmack has quit IRC
[23:03:02] *** NormySan has quit IRC
[23:03:03] <Grokling> areologist: They're going to be blown away when they move from their 33.6k modems to 56k!
[23:03:17] *** Etherael has joined #angularjs
[23:03:26] *** akrikos has quit IRC
[23:03:52] *** HMBBabyface has quit IRC
[23:04:16] *** morenoh149 has joined #angularjs
[23:04:19] *** cdaringe_ has joined #angularjs
[23:04:28] <areologist> Grokling: indeed, the users are going to be going from crappy pcs with IE8 (IE6 all too recently) to tablets with evergreen chrome. they may shit themselves
[23:04:37] *** soj has joined #angularjs
[23:04:47] *** cdaringe has quit IRC
[23:04:55] <burzum> There are valid scenarios for old browser. For example if you develop something for a development country, they have very often pretty old machines. I know some small business in germany that still run NT4 servers because they just work for what they need them for.
[23:05:25] *** mfunkie has quit IRC
[23:05:28] *** jhertz has quit IRC
[23:05:30] <Grokling> burzum: Yeah. Some people still use fax machines too.
[23:06:01] *** BillCriswell has quit IRC
[23:06:26] <burzum> If something works and fulfills the task good there is no reason to change it :) I agree with that philosophy. Well, except the securite issues that come with no longer supported software...
[23:06:51] <nickeddy> that being said, i don't think new software dev should cater to out of date bullshit :)
[23:07:17] *** kirfu has quit IRC
[23:07:21] <burzum> You have to sometimes. And honestly I dont care if im getting paid to do it :)
[23:07:28] <Grokling> and the pain of wanting to use something current and expect it to work on your really old stuff.
[23:07:32] *** doginal has quit IRC
[23:07:32] *** kirfu has joined #angularjs
[23:07:52] <burzum> "This will go wrong. You get that?" - "Yes, fine, do it anyway here is the money!" - "OK!"
[23:08:26] *** cdaringe has joined #angularjs
[23:08:30] <burzum> I always just make sure that I get any warning I give written on paper and signed by the genius who demands the silly idea.
[23:08:35] <Grokling> The industry would be miles further ahead if we didn't have to spend so much time making allowances for crappness and out-of-dateness.
[23:08:40] *** cdaringe_ has quit IRC
[23:08:44] *** cschneid has quit IRC
[23:08:55] <Grokling> burzum: Very wise. On paper is the way to go.
[23:09:30] *** magnars has quit IRC
[23:09:52] *** epickillerpigz has quit IRC
[23:09:53] *** Xorlev has quit IRC
[23:09:54] *** Phtes_ has quit IRC
[23:10:08] *** magnars has joined #angularjs
[23:10:16] *** paolo has quit IRC
[23:10:23] *** woah has joined #angularjs
[23:10:27] *** torartc has left #angularjs
[23:10:30] *** torartc has joined #angularjs
[23:10:38] *** nhoening has quit IRC
[23:10:39] *** wookiehangover has quit IRC
[23:10:39] *** Fifty5Plus has quit IRC
[23:10:49] *** paolo has joined #angularjs
[23:10:50] *** seriema has joined #angularjs
[23:10:57] *** cschneid has joined #angularjs
[23:10:58] *** Phtes_ has joined #angularjs
[23:11:00] *** torartc has left #angularjs
[23:11:02] *** iamstef has quit IRC
[23:11:02] *** ebryn_ has quit IRC
[23:11:03] *** torartc has joined #angularjs
[23:11:04] *** walden is now known as walden|afk
[23:11:07] *** juanpablo__ has quit IRC
[23:11:20] *** Fifty5Plus has joined #angularjs
[23:11:25] *** joepie91 has quit IRC
[23:11:30] *** iamstef has joined #angularjs
[23:11:31] <burzum> Grokling my favorite story is from the sys admin of hour cities hospital: the accounting and management idiots refused to pay for virus scanners years ago. Some month later they had to cover a total outage of the whole hospitals IT and cover weekend work because everything was fucked up... But anti virus software is sooooo expensive, you knwo... ;)
[23:11:33] *** epickillerpigz has joined #angularjs
[23:11:35] *** CHC has joined #angularjs
[23:11:47] *** wookiehangover has joined #angularjs
[23:11:48] *** nhoening has joined #angularjs
[23:11:50] *** Xorlev_ has joined #angularjs
[23:11:54] *** kirfu has quit IRC
[23:11:55] *** ebryn_ has joined #angularjs
[23:12:00] *** MotherMGA1 has left #angularjs
[23:12:07] *** _mtr has quit IRC
[23:12:18] *** cdaringe_ has joined #angularjs
[23:12:37] *** Guest22 has joined #angularjs
[23:12:56] *** cdaringe has quit IRC
[23:12:57] *** cdaringe_ is now known as cdaringe
[23:13:00] *** jheady has joined #angularjs
[23:13:03] *** joepie91 has joined #angularjs
[23:13:30] *** stormbytes has joined #angularjs
[23:13:58] <torartc> what's the best way to have two different directives share a scope that's not the global scope?
[23:14:01] *** jheady1 has joined #angularjs
[23:14:18] *** th3fallen has quit IRC
[23:14:23] <Grokling> burzum: anti-virus, enough UPS capacity, backups.. all the same. No immediate benefit, don't bother.. Until you realise (usually when it's a little too late) that the sysadmins actually had a point, and that the case is now suddenly VERY compelling. A smart sysadmin will keep that decision on paper too, so good to just wheel it out when the crap starts coming your way..
[23:14:42] *** richardlitt has joined #angularjs
[23:14:45] <burzum> He did :)
[23:15:02] <Foxandxss> torartc: not sure if that is a good idea
[23:15:06] <bbfck> torartc: with a service ?
[23:15:09] *** seriema has quit IRC
[23:15:14] *** HMBBabyface has joined #angularjs
[23:15:26] *** tristanp has quit IRC
[23:15:47] *** umib0zu has quit IRC
[23:16:11] <torartc> Foxandxss: oh ok. Why would you say it's not a good idea? I basically have two directives that I'd like to talk to each other and no one else
[23:16:25] *** bostonaholic has quit IRC
[23:16:30] *** ProLoser has joined #angularjs
[23:16:38] <Foxandxss> you can require directives
[23:16:48] *** m3l720_ has joined #angularjs
[23:17:07] <torartc> hm. but they aren't encapsulated in each other
[23:17:11] <stormbytes> got disconnected before! ugh
[23:17:14] <stormbytes> how do i avoid [$interpolate:interr]
[23:17:21] <torartc> or does that not matter?
[23:17:23] *** bostonaholic has joined #angularjs
[23:17:32] *** jheady has quit IRC
[23:17:33] *** dc has quit IRC
[23:17:44] *** cdaringe has quit IRC
[23:17:51] <Foxandxss> no idea on your use case :P
[23:17:52] <stormbytes> i'm trying to update the iframe 'src' attr from a model but its not actually processing the html
[23:17:54] *** h0ru5 has quit IRC
[23:18:18] <torartc> Foxandxss: I just meant from Angular's perspective
[23:18:38] *** bostonaholic has quit IRC
[23:18:43] *** simook has joined #angularjs
[23:18:50] <Foxandxss> I never saw any problem with scopes :P
[23:18:51] *** cdaringe has joined #angularjs
[23:19:00] <Foxandxss> in that regard
[23:19:10] *** mikehaas763 has quit IRC
[23:19:28] *** samuel02 has quit IRC
[23:19:33] *** jonathanpglick has quit IRC
[23:19:34] *** Koganei has quit IRC
[23:19:40] *** AngularUI has joined #angularjs
[23:19:40] <AngularUI> ng-grid/ngTouch-tuts 43d6480 Brian Hann: WIP
[23:19:41] <AngularUI> ng-grid/ngTouch-tuts 01c22ac Brian Hann: fix(Filtering): Let mobile devices tap filter box...
[23:19:41] <AngularUI> ng-grid/ngTouch-tuts ac18398 Brian Hann: chore(Docs): Add ngTouch to all tutorials...
[23:19:41] *** AngularUI has left #angularjs
[23:19:41] *** m3l720 has quit IRC
[23:19:41] *** leolrrj has quit IRC
[23:19:49] *** HMBBabyface has quit IRC
[23:20:39] *** mzabriskie has quit IRC
[23:21:02] *** AngularUI has joined #angularjs
[23:21:03]
<AngularUI> [bootstrap] synapscommerce opened pull request #3085: Change totalPages watcher to avoid resetting page number before data loa... (master...patch-1) http://git.io/SnaqGQ
[23:21:03] *** AngularUI has left #angularjs
[23:21:19] *** doginal has joined #angularjs
[23:21:33] *** dc has joined #angularjs
[23:22:31] *** cdaringe_ has joined #angularjs
[23:23:07] *** jheady1 has left #angularjs
[23:23:17] *** cdaringe has quit IRC
[23:23:18] *** cdaringe_ is now known as cdaringe
[23:23:58] *** FIFOd[a] has quit IRC
[23:24:18] *** goodenough has quit IRC
[23:24:42] *** mzabriskie has joined #angularjs
[23:24:49] *** morenoh149 has quit IRC
[23:25:53] *** platonic has quit IRC
[23:26:06] *** stormbytes has quit IRC
[23:26:42] <nickeddy> ctanga: remind me again what's happening in 1.0 with the callbacks?
[23:27:09] *** sirkitree is now known as sirkitree|afk
[23:27:26] *** morenoh149 has joined #angularjs
[23:27:49] *** MetaCosm_ has joined #angularjs
[23:27:55] *** jonathanpglick has joined #angularjs
[23:29:40] *** m3l720__ has joined #angularjs
[23:29:56] *** pzuraq has joined #angularjs
[23:30:02] *** tfennelly has joined #angularjs
[23:30:08] *** MistahKurtz has joined #angularjs
[23:30:12] *** inspiron has joined #angularjs
[23:30:13] <inspiron> hi
[23:30:30] *** cdaringe has quit IRC
[23:30:31] *** anapitupulu has quit IRC
[23:30:32] *** Kzsh_ has joined #angularjs
[23:30:36] *** cdaringe_ has joined #angularjs
[23:30:59] *** HMBBabyface has joined #angularjs
[23:31:02] *** _mtr has joined #angularjs
[23:31:28] *** jMyles has joined #angularjs
[23:32:21] *** platonic has joined #angularjs
[23:32:23] *** m3l720_ has quit IRC
[23:32:35] *** Sawbones has joined #angularjs
[23:32:40] *** monk12 has joined #angularjs
[23:32:41] *** TheAceOfHearts has joined #angularjs
[23:32:46] *** tkimmel has quit IRC
[23:33:25] *** cdaringe_ has quit IRC
[23:33:28] *** neilff has joined #angularjs
[23:33:36] *** Torrieri has joined #angularjs
[23:33:38] *** Linell has quit IRC
[23:34:16] <jsheely|ltop> Ugh IE 9
[23:34:26] *** arkanciscan has quit IRC
[23:34:26] *** Sawbones has quit IRC
[23:34:29] <inspiron> i have an html tag that I need to add "activated" to the class attribute if a function returns true... This is kindof pseduo code for what i want to do... The "activated" should be added to class if isInMap(value) is true... how do I do this? <dd class="positive {{ isInMap(value) ? 'activated' : ''}}" ng-click="...." ng-repeat='value in values' ng-bind='value.name' ... ></dd>
[23:34:41] <jsheely|ltop> Can I go back to bed and start today over?
[23:34:43] *** Sawbones has joined #angularjs
[23:34:59] <jsheely|ltop> Between Batarang and IE9 issues. Today has sucked.
[23:35:01] *** neilff has quit IRC
[23:35:35] *** HMBBabyface has quit IRC
[23:36:46] *** neilff has joined #angularjs
[23:36:58] *** cannap has quit IRC
[23:37:16] *** a3gis has joined #angularjs
[23:37:19] <warnew_> inspiron: ng-class?
[23:37:22] *** roadrunneratwast has joined #angularjs
[23:37:36] *** CiE has joined #angularjs
[23:38:14] *** wallerdev has quit IRC
[23:38:16] *** diosney has quit IRC
[23:38:20] *** phuh has joined #angularjs
[23:39:42] *** pretzel80 has quit IRC
[23:39:51] <roadrunneratwast> using ui-router, how do you embed one *state* inside another? <div ui-view="foo"></div> is a view. Do I define a view for every state? It's the states that are routed, not the views, no?
[23:40:03] <inspiron> warnew_, can you give me an example. i tried something like... ng-class="true: positive, isInMap(value): 'activated'" so I know that is weird and it didn't work. i want "positive" to always be in the class attribute but append "activated" if isInMap(value) returns true. maybe... class="positive" ng-class="{isInMap(value): 'activated'" ...? idk :\
[23:40:54] *** MetaCosm_ has quit IRC
[23:40:59] <Grokling> inspiron: You have those backwards.. it's just a js object you're passing in there, so {propertyName : true}
[23:41:34] <Grokling> or {activated: isInMap(value)}
[23:41:37] *** Siecje has left #angularjs
[23:41:49] *** evilaliv3 has quit IRC
[23:42:00] *** macobo has quit IRC
[23:42:21] *** AngularUI has joined #angularjs
[23:42:21] <AngularUI> ng-grid/master 654e0ce Brian Hann: fix(Mobile): Allow either touch and mouse events...
[23:42:21] *** AngularUI has left #angularjs
[23:42:27] *** a3gis has quit IRC
[23:42:43] *** cboden has quit IRC
[23:42:52] *** merobertsjr has quit IRC
[23:43:03] *** evilaliv3 has joined #angularjs
[23:43:38] *** AngularUI has joined #angularjs
[23:43:38] <AngularUI> ng-grid/master da0d0fb Brian Hann: Remove accidental ddescribe
[23:43:39] *** AngularUI has left #angularjs
[23:43:45] *** morenoh150 has joined #angularjs
[23:43:51] *** busticated has quit IRC
[23:44:39] <inspiron> there's one more item that needs to be there... ng-binding... so i should do: ng-class="{positive: true, ng-binding: true, isInMap(value): true}" ?
[23:45:30] *** Ix-xitan has quit IRC
[23:45:51] *** wartech1 has joined #angularjs
[23:45:51] *** wartech1 has joined #angularjs
[23:45:58] *** Ix-Xitan has joined #angularjs
[23:45:58] *** Ix-Xitan is now known as PointBlank
[23:46:04] <Grokling> inspiron: You can assign things directly to class if you don't need angular to do it's magic on them. I'd push your positive, and ng-binding attributes out to the usual 'class'. What you have is valid though.
[23:46:44] *** HMBBabyface has joined #angularjs
[23:46:47] *** Greed has joined #angularjs
[23:46:53] *** morenoh149 has quit IRC
[23:46:59] <Grokling> inspiron what does isInMap(value) return?
[23:47:04] *** bkuberek has quit IRC
[23:47:58] *** lexek__ has joined #angularjs
[23:48:04] <Grokling> Because I'm not convinced you can dynamically set the names of the classes you're referring to like that..
[23:48:16] *** ChadStrat has quit IRC
[23:48:19] <inspiron> okay, thanks. i'll try that
[23:48:31] *** imehesz has quit IRC
[23:48:33] <inspiron> it returns a boolean
[23:48:51] <Grokling> Is plunker working for anyone? I get "Unable to connect to any application instances."
[23:49:10] <BobbieBarker_> i've heard they've been having problems over the last 48-72 hrs
[23:49:18] <Grokling> inspiron: yeah, that's not going to work like that.
[23:49:39] *** JohnBat26 has quit IRC
[23:49:54] *** jmckind has quit IRC
[23:49:57] *** dcherman has quit IRC
[23:50:00] *** robdubya has quit IRC
[23:50:01] <Grokling> BobbieBarker_: thanks.. I'll stop pestering their server then - less load the better probably until they get sorted.
[23:50:11] *** ctanga has quit IRC
[23:50:25] <BobbieBarker_> np
[23:50:29] *** pzuraq has quit IRC
[23:50:33] <jaawerth> I don't even know what the server requirements ARE for it, it's gotta see pretty heavy use
[23:50:42] *** jsheely|ltop has quit IRC
[23:50:47] <jaawerth> I know it's one dude who sometimes hangs out in here who wrote it and maintains it
[23:50:57] *** HMBBabyface has quit IRC
[23:50:58] *** shacklef_ has quit IRC
[23:50:59] <BobbieBarker_> for plunkr?
[23:51:05] <jaawerth> or at least, that's my understanding
[23:51:14] <jaawerth> based on hearsay ;-)
[23:51:35] *** ivor has joined #angularjs
[23:52:21] *** richardlitt has quit IRC
[23:52:46] *** edy has quit IRC
[23:52:48] <inspiron> why not
[23:53:22] <jaawerth> ah, project has 3 contributors
[23:53:29] *** ChadStrat has joined #angularjs
[23:53:29] <jaawerth> damn impressive, given how well it blows everything else out of the water
[23:53:34] <BobbieBarker_> no doubt
[23:53:55] *** zz_night-owl is now known as night-owl
[23:54:18] <BobbieBarker_> super impressive
[23:54:22] <jaawerth> it kinda blows my mind when I encounter people who use anything else, unless whatever else it is supports a specific tech stack
[23:54:38] <BobbieBarker_> i agree
[23:54:42] <jaawerth> if plnkr wanted to monetize for a small monthly fee or whatever, I'd pay
[23:54:44] <BobbieBarker_> is plunkr on github?
[23:54:49] <jaawerth> yeah!
[23:54:51] <BobbieBarker_> yeah plunkr is worth it
[23:55:07] <BobbieBarker_> link me to their project page i am super curious now
[23:55:13] <jaawerth> I was gonna say, if I still had a server that wouldn't cost me money if its bandwidth exploded, I'd fork it and host it as a triage until the real one is back, heh
[23:55:25] <icfantv> before i go down this road, can i apply ng-disabled to <form>?
[23:55:37] *** livingstn has quit IRC
[23:55:54] <icfantv> ahhhh….with the intent of it disabling all form elements?
[23:55:55] <BobbieBarker_> jaawerth: i agree.. saddly all the hosting at my fingertips would rape me out the ass for that bandwidth
[23:55:57]
<jaawerth> BobbieBarker_: https://github.com/filearts/plunker_www it says "the public-facing portion", not sure if that means there are holes or if they just mean it (obviously) doesn't include existing data. I'm gonna try to install it
[23:56:18] *** bmac has quit IRC
[23:56:18] <jaawerth> yeah, my unlimited shared VPS I was paying $10/month for is gone :(
[23:56:35] <jaawerth> but digitalocean is good enough for most of my needs anyway
[23:56:35] <BobbieBarker_> I have a server cluster on rackspace right now
[23:56:44] *** bmac has joined #angularjs
[23:56:45] <jaawerth> neat, I looked into that
[23:56:46] *** bmac has quit IRC
[23:56:48] <BobbieBarker_> i'm switching everything to AWS here in the near future
[23:56:48] *** Greed` has joined #angularjs
[23:56:55] <BobbieBarker_> don't get into bed with rackspace they fucking blow
[23:57:02] <jaawerth> why AWS over DO? Need their super crazy management options?
[23:57:07] *** Greed has quit IRC
[23:57:08] <BobbieBarker_> elastic beanstalk
[23:57:09] *** Greed` is now known as Greed
[23:57:29] *** soee has quit IRC
[23:57:40] <blackkbot> thats what she said...
[23:57:41] <jaawerth> don't call me names
[23:57:44] *** mdcox has joined #angularjs
[23:57:44] <BobbieBarker_> is new and improved and a pretty solid PaaS and I do need their crazy management options I have HIPAA, CMS, and PCI compliance issues for my data
[23:57:45] <jaawerth> awww, beat me to it
[23:57:46] <jaawerth> hahaha
[23:57:56] <jaawerth> ohh gotcha
[23:58:00] <jaawerth> work stuff
[23:58:03] *** baweaver has joined #angularjs
[23:58:03] <BobbieBarker_> yeah
[23:58:05] <jaawerth> I only use DO for personal stuff
[23:58:11] <jaawerth> / tinkering
[23:58:23] <BobbieBarker_> for personal i pretty much just run a gulp server i rarely put anything out
[23:58:26] <BobbieBarker_> and host it
[23:58:29] <BobbieBarker_> unless i'm trying to get a job
[23:58:34] <blackkbot> Normally if given a choice between, something and nothing. I'd choose to do nothing. But I will do something if it helps someone else do nothing. I'd work all night if it ment nothing got done
[23:58:36] <jaawerth> frankly I mostly keep it because it's often handy to have a personal server floating around
[23:58:37] <BobbieBarker_> and i put up some content for jackoffs to look at
[23:58:54] <jaawerth> if I ever get a blog together, I'll probably just use jekyll + github pages, though
[23:59:03] <jaawerth> well.. maybe not. we'll see
[23:59:03] *** PointBlank has quit IRC
[23:59:25] <BobbieBarker_> I don't give enough fucks to really read what anyone else writes in blogs so i have an equally hard time imagining anyone would give any fucks about anything i ever write in a blog.
[23:59:43] <mdcox> So this is almost assuredly an easy question, but I actually haven't been able to find the answer anywhere... I built a model using app.factory('modelName', func(){...}) and I want to access it in the controller...but I have no idea how to pass it in.
[23:59:50] *** weems|mac has quit IRC