[00:00:22] *** nanoyak has quit IRC
[00:00:47] *** nanoyak has joined #angularjs
[00:00:50] *** BillCri__ has joined #angularjs
[00:01:05] *** lewdev has quit IRC
[00:01:16] *** BillCri__ has quit IRC
[00:01:23] *** TorchDragon has joined #angularjs
[00:01:38] *** BillCris_ has quit IRC
[00:01:39] *** Gambit- has joined #angularjs
[00:01:39] *** BillCriswell has quit IRC
[00:01:41] *** BillCri__ has joined #angularjs
[00:01:43] *** phuh has quit IRC
[00:02:07] *** lw has quit IRC
[00:02:08] *** phuh has joined #angularjs
[00:02:09] <davek> ishi, wha? It's persisted to an s3 instance.
[00:02:17] <davek> felixn, yes user uploads.
[00:02:30] *** jair has joined #angularjs
[00:02:49] *** dariocravero has joined #angularjs
[00:02:55] *** quantax- has joined #angularjs
[00:02:58] *** lewdev has joined #angularjs
[00:03:07] *** cthrax has quit IRC
[00:03:10] <jair> hi there, im trying to create a directive for dates
[00:03:13] *** bbankes has joined #angularjs
[00:03:16] <jair> i have a patter validation
[00:03:40] *** jonnybro has joined #angularjs
[00:03:41] <jair> but when the valiue return from the server in the $formatters.unshift methos
[00:03:49] <jair> im receiving null
[00:03:51] *** sdouglas has joined #angularjs
[00:04:09] *** michaelm has quit IRC
[00:04:12] <jair> any idia ?
[00:04:15] *** dnxt has joined #angularjs
[00:04:18] *** patrickarlt has joined #angularjs
[00:04:24] *** partikus has joined #angularjs
[00:04:39] *** heidi has quit IRC
[00:04:44] *** mspier is now known as mspier_off
[00:05:26] *** cthrax has joined #angularjs
[00:05:34] *** TorchDragon has quit IRC
[00:05:49] *** mivv has quit IRC
[00:06:44] *** slainer68 has quit IRC
[00:07:00] *** BillCri__ has quit IRC
[00:07:00] *** tekky has quit IRC
[00:07:38] <snurfery> ishi: phew
[00:07:41] <snurfery> figured it out
[00:07:44] *** Strues has joined #angularjs
[00:07:45] <snurfery> damn
[00:07:45] *** Jrichardson has quit IRC
[00:08:00] <snurfery> md-config.js line 23 in your return statement
[00:08:07] *** Efrem has quit IRC
[00:08:26] <snurfery> states: requestConfig() <--- incorrect, there should be no parentheses
[00:08:34] <ishi> snurfery: yeah
[00:08:38] <ishi> just spotted it
[00:08:38] *** spencercarnage has joined #angularjs
[00:08:38] <snurfery> states: requestConfig <-- correct
[00:08:40] <Strues> Can anyone link me or recommend a good resource for learning / fixing my retardation when it comes to posting a form to mongo?
[00:08:41] <ishi> changed
[00:08:45] <ishi> snurfery: didn't work :(
[00:08:48] <ishi> can push
[00:08:50] *** sonofdirt has quit IRC
[00:08:51] <snurfery> also
[00:09:00] <snurfery> in your top-level state
[00:09:24] *** mary5030 has quit IRC
[00:09:30] *** jair has quit IRC
[00:09:31] <snurfery> with the unfortunate name 'mdConApp' , which is the exact same as your app name (I don't like that)
[00:09:41] <snurfery> that state needs to be abstract
[00:09:52] <snurfery> add abstract: true,
[00:10:06] *** Jrichardson has joined #angularjs
[00:10:10] *** IanOlson has joined #angularjs
[00:10:12] <ishi> snurfery: heh... I thought that it has to be the same as app name
[00:10:17] *** IanOlson has quit IRC
[00:10:22] <ishi> (it was in the example, so I changed it to the same as my app)
[00:10:28] <snurfery> your resolve for nav needs to inject $log
[00:10:44] *** busticated has joined #angularjs
[00:10:44] <snurfery> ishi: I could be wrong, to me it just confuses the issue a bit, using similar names for different things
[00:11:22] <snurfery> nav: ['mdConfig', '$log', function(mdConfig, $log) ... <--- needed to add the second $log
[00:11:36] <davek> God dammit. Been working on the front end too long now Google won't give me anything not tangentially related to angular.
[00:11:55] <snurfery> finally, comment out your entire .run() section
[00:11:58] *** patrickarlt has quit IRC
[00:12:03] <ishi> snurfery: ha!
[00:12:13] <ishi> snurfery: this injecting of $log did the trick :)
[00:12:15] <snurfery> what am I doing, lemme just post the code
[00:13:16] *** JoshGlzBrk has joined #angularjs
[00:13:17] <snurfery> I added $urlRouterProvider to automatically go to url '/' , so you don't need to do $state.go(home)
[00:13:22] *** FuCone has joined #angularjs
[00:13:28] <e-dard> I'm finding that stuff in a controller is being called twice. I think because of my template.
[00:13:34] *** elux has quit IRC
[00:13:49] <ishi> snurfery: oh... it seems to work even w/o the $url...
[00:13:52] *** zeroquake has quit IRC
[00:14:09] <ishi> snurfery: now, there is this 2nd question (not so important, but it'd be nice if it worked)
[00:14:09] <snurfery> cool
[00:14:09] <e-dard> How do you ensure code only gets called in controller when with ng-controller="MyController" ?
[00:14:23] <ishi> snurfery: have you seen the original plunk?
[00:14:29] <ishi> snurfery: it had this nice animation...
[00:14:42] *** mehlah has joined #angularjs
[00:14:48] <ishi> snurfery: to be honest, I started fiddling with this one mainly because I wanted to ahve it :)
[00:15:01] *** bsmithgall has quit IRC
[00:15:02] <snurfery> ha
[00:15:12] <ishi> snurfery: however, even the original plunk doesn't work when downloaded
[00:15:18] *** mattwynne has quit IRC
[00:15:19] <snurfery> can't help ya there, I'm sure you can figure it out ;)
[00:15:31] <ishi> well... yes, I probably will be able to :)
[00:15:36] <ishi> but I thought I'd ask... :)
[00:15:37] *** apetro__ has joined #angularjs
[00:15:43] <ishi> OK
[00:15:50] <ishi> Thank you very much...
[00:15:56] <ishi> that's enough for me for one night
[00:15:56] <ishi> :)
[00:16:12] *** geiltalasdair has quit IRC
[00:16:34] *** lite_ has joined #angularjs
[00:16:56] *** mattwynne has joined #angularjs
[00:17:39] <snurfery> icfantv: you're saying it works with $timeout 5ms, but not when it's $timeout 0ms?
[00:17:54] <ishi> I have to @#$#@ go to work tomorrow and code again ;)
[00:17:55] <snurfery> ishi: welcome, good luck
[00:18:00] *** tomzx is now known as tomzx`afk
[00:18:07] <ishi> snurfery: I owe you a pint :)
[00:18:44] *** apetro_ has quit IRC
[00:18:47] <ishi> snurfery: where are you from? Lithuania, or is it just random server?
[00:18:47] <thomasfuston> If i would like to use somethin like pouchdb, create a service for it is the way to go?
[00:19:03] *** Nizumzen has joined #angularjs
[00:19:35] <davek> Yes.
[00:19:45] *** e-dard is now known as e-dard_afk
[00:20:02] *** mspier_off is now known as mspier
[00:20:03] *** apetro__ has quit IRC
[00:20:13] *** Aliks_ has quit IRC
[00:21:02] *** lite_ has quit IRC
[00:21:09] <icfantv> snurfery: i didn't try a zero
[00:21:12] <icfantv> let me do so now
[00:21:33] *** mattwynne has quit IRC
[00:21:41] <icfantv> yea, zero works
[00:22:01] <icfantv> it's like it's single threaded
[00:22:03] *** jerev_away is now known as jerev
[00:22:07] *** mspier is now known as mspier_off
[00:22:14] <icfantv> and the timeout makes it multi-threaded
[00:22:50] * ishi is going to visit Riga next week... it's almost stone's throw away from Lithuania
[00:22:54] <ishi> anyways
[00:22:55] *** cboden has quit IRC
[00:22:56] <ishi> good night
[00:22:57] *** Strues has quit IRC
[00:23:02] *** patrickarlt has joined #angularjs
[00:23:11] <icfantv> i was able to expose the .success/.error handlers so i'm passing in the $emit on the .success
[00:23:33] *** xavia has quit IRC
[00:25:09] <davek> $timeout(0) simply waits for rendering execution to complete before running the function.
[00:25:51] *** Jrichardson has quit IRC
[00:26:30] *** rburns_ has quit IRC
[00:26:36] <Cixis> it doesn't really wait though, right? it is just added to the processing loop, and runs after the browser redraws
[00:26:42] <icfantv> davek: that's what i want
[00:26:52] *** evilaliv3 has quit IRC
[00:26:54] *** davedev24_ has joined #angularjs
[00:26:55] <Foxandxss> it does wait
[00:27:06] *** DrMabuse_ has joined #angularjs
[00:27:10] <Foxandxss> the browser fires the javascript and dom rendering at once
[00:27:23] <Foxandxss> the $timeout just makes a pause onto the javascript to let the dom finish
[00:27:23] <icfantv> i've got jquery code to recalculate the height of a div on a window resize and on a resize event, the code works.
[00:27:27] <Foxandxss> so, well, it does a wait
[00:27:39] <icfantv> the problem is the code isn't executed when a template is loaded (because no resize event is fired)
[00:27:43] *** jeffisabelle has joined #angularjs
[00:27:44] <icfantv> so i have to trigger it manually
[00:27:52] *** azureknight has joined #angularjs
[00:28:01] <Cixis> but not a "wait" as in, say $q.defer and resolve?
[00:28:07] <davek> Yes.
[00:28:14] *** ishi has quit IRC
[00:28:15] <icfantv> but the div that's sized is using ng-show and isn't visible until a REST call completes
[00:28:33] *** bosphorus has quit IRC
[00:28:54] <icfantv> so what i've had to do is have the child controller do an $emit and the parent controller (where the resize code lives) do an $on with a $timeout
[00:29:05] <davek> Also _those_ are not really waiting. $timeout adds the function to the event queue when its called, promises don't do that until they're resolved/rejected.
[00:29:14] <Cixis> yea
[00:29:15] *** lsiv568 has joined #angularjs
[00:29:18] <Cixis> what you just stated is what i meant
[00:29:22] *** davedev2_ has quit IRC
[00:29:34] <icfantv> without the $timeout, the div isn't visible yet and I *think* that jquery doesn't find hidden divs out of the box
[00:29:37] *** umib0zu has quit IRC
[00:29:50] <davek> Yeah well it's not finished rendering yet.
[00:29:59] *** Asiajey has joined #angularjs
[00:30:40] *** mspier_off is now known as mspier
[00:31:00] *** jamesbdev has joined #angularjs
[00:31:27] *** DrMabuse_ has quit IRC
[00:31:33] *** RobinBAwesome has quit IRC
[00:31:35] *** xastey has joined #angularjs
[00:32:08] *** sdouglas has quit IRC
[00:32:39] *** partikus has quit IRC
[00:32:43] <icfantv> right
[00:33:28] *** slainer68 has joined #angularjs
[00:33:36] *** nanoyak has quit IRC
[00:33:41] *** bayousoft has quit IRC
[00:33:47] *** nanoyak has joined #angularjs
[00:34:01] *** Matt_Ricketts has quit IRC
[00:34:17] *** BlinkyBill has joined #angularjs
[00:34:18] *** xastey- has quit IRC
[00:34:38] *** phrozensilver has quit IRC
[00:35:15] *** Matt_Ricketts has joined #angularjs
[00:35:26] *** phrozensilver has joined #angularjs
[00:35:40] *** patrickarlt has quit IRC
[00:36:17] *** zzz-owl is now known as night-owl
[00:36:27] *** greg5green has joined #angularjs
[00:36:33] *** lsiv568 has quit IRC
[00:36:37] *** Sgeo has joined #angularjs
[00:37:06] *** RobinBAwesome has joined #angularjs
[00:37:18] *** sdouglas has joined #angularjs
[00:38:03] *** simsketch_ has quit IRC
[00:38:39] *** mindlace has quit IRC
[00:38:51] *** Notte has quit IRC
[00:39:07] *** MaxV has quit IRC
[00:39:18] *** klaut_ has quit IRC
[00:39:36] *** lucasefe has quit IRC
[00:39:46] *** Aliks_ has joined #angularjs
[00:39:49] *** FunnyLookinHat has quit IRC
[00:40:15] *** bmac has joined #angularjs
[00:41:38] *** whunt_ has quit IRC
[00:43:37] *** thedodd has quit IRC
[00:43:39] *** francisl has quit IRC
[00:43:42] *** mindlace has joined #angularjs
[00:44:01] *** KernelCurry has quit IRC
[00:44:02] <snurfery> icfantv: that's exactly why I suggested timeout a looooooooooooong time ago haha
[00:44:09] <snurfery> but I'm glad it's working for you ;)
[00:44:13] <icfantv> oh hush
[00:44:15] <icfantv> :-)
[00:44:22] <icfantv> but yes, thanks.
[00:44:22] <gnarMatix> anyone use requireJS + angularJS ?
[00:44:48] <icfantv> we'll need to figure out a way long term though for REST calls taht may take a while
[00:44:55] <icfantv> gnarmatix: yes
[00:44:58] <icfantv> we do
[00:45:00] *** t1mmen has quit IRC
[00:45:08] <icfantv> but unfortunately, i have kid duty and have to jet
[00:45:10] <gnarMatix> icfantv: any issues?
[00:45:14] <icfantv> i'll be on tomorrow morning.
[00:45:17] <icfantv> no
[00:45:20] <icfantv> it's awesome
[00:45:21] *** anjumkaiser has quit IRC
[00:45:31] <icfantv> only one <script> block in your main page.
[00:46:04] *** dnxt has quit IRC
[00:46:15] *** jshultz has quit IRC
[00:46:15] *** whunt has joined #angularjs
[00:46:40] <icfantv> ping me tomorrow and i can gist some stuff
[00:46:49] *** Jdubs has quit IRC
[00:46:51] *** icfantv has quit IRC
[00:47:42] <gnarMatix> anyone here know javascript
[00:47:47] *** Jdubs has joined #angularjs
[00:47:51] *** nonsenz has quit IRC
[00:48:10] <Foxandxss> all us of maybe
[00:48:47] *** tmrudick has quit IRC
[00:49:01] <phrozensilver> anyone know why a $http.post('data/decks.json', data); is giving 404
[00:49:04] *** nonsenz has joined #angularjs
[00:49:05] <phrozensilver> when the file is there
[00:49:18] *** caitp has quit IRC
[00:49:29] <Foxandxss> post to a json file?
[00:49:32] <phrozensilver> yes
[00:49:40] <phrozensilver> and I go to that url in my browser and it works
[00:49:42] *** wilmoore has joined #angularjs
[00:49:59] *** upsell5 has quit IRC
[00:50:00] *** mrogne has quit IRC
[00:50:23] *** mrogne has joined #angularjs
[00:50:46] *** ender_ has quit IRC
[00:50:46] *** Veer89 has quit IRC
[00:50:47] *** shred has quit IRC
[00:50:51] <Foxandxss> try /data/decks.json
[00:51:02] *** ender_ has joined #angularjs
[00:51:02] *** Veer89 has joined #angularjs
[00:51:02] *** shred has joined #angularjs
[00:51:14] *** bphogan is now known as bphogan_afk
[00:51:15] *** Jdubs has quit IRC
[00:51:16] *** jeffisabelle has quit IRC
[00:51:17] *** [n0b0dy] has quit IRC
[00:51:18] *** tarnus has quit IRC
[00:51:18] *** hugorodrigues has quit IRC
[00:51:18] *** SpearThruster has quit IRC
[00:51:19] *** mettjus has quit IRC
[00:51:20] *** Rebirth has quit IRC
[00:51:21] *** krotscheck has quit IRC
[00:51:21] *** rho has quit IRC
[00:51:22] *** stevvooe has quit IRC
[00:51:22] *** asdofindia has quit IRC
[00:51:23] *** wafflejock_ has quit IRC
[00:51:23] *** clamstar has quit IRC
[00:51:24] *** styles_ has quit IRC
[00:51:24] *** Sean-Der has quit IRC
[00:51:24] *** demands has quit IRC
[00:51:25] *** lukegb has quit IRC
[00:51:25] *** heathkit_ has quit IRC
[00:51:26] *** GeertJohan_ has quit IRC
[00:51:27] *** jeffszusz has quit IRC
[00:51:27] *** cebor has quit IRC
[00:51:28] *** omsmith_ has quit IRC
[00:51:28] *** deepy has quit IRC
[00:51:30] *** error404_ has quit IRC
[00:51:31] *** ClarusCogitatio has quit IRC
[00:51:33] *** aliljet has quit IRC
[00:51:33] *** noord has quit IRC
[00:51:35] *** cellofellow has quit IRC
[00:51:35] *** asm89 has quit IRC
[00:51:35] *** Jorer has quit IRC
[00:51:36] *** SirFunk has quit IRC
[00:51:36] *** InezK has quit IRC
[00:51:37] *** qpok has quit IRC
[00:51:37] *** r4vi has quit IRC
[00:51:38] *** kfr2 has quit IRC
[00:51:39] *** linagee has quit IRC
[00:51:39] *** Noeble_ has quit IRC
[00:51:41] *** mattp_ has quit IRC
[00:51:41] *** suffice has quit IRC
[00:51:41] *** Johnny- has quit IRC
[00:51:42] *** howitdo has quit IRC
[00:51:42] *** e-dard_afk has quit IRC
[00:51:43] *** eMBee has quit IRC
[00:51:44] *** ajk27 has quit IRC
[00:51:56] *** oa_ has joined #angularjs
[00:52:05] <phrozensilver> nope :(
[00:52:22] <Foxandxss> well, you have to know what your backend servers
[00:52:24] <sal1191_> dont netsplit my heart
[00:52:27] <Foxandxss> and how to reach it :P
[00:52:33] *** bmac has quit IRC
[00:52:34] *** Sgeo has quit IRC
[00:52:34] *** badon has quit IRC
[00:52:35] *** tarkus has quit IRC
[00:52:35] *** bchoate has quit IRC
[00:52:36] *** mac_ified has quit IRC
[00:52:37] *** charuru has quit IRC
[00:52:38] *** robdubya has quit IRC
[00:52:38] *** Nek has quit IRC
[00:52:39] *** tylerjohnst has quit IRC
[00:52:39] *** stirlingw has quit IRC
[00:52:39] *** tilgovi has quit IRC
[00:52:40] *** Somatt_wrk has quit IRC
[00:52:40] *** plysiu has quit IRC
[00:52:41] *** blueadept has quit IRC
[00:52:41] *** foobarbazbat has quit IRC
[00:52:42] *** juampy has quit IRC
[00:52:43] *** iksik has quit IRC
[00:52:46] *** greengriminal has quit IRC
[00:52:46] *** RogerWS has quit IRC
[00:52:47] *** Vloz__ has quit IRC
[00:52:47] *** NickMass has quit IRC
[00:52:48] *** tote_ has quit IRC
[00:52:48] *** BullySti1k has quit IRC
[00:52:49] *** philp_ has quit IRC
[00:52:49] *** greatdex has quit IRC
[00:52:49] *** jgrubb has quit IRC
[00:52:50] *** mvovchak_ has quit IRC
[00:52:50] *** AlexZanf has quit IRC
[00:52:51] *** boneskull has quit IRC
[00:52:51] *** tk has quit IRC
[00:52:52] *** Fishy has quit IRC
[00:52:52] *** twisted` has quit IRC
[00:52:53] *** jcw has quit IRC
[00:52:53] *** sharondio has quit IRC
[00:52:53] *** ged has quit IRC
[00:52:54] *** diffalot has quit IRC
[00:52:54] *** richburke has quit IRC
[00:52:54] *** Chepra has quit IRC
[00:52:55] *** rubberneck has quit IRC
[00:52:55] *** eloib has quit IRC
[00:52:55] *** vanseverk has quit IRC
[00:52:56] *** kajstrom has quit IRC
[00:52:57] *** sheeppower has quit IRC
[00:52:57] *** kalz has quit IRC
[00:52:57] *** rud has quit IRC
[00:52:58] *** dynacker has quit IRC
[00:52:58] *** itsananderson has quit IRC
[00:52:59] *** dwayne has quit IRC
[00:53:00] *** bberry has quit IRC
[00:53:00] *** jga has quit IRC
[00:53:00] *** AnybodyElse has quit IRC
[00:53:01] *** amatecha has quit IRC
[00:53:01] *** boubbin has quit IRC
[00:53:01] *** roobik has quit IRC
[00:53:02] *** fatshark has quit IRC
[00:53:03] *** hnordt has quit IRC
[00:53:03] *** monokrome has quit IRC
[00:53:04] *** licyeus_ has quit IRC
[00:53:04] *** krnflake has quit IRC
[00:53:05] *** robk has quit IRC
[00:53:05] *** timppa has quit IRC
[00:53:05] *** iivvoo has quit IRC
[00:53:06] *** Ironlink has quit IRC
[00:53:07] *** dnyy has quit IRC
[00:53:08] *** jrdnull has quit IRC
[00:53:08] *** ree has quit IRC
[00:53:09] *** scottalan has quit IRC
[00:53:10] *** jieryn has quit IRC
[00:53:11] *** Pierre_N has quit IRC
[00:53:11] *** philips has quit IRC
[00:53:12] *** wib has quit IRC
[00:53:12] *** mattweg has quit IRC
[00:53:14] *** admix|away has quit IRC
[00:53:14] *** rodr1go has quit IRC
[00:53:15] *** asdf` has quit IRC
[00:53:16] *** teegee543 has quit IRC
[00:53:17] *** braidn has quit IRC
[00:53:17] *** noob13 has quit IRC
[00:53:18] *** BadHorsie has quit IRC
[00:53:19] *** naquad has quit IRC
[00:53:20] *** Reite has quit IRC
[00:53:33] *** bmac has joined #angularjs
[00:53:33] *** Sgeo has joined #angularjs
[00:53:34] *** badon has joined #angularjs
[00:53:34] *** tarkus has joined #angularjs
[00:53:34] *** bchoate has joined #angularjs
[00:53:34] *** mac_ified has joined #angularjs
[00:53:35] *** charuru has joined #angularjs
[00:53:35] *** robdubya has joined #angularjs
[00:53:35] *** Nek has joined #angularjs
[00:53:35] *** tylerjohnst has joined #angularjs
[00:53:36] *** stirlingw has joined #angularjs
[00:53:36] *** tilgovi has joined #angularjs
[00:53:36] *** Somatt_wrk has joined #angularjs
[00:53:36] *** plysiu has joined #angularjs
[00:53:37] *** blueadept has joined #angularjs
[00:53:37] *** foobarbazbat has joined #angularjs
[00:53:37] *** juampy has joined #angularjs
[00:53:38] *** iksik has joined #angularjs
[00:53:38] *** greengriminal has joined #angularjs
[00:53:38] *** RogerWS has joined #angularjs
[00:53:38] *** Vloz__ has joined #angularjs
[00:53:38] *** NickMass has joined #angularjs
[00:53:39] *** tote_ has joined #angularjs
[00:53:39] *** BullySti1k has joined #angularjs
[00:53:39] *** philp_ has joined #angularjs
[00:53:39] *** greatdex has joined #angularjs
[00:53:39] *** jgrubb has joined #angularjs
[00:53:40] *** mvovchak_ has joined #angularjs
[00:53:40] *** AlexZanf has joined #angularjs
[00:53:40] *** boneskull has joined #angularjs
[00:53:40] *** tk has joined #angularjs
[00:53:40] *** Fishy has joined #angularjs
[00:53:41] *** twisted` has joined #angularjs
[00:53:41] *** jcw has joined #angularjs
[00:53:41] *** sharondio has joined #angularjs
[00:53:41] *** ged has joined #angularjs
[00:53:42] *** robk has joined #angularjs
[00:53:42] *** diffalot has joined #angularjs
[00:53:42] *** eloib has joined #angularjs
[00:53:43] *** Chepra has joined #angularjs
[00:53:43] *** richburke has joined #angularjs
[00:53:43] *** rubberneck has joined #angularjs
[00:53:43] *** vanseverk has joined #angularjs
[00:53:44] *** bberry has joined #angularjs
[00:53:44] *** kajstrom has joined #angularjs
[00:53:44] *** sheeppower has joined #angularjs
[00:53:45] *** kalz has joined #angularjs
[00:53:45] *** rud has joined #angularjs
[00:53:45] *** dynacker has joined #angularjs
[00:53:45] *** itsananderson has joined #angularjs
[00:53:46] *** dwayne has joined #angularjs
[00:53:46] *** jga has joined #angularjs
[00:53:46] *** AnybodyElse has joined #angularjs
[00:53:46] *** amatecha has joined #angularjs
[00:53:47] *** boubbin has joined #angularjs
[00:53:47] *** roobik has joined #angularjs
[00:53:47] *** fatshark has joined #angularjs
[00:53:48] *** hnordt has joined #angularjs
[00:53:48] *** monokrome has joined #angularjs
[00:53:48] *** licyeus_ has joined #angularjs
[00:53:48] *** krnflake has joined #angularjs
[00:53:49] *** timppa has joined #angularjs
[00:53:49] *** iivvoo has joined #angularjs
[00:53:49] *** Ironlink has joined #angularjs
[00:53:50] *** jrdnull has joined #angularjs
[00:53:50] *** dnyy has joined #angularjs
[00:53:50] *** ree has joined #angularjs
[00:53:50] *** scottalan has joined #angularjs
[00:53:51] *** jieryn has joined #angularjs
[00:53:51] *** Pierre_N has joined #angularjs
[00:53:51] *** philips has joined #angularjs
[00:53:51] *** wib has joined #angularjs
[00:53:52] *** mattweg has joined #angularjs
[00:53:52] *** admix|away has joined #angularjs
[00:53:52] *** rodr1go has joined #angularjs
[00:53:52] *** asdf` has joined #angularjs
[00:53:52] *** braidn has joined #angularjs
[00:53:53] *** teegee543 has joined #angularjs
[00:53:53] *** noob13 has joined #angularjs
[00:53:53] *** BadHorsie has joined #angularjs
[00:53:53] *** naquad has joined #angularjs
[00:53:55] *** mmitche__ has quit IRC
[00:53:55] *** dariocravero has quit IRC
[00:53:58] *** jeffisabelle has joined #angularjs
[00:53:58] *** [n0b0dy] has joined #angularjs
[00:53:58] *** tarnus has joined #angularjs
[00:53:58] *** hugorodrigues has joined #angularjs
[00:53:58] *** SpearThruster has joined #angularjs
[00:53:59] *** mettjus has joined #angularjs
[00:53:59] *** e-dard_afk has joined #angularjs
[00:53:59] *** Rebirth has joined #angularjs
[00:53:59] *** krotscheck has joined #angularjs
[00:54:00] *** rho has joined #angularjs
[00:54:00] *** stevvooe has joined #angularjs
[00:54:00] *** asdofindia has joined #angularjs
[00:54:00] *** wafflejock_ has joined #angularjs
[00:54:01] *** clamstar has joined #angularjs
[00:54:01] *** styles_ has joined #angularjs
[00:54:01] *** Sean-Der has joined #angularjs
[00:54:02] *** demands has joined #angularjs
[00:54:02] *** lukegb has joined #angularjs
[00:54:02] *** heathkit_ has joined #angularjs
[00:54:02] *** GeertJohan_ has joined #angularjs
[00:54:02] *** jeffszusz has joined #angularjs
[00:54:03] *** cebor has joined #angularjs
[00:54:03] *** ajk27 has joined #angularjs
[00:54:03] *** mattp_ has joined #angularjs
[00:54:03] *** omsmith_ has joined #angularjs
[00:54:03] *** deepy has joined #angularjs
[00:54:04] *** error404_ has joined #angularjs
[00:54:04] *** eMBee has joined #angularjs
[00:54:04] *** ClarusCogitatio has joined #angularjs
[00:54:04] *** aliljet has joined #angularjs
[00:54:04] *** noord has joined #angularjs
[00:54:05] *** cellofellow has joined #angularjs
[00:54:05] *** asm89 has joined #angularjs
[00:54:05] *** Jorer has joined #angularjs
[00:54:05] *** InezK has joined #angularjs
[00:54:05] *** SirFunk has joined #angularjs
[00:54:06] *** qpok has joined #angularjs
[00:54:06] *** r4vi has joined #angularjs
[00:54:06] *** kfr2 has joined #angularjs
[00:54:06] *** linagee has joined #angularjs
[00:54:06] *** Noeble_ has joined #angularjs
[00:54:07] *** suffice has joined #angularjs
[00:54:07] *** Johnny- has joined #angularjs
[00:54:07] *** howitdo has joined #angularjs
[00:54:07] *** monokrome has quit IRC
[00:54:13] *** kalz has quit IRC
[00:54:14] *** amatecha has quit IRC
[00:54:14] *** badon has quit IRC
[00:54:14] *** twisted` has quit IRC
[00:54:15] *** mehlah has quit IRC
[00:54:16] *** texinwien has quit IRC
[00:54:16] *** amatecha has joined #angularjs
[00:54:16] *** badon has joined #angularjs
[00:54:17] *** Zeeshan_M has quit IRC
[00:54:18] *** wim has quit IRC
[00:54:18] *** olli- has quit IRC
[00:54:19] *** oal has quit IRC
[00:54:19] *** Mattias has quit IRC
[00:54:20] *** universa1 has quit IRC
[00:54:22] *** akoenig has quit IRC
[00:54:22] *** efdee has quit IRC
[00:54:22] *** snzmn has quit IRC
[00:54:23] *** novist has quit IRC
[00:54:24] *** tuhoojabotti has quit IRC
[00:54:24] *** szuja has quit IRC
[00:54:24] *** nCrazed has quit IRC
[00:54:25] *** raijin has quit IRC
[00:54:25] *** chrysn has quit IRC
[00:54:25] *** tga has quit IRC
[00:54:26] *** s2hc_johan has quit IRC
[00:54:26] *** ajpiano has quit IRC
[00:54:26] *** T-Co has quit IRC
[00:54:27] <phrozensilver> do I have to set permissions to post or something?
[00:54:28] *** iksik has quit IRC
[00:54:28] *** asdofindia has quit IRC
[00:54:29] *** jeffisabelle has quit IRC
[00:54:29] *** ClarusCogitatio has quit IRC
[00:54:29] *** twisted` has joined #angularjs
[00:54:31] *** Zeeshan_M has joined #angularjs
[00:54:31] *** wim has joined #angularjs
[00:54:31] *** olli- has joined #angularjs
[00:54:31] *** oal has joined #angularjs
[00:54:32] *** Mattias has joined #angularjs
[00:54:32] *** efdee has joined #angularjs
[00:54:32] *** raijin has joined #angularjs
[00:54:32] *** universa1 has joined #angularjs
[00:54:32] *** chrysn has joined #angularjs
[00:54:33] *** T-Co has joined #angularjs
[00:54:33] *** snzmn has joined #angularjs
[00:54:33] *** akoenig has joined #angularjs
[00:54:33] *** s2hc_johan has joined #angularjs
[00:54:33] *** novist has joined #angularjs
[00:54:34] *** tuhoojabotti has joined #angularjs
[00:54:34] *** szuja has joined #angularjs
[00:54:34] *** nCrazed has joined #angularjs
[00:54:34] *** tga has joined #angularjs
[00:54:35] *** ajpiano has joined #angularjs
[00:54:39] <morenoh150> I wan to do in my template ng-repeat="image in userImages" But how do I handle if a user uploads the same image more than once?
[00:54:39] *** asdofindia has joined #angularjs
[00:54:40] <Foxandxss> no
[00:54:40] <morenoh150> ng-repeat just blew up on me
[00:54:41] *** RandomStranger- has quit IRC
[00:54:41] *** AciD`` has quit IRC
[00:54:42] *** fdrechsler has quit IRC
[00:54:44] *** ajmitch has quit IRC
[00:54:45] *** ajph_ has quit IRC
[00:54:46] *** Gooder has quit IRC
[00:54:48] *** zarul[afk] has quit IRC
[00:54:48] *** Aliks has quit IRC
[00:54:51] *** tdierks has quit IRC
[00:54:52] *** tumdedum has quit IRC
[00:54:53] *** Khruu has quit IRC
[00:54:55] *** rinceRepeat has quit IRC
[00:54:56] *** rbs has quit IRC
[00:54:57] *** dmg91 has quit IRC
[00:54:58] *** TravisTX has quit IRC
[00:54:59] *** systemat1k has quit IRC
[00:55:00] *** alekibango has quit IRC
[00:55:01] *** _rgn has quit IRC
[00:55:01] *** mdallastella has quit IRC
[00:55:02] *** tommyziegler1 has quit IRC
[00:55:02] *** Pwnna has quit IRC
[00:55:03] *** felixn has quit IRC
[00:55:03] *** Germanaz0|0FF has quit IRC
[00:55:04] *** jory has quit IRC
[00:55:04] *** bphogan_afk has quit IRC
[00:55:08] *** HansiHE has quit IRC
[00:55:09] *** teemupo has quit IRC
[00:55:09] *** termleech has quit IRC
[00:55:09] *** cythrawll has quit IRC
[00:55:10] *** scorphus has quit IRC
[00:55:10] *** runnyspot has quit IRC
[00:55:11] *** Lunchy has quit IRC
[00:55:12] *** nanashiRei has quit IRC
[00:55:12] *** Tuxity has quit IRC
[00:55:13] *** DexterTheDragon has quit IRC
[00:55:13] *** DANtheBEASTman has quit IRC
[00:55:14] *** everett has quit IRC
[00:55:14] *** uris77 has quit IRC
[00:55:14] *** boltR has quit IRC
[00:55:15] *** atomi has quit IRC
[00:55:16] *** Orginator_ has quit IRC
[00:55:16] *** hachiya has quit IRC
[00:55:17] *** comboy_ has quit IRC
[00:55:18] *** herenow has quit IRC
[00:55:18] *** bigos has quit IRC
[00:55:19] *** Sakurazaki has quit IRC
[00:55:19] *** tomaso has quit IRC
[00:55:20] *** Zeeshan_M has quit IRC
[00:55:22] *** wim has quit IRC
[00:55:22] *** olli- has quit IRC
[00:55:23] *** oal has quit IRC
[00:55:23] *** Mattias has quit IRC
[00:55:24] *** universa1 has quit IRC
[00:55:27] *** akoenig has quit IRC
[00:55:27] *** efdee has quit IRC
[00:55:27] *** snzmn has quit IRC
[00:55:28] *** novist has quit IRC
[00:55:28] *** tuhoojabotti has quit IRC
[00:55:29] *** szuja has quit IRC
[00:55:29] *** nCrazed has quit IRC
[00:55:30] *** raijin has quit IRC
[00:55:30] *** chrysn has quit IRC
[00:55:30] *** tga has quit IRC
[00:55:31] *** s2hc_johan has quit IRC
[00:55:31] *** ajpiano has quit IRC
[00:55:31] *** T-Co has quit IRC
[00:55:32] *** asdofindia has quit IRC
[00:55:32] *** [n0b0dy] has quit IRC
[00:55:33] *** tarnus has quit IRC
[00:55:33] *** hugorodrigues has quit IRC
[00:55:34] *** SpearThruster has quit IRC
[00:55:35] *** mettjus has quit IRC
[00:55:36] *** Rebirth has quit IRC
[00:55:36] *** krotscheck has quit IRC
[00:55:37] *** rho has quit IRC
[00:55:38] *** stevvooe has quit IRC
[00:55:38] *** wafflejock_ has quit IRC
[00:55:39] *** clamstar has quit IRC
[00:55:39] *** styles_ has quit IRC
[00:55:40] *** Sean-Der has quit IRC
[00:55:40] *** demands has quit IRC
[00:55:41] *** lukegb has quit IRC
[00:55:41] *** heathkit_ has quit IRC
[00:55:42] *** GeertJohan_ has quit IRC
[00:55:44] *** jeffszusz has quit IRC
[00:55:45] *** cebor has quit IRC
[00:55:46] *** omsmith_ has quit IRC
[00:55:46] *** deepy has quit IRC
[00:55:48] *** error404_ has quit IRC
[00:55:51] *** aliljet has quit IRC
[00:55:52] *** noord has quit IRC
[00:55:53] *** cellofellow has quit IRC
[00:55:54] *** asm89 has quit IRC
[00:55:55] *** Jorer has quit IRC
[00:55:55] *** SirFunk has quit IRC
[00:55:55] *** InezK has quit IRC
[00:55:57] *** qpok has quit IRC
[00:55:57] *** r4vi has quit IRC
[00:55:58] *** kfr2 has quit IRC
[00:55:59] *** linagee has quit IRC
[00:56:00] *** Noeble_ has quit IRC
[00:56:00] *** mattp_ has quit IRC
[00:56:01] *** suffice has quit IRC
[00:56:02] *** Johnny- has quit IRC
[00:56:03] *** howitdo has quit IRC
[00:56:03] *** e-dard_afk has quit IRC
[00:56:03] *** eMBee has quit IRC
[00:56:05] *** ajk27 has quit IRC
[00:56:06] *** amatecha has quit IRC
[00:56:06] *** bmac has quit IRC
[00:56:06] *** Sgeo has quit IRC
[00:56:07] *** tarkus has quit IRC
[00:56:08] *** bchoate has quit IRC
[00:56:08] *** mac_ified has quit IRC
[00:56:10] *** charuru has quit IRC
[00:56:10] *** robdubya has quit IRC
[00:56:10] *** Nek has quit IRC
[00:56:11] *** tylerjohnst has quit IRC
[00:56:11] *** stirlingw has quit IRC
[00:56:12] *** tilgovi has quit IRC
[00:56:12] *** Somatt_wrk has quit IRC
[00:56:12] *** plysiu has quit IRC
[00:56:14] *** blueadept has quit IRC
[00:56:14] *** foobarbazbat has quit IRC
[00:56:15] *** juampy has quit IRC
[00:56:19] *** greengriminal has quit IRC
[00:56:20] *** RogerWS has quit IRC
[00:56:20] *** Vloz__ has quit IRC
[00:56:21] *** NickMass has quit IRC
[00:56:22] *** tote_ has quit IRC
[00:56:22] *** BullySti1k has quit IRC
[00:56:23] *** philp_ has quit IRC
[00:56:24] *** greatdex has quit IRC
[00:56:24] *** jgrubb has quit IRC
[00:56:25] *** mvovchak_ has quit IRC
[00:56:25] *** AlexZanf has quit IRC
[00:56:27] *** boneskull has quit IRC
[00:56:28] *** tk has quit IRC
[00:56:29] *** Fishy has quit IRC
[00:56:30] *** jcw has quit IRC
[00:56:31] *** sharondio has quit IRC
[00:56:31] *** ged has quit IRC
[00:56:32] *** diffalot has quit IRC
[00:56:32] *** Chepra has quit IRC
[00:56:33] *** richburke has quit IRC
[00:56:33] *** rubberneck has quit IRC
[00:56:33] *** eloib has quit IRC
[00:56:34] *** vanseverk has quit IRC
[00:56:34] *** kajstrom has quit IRC
[00:56:35] *** sheeppower has quit IRC
[00:56:36] *** rud has quit IRC
[00:56:36] *** dynacker has quit IRC
[00:56:37] *** itsananderson has quit IRC
[00:56:38] *** dwayne has quit IRC
[00:56:38] *** bberry has quit IRC
[00:56:39] *** jga has quit IRC
[00:56:39] *** AnybodyElse has quit IRC
[00:56:39] *** boubbin has quit IRC
[00:56:40] *** roobik has quit IRC
[00:56:40] *** fatshark has quit IRC
[00:56:42] *** hnordt has quit IRC
[00:56:43] *** licyeus_ has quit IRC
[00:56:43] *** krnflake has quit IRC
[00:56:43] *** robk has quit IRC
[00:56:44] *** timppa has quit IRC
[00:56:44] *** iivvoo has quit IRC
[00:56:44] *** Ironlink has quit IRC
[00:56:46] *** dnyy has quit IRC
[00:56:46] *** jrdnull has quit IRC
[00:56:47] *** ree has quit IRC
[00:56:47] *** scottalan has quit IRC
[00:56:48] *** jieryn has quit IRC
[00:56:49] *** Pierre_N has quit IRC
[00:56:49] *** philips has quit IRC
[00:56:50] *** wib has quit IRC
[00:56:50] *** mattweg has quit IRC
[00:56:52] *** admix|away has quit IRC
[00:56:53] *** rodr1go has quit IRC
[00:56:54] *** asdf` has quit IRC
[00:56:55] *** teegee543 has quit IRC
[00:56:55] *** braidn has quit IRC
[00:56:56] *** noob13 has quit IRC
[00:56:57] *** BadHorsie has quit IRC
[00:56:58] *** naquad has quit IRC
[00:56:59] *** ender_ has quit IRC
[00:57:00] *** Veer89 has quit IRC
[00:57:01] *** shred has quit IRC
[00:57:01] *** nonsenz has quit IRC
[00:57:02] *** phrozensilver has quit IRC
[00:57:02] *** spencercarnage has quit IRC
[00:57:03] *** cthrax has quit IRC
[00:57:03] *** phuh has quit IRC
[00:57:04] *** Grokling__ has quit IRC
[00:57:04] *** enigmarm has quit IRC
[00:57:05] *** tfennelly has quit IRC
[00:57:06] *** edzez has quit IRC
[00:57:06] *** delerium_ has quit IRC
[00:57:06] *** jtimon has quit IRC
[00:57:07] *** SaintMoriarty has quit IRC
[00:57:08] *** MistahKurtz has quit IRC
[00:57:08] *** oniijin has quit IRC
[00:57:09] *** rhp has quit IRC
[00:57:09] *** shaym_ has quit IRC
[00:57:14] *** davek has quit IRC
[00:57:15] *** Nizumzen has quit IRC
[00:57:15] *** bbankes has quit IRC
[00:57:16] *** DrShoggoth has quit IRC
[00:57:17] *** DrMabuse has quit IRC
[00:57:17] *** cobakobodob has quit IRC
[00:57:18] *** lancero has quit IRC
[00:57:18] *** shackleford has quit IRC
[00:57:18] *** jareddlc has quit IRC
[00:57:19] *** ngoyal has quit IRC
[00:57:20] *** gr1nd has quit IRC
[00:57:20] *** shepheb has quit IRC
[00:57:21] *** conan_the_destro has quit IRC
[00:57:21] *** G1eb has quit IRC
[00:57:22] *** oa_ has quit IRC
[00:57:23] *** azureknight has quit IRC
[00:57:23] *** JoshGlzBrk has quit IRC
[00:57:24] *** busticated has quit IRC
[00:57:24] *** jonnybro has quit IRC
[00:57:25] *** Willow_ has quit IRC
[00:57:25] *** morenoh150 has quit IRC
[00:57:26] *** nemothekid has quit IRC
[00:57:26] *** Limix has quit IRC
[00:57:26] *** fold has quit IRC
[00:57:27] *** Sauvin has quit IRC
[00:57:27] *** ededagic has quit IRC
[00:57:28] *** mikehaas763 has quit IRC
[00:57:28] *** Alina-malina has quit IRC
[00:57:28] *** snurfery has quit IRC
[00:57:29] *** raghunayyar has quit IRC
[00:57:29] *** jdowdle has quit IRC
[00:57:29] *** OddDuck has quit IRC
[00:57:30] *** hswolff has quit IRC
[00:57:30] *** tsalb has quit IRC
[00:57:31] *** Foxandxss has quit IRC
[00:57:32] *** cofeineSunshine has quit IRC
[00:57:32] *** cacts|works has quit IRC
[00:57:32] *** mrogne has quit IRC
[00:57:33] *** broski has quit IRC
[00:57:34] *** dc has quit IRC
[00:57:34] *** Ethix has quit IRC
[00:57:34] *** tomh- has quit IRC
[00:57:34] *** bkuberek has quit IRC
[00:57:35] *** ssbr has quit IRC
[00:57:35] *** cswelin has quit IRC
[00:57:35] *** dhcar_AFK has quit IRC
[00:57:36] *** BackEndCoder has quit IRC
[00:57:36] *** Klumben has quit IRC
[00:57:36] *** happyface has quit IRC
[00:57:37] *** ggherdov has quit IRC
[00:57:37] *** hikumealan has quit IRC
[00:57:38] *** abahgat has quit IRC
[00:57:39] *** glamb__ has quit IRC
[00:57:39] *** Ownix has quit IRC
[00:57:39] *** schimmi has quit IRC
[00:57:39] *** Proditor has quit IRC
[00:57:40] *** jbinto has quit IRC
[00:57:40] *** da_wunder has quit IRC
[00:57:41] *** Marsup has quit IRC
[00:57:43] *** Thorn has quit IRC
[00:57:43] *** TwinkleHood has quit IRC
[00:57:43] *** map7 has quit IRC
[00:57:44] *** zeroz has quit IRC
[00:57:44] *** Spockz has quit IRC
[00:57:44] *** mosez has quit IRC
[00:57:45] *** blackjid has quit IRC
[00:57:45] *** callumacrae has quit IRC
[00:57:46] *** tate__ has quit IRC
[00:57:46] *** clkao has quit IRC
[00:57:46] *** zelrik has quit IRC
[00:57:47] *** accelerate has quit IRC
[00:57:48] *** anger has quit IRC
[00:57:48] *** eribeiro has quit IRC
[00:58:54] *** echelog-2 has joined #angularjs
[00:59:03] *** HeN has joined #angularjs
[01:00:38] *** flaem has joined #angularjs
[01:00:43] *** lvivski_ has joined #angularjs
[01:00:44] *** flaem has quit IRC
[01:00:46] *** Kingdutch has quit IRC
[01:00:46] *** sal1191_ has quit IRC
[01:00:47] *** veturi has quit IRC
[01:00:49] *** lvivski_ has quit IRC
[01:00:50] *** artisangoose has quit IRC
[01:00:52] *** lvivski_ has joined #angularjs
[01:01:00] *** RogerWS has joined #angularjs
[01:01:32] <morenoh150> is it possible to ng-repeat over and array of string that my include duplicate strings? Do need to add a unique id to each first?
[01:01:51] *** lvivski_ has quit IRC
[01:01:51] *** dman777_alter has quit IRC
[01:01:53] *** mehlah_ has joined #angularjs
[01:01:53] *** phuh has quit IRC
[01:02:00] *** amatecha has quit IRC
[01:02:00] *** amatecha has joined #angularjs
[01:02:11] *** kppullin_ has quit IRC
[01:02:20] *** bryon has quit IRC
[01:02:21] *** phuh has joined #angularjs
[01:02:21] <sal1191> ng-repeat will iterate over your strings as they appear in the array
[01:02:22] *** kppullin has joined #angularjs
[01:02:23] *** MANCHUCK has quit IRC
[01:02:29] *** DrMabuse has quit IRC
[01:02:30] *** anjumkaiser has joined #angularjs
[01:02:34] <sal1191> duplicates are irrelevant
[01:02:36] *** kalehv has joined #angularjs
[01:02:47] <morenoh150> sal1191: not in 1.2 apparently. I have an array of strings ['1','2','1'] and it blows up
[01:02:48] *** lvivski_ has joined #angularjs
[01:03:24] <morenoh150> [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: image in userImages, Duplicate key: string
[01:03:34] *** mdel has quit IRC
[01:03:34] *** mdel has joined #angularjs
[01:03:35] *** Imdsm^ has quit IRC
[01:03:35] *** Imdsm^ has joined #angularjs
[01:03:38] *** twisted` has quit IRC
[01:03:38] *** twisted` has joined #angularjs
[01:03:38] *** HeN has quit IRC
[01:03:39] *** HeN has joined #angularjs
[01:03:57] <sal1191> oh wait i just had your problem
[01:04:18] *** tilgovi has quit IRC
[01:04:21] *** DrShoggoth has quit IRC
[01:04:23] <sal1191> hang on :p
[01:04:38] *** InezK is now known as InezK_away
[01:04:58] *** enigmarm has quit IRC
[01:05:20] *** cthrax has quit IRC
[01:06:01] *** lvivski_ has quit IRC
[01:06:02] *** JimTheDev has joined #angularjs
[01:06:02] *** JimTheDev has joined #angularjs
[01:06:54] *** bkuberek_ has joined #angularjs
[01:06:59] <sal1191> plunkr's givin me trouble
[01:07:10] <sal1191> and that is interesting
[01:07:21] *** dutis has joined #angularjs
[01:07:36] *** whunt has quit IRC
[01:07:57] *** bkuberek_ has quit IRC
[01:08:10] <Cixis> plunker pretty much sucks
[01:08:13] *** dc has quit IRC
[01:08:38] *** heidi has joined #angularjs
[01:08:41] *** Jdubs has quit IRC
[01:08:56] *** bradmc has quit IRC
[01:09:17] *** phrozensilver has quit IRC
[01:09:27] *** tomzx`afk is now known as tomzx
[01:09:27] *** Nek has quit IRC
[01:09:28] *** dc has joined #angularjs
[01:09:41] *** phrozensilver has joined #angularjs
[01:10:20] *** bkuberek has quit IRC
[01:10:36] *** FuCone has quit IRC
[01:10:44] <morenoh150> ah success
[01:11:44] *** Jdubs has joined #angularjs
[01:12:10] *** night-owl-MBP has joined #angularjs
[01:12:32] *** Alax has joined #angularjs
[01:12:38] *** tylerjohnst has quit IRC
[01:13:06] <sal1191> morenoh150: adding 'track by $index' to the end of your ng-repeat clause will fix the problem
[01:13:18] *** dcherman has quit IRC
[01:13:32] <sal1191> if you needed your primitive array
[01:13:35] <gjvc> sal1191: good use of 'track by'
[01:14:38] *** whunt has joined #angularjs
[01:14:42] *** heidi has quit IRC
[01:14:47] <sal1191> thanks m8
[01:15:13] *** Schrodinger`Cat has quit IRC
[01:15:52] *** caitp has joined #angularjs
[01:16:10] *** thomasreggi has joined #angularjs
[01:16:39] <OddDuck> In general, is there a typical cause for the following problem: $location.path("#/newpath") leads to a bunch of $digest, 10 iterations reached error while $window.path("myhost/#/newpath") works just fine?
[01:16:41] *** sdouglas has quit IRC
[01:16:42] <morenoh150> sal1191: so angular gives array's an $index?
[01:17:14] <sal1191> morenoh150: yes $index is set within that scope as it iterates
[01:17:52] <gjvc> morenoh150: that's why i said "good use of 'track by'" -- the $index is guaranteed to be uniqye
[01:17:55] <gjvc> unique
[01:17:58] *** dutis has quit IRC
[01:18:05] <sal1191> yes ^
[01:19:12] *** thomasfuston has quit IRC
[01:19:18] *** AciD`` has quit IRC
[01:19:22] *** Dchen has joined #angularjs
[01:20:18] *** MistahKurtz has quit IRC
[01:20:20] *** mglvl has quit IRC
[01:20:29] *** anjumkaiser has quit IRC
[01:20:36] *** kbiela has joined #angularjs
[01:20:40] *** caitp has quit IRC
[01:21:25] *** phrozensilver has quit IRC
[01:22:22] <SaintMoriarty> I have the fallowing in my jade file "a(ng-click="rowform.$show(); alert('test')", ng-show="!rowform.$visible") Edit" but when i click it the link does not hide. am I missing something?
[01:22:41] *** mikehaas763 has quit IRC
[01:23:24] *** Asiajey has quit IRC
[01:23:32] *** s3shs has joined #angularjs
[01:24:00] *** ReactiveIO has joined #angularjs
[01:24:12] *** chris_ has joined #angularjs
[01:25:15] *** nanoyak has quit IRC
[01:25:26] *** cacts|wtf has joined #angularjs
[01:25:27] *** Angle has joined #angularjs
[01:25:31] *** nanoyak has joined #angularjs
[01:26:26] *** Angle has quit IRC
[01:26:41] *** michaelchum has joined #angularjs
[01:26:42] *** InezK_away is now known as InezK
[01:26:57] *** chris_ has left #angularjs
[01:27:01] *** nemothekid has quit IRC
[01:27:06] *** MistahKurtz has joined #angularjs
[01:27:09] *** Nizumzen has quit IRC
[01:27:22] *** Jdubs has quit IRC
[01:27:49] *** DrMabuse has joined #angularjs
[01:27:50] *** Asiajey has joined #angularjs
[01:27:50] *** Asiajey has joined #angularjs
[01:28:23] *** olveraricardo72 has quit IRC
[01:28:23] *** one_zero has joined #angularjs
[01:28:47] *** cacts|works has quit IRC
[01:29:19] *** squeakytoy2 has joined #angularjs
[01:29:20] *** squeakytoy has quit IRC
[01:29:28] *** bryon has joined #angularjs
[01:29:31] *** ender_ has quit IRC
[01:29:34] *** cacts|wtf has quit IRC
[01:29:36] *** ko3t has joined #angularjs
[01:29:44] *** Nijikokun has quit IRC
[01:29:58] <SaintMoriarty> ?
[01:30:23] <robdubya> SaintMoriarty is $visible a property you're setting?
[01:30:28] *** Reactive_ has joined #angularjs
[01:30:37] <SaintMoriarty> no
[01:31:05] <robdubya> typically $something is reserved for angular
[01:31:09] <robdubya> you'd wnat to do
[01:31:11] <SaintMoriarty> it is angular
[01:31:19] <robdubya> ng-click="thing.show" ng-show="thing.show"
[01:31:33] <SaintMoriarty> i am using angular editable
[01:31:44] *** shackleford has quit IRC
[01:31:45] *** mettjus has quit IRC
[01:31:55] *** nanoyak has quit IRC
[01:32:02] *** wdgreg has joined #angularjs
[01:32:23] *** DrMabuse has quit IRC
[01:32:41] *** thomasreggi has quit IRC
[01:32:46] *** shackleford has joined #angularjs
[01:32:49] *** stirling_ has joined #angularjs
[01:32:53] *** xavia has joined #angularjs
[01:32:59] *** xavia has quit IRC
[01:33:08] *** ReactiveIO has quit IRC
[01:33:10] *** azureknight has quit IRC
[01:33:30] *** stirling_ has quit IRC
[01:33:33] *** morenoh150 has quit IRC
[01:34:00] *** shackleford has quit IRC
[01:34:24] *** ededagic has quit IRC
[01:35:46] *** whunt has quit IRC
[01:35:47] *** stirlingw has quit IRC
[01:36:26] <sal1191> robdubya: I dont use primitives this way, but why doesn't that work?
[01:36:59] *** MANCHUCK has joined #angularjs
[01:37:05] <robdubya> oh was that morenoh's q?
[01:37:14] <robdubya> sal1191 thats JS inheritance
[01:37:24] <robdubya> primitive values copy, get disconnected
[01:37:38] *** night-owl-MBP has quit IRC
[01:37:57] *** night-owl-MBP has joined #angularjs
[01:38:09] *** jdowdle is now known as jdowdle|afk
[01:38:39] *** caitp has joined #angularjs
[01:39:04] *** MANCHUCK_ has joined #angularjs
[01:39:23] *** bosphorus has joined #angularjs
[01:39:32] *** Reactive_ has quit IRC
[01:39:45] *** jdcasey has quit IRC
[01:40:02] *** bsmithgall has joined #angularjs
[01:40:54] <sal1191> oh I get it
[01:41:26] *** bsmithga_ has joined #angularjs
[01:41:38] *** Jdubs has joined #angularjs
[01:41:39] *** nanoyak has joined #angularjs
[01:41:42] *** Nijikokun has joined #angularjs
[01:42:16] *** Nijikokun has quit IRC
[01:42:48] *** thomasreggi has joined #angularjs
[01:43:02] *** Nijikokun has joined #angularjs
[01:43:05] *** caitp has quit IRC
[01:43:11] *** MANCHUCK has quit IRC
[01:43:36] *** lw has joined #angularjs
[01:43:42] *** ericrav has joined #angularjs
[01:43:42] *** richiebkr has quit IRC
[01:43:57] *** bosphorus has quit IRC
[01:44:10] *** jerev is now known as jerev_away
[01:44:12] *** whunt has joined #angularjs
[01:45:02] *** gnarMatix has quit IRC
[01:45:04] *** bsmithgall has quit IRC
[01:45:18] *** TheAceOfHearts has quit IRC
[01:45:33] <nickeddy> yaya objects
[01:45:38] *** TheAceOfHearts has joined #angularjs
[01:45:41] *** MANCHUCK_ has quit IRC
[01:46:11] <sal1191> im bout to pass this onion ring by reference
[01:46:17] <nickeddy> robdubya: do you have any boiler plate gulp build system?
[01:46:20] <sal1191> into my mouth oh yeah
[01:46:24] *** mven_ has joined #angularjs
[01:46:35] <robdubya> nickeddy netengine.com.au/blog/gulp-and-angularjs-a-love-story-or-the-old-wheel-was-terrible-check-out-my-new-wheel/
[01:47:01] <nickeddy> ahhh yay
[01:47:02] <nickeddy> that
[01:47:05] <nickeddy> is almost what i had
[01:47:10] <nickeddy> but it was breaking angular horribly
[01:47:17] <robdubya> mine's that + some traceur things, pretty much
[01:47:23] <nickeddy> cool. thanks.
[01:47:42] *** texinwien has joined #angularjs
[01:47:42] *** raghunayyar has quit IRC
[01:48:06] <jamesbdev> Is AngularUI written by the angular developers or a third party ?
[01:48:20] <robdubya> 3rd party
[01:48:45] *** jshultz has joined #angularjs
[01:48:58] <jamesbdev> would u say that most angularjs projects of some complexity use angularui components? i.e. angularui is to angularjs what bootstrap is to css
[01:49:13] <jamesbdev> especially ng-grid etc
[01:49:21] *** thomasre_ has joined #angularjs
[01:49:36] *** S234567a has joined #angularjs
[01:50:04] <robdubya> lots of people do, yes
[01:50:25] <robdubya> but you can equally just use the bootstrap CSS and DIY directives
[01:50:40] *** nicktest has joined #angularjs
[01:50:56] *** S234567a has left #angularjs
[01:51:16] *** nicktest has quit IRC
[01:51:50] *** dylukes has joined #angularjs
[01:51:51] <jamesbdev> my colleage and I are going to be starting our first angularjs project next week, its quite a large project. do you have any advice or tips for us? common pitfalls for newbies ?
[01:52:13] *** thomasreggi has quit IRC
[01:52:22] *** kbiela has quit IRC
[01:53:00] *** thomasre_ has quit IRC
[01:53:51] *** patrickarlt has joined #angularjs
[01:54:11] *** night-owl-MBP has quit IRC
[01:54:20] *** dman777 has quit IRC
[01:54:48] *** jonnybro has quit IRC
[01:55:32] <Aliks_> do you guys typically postfix your services with "-Service" ?
[01:55:33] *** drej has joined #angularjs
[01:55:43] <Aliks_> as in, "cacheService" vs "cache"?
[01:56:10] *** juanlas has quit IRC
[01:56:17] *** drej has quit IRC
[01:56:32] *** mdedetrich has joined #angularjs
[01:56:48] *** bayousoft has joined #angularjs
[01:56:50] *** hugorodrigues has quit IRC
[01:56:53] <robdubya> Aliks_ no
[01:56:58] *** morenoh150 has joined #angularjs
[01:57:07] *** drej has joined #angularjs
[01:57:09] <Aliks_> robdubya: I don't either, discussing this with some people so taking a quick poll
[01:57:22] *** heidi has joined #angularjs
[01:57:27] <robdubya> mostly because when you write providers, you end up writing FooServiceProvider
[01:57:58] *** bmac has quit IRC
[01:58:39] <Foxandxss> and there is no need to postfix
[01:58:40] <Aliks_> I don't like it for the same reason, but even for having to write -Service at the end of everything
[01:58:44] *** AndyFTP has quit IRC
[01:58:46] <Aliks_> not to mention 90% of injections are of services
[01:58:49] <Foxandxss> postfix for what?
[01:58:51] <robdubya> it just makes sense to me to write
[01:58:54] <Foxandxss> 99% of stuff you inject are services
[01:58:56] <robdubya> Foo.find().then(...
[01:58:56] *** blueadept has quit IRC
[01:58:59] <Aliks_> Foxandxss: right
[01:59:12] *** heidi has quit IRC
[01:59:14] *** demands has quit IRC
[01:59:29] <jamesbdev> nickeddy: that was a great resource do you have any more ?
[01:59:30] *** demands_ has joined #angularjs
[02:00:00] *** anjumkaiser has joined #angularjs
[02:00:16] *** Strues has joined #angularjs
[02:00:16] *** svycka has joined #angularjs
[02:00:35] *** dman777 has joined #angularjs
[02:00:59] *** gnrlbzik has joined #angularjs
[02:02:37] *** TorchDragon has joined #angularjs
[02:03:08] *** zelrik has quit IRC
[02:03:09] *** zelrik has joined #angularjs
[02:03:14] *** DrMabuse has joined #angularjs
[02:03:55] *** patrickarlt has quit IRC
[02:05:15] <robdubya> Dchen saw your reddit post :D
[02:05:37] <robdubya> looks slick
[02:05:37] *** gnrlbzik has quit IRC
[02:05:59] *** Matt_Ricketts has quit IRC
[02:06:05] *** nanoyak has quit IRC
[02:07:04] *** TorchDragon has quit IRC
[02:07:28] *** marr has quit IRC
[02:07:47] *** JosephSilber has joined #angularjs
[02:07:54] *** DrMabuse has quit IRC
[02:07:56] *** Vinnyceptr has quit IRC
[02:08:08] *** ko3t has quit IRC
[02:08:28] *** kkuno has quit IRC
[02:08:34] *** fedenunez1 has quit IRC
[02:08:53] *** Foxandxss has quit IRC
[02:08:58] *** fedenunez has joined #angularjs
[02:10:23] <Dchen> robdubya: :)
[02:10:39] *** Willow_ has quit IRC
[02:10:42] *** tmrudick has joined #angularjs
[02:10:45] *** badon has quit IRC
[02:10:47] *** lordkryss has quit IRC
[02:10:51] <morenoh150> anyone use parse in their angular projects? they have a javascript sdk but it seems to be too much like backbone. Am I better off using just the rest api?
[02:10:54] *** heidi has joined #angularjs
[02:10:56] *** whunt has quit IRC
[02:11:02] <Strues> I'm trying to post data from a form to mongodb and am struggling. Can anyone recommend me a good resource to learn this? Or perhaps ELI5
[02:11:05] *** heidi has quit IRC
[02:11:07] *** RobinBAwesome has quit IRC
[02:11:13] *** Willow_ has joined #angularjs
[02:11:19] <robdubya> morenoh150 parse doesn't do realtime or anything, right?
[02:11:41] <robdubya> Strues i'll ask the first 5 year old question
[02:11:46] <robdubya> you do have an API in the middle, yes?
[02:11:50] <Strues> Yes
[02:11:51] *** JosephSilber has quit IRC
[02:11:52] <morenoh150> robdubya: it's not billed like firebase. I don't see anything about sockets either so I think no
[02:11:55] *** tomh- has quit IRC
[02:12:20] <robdubya> Strues and you can use say, postman to do it (forgetting angular for a sec)
[02:12:32] *** subnl has quit IRC
[02:12:41] <robdubya> morenoh150 other than auth (which iirc the sdk provides) you might just use $http
[02:13:07] *** jeffszusz has quit IRC
[02:13:14] <Aliks_> do you guys postfix your resources with -Resource?
[02:13:25] <Aliks_> er... but I guess it's a resource in a service
[02:13:27] <Aliks_> so nevermind
[02:13:34] <Strues> Yes I can
[02:14:19] *** bmac has joined #angularjs
[02:15:18] *** jtimon has quit IRC
[02:15:25] <Strues> Nothing posts other than _v and _id, but Im essentially on fresh branch number 4 with only routes setup
[02:15:37] *** Willow_ has quit IRC
[02:16:10] *** amargherio has joined #angularjs
[02:16:23] *** conan_the_destro has quit IRC
[02:16:33] <robdubya> Strues coolio. assuming everything else is kosher, it should look something like this
[02:16:38] *** RobinBAwesome has joined #angularjs
[02:17:03] *** gnrlbzik has joined #angularjs
[02:17:31] *** azureknight has joined #angularjs
[02:17:39] *** JimTheDev has quit IRC
[02:17:46] *** kirfu has joined #angularjs
[02:18:39] <robdubya> shouldn't really change anything
[02:18:43] <robdubya> (other than the url, obviously)
[02:19:25] *** ngbot has joined #angularjs
[02:19:25] <ngbot> angular.js/master a160f76 Jason Bedard: perf($compile): only create jqLite object when necessary
[02:19:26] <ngbot> angular.js/master e4ba894 Jason Bedard: perf(jqLite): expose the low-level jqLite.data/removeData calls...
[02:19:26] *** ngbot has left #angularjs
[02:20:28] *** cacts has joined #angularjs
[02:22:02] <Strues> Okay cool. One more thing adding to this whole 5 year old explanation. The controller in the plnkr you linked, I'm assuming thats for the client side controller versus what Ive got going on with the backend api? Probably a dumb question, but Ive been breaking and restarting all day :P
[02:22:05] *** snurfery has quit IRC
[02:22:21] <robdubya> yeah. they are two distinct things
[02:23:26] *** matiasow has quit IRC
[02:23:38] *** s3shs has quit IRC
[02:23:52] *** night-owl-MBP has joined #angularjs
[02:24:11] <Strues> Thought so. I totally lied, one more thing. The request I did in Postman successfully submitted to my database, but like I said only submitted _id __v. This is just because I dont have anything defined, correct?
[02:24:38] <robdubya> presumably, but i dont know what fullstack is doing server side really.
[02:24:58] <robdubya> i imagine there's a "model" or a "schema" with attributes you define
[02:26:17] *** hswolff has quit IRC
[02:26:34] <Strues> Yep. I dont have a model set up at the moment in this branch. Thanks for your help
[02:26:47] *** foobarbazbat has quit IRC
[02:26:58] <robdubya> Strues the way to think about js fullstack stuff is
[02:27:08] <robdubya> your job is basically to move objects from server to client and back again
[02:27:26] <robdubya> so its less about "posting forms" and more about "saving objects"
[02:27:52] <robdubya> form is an interface, what's relevant here is the *model* (object / foo / etc) that the form modifys
[02:27:58] <robdubya> uh, modifies
[02:28:05] *** gnrlbzik has quit IRC
[02:28:14] <Strues> Thats a good way to look at it
[02:28:37] *** DrMabuse has joined #angularjs
[02:29:07] *** waylon999 has quit IRC
[02:29:18] <Strues> Im really fascinated with angular which is why I've stuck with it regardless of the frustration its caused me heh
[02:30:32] *** visionary has joined #angularjs
[02:30:45] *** tarkus has quit IRC
[02:31:55] <sal1191> what are some examples of work you would accomplish with a directive? in general
[02:32:17] <sal1191> I have been using angular for my project and am familiar with how to write one
[02:32:58] <sal1191> but havent encountered a need
[02:32:59] *** Gambit- has quit IRC
[02:33:02] *** DrMabuse has quit IRC
[02:33:05] <sal1191> i suspect I am missing out
[02:33:13] *** caitp has joined #angularjs
[02:33:46] *** Strues has quit IRC
[02:33:55] *** bmac has quit IRC
[02:34:03] *** mguillech has joined #angularjs
[02:34:19] *** rburns has joined #angularjs
[02:34:25] *** night-owl-MBP has quit IRC
[02:34:36] *** ericrav has quit IRC
[02:35:10] *** ericrav has joined #angularjs
[02:35:14] *** tfennelly has quit IRC
[02:36:59] *** night-owl-MBP has joined #angularjs
[02:37:01] *** dc has quit IRC
[02:37:15] *** dman777 has quit IRC
[02:38:47] *** [n0b0dy] has quit IRC
[02:38:57] *** [n0b0dy] has joined #angularjs
[02:38:57] *** dman777 has joined #angularjs
[02:39:18] *** ericrav has quit IRC
[02:39:20] *** Dchen has quit IRC
[02:39:48] <dman777> hmm...my work wants me to create a jenkins job to measure angular.js performance on the client side. Where would I start for that?
[02:39:56] <SaintMoriarty> Hello
[02:40:17] *** mguillech has quit IRC
[02:40:39] *** heidi has joined #angularjs
[02:40:51] *** MacWinner has quit IRC
[02:40:57] <sal1191> howdy
[02:41:51] *** whunt has joined #angularjs
[02:43:55] <night-owl> hey guys. i am curious as to what the angular way to do something that im trying to do is. i am listing a bunch of soundcloud tracks and need the div element to change into an iframe object when it's clicked on. right now, i just have a directive that displays the iframe template, but i realized that it runs pretty slow for big lists.
[02:44:20] <robdubya> why do you need the iframe?
[02:45:07] <night-owl> robdubya, i was going to call a soundcloud track and wanted to use their widget
[02:45:18] <night-owl> here are some pics to give you an idea of what im trying to do
[02:45:21] *** cacts|works has joined #angularjs
[02:45:32] <night-owl> the first is the display, then it turns into the second on click
[02:45:33] *** bbankes has quit IRC
[02:45:36] *** defaultdict has quit IRC
[02:45:48] <robdubya> hmm
[02:46:05] <robdubya> the 2nd iirc is the "now playnig" view, yeah?
[02:46:09] <night-owl> im writing a chrome extension that adds some features to Soundcloud's page.
[02:46:10] <night-owl> yeah
[02:46:26] <robdubya> mmm
[02:46:35] <night-owl> unfortunately, i cant just borrow the pages players. ive tried to mimic them, but it's gonna be too problematic, i think.
[02:46:51] <robdubya> that's tricky, there's nothing you're going to be able to do to improve the iframe perf i dont htink
[02:47:14] <night-owl> robdubya, the iframe performance wasnt an issue. it was just slow loading if it loads like 30 player widgets on a page
[02:47:20] <night-owl> so i wanted the first pic for all of them
[02:47:26] <night-owl> then only load the player if the user clicks on it
[02:47:28] <night-owl> so basically
[02:47:30] <robdubya> night-owl iframe / external widget / etc
[02:47:33] *** night-owl-MBP has quit IRC
[02:47:50] <night-owl> robdubya, the original state wouldnt be the widget, was what i meant
[02:47:57] <night-owl> itd be like
[02:48:04] *** rockfordal has quit IRC
[02:48:05] <night-owl> on click, i need to change the template for the directive
[02:48:07] <night-owl> basically
[02:48:10] <night-owl> something like that
[02:48:15] <teslan> sass, less or stylus - which one do you prefer?
[02:48:31] <robdubya> night-owl the track / playlist list (1st pic) - are you rendering that yourself?
[02:48:34] <night-owl> yeah
[02:48:38] <robdubya> (eg, based off API data?)
[02:48:59] <night-owl> yeah. itd just be a simple template w all the API data
[02:49:03] <night-owl> i already have that stuff available
[02:49:14] <SomeKittens> How can I only add the attribute of an element when a property of $scope is true?
[02:49:15] <night-owl> just need to figure out how to change the template to the player widget on click
[02:49:23] <SomeKittens> (i.e. `readonly="readonly"`)
[02:49:28] <robdubya> so load API data -> render with ng -> click on track -> make player play track, more or less?
[02:49:33] <night-owl> yeah
[02:49:43] <night-owl> kinda
[02:50:08] <robdubya> hummm
[02:50:12] <night-owl> click on track -> replace the template with the soundcloud widget
[02:50:29] <robdubya> night-owl surely though you're not re-init'ing the widget each time
[02:50:33] <robdubya> (you change tracks?)
[02:50:52] *** danielpquinn has quit IRC
[02:51:12] *** jareddlc has quit IRC
[02:51:29] <night-owl> robdubya, are you familiar w facebook newsfeeds?
[02:51:37] <robdubya> whats facebook
[02:51:47] <robdubya> ...
[02:51:50] *** OdinIncarnate has joined #angularjs
[02:51:52] <night-owl> :p didnt know if you use it, is what i meant :p
[02:51:56] <night-owl> as of lately
[02:52:04] *** anjumkaiser has quit IRC
[02:52:58] *** dark_splinter has joined #angularjs
[02:53:07] *** SpearThruster has quit IRC
[02:53:22] <night-owl> basically trying to present the tracks the same way stuff on facebook newsfeeds are
[02:53:34] <night-owl> youtube/soundcloud/etc
[02:53:34] <robdubya> gotcha
[02:53:47] *** MTGap has joined #angularjs
[02:54:35] <night-owl> robdubya, is this just a Soundcloud player?
[02:54:37] *** juampy has quit IRC
[02:54:51] <robdubya> its a JS wrapper around the soundcloud player widget
[02:54:54] <SomeKittens> No thoughts? This seems like something that should be simple
[02:55:09] <robdubya> so instead of changing the entire widget out you're controlling it (eg, setting the playing track)
[02:55:12] *** spencercarnage has quit IRC
[02:55:34] <robdubya> SomeKittens what attribute?
[02:55:41] <SomeKittens> readonly
[02:56:36] <robdubya> SomeKittens things to try
[02:56:52] <robdubya> <input readonly={{someScopeVar}}
[02:56:55] *** jae has joined #angularjs
[02:56:59] <robdubya> <input ng-attr-readonly={{someScopeVar}}
[02:57:12] <night-owl> ahh yeah yeah. so there isnt a way to change a directive's template on click in angular, though?
[02:57:14] <robdubya> or write a little directive that toggles it
[02:57:30] <robdubya> night-owl no - typically the template is compiled once
[02:57:33] <SomeKittens> robdubya: it's in conjunction with ace editor
[02:57:35] *** caitp has quit IRC
[02:57:41] <SomeKittens> and I've already tried those
[02:57:57] *** mehlah_ has quit IRC
[02:58:04] <robdubya> night-owl you could do it inside a directive and basically replace the html contents, but that seems wrong in the context of switching tracks, to me
[02:58:15] <SomeKittens> if the readonly attribute exists at all, the value is `readonly` and the editor becomes readonly.
[02:58:16] *** hugorodrigues has joined #angularjs
[02:58:18] *** cacts|works has quit IRC
[02:58:21] <robdubya> thoguh if you're switching between say the sounclould embedded and the youtube player...
[02:58:40] *** encrypt3d_fracti has quit IRC
[02:58:53] <night-owl> robdubya, yeah i wasnt trying to do like a single track player, more like a media feed kind of deal
[02:59:13] *** gnrlbzik has joined #angularjs
[02:59:18] *** RobinBAwesome has quit IRC
[02:59:20] <robdubya> night-owl the feed bit makes sense, i guess i'm missing what you're wanting to "switch out" and why
[02:59:48] <robdubya> SomeKittens are you using ui-ace? afaik that's plug and play with readonly
[03:00:10] <SomeKittens> yes, ui-ace (this was just handed to me)
[03:00:17] * SomeKittens looks up dox there
[03:00:32] <ckboii89> so
[03:00:44] <ckboii89> angular doesn't like undefined variables
[03:00:47] *** dwayne has quit IRC
[03:00:50] <ckboii89> how do i go about this?
[03:01:17] <SomeKittens> yep, I was overthinking it
[03:01:22] <SomeKittens> robdubya: thanks for being the rubber duck
[03:01:26] <ckboii89> the if statement reprots a console error if value is not true, it will not execute the else block
[03:01:33] *** yoshokatana has joined #angularjs
[03:01:36] *** bsmithgall has joined #angularjs
[03:01:39] *** yoshokatana has quit IRC
[03:01:41] <robdubya> SomeKittens quack quack
[03:02:00]
<night-owl> robdubya, ahh okay, so im trying to do something similar to Soundcloud's stream/feed thing, where each track is it's own player. their stream looks like this: http://puu.sh/ag5FV/98536d7d64.jpg
[03:02:04] *** wilmoore has quit IRC
[03:02:14] <robdubya> ooooOOOOoooo
[03:02:16] <night-owl> however, if i do it using the widget for each track, it takes a bit to load
[03:02:36] <night-owl> so, i want to have a little template for each track where it's like an image w a play button
[03:02:46] <night-owl> so only when they want to play a track, will the player load
[03:02:58] <night-owl> that way its faster loading
[03:02:59] *** hugorodrigues has quit IRC
[03:03:01] <MistahKurtz> you could have a player service
[03:03:03] *** plysiu has quit IRC
[03:03:12] *** Grokling_ has quit IRC
[03:03:15] <MistahKurtz> it's 1 instance that's responsible for playing music
[03:03:18] <night-owl> and i dont have anywhere to put a player that just handles all of them
[03:03:25] *** jkremser has joined #angularjs
[03:03:25] *** jkremser has joined #angularjs
[03:03:28] <MistahKurtz> clicking a track just tells that 1 service to play that track
[03:03:33] *** gnrlbzik has quit IRC
[03:03:45] *** Grokling_ has joined #angularjs
[03:03:47] <robdubya> MistahKurtz has a good idea (as far as stopping one when the other starts) but if you want multiple players on screen...
[03:03:56] *** DrMabuse has joined #angularjs
[03:03:57] *** Grokling_ has quit IRC
[03:04:01] <robdubya> you could probably ng-if it
[03:04:07] *** wallerdev has quit IRC
[03:04:10] *** caitp has joined #angularjs
[03:04:23] <robdubya> and do a bit of compile magic in your directive to change out the template
[03:04:47] *** bsmithga_ has quit IRC
[03:04:54] <MistahKurtz> You could still keep a single player service, and each track on the screen is just that--a track, with it's own state. If the player is playing that track, then its state changes accordingly
[03:05:06] <MistahKurtz> but the playback is still happening from one place
[03:05:17] <robdubya> MistahKurtz indeed, but i think the issue is regarding the soundcloud UI
[03:05:30] *** carif has joined #angularjs
[03:05:32] <MistahKurtz> Sorry I came into this late
[03:05:37] *** bkuberek has joined #angularjs
[03:05:46] <night-owl> MistahKurtz, yeah yeah yeah. the soundcloud player widget actually stops any other players from playing
[03:05:57] <MistahKurtz> ohhh you're trying to use the soundcloud widget
[03:06:04] <night-owl> so all of that is handled. im trying to do something like this though
[03:06:05] *** tfennelly has joined #angularjs
[03:06:06] *** bkuberek_ has joined #angularjs
[03:06:16] <MistahKurtz> hmm
[03:06:27] <night-owl> MistahKurtz, when the page loads, i want all of the tracks to just be displayed without calling the player, like this
[03:06:32] <robdubya> thats the kind of thing you're going to want to do
[03:06:36] <night-owl> then when one is clicked, the player for that track loads
[03:06:41] <robdubya> <my-soundclould-directive>
[03:06:50] <night-owl> robdubya, cool lemme check it out
[03:06:58] <robdubya> actually more like
[03:07:04] <MistahKurtz> oh, easy-peasy
[03:07:22] <robdubya> <my-soundcloud-widget ng-repeat="track in tracks" soundcloud-track="track">
[03:07:29] <MistahKurtz> you don't even need a dynamic template. Just an ng-if and a boolean to toggle.
[03:07:31] <MistahKurtz> no?
[03:07:33] *** spencercarnage has joined #angularjs
[03:07:49] <robdubya> grab the track data inside the directive, fetch the widget, element.html()
[03:08:32] *** DrMabuse has quit IRC
[03:10:08] <robdubya> MistahKurtz i *think* that each unique "widget" requires a different URL (and therefore template)
[03:10:25] *** bkuberek has quit IRC
[03:10:33] *** katsh has joined #angularjs
[03:10:37] *** rho has quit IRC
[03:11:32] *** Willow_ has joined #angularjs
[03:12:03] *** tfennelly has quit IRC
[03:12:27] <teslan> how do i get element[0].className to give me "one" when class="one two" ?
[03:12:29] *** dwayne has joined #angularjs
[03:12:58] *** bsmithgall has quit IRC
[03:13:02] <night-owl> robdubya, ahhh so ng-if wouldnt work w an ng-repeated list like that, right?
[03:13:22] *** TheAceOfHearts has quit IRC
[03:13:40] <robdubya> night-owl well, the ng-if part is what would show/hide the player UI from each row
[03:13:44] <robdubya> you can do that easily
[03:14:04] *** hswolff has joined #angularjs
[03:14:21] <robdubya> the thing is (i think) that effectively each row has a unique url to get the widget, yes?
[03:14:33] *** bayousoft has quit IRC
[03:14:45] *** SaintMoriarty has quit IRC
[03:14:48] *** bphogan_afk is now known as bphogan
[03:15:08] <night-owl> yeah. the url is actually in the API data for the track in a property called stream_url
[03:15:23] <robdubya> yeah, which fits with my
[03:15:27] <robdubya> <my-soundcloud-widget ng-repeat="track in tracks" soundcloud-track="track">
[03:16:02] *** Willow_ has quit IRC
[03:16:13] *** ericrav has joined #angularjs
[03:16:43] <robdubya> night-owl just experimenting, sec
[03:16:43] <gjvc> "track by" is used in this context, so perhaps track is not the best variable name
[03:16:55] <robdubya> that's a very good point
[03:16:56] <night-owl> ahhh okay so you're saying have an ng-if which displays the preview directive in the view if a hasBeenClicked boolean is false
[03:17:19] <night-owl> hmm
[03:18:04] *** kalehv_ has joined #angularjs
[03:18:30] <night-owl> yeah. id like to call that when the track is clicked
[03:18:53] <robdubya> night-owl k, sec, experimenting
[03:19:33] *** texinwien has quit IRC
[03:19:35] <night-owl> cool. ill start playing w a plunker to see if i can figure it out as well
[03:19:43] *** morenoh150 has quit IRC
[03:20:05] *** jonnybro has joined #angularjs
[03:20:37] *** ericrav has quit IRC
[03:20:37] *** kalehv has quit IRC
[03:20:40] *** ericrav_ has joined #angularjs
[03:21:16] <teslan> i have a layout with multiple named views with areas such as id="menu-west-panel" class="west-panel" and where at least 80% of css will be set for the class and maybe 20% overriden for a specific id ... now, from css-mess point of view, should that id stay as an id or should i have 2 class names?
[03:21:40] *** motionman has joined #angularjs
[03:21:43] *** Sam___ has joined #angularjs
[03:22:52] *** hswolff has quit IRC
[03:23:22] <night-owl> i was going to use plangular and waveformjs to create my own player, but i cant get the waveforms JSON data from waveformjs's site bc i get a certificate warning when i try and use https to connect to waveformjs' site
[03:23:39] *** Limix has quit IRC
[03:24:03] <night-owl> (making a chrome extension that adds features to soundcloud's page, so i have to use https, since soundcloud's page uses https)
[03:24:16] <night-owl> that crap happens
[03:25:03] *** ericrav_ has quit IRC
[03:25:22] *** wilmoore has joined #angularjs
[03:26:51] *** visionary has quit IRC
[03:26:52] *** stevvooe has quit IRC
[03:29:10] *** ChrisOei has joined #angularjs
[03:29:21] *** jae has quit IRC
[03:29:45] *** mmitchel_ has joined #angularjs
[03:31:52] *** theshane has joined #angularjs
[03:32:04] *** mrwn has joined #angularjs
[03:32:54] *** house has quit IRC
[03:32:58] *** michaelchum has quit IRC
[03:33:12] *** ngoyal has joined #angularjs
[03:33:59] *** Jrichardson has joined #angularjs
[03:34:01] *** mspier is now known as mspier_off
[03:34:13] *** bayousoft has joined #angularjs
[03:34:47] *** bmac has joined #angularjs
[03:35:03] *** cacts has quit IRC
[03:35:50] *** ziyadb has quit IRC
[03:36:45] <robdubya> night-owl woosh, see what you mean
[03:36:50] <robdubya> that's slow as fuck
[03:38:26] *** mindlace has quit IRC
[03:38:33] *** Jrichardson has quit IRC
[03:38:54] *** [n0b0dy] has quit IRC
[03:39:04] *** [n0b0dy] has joined #angularjs
[03:39:30] *** lw has quit IRC
[03:40:10] *** mdedetrich has quit IRC
[03:40:11] *** htowngangsta has quit IRC
[03:41:04] *** mdedetrich has joined #angularjs
[03:41:27] *** ngoyal has quit IRC
[03:41:59] *** night-owl has quit IRC
[03:41:59] *** tmrudick has joined #angularjs
[03:43:03] *** tmrudick has quit IRC
[03:43:10] *** tmrudick has joined #angularjs
[03:43:38] *** DrMabuse has joined #angularjs
[03:43:40] *** livingstn has joined #angularjs
[03:44:18] *** jonnybro has quit IRC
[03:45:04] *** ReactiveIO has joined #angularjs
[03:45:28] *** jpstone has joined #angularjs
[03:46:32] *** nightowl-mobile has joined #angularjs
[03:46:45] *** ericrav has joined #angularjs
[03:47:07] *** willmarshall has joined #angularjs
[03:47:20] <nightowl-mobile> robdubya, hey man. power just went out in my neighborhood. I'm about to drive to work
[03:48:04] *** DrMabuse has quit IRC
[03:48:16] <nightowl-mobile> robdubya, idk if you figured that out yet or not. hope I didn't miss a solution. I'll be back on here in 15 mins
[03:48:28] <robdubya> nightowl-mobile cool. i'm pretty close actually
[03:49:28] <nightowl-mobile> thanks for the help, I really appreciate it
[03:49:39] *** Nijikokun has quit IRC
[03:50:03] *** joshontheweb has joined #angularjs
[03:50:16] *** JoshGlzBrk has quit IRC
[03:50:20] *** Fire-Dragon-DoL has quit IRC
[03:50:27] *** xavia has joined #angularjs
[03:50:36] *** motionman has quit IRC
[03:51:13] *** ericrav has quit IRC
[03:51:21] *** L8TR has joined #angularjs
[03:51:23] *** BillCriswell has joined #angularjs
[03:51:33] *** danielpquinn has joined #angularjs
[03:52:35] *** dc has joined #angularjs
[03:53:38] *** bejames has joined #angularjs
[03:54:50] *** ngbot has joined #angularjs
[03:54:50] <ngbot> angular.js/master 3ba9818 Jeff Cross: docs(input[date]): add note about lacking browser support
[03:54:50] *** ngbot has left #angularjs
[03:55:01] *** mmoretti has joined #angularjs
[03:55:43] *** mmoretti has quit IRC
[03:55:53] *** one_zero has quit IRC
[03:56:02] *** danielpquinn has quit IRC
[03:56:07] *** nightowl-mobile has quit IRC
[03:56:09] *** one_zero has joined #angularjs
[03:57:30] *** ziyadb has joined #angularjs
[03:58:35] *** Willow_ has joined #angularjs
[03:59:02] *** encrypt3d_fracti has joined #angularjs
[03:59:17] *** feelfine has quit IRC
[03:59:37] *** BillCriswell has quit IRC
[04:00:01] *** charuru has quit IRC
[04:00:02] *** gnrlbzik has joined #angularjs
[04:01:46] *** BillCriswell has joined #angularjs
[04:02:02] *** feelfine has joined #angularjs
[04:02:24] *** motionman has joined #angularjs
[04:02:24] *** motionman has joined #angularjs
[04:03:35] *** Willow_ has quit IRC
[04:03:36] *** encrypt3d_fracti has quit IRC
[04:04:14] *** Alax has quit IRC
[04:04:46] *** TorchDragon has joined #angularjs
[04:05:04] *** feelfine has quit IRC
[04:05:04] *** gnrlbzik has quit IRC
[04:05:41] *** lw has joined #angularjs
[04:05:48] *** lw has quit IRC
[04:06:26] *** lw has joined #angularjs
[04:07:26] *** MikeMatrix has joined #angularjs
[04:08:45] *** heidi has quit IRC
[04:09:21] *** TorchDragon has quit IRC
[04:09:49] *** kentcdodds has joined #angularjs
[04:10:06] *** bmac has quit IRC
[04:10:37] *** kirfu has quit IRC
[04:10:56] *** Aliks_ has quit IRC
[04:10:58] *** Reactive_ has joined #angularjs
[04:11:08] *** ReactiveIO has quit IRC
[04:11:46] *** busticated has quit IRC
[04:12:19] *** bphogan is now known as bphogan_afk
[04:12:37] *** jharbaugh has quit IRC
[04:13:12] *** jharbaugh has joined #angularjs
[04:13:34] *** lsiv568 has joined #angularjs
[04:13:47] *** jharbaugh has quit IRC
[04:14:04] *** dc has quit IRC
[04:14:14] *** jharbaugh has joined #angularjs
[04:14:55] *** aslate has quit IRC
[04:14:57] *** willmarshall has quit IRC
[04:15:13] *** dc has joined #angularjs
[04:15:30] *** whunt has quit IRC
[04:15:34] *** InezK is now known as InezK_away
[04:17:36] *** spencercarnage has quit IRC
[04:19:22] *** Silne30 has joined #angularjs
[04:19:56] *** livingstn has quit IRC
[04:20:19] *** charuru has joined #angularjs
[04:21:09] *** arrty has joined #angularjs
[04:21:48] *** Hackwar1 has joined #angularjs
[04:22:02] *** mennea has joined #angularjs
[04:22:23] *** livingstn has joined #angularjs
[04:23:31] *** spencercarnage has joined #angularjs
[04:24:11] *** dylukes has quit IRC
[04:24:32] *** denniii123 has joined #angularjs
[04:24:35] *** Hackwar has quit IRC
[04:25:07] <denniii123> Hello
[04:25:17] *** bphogan_afk is now known as bphogan
[04:26:21] *** mennea has quit IRC
[04:27:22] *** willmarshall has joined #angularjs
[04:27:48] *** mmitchel_ has quit IRC
[04:28:00] <denniii123> Could I get an opinion on storing time durations? I'm using the MEAN stack. How should I store a length of time? Would milliseconds be the way to go? I didn't see a time data type for Mongo.
[04:28:10] *** spamr has joined #angularjs
[04:28:15] *** kentcdodds has quit IRC
[04:28:23] <monokrome> store it in milliseconds
[04:28:37] *** Jdubs_ has joined #angularjs
[04:28:44] <monokrome> I say this because JS Date can use datetimes in milliseconds
[04:29:03] *** Jdubs has quit IRC
[04:29:51] *** lw has quit IRC
[04:29:59] *** spamr has left #angularjs
[04:30:10] <denniii123> Thanks for the advice monokrome
[04:30:42] <monokrome> You can cast a date to milliseconds with +date
[04:31:22] <monokrome> but remember to account for timezones if necessary
[04:31:26] <monokrome> can be really confusing if you don't :D
[04:31:56] *** Yahkob has joined #angularjs
[04:32:05] *** squeakytoy2 has quit IRC
[04:32:34] *** DrMabuse has joined #angularjs
[04:32:55] *** TheAceOfHearts has joined #angularjs
[04:32:59] <denniii123> I just need to save a duration. For example, you run a mile in 5 minutes. I'd save it as 300000 milliseconds. That seemed like the simplest solution, but I wanted to double check
[04:33:04] *** dccc has quit IRC
[04:33:20] *** squeakytoy2 has joined #angularjs
[04:33:33] *** mrwn has quit IRC
[04:33:35] *** InezK_away is now known as InezK
[04:34:47] <chovy> anyone know why bower won't install 1.3.0 of angular-touch? I keep getting 1.20.
[04:34:54] <chovy> everything else uses angular-1.30
[04:35:34] *** dawhite has quit IRC
[04:35:48] *** tmrudick has quit IRC
[04:36:20] <denniii123> Maybe try going to bower.json and specifying the version number for angular-touch and install again
[04:36:58] *** DrMabuse has quit IRC
[04:37:17] *** wilmoore has quit IRC
[04:37:28] *** mguillech has joined #angularjs
[04:37:40] <chovy> denniii123: thanks. that works
[04:37:46] *** InezK is now known as InezK_away
[04:38:35] *** InezK_away is now known as InezK
[04:38:57] *** jkremser has quit IRC
[04:39:00] *** gr1nd has quit IRC
[04:40:58] *** ericrav has joined #angularjs
[04:41:07] *** user4 has joined #angularjs
[04:41:48] *** tmrudick has joined #angularjs
[04:42:03] *** mguillech has quit IRC
[04:42:38] *** nagappan has quit IRC
[04:42:58] *** francisl has joined #angularjs
[04:43:07] *** Ankhular has joined #angularjs
[04:43:12] *** nagappan has joined #angularjs
[04:44:02] *** denniii123 has quit IRC
[04:44:18] *** DrMabuse has joined #angularjs
[04:44:23] *** user3 has quit IRC
[04:44:25] *** cacts|works has joined #angularjs
[04:44:44] *** Ethix has quit IRC
[04:45:04] *** ericrav has quit IRC
[04:46:22] *** hugorodrigues has joined #angularjs
[04:46:49] *** Left_Turn has quit IRC
[04:46:58] *** kc3 has quit IRC
[04:47:14] *** cigarshark has quit IRC
[04:47:23] *** lsiv568 has quit IRC
[04:47:47] *** ericrav has joined #angularjs
[04:48:34] <delerium_> Hello folks, I just finished my first Angular course and I'll try to built a simple app from scratch. Now, I need to choose a CSS framework. I know bootstrap is popular and seems to play well with angular. Is there any other than bootstrap you would suggest that might be better with angular or bootstrap is the way to go?
[04:49:00] *** night-owl-MBP has joined #angularjs
[04:49:01] *** DrMabuse has quit IRC
[04:49:29] *** [n0b0dy] has quit IRC
[04:49:38] *** [n0b0dy] has joined #angularjs
[04:50:34] *** bmac has joined #angularjs
[04:50:59] *** hugorodrigues has quit IRC
[04:51:13] *** kc3 has joined #angularjs
[04:51:13] *** wilmoore has joined #angularjs
[04:52:17] *** dc has quit IRC
[04:52:21] *** danielpquinn has joined #angularjs
[04:52:34] <MistahKurtz> delerium_ CSS framework choice shouldn't matter too much with angular
[04:52:47] *** ericrav has quit IRC
[04:53:01] *** merpnderp has left #angularjs
[04:53:32] *** hswolff has joined #angularjs
[04:53:44] *** ericrav has joined #angularjs
[04:53:59] *** JosephSilber has joined #angularjs
[04:55:14] <delerium_> MistahKurtz: Thanks. So if I have a learn a CCS framework today, and consider it's an investement for the long term. You would choose bootstrap?
[04:55:22] *** night-owl-MBP has quit IRC
[04:55:31] <MistahKurtz> I like bootstrap
[04:55:41] <delerium_> MistahKurtz: Okaydoo. Thanks for the advise ;)
[04:55:52] <MistahKurtz> np
[04:56:06] *** bayousoft has quit IRC
[04:56:07] <robdubya> delerium_ i'm a bootstrap fan fo sho, but fwiw the next version of foundation is goingto be based on angular
[04:56:18] *** night-owl-MBP has joined #angularjs
[04:56:29] *** dcherman has joined #angularjs
[04:56:30] <MistahKurtz> o_O
[04:56:37] <MistahKurtz> how do you base a CSS framework on angular?
[04:56:38] <robdubya> see also www.ionicframework.com for mobile goodness
[04:56:52] *** subnl2 has joined #angularjs
[04:56:59] *** danielpquinn has quit IRC
[04:56:59] <robdubya> MistahKurtz i should say "they're going to be implementing the JS part in angular"
[04:57:17] *** phrozensilver has joined #angularjs
[04:57:17] <night-owl-MBP> robdubya: hey man, just got all set up. sorry about that
[04:57:43] <MistahKurtz> robdubya I didn't realize foundation had a JS part
[04:58:07] <MistahKurtz> ah, there it is
[04:58:16] <robdubya> night-owl-MBP you motherfucker
[04:58:24] <robdubya> this is a doozy
[04:58:38] <night-owl-MBP> robdubya: lol! i believe this is the second doozy ive thrown at you for this project
[04:58:44] <phrozensilver> do I need to change a server setting to get '$http.post('data/decks.json', data);' to work?
[04:59:07] <robdubya> night-owl-MBP ok, so
[04:59:08] <phrozensilver> it is giving me a 404
[04:59:22] *** Willow_ has joined #angularjs
[05:00:04] <robdubya> that's doing what you're asking, i think
[05:00:49] *** willmarshall has quit IRC
[05:00:55] <robdubya> that said, its pretty jank
[05:00:56] <delerium_> robdubya: and that ionic framework can be use to standard webapp as well? Not just only mobile?
[05:01:05] *** jamesbdev has quit IRC
[05:01:10] <robdubya> delerium_ you could, but its not really what it's for
[05:01:19] <robdubya> i use it for widgety type things on desktop
[05:01:30] <robdubya> but not a proper webapp. better with bootstrap or foundation for that
[05:01:45] *** phuh has quit IRC
[05:02:02] *** gnrlbzik has joined #angularjs
[05:02:10] *** phuh has joined #angularjs
[05:02:28] <robdubya> (not so much a css framework as a ui framework, so maybe out of scope of the question)
[05:02:48] <robdubya> but i sorta feel like, you "learn" angular and "use" a css framework
[05:02:52] *** anjumkaiser has joined #angularjs
[05:03:47] *** BillCriswell has quit IRC
[05:04:16] *** Willow_ has quit IRC
[05:04:18] <robdubya> phrozensilver change a setting? that should work, but you (might) be seeing a CORS issue?
[05:04:29] *** InezK is now known as InezK_away
[05:04:35] *** gnrlbzik has quit IRC
[05:04:47] *** gnrlbzik has joined #angularjs
[05:04:58] <delerium_> robdubya: I see.. so I'll skip ionic for now. I'll take a look a foundation and bootstrap. Any pros/cons of each one?
[05:05:08] *** ericrav has quit IRC
[05:05:17] *** phrozensilver has quit IRC
[05:05:23] *** blueadept has joined #angularjs
[05:05:44] <robdubya> the whole world uses bootstrap, which can be a pro or con depending on your viewpoint :-)
[05:06:12] <robdubya> i think bootstrap is a nicer looking thing overall vs foundation
[05:06:22] *** spencercarnage has quit IRC
[05:06:30] *** tfennelly has joined #angularjs
[05:07:47] *** mindlace has joined #angularjs
[05:08:36] *** S234567a has joined #angularjs
[05:08:38] <delerium_> robdubya: haa.. that good know as well. And more people. more easily I can find answer if needed I believe.
[05:08:46] *** S234567a has left #angularjs
[05:09:04] *** gnrlbzik has quit IRC
[05:09:12] <robdubya> i think boostrap is a great err... foundation to build on
[05:09:49] <robdubya> night-owl-MBP that whole thing is a bit wacky. mostly because you end up with 11ty disconnected instances of the player
[05:10:16] *** carif has quit IRC
[05:10:24] <delerium_> robdubya: hahha! good... I think I saw you in the sailjs chatroom a while back... anyhow.. Iet's go with bootstrap. Thanks so much.
[05:10:32] <delerium_> Thanks MistahKurtz as well.
[05:11:43] *** phrozensilver has joined #angularjs
[05:11:52] *** rburns has quit IRC
[05:12:23] *** rchavik has joined #angularjs
[05:12:24] *** shorne has joined #angularjs
[05:12:49] *** tfennelly has quit IRC
[05:12:50] *** Cache_Money has joined #angularjs
[05:13:11] <night-owl-MBP> robdubya: 1 sec, sorry. and thanks both you and MistahKurtz
[05:13:42] <phrozensilver> the file exists
[05:14:00] <phrozensilver> and its reading from that file
[05:14:40] *** hswolff has quit IRC
[05:14:46] *** Cache_Money has quit IRC
[05:15:02] *** motionman has quit IRC
[05:15:48] <delerium_> robdubya / MistahKurtz: Last Q. Any major difference with the 1.3.0beta vs 1.2.x ? Should I go with the beta?
[05:16:07] *** mennea has joined #angularjs
[05:16:27] *** motionman has joined #angularjs
[05:16:28] *** motionman has joined #angularjs
[05:17:04] *** dccc has joined #angularjs
[05:17:27] <TheAceOfHearts> man
[05:17:31] <TheAceOfHearts> I upped to latest beta
[05:17:34] <TheAceOfHearts> and it lags a lot in IE11
[05:17:36] <TheAceOfHearts> had to downgrade
[05:17:41] <TheAceOfHearts> back to beta.3
[05:17:48] *** rburns has joined #angularjs
[05:18:34] *** rchavik has quit IRC
[05:18:47] <robdubya> phrozensilver whats running on the backend?
[05:18:53] *** S234567a has joined #angularjs
[05:18:58] <robdubya> delerium_ you might as well
[05:19:05] *** S234567a has left #angularjs
[05:19:20] <ckboii89> can someone tell me if im doing something wrong
[05:19:34] <robdubya> you can't inject scope into a factory
[05:19:36] *** rchavik has joined #angularjs
[05:19:38] <ckboii89> im getting Error: [$injector:unpr] Unknown provider: $scopeProvider <- $scope <- CreateTreatment
[05:19:41] <ckboii89> o
[05:19:44] <ckboii89> fuck me
[05:20:03] *** mennea has quit IRC
[05:20:04] <ckboii89> can service inject scope?
[05:20:10] <robdubya> no
[05:20:13] <phrozensilver> robdubya Im using the angular-seed repo with bower
[05:20:36] <robdubya> phrozensilver sooo no actual API / server?
[05:20:40] <robdubya> that'll be your problem
[05:20:56] <robdubya> ckboii89 what are you attempting to do there, anyway?
[05:21:03] *** MTGap has quit IRC
[05:21:05] <delerium_> robdubya: Thanks. Will probably come up with more ;) .. Later...
[05:21:18] <ckboii89> well
[05:21:19] <phrozensilver> robdubya: I just made a .json file with some data I wanted to use, is that whats wrong?
[05:21:20] <ckboii89> my modal isnt closing
[05:21:23] <ckboii89> for some reason
[05:21:32] <robdubya> phrozensilver you can read it, that's fine. but you can't write it
[05:21:33] <ckboii89> i have a creat function inside that modalinstancecontroller
[05:22:03] <phrozensilver> robdubya: where do I need to look to make it writeabnle
[05:22:05] <phrozensilver> writeable
[05:22:33] <robdubya> phrozensilver you need a server of some kind, which has a database behind it.
[05:22:42] <phrozensilver> or look into
[05:23:22] *** Matt_Ricketts has joined #angularjs
[05:23:30] *** sneakertack has joined #angularjs
[05:23:38] <robdubya> phrozensilver what's your previous programming experience?
[05:23:51] <phrozensilver> I am running like http-server and all the stuff on angular-seed, do I need to look into some actual database
[05:24:24] <phrozensilver> very little php/ mysql
[05:24:24] <phrozensilver> I pick it up pretty quickly tho
[05:24:24] <phrozensilver> and mostly front-end work
[05:24:35] <robdubya> ok
[05:25:00] <phrozensilver> should I look into using php/ mysql with what I want to do?
[05:25:05] <robdubya> so in php / mysql, you get a request, query the database, and write that into html. you've done that before?
[05:25:10] *** fedenunez has joined #angularjs
[05:25:18] *** digia is now known as digia|away
[05:25:49] <phrozensilver> not a whole lot of writing to database
[05:26:33] <robdubya> the way angular (and single page apps in general work) is that instead of the server sending html, it sends json
[05:26:53] <phrozensilver> ahh
[05:27:19] <robdubya> and receives it, and writes to the databse
[05:27:33] <phrozensilver> so I would need to setup something a litttle more complicated to write to json/ a database
[05:27:50] <robdubya> (we call this an "API" typically)
[05:28:01] <robdubya> i'm sure there's a PHP package to do it
[05:28:06] <robdubya> but i have no clue on that
[05:28:12] *** mdedetrich has quit IRC
[05:28:43] *** gnrlbzik has joined #angularjs
[05:28:50] <phrozensilver> yeah
[05:28:56] <phrozensilver> okay awesome thank you
[05:30:07] <robdubya> sure
[05:30:56] <robdubya> which gives you a good overview of how to design it so your life doesn't suck
[05:31:35] *** MistahKurtz has quit IRC
[05:32:10] *** MistahKurtz has joined #angularjs
[05:32:23] *** tmrudick has quit IRC
[05:32:34] <robdubya> ckboii89 still there?
[05:32:43] *** Strues has joined #angularjs
[05:32:48] <ckboii89> yeah
[05:32:54] *** jae has joined #angularjs
[05:32:55] <ckboii89> i think i jsut realized why my modal wasn't closing
[05:32:57] *** ReactiveIO has joined #angularjs
[05:33:08] *** Reactive_ has quit IRC
[05:33:13] *** TrevDev has quit IRC
[05:33:21] *** tomzx is now known as tomzx`afk
[05:33:43] *** DrMabuse has joined #angularjs
[05:33:51] <robdubya> can i make a suggestion? forget about your modal for a sec... your whole view on angular is bass-ackwards right now.
[05:33:53] *** livingstn has quit IRC
[05:34:16] <robdubya> i mean that in the most loving way possible
[05:34:20] *** cacts|wtf has joined #angularjs
[05:34:20] <ckboii89> lol
[05:34:21] <ckboii89> its ok
[05:34:23] <ckboii89> im completly new
[05:34:23] <robdubya> but you're *way* overcomplicating this
[05:34:25] <ckboii89> to it
[05:34:30] *** bphogan is now known as bphogan_afk
[05:34:34] <ckboii89> im open to learning and crtitcism
[05:34:40] <robdubya> then i'm happy to help
[05:34:58] *** anjumkaiser has quit IRC
[05:35:03] <robdubya> so - the concept of MVC - do you know what it means?
[05:35:12] *** phrozensilver has quit IRC
[05:35:20] <ckboii89> model view controller
[05:35:25] *** TrevDev has joined #angularjs
[05:35:32] *** bmac has quit IRC
[05:35:39] <robdubya> yes that's what it stands for, but what the concept behind it is?
[05:35:56] *** bmac has joined #angularjs
[05:36:12] *** bmac has quit IRC
[05:36:23] <ckboii89> the model interacts with the controller, which then renders the view
[05:36:24] <robdubya> we gonn' educate yo ass, just need to know where to start.
[05:36:45] *** Chris_ has joined #angularjs
[05:37:13] <robdubya> same question as before - previous programming experience?
[05:37:21] <ckboii89> just self taught
[05:37:25] <ckboii89> and current internship
[05:37:30] <ckboii89> and school stuff
[05:37:33] *** cacts|works has quit IRC
[05:37:34] <ckboii89> im in uni atm
[05:37:47] *** mdedetrich has joined #angularjs
[05:37:49] <ckboii89> web dev is just completely new
[05:38:03] <robdubya> ok.
[05:38:07] *** DrMabuse has quit IRC
[05:38:30] *** cacts|wtf has quit IRC
[05:38:45] <robdubya> so your typical "old-school" web site done w/ php or whatever, in a MVC fashion, looks like:
[05:38:56] *** jamesbdev has joined #angularjs
[05:39:23] <robdubya> say, "people"
[05:39:46] <robdubya> a model is a thing. a foo, a bar, nouns, etc.
[05:40:06] <ckboii89> mhmm
[05:40:14] <robdubya> in angular
[05:40:27] <robdubya> you dont have a database (obviously)
[05:40:29] <night-owl-MBP> robdubya: thanks dude! this was what i needed.
[05:40:39] <robdubya> you have an API.
[05:40:51] *** steffengy has quit IRC
[05:40:51] *** steffengy1 has joined #angularjs
[05:41:02] <robdubya> but its the same basic concept - get things from model, from controller, render view
[05:41:16] <ckboii89> okay right
[05:41:17] *** ReactiveIO has quit IRC
[05:41:22] *** gnrlbzik has quit IRC
[05:41:31] <robdubya> $scope is what fucks everyone up
[05:41:36] <robdubya> $scope is *not* a model
[05:41:36] <ckboii89> yeah
[05:41:41] <ckboii89> its object right?
[05:41:43] <robdubya> no
[05:41:54] <ckboii89> damn it the angular doc was kinda confusing
[05:41:54] <robdubya> (well, it is, but that's not how you should think about it)
[05:41:59] <ckboii89> okay
[05:42:09] *** gnrlbzik has joined #angularjs
[05:42:15] <ckboii89> instance?
[05:42:15] <robdubya> $scope is just ... space. a container, the room people are inside
[05:42:40] *** jae is now known as Jae
[05:43:14] <ckboii89> a ok
[05:43:19] *** sdouglas has joined #angularjs
[05:43:35] *** daivyk has quit IRC
[05:43:48] <robdubya> in angular, that scope is typically enclosed within a DOM element
[05:44:07] *** davedev24_ has quit IRC
[05:44:12] *** davedev2_ has joined #angularjs
[05:44:17] <robdubya> when you put an ng-controller on a div, anything *inside* that div can see that div's $scope
[05:44:53] <robdubya> so the div acts like the "walls" of the "room" (scope) your "people" (models) exist in
[05:45:09] *** gauravsaini03 has joined #angularjs
[05:45:22] *** kentcdodds has joined #angularjs
[05:45:23] *** DrMabuse has joined #angularjs
[05:45:52] <ckboii89> inside
[05:46:01] <ckboii89> are you talking about like children divs?
[05:46:33] <robdubya> 2 secs, this is easier to illustrate
[05:46:35] *** wdgreg has quit IRC
[05:46:38] <ckboii89> so <div ng-controller> ... <div some stuff> </div of end ng-controller>
[05:46:56] <ckboii89> ok ill wait
[05:47:57] *** sdouglas has quit IRC
[05:48:05] *** arrty has quit IRC
[05:49:34] *** DrMabuse has quit IRC
[05:52:27] *** willmarshall has joined #angularjs
[05:52:29] *** bejames has quit IRC
[05:53:13] *** danielpquinn has joined #angularjs
[05:54:04] *** mennea has joined #angularjs
[05:54:05] <ckboii89> ?
[05:56:16] *** dccc has quit IRC
[05:56:31] *** TyrfingMjolnir has quit IRC
[05:57:53] *** danielpquinn has quit IRC
[05:59:03] *** rburns has quit IRC
[05:59:11] <chovy> anyone know why ng-click is not firing on iPhone?
[05:59:17] <chovy> i'm using angular-touch and still nothing.
[05:59:21] <chovy> its for BODY tag
[05:59:30] *** amargherio has quit IRC
[05:59:35] <chovy> seems click events only work on clickable ablemeents like links nad buttons
[05:59:47] <robdubya> ckboii89 sorry, dog had to shit
[06:00:02] *** Willow_ has joined #angularjs
[06:00:05] *** JosephSilber has quit IRC
[06:01:43] <robdubya> ckboii89 so the point of that is that the scope is provided to you, it just "is"
[06:01:46] *** phuh has quit IRC
[06:01:52] <robdubya> its not a thing you move around
[06:02:14] *** phuh has joined #angularjs
[06:02:25] *** Silne30 has quit IRC
[06:02:58] *** gnrlbzik has quit IRC
[06:03:15] *** Jae has quit IRC
[06:03:32] *** gnrlbzik has joined #angularjs
[06:03:36] *** theshane has quit IRC
[06:04:33] *** Willow_ has quit IRC
[06:05:47] *** upsell5 has joined #angularjs
[06:06:03] <robdubya> the important thing there is that the parent is available in the child scopes because it exists in the parent, and its the *same* object in all 3
[06:06:34] *** gauravsaini03 has quit IRC
[06:06:38] <robdubya> the children don't exist in the parent, so they only exist in the childController
[06:06:38] *** MistahKurtz has quit IRC
[06:06:59] *** endash has joined #angularjs
[06:06:59] *** dcherman has quit IRC
[06:07:09] <robdubya> (i'm getting to your modal thing)
[06:07:34] *** gnrlbzik has quit IRC
[06:08:47] *** Chris_ has quit IRC
[06:09:46] *** sdouglas has joined #angularjs
[06:10:58] *** sonicblud is now known as jayrobot
[06:12:02] *** recidive has joined #angularjs
[06:12:39] *** Yahkob has quit IRC
[06:12:55] *** bkuberek has joined #angularjs
[06:13:04] *** ReactiveIO has joined #angularjs
[06:13:13] *** TyrfingMjolnir has joined #angularjs
[06:14:01] *** TyrfingMjolnir has quit IRC
[06:14:03] *** encrypt3d_fracti has joined #angularjs
[06:14:23] <ckboii89> inheiratance
[06:14:40] <robdubya> right.
[06:15:09] <robdubya> inheritance only works if they are physically inside each other though
[06:15:22] *** mac_ified has quit IRC
[06:15:23] *** Jrichardson has joined #angularjs
[06:15:41] <robdubya> so in that example, the people exist in the service, and they are "pulled" into the scope
[06:16:11] *** Jrichardson has quit IRC
[06:16:16] <robdubya> they key there is that $scope.allPeople is the *same* array everywerhe
[06:16:31] *** bkuberek_ has quit IRC
[06:16:46] <robdubya> so that array is like a supersimple database. its a collection of things
[06:17:30] *** bkuberek has quit IRC
[06:17:37] *** richiebkr has joined #angularjs
[06:18:16] <Strues> This angular lesson is pretty pro
[06:18:38] *** InezK_away is now known as InezK
[06:18:40] <robdubya> teh service provides an *interface* to get your stuff. in the real world, that collection lives on the server, in the database, but its the same basic concept.
[06:18:45] *** mdedetrich has quit IRC
[06:19:00] <robdubya> you're all fucked up because your modals dont fit into that neat little demo i did iwth pretty boxes.
[06:19:36] <robdubya> but that should be irrelevant, because the data (shuold) exist in the service
[06:19:53] *** romascudeto has joined #angularjs
[06:20:00] *** frickettz has joined #angularjs
[06:20:04] <romascudeto> Hi
[06:20:17] <romascudeto> may i ask something?
[06:20:29] <robdubya> Strues good to hear, i'll let you know when you can sign up on my new website ;-p
[06:20:51] <robdubya> romascudeto you may
[06:20:56] *** faddah has quit IRC
[06:21:06] *** TheAceOfHearts has quit IRC
[06:21:12] *** eggie5_ has joined #angularjs
[06:21:12] <romascudeto> sorry if my english is bad
[06:21:13] <romascudeto> :(
[06:21:22] *** Matt_Ricketts has quit IRC
[06:21:28] <robdubya> prob better than our italian
[06:21:49] <romascudeto> I have a list page and on click of any list item i go to show page.
[06:21:53] <romascudeto> Now if I press browser back button then list route called and re-render the list page
[06:22:13] <romascudeto> but i don't want to refresh that list page
[06:22:35] <romascudeto> i want to keep position from the previous page
[06:22:51] *** mindlace has quit IRC
[06:23:31] <eggie5_> what the differnce between using the array syntax for a controller then attaching it on a DOM element w/ ng-controller=array_struct and using a closure and going ‘app.controller(array_struct) ?
[06:24:07] <robdubya> the former is a terrible idea.
[06:24:31] <robdubya> romascudeto the problem is when you navigate away, that controller is destroyed
[06:24:49] *** meinside has joined #angularjs
[06:24:58] <robdubya> romascudeto how are you doing routing?
[06:25:10] <romascudeto> is there any trick to not destroy previous controller?
[06:25:11] *** jstimm has joined #angularjs
[06:25:11] <eggie5_> robdubya: u talking to me?
[06:25:20] <robdubya> eggie5_ yes.
[06:25:34] <romascudeto> ng-click="go('/campaign/'+{{theItem.id}})"
[06:25:35] *** mercwithamouth has quit IRC
[06:25:38] <romascudeto> i use this
[06:25:40] <eggie5_> robdubya: cool, i’ve just seen examples like that so i’m confused
[06:25:47] *** Jdubs_ has quit IRC
[06:26:03] <robdubya> eggie5_ the best (imo) way to do it is generally not on the dom at all
[06:26:16] <robdubya> romascudeto are you using ng-router?
[06:26:21] *** rajas7 has joined #angularjs
[06:26:33] <romascudeto> yes i use ng-router
[06:26:44] <eggie5_> robdubya: how do you attach the controller to the app if you dont use the ng-controller directive?
[06:26:59] <robdubya> romascudeto / eggie5_ you should both look at ui-router
[06:27:13] *** gauravsaini03 has joined #angularjs
[06:27:35] <romascudeto> but i don't understand how to use ng-router
[06:27:40] <romascudeto> can u give me example?
[06:27:48] *** recidive has quit IRC
[06:28:52] *** faddah has joined #angularjs
[06:28:56] *** waylon999 has joined #angularjs
[06:29:11] *** ko3t has joined #angularjs
[06:29:19] <Ankhular> anyone with select2 experience know how to use it with a modal?
[06:29:29] <Ankhular> the positioning of the dropdown is screwy
[06:29:36] <robdubya> romascudeto the problem is that ng-router only lets you have one dynamic view
[06:29:38] <Ankhular> only when inside the modal
[06:29:54] <robdubya> so it gets destroyed each time you navigate
[06:30:33] *** MikeMatrix has quit IRC
[06:30:52] *** brianturgeon has joined #angularjs
[06:31:38] <romascudeto> if i use ui.router
[06:31:55] *** kalehv_ has quit IRC
[06:31:55] <romascudeto> is the previous controller will not destroy?
[06:32:17] <robdubya> romascudeto let me update that demo, just a second
[06:32:36] <romascudeto> oke,,thx a lot robdubya
[06:32:36] *** kalehv has joined #angularjs
[06:32:55] *** Gambit- has joined #angularjs
[06:33:00] *** mdedetrich has joined #angularjs
[06:34:10] *** holymac has quit IRC
[06:34:25] *** DrMabuse has joined #angularjs
[06:34:32] *** holymac has joined #angularjs
[06:34:43] *** upsell5 has quit IRC
[06:34:52] *** hugorodrigues has joined #angularjs
[06:36:33] *** tfennelly has joined #angularjs
[06:37:00] *** kalehv has quit IRC
[06:37:03] <teslan> can {{ data binding }} be used inside of .css files?
[06:37:10] *** AlecTaylor has joined #angularjs
[06:37:11] <AlecTaylor> hi
[06:37:32] <AlecTaylor> What is the right order of including my JS in my index.html?
[06:37:35] *** kalehv has joined #angularjs
[06:38:01] <AlecTaylor> Currently: <angular>, <services>, <factories>, <controllers>, <app.js>
[06:38:06] <romascudeto> u can including it on <head></head> i think
[06:38:13] *** MikeMatrix has joined #angularjs
[06:38:32] *** DrMabuse has quit IRC
[06:38:48] *** willmarshall has quit IRC
[06:38:49] <AlecTaylor> Unfortunately it can't seem to find my controllers :\ - I am injecting them properly
[06:38:56] *** mguillech has joined #angularjs
[06:39:10] *** willmarshall has joined #angularjs
[06:39:31] *** hugorodrigues has quit IRC
[06:41:05] *** tfennelly has quit IRC
[06:41:19] <romascudeto> Hi, robdubya, is the demo done? :)
[06:41:44] *** Jdubs has joined #angularjs
[06:41:45] <rajas7> I want to prayer
[06:41:47] *** holymac has quit IRC
[06:42:22] <rajas7> see you again
[06:42:29] *** gnrlbzik has joined #angularjs
[06:42:38] *** francisl has quit IRC
[06:43:07] *** jstimm has quit IRC
[06:43:18] *** mguillech has quit IRC
[06:43:56] *** tsalb has quit IRC
[06:45:15] *** MikeMatrix_ has joined #angularjs
[06:45:53] *** DrMabuse has joined #angularjs
[06:46:58] *** gnrlbzik has quit IRC
[06:47:16] *** joshontheweb has quit IRC
[06:47:16] *** syed99 has joined #angularjs
[06:47:29] *** richiebkr has quit IRC
[06:48:01] *** MikeMatrix has quit IRC
[06:49:12] *** ReactiveIO has quit IRC
[06:49:47] <ckboii89> @robdubya sorry i had to call my mom
[06:49:55] <ckboii89> ill read the code, but i get what you mean
[06:50:03] *** DrMabuse has quit IRC
[06:50:15] <ckboii89> brb shopping
[06:50:24] <romascudeto> LOL
[06:50:27] <romascudeto> nice
[06:50:30] <robdubya> romascudeto ok
[06:50:35] <robdubya> refresh that plunk
[06:50:41] <robdubya> and look at how the foos work
[06:50:43] <romascudeto> oke thx
[06:50:47] *** s3shs has joined #angularjs
[06:50:50] <romascudeto> brb
[06:50:54] <romascudeto> plunker
[06:51:23] <teslan> so, is it possbile to some way use {{}} in css files?
[06:51:35] *** mennea has quit IRC
[06:53:03] *** rchavik has quit IRC
[06:53:08] <robdubya> not really, at least not on the fly
[06:53:12] <robdubya> thats what ng-class is for
[06:53:27] *** SomeKittens has quit IRC
[06:53:59] *** danielpquinn has joined #angularjs
[06:54:40] *** gnrlbzik has joined #angularjs
[06:55:02] *** broski has quit IRC
[06:55:33] *** mdedetrich has quit IRC
[06:55:38] *** MikaAK_ has joined #angularjs
[06:57:02] *** MikaAK_ has quit IRC
[06:57:09] *** mindlace has joined #angularjs
[06:57:12] *** cacts|wtf has joined #angularjs
[06:57:13] *** TyrfingMjolnir has joined #angularjs
[06:57:41] *** mennea has joined #angularjs
[06:57:58] *** shonka has joined #angularjs
[06:58:04] *** kalehv has quit IRC
[06:58:31] *** snurfery has joined #angularjs
[06:58:33] *** danielpquinn has quit IRC
[06:58:36] *** Willow_ has joined #angularjs
[06:58:42] *** cigarshark has joined #angularjs
[06:59:06] *** gnrlbzik has quit IRC
[07:00:34] *** DrMabuse has joined #angularjs
[07:00:34] *** zenw0lf has joined #angularjs
[07:00:36] *** TyrfingMjolnir_ has joined #angularjs
[07:00:51] <zenw0lf> hello
[07:01:47] *** TyrfingMjolnir has quit IRC
[07:01:47] *** TyrfingMjolnir_ is now known as TyrfingMjolnir
[07:01:48] *** phuh has quit IRC
[07:02:12] *** phuh has joined #angularjs
[07:02:22] *** dccc has joined #angularjs
[07:02:38] *** cacts|wtf has quit IRC
[07:03:45] *** Willow_ has quit IRC
[07:03:58] *** cigarshark has quit IRC
[07:04:15] <zenw0lf> why can't angular use two way data binding with the "selected property"?
[07:04:24] *** nemothekid has joined #angularjs
[07:05:01] *** mennea has quit IRC
[07:05:11] *** subnl2 has left #angularjs
[07:05:23] *** DrMabuse has quit IRC
[07:05:41] *** iksik has joined #angularjs
[07:05:58] *** mdedetrich has joined #angularjs
[07:06:22] *** cctom_ has joined #angularjs
[07:07:20] *** mennea has joined #angularjs
[07:07:24] *** rchavik has joined #angularjs
[07:07:31] *** mennea has quit IRC
[07:09:11] <snurfery> zenw0lf: wat
[07:09:20] <snurfery> what am I looking at here
[07:09:31] <zenw0lf> well
[07:09:48] <zenw0lf> i can't modify the "selected" attribute with the value in the $scope
[07:10:21] <zenw0lf> but, some-property, gets modified alright
[07:10:52] *** Willow_ has joined #angularjs
[07:10:57] <zenw0lf> inspect the result and look for <div some-property="{{index}}" selected="{{index}}"></div> and check the value in the "selected" property pls
[07:11:18] <zenw0lf> snurfery: there, ty
[07:11:33] <snurfery> I'm gonna guess on this, but I'm gonna say it with confidence
[07:12:16] <snurfery> selected is a reserved html attribute normally used with <select> and <option> tags, and the browser won't want to store a value on it
[07:12:21] *** mennea has joined #angularjs
[07:12:27] <snurfery> so name it something else
[07:12:37] <zenw0lf> i thought that
[07:12:38] <snurfery> selectedone="{{index}}"
[07:13:16] <snurfery> 78% chance I'm completely wrong on that of course, but that's my current theory
[07:13:17] <zenw0lf> but the problem is that i'm trying to use angularjs + polymer, and polymer does extensive use of the "selected" property for their UI elements...
[07:13:27] *** AlecTaylor has quit IRC
[07:13:34] *** bkuberek has joined #angularjs
[07:13:34] <snurfery> and polymer assigns values to selected?
[07:13:42] <zenw0lf> yes
[07:13:43] <snurfery> and uses selected on <div>s?
[07:14:13] <zenw0lf> the problem is something with angular i guess, sin you can change the property directly (with f12 console), with jquery and it will work
[07:14:25] <zenw0lf> uses selected on custom elements
[07:14:31] *** squeakytoy2 has quit IRC
[07:14:33] <zenw0lf> paper-tabs
[07:15:03] <snurfery> polymer + angular huh
[07:15:03] *** fg3 has joined #angularjs
[07:15:06] <zenw0lf> <paper-tabs some-property="{{index}}" selected="{{index}}"></paper-tabs>
[07:15:26] *** cctom_ has quit IRC
[07:15:28] <zenw0lf> and it does the same, it won't let me modify the selected attr
[07:15:34] <snurfery> that's like driving a car inside of an airplane
[07:15:37] <zenw0lf> even in that custom tag
[07:15:38] <snurfery> you only need one to get around
[07:15:43] <snurfery> having both makes no sense to me
[07:15:44] <snurfery> haha
[07:15:44] *** squeakytoy2 has joined #angularjs
[07:16:15] *** jshultz has quit IRC
[07:16:18] *** rho has joined #angularjs
[07:16:18] *** rho has joined #angularjs
[07:16:23] *** jiggliemon has joined #angularjs
[07:16:24] *** mac_ified has joined #angularjs
[07:16:55] <fg3> why is my jasmine spy not working?
[07:17:07] <jiggliemon> does ng-repeats filter only work on arrays?
[07:17:10] <jiggliemon> not objects?
[07:17:13] <zenw0lf> u can use polymer to get define ur web components
[07:17:27] <snurfery> zenw0lf: I get the appeal of polymer of course
[07:17:29] <zenw0lf> then use angular for wiring things up
[07:17:57] <snurfery> 2 frameworks creating custom elements, each with their own 2-way data binding
[07:18:05] *** bkuberek has quit IRC
[07:18:36] *** jstimm has joined #angularjs
[07:18:54] <zenw0lf> nop
[07:19:05] <romascudeto> i still cannot get it about ui.router :(
[07:19:11] <zenw0lf> i just want to replace directives with polymer elements
[07:19:17] <romascudeto> ui.router something like ajax right?
[07:19:32] <snurfery> ok ok, I'll quit being an old fart, lemme look for an answer
[07:19:35] *** BobbieBarker has joined #angularjs
[07:20:37] *** MistahKurtz has joined #angularjs
[07:22:52] *** Obversity has joined #angularjs
[07:22:56] *** mac_ified has quit IRC
[07:22:57] <snurfery> almost half way down the page they talk about problems with getting angular data binding and polymer's working at the same time
[07:23:34] <snurfery> apparently changes to the angular binding will propogate to polymer, but changes to the polymer binding won't show in angular (or somethign)
[07:24:16] <zenw0lf> snurfery: thx, but I guess the problem lies in something that angular does with the selected attr?
[07:24:32] <snurfery> that was your original guess
[07:24:42] <snurfery> I'm suggesting something new in light of the info in that link
[07:24:55] <zenw0lf> hmm
[07:25:19] <zenw0lf> update sample
[07:25:24] <snurfery> since 'selected' is special to polymer then we need to take some polymer-specific steps to get it working
[07:25:29] <snurfery> i.e. click and read the link
[07:25:33] <snurfery> ;)
[07:26:00] <zenw0lf> if I inspect the html I can see that selected can have basically any value I decide, but not when done through angular
[07:26:08] <zenw0lf> I did click
[07:26:13] <willmarshall> Hey guys! I have a "Cart" service that represents an order I want synced to my backend
[07:26:14] <zenw0lf> I will read now
[07:26:40] <snurfery> yeah, the problem isn't in selected holding a value
[07:26:51] <willmarshall> There are a bunch of different ways data in this service can be changed, so I'm wondering about a way to have a single centralized $watch of some sort that'll trigger a function on changes
[07:26:54] <snurfery> it's with data binding with angular and polymer at the same time
[07:27:05] *** ReactiveIO has joined #angularjs
[07:27:12] <Moult> why does angularjs $http object response use response.data instead of response.body?
[07:28:21] <BobbieBarker> is anyone aware of a file uploading solution that supports the use of restangular and drag-drop?
[07:28:45] *** jiggliemon has quit IRC
[07:29:20] <snurfery> hmm, with restangular?
[07:29:36] <BobbieBarker> ya i have an entire API library built on restangular
[07:29:50] <BobbieBarker> i was looking at the docs for angular-file
[07:29:59] <snurfery> the one I'm thinking of uses $http directly
[07:30:17] <BobbieBarker> i want to avoid that and use the goodness that is restangular
[07:31:05] *** DrMabuse has joined #angularjs
[07:31:32] *** ReactiveIO has quit IRC
[07:32:18] *** Yahkob has joined #angularjs
[07:32:49] *** Veer89 has quit IRC
[07:33:00] <snurfery> I wonder, since both restangular and $upload use $http underneath the hood, if there's a way to bridge the gap
[07:33:12] <BobbieBarker> that would be wild
[07:33:14] *** _tpavel has joined #angularjs
[07:33:20] <snurfery> in an ideal world, what would your upload call look like?
[07:33:52] <BobbieBarker> no idea
[07:33:58] <zenw0lf> snurfery: if what u say is true, then why does only happen to selected?
[07:34:00] <BobbieBarker> what do you mean the call?
[07:34:22] <zenw0lf> because both are binding on the same prop at the same time?
[07:34:33] <snurfery> zenw0lf: because selected is the one that polymer has a data bind on, so that's the one that has a conflict
[07:34:40] <snurfery> again I'm guessing wildly
[07:35:01] *** DrMabuse_ has joined #angularjs
[07:35:05] *** jiggliemon has joined #angularjs
[07:35:15] <snurfery> but I know for sure that the link I posted said there are real issues that need to be worked around if you wanna use angular + polymer
[07:35:33] <snurfery> so don't think they don't apply to you ;)
[07:35:37] *** DrMabuse has quit IRC
[07:35:53] *** Yahkob has quit IRC
[07:36:00] <snurfery> BobbieBarker: yeah that was a super-vague question, just trying to think of how I'd approach this
[07:36:04] <jiggliemon> Will the ng-repeat filter work on objects?
[07:36:09] <jiggliemon> because this shit aint working
[07:36:19] <jiggliemon> and it will be some work to change it to an array
[07:36:19] *** tfennelly has joined #angularjs
[07:36:26] <BobbieBarker> yeah seeing how everything on your scope should be an object fitler is designed to handle it
[07:36:27] <jiggliemon> so just wondering if that's the problem
[07:36:29] <BobbieBarker> you're probably doing it wrong
[07:36:39] <BobbieBarker> oh it needs to be an array of objects
[07:37:41] <BobbieBarker> snurfery i dunno man i'm kind of just in the research phase thats why i poked my head in here to see if anyone knew anything
[07:37:49] <jiggliemon> So it MUST be an array of objects.
[07:37:50] <jiggliemon> shit
[07:38:10] <BobbieBarker> otherwise what are you filtering ?
[07:38:12] <BobbieBarker> if you only have 1 thing
[07:38:15] <BobbieBarker> what to filter?
[07:38:24] *** sigurding has joined #angularjs
[07:38:26] <BobbieBarker> do you just want to display it if it has a property?>
[07:38:32] <BobbieBarker> what is your real objective
[07:38:37] <BobbieBarker> behind using a filter
[07:38:47] <BobbieBarker> snurfery while i'm here i might as well help the masses
[07:38:53] <snurfery> BobbieBarker: there ya go =)
[07:39:20] <BobbieBarker> my ng skills are getting to be quite legit
[07:39:35] *** rchavik has quit IRC
[07:39:35] *** DrMabuse_ has quit IRC
[07:39:46] *** marcusti has joined #angularjs
[07:39:46] <jiggliemon> I'm repeating over an object {"key": {}, "key2", {}}
[07:39:46] *** mguillech has joined #angularjs
[07:39:46] <snurfery> BobbieBarker: so let's say you were using angular-file-upload... would you want to give it a restangular object as it's "url" config parameter?
[07:39:53] <BobbieBarker> jiggliemon so you want to use a search field against???
[07:40:08] <BobbieBarker> snurfery ideally yeah
[07:40:37] *** tfennelly has quit IRC
[07:40:59] <BobbieBarker> jiffliemon don't worry about the UI cuz that doesn't tell me much, what is the data and what do you want to do with the data
[07:41:10] <BobbieBarker> once you have that you can have your UI/view do anything
[07:41:10] <jiggliemon> BobbieBarker no, I'm just trying to filter out active || complete uploads. Honestly, I was trying to just use ui-routers stateParams
[07:41:23] <BobbieBarker> ui-router is awesom
[07:41:48] <BobbieBarker> so is that something that happens real time
[07:41:55] <jiggliemon> No
[07:42:02] <jiggliemon> i'll just switch to an array of objects.
[07:42:03] <BobbieBarker> like as something is loading the load bar fills up to complete and then when complete you want to drop it off the view
[07:42:08] <jiggliemon> see if this happens.
[07:42:16] <jiggliemon> BobbieBarker yeah
[07:42:23] <BobbieBarker> well if you're using an array i can promise you that the filter will start to work
[07:42:29] <BobbieBarker> use ng-repeat then use filter
[07:42:45] <jiggliemon> Is this the completely wrong approach?
[07:42:46] <snurfery> BobbieBarker: just use angular-file-upload like in the example, but in the 'url' config just use something like
[07:42:56] <snurfery> myRestangularInstance.getRestangularUrl()
[07:42:57] <jiggliemon> is there a more correct way to do what I'm attempting?
[07:43:04] <BobbieBarker> maybe maybe not
[07:43:22] <snurfery> or you know, Restangular.all('api').one('upload').getRestangularUrl() or whatever your paths are
[07:43:52] <BobbieBarker> snurfery you think that will work cuz if it does then i don't have to write my own directive
[07:43:53] <BobbieBarker> lol
[07:43:53] *** jonnybro has joined #angularjs
[07:43:56] <snurfery> feed that plain url to angular-file-upload just like it expects
[07:44:02] <zenw0lf> snurfery: done reading the article, still in this code there is no polymer and the problem persists
[07:44:06] *** Willow_ has quit IRC
[07:44:07] *** mguillech has quit IRC
[07:44:10] <snurfery> yeah man, it just wants a url
[07:44:40] <BobbieBarker> hmm but if i use restangular like that won't it just feed it back a restangular object?
[07:44:42] <BobbieBarker> oh
[07:44:42] *** Willow_ has joined #angularjs
[07:44:43] <BobbieBarker> derp
[07:44:51] <BobbieBarker> .getRestangularURl() must be where the magic happens
[07:45:12] <BobbieBarker> thats sick shit dude
[07:45:24] <snurfery> hope it works, cuz I need to do that in my own code too
[07:45:24] <BobbieBarker> i knew if i poked my head in here some one would have some ideas
[07:45:26] *** Yahkob has joined #angularjs
[07:45:36] <snurfery> I think I'm using a hardcoded url
[07:45:47] <BobbieBarker> i can't use hard coded URLS
[07:45:49] <BobbieBarker> well ic ould
[07:45:50] *** ziyadb has quit IRC
[07:45:55] <BobbieBarker> but it would be stupid
[07:46:13] <BobbieBarker> and if our base URL changes then i'd have to go through every instance of the app where this directive is used and change things
[07:46:15] <BobbieBarker> that would suck
[07:46:23] <BobbieBarker> this app is large
[07:46:26] <BobbieBarker> the largeness
[07:46:50] *** joshontheweb has joined #angularjs
[07:47:15] <snurfery> zenw0lf: I think angular is only assigning a value that it considers 'valid' in selected, it doesn't wanna store arbitrary strings in there
[07:47:16] <BobbieBarker> mostly i want this to work cuz i'm feeling a little burned out, i've been coding non stop for awhile now and i had to work through the weekend
[07:47:31] <zenw0lf> yes I think so too
[07:47:57] <snurfery> note how it's converting the selected="1" to selected="selected", which is selected's version of boolean true
[07:48:15] <snurfery> I'm sure there's some cool part in angular's source code that does that
[07:49:05] *** Willow_ has quit IRC
[07:49:58] *** Jae has joined #angularjs
[07:51:52] *** fedenunez has quit IRC
[07:51:56] <snurfery> zenw0lf: yeah I see it here. These are the attributes angular considers 'boolean' so it'll purposely only store certain values on it
[07:52:07] <snurfery> multiple,selected,checked,disabled,readOnly,required,open
[07:52:30] <zenw0lf> oh D:
[07:52:37] *** joshontheweb has quit IRC
[07:52:44] <zenw0lf> mailing list time I guess
[07:52:50] <zenw0lf> thank you for the help
[07:53:06] <snurfery> np, fun learning about all this
[07:53:09] *** Obversity has quit IRC
[07:53:24] <snurfery> thanks for showing my polymer, I kinda want to play with it myself now
[07:53:44] *** rburns has joined #angularjs
[07:54:35] *** rho has quit IRC
[07:54:38] *** danielpquinn has joined #angularjs
[07:55:05] *** marcusti has quit IRC
[07:55:24] *** gnrlbzik has joined #angularjs
[07:55:54] *** waylon999 has quit IRC
[07:56:13] *** waylon999 has joined #angularjs
[07:56:42] *** waylon999 has quit IRC
[07:56:54] *** jonnybro has quit IRC
[07:57:09] <snurfery> webcomponents
[07:57:17] <snurfery> they're blowing my goddamn mind right now
[07:57:39] *** mary5030 has joined #angularjs
[07:57:51] <zenw0lf> oh man
[07:58:00] <zenw0lf> i just did the basic tutorial and i'm hokked
[07:58:03] <zenw0lf> hooked*
[07:58:06] <snurfery> it's too late for me to be this excited
[07:59:05] *** danielpquinn has quit IRC
[07:59:22] *** BobbieBarker has quit IRC
[07:59:31] *** bosphorus has joined #angularjs
[07:59:35] <snurfery> where's the polymer object that uses selected?
[07:59:42] <snurfery> do you have a link or a name or something
[08:00:24] *** encrypt3d_fracti has quit IRC
[08:00:38] *** gnrlbzik has quit IRC
[08:00:44] *** miha_ has joined #angularjs
[08:00:44] <zenw0lf> look at this, then search for "paper-tabs" (Ctrl-F)
[08:01:21] *** miha- has quit IRC
[08:01:51] *** phuh has quit IRC
[08:02:08] <snurfery> I have an idea
[08:02:13] <zenw0lf> you will see selected = 'all', that's the name of the tab you want
[08:02:15] *** phuh has joined #angularjs
[08:02:44] <snurfery> hmm lemme think about this before I say it out loud and sound like an idiot
[08:02:54] <snurfery> bah I'm anonymous, who cares
[08:03:01] <zenw0lf> kk
[08:03:21] <snurfery> my idea was to create a directive with a super high priority that prevents angular from processing that selected
[08:03:26] *** AngularUI has joined #angularjs
[08:03:26]
<AngularUI> [bootstrap] ahneo opened pull request #2477: Display matches by default when typeahead is empty (master...master) http://git.io/lwPkLg
[08:03:26] *** AngularUI has left #angularjs
[08:03:40] *** Silne30 has joined #angularjs
[08:03:50] *** night-owl-MBP has quit IRC
[08:04:06] <snurfery> the option is called terminal I think
[08:04:11] <zenw0lf> it sounds fearless
[08:04:12] *** night-owl-MBP has joined #angularjs
[08:04:29] <snurfery> or perhaps dying in a cancer ward
[08:04:35] <snurfery> /bleak
[08:04:39] *** Obversity has joined #angularjs
[08:04:43] * snurfery has been watching too much House
[08:05:27] <snurfery> see the priority?
[08:05:28] <zenw0lf> hope someone replies on the mailing list with an easy way to get them along
[08:05:41] *** mtsr has joined #angularjs
[08:05:50] <snurfery> we just need to create a terminal directive with a priority one higher
[08:06:34] *** evilaliv3 has joined #angularjs
[08:06:34] *** the-erm has quit IRC
[08:06:43] *** jiggliemon has quit IRC
[08:06:45] <zenw0lf> i see
[08:06:54] *** rodr1go has quit IRC
[08:07:04] <zenw0lf> but my directive-fu is not that strong yet
[08:07:54] <zenw0lf> i still don't know how would i prevent the other one from running
[08:08:13] <Ankhular> anyone know of an alternative to select2 which is open all the time?
[08:08:16] <snurfery> the directive has an option called 'terminal'
[08:08:24] *** mtsr has quit IRC
[08:08:26] *** Silne30 has quit IRC
[08:08:31] <snurfery> which, if set to true, prevents directives of lower priority from running
[08:08:37] *** night-owl-MBP has quit IRC
[08:08:43] *** the-erm has joined #angularjs
[08:09:16] *** jiggliemon has joined #angularjs
[08:09:43] *** jerev_away is now known as jerev
[08:12:30] *** mtsr has joined #angularjs
[08:13:01] *** cctom has joined #angularjs
[08:13:03] *** sdouglas has quit IRC
[08:14:20] *** bkuberek has joined #angularjs
[08:14:55] <zenw0lf> snurfery: so basically what I need to do is create a new directive that I will put in any elements i want to be able to change the selected attribute?
[08:15:17] <snurfery> yeah that was the idea but I think there might be problems with that
[08:16:25] *** mac_ified has joined #angularjs
[08:16:59] *** cctom has quit IRC
[08:17:18] *** Trow1 has joined #angularjs
[08:17:24] *** dcherman has joined #angularjs
[08:18:35] *** bkuberek has quit IRC
[08:19:19] <davek> Is it possible to specify a date format via scope variable?
[08:19:56] *** HypnotiX has joined #angularjs
[08:19:56] <Strues> Could someone recommend a good yeoman generator for a mean stack? Other than meanio and meanjs. Or am I better off to do it 100% by hand
[08:20:39] *** _jpfm has joined #angularjs
[08:20:48] <jiggliemon> Strues shit what does mean stand for again?
[08:20:58] <Strues> mongo express angular node
[08:21:43] *** klaut has joined #angularjs
[08:21:46] <Strues> Im open to other options, I just need to have a backend that I dont have to pay for. Would prefer to just host my own.
[08:22:40] <Strues> Ive put some time into angular-fullstack today, but I dunno feels bloaty
[08:22:47] *** mac_ified has quit IRC
[08:22:58] *** cctom_ has joined #angularjs
[08:22:58] <jiggliemon> Strues you looked at firebase?
[08:23:02] <jiggliemon> apparently it's neat.
[08:23:06] *** hugorodrigues has joined #angularjs
[08:23:17] <jiggliemon> I'd say parse, but their JS SDK is shitty.
[08:23:41] <jiggliemon> Anyhow. Sorry no. No generators that I
[08:23:45] <jiggliemon> 'm aware of
[08:23:57] *** plysiu has joined #angularjs
[08:24:19] <Strues> Yeah ive looked at firebase, but anything other than their basic free package starts at $50 a month
[08:24:29] *** lite_ has joined #angularjs
[08:24:39] *** Asiajey has quit IRC
[08:24:39] *** Asiajey_ has joined #angularjs
[08:27:45] *** hugorodrigues has quit IRC
[08:27:57] *** ReactiveIO has joined #angularjs
[08:28:06] <snurfery> zenw0lf: I opened an issue on the polymer repo, I think it's a bit of a bug on their end to use a reserved html attribute like that
[08:28:07] *** ReactiveIO has quit IRC
[08:28:48] <zenw0lf> nice, can I have the link?
[08:30:39] *** mykz_ has joined #angularjs
[08:31:57] *** DrMabuse has joined #angularjs
[08:32:16] *** dcherman has quit IRC
[08:32:50] *** jstroem has joined #angularjs
[08:34:36] *** jacuqesdancona has joined #angularjs
[08:36:00] *** DrMabuse_ has joined #angularjs
[08:36:27] *** DrMabuse has quit IRC
[08:37:37] *** eggie5_ has quit IRC
[08:37:58] <jiggliemon> Can a controller know when it's active with ui-router?
[08:38:39] *** michaelm has joined #angularjs
[08:38:42] <jiggliemon> I get the hunch that's the wrong question
[08:38:48] *** blueadept has quit IRC
[08:39:32] <zenw0lf> heh
[08:40:29] *** mguillech has joined #angularjs
[08:40:30] *** DrMabuse_ has quit IRC
[08:40:44] *** jbogarin has quit IRC
[08:41:21] *** night-owl-MBP has joined #angularjs
[08:41:47] *** Click66 has joined #angularjs
[08:43:55] *** endash has quit IRC
[08:44:55] *** Willow_ has joined #angularjs
[08:45:09] *** mguillech has quit IRC
[08:46:38] *** rchavik has joined #angularjs
[08:46:42] *** tgkokk has joined #angularjs
[08:46:56] *** mooru has joined #angularjs
[08:47:34] <snurfery> jiggliemon: yeah it can
[08:47:50] <snurfery> $stateProvider knows the name(s) of active states
[08:47:52] *** Jdubs has quit IRC
[08:48:03] <jiggliemon> snurfery no shit?
[08:48:05] <jiggliemon> looking
[08:48:09] <snurfery> and $stateProvider has a method called contains() or something
[08:48:59] *** okdamn has joined #angularjs
[08:49:05] <okdamn> hello all
[08:49:17] *** Willow_ has quit IRC
[08:49:20] <okdamn> does someone can suggest me how to remove the first item in a $scope object?
[08:49:41] <okdamn> completely delete it i mean, it has to not exists anymore
[08:49:50] <jiggliemon> snurfery shit. Looks like it aint public at least.
[08:49:58] <jiggliemon> console.dir here we come.
[08:50:04] <snurfery> there's a public one, I'm just not rembering it
[08:50:26] <jiggliemon> snurfery [state, decorator]
[08:50:32] <jiggliemon> these are the ones documented.
[08:50:39] *** Jdubs has joined #angularjs
[08:50:39] *** slainer68 has quit IRC
[08:50:50] <snurfery> it's called .includes
[08:50:55] *** slainer68 has joined #angularjs
[08:52:04] *** mdel has quit IRC
[08:52:16] <snurfery> jiggliemon ^
[08:52:25] <jiggliemon> snurfery looking
[08:52:29] <snurfery> there's also .is()
[08:53:16] <snurfery> caitp: are you around?
[08:54:15] *** night-owl has joined #angularjs
[08:54:30] *** mchammer has joined #angularjs
[08:54:56] *** sutabi has joined #angularjs
[08:55:00] *** tarnus has quit IRC
[08:55:08] *** jrahmy has joined #angularjs
[08:55:31] *** danielpquinn has joined #angularjs
[08:55:32] *** tarnus has joined #angularjs
[08:55:47] <cctom_> anyone here using Forge and might have a clue why my quick deploy to digital ocean just keeps spinning without actually deploying?
[08:56:11] *** mspier_off is now known as mspier
[08:56:28] *** bicranial has joined #angularjs
[08:57:10] *** Arindam has joined #angularjs
[08:57:27] *** gnrlbzik has joined #angularjs
[08:57:42] *** kentcdodds has quit IRC
[08:58:53] *** Trow1 has quit IRC
[08:59:17] *** gnrlbzik_ has joined #angularjs
[08:59:18] *** Trow1 has joined #angularjs
[08:59:18] *** thomasfuston has joined #angularjs
[08:59:33] *** tarnus has quit IRC
[09:00:04] *** danielpquinn has quit IRC
[09:00:47] *** XoRoN has joined #angularjs
[09:01:01] *** [n0b0dy] has quit IRC
[09:01:11] *** [n0b0dy] has joined #angularjs
[09:01:35] *** mattwynne has joined #angularjs
[09:01:37] *** ishi has joined #angularjs
[09:01:42] *** mguillech has joined #angularjs
[09:01:43] *** syed99 has quit IRC
[09:01:50] *** phuh has quit IRC
[09:02:10] *** gnrlbzik has quit IRC
[09:02:16] *** phuh has joined #angularjs
[09:03:22] *** squeakytoy has joined #angularjs
[09:03:35] *** gnrlbzik_ has quit IRC
[09:04:47] *** fbenoit has joined #angularjs
[09:05:06] *** Strues has quit IRC
[09:05:38] *** BlinkyBill has quit IRC
[09:05:40] *** hannesvdvreken has joined #angularjs
[09:06:27] *** AndyFTP has joined #angularjs
[09:07:04] *** crocket has joined #angularjs
[09:07:08] <crocket> The web sucks.
[09:07:16] <Moult> crocket: +1
[09:07:28] <Moult> but it's not going away
[09:07:53] *** usse has joined #angularjs
[09:08:03] *** nkn has joined #angularjs
[09:08:23] <thomasfuston> people suck, "the web" is ok ;)
[09:08:24] *** usse has quit IRC
[09:08:26] *** willmarshall has quit IRC
[09:09:06] <Arindam> i just started on docker this week, the world has been more interesting since.
[09:09:31] *** feelfine has joined #angularjs
[09:10:02] *** prikk has joined #angularjs
[09:10:07] <Arindam> is there any channel for angular-kendo?
[09:10:46] *** Yahkob has quit IRC
[09:11:24] *** ko3t has quit IRC
[09:11:41] <sutabi> Not sure, I know some Kendo and Angular though :) havn't used the angular kendo mix though.
[09:11:58] <davek> crocket, pretty much any sector of development governed by standards sucks. Deal with it.
[09:11:59] *** Gambit- has quit IRC
[09:12:17] <Arindam> good, then this will be the channel to post my mundane queries :)
[09:12:58] <davek> Graphics programming, security, let's not even discuss WinAPI/WinRT development.
[09:13:34] *** DrMabuse has joined #angularjs
[09:13:50] <Arindam> so much to learn, so little time
[09:13:52] *** rchavik has quit IRC
[09:13:56] *** slainer68 has quit IRC
[09:14:37] *** oa_ has quit IRC
[09:15:07] *** bkuberek has joined #angularjs
[09:16:16] *** noob4 has joined #angularjs
[09:16:40] *** nemothekid has quit IRC
[09:16:54] *** quantax- has quit IRC
[09:17:45] *** Aswebb has joined #angularjs
[09:18:07] *** ppppaul has joined #angularjs
[09:19:18] *** bkuberek has quit IRC
[09:20:00] *** dutis has joined #angularjs
[09:20:50] *** Asiajey has joined #angularjs
[09:20:50] *** Asiajey has joined #angularjs
[09:20:51] <crocket> davek, standard committees are good at killing softwares.
[09:20:59] *** Asiajey_ has quit IRC
[09:21:21] *** arthas has joined #angularjs
[09:21:21] *** arthas has joined #angularjs
[09:21:22] *** stodan has joined #angularjs
[09:21:39] <crocket> davek, Competitions among protocols are better than standard committees.
[09:21:57] <crocket> TCP vs SCTP, ...
[09:22:32] *** tfennelly has joined #angularjs
[09:22:47] *** RandomStranger has joined #angularjs
[09:23:51] *** foofoobar has joined #angularjs
[09:24:18] *** RandomStranger- has quit IRC
[09:26:01] *** bejames has joined #angularjs
[09:26:03] *** cobakobodob has quit IRC
[09:26:28] *** bengillies has joined #angularjs
[09:26:51] *** Willow_ has joined #angularjs
[09:26:53] *** mooru has quit IRC
[09:28:29] *** anjumkaiser has joined #angularjs
[09:28:35] <zenw0lf> snurfery: u there?
[09:28:37] *** ReactiveIO has joined #angularjs
[09:28:44] *** waylon999 has joined #angularjs
[09:29:01] *** joshbrw has joined #angularjs
[09:29:29] *** mkulke has joined #angularjs
[09:29:50] <zenw0lf> well I finally got it running, had to edit the core-selector.html component and basically do a search & replace (.selected -> .somethingelse)
[09:31:13] *** michaelm has quit IRC
[09:32:04] *** bicranial has quit IRC
[09:32:44] *** ReactiveIO has quit IRC
[09:33:01] *** usse_ has joined #angularjs
[09:33:05] *** waylon999 has quit IRC
[09:33:40] *** Climax777 has joined #angularjs
[09:34:07] *** usse_ has quit IRC
[09:34:23] *** Nijikokun has joined #angularjs
[09:34:24] *** usse has joined #angularjs
[09:34:41] *** usse has quit IRC
[09:35:20] *** xavia has quit IRC
[09:36:36] *** _jpfm has quit IRC
[09:37:05] *** jamesbdev has quit IRC
[09:37:24] *** nfroidure_ has joined #angularjs
[09:38:58] *** jkremser has joined #angularjs
[09:38:58] *** jkremser has joined #angularjs
[09:40:08] *** suzet has joined #angularjs
[09:40:45] *** mooru has joined #angularjs
[09:40:49] *** night-owl-MBP has quit IRC
[09:41:27] *** suzet has left #angularjs
[09:41:36] <miha_> hi guys. I am new to angularjs and would need a little help:) I trying to create menu on left side of page and than on right side I would like to have content which will be dynamicly change after clickingon tab on left side. I created array which has name's of tabs and link's, where tab should point. I did ng-repeat to list all tibe in li. How can i pass value of link to div outside of ng-repeat so that i can do ng-include (new_view)? tnx
[09:41:51] *** DrMabuse has quit IRC
[09:42:28] *** tangorri has joined #angularjs
[09:42:38] *** feelfine has quit IRC
[09:43:37] *** InezK is now known as InezK_away
[09:44:05] *** amedia has joined #angularjs
[09:44:43] *** InezK_away is now known as InezK
[09:44:49] *** dazs has joined #angularjs
[09:45:24] *** klaut has quit IRC
[09:45:57] *** kalusn has joined #angularjs
[09:47:13] *** mehlah has joined #angularjs
[09:47:20] *** sdouglas has joined #angularjs
[09:47:27] *** liri has joined #angularjs
[09:47:44] *** HelperW has joined #angularjs
[09:48:35] *** okdamn has quit IRC
[09:49:33] *** bengillies has quit IRC
[09:49:42] *** Reskp has joined #angularjs
[09:49:55] <ckboii89> is plnkr down?/
[09:49:56] *** fwielstra has joined #angularjs
[09:50:13] *** crooksey has joined #angularjs
[09:50:39] *** kbiela has joined #angularjs
[09:50:45] *** ra2637 has joined #angularjs
[09:51:27] *** dutis has quit IRC
[09:52:15] *** illume has joined #angularjs
[09:52:27] <Climax777> hey all. i've bought a template from wrapbootstrap. works great and all. but it needs a script run at the bottom of the page. inspecting the code i see it adds a window.onChange event to start things up. my question is now, how do i change this to work with client side routes in angular?
[09:52:47] *** sdouglas has quit IRC
[09:52:49] *** ckboii89 has quit IRC
[09:52:50] *** Gooder has quit IRC
[09:53:16] *** ckboii89 has joined #angularjs
[09:53:22]
<crooksey> I have some code which fetches JSON from a server, then loops through it with ng-repeat, this works perfectly, but I want my page to load with no data, then perform http.get for the JSON and update my page, I am struggling to make this work with ng-click, here is my working code, if anyone could offer advice Id be very grateful http://paste.ofcode.org/hDW4tPbx5pTJPtKacCJdNX
[09:53:31] *** cobakobodob has joined #angularjs
[09:53:31] *** sk87 has joined #angularjs
[09:53:51] *** MaxV has joined #angularjs
[09:54:12] *** dutis has joined #angularjs
[09:54:28] *** defaultdict has joined #angularjs
[09:54:56] *** dutis has quit IRC
[09:55:01] *** shonka has quit IRC
[09:55:05] *** anjumkaiser has quit IRC
[09:55:18] *** ckboii89_ has joined #angularjs
[09:55:33] *** dutis has joined #angularjs
[09:55:39] <ansu> ckboii89, "Unable to connect to any application instances." seems it's down
[09:56:12] <ckboii89_> k
[09:56:15] *** danielpquinn has joined #angularjs
[09:56:17] <ckboii89_> thought i was the only one
[09:56:21] *** Reskp has quit IRC
[09:56:47] <ckboii89_> can $timeout be used for calling an api?
[09:56:50] <ckboii89_> well
[09:56:52] *** uf6667 has joined #angularjs
[09:57:02] <ckboii89_> how should i say this
[09:57:26] *** Reskp has joined #angularjs
[09:57:58] *** torred has joined #angularjs
[09:58:20] *** ckboii89 has quit IRC
[09:58:45] *** guilbep has joined #angularjs
[09:58:53] *** zenw0lf has quit IRC
[09:59:04] *** raul782 has left #angularjs
[09:59:06] <ckboii89_> im using a factory that retrieves the backend data and puts it up front onto a grid
[10:00:07] *** gnrlbzik has joined #angularjs
[10:00:09] *** rchavik has joined #angularjs
[10:00:35] *** danielpquinn has quit IRC
[10:00:49] <ckboii89_> when i create a new entry and try to delete it, its gives me a error because im trying to delete an item that has just been pushed, the data technical wasn't retrieved from the back
[10:01:52] *** phuh has quit IRC
[10:02:17] *** phuh has joined #angularjs
[10:03:24] *** roolo has joined #angularjs
[10:03:33] *** Silne30 has joined #angularjs
[10:04:04] *** joshbrw has quit IRC
[10:04:39] *** gnrlbzik has quit IRC
[10:05:11] *** mettjus has joined #angularjs
[10:05:39] *** leftblank has joined #angularjs
[10:06:16] *** jrahmy has quit IRC
[10:07:34] *** bengillies has joined #angularjs
[10:07:53] *** tfennelly has quit IRC
[10:07:56] *** Reskp has quit IRC
[10:08:03] *** Silne30 has quit IRC
[10:09:34] <Aswebb> Good morning everyone
[10:09:43] *** scmx has joined #angularjs
[10:09:55] *** aslate has joined #angularjs
[10:10:06] *** DevAntoine has joined #angularjs
[10:10:14] *** maurovitale has joined #angularjs
[10:11:22] *** hugorodrigues has joined #angularjs
[10:12:05] *** Willow_ has quit IRC
[10:12:12] *** makeable_ has joined #angularjs
[10:12:39] *** Willow_ has joined #angularjs
[10:12:46] *** AlecTaylor has joined #angularjs
[10:12:47] <AlecTaylor> hi
[10:12:49] <AlecTaylor> How do I unroll an object into function arguments? - E.g.: in Python `d = {'foo': 'bar'}; a = ['can', 'haz']; f(*a, **d)`
[10:13:00]
<Aswebb> Using ui-router, is there a way to pass an entire object ? I have an URL like /user/:id (http://example.com/user/123), I can pass an ID
[10:13:18] <AlecTaylor> Aswebb: Sure, use params
[10:13:20] <Aswebb> how about an object ? but keep the URL with the id
[10:13:31] *** Sebastien-L has joined #angularjs
[10:13:40] *** fwielstra has left #angularjs
[10:13:43] <Aswebb> AlecTaylor: yes Im currently using $stateParams
[10:14:32] *** HelperW_ has joined #angularjs
[10:14:54] <Aswebb> I have put my url : /user/:id => $stateParams.id I get the ID passed, do I have to put /user/:userObject here to be able to get it from params?
[10:14:58] *** rhp has quit IRC
[10:15:09] <Aswebb> but my URL will not look like /user/123 anymore?
[10:15:25] *** _tpavel has quit IRC
[10:15:32] <AlecTaylor> Aswebb: There are other ways of sharing data between states which don't require passing through the URI
[10:15:50] *** hugorodrigues has quit IRC
[10:15:54] *** bkuberek has joined #angularjs
[10:15:55] <AlecTaylor> E.g.: cookies, local storage, services, factories
[10:16:41] *** dariocravero has joined #angularjs
[10:16:52] *** Willow_ has quit IRC
[10:16:53] <Aswebb> AlecTaylor: thank u
[10:17:02] *** hychen has joined #angularjs
[10:17:14] <AlecTaylor> np
[10:17:21] *** dve has joined #angularjs
[10:17:31] *** mary5030 has quit IRC
[10:18:00] *** HelperW has quit IRC
[10:18:06] *** mindlace has quit IRC
[10:18:15] *** Cydmax has joined #angularjs
[10:20:23] *** bkuberek has quit IRC
[10:21:05] *** amedia has quit IRC
[10:21:50] <ckboii89_> @alectaylor can timeout be used to call a factory that does a get request?
[10:22:00] *** amedia has joined #angularjs
[10:22:00] <AlecTaylor> Sure
[10:22:11] <ckboii89_> or is better to do a $route.reload
[10:22:24] <AlecTaylor> $timeout is fine
[10:23:34] *** dob_ has joined #angularjs
[10:25:13] *** TorchDragon has joined #angularjs
[10:25:31] *** Dimlock has joined #angularjs
[10:26:16] *** Aswebb has quit IRC
[10:26:37] *** Aswebb has joined #angularjs
[10:26:58] *** tfennelly has joined #angularjs
[10:27:25] *** rbw has joined #angularjs
[10:27:37] *** slainer68 has joined #angularjs
[10:27:46] *** InezK is now known as InezK_away
[10:27:46] *** _tpavel has joined #angularjs
[10:27:47] *** Aswebb has quit IRC
[10:27:48] *** edzez has quit IRC
[10:27:57] *** Aswebb has joined #angularjs
[10:28:38] *** slainer68 has quit IRC
[10:28:43] *** edzez has joined #angularjs
[10:28:44] *** Notte has joined #angularjs
[10:29:19] *** ReactiveIO has joined #angularjs
[10:29:23] *** rchavik has quit IRC
[10:29:35] *** TorchDragon has quit IRC
[10:30:35] *** bejames has quit IRC
[10:31:00] *** e-dard_afk is now known as e-dard
[10:31:16] *** mspier is now known as mspier_off
[10:31:22] *** hartog has joined #angularjs
[10:31:27] *** Sonderblade has joined #angularjs
[10:31:48] *** Sonderblade has quit IRC
[10:32:10] *** Sonderblade has joined #angularjs
[10:33:18] *** rinceRepeat has quit IRC
[10:33:32] *** ReactiveIO has quit IRC
[10:33:43] *** texinwien has joined #angularjs
[10:33:58] *** aslate has quit IRC
[10:34:25] <DevAntoine> omg
[10:34:29] <DevAntoine> plunker is dead
[10:34:39] *** Aartsie has joined #angularjs
[10:34:47] *** bengillies has quit IRC
[10:34:52] *** Aartsie_ has joined #angularjs
[10:35:14] <sutabi> well its giving a response, just a bad one, so its not that dead
[10:35:46] *** Brayniverse has joined #angularjs
[10:35:48] <DevAntoine> dead in the way we can't use it ;)
[10:36:05] *** AlecTaylor has quit IRC
[10:36:36] *** scmx has quit IRC
[10:36:41] *** Reite has joined #angularjs
[10:36:52] *** dob_ has quit IRC
[10:36:52] *** squeakytoy2 has quit IRC
[10:37:12] *** dob_ has joined #angularjs
[10:37:27] *** joshontheweb has joined #angularjs
[10:37:36] *** aslate has joined #angularjs
[10:38:18] *** squeakytoy2 has joined #angularjs
[10:39:38] *** rchavik has joined #angularjs
[10:40:25] *** bengillies has joined #angularjs
[10:40:55] *** AciD`` has joined #angularjs
[10:41:30] <e-dard> can you use functions in angular templates? like {{user.get("age")}} for example?
[10:41:54] *** upsell5 has joined #angularjs
[10:42:17] <DevAntoine> e-dard: yes
[10:42:27] *** DrMabuse has joined #angularjs
[10:42:29] *** Notte has quit IRC
[10:42:37] <AciD`> e-dard > or, leave that to the controller, and use something like {{userInfo.age}}
[10:43:04] <e-dard> DevAntoine: cool :) And what should I read up on if I want to loop through each user in users in a template, but the users is no ready yet (becuase it's from another API call)?
[10:43:20] <e-dard> when I render the template nothing is there - I think because the data is not ready in the controller yet
[10:43:59] <DevAntoine> raaaaaaah
[10:44:05] <DevAntoine> I need plunker :'(
[10:44:10] <DevAntoine> I'm so stuck with my directive
[10:44:31] <DevAntoine> have you ever heard of directives not working when there's other directives on the same element?
[10:44:32] <e-dard> AciD`: is there a best practice?
[10:45:19] <AciD`> e-dard > I'd say a getter is the borderline, but usually you don't want too much intelligence in your view
[10:45:43] <e-dard> AciD`: yeah, that's what I'm used to from other templating languages
[10:46:06] <e-dard> AciD`: do you know how to make the view wait for the controller to finish getting the data?
[10:46:31] <AciD`> e-dard > what do you mean ?
[10:46:50] *** angularjsnewbee has joined #angularjs
[10:46:51] <DevAntoine> e-dard: the vieuw should update by itself
[10:46:55] *** dutis has quit IRC
[10:46:56] <AciD`> the view does not need to 'wait' for the data : it displays it when it gets there
[10:47:00] <e-dard> like I have var myUsers = something.fetch_from_other_service(); in my controller and I want to do <tr data-ng-repeat="user in myUsers"> <td>{{user.name}}</td> </tr>
[10:47:05] *** DrMabuse has quit IRC
[10:47:15] <AciD`> if you don't want to display a part of it until the data is defined, try ng-show
[10:47:18] <e-dard> AciD`: but fetch takes a "success" function.
[10:47:22] *** joe____ has joined #angularjs
[10:47:26] <angularjsnewbee> greetings, are all config parameters on angular.module.config(function(parameters <- injected?
[10:47:27] *** flo__ has joined #angularjs
[10:47:27] *** adibhanna has joined #angularjs
[10:47:29] <e-dard> so I think it's async
[10:47:47] <AciD`> e-dard > ng-show
[10:47:55] <e-dard> AciD`: OK I'll take a look :)
[10:48:22] <joe____> hi If I found a mistake in the api reference . where should i post a update request ?
[10:48:31] <AciD`> DevAntoine > yesterday I saw you talking about translation/i18n stuff. How did you manage that with your angular app ?
[10:48:41] <ckboii89_> how do i properly refresh a page?
[10:48:49] *** _jpfm has joined #angularjs
[10:49:31] *** ineedarobot has joined #angularjs
[10:50:32] *** dariocravero has quit IRC
[10:50:38] <Brayniverse> ckboii89: You could use vanilla JS to reload the page. window.location.reload()
[10:50:48] <joe____> I post it in the issue tracer . But I realized it is not a good place to do that . anyone know ? thanks.
[10:51:01] <ckboii89_> im confused as where to call my $route.reload()
[10:51:20] <ckboii89_> i need to call in my main controller
[10:51:20] *** prikk has quit IRC
[10:51:28] <ckboii89_> but i have no where to call it
[10:51:45] <ckboii89_> i need to call it somehow after my modal form closes
[10:51:47] <DevAntoine> AciD`: do you have any particular question? Because yesterday I was asking i there was a reason the angular-generator adds the ng-app on the body instead of the html tag, which led to the fact that translation in the title tag does not work
[10:52:01] *** tgkokk has quit IRC
[10:52:09] <e-dard> AciD`: I was looking up the wrong object heh.. so just to check.. No matter if async or not, if you set a $scope.variable in your controller at any point, the view will be updated?
[10:52:15] *** azizur has joined #angularjs
[10:52:34] *** Vinnyceptr has joined #angularjs
[10:53:15] *** Willow_ has joined #angularjs
[10:53:17] *** joe____ has quit IRC
[10:53:33] *** dutis has joined #angularjs
[10:53:40] <AciD`> DevAntoine > yes ; what do you use for your translations ? an additionnal library or just angular-locale-xx-xx.js ?
[10:53:59] <AciD`> e-dard > yes
[10:54:06] <e-dard> AciD`: cool thanks!
[10:54:46] <DevAntoine> AciD`: the angular one
[10:55:16] *** Notte has joined #angularjs
[10:55:29] <AciD`> DevAntoine > ok then how do you store (and access) your translated strings ?
[10:55:39] <AciD`> in a big multidimensionnal object ?
[10:56:03] <DevAntoine> AciD`: yep
[10:56:04] *** crocket has left #angularjs
[10:56:08] *** tarnus has joined #angularjs
[10:56:31] <DevAntoine> AciD`: a json file, and then, in the views: {{ 'my.key' | translate }}
[10:56:50] <AciD`> ok
[10:57:02] *** danielpquinn has joined #angularjs
[10:57:21] <AciD`> I've done quite a lot of research to find the best way to use i18n in an angular app, and it seems the use of filters is not the way to go
[10:57:33] <AciD`> since it degrades the performance a lot
[10:57:47] <AciD`> (they are all updated on each watch)
[10:57:56] *** motionman has quit IRC
[10:57:58] *** InezK_away is now known as InezK
[10:58:28] *** mdedetrich has quit IRC
[10:59:05] *** zemanel has joined #angularjs
[10:59:19] *** slainer68 has joined #angularjs
[10:59:51] <AciD`> I still need to implement this though :)
[10:59:58] *** loop has joined #angularjs
[11:00:04] *** Norno has joined #angularjs
[11:00:05] *** Trow1 has quit IRC
[11:00:07] <Norno> What's up with plnkr?
[11:00:38] *** tarnus has quit IRC
[11:00:57] *** gnrlbzik has joined #angularjs
[11:01:21] *** DevAntoine has quit IRC
[11:01:53] *** danielpquinn has quit IRC
[11:01:53] *** phuh has quit IRC
[11:02:04] *** Aartsie_ has quit IRC
[11:02:17] *** phuh has joined #angularjs
[11:02:19] *** DevAntoine has joined #angularjs
[11:03:36] <DevAntoine> so, no one has ever heard of directives not working when there's other directives on the same element?
[11:03:38] *** Hounddog has joined #angularjs
[11:03:43] <crooksey> Can I have two script blocks on a page, one containing javascript, one with angular?
[11:04:13] <Norno> yes
[11:04:21] <Norno> angular is javascript too
[11:04:25] *** illume has quit IRC
[11:04:26] *** hugofirth has joined #angularjs
[11:04:33] <crooksey> Yea of course
[11:04:36] *** illume has joined #angularjs
[11:04:36] <crooksey> Just wanted to check
[11:05:01] <loop> I'm looking for some insight regarding admin dashboards. Is it ok to have them in the same angular project or should it be broken into 2 projects? I'm asking this because I'm assuming the routes would look a bit ...confusing. Thanks!
[11:05:18] *** gnrlbzik has quit IRC
[11:05:22] *** mykz_ has quit IRC
[11:05:24] *** Foxandxss has joined #angularjs
[11:05:25] *** Obversity_ has joined #angularjs
[11:05:48] <Norno> you shouldnt use script blocks though, just put it in files instead :)
[11:05:59] *** Obversity has quit IRC
[11:06:03] *** mehlah has quit IRC
[11:06:13] *** Successful has joined #angularjs
[11:07:32] *** anjumkaiser has joined #angularjs
[11:07:45] *** InezK is now known as InezK_away
[11:09:35] *** azizur has quit IRC
[11:10:22] *** DrMabuse has joined #angularjs
[11:12:54] <Petazz> How to make post() send actual post data and not json?
[11:13:19] *** mykz_ has joined #angularjs
[11:13:39] *** Diwan has joined #angularjs
[11:13:43] *** bweston has joined #angularjs
[11:14:34] <Diwan> i have some doubt
[11:14:51] <Diwan> about angular +jquery UI multiselect
[11:15:10] <Diwan> can anyone clarify me
[11:15:13] *** Left_Turn has joined #angularjs
[11:15:57] *** Diwan has quit IRC
[11:16:38] <Zerot> Petazz: add(or remove) the transformer on $http
[11:16:58] <Petazz> Zerot: hmm how exactly?
[11:17:01] *** night-owl-MBP has joined #angularjs
[11:17:02] *** mettjus has quit IRC
[11:17:10] *** night-owl-MBP is now known as night-owl2
[11:18:25] *** bkuberek_ has joined #angularjs
[11:18:54] *** squeakytoy2 has quit IRC
[11:19:17] *** mehlah has joined #angularjs
[11:19:22] *** hannesvdvreken has quit IRC
[11:19:34] *** hannesvdvreken has joined #angularjs
[11:19:48] <Zerot> Petazz: if you want to send it as form-encoded, then you will have to make your own transformer and either replace the existing one, or unshift it into the array so it is executed first
[11:20:02] *** Simone\_ has joined #angularjs
[11:20:59]
<DevAntoine> does someone know why this directive : http://pastebin.com/k9BamDpP is not working when there's another directive on the element?
[11:21:37] *** ckboii89_ has quit IRC
[11:21:44] *** syed99 has joined #angularjs
[11:21:44] *** Simone\_ has quit IRC
[11:21:46] *** mennea has quit IRC
[11:22:05] *** Simone\ has quit IRC
[11:22:05] <syed99> hi, could any body please check my plunk
[11:22:22] *** HeyProtractor has joined #angularjs
[11:22:23] *** mettjus has joined #angularjs
[11:22:23] <HeyProtractor> Hi guys
[11:22:46] *** Norno has quit IRC
[11:22:46] <HeyProtractor> Hi Guys
[11:22:47] *** ceephax has joined #angularjs
[11:22:51] *** bkuberek_ has quit IRC
[11:23:15] <DevAntoine> syed99: plunker is down
[11:23:40] <HeyProtractor> yeah
[11:24:24] *** bigblind has joined #angularjs
[11:25:00] *** Simone\ has joined #angularjs
[11:25:04] *** Joulse has joined #angularjs
[11:25:15] <syed99> ohh..i see
[11:26:22] <bigblind> Hi
[11:26:34] *** fire_ has joined #angularjs
[11:26:40] <bigblind> I have a weird directive matching issue.
[11:26:41] <fire_> hi everyone!
[11:26:45] <fire_> I need some help...
[11:26:56] *** klaut has joined #angularjs
[11:26:57] <fire_> I have put a directive inside another directive's template
[11:27:11] *** squeakytoy2 has joined #angularjs
[11:27:14] <fire_> i have put directive_inner into directive_outer's template
[11:27:14] <bigblind> that should work, if I'm not mistaking
[11:27:31] *** ckboii89 has joined #angularjs
[11:27:52] *** azizur has joined #angularjs
[11:27:52] <fire_> but when directive_inner changes the value of "editMode" which is a scope variable in my main controller, the value is no longer sent ...
[11:27:58] *** crooksey has left #angularjs
[11:28:07] *** klaut has quit IRC
[11:28:12] <fire_> directive_outer is in the main controllers template...
[11:28:23] *** klaut has joined #angularjs
[11:28:30] <Zerot> fire_: plunker or pastebin your code
[11:28:38] <bigblind> does directive_inner create its own scope?
[11:28:40] <HeyProtractor> Hi Guys a Cuestion about protractor, i have a login web page in my route it´s '/', if me try to go to other route and me not log in, the route it´s invalid, but when go to do E2E with protractor the test when go to another to route fail what i can to do, Thanks
[11:28:50] <fire_> it didnt, but I am trying that now...
[11:28:55]
<e-dard> Hi, I would like to add this http://paste.ubuntu.com/7813490/ and the appropriate ng-class to my index.html (where menu is). Not sure which controller to add the code to?
[11:28:57] <e-dard> app.js?
[11:29:11] *** iksik has quit IRC
[11:29:23] *** waylon999 has joined #angularjs
[11:29:37] *** ckboii89 has quit IRC
[11:29:38] <Zerot> e-dard: app.js is a filename, not a controller
[11:29:46] <fire_> I thought if I was to created an isolated scope in directive_inner, I could simply pass the <dir_inner editMode="editMode"></dir_inner> but this doesnt seam to work - raises an error
[11:29:59] <e-dard> Zerot: yeah just realised that :-P not sure which controller gets used for index.html ?
[11:30:05] <Zerot> e-dard: you should put that code in the controller that is a controller for that part of the html
[11:30:09] *** iksik has joined #angularjs
[11:30:09] *** ReactiveIO has joined #angularjs
[11:30:25] <e-dard> Zerot: yeah but which is that, for index.html?
[11:30:26] <Zerot> e-dard: if you don't use ng-controller or a routing system, then no controllers are used
[11:30:26] *** flo__ has quit IRC
[11:30:34] <Zerot> there is no controller for index.html
[11:30:42] *** sk87 has quit IRC
[11:30:57] *** hannesvdvreken has quit IRC
[11:30:58] <HeyProtractor> someboyd help me please
[11:31:04] *** flo_22 has joined #angularjs
[11:31:16] <Zerot> HeyProtractor: sorry, I don't have a lot of experience with protractor
[11:31:21] <e-dard> Zerot: so how does index.html get access to $scope?
[11:31:28] <Zerot> it doesn't?
[11:31:41] <Zerot> as I said, unless you have a ng-controller in there
[11:31:50] <HeyProtractor> somebody know protractor ?
[11:31:59] <Zerot> or use a routing system like ngRoute then there are no controlers in use
[11:32:05] <HeyProtractor> test E2E
[11:32:07] *** hannesvdvreken has joined #angularjs
[11:32:08] <Zerot> (well, you can have directive controllers)
[11:32:29] *** iksik has quit IRC
[11:32:29] <HeyProtractor> Thanks Zerot
[11:32:32] <e-dard> that's what I have Zerot
[11:32:57] <e-dard> Zerot: each of the views there always uses the index.html and then injects its view in
[11:33:01] *** mtsr has quit IRC
[11:33:03] <Zerot> yes
[11:33:08] *** iksik has joined #angularjs
[11:33:12] <Zerot> and the controller defined is only valid in the ng-view
[11:33:16] <e-dard> Zerot: so do I need to repeat the active-checking-code in each controller?
[11:33:20] *** sneakertack has quit IRC
[11:33:24] *** mtsr has joined #angularjs
[11:33:30] <Zerot> if you want to do it outside of the ng-view, you need to use ng-controller
[11:33:35] <bigblind> When angularjs matches attributes for directives, does it consider multiple underscores?
[11:33:43] *** vader has joined #angularjs
[11:33:52] <bigblind> I've made a directive called bbRepeatInside,
[11:33:59] <bigblind> but bb-repeat-inside isn't matching it.
[11:34:11] *** waylon999 has quit IRC
[11:34:14] *** aslate has quit IRC
[11:34:20] *** ReactiveIO has quit IRC
[11:34:29] *** mercwithamouth has joined #angularjs
[11:34:39] <Zerot> bigblind: hmm. that should match
[11:34:45] <e-dard> Zerot: is there not a common idiom for what I'm trying to do, which is to make a link class="active" when on that route/view
[11:35:00] *** marr has joined #angularjs
[11:35:00] *** Notte has quit IRC
[11:35:19] <Zerot> e-dard: a common solution is to have an outer controller which determines that
[11:35:26] <bigblind> Zerot:there's nothing in the console, is there a way to debug this?
[11:35:32] <e-dard> Zerot: OK cool
[11:35:37] <e-dard> I'll do that then :)
[11:35:47] *** aslate has joined #angularjs
[11:36:04] <bigblind> Zerote: The directtive itself works
[11:36:08] <e-dard> Zerot: and I guess I just use ng-controller in my menu div?
[11:36:15] <Zerot> e-dard: yes
[11:36:27] <Zerot> bigblind: how do you know?
[11:36:43] *** lordkryss has joined #angularjs
[11:37:17] <bigblind> Zerot: because it used to not be prefixed
[11:37:45] <Zerot> bigblind: are you sure you didn't typo the directive name?
[11:38:32] <bigblind> Zerot: now making a 'prefix' branch, to show you the code that's not working.
[11:38:42] *** alex88 has joined #angularjs
[11:38:48] <Zerot> ok
[11:39:47] *** mercwithamouth has quit IRC
[11:40:22] <alex88> hi guys, I've imported a module from another project, is it possible to use its provider from my website module? since I'm trying to inject it but I get an undefined object
[11:40:54] *** jstroem has quit IRC
[11:42:10] <angularjsnewbee> hey i defined a controller and a constant with app.constant("key",value"); app.controller("mycontroller",function($scope,log){};}); now I want to inject the contant, I did this app.controller("mycontroller",function($scope,log,["key"]){};});
[11:42:22] <Zerot> alex88: you have added it to the module dependencies?
[11:42:26] <angularjsnewbee> but with ["key"] i get a js error
[11:42:30] *** gauravsaini03 has quit IRC
[11:42:31] <alex88> Zerot: yup!
[11:42:38] *** drej has quit IRC
[11:42:42] <alex88> oh, my fault, sorry, seems they changed the function name :S
[11:42:52] <alex88> thanks anyway
[11:43:02] <Zerot> e-dard: sure. that will work
[11:44:20] <angularjsnewbee> is my way to inject a constant correct?
[11:44:45] <Zerot> angularjsnewbee: no
[11:44:48] *** fwielstra has joined #angularjs
[11:44:54]
<e-dard> Zerot: hmmm, I use this in index.html http://paste.ubuntu.com/7813552/ when I click on home button I see "hello" in the console, but not when click on "accounts" button
[11:44:58] <Zerot> angularjsnewbee: just do key as a parameter
[11:45:30] <angularjsnewbee> thanks Zerot
[11:45:48] *** loop has quit IRC
[11:46:08]
<DevAntoine> does someone know why this directive : http://pastebin.com/k9BamDpP is not working when there's another directive on the element?
[11:46:47] <e-dard> Zerot: oh ignore me :-p the isActive function is not getting called for some reason
[11:47:37] *** tgkokk has joined #angularjs
[11:48:07] <e-dard> Zerot: I got it working :D Thanks
[11:48:11] *** mennea has joined #angularjs
[11:48:14] <Zerot> bigblind: hmm. it looks correct
[11:50:02] *** sk87 has joined #angularjs
[11:51:58] *** FuCone has joined #angularjs
[11:53:08] *** FuCone has quit IRC
[11:54:29] <Zerot> bigblind: on a side-note: don't do "bigblind = window.bigblind || angular.module("bigblind",[]);". either do "angular.module("bigblind",[]);" and then instead of bigblind.directive do "angular.module(bigblind).directive"
[11:54:35] *** uf6667 has quit IRC
[11:54:48] <Zerot> or wrap it all in a function to which you supply the module as a parameter
[11:55:35] <Zerot> bigblind: you haven't added the example code that contains "myapp". You did define bigblind as a dependency for that, right?
[11:57:26] *** waylon999 has joined #angularjs
[11:57:47] *** danielpquinn has joined #angularjs
[11:58:39] *** ronnie has joined #angularjs
[11:58:49] *** InezK_away is now known as InezK
[11:58:55] <ronnie> I'm developing a web app (using cordova/angularJS) where my HTML/JS/CSS are all installed in the phone) and data is requested from the webserver. The app also has a web version running on another domain as the content webserver. Whats currently the best way to do cross origin requests. I started with CORS (client and server sided), but ran into cookie authentication and alternative headers problems in IE.
[11:58:57] <Zerot> bigblind: ah. missed that
[11:59:04] <ronnie> Also i need to see if the request has failed because the server is not responding, or responds with 500 or 403 error codes. CORS now only gives me error code 0. Now i'm trying to use JSONP, but also here i cant see the 500/403 status codes
[11:59:21] <ronnie> Installing a proxy won't help because the protocol is file:/// (or other formats on IOS and Windows phone). I'm thinking about server i part of the javascript (HTTP Gateway js) trought the content webserver, but before i try this, i like to know the adventages and disaventages of this change. Where would i run into trouble. I'm also open to new ideas
[11:59:36] *** hugorodrigues has joined #angularjs
[12:00:03] <fire_> hi everyone
[12:00:22] <fire_> i am trying to get an inner_directive access an outer_directives controller scope
[12:00:27] *** ckboii89 has joined #angularjs
[12:00:36] <fire_> can anyone help?
[12:00:42] *** ceephax has quit IRC
[12:00:47] *** BMCouto has joined #angularjs
[12:01:44] *** gnrlbzik has joined #angularjs
[12:02:23] *** waylon999 has quit IRC
[12:02:31] *** danielpquinn has quit IRC
[12:02:56] *** danielpquinn has joined #angularjs
[12:03:20] *** bweston has quit IRC
[12:03:34] *** Willow_ has quit IRC
[12:03:53] *** mykz_ has quit IRC
[12:03:58] *** hugorodrigues has quit IRC
[12:04:01] *** Willow_ has joined #angularjs
[12:04:47] *** dutis has quit IRC
[12:04:48] *** ckboii89 has quit IRC
[12:05:06] *** anjumkaiser has quit IRC
[12:05:16] *** joshontheweb has quit IRC
[12:05:27] *** anjumkaiser has joined #angularjs
[12:06:05] *** gnrlbzik has quit IRC
[12:06:35] *** azizur has quit IRC
[12:07:22] <Climax777> can one use angular-ui bootstrap along with the original bootstrap js? if so, is there some form of precedence?
[12:07:30] *** danielpquinn has quit IRC
[12:07:46] *** azizur has joined #angularjs
[12:07:50] *** DevAntoine has quit IRC
[12:08:09] <Zerot> Climax777: why would you want to do that? I would not advice it, seeing that they both will try to do the same things
[12:08:41] <Climax777> Zerot: my question would then be, is angular ui bootstrap 100% drop-in replacement?
[12:08:59] *** Willow_ has quit IRC
[12:09:02] *** dutis has joined #angularjs
[12:09:05] *** Asiajey has quit IRC
[12:09:36] <Climax777> Zerot: I would prefer only the angular one, I just don't want to get cozy with it, then later on require some bootstrap plugin that needs actual bootstrap
[12:10:20] *** fwielstra has quit IRC
[12:10:34] *** lite_ has quit IRC
[12:10:38] *** ngbot has joined #angularjs
[12:10:38]
<ngbot> [angular.js] petebacondarwin pushed 3 new commits to master: http://git.io/XPqleA
[12:10:38] <ngbot> angular.js/master 222edd8 Nick Van Dyck: docs(guide/module) fixed global controller in example...
[12:10:39] <ngbot> angular.js/master 9987a60 Peter Bacon Darwin: style(guide/module): use dot first style when chaining
[12:10:39] <ngbot> angular.js/master 81d9193 Peter Bacon Darwin: docs(guide/module): add protractor tests
[12:10:39] *** ngbot has left #angularjs
[12:10:42] *** InezK is now known as InezK_away
[12:10:45] *** tgkokk has quit IRC
[12:10:54] *** upsell5 has quit IRC
[12:11:16] <Zerot> Climax777: it is not a drop-in replacement afaik
[12:11:25] *** Ankhular has quit IRC
[12:11:37] <Zerot> also look at angularstrap. that one might be
[12:11:56] <Climax777> thanks Zerot
[12:11:57] <Zerot> but you will run into troubles if you try to use normal bootstrap in angular
[12:12:19] <Zerot> which you can solve of course, but then you will end up with something similar to angularstrap
[12:12:30] <Climax777> I'm using a template from wrapbootstrap, but it relies heavily on bootstrap plugins
[12:12:43] <Climax777> so I should probably use the original then
[12:12:43] *** Simone\ has quit IRC
[12:12:44] *** FuCone has joined #angularjs
[12:12:45] *** bigblind has quit IRC
[12:12:47] <Zerot> I don't know if bootstrap plugins will work correctly
[12:12:54] *** Simone\ has joined #angularjs
[12:13:50] <Zerot> Climax777: if you don't mind getting a lot of headaches to fix every break caused by bootstrap doing something outside of angular, sure. go for it
[12:14:57] *** azizur5 has joined #angularjs
[12:14:58] *** Simone\ has quit IRC
[12:15:35] *** azizur has quit IRC
[12:16:03] *** wilmoore has quit IRC
[12:17:53] *** Simone\ has joined #angularjs
[12:18:01] *** DrMabuse has quit IRC
[12:18:57] *** user4 has quit IRC
[12:19:07] *** bkuberek has joined #angularjs
[12:23:22] *** lite_ has joined #angularjs
[12:23:28] *** squeakytoy2 has quit IRC
[12:23:59] *** bkuberek has quit IRC
[12:24:42] *** squeakytoy2 has joined #angularjs
[12:25:00] *** Aartsie has quit IRC
[12:25:10] *** Notte has joined #angularjs
[12:25:32] *** Aartsie has joined #angularjs
[12:25:35] *** ngbot has joined #angularjs
[12:25:35]
<ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/NCSgJA
[12:25:35] <ngbot> angular.js/master 4f32e3e Peter Bacon Darwin: fix(ngSwitch): use the correct transclusion scope...
[12:25:35] <ngbot> angular.js/master c20d438 Peter Bacon Darwin: fix(ngSwitch): interoperate with multi-element transclude directives...
[12:25:35] *** ngbot has left #angularjs
[12:25:40] *** DrMabuse has joined #angularjs
[12:25:50] *** Joulse has quit IRC
[12:27:31] *** uf6667 has joined #angularjs
[12:27:32] *** sdouglas has joined #angularjs
[12:29:44] *** Aartsie has quit IRC
[12:31:11] *** ReactiveIO has joined #angularjs
[12:31:29] *** Aartsie has joined #angularjs
[12:31:30] *** tgkokk has joined #angularjs
[12:32:15] *** sdouglas has quit IRC
[12:32:31] *** Vinnyceptr has quit IRC
[12:33:02] *** Willow_ has joined #angularjs
[12:35:08] *** ReactiveIO has quit IRC
[12:35:12] *** fwielstra has joined #angularjs
[12:35:47] *** dazs has quit IRC
[12:35:47] *** encrypt3d_fracti has joined #angularjs
[12:36:13] *** tarkus has joined #angularjs
[12:38:45] *** slainer68 has quit IRC
[12:40:03] *** defaultdict has quit IRC
[12:40:10] *** defaultdict has joined #angularjs
[12:40:29] *** fbenoit has quit IRC
[12:40:35] *** encrypt3d_fracti has quit IRC
[12:42:54] *** makeable_ has quit IRC
[12:43:07] *** MyIRCNick has joined #angularjs
[12:43:15] *** naneau has joined #angularjs
[12:44:41] *** MyIRCNick has quit IRC
[12:44:47] *** mykz_ has joined #angularjs
[12:44:58] *** GianArb has joined #angularjs
[12:45:23] *** the_fog has joined #angularjs
[12:45:40] *** thebigredgeek has joined #angularjs
[12:46:05] *** avens has joined #angularjs
[12:48:03] *** bigblind has joined #angularjs
[12:48:25] *** greatdex has quit IRC
[12:48:25] *** e-dard is now known as e-dard_afk
[12:48:32] *** bullicon has joined #angularjs
[12:48:38] *** makeable_ has joined #angularjs
[12:49:44] *** lite_ has quit IRC
[12:49:54] *** Aswebb has quit IRC
[12:50:05] *** leftblank has quit IRC
[12:50:57] *** Norno has joined #angularjs
[12:51:04] *** Trow1 has joined #angularjs
[12:52:08] *** herenow has quit IRC
[12:52:38] *** herenow has joined #angularjs
[12:53:45] *** amedia has quit IRC
[12:55:50] *** lite_ has joined #angularjs
[12:57:02] *** aslate has quit IRC
[12:57:09] *** tarnus has joined #angularjs
[12:58:43] <syed99> the datepicker is opened in each row, not only at selected row
[12:59:12] *** mattwynne has quit IRC
[12:59:25] <syed99> i need to open date picker only at selected cell
[13:00:49] *** ckboii89 has joined #angularjs
[13:00:53] *** mercwithamouth has joined #angularjs
[13:01:30] *** tarnus has quit IRC
[13:01:42] *** InezK_away is now known as InezK
[13:02:09] *** figs has joined #angularjs
[13:02:28] *** gnrlbzik has joined #angularjs
[13:03:02] <figs> Hi all, I'm using a currency filter in my view, but the currency HTML is not being rendered as a character, but as the HTML entity string. How can I avoid this?. {{getTotals().totalItemPrice | currency:getSelectedCurrency().html}}
[13:03:07] *** anjumkaiser1 has joined #angularjs
[13:03:19] *** lordkryss has quit IRC
[13:03:32] *** anjumkaiser has quit IRC
[13:03:47] *** danielpquinn has joined #angularjs
[13:04:07] *** Willow_ has quit IRC
[13:04:17] *** lite_ has quit IRC
[13:04:28] <figs> getSelectedCurrency().html would be something like £
[13:04:44] *** Willow_ has joined #angularjs
[13:04:44] *** ckboii89 has quit IRC
[13:04:47] *** mattwynne has joined #angularjs
[13:05:02] *** Aswebb has joined #angularjs
[13:05:09] *** tgkokk has quit IRC
[13:05:26] *** makeable_ has quit IRC
[13:05:41] *** sk87 has quit IRC
[13:06:23] *** dob_ has quit IRC
[13:06:39] *** dob_ has joined #angularjs
[13:06:52] *** gnrlbzik has quit IRC
[13:07:20] *** AlecTaylor has joined #angularjs
[13:07:48] *** Notte has quit IRC
[13:08:09] *** maurovitale has quit IRC
[13:08:11] *** danielpquinn has quit IRC
[13:08:13] *** teeray has joined #angularjs
[13:08:42] *** maurovitale has joined #angularjs
[13:09:19] *** Norno has quit IRC
[13:09:23] <mguillech> figs: there are many ways to approach that. You could set the innerHTML property of a div/span to the value returned from your filter
[13:09:35] *** Willow_ has quit IRC
[13:09:50] <mguillech> figs: or see what other properties does getSelectedCurrency() expose
[13:10:27] *** himanshu has joined #angularjs
[13:10:28] *** TheAceOfHearts has joined #angularjs
[13:10:56] <himanshu> hello
[13:11:28] *** InezK is now known as InezK_away
[13:11:52] <himanshu> i am new to this AngularJS so anyone here can tell me how to do integrate in develop apps ?
[13:12:13] *** Sebastien-L has quit IRC
[13:12:29] <figs> mguillech, would you mind elaborating on your first idea please?
[13:12:49] *** iksik has quit IRC
[13:13:04] *** maurovitale has quit IRC
[13:13:48] *** e-dard_afk is now known as e-dard
[13:14:00] *** leftblank has joined #angularjs
[13:14:10] *** sigurding has quit IRC
[13:14:32] *** ededagic has joined #angularjs
[13:14:48] <AlecTaylor> That's weird: `Error: $http(...).success(...).failure is not a function`
[13:15:05] *** anil has joined #angularjs
[13:15:13] *** flocca has joined #angularjs
[13:15:41] <anil> Can i inject $location , $http in angular service?
[13:15:53] <anil> or i need to make a angular Factory
[13:16:32] <anil> I am bit new to angularJS
[13:16:35] <bd> isn't it .error instead of .failure?
[13:17:06] *** asdofindia has quit IRC
[13:17:13] *** katsh has quit IRC
[13:17:38] *** wdgreg has joined #angularjs
[13:17:52] <brick__> think it should be .error yeah
[13:17:57] <figs> mguillech, here's the html I currently have: <li> <label>Items:</label> {{getTotals().totalItemPrice | currency:getSelectedCurrency().html}} </li>
[13:18:22] <angularjsnewbee> He wrote somethign like $http({ method : 'POST', url : 'process.php', data : $.param($scope.formData), headers : { 'Content-Type': 'application/x-www-form-urlencoded' } })
[13:18:35] <angularjsnewbee> but i get an exception on line $.param($scope.formData)
[13:18:56] <angularjsnewbee> can it be that the token $. is wrong?
[13:18:59] *** DrMabuse has quit IRC
[13:19:13] <angularjsnewbee> it says $ is not defined
[13:19:14] <anil> @all any response
[13:19:47] *** uf6667 has quit IRC
[13:19:53] <Grokling__> anil: yes, you can.
[13:19:54] *** bkuberek has joined #angularjs
[13:20:31] *** lando has joined #angularjs
[13:20:58] <anil> @Grokling_ i have created below service angular.module('moneyAngularApp') .service('Analyticshelper', function Analyticshelper(Global,$location) {
[13:21:21] <anil> is this the right way of doing it?
[13:23:06] <Grokling__> anil: looks good so far.
[13:23:18] *** slainer68 has joined #angularjs
[13:23:59] *** hugofirth has quit IRC
[13:24:27] *** bkuberek has quit IRC
[13:24:41] *** hugofirth has joined #angularjs
[13:24:52] *** FunnyLookinHat has joined #angularjs
[13:25:12] *** Drako_ has joined #angularjs
[13:25:26] *** romascudeto has quit IRC
[13:25:44] <Grokling__> anil: Actually, not quite. Try this way: service angular.module('moneyAngularApp') .service('Analyticshelper', function(Global,$location) { this.something = function(var1, var2){.....}}
[13:27:34] <Grokling__> angular.module('moneyAngularApp') .service('Analyticshelper', function(Global,$location) { this.Analyticshelper = function(){.....}}
[13:28:12] *** Trow1 has quit IRC
[13:28:40] *** Trow1 has joined #angularjs
[13:29:17] *** jpstone has quit IRC
[13:29:22] <e-dard> what's the advantage of using ng-controller versus just attaching state to the $scope object?
[13:29:45] *** mykz_ has quit IRC
[13:29:54] <e-dard> What I mean is… i have a view where I can access variables under $scope easily, but I haven't done ng-controller="FooController" in the parent div. Does that matter?
[13:30:42] *** squeakytoy2 has quit IRC
[13:31:44] <figs> I'm no expert, but using smaller controllers makes code more manageable and easier to maintain. If all of your vars are on one scope, there's potential for different parts of your app to have conflicts or to set things they shouldn't
[13:31:50] *** zwacky has joined #angularjs
[13:31:55] *** squeakytoy2 has joined #angularjs
[13:34:08] *** thebigredgeek has quit IRC
[13:34:23] *** mettjus has quit IRC
[13:34:39] *** gjvc has quit IRC
[13:34:50] *** bigblind has quit IRC
[13:36:34] *** joshontheweb has joined #angularjs
[13:36:43] *** hugorodrigues has joined #angularjs
[13:36:53] *** OnkelTem has quit IRC
[13:37:25] *** bmcgee has joined #angularjs
[13:38:24] *** OnkelTem has joined #angularjs
[13:39:38] *** disorder20 has joined #angularjs
[13:39:48] *** incon has joined #angularjs
[13:39:51] <e-dard> figs: so $scope is global across all controllers?
[13:40:02] *** incon has left #angularjs
[13:41:33] *** meinside has quit IRC
[13:42:12] *** one_zero has quit IRC
[13:42:25] *** figs has quit IRC
[13:44:31] *** vbabiy has joined #angularjs
[13:44:42] *** Trow1 has quit IRC
[13:44:52] <Zerot> e-dard: no
[13:45:16] <e-dard> Zerot: I'm still confused about when I need to do ng-controller="MyController" in my views :-?
[13:45:36] <Zerot> in general? you don't
[13:45:44] <e-dard> Zerot: ok, cool :D
[13:45:46] <Zerot> because you specify the controller in the route definition
[13:46:04] <e-dard> Zerot: yeah. Like, I get why I needed to do it for my menu (because there is no route for it)
[13:46:05] *** mykz_ has joined #angularjs
[13:46:24] <Zerot> you could use ng-controller to split up the controller logic if it is a lot
[13:46:46] <Zerot> but at that point you might either consider using more routes, or making a directive for it
[13:46:52] *** frkout has quit IRC
[13:47:04] <Zerot> and regarding the scopes, the scope hierarchy is a tree
[13:47:20] <Zerot> the child scopes inherit from the parent scope
[13:47:37] <Zerot> using ng-controller will create a new scope in the parent scope
[13:47:47] <Zerot> (or in the case of no scope yet, in the rootScope)
[13:48:00] <e-dard> OK, makese sense :)
[13:48:01] *** the-erm has quit IRC
[13:48:03] *** AlSquire has joined #angularjs
[13:48:39] <Zerot> so the scope is not global across controllers, but every controller has its own scope that inherits from the parent
[13:48:55] *** the-erm has joined #angularjs
[13:48:58] <Zerot> so they can access stuff on the parent, but if they set something it will be on their own scope
[13:49:17] *** hswolff has joined #angularjs
[13:49:23] <Zerot> this allows you to reuse the same controller on multiple places in the same page/view without them interfering with eachother
[13:49:58] *** sigurding has joined #angularjs
[13:51:29] *** KamalKaur has joined #angularjs
[13:51:50] *** nodeman has joined #angularjs
[13:52:02] *** Arindam has quit IRC
[13:52:16]
<angularjsnewbee> I get alwys on my processForm function TypeError: undefined is not a function at Scope.$scope.processForm http://jsfiddle.net/3Q9HJ/ has anyone an idea?
[13:53:24] *** mchammer has quit IRC
[13:53:25] *** hychen has quit IRC
[13:53:38] *** Suresh has joined #angularjs
[13:53:44] *** Suresh has left #angularjs
[13:54:16] <angularjsnewbee> ok http is undefinied
[13:54:17] *** mchammer has joined #angularjs
[13:54:57] <angularjsnewbee> I set on my controller ($scope, $http,log, webapi) ... but my function $scope.processForm = function ($http) <- http is still undefinied ...
[13:56:16] *** iksik has joined #angularjs
[13:56:29] *** _jpfm has quit IRC
[13:56:31] *** teeray has quit IRC
[13:57:06] *** Aartsie has quit IRC
[13:57:09] *** msafi has joined #angularjs
[13:57:14] <Zerot> angularjsnewbee: you don't inject on scope functions
[13:57:17] *** greatdex has joined #angularjs
[13:57:19] *** tgkokk has joined #angularjs
[13:57:21] <msafi> Anyone know a good module for Google OAuth?
[13:57:34] <Zerot> $http is already known because of the outer scope(your controller function)
[13:57:44] <Climax777> msafi: for client side?
[13:57:58] <msafi> Climax777: yes, for Angular specifically
[13:58:02] <bd> i use angular.directive.g-signin
[13:58:10] <bd> from bower
[13:58:13] *** amedia has joined #angularjs
[13:58:17] *** tgkokk has quit IRC
[13:58:30] *** wiherek has joined #angularjs
[13:58:30] <angularjsnewbee> ok i only have to set $http on the controller constructor
[13:58:30] *** m1hael has quit IRC
[13:58:33] *** azizur5 has quit IRC
[13:58:44] <angularjsnewbee> the $scope.rpocessForm doesnt need the http object anymore
[13:58:58] *** tgkokk has joined #angularjs
[13:59:12] <msafi> bd: cool. thanks!
[13:59:52] <wiherek> hi. i want to change the url path but not the location.
[14:00:07] <wiherek> how can I achieve that?
[14:00:57] <wiherek> or actually I don't want to reload the controller.
[14:01:05] *** Sgeo has quit IRC
[14:01:17] *** lite_ has joined #angularjs
[14:01:32] *** ckboii89 has joined #angularjs
[14:01:53] *** phuh has quit IRC
[14:01:59] *** ededagic has quit IRC
[14:02:13] *** mooru has quit IRC
[14:02:19] *** phuh has joined #angularjs
[14:02:28] *** InezK_away is now known as InezK
[14:02:36] *** FunnyLookinHat has quit IRC
[14:02:38] *** Grokling__ has quit IRC
[14:04:24] *** ccohn has joined #angularjs
[14:04:28] *** danielpquinn has joined #angularjs
[14:05:56] *** ckboii89 has quit IRC
[14:07:18] *** Aartsie has joined #angularjs
[14:08:02] *** aslate has joined #angularjs
[14:08:09] *** dex has joined #angularjs
[14:08:26] *** lordkryss has joined #angularjs
[14:08:32] *** dex is now known as Guest61605
[14:08:50] *** DevAntoine has joined #angularjs
[14:08:51] *** danielpquinn has quit IRC
[14:09:14] *** Evanion has joined #angularjs
[14:09:43] *** rajas7 has quit IRC
[14:10:05] *** amedia has quit IRC
[14:11:20] *** fedenunez has joined #angularjs
[14:11:38] *** greatdex has quit IRC
[14:12:07] *** InezK is now known as InezK_away
[14:12:16] *** Moon has joined #angularjs
[14:12:39] *** Moon is now known as Guest4214
[14:12:51] *** aslate has quit IRC
[14:13:26] *** HelperW_ has quit IRC
[14:13:38] *** fbenoit has joined #angularjs
[14:13:50] *** JasonStoltz has joined #angularjs
[14:14:23] *** mercwithamouth has quit IRC
[14:14:30] *** ss_ has joined #angularjs
[14:14:36] <ss_> hi
[14:14:39] *** Sebastien-L has joined #angularjs
[14:14:51] *** ss_ has quit IRC
[14:15:02] *** vader has quit IRC
[14:15:32] <AlecTaylor> Hmm, thanks brick__, bd; think that's right
[14:15:48] *** SidFerreira has joined #angularjs
[14:15:58] <SidFerreira> Hi!
[14:16:10] *** hugorodrigues has quit IRC
[14:16:25] <SidFerreira> Is there a CMS made in angular? I will use Parse.com as backend
[14:16:44] *** hugorodrigues has joined #angularjs
[14:16:48] *** makeable_ has joined #angularjs
[14:16:52] *** quantax- has joined #angularjs
[14:18:21] *** tomzx`afk is now known as tomzx
[14:18:49] *** mooru has joined #angularjs
[14:19:39] *** DrMabuse has joined #angularjs
[14:19:56] <Brayniverse> Is it possible to use ngMessages for regular messages (not ngModel error messages).
[14:20:38] *** bkuberek has joined #angularjs
[14:20:48] *** J0514H has joined #angularjs
[14:21:03] *** hugorodrigues has quit IRC
[14:21:10] *** juampy has joined #angularjs
[14:21:16] *** GianArb has quit IRC
[14:21:57] *** badon has joined #angularjs
[14:21:58] *** akrikos has joined #angularjs
[14:22:38] *** fire_ has quit IRC
[14:22:58] <Guest4214> Hello, How can I add a directive from a directive?
[14:23:09] <Guest4214> can I do it from the link function?
[14:23:17] *** Guest4214 has left #angularjs
[14:23:20] *** TheAceOfHearts has left #angularjs
[14:23:23] *** TheAceOfHearts has joined #angularjs
[14:23:27] <xastey> template:
[14:23:39] *** Moon_ has joined #angularjs
[14:23:48] <xastey> template:string or template:function(element,attrs)
[14:23:54] *** Moon_ has joined #angularjs
[14:24:01] *** DrMabuse has quit IRC
[14:24:07] <Moon_> Hello, How can I add a directive from a directive? can I do it from the link function?
[14:24:13] *** Joulse has joined #angularjs
[14:24:23] <xastey> anyone know why angular is saying it can't find my provider in one file and not the other, the provider is declared before the other two files are included
[14:24:26] *** sk87 has joined #angularjs
[14:24:37]
<DevAntoine> so, here is a simple directive adding a class to an element and wrapping it. I did that in the compile because in the real directive I do dom cloning and manipulations, so I guess it has to be in the compile function : http://plnkr.co/edit/DuiaxWGsy4gE2ZET9VFx?p=preview As you can see by inspecting the table, it doesn't work. BUT, if you remove the ngIf, the table gets wrapped and the class gets added. I don't know why, and it's causing me
[14:24:37] <DevAntoine> headaches
[14:24:46] *** leftblank has quit IRC
[14:24:47] *** LoveAndHappiness has joined #angularjs
[14:25:00] <LoveAndHappiness> hihi
[14:25:03] *** bkuberek has quit IRC
[14:25:08] *** TheAceOfHearts has left #angularjs
[14:25:09] *** TheAceOfHearts has joined #angularjs
[14:25:29] <LoveAndHappiness> what are you guys using as persistence layer when working with angular?
[14:25:45] *** tangorri has quit IRC
[14:25:54] *** mettjus has joined #angularjs
[14:25:55] <xastey> DevAntoine what is the ng-if stuppose to do not show it ?
[14:26:17] *** orion1111 has joined #angularjs
[14:26:23] <xastey> ng-if="true" will always eval to true so it will always show
[14:26:37] *** dazs has joined #angularjs
[14:27:38] *** bayousoft has joined #angularjs
[14:27:47] *** Rajesh has joined #angularjs
[14:27:51] <TheAceOfHearts> LoveAndHappiness: A server and database.
[14:28:01] <DevAntoine> xastey: what?
[14:28:11] *** Rajesh is now known as Guest44371
[14:28:34] *** tangorri has joined #angularjs
[14:28:43] *** AlecTaylor has quit IRC
[14:28:49] <LoveAndHappiness> TheAceOfHearts, probably. But aren't you leveraging the power of any server side framework?
[14:28:57] <LoveAndHappiness> Like Laravel for example?
[14:29:01] *** aslate has joined #angularjs
[14:29:04] <DevAntoine> xastey: the ngIf has no goal there, it's just to show that when another directive is used on the element where my directive is added, mine doesn't work anymore
[14:29:04] <Guest44371> Hello
[14:29:11] <Guest44371> i need some help on angularjs
[14:29:15] <Guest44371> can anyone guide me
[14:29:24] <TheAceOfHearts> we use Rails at work; but angular doesn't care about what backend you use, it's just a consumer of our API
[14:29:25] <DevAntoine> Guest22956: just ask
[14:29:37] *** night-owl has quit IRC
[14:29:40] <LoveAndHappiness> yes
[14:29:44] <LoveAndHappiness> so you are using rails
[14:29:47] *** vader has joined #angularjs
[14:29:52] <TheAceOfHearts> you may consult the oracle~ Guest44371
[14:29:53] <xastey> you can try checking the priority
[14:29:53] *** fwielstra has quit IRC
[14:29:57] <Guest44371> Hello
[14:29:58] <LoveAndHappiness> I bet laravel works just as fine.
[14:30:00] <xastey> I ran into this problem not to long ago
[14:30:02] <Guest44371> any one can help me???
[14:30:17] <Guest44371> my name is rajesh
[14:30:23] <LoveAndHappiness> Are you coding anything in ruby or does angular consume most of the logic?
[14:30:25] *** plysiu has quit IRC
[14:30:33] <e-dard> Hi, in my controller I have something like: $scope.f = function(input) { query.startsWith("name", input); query.find({ success: function(results) { // get hold of results } }); };
[14:30:46] <e-dard> How can I wait untill the success function is triggered before reutrning from f ?
[14:30:55] *** rchavik has quit IRC
[14:30:59] *** FunnyLookinHat has joined #angularjs
[14:31:11] <xastey> and why are you not adjusting it in the compaile stage but doing it via a $timeout ?
[14:31:16] <Guest44371> any one to help me -----my name is rajesh and need help in angularjs
[14:31:17] <TheAceOfHearts> LoveAndHappiness: it depends.
[14:31:19] <e-dard> basically query.find is async and success is callback. I want $scope.f to wait.
[14:31:40] *** Jae has quit IRC
[14:31:54] <LoveAndHappiness> Could you elaborate a little bit. I am making my first baby steps on angular and come from a php/laravel background
[14:32:02] <DevAntoine> xastey: as I said, the directive is way more complex. The timeout is there to avoid to much reflow when loading the page, because as long as the table ain't entirely loaded, I always have to reset the width of the columns
[14:32:05] <e-dard> I'm trying to do a typeahead with async, but I don't use http.get, I have to use query.find
[14:32:08] *** teeray has joined #angularjs
[14:32:24] <LoveAndHappiness> I'd like to understand, what I should expect
[14:32:27] <DevAntoine> xastey: I thought about priorities, but I don't know what should I use. The default is 0 right?
[14:32:37] <TheAceOfHearts> LoveAndHappiness: your backend doesn't matter; it should just serve a JSON API, and you interact with it accordingly
[14:32:54] <TheAceOfHearts> if you're not doing that, you're probably doing it wrong.
[14:33:00] <LoveAndHappiness> ok... so the backend is important, but it does not matter
[14:33:01] <xastey> still a bug but it sorta does what you wanted.. not really but you can see what changing the priority does
[14:33:17] *** wedegreg has joined #angularjs
[14:33:20] <LoveAndHappiness> I wasn't sure, if the backend looses it's importance
[14:33:24] <e-dard> Am I supposed to use promises or something?
[14:33:30] <LoveAndHappiness> If someone is using angular
[14:33:30]
[14:33:35] <xastey> well DevAntoine one thing to do is to use the template function and apply your wrap there
[14:33:45] <TheAceOfHearts> LoveAndHappiness: it should be abstracted away, you shouldn't care about how it's implemented. All you care about is calling a JSON API
[14:33:47] <FuCone> e-dard, yep..promises
[14:33:48] <DevAntoine> xastey: yeah, I guess it's because the jqLite wrap is bugged
[14:33:51] <xastey> I've done this same setup before.. actually I'm doing it in my current project right now
[14:34:06] <DevAntoine> xastey: the template function?
[14:34:06] <LoveAndHappiness> good. I think laravel is just perfect for that
[14:34:11] <e-dard> FuCone: if I can do query.find().then(….) is that using promisies?
[14:34:13] <xastey> yeah one sec let me find the code
[14:34:32] <DevAntoine> LoveAndHappiness: angular doesn't care about backend. We serves a rest api from JEE backend
[14:34:33] *** Brayniverse has left #angularjs
[14:34:39] <DevAntoine> I use angular with sf2 too
[14:34:49] <TheAceOfHearts> LoveAndHappiness: well, I don't know about that. I'm personally fond of node because you can reuse code
[14:34:56] <DevAntoine> as long as you serve an api it's alright
[14:34:57] <TheAceOfHearts> and you don't have to be context switching
[14:34:58] <FuCone> e-dard, yep.. the 'then' will be executed when the function finishes and you can nest promises
[14:35:06] <LoveAndHappiness> good thank you
[14:35:08] *** feelfine has joined #angularjs
[14:35:24] <xastey> check it out added directive to app.js
[14:35:25] <e-dard> FuCone: ah OK. that seems better than the query.find({success: // error: }) callback stuff
[14:35:33] *** wdgreg has quit IRC
[14:35:37] *** plysiu has joined #angularjs
[14:35:57] <FuCone> e-dard, yep, I don't like mixing callbacks with promises as you can encapsulate all with promises!
[14:35:57] <xastey> thats one way to do it.. create your wrap there
[14:36:06] <FuCone> e-dard, use the q$ service
[14:36:15] <FuCone> $q*
[14:36:18] *** MTGap has joined #angularjs
[14:36:36] *** danizord has joined #angularjs
[14:36:36] <xastey> so i have <jt-body> all my html code </jt-body> and in the end I have that .tbody then the mb-scrollbar directive runs and wraps all my content again
[14:36:40] <Guest44371> hello MTGAP---- I AM rajesh...need some help on agularjs
[14:37:07] <xastey> one problem I ran with this is that is both directives are set to transclude angular will throw an error
[14:37:11] *** night-owl2 has quit IRC
[14:37:55] *** bigblind has joined #angularjs
[14:38:17] <DevAntoine> xastey: I've read that you can't apply more than one transcluded directive at once
[14:38:28] <xastey> yeah I learned that the hard way
[14:38:41] *** fouzko has joined #angularjs
[14:38:51] *** bullicon has quit IRC
[14:38:52] *** himanshu has quit IRC
[14:38:56] *** lumio has joined #angularjs
[14:38:57] <bigblind> I have a directive idea, but I'd like to discuss it with the community to make sure this is the right way to go about it.
[14:38:59] *** ppppaul has quit IRC
[14:39:14] <bigblind> I was thinking about a reverse-bind directive.
[14:39:16] <TheAceOfHearts> bigblind: you should just create it and release it onto the dogs
[14:39:16] <Guest44371> I am using angularjs in domino form......problem is it is working on firefox but not on internet explorer
[14:39:31] <DevAntoine> xastey: what are the changes to the last fork? can't see them
[14:39:44] <bigblind> It works exactly like mg-bind except that it takes the initial value for a scope variable from the element's contents.
[14:39:48] <DevAntoine> oh, ok
[14:40:04] *** hekep has quit IRC
[14:40:05] <bigblind> This would be insanely useful in sites where html is generated on the setver.
[14:40:35] <Guest44371> can anyone guide me how to use the same in internet explorer
[14:40:38] <TheAceOfHearts> bigblind: a lot of people use ng-init for that sorta thing
[14:40:38] <bigblind> I know it's bad practice to use the DOM as your data model, but it might be a nice way to get initial data from the dom.
[14:40:41] *** lumio has quit IRC
[14:40:54] <TheAceOfHearts> bigblind: I'd suggest not doing that sorta thing, though
[14:40:57] <TheAceOfHearts> it'll be hard to test
[14:41:01] *** lumio has joined #angularjs
[14:41:03] *** ericrav has joined #angularjs
[14:41:04] <TheAceOfHearts> and well.. idk
[14:41:08] <TheAceOfHearts> it's just not great
[14:41:17] <bigblind> There would also have to be something like a repeated-reverse-bind directive to get initial values for lists.
[14:41:42] *** makeable_ has quit IRC
[14:41:48] *** Guest44371 has left #angularjs
[14:41:49] *** Keika has joined #angularjs
[14:41:52] <Keika> hey guys
[14:41:52] <TheAceOfHearts> bigblind: you can do arbitrary expressions in ng-init
[14:42:00] <TheAceOfHearts> so you could do list = [1,2,3]
[14:42:02] <lumio> hello everyone.... I hope someone can help me out :D is it possible to have onload event for ui-router? So when all views loaded, that an event is fired
[14:42:03] <bigblind> I have a basic idea of how to implement this, but I want to make sure it's actually a good idea.
[14:42:03] <TheAceOfHearts> inside of that
[14:42:07] *** bullicon has joined #angularjs
[14:42:09] <TheAceOfHearts> bigblind: it's not.
[14:42:10] *** bullicon has quit IRC
[14:42:21] <DevAntoine> hey Keika
[14:42:25] <TheAceOfHearts> it'll make your code harder to test :|
[14:42:33] *** cboden has joined #angularjs
[14:42:55] <xastey> app.js at the bottom for how I used the template property to wrap another directive
[14:42:59] <Keika> i've got a little headers problem, anyone interested?
[14:43:05] *** vader has quit IRC
[14:43:38] <TheAceOfHearts> Keika: try viagra?
[14:43:49] <Keika> not head problem
[14:43:52] <Keika> headers
[14:43:55] <TheAceOfHearts> haha
[14:44:01] <Keika> anyway
[14:44:27] <TheAceOfHearts> what problem are you having?
[14:44:30] <Keika> I need to change the headers of a POST request once, then the other requests should use the defaults, how can I manage that?
[14:44:40] *** fwielstra has joined #angularjs
[14:44:47] <DevAntoine> xastey: hum, I see. I tried that sort of thing but the element where the directive is attached is just removed.
[14:44:47] <TheAceOfHearts> Keika: http interceptors?
[14:44:58] <Keika> I've successfuly managed to change the headers, but then all other requests are with those settings
[14:45:05] <Keika> Ok I'll show some code
[14:45:05] <DevAntoine> xastey: oh no, I try that with transclude and template
[14:45:55] *** Trow1 has joined #angularjs
[14:46:24] <Keika> i've got that so far (not working of course)
[14:46:34] *** Aartsie has quit IRC
[14:46:39] *** house has joined #angularjs
[14:47:11] *** ReactiveIO has joined #angularjs
[14:47:23] *** dutis has quit IRC
[14:47:44] *** flo_22 has quit IRC
[14:47:50] *** mdel has joined #angularjs
[14:48:21] *** Jdubs has quit IRC
[14:48:25] *** vader has joined #angularjs
[14:48:41] *** feelfine has quit IRC
[14:48:55] *** aslate has quit IRC
[14:49:03] *** fedenunez1 has joined #angularjs
[14:49:03] *** fedenunez has quit IRC
[14:49:46] *** The_Kingdutch is now known as Kingdutch
[14:50:07] <TheAceOfHearts> Keika: I'm not sure why you would need an event for this
[14:50:10] *** ededagic_ has joined #angularjs
[14:50:43] <Keika> coz it's only for when I try to send files, and I didn't know how to notify the httpInterceptor another way
[14:51:00] <TheAceOfHearts> I think this should be inside of a service
[14:51:06] <TheAceOfHearts> and you should use that service to upload the files
[14:51:08] <Keika> I have a service
[14:51:15] <xastey> DevAntoine what do you mean "the element where the directive is attached is removed"?
[14:51:17] <DevAntoine> xastey: it doesn't work. The table doesn't get wrapped, only it's body
[14:51:18] <Keika> I created a service to upload file
[14:51:19] <TheAceOfHearts> so instead of calling $http directly, call that service
[14:51:22] *** ppppaul has joined #angularjs
[14:51:22] *** angularjsnewbee has quit IRC
[14:51:32] <xastey> sec let me update your plunker
[14:51:32] <Keika> hold on I can show you
[14:51:33] <DevAntoine> xastey: I was taling about transclude, not related, soz
[14:52:22] *** SpearThruster has joined #angularjs
[14:52:30] <Keika> TheAceOfHearts: have a look at the new file
[14:53:02] <TheAceOfHearts> man, your life sounds sad. soap.
[14:53:23] *** Trow1 has quit IRC
[14:53:35] *** OdinIncarnate has quit IRC
[14:54:22] *** hugofirth has quit IRC
[14:54:25] <TheAceOfHearts> uhhh
[14:54:28] *** vader has quit IRC
[14:54:43] <TheAceOfHearts> you're not doing the actual upload there
[14:54:49] *** bigblind has quit IRC
[14:54:55] *** hugofirth has joined #angularjs
[14:55:10] *** eamonn has joined #angularjs
[14:55:35] *** tarnus has joined #angularjs
[14:55:40] <Keika> you have no idea
[14:55:49] *** aslate has joined #angularjs
[14:55:58] <TheAceOfHearts> lol
[14:56:02] *** bigblind has joined #angularjs
[14:56:09] *** linojon has joined #angularjs
[14:56:13] *** anil has quit IRC
[14:56:16] <TheAceOfHearts> this seems very convoluted
[14:56:18] <eamonn> Hi guys, I'm using protractor with codemirror plugin (which allows users to type in code-looking text) The codemirror plugin begins with a textarea but then hides it and it's all buitl with <divs>. My problem is that with protractor I can't use sendKeys to the hidden textarea or the div (after click()ing the div). Any thoughts?
[14:56:24] <TheAceOfHearts> in some place you have to be calling $http
[14:56:33] <TheAceOfHearts> so just set the headers in that place :P
[14:56:36] <Keika> in the calling factory
[14:56:42] <Keika> hmm ok ill try
[14:56:47] <TheAceOfHearts> so
[14:56:50] <TheAceOfHearts> in that factory
[14:56:53] <DevAntoine> xastey: have you looked at the rendered dom?
[14:57:00] <TheAceOfHearts> you'll want all of that wrapped up
[14:57:05] <DevAntoine> xastey: table > div > thead
[14:57:15] <DevAntoine> xastey: you can't do that with transclusion
[14:58:03] *** zingar has joined #angularjs
[14:58:12] *** feelfine has joined #angularjs
[14:58:22] *** HeyProtractor has quit IRC
[14:58:48] *** ineedarobot has quit IRC
[14:59:14] <zingar> help much appreciated, thanks
[14:59:17] *** cphil has joined #angularjs
[14:59:36] *** _jpfm has joined #angularjs
[14:59:56] *** iksik has quit IRC
[15:00:03] *** imehesz has joined #angularjs
[15:00:05] *** intellix has joined #angularjs
[15:00:15] *** mdedetrich has joined #angularjs
[15:00:35] *** Guest61605 has quit IRC
[15:00:53] <DevAntoine> zingar: where's your "form" variable?
[15:00:56] <DevAntoine> nowhere
[15:01:07] *** miha_ has quit IRC
[15:01:20] *** Aartsie has joined #angularjs
[15:01:25] *** juampy is now known as juampy_gnomgnom
[15:01:33] <zingar> form is automatically on the scope because of the controller, not so?
[15:01:53] *** phuh has quit IRC
[15:02:14] <zingar> I'm simplifying from much more complicated code but in that code I've never had to explicitly set a form variable
[15:02:18] *** ckboii89 has joined #angularjs
[15:02:19] *** phuh has joined #angularjs
[15:02:53] <TheAceOfHearts> lol
[15:03:00] *** sigurding has quit IRC
[15:03:06] <DevAntoine> zingar: and what if you have multiple forms in your view? How do you think angular will handle it?
[15:03:11] <DevAntoine> automatically?
[15:03:25] *** InezK_away is now known as InezK
[15:03:52] <TheAceOfHearts> you're confused, though
[15:03:54] <TheAceOfHearts> enhance your calm~
[15:04:00] *** bmac has joined #angularjs
[15:04:35] <zingar> oh so the form has have name 'form'
[15:04:37] <zingar> thanks
[15:04:41] <DevAntoine> xastey: now I have one last issue. I'm cloning the table's header, which contains binding with ngClick and stuff, but the binding ain't kept on the cloned element
[15:04:51] *** Successful has quit IRC
[15:04:54] *** drej has joined #angularjs
[15:05:13] *** doodlehaus has joined #angularjs
[15:05:15] *** mrc__ has joined #angularjs
[15:05:20] *** danielpquinn has joined #angularjs
[15:06:27] *** ckboii89 has quit IRC
[15:06:51] *** VictorBjelkholm has quit IRC
[15:07:20] *** drej has quit IRC
[15:07:28] *** bayousoft has quit IRC
[15:08:00] *** drej has joined #angularjs
[15:08:30] *** [n0b0dy] has quit IRC
[15:08:55] <DevAntoine> so yeah, I don't know how to keep the binding on duplicated dom nodes
[15:09:09] <DevAntoine> even if I do so in the compile function, binding ain't kept
[15:09:18] <DevAntoine> don't tell me the transclude is the only option here
[15:09:28] <xastey> no clue either.. I know with jquery you can do that.. but thats via element.bind() stuff not sure about angular
[15:09:38] *** danielpquinn has quit IRC
[15:09:45] <xastey> why are you cloneing the table header btw?
[15:09:55] <DevAntoine> to have fixed table's header
[15:10:15] *** ededagic_ has quit IRC
[15:10:38] *** [n0b0dy] has joined #angularjs
[15:10:45] *** e-dard is now known as e-dard_afk
[15:10:55] *** Guest61605 has joined #angularjs
[15:11:03] *** DrMabuse has joined #angularjs
[15:11:15] *** ericrav has quit IRC
[15:11:53] *** ericrav has joined #angularjs
[15:12:03] *** ededagic_ has joined #angularjs
[15:12:38] *** apetro_ has joined #angularjs
[15:12:57] <mrc__> I understand the difference between ng-if and ng-show,but can someone let me know if there are drawbacks using ng-if?
[15:13:26] *** TorchDragon has joined #angularjs
[15:13:26] *** mykz_ has quit IRC
[15:13:46] *** syed99 has quit IRC
[15:13:53] *** maurovitale has joined #angularjs
[15:14:04] *** mfunkie has joined #angularjs
[15:14:44] *** fixl has joined #angularjs
[15:14:44] *** InezK is now known as InezK_away
[15:14:46] *** jk-5 is now known as jk-5|gone
[15:14:56] <TheAceOfHearts> mrc__: yes
[15:14:58] <DevAntoine> mrc__: I think one of them is slower
[15:15:05] <TheAceOfHearts> mrc__: it has to re-create DOM elements every time with ng-if
[15:15:11] *** ReactiveIO has quit IRC
[15:15:31] *** greatdex has joined #angularjs
[15:15:40] *** tim_d[o_0]b has joined #angularjs
[15:15:41] <mrc__> TheAceOfHearts: gotcha. Are there instances that you can think of where it's OK and appropriate to us it?
[15:15:44] *** no1uknow has joined #angularjs
[15:15:46] *** ReactiveIO has joined #angularjs
[15:15:58] <TheAceOfHearts> yeah
[15:16:09] <TheAceOfHearts> when you don't want the DOM elements to be there
[15:16:11] *** azizur has joined #angularjs
[15:16:12] <TheAceOfHearts> you use ng-if
[15:16:17] <TheAceOfHearts> if you just wanna hide em, ng-show/hide
[15:16:30] *** ericrav has quit IRC
[15:16:59] *** lite_ has quit IRC
[15:17:23] *** anth0ny__ has quit IRC
[15:17:33] *** J0514H has quit IRC
[15:18:25] *** gordroid has joined #angularjs
[15:18:35] *** marr has quit IRC
[15:18:38] *** LoveAndHappiness has quit IRC
[15:18:44] *** LoveAndHappiness has joined #angularjs
[15:18:52] *** mmitchel_ has joined #angularjs
[15:19:00] *** Jdubs has joined #angularjs
[15:19:01] *** ingshtrom has joined #angularjs
[15:19:02] <tim_d[o_0]b> I'm pretty frustrated with the state of "models" in Angular… anyone have time to talk this through w/ me?
[15:19:11] *** Guest61605 has quit IRC
[15:19:12] <mrc__> Cool thanks. So for a user profile, if I want to hide premium features for particular users, i'm using ng-if. that makes sense to you?
[15:19:20] *** azizur4 has joined #angularjs
[15:19:56] *** ReactiveIO has quit IRC
[15:20:13] *** mdedetrich has quit IRC
[15:20:38] <DevAntoine> mrc__: yes, you don't want them to have access to the premium features
[15:20:46] <TheAceOfHearts> Keika: is it a cross origin request…?
[15:20:53] *** Joulse has quit IRC
[15:20:54] <Keika> yep
[15:20:58] *** lenin has joined #angularjs
[15:21:03] <TheAceOfHearts> that's how CORS works
[15:21:04] *** mguillech has quit IRC
[15:21:10] *** cphil has quit IRC
[15:21:13] <TheAceOfHearts> it sends the OPTIONS preflight
[15:21:15] <DevAntoine> I thought by manipulating dom nodes in the $compile the binding would work
[15:21:16] <TheAceOfHearts> and then the actual post
[15:21:26] <lenin> hey, could anyone help me please?
[15:21:35] *** azizur has quit IRC
[15:21:36] *** mguillech has joined #angularjs
[15:21:37] *** mguillech has joined #angularjs
[15:21:37] <TheAceOfHearts> I don't know, could they?
[15:21:38] <Keika> that's why I had the preflight stuff in .config...
[15:21:44] *** tim_d[o_0]b has left #angularjs
[15:21:50] <Keika> to reset the headers
[15:22:04] <Keika> now all my calls are CORS but only send POST
[15:22:22] <mrc__> lenin - what do you need
[15:22:26] *** mnewton has joined #angularjs
[15:22:48] *** BillCriswell has joined #angularjs
[15:23:11] *** lw has joined #angularjs
[15:23:11] <lenin> i have a view (.html.erb file) but theres a scopes variable that my view cant see... this same variable is visible to all my others views (including some with the same code)
[15:23:12] <TheAceOfHearts> aren't the headers supposed to be the same…?
[15:23:22] *** the_fog has quit IRC
[15:23:30] <TheAceOfHearts> Keika: when you do a POST, the browser does OPTIONS preflight for you
[15:23:40] <TheAceOfHearts> I don't know if you can modify the OPTIONS and POST requests
[15:23:43] *** gnrlbzik has joined #angularjs
[15:23:58] *** ehynds has joined #angularjs
[15:23:59] *** FunnyLookinHat has quit IRC
[15:24:02] *** gnrlbzik has joined #angularjs
[15:24:03] <mrc__> lenin - put your problem in a plunkr or fiddle
[15:24:37] *** sigurding has joined #angularjs
[15:24:42] *** noobee has joined #angularjs
[15:25:12] *** dutis has joined #angularjs
[15:25:15] *** elrabin has joined #angularjs
[15:25:16] *** matiasow has joined #angularjs
[15:25:29] *** Rafzzz has joined #angularjs
[15:25:34] *** Nurbs has joined #angularjs
[15:25:37] *** leftblank has joined #angularjs
[15:25:39] <Rafzzz> Hey peeps
[15:25:46] *** J0514H has joined #angularjs
[15:25:47] *** Jdubs has quit IRC
[15:25:47] *** fixl has quit IRC
[15:25:59] *** mguillech has quit IRC
[15:26:15] <Keika> I'm positive it doesn't send the OPTIONS
[15:26:24] <Keika> otherwise the server would tell me
[15:26:31] <Keika> oh wait up
[15:26:35] *** SidFerreira has quit IRC
[15:26:51] *** bigblind has quit IRC
[15:27:31] <Rafzzz> Keika: CORS? :p
[15:27:43] *** delerium_ has quit IRC
[15:27:50] <Keika> yep
[15:28:00] *** joshbrw has joined #angularjs
[15:28:03] <Rafzzz> paste question again
[15:28:03] <Keika> that must be the fault of that bloody java server
[15:28:10] <Keika> that never accepts anything
[15:28:11] <Keika> hold on
[15:28:51] <Rafzzz> was joking at work the other day that i'd get 'fuck cors' tshirts printed for the team :p
[15:28:53] *** nkn has quit IRC
[15:29:00] *** lsiv568 has joined #angularjs
[15:29:37] *** avens has quit IRC
[15:29:53] <TheAceOfHearts> Rafzzz: CORS isn't that bad, all things considered.
[15:30:05] *** fixl has joined #angularjs
[15:30:18] <Rafzzz> TheAceOfHearts: depends what you're trying to achieve, imo
[15:30:34] <TheAceOfHearts> Rafzzz: by all things considered, I mean by how shitty browsers are :P
[15:31:12] *** anth0ny_ has joined #angularjs
[15:31:19] <Rafzzz> ^_^
[15:31:47] *** TyrfingMjolnir has quit IRC
[15:31:49] <Rafzzz> is there any way of making my whole app delay rendering my views untill my promises are resolved?
[15:32:01] <TheAceOfHearts> Rafzzz: yes
[15:32:07] <TheAceOfHearts> are you using ngRoute or ui-router?
[15:32:11] <Rafzzz> ngRoute
[15:32:16] *** mmccook has joined #angularjs
[15:32:22] *** bosphorus has quit IRC
[15:32:24] <TheAceOfHearts> ngRoute has a resolves object
[15:32:58] <Rafzzz> thanks, i'll readthe docs...
[15:33:23] <Keika> and so does ui-router...
[15:33:29] <Keika> while we're at it :D
[15:33:38] *** mikronaz has joined #angularjs
[15:33:47] *** herenow has quit IRC
[15:33:52] <Keika> it's funny coz his answer is almost in his question...
[15:34:05] <xastey> man chrome x64 crashes so damn much
[15:34:18] <TheAceOfHearts> yeah
[15:34:26] *** gnrlbzik has quit IRC
[15:34:31] *** delerium_ has joined #angularjs
[15:34:54] *** pushbyte has joined #angularjs
[15:35:00] *** gnrlbzik has joined #angularjs
[15:35:03] *** mary5030 has joined #angularjs
[15:35:25] <DevAntoine> arf, I don't know how to keep directives working on cloned elements, that's killing me
[15:36:17] *** mccarrontr1ck has joined #angularjs
[15:38:34] *** herenow has joined #angularjs
[15:39:05] *** gnrlbzik has quit IRC
[15:39:29]
<mikronaz> Hey! I', having trouble with writing test for my directive.. Here is my code: https://gist.github.com/domakas/8b574aa919e64085c569 the problem is, that directive is not compiled, it seems that it can't find the template, although template is in $templateCache
[15:39:55]
<lordkryss> guys... i have a really weird question... on my websites some pages are "full screen" and some have acual content that don't fit the screen so they have a scrollbar, when changing between them i have some... "shake" effects on navbar, any idea how i could fix that? it looks... bad (website to see what i mean: http://new.npretto.com/#/websites/ )
[15:40:25] *** lucasefe has joined #angularjs
[15:40:33] *** wiherek has quit IRC
[15:40:36] *** azizur4 has quit IRC
[15:41:04] <mikronaz> lordkryss: nothing you can do.. when scrollbar appears browser viewport is smaller, that why it shifts
[15:41:18] *** juanlas has joined #angularjs
[15:41:23] *** yoshokatana has joined #angularjs
[15:41:27] *** _tpavel has quit IRC
[15:41:35] <DevAntoine> \o/
[15:41:37] *** msafi has quit IRC
[15:41:50] <lordkryss> maybe i can try to put it in a fixed position and not centered?
[15:41:51] <DevAntoine> use the $compile in the linking function to keep the bnding on the cloned elements
[15:42:11] *** zingar has quit IRC
[15:42:20] *** kppullin has quit IRC
[15:42:34] *** Climax777 has quit IRC
[15:43:38] *** ineedarobot has joined #angularjs
[15:44:36] *** kppullin has joined #angularjs
[15:44:47] *** ericrav has joined #angularjs
[15:44:59] *** Aartsie has quit IRC
[15:46:19] *** ReactiveIO has joined #angularjs
[15:46:20] *** dmack has joined #angularjs
[15:46:54] *** LoveAndHappiness has quit IRC
[15:47:07] *** hartog has quit IRC
[15:47:30] *** LoveAndHappiness has joined #angularjs
[15:47:57] *** no1uknow has quit IRC
[15:48:20] *** JimTheDev has joined #angularjs
[15:48:20] *** JimTheDev has joined #angularjs
[15:49:10] *** lsiv568 has quit IRC
[15:49:26] *** tomzx is now known as tomzx`afk
[15:50:00] *** FunnyLookinHat has joined #angularjs
[15:50:28] *** zombiek has joined #angularjs
[15:50:30] *** mchammer has quit IRC
[15:50:34] *** azizur has joined #angularjs
[15:50:44] *** ReactiveIO has quit IRC
[15:51:26] *** e-dard_afk is now known as e-dard
[15:51:34] *** mchammer has joined #angularjs
[15:52:08] <zombiek> Hi guys, I've a little problem again. I'm running ng-repeat over a custom directive (so the directive link function is called twice for both elements in ng-repeat). So there are 2 input fields (each in its own directive) and now there is the problem: I need an object of both of them like {param1: value1, param2: value2}
[15:52:52] <zombiek> Anyone has an idea how I could deal with that? (Especially the problem when undefined or empty values in the input.. then the key needs to be removed from the object as its not set)
[15:53:19] *** mchammer has quit IRC
[15:53:21] *** TrevDev has quit IRC
[15:53:43] *** lsiv568 has joined #angularjs
[15:54:01] *** L8TR has quit IRC
[15:54:16] *** Trow1 has joined #angularjs
[15:54:17] <xastey> umm scope.mapping=[]. scope.mapping[$index]={} // for first time.. then just do scope.mapping[$index][element.id] = value maybe ?
[15:54:26] *** JosephSilber has joined #angularjs
[15:54:47] <xastey> thats if both input fields have the same $index.. not sure its the best but eh
[15:55:34] *** TrevDev has joined #angularjs
[15:55:55] *** mmitche__ has joined #angularjs
[15:56:11] *** jeffszusz has joined #angularjs
[15:56:30] *** mmitchel_ has quit IRC
[15:56:41] *** scmx has joined #angularjs
[15:56:46] *** ngoyal has joined #angularjs
[15:56:46] <zombiek> what is $index in that case?
[15:56:55] *** mchammer has joined #angularjs
[15:56:56] *** ngoyal has quit IRC
[15:57:02] <zombiek> the index of the iteration of ng-repeat?
[15:57:33] *** ngoyal has joined #angularjs
[15:57:37] *** anth0ny_ has quit IRC
[15:57:40] *** night-owl has joined #angularjs
[15:57:48] *** IKTRA has joined #angularjs
[15:58:16] *** henn1nk has joined #angularjs
[15:58:40] *** e-dard is now known as e-dard_afk
[15:58:46] *** bayousoft has joined #angularjs
[15:59:05] <zombiek> that would not fit then, because the fields are in their own directives, so the iteration should be 0 and 1
[15:59:13] *** dcherman has joined #angularjs
[16:00:35] *** shackleford has joined #angularjs
[16:01:32] *** IKTRA has left #angularjs
[16:01:35] *** mpaarating has joined #angularjs
[16:01:42] *** jk-5|gone is now known as jk-5
[16:01:52] *** jeffszusz has quit IRC
[16:01:55] *** phuh has quit IRC
[16:02:21] *** phuh has joined #angularjs
[16:03:05] *** ckboii89 has joined #angularjs
[16:04:04] *** FIFOd[a] has joined #angularjs
[16:04:32] *** anjumkaiser1 has quit IRC
[16:04:59] *** IanOlson has joined #angularjs
[16:05:41] *** InezK_away is now known as InezK
[16:05:56] *** amargherio has joined #angularjs
[16:05:57] *** jtimon has joined #angularjs
[16:06:05] *** danielpquinn has joined #angularjs
[16:06:35] *** KamalKaur has quit IRC
[16:06:45] *** anth0ny_ has joined #angularjs
[16:06:58] *** mchammer has joined #angularjs
[16:07:03] *** greatdex has quit IRC
[16:07:08] *** ckboii89 has quit IRC
[16:07:44] *** ericrav has quit IRC
[16:07:58] *** mrc__ has quit IRC
[16:08:11] *** enigmarm has joined #angularjs
[16:08:21] *** ericrav has joined #angularjs
[16:09:03] *** juampy_gnomgnom is now known as juampy
[16:09:21] *** Click66 has quit IRC
[16:10:32] *** alex88 has left #angularjs
[16:10:33] *** mccarrontr1ck has quit IRC
[16:10:37] *** danielpquinn has quit IRC
[16:12:26] *** lsiv568 has quit IRC
[16:12:55] *** mooru has quit IRC
[16:13:05] *** bkuberek has joined #angularjs
[16:13:11] *** ericrav has quit IRC
[16:13:11] *** davi has joined #angularjs
[16:13:23] *** bmcgee_ has joined #angularjs
[16:13:53] *** fwielstra has quit IRC
[16:13:58] *** mccarrontr1ck has joined #angularjs
[16:14:24] *** TehShrike|Work has joined #angularjs
[16:14:48] *** encrypt3d_fracti has joined #angularjs
[16:15:27] *** InezK is now known as InezK_away
[16:15:33] *** bmcgee has quit IRC
[16:15:34] *** bmcgee_ is now known as bmcgee
[16:16:06] *** jobelenus has joined #angularjs
[16:17:10] *** shinnya has joined #angularjs
[16:17:41] *** mven_ has quit IRC
[16:17:43] *** FIFOd[a] has quit IRC
[16:17:47] *** mettjus has quit IRC
[16:17:55] *** TheAceOfHearts has quit IRC
[16:17:59] *** avens has joined #angularjs
[16:18:08] *** bphogan_afk is now known as bphogan
[16:18:13] <thomasfuston> Aloha!, someone is using pouchdb with angularjs? and could share some codeexamples?
[16:18:17] *** FIFOd[a] has joined #angularjs
[16:18:36] *** simsketch has joined #angularjs
[16:19:44] *** azizur has quit IRC
[16:19:50] *** recidive has joined #angularjs
[16:19:52] *** azizur has joined #angularjs
[16:20:11] *** jdcasey has joined #angularjs
[16:20:51] *** s3shs has quit IRC
[16:21:13] *** jerev is now known as jerev_away
[16:21:36] *** Dimlock has quit IRC
[16:21:43] *** mettjus has joined #angularjs
[16:21:47] *** ReactiveIO has joined #angularjs
[16:21:55] *** desmond has joined #angularjs
[16:21:57] <desmond> Hello
[16:22:07] <simsketch> hello
[16:22:16] <Rafzzz> hello
[16:22:19] <DevAntoine> is there a way to keep checkboxes synchronized?
[16:22:34] *** jdowdle|afk is now known as jdowdle
[16:22:35] <desmond> is it good practice to have a scope $watch a property of a service (not part of the scope)? for example: $scope.$watch(function() {return authenticate.userToken;}, .....)
[16:22:38] <simsketch> there's lots of ways
[16:22:44] <Rafzzz> DevAntoine: with what?
[16:22:45] <simsketch> i don't know any of them, however
[16:22:49] *** teeray has quit IRC
[16:22:50] <desmond> or should I use events...
[16:22:57] <Rafzzz> DevAntoine: eachother?
[16:23:22] <desmond> I know I can use events for this, but using $watch also works. is there a reason why it wouldn't?
[16:23:23] *** tangorri has quit IRC
[16:23:24] *** greatdex has joined #angularjs
[16:23:26] *** artisangoose has joined #angularjs
[16:23:28] <simsketch> Rafzzz: that's my assumption
[16:23:32] <DevAntoine> Rafzzz: yep. Typically I'm cloning a table's header containing filters and I'd like to keep the filters' checkboxes synchronized
[16:23:46] <Rafzzz> DevAntoine: same ng-model ?
[16:23:53] <DevAntoine> Rafzzz: yes, it's a clone
[16:23:56] <lordkryss> about ng-animation, is it normal that an ng-repeat inside an animated ng-view is not animated?
[16:24:08] <Rafzzz> DevAntoine: they done have the same value if they have the same model? :S
[16:24:21] <DevAntoine> Rafzzz: s/done/should?
[16:24:27] *** iksik has joined #angularjs
[16:24:45] <simsketch> don't
[16:24:50] <Rafzzz> dont
[16:25:10] <DevAntoine> hum, in fact there isn't a model bound to them
[16:25:16] <DevAntoine> just a simple ngclick on it
[16:25:22] <Rafzzz> ok
[16:25:29] <Rafzzz> give them both ng-model="asd"
[16:25:34] <Rafzzz> as attr
[16:25:36] <Rafzzz> and tell me what happens
[16:25:51] *** tomzx`afk is now known as tomzx
[16:26:06] *** frickettz has quit IRC
[16:26:26] <DevAntoine> Rafzzz: yes, it works
[16:26:42] <Rafzzz> DevAntoine: yep
[16:26:51] <DevAntoine> but the thing is, I don't want to edit my views, everything should be done in my directive
[16:27:06] <Rafzzz> DevAntoine: then bind them in your directive
[16:27:38] *** holymac has joined #angularjs
[16:28:07] <schuran_> I have a question about binding. If i'm using ng-repeat but I my factory doesn't return the data yet is there a way to rebind or a better approach?
[16:29:09] *** jpstone has joined #angularjs
[16:29:22] <snurfery> ng-repeat loops over an array. have your factory fill that array up
[16:29:33] <snurfery> schuran_ ^
[16:30:22] *** teeray has joined #angularjs
[16:30:27] <snurfery> ng-repeat will re-evaluate the array if it changes
[16:30:28] *** Cavallari has joined #angularjs
[16:30:37] *** ReactiveIO has quit IRC
[16:30:50] *** Cavallari has quit IRC
[16:32:32] *** JakeSays has joined #angularjs
[16:32:36] <schuran_> hmm i might have an issue with my logic then
[16:32:48] <elxa_> schuran_: you can return a promise from your factory and bind to that in ng-repeat
[16:32:58] <schuran_> yeah thats what I'm doing
[16:33:06] *** elxa_ is now known as elxa
[16:33:24] *** dex has joined #angularjs
[16:33:52] *** dex is now known as Guest93197
[16:34:48] *** LoveAndHappiness has quit IRC
[16:35:02] *** LoveAndHappiness has joined #angularjs
[16:35:16] *** rho has joined #angularjs
[16:35:16] *** rho has joined #angularjs
[16:35:17] *** busticated has joined #angularjs
[16:35:47] *** sonofdirt has joined #angularjs
[16:36:22] *** s3shs has joined #angularjs
[16:36:26] <DevAntoine> Rafzzz: wow, I got "safe is undefined", coming from angular
[16:36:37] *** snurfery has quit IRC
[16:36:52] *** greatdex has quit IRC
[16:37:08] *** holymac has quit IRC
[16:37:33] *** mihalybak has joined #angularjs
[16:37:47] *** jharbaugh has quit IRC
[16:38:32] *** holymac has joined #angularjs
[16:38:46] <TehShrike|Work> schimmi: localstorage only stores/retrieves strings, right?
[16:39:31] <TehShrike|Work> err, I mean schuran_
[16:39:49] <TehShrike|Work> I assume you're storing/retrieving the string [object Object]
[16:39:52] <schuran_> localstorage can save objects
[16:40:01] *** endash has joined #angularjs
[16:40:05] *** ericrav has joined #angularjs
[16:40:13] *** ededagic_ has quit IRC
[16:40:15] *** nodeman has quit IRC
[16:40:34] <schuran_> But if you look i set the cache to null but when it grabs from the server its not rebinding(ng-repeat) the images
[16:40:58] *** davi has quit IRC
[16:41:14] *** AndyFTP has quit IRC
[16:41:47] *** Dimlock has joined #angularjs
[16:41:57] *** xavia has joined #angularjs
[16:42:37] *** thedodd has joined #angularjs
[16:42:37] *** the-erm has quit IRC
[16:43:17] *** conan_the_destro has joined #angularjs
[16:43:33] *** J0514H has quit IRC
[16:44:01] <DevAntoine> Rafzzz: adding the ng-model inside my directive doesn't work
[16:44:38] *** stodan has quit IRC
[16:44:41] <zombiek> TehShrike|Work: but if you do JSON.stringify or angular.toJson everything is fine again ;)
[16:44:57] <TehShrike|Work> indeed.
[16:45:04] *** the-erm has joined #angularjs
[16:45:17] *** orion1111 has quit IRC
[16:45:24] *** lordkryss has quit IRC
[16:45:29] *** Trow1 has quit IRC
[16:45:53] *** Trow1 has joined #angularjs
[16:46:20] *** squeakytoy has quit IRC
[16:46:29] *** ngoyal has quit IRC
[16:46:53] *** subnl2 has joined #angularjs
[16:47:02] *** ngoyal has joined #angularjs
[16:48:06] *** desmond has quit IRC
[16:48:24] *** jstroem has joined #angularjs
[16:48:25]
<zombiek> Does anyone know and use defiant (http://defiantjs.com/) or sometime equivalent? I'm still having problems with my very nested JSON objects... I wonder if there is a tool that can handle deply nested objects and access and even change them nicely
[16:48:33] *** zenw0lf has joined #angularjs
[16:48:41] *** lordkryss has joined #angularjs
[16:49:02] *** cctom_ has quit IRC
[16:49:09] <zenw0lf> anyone here with experience on polymer + angularjs?
[16:49:55] *** J0514H has joined #angularjs
[16:50:08] <DevAntoine> is it possible to add ngModel on the fly?
[16:50:30] *** PersonaIO has joined #angularjs
[16:50:41] *** s3shs has quit IRC
[16:50:42] *** usse has joined #angularjs
[16:50:43] *** RandomStranger- has joined #angularjs
[16:50:47] *** PersonaIO has quit IRC
[16:50:57] *** delerium_ has quit IRC
[16:51:10] *** sonofdirt has quit IRC
[16:51:23] *** usse has quit IRC
[16:51:28] *** RandomStranger has quit IRC
[16:51:58] *** mikronaz has quit IRC
[16:52:17] *** frickettz has joined #angularjs
[16:52:35] *** sonofdirt has joined #angularjs
[16:52:41] *** Aswebb has quit IRC
[16:53:50] <Rafzzz> I've been looking at the $routeProvider docs and the resolve method but I'm struggling to figure out an easy way of moving the calls from my current services.js file
[16:54:06] <Rafzzz> like, is it as easy as just moving the services there?
[16:54:22] *** thomasreggi has joined #angularjs
[16:54:23] *** TehShrike|Work has left #angularjs
[16:55:02] *** torred has quit IRC
[16:55:11] *** cthrax has joined #angularjs
[16:55:32] *** ericrav has quit IRC
[16:55:44] *** ineedarobot has quit IRC
[16:55:54] <schuran_> TehShrike|Work: when I console.log the return form the factory its giving me an object
[16:56:02] *** ericrav has joined #angularjs
[16:57:36]
<zombiek> Or am I doing it wrong? Shouldn't I use deep nested structures but better use references to nodes on the same level of the object? Here are 2 examples... : http://jsbin.com/jacukune/1/edit Which one is the better structure??? I'm experiencing heavy problems with the first solution as this is very hard to debug and assign :-/
[16:57:37] *** mennea has quit IRC
[16:57:59] *** rahaman has joined #angularjs
[16:58:05] *** Zarathoustra has joined #angularjs
[16:58:05] *** TobyC has joined #angularjs
[16:58:05] *** gnarMatix has joined #angularjs
[16:58:15] *** _jpfm has quit IRC
[16:58:29] <gnarMatix> anyone here know js
[16:58:33] <karihre> nah
[16:58:38] *** _jpfm has joined #angularjs
[16:58:46] <gnarMatix> stoopids
[16:58:46] *** bmcgee has quit IRC
[16:58:53] *** LoveAndHappiness has quit IRC
[16:59:13] *** LoveAndHappiness has joined #angularjs
[16:59:16] *** teslanick has joined #angularjs
[16:59:20] *** ChrisOei has quit IRC
[16:59:21] *** TobyC has quit IRC
[16:59:23] *** Zoroastre has quit IRC
[16:59:28] <gnarMatix> <3
[16:59:33] *** Dimlock has quit IRC
[16:59:36] *** FuCone has quit IRC
[16:59:49] *** stirlingw has joined #angularjs
[17:00:16] *** Jdubs has joined #angularjs
[17:00:37] *** night-owl-MBP has joined #angularjs
[17:01:09] *** Destos has joined #angularjs
[17:01:44] *** juanlas has quit IRC
[17:01:51] *** tekky has joined #angularjs
[17:01:55] *** phuh has quit IRC
[17:01:58] *** Keika has quit IRC
[17:02:22] *** phuh has joined #angularjs
[17:02:44] *** DrMabuse has quit IRC
[17:02:50] <zenw0lf> why can't angularjs change with two-way data binding the "selected" property?
[17:03:15] *** juanlas has joined #angularjs
[17:03:30] *** bbankes has joined #angularjs
[17:03:35] *** XoRoN has quit IRC
[17:03:49] *** Nurbs has quit IRC
[17:03:53] *** ckboii89 has joined #angularjs
[17:03:55] <maurovitale> Hello everyone, is there a way to test E2E (with protractor) in the console without opening the browser? something like phantomjs with only the final result of the tests performed.
[17:03:58] *** ChrisOei has joined #angularjs
[17:04:24] *** ChrisOei has quit IRC
[17:04:44] *** sirkitree|afk is now known as sirkitree
[17:05:09] *** mguillech has joined #angularjs
[17:06:12] *** mguillech has joined #angularjs
[17:06:24] *** mennea has joined #angularjs
[17:06:26] *** InezK_away is now known as InezK
[17:06:50] *** danielpquinn has joined #angularjs
[17:07:55] *** zippy1981 has joined #angularjs
[17:07:56] *** ckboii89 has quit IRC
[17:08:27] *** DrMabuse has joined #angularjs
[17:08:34] *** Dimlock has joined #angularjs
[17:08:35] *** Zarathoustra has quit IRC
[17:08:44] <zippy1981> is that correct, and can I depend on that behavior?
[17:09:12] *** visionary has joined #angularjs
[17:09:32] *** sysko has joined #angularjs
[17:10:03] *** JakeSays has quit IRC
[17:10:11] *** danielpquinn has quit IRC
[17:10:16] *** danielpq_ has joined #angularjs
[17:10:30] *** anjumkaiser has joined #angularjs
[17:10:33] *** conan_the_destro has quit IRC
[17:10:35] *** Dimlock has quit IRC
[17:10:43] *** new2Angular has joined #angularjs
[17:10:43] *** hannesvdvreken has quit IRC
[17:10:54] *** Dimlock has joined #angularjs
[17:11:34] *** IanOlson has quit IRC
[17:12:04] *** s3shs has joined #angularjs
[17:12:04] *** JakeSays has joined #angularjs
[17:12:17] *** MANCHUCK has joined #angularjs
[17:12:42] *** amargherio has quit IRC
[17:12:55] *** tgkokk has quit IRC
[17:13:05] *** L8TR has joined #angularjs
[17:13:10] *** new2Angular has quit IRC
[17:13:42] *** conan_the_destro has joined #angularjs
[17:13:52] *** conan_the_destro has quit IRC
[17:13:52] *** conan_the_destro has joined #angularjs
[17:14:00] *** blueadept has joined #angularjs
[17:14:38] *** dutis has quit IRC
[17:14:52] *** LoveAndHappiness has quit IRC
[17:14:58] *** LoveAndHappiness has joined #angularjs
[17:15:21] *** Dimlock has quit IRC
[17:15:24] *** olveraricardo72 has joined #angularjs
[17:15:37] *** bengillies has quit IRC
[17:15:41] *** henn1nk has quit IRC
[17:15:52] *** Dimlock has joined #angularjs
[17:16:16] *** InezK is now known as InezK_away
[17:16:49] *** jstroem has quit IRC
[17:16:56] *** amargherio has joined #angularjs
[17:17:13] *** icfantv has joined #angularjs
[17:17:23] *** jstroem has joined #angularjs
[17:17:26] *** foobarbazbat has joined #angularjs
[17:17:42] *** jharbaugh has joined #angularjs
[17:18:43] *** lite_ has joined #angularjs
[17:18:44] *** arthas has quit IRC
[17:18:59] *** ChrisOei has joined #angularjs
[17:19:27] *** evilaliv3 has quit IRC
[17:19:49] <xastey> its a wonder filling to finally finish all controller tests
[17:19:56] *** Dimlock has quit IRC
[17:20:33] *** LoveAndHappiness has quit IRC
[17:20:33] *** Dimlock has joined #angularjs
[17:20:42] *** LoveAndHappiness has joined #angularjs
[17:21:04] *** bmcgee has joined #angularjs
[17:21:11] <zenw0lf> anyone here has done anything related to polymer + angularjs?
[17:21:18] *** subnl2 has quit IRC
[17:21:31] *** artisangoose has quit IRC
[17:21:36] *** Jdubs has joined #angularjs
[17:21:44] *** ChrisOei has quit IRC
[17:21:47] *** artisangoose has joined #angularjs
[17:22:27] *** jharbaugh has quit IRC
[17:22:42] *** jharbaugh has joined #angularjs
[17:23:10] *** desmond has joined #angularjs
[17:23:26] *** dawhite has joined #angularjs
[17:23:47] <yoshokatana> I hate music and/or programming
[17:23:58] *** Hounddog has quit IRC
[17:24:05] <zenw0lf> I don't hate music and/or programming
[17:24:16] *** cacts|works has joined #angularjs
[17:24:26] *** joshontheweb has quit IRC
[17:24:29] <bd> i do/don't love/hate music and/or programming
[17:24:37] *** jeffszusz has joined #angularjs
[17:24:43] *** rbw has quit IRC
[17:24:47] *** mtho11 has quit IRC
[17:24:50] <yoshokatana> bd has the right idea
[17:24:50] <zenw0lf> not a, not b, not together, not empty
[17:25:02] *** Hounddog has joined #angularjs
[17:25:15] *** nemothekid has joined #angularjs
[17:25:30] *** joshontheweb has joined #angularjs
[17:25:50] *** Jdubs has quit IRC
[17:26:23] *** naneau has quit IRC
[17:26:29] *** bmcgee has quit IRC
[17:27:15] *** Aswebb has joined #angularjs
[17:27:54] *** J0514H has quit IRC
[17:28:51] *** s3shs has quit IRC
[17:28:59] *** bmcgee has joined #angularjs
[17:29:06] *** svycka has quit IRC
[17:29:12] *** hswolff has quit IRC
[17:29:21] *** ericrav has quit IRC
[17:29:21] *** Mouzi has joined #angularjs
[17:29:31] *** bradmc has joined #angularjs
[17:29:35] *** hswolff has joined #angularjs
[17:29:49] <bradmc> HOLA!
[17:30:08] *** uf6667 has joined #angularjs
[17:30:20] <yoshokatana> hola bradmc
[17:30:35] *** asdofindia has joined #angularjs
[17:30:37] *** J0514H has joined #angularjs
[17:31:30] *** bengillies has joined #angularjs
[17:31:50] *** digia|away is now known as digia
[17:32:34] <DevAntoine> xastey: hum, remember when you made my plunker work. I thought my code was working too, but that's just because I've removed the ng-if from the html ><
[17:32:46] <DevAntoine> xastey: in fact, the priority changes nothing
[17:32:54] *** dob_ has quit IRC
[17:32:57] <xastey> o well damn
[17:33:17] <DevAntoine> yeah, like you said
[17:33:20] *** dob_ has joined #angularjs
[17:33:27] *** feelfine has quit IRC
[17:33:36] <xastey> its the cloning issuse still or something else? transclude didn't work ?
[17:33:52] *** night-owl-MBP has quit IRC
[17:33:58] *** ChrisOei has joined #angularjs
[17:34:10] *** Sonderblade has quit IRC
[17:34:43] <desmond> hello
[17:35:02] *** Notte has joined #angularjs
[17:35:03] <DevAntoine> xastey: I'm not using transclude, at all
[17:35:04] *** zwacky has quit IRC
[17:35:38] *** lsiv568 has joined #angularjs
[17:36:11] <pushbyte> is there any documentation on unit testing controllers that use UI router? My controller starts with $scope.pageTitle = $state.current.data.pageTitle; and it's causing the unit test to fail :[
[17:36:32] <pushbyte> I could pass in a mock $state, but I'd like to test it with the actual values from my routes file
[17:36:41] <xastey> how about you create that object pushbyte and pass it thru your scope
[17:37:02] *** mguillec_ has joined #angularjs
[17:37:06] *** s3shs has joined #angularjs
[17:37:08] <xastey> I've just finish mines and some controllers use ui-router
[17:37:11] <xastey> didn't do anything special
[17:37:32] *** ngbot has joined #angularjs
[17:37:32] <ngbot> angular.js/master 3f4ee15 Carlo s A. Guillen: fix($location): handle plus character in query strings...
[17:37:32] *** ngbot has left #angularjs
[17:37:48] *** Fire-Dragon-DoL has joined #angularjs
[17:37:48] <xastey> actually I take that back.. pushbyte what I did was use the 'resolve' function for my states
[17:37:49] *** feelfine has joined #angularjs
[17:37:58] <pushbyte> xastey: how so?
[17:38:02] <xastey> so in my controller I just passed that object.. so in my unit testing I just mocked that item
[17:38:09] <xastey> sec let me rip out my code a bit
[17:38:17] *** eamonn has quit IRC
[17:38:55] *** dve has quit IRC
[17:39:19] *** IanOlson has joined #angularjs
[17:39:19] *** mityaz has joined #angularjs
[17:39:24] *** mchammer has quit IRC
[17:39:33] <DevAntoine> ok, so back to square one
[17:39:46] <mmitche__> I'm trying to conditionally override a template using a script tag (text/ng-template) tag via "ng-show" but it's not working. Is there any way around this? Seems like it's loaded unconditionally which I guess makes sense because it's a script tag, but man that sure would be handy.
[17:39:59] <DevAntoine> I gonna die
[17:40:17] <zombiek> is it usual nowadays to build mobile apps for iOS and Android with HTML5 and use a surrounding framework that does the Java stuff?!
[17:40:23] *** Notte has quit IRC
[17:40:33] *** mguillech has quit IRC
[17:41:09] *** dve_ has joined #angularjs
[17:41:11] *** lsiv568 has quit IRC
[17:41:18] <xastey> so either use resolve to inject the value or attach it to your scope before controller creation
[17:43:13] *** Willow_ has joined #angularjs
[17:43:14] <pushbyte> if I attached it to my scope before controller creation, wouldn't it just get overwritten and then cause the same error? That is, I pass in a value (scope.pageTitle = 'hi!') but then as the controller executes it attempts to re-assign it ($scope.pageTitle = $state.current.data.pageTitle)
[17:43:29] <pushbyte> I will have to look into ui router's resolve capabilities. Haven't used it before
[17:43:36] *** wedegreg has quit IRC
[17:44:10] *** mmccook has quit IRC
[17:44:10] *** lumio has quit IRC
[17:44:13] *** IanOlson has quit IRC
[17:44:29] *** JimTheDev has quit IRC
[17:44:41] *** Dimlock has quit IRC
[17:44:49] *** lordkryss_ has joined #angularjs
[17:44:50] *** Trow2 has joined #angularjs
[17:45:06] *** Drako__ has joined #angularjs
[17:45:54] <DevAntoine> I guess I'll go to stackoverflow
[17:45:59] *** mac_ified has joined #angularjs
[17:46:14] *** mac_ified has joined #angularjs
[17:46:22] *** hugorodrigues has joined #angularjs
[17:46:58] *** mccarrontr1ck has quit IRC
[17:47:02] *** mspier_off is now known as mspier
[17:47:06] *** Drako_ has quit IRC
[17:47:13] *** shaym_ has quit IRC
[17:47:29] *** icarus75 has quit IRC
[17:47:36] *** lordkryss has quit IRC
[17:48:06] *** Trow1 has quit IRC
[17:48:29] *** jacuqesdancona has quit IRC
[17:48:36] *** anjumkaiser has quit IRC
[17:48:49] *** figs has joined #angularjs
[17:48:50] *** subnl has joined #angularjs
[17:49:03] *** jacuqesdancona has joined #angularjs
[17:49:04] *** aslate has quit IRC
[17:49:11] *** brodul has quit IRC
[17:49:51] <figs> Hi, I injected ngSanitize into my app to automatically take care of rendering html entities. This doesn't work for my select using ng-options, where £ is displayed instead of £... any ideaS?
[17:50:00] <zombiek> DevAntoine: what exactly is not working with your directive?
[17:50:09] *** nemothekid has quit IRC
[17:50:35] *** aslate has joined #angularjs
[17:50:36] *** mccarrontr1ck has joined #angularjs
[17:50:58] *** elrabin has quit IRC
[17:51:15] <xastey> depends pushbyte.. hard to say without any code examples
[17:51:18] *** MacWinner has joined #angularjs
[17:51:21] <DevAntoine> zombiek: if you inspect the displayed table with and without the ngIf, you'll see that without the ngIf the table is wrapped with a div, and some classes are added on it
[17:52:03] *** kppullin has quit IRC
[17:52:07] <xastey> I my case I'm not doing any state switching in my unit tests.. I guess you are?
[17:52:14] <DevAntoine> and now, if I replace the compile function by the link one, and wrap the table with ngIf instead of applying it directly to my table, it's working
[17:52:18] *** kalusn has quit IRC
[17:52:30] *** TrevDev_ has joined #angularjs
[17:52:39] <DevAntoine> but, if I just wrap the table with the ngIf and keep the compile function, it's not working too
[17:52:43] *** zeroquake has joined #angularjs
[17:52:48] <DevAntoine> I.AM.SO.LOST
[17:52:54] *** kppullin has joined #angularjs
[17:52:54] *** mguillec_ has quit IRC
[17:52:56] *** DrMabuse has quit IRC
[17:53:08] <zeroquake> can we use only specfic parts in bootstrap directives?
[17:53:17] *** jacuqesdancona has quit IRC
[17:53:41] *** TrevDev has quit IRC
[17:53:48] *** simsketch_ has joined #angularjs
[17:53:49] *** eamonn has joined #angularjs
[17:54:01] *** elrabin has joined #angularjs
[17:54:18] <xastey> DevAntoine what should the outcome be ?
[17:54:25] <xastey> maybe if you can explain that we can work backwards
[17:54:39] <DevAntoine> xastey: well, a wrapped table
[17:54:40] *** bmcgee has quit IRC
[17:54:55] <DevAntoine> and a copy of the thead into another created table
[17:55:00] <xastey> wrapped table? meaning <div><table></table></div> ?
[17:55:03] *** mccarrontr1ck has quit IRC
[17:55:10] <DevAntoine> xastey: yep
[17:55:13] *** oste has joined #angularjs
[17:55:16] <intellix> hmmmmm…. I’ve got ngTouch being included and referenced inside my angular.module(‘’, [‘ngTouch’]); but I’m certain it’s not being used….. is there any magical gotcha?
[17:55:42] *** mguillech has joined #angularjs
[17:56:10] <xastey> DevAntoine could you possibly update plucker to also have the expect output html
[17:56:20] *** mnewton has quit IRC
[17:56:23] *** simsketch has quit IRC
[17:56:47] *** Evanion has quit IRC
[17:56:51] <DevAntoine> xastey: yep
[17:57:10] *** mccarrontr1ck has joined #angularjs
[17:57:20] *** LoveAndHappiness has quit IRC
[17:57:47] *** iksik has quit IRC
[17:57:59] <zombiek> General question to all the angualr guys: Should I focus more on Angular? I see there is the web (sure) and beside there is something like phonegap where angular apps will run and something like native apps with node-webkit and co... is it really the big thing?
[17:58:12] *** eamonn has quit IRC
[17:58:18] *** ccohn has quit IRC
[17:58:30] *** rho has quit IRC
[17:58:41] *** icarus75 has joined #angularjs
[17:58:54] *** ccohn has joined #angularjs
[17:59:06] *** fbenoit has quit IRC
[17:59:06] *** ericrav has joined #angularjs
[17:59:11] *** feelfine has quit IRC
[17:59:15] <mmitche__> i have a directive, which uses another directive. Is it possible to configure the child directive from the top-level, where I create the parent/container?
[17:59:15] <r4vi> what's the best way to set default values in angular (without showing them in the UI) - like If I had a text input called 'number of widgets' bound to $scope.num_widgets
[17:59:23] <r4vi> if i set $scope.num_widgets to 0
[17:59:29] <r4vi> then in the input it shows 0
[17:59:35] <r4vi> but I want to to stay blank
[17:59:41] <r4vi> then when they submit the form
[17:59:49] <r4vi> it should return 0
[18:00:00] *** snurfery has joined #angularjs
[18:00:27] *** waylon999 has joined #angularjs
[18:00:44] <Zerot> r4vi: check before submitting if the value is set. e.g. var data = { val: inputValue || defaultValue}
[18:01:04] <r4vi> ok thought so; might have to abstract it a little
[18:01:20] <xastey> umm thats some funky stuff tehre DevAntoine
[18:01:26] <Zerot> mmitche__: sort of. you can define controllers on the directives and the child controller can require the parent directive controller. then it can call a function on it in the link
[18:01:45] *** jkremser has quit IRC
[18:01:58] <DevAntoine> xastey: that's completely crazy yeah
[18:01:58] *** phuh has quit IRC
[18:02:05] <DevAntoine> xastey: it's almost been a week I'm working on this
[18:02:22] *** phuh has joined #angularjs
[18:02:27] <mmitche__> Zerot: interesting yeah, so I'd still have to add attributes/scope to the parent directive so that the values could be passed-in ?
[18:02:27] *** feelfine has joined #angularjs
[18:02:40] *** snapwich has joined #angularjs
[18:02:51] *** Rafzzz has quit IRC
[18:02:57] *** Reskp has joined #angularjs
[18:03:04] *** mrogne is now known as mrogne_busy
[18:03:17] *** ccohn has quit IRC
[18:03:25] <Zerot> mmitche__: yes
[18:03:31] *** IanOlson has joined #angularjs
[18:03:34] *** ericrav has quit IRC
[18:03:49] *** anjumkaiser has joined #angularjs
[18:03:53] <xastey> let me go at this a different way.. what is the purpose of duplicating the table ?
[18:04:08] <DevAntoine> xastey: to have fixed header
[18:04:09] *** ericrav has joined #angularjs
[18:04:30] *** ckboii89 has joined #angularjs
[18:04:49] *** IronH0rse has joined #angularjs
[18:05:13] *** lw has quit IRC
[18:05:32] *** richiebkr has joined #angularjs
[18:05:48] *** upsell5 has joined #angularjs
[18:05:48] *** lw has joined #angularjs
[18:06:32] *** LoveAndHappiness has joined #angularjs
[18:07:03] *** feelfine has quit IRC
[18:07:13] *** InezK_away is now known as InezK
[18:07:17] *** feelfine has joined #angularjs
[18:07:21] *** night-owl-MBP has joined #angularjs
[18:07:26] *** klaut has quit IRC
[18:07:27] *** scmx has quit IRC
[18:07:44] <dmack> zombiek: you came to the Angular IRC channel to ask if you should learn angular - the answer is going to be a resounding yes :)
[18:07:49] *** motionman has joined #angularjs
[18:07:50] *** Silne30 has joined #angularjs
[18:08:09] <xastey> sorry DevAntoine have to step out for a while
[18:08:18] *** ericrav has quit IRC
[18:08:22] <xastey> also what do you mean fixed header? mean it doesn't scroll or what?
[18:08:23] *** anjumkaiser has quit IRC
[18:08:27] <DevAntoine> xastey: I'm writing a SO post right now
[18:08:44] *** ckboii89 has quit IRC
[18:08:49] <DevAntoine> xastey: means that when the table's header is outside the viewport, it stays on top of the screen instead
[18:08:52] <xastey> ok.. make sure you explain what you mean by fixed header.. cause I'm confused on that part
[18:09:06] *** scmx has joined #angularjs
[18:09:06] <xastey> o got ya
[18:09:20] *** michaelm has joined #angularjs
[18:09:47] *** mkulke has quit IRC
[18:09:49] *** Cydmax has quit IRC
[18:09:55] *** Gambit- has joined #angularjs
[18:10:00] *** ronnie has quit IRC
[18:10:39] *** blueadept has quit IRC
[18:11:23] <zombiek> dmack: hehe but what will they say on the Java channel? ;)
[18:12:04] *** sigurding has quit IRC
[18:12:16] <IronH0rse> I researched and found info on the issue where a DELETE without "data" object has content-type header stripped, but as you can see from the code below and the network request below there is in fact a data object with values. Is there a work around for this? Much Thanks! code: $http({ method: "DELETE", url: ".../v2/places/" + place.id + "/locations/remove", data: loc
[18:12:24] *** tgkokk has joined #angularjs
[18:12:38] *** tgkokk has quit IRC
[18:12:39] *** rho has joined #angularjs
[18:12:39] *** rho has joined #angularjs
[18:12:49] *** fixl has quit IRC
[18:12:54] *** night-owl-MBP has quit IRC
[18:12:56] *** DrMabuse has joined #angularjs
[18:13:17] *** tgkokk has joined #angularjs
[18:13:27] *** bphogan is now known as bphogan_afk
[18:13:31] *** tgkokk has quit IRC
[18:13:50] <jpstone> I'm currently looking at the first angular app I ever wrote. My eyes are burning.
[18:14:12] *** tgkokk has joined #angularjs
[18:14:25] <xastey> cool.. I'll check it out when I get back
[18:14:38] *** texinwien has quit IRC
[18:14:42] *** fdrechsler has quit IRC
[18:14:45] <xastey> good luck man, got to go take the wife to see sex tape.. hope its funny
[18:15:02] <DevAntoine> xastey: sex tape, you mean, a movie?
[18:15:06] *** night-owl-MBP has joined #angularjs
[18:15:08] <DevAntoine> xastey: thanks anyway
[18:15:16] <DevAntoine> I hope this will be solved by monday
[18:15:20] *** night-owl-MBP has quit IRC
[18:15:36] *** LoveAndHappiness has quit IRC
[18:15:37] *** mettjus has quit IRC
[18:15:42] *** umib0zu has joined #angularjs
[18:15:46] *** thomasreggi has quit IRC
[18:15:58]
<Hounddog> I have a directive where it seems when compiled it does not like to fire on the directive http://keinfestivalohnefritz.de/ on the top under the header image i have infos |teilnahlebedingungen and thery should open modals
[18:16:03] <Hounddog> just pastyign
[18:16:11] *** sutabi has quit IRC
[18:17:01] *** InezK is now known as InezK_away
[18:17:08] *** teslanick is now known as kevinick
[18:17:09] <Hounddog> working local
[18:17:29] *** FrEaKmAn_ has joined #angularjs
[18:17:40] *** Siecje1 has joined #angularjs
[18:17:44] *** snapwich has quit IRC
[18:17:54] <intellix> ngClick says that it removes the 300ms that browsers add to the click event. will element.on(‘click’, fn(){}); remove the 300ms as well?
[18:18:06] *** Nizumzen has joined #angularjs
[18:18:41] *** jchamberlain has joined #angularjs
[18:18:51] <Hounddog> or well, it could be cause...
[18:19:15] <Hounddog> i am dynamically inserting that stuff
[18:19:17] *** Reskp has quit IRC
[18:20:06] *** Guest25876 has joined #angularjs
[18:20:07] *** s3shs has quit IRC
[18:20:22] <FrEaKmAn_> if I update the dom within directive, is there a way to detect when dom is ready?
[18:20:35] <FrEaKmAn_> I'm doing simple ng-repeat and after everything is generated, I need to call some jquery code
[18:20:40] *** Jdubs has joined #angularjs
[18:20:44] *** scmx has quit IRC
[18:20:50] <intellix> ah……. ngTouch doesn’t remove the 300ms from anything but the ng-click… why would it only do it on the directive? surely that’s important as well
[18:21:00] *** sk87 has quit IRC
[18:21:23] *** eamonn has joined #angularjs
[18:21:46] *** TheAceOfHearts has joined #angularjs
[18:21:49] *** dve_ has quit IRC
[18:22:22] *** dve has joined #angularjs
[18:22:22] *** dob_ has quit IRC
[18:22:29] *** dob_ has joined #angularjs
[18:22:41] *** heluvaguy has joined #angularjs
[18:23:32] *** jiggliemon has quit IRC
[18:23:35] *** edzez has quit IRC
[18:23:53] *** ppppaul has quit IRC
[18:24:04] *** dob__ has joined #angularjs
[18:24:47] *** Jdubs has quit IRC
[18:24:58] *** kopasetik has joined #angularjs
[18:25:00] *** kevinick is now known as teslanick
[18:25:08] *** edzez has joined #angularjs
[18:26:16] <figs> data-ng-options="c.html for c in getCurrencies()" <------- If i saw out c.html for £ the view renders a £ symbol, but using the object's property c.html, it renders £ what gives?!
[18:26:39] <figs> saw = swap*
[18:26:48] *** dve has quit IRC
[18:26:55] *** Climax777 has joined #angularjs
[18:27:00] *** teeray has quit IRC
[18:27:27] *** ericrav has joined #angularjs
[18:27:29] *** dve has joined #angularjs
[18:27:29] *** gnarMatix has quit IRC
[18:27:33] *** DevAntoine has quit IRC
[18:27:34] *** sigurding has joined #angularjs
[18:27:36] *** Mouzi has quit IRC
[18:28:01] *** dob_ has quit IRC
[18:29:03] *** arabot has joined #angularjs
[18:29:07] *** heluvaguy has quit IRC
[18:29:10] *** arabot has quit IRC
[18:29:14] *** leftblank has quit IRC
[18:29:17] *** dob__ has quit IRC
[18:29:21] *** bphogan_afk is now known as bphogan
[18:29:27] <kopasetik> what's the best way to store an api key while the rest of a project is on github?
[18:29:36] *** lsiv568 has joined #angularjs
[18:30:06] *** cigarshark has joined #angularjs
[18:30:07] *** visionary has quit IRC
[18:30:33] <zombiek> read it from a json file and gitignore this?
[18:30:38] *** lenin has quit IRC
[18:30:48] *** edzez has quit IRC
[18:30:54] <zombiek> (would be the first solution that comes to my mind)
[18:31:29] *** Moon_ has quit IRC
[18:31:52] *** s3shs has joined #angularjs
[18:31:54] *** mac_ified has quit IRC
[18:32:00] *** hugofirth has quit IRC
[18:32:14] *** ededagic_ has joined #angularjs
[18:32:18] *** whunt has joined #angularjs
[18:32:49] *** plysiu has quit IRC
[18:34:06] *** lsiv568 has quit IRC
[18:34:22] *** dieguin has joined #angularjs
[18:34:24] *** mguillech has quit IRC
[18:34:36] *** joshbrw has quit IRC
[18:34:51] *** gnrlbzik has joined #angularjs
[18:35:00] *** mguillech has joined #angularjs
[18:35:31] *** snapwich has joined #angularjs
[18:35:54] *** flocca has quit IRC
[18:36:28] *** feelfine has quit IRC
[18:36:39] *** mguillech has quit IRC
[18:36:44] *** heidi has joined #angularjs
[18:37:01] *** ppppaul has joined #angularjs
[18:37:07] *** InezK_away is now known as InezK
[18:37:11] *** edzez has joined #angularjs
[18:37:11] *** lite_ has quit IRC
[18:37:18] *** Fishy has quit IRC
[18:37:32] *** doodlehaus has quit IRC
[18:37:34] <OddDuck> Has anyone else found that routing doesn't work when angular 1.2.20 is loaded in an iframe in the newest firefox? $location.path leads to strange behavior that does not occur when app is loaded in main window. ("10 $digest() iterations reached. Aborting!" ng-view section is loaded multiple times, etc)
[18:37:41] *** aslate has quit IRC
[18:38:11] *** scmx has joined #angularjs
[18:38:22] *** iksik has joined #angularjs
[18:38:35] *** toastynerd has quit IRC
[18:38:35] *** mguillech has joined #angularjs
[18:38:37] *** visionary has joined #angularjs
[18:38:48] *** Trow2 has quit IRC
[18:38:58] *** sigurding has quit IRC
[18:39:02] *** intellix has quit IRC
[18:39:13] *** Trow2 has joined #angularjs
[18:39:39] *** MTGap has quit IRC
[18:39:39] *** mguillech has quit IRC
[18:39:41] *** jlevstein has joined #angularjs
[18:39:46] *** jstroem has quit IRC
[18:40:06] *** edzez has quit IRC
[18:40:18] *** richiebkr has quit IRC
[18:40:22] *** blueadept has joined #angularjs
[18:40:24] *** blueadept has quit IRC
[18:40:30] <kopasetik> zombiek: thanks for your answer
[18:40:32] <kopasetik> still a bit confused but better off than before
[18:40:33] *** blueadept has joined #angularjs
[18:40:35] *** hswolff has quit IRC
[18:40:42] *** MaxV has quit IRC
[18:40:43] *** freeman42 has joined #angularjs
[18:41:01] *** azizur has quit IRC
[18:41:39] *** edzez has joined #angularjs
[18:42:22] *** MaxV_ has joined #angularjs
[18:42:54] *** randombob has joined #angularjs
[18:42:58] *** avens has quit IRC
[18:43:02] *** kbiela_ has joined #angularjs
[18:43:20] *** randombob has left #angularjs
[18:43:33] *** wax has joined #angularjs
[18:43:44] *** randombob has joined #angularjs
[18:43:46] *** ededagic_ has quit IRC
[18:44:19] *** avens has joined #angularjs
[18:44:44] *** avens has quit IRC
[18:45:11] *** dve has quit IRC
[18:45:28] *** wax has quit IRC
[18:45:44] *** dve has joined #angularjs
[18:45:46] *** scrooge_mcduck has joined #angularjs
[18:45:51] <scrooge_mcduck> hello
[18:46:37] *** MaxV_ has quit IRC
[18:46:37] *** kbiela has quit IRC
[18:47:04] *** dve_ has joined #angularjs
[18:47:22] *** mguillech has joined #angularjs
[18:47:23] *** kbiela_ has quit IRC
[18:47:24] *** gnrlbzik has quit IRC
[18:47:29] *** quantax- has quit IRC
[18:47:59] *** _jpfm has quit IRC
[18:48:07] *** mguillech has quit IRC
[18:48:12] <guilbep> Hey guys.. Do you what's the default timeout for $http request? Do you think: $httpProvider.defaults.timeout = 5000; will fix it?
[18:48:48] *** slainer68 has quit IRC
[18:49:16] *** richiebkr has joined #angularjs
[18:49:32] *** michaelm has quit IRC
[18:49:48] *** bengillies has quit IRC
[18:49:56] *** jstroem has joined #angularjs
[18:49:58] *** dve has quit IRC
[18:50:55] *** joshontheweb has quit IRC
[18:51:23] *** jareddlc has joined #angularjs
[18:51:37] *** bkuberek_ has joined #angularjs
[18:51:39] <snurfery> whatup scrooge_mcduck
[18:51:58] *** Cavallari has joined #angularjs
[18:52:04] *** RobinBAwesome has joined #angularjs
[18:52:13] *** disorder20 has quit IRC
[18:52:13] <guilbep> because I tried it.. and my request still timeout after 10.5
[18:52:25] *** ededagic_ has joined #angularjs
[18:52:36] *** rho has quit IRC
[18:53:42] *** foofoobar has quit IRC
[18:54:01] *** roolo has quit IRC
[18:54:38] *** oniijin has quit IRC
[18:54:39] *** FrEaKmAn_ has quit IRC
[18:55:12] *** tarkus has quit IRC
[18:55:18] <snurfery> kopasetik: read it from an environmental variable, or use a json/config file like zombiek suggested
[18:55:47] *** bkuberek has quit IRC
[18:55:52] <snzmn> is there an avantage to putting bound fields in a form when speaking with an external resource?
[18:56:14] *** Reskp has joined #angularjs
[18:56:32] *** tfennelly has quit IRC
[18:57:20] <s3shs> What's the irc handle of the fellow who wrote angular-strap?
[18:57:35] *** dve_ has quit IRC
[18:57:58] *** eamonn has quit IRC
[18:58:06] *** mettjus has joined #angularjs
[18:58:23] *** tylerjohnst has joined #angularjs
[18:58:33] *** Willow_ has quit IRC
[18:58:59] *** Willow_ has joined #angularjs
[18:59:41] *** jacuqesdancona has joined #angularjs
[19:00:03] *** bengillies has joined #angularjs
[19:00:18] *** nfroidure_ has quit IRC
[19:00:43] *** Reskp has quit IRC
[19:00:48] *** InezK is now known as InezK_away
[19:00:56] *** tgkokk has quit IRC
[19:01:02] *** jeffszusz has quit IRC
[19:01:24] <kopasetik> snurfery: cool. thanks for confirming that!
[19:01:47] *** bengillies has quit IRC
[19:01:59] *** phuh has quit IRC
[19:02:02] *** zemanel has quit IRC
[19:02:23] *** tgkokk has joined #angularjs
[19:02:24] *** phuh has joined #angularjs
[19:02:48] *** InezK_away is now known as InezK
[19:03:38] *** Willow_ has quit IRC
[19:03:57] *** jacuqesdancona has quit IRC
[19:03:59] *** wallerdev has joined #angularjs
[19:04:09] *** DrMabuse has quit IRC
[19:04:22] *** lordkryss_ is now known as lordkryss
[19:04:41] *** JosephSilber has quit IRC
[19:05:02] *** roolo has joined #angularjs
[19:05:26] *** ckboii89 has joined #angularjs
[19:05:38] *** dmack has quit IRC
[19:05:46] *** flocca has joined #angularjs
[19:05:52] *** ericrav_ has joined #angularjs
[19:06:38] *** Mr_Tac has joined #angularjs
[19:07:10] *** derrzzaa has joined #angularjs
[19:07:11] *** atomical has quit IRC
[19:07:14] *** ccohn has joined #angularjs
[19:07:34] *** nullsteph has joined #angularjs
[19:07:35] *** feelfine has joined #angularjs
[19:07:48] <nullsteph> anyone listening
[19:07:55] *** shackleford has quit IRC
[19:08:04] <lebster> always listening
[19:08:31] *** htowngangsta has joined #angularjs
[19:08:34] *** ericrav has quit IRC
[19:08:50] *** tgkokk has quit IRC
[19:08:52] <nullsteph> hi lebster
[19:09:04] <s3shs> shhh
[19:09:06] *** roolo has quit IRC
[19:09:14] *** nemothekid has joined #angularjs
[19:09:22] <nullsteph> i'm hoping some one can answer a question about using $sce
[19:09:26] *** ckboii89_ has joined #angularjs
[19:09:32] *** ckboii89 has quit IRC
[19:09:35] *** ppppaul has quit IRC
[19:10:16] *** oniijin has joined #angularjs
[19:10:20] *** s3shs has quit IRC
[19:10:22] <nullsteph> for $sce, how can i access an HTML string's literal value, and not in a certain context. I need just a plan JS string I can split on.
[19:11:54] *** Aswebb has quit IRC
[19:12:11] *** illume has quit IRC
[19:12:12] *** tony_ has joined #angularjs
[19:12:21] <caitp> i'm not totally clear on what you're asking
[19:12:26] *** InezK is now known as InezK_away
[19:13:31] *** andrii has joined #angularjs
[19:13:38] *** Reskp has joined #angularjs
[19:13:56] *** Notte has joined #angularjs
[19:14:01] <sal1191> im making an angular frontend to a q/a game, where admins can add their own questions to be played
[19:14:13] <sal1191> the question data contains custom html
[19:14:32] *** nanoyak has joined #angularjs
[19:14:53] <sal1191> when I use {{module.title}} it escapes the html so <p> characters are visible
[19:14:54] <nullsteph> when i run $sce.getTrustedHtml, it returns an object for display in contexts such as ng-bind, and I can not access it as a plain old string.
[19:14:59] <sal1191> is there a filter that does not escape html?
[19:15:03] *** andrii has quit IRC
[19:15:20] *** Guest93197 has quit IRC
[19:15:21] <sal1191> and allows me to send it right to the document?
[19:15:22] <caitp> sal1191, you need to use ng-bind-html
[19:15:25] <caitp> and include ngSanitize
[19:15:26] *** davi has joined #angularjs
[19:15:31] *** raghunayyar has joined #angularjs
[19:15:39] <sal1191> thanks caitp
[19:16:02] *** Aliks_ has joined #angularjs
[19:16:07] *** toastynerd has joined #angularjs
[19:16:20] *** tony_ has quit IRC
[19:16:46] *** stevvooe has joined #angularjs
[19:17:56] *** wilmoore has joined #angularjs
[19:18:23] *** tmrudick has joined #angularjs
[19:18:29] *** feelfine has quit IRC
[19:18:33] *** gnrlbzik has joined #angularjs
[19:19:18] *** disorder20 has joined #angularjs
[19:19:35] *** ededagic_ has quit IRC
[19:20:09] *** FIFOd[a] has quit IRC
[19:20:15] *** gnrlbzik_ has joined #angularjs
[19:20:17] *** ckboii89_ has quit IRC
[19:20:23] *** gnrlbzik has quit IRC
[19:20:37] *** Nizumzen has quit IRC
[19:20:47] *** FIFOd[a] has joined #angularjs
[19:20:58] *** mehlah has quit IRC
[19:22:18] *** scmx has quit IRC
[19:22:31] *** InezK_away is now known as InezK
[19:22:39] *** chrisbirk has joined #angularjs
[19:22:58] *** deleium_ has joined #angularjs
[19:23:19] *** dve has joined #angularjs
[19:23:50] <TheAceOfHearts> hey caitp
[19:23:50] <deleium_> Hi folks, new to angular. The default router module is ngrouter but I heard it's better to use router-ui (or something like that). Is that true?
[19:24:08] <TheAceOfHearts> deleium_: yes. use ui-router. live life to its fullest.
[19:24:20] <TheAceOfHearts> well, ngRoute is fine if you're making a website… ui-router is better for applications :P
[19:24:27] <caitp> that's a subjective question, one isn't necessarily better than the other
[19:24:32] <caitp> they're different
[19:24:54] *** gnrlbzik_ has quit IRC
[19:25:00] <TheAceOfHearts> I'd say ngRoute is geared towards websites, while ui-router is more geared towards applications :P
[19:25:22] *** mercwithamouth has joined #angularjs
[19:25:46] *** Willow_ has joined #angularjs
[19:25:46] *** dve has quit IRC
[19:25:48] <TheAceOfHearts> caitp: I upgraded from 1.3.0beta.3 to 1.3.0beta.15 and it got terribly slow in IE11 :(, do you know if there's any issues related to that?
[19:25:59] <deleium_> TheAceOfHearts: Hum.. How they behavior diffrentely?
[19:26:00] <caitp> i have no idea
[19:26:10] *** sysko has quit IRC
[19:26:18] <jpstone> ng-change is not firing when a radio button is unchecked
[19:26:21] <jpstone> has anyone seen this before?
[19:26:41] <TheAceOfHearts> deleium_: for one thing, ngRoute is designed around the idea of a flat structure, while ui-router is based on nesting everything, or even having multiple views in parallel… which is closed to what an application would have
[19:26:41] <caitp> ng-change fires when $setViewValue() is called with a different value
[19:26:56] <caitp> but ngModel is totally screwed up for radio elements anyways
[19:26:57] <caitp> so lol
[19:27:14] <TheAceOfHearts> lol
[19:27:29] *** hswolff has joined #angularjs
[19:27:35] <TheAceOfHearts> so, caitp, no known issues with IE11 :(?
[19:27:44] <caitp> heck if I know, there might be
[19:27:57] <caitp> i don't really pay attention to ie-specific stuff since it's impossible to debug
[19:27:58] *** dazs has quit IRC
[19:28:00] *** bayousoft has quit IRC
[19:28:07] <jpstone> There are always issues with IEX.
[19:28:10] <snapwich> the new IE dev tools are okay
[19:28:18] <caitp> it's not the dev tools that are the issue
[19:28:18] *** chrisbirk has quit IRC
[19:28:39] <TheAceOfHearts> snapwich: disagree. My app got so broken in IE11 that I couldn't even use the dev tools
[19:28:40] <caitp> 1) I don't have any windows computers, 2) even if I did, having multiple versions of IE installed is basically impossible
[19:28:56] *** dve_ has joined #angularjs
[19:28:58] <snapwich> you use modern.ie? works pretty well for me
[19:29:03] <caitp> 3) saucelabs development takes forever
[19:29:13] <TheAceOfHearts> I use modern.ie too :P
[19:29:16] *** eamonn has joined #angularjs
[19:29:18] <snapwich> yeah, i'm on OSX
[19:29:28] <snapwich> but i have most of the modern.ie vms on my machine
[19:29:32] *** lw has quit IRC
[19:29:51] <TheAceOfHearts> but yeah, IE is always giving me headaches
[19:29:55] <deleium_> TheAceOfHearts: Hum.. which means more than one view can be use in the same "screen" ? not sure I got you on that
[19:29:57] *** joshontheweb has joined #angularjs
[19:29:58] <caitp> > developing in a VM
[19:29:59] <caitp> lolol
[19:30:01] *** dve_ has quit IRC
[19:30:02] <snapwich> well, that's IE's job. to give headaches
[19:30:05] *** javier3 has joined #angularjs
[19:30:11] <TheAceOfHearts> I only test in my VM :p
[19:30:12] <caitp> sorry but it's just way too much of a headache to even bother
[19:30:18] *** matiasow has quit IRC
[19:30:21] *** feelfine has joined #angularjs
[19:30:25] <jpstone> devs love IE.
[19:30:34] *** dve_ has joined #angularjs
[19:30:35] <javier3> How can I set a value in either a provider or in the config that I can use in controllers?
[19:30:39] <jpstone> and Silverlight.
[19:30:40] <TheAceOfHearts> deleium_: your navbar is a view, your sidebar is a view, your main content is a view
[19:30:42] *** matiasow has joined #angularjs
[19:31:27] <deleium_> TheAceOfHearts: ha.. where using ngroute, you have one main template, and the rest of a single view
[19:31:41] *** tgkokk has joined #angularjs
[19:31:44] <TheAceOfHearts> yeah
[19:31:51] *** ericrav_ has quit IRC
[19:31:53] <TheAceOfHearts> and well, you can also have nested states with ui-router
[19:31:58] <TheAceOfHearts> so your main content might have multiple sections
[19:32:02] <TheAceOfHearts> so it might make sense splitting it up
[19:32:07] <TheAceOfHearts> into multiple states and such
[19:32:10] <TheAceOfHearts> it's just more flexible
[19:32:25] *** ericrav has joined #angularjs
[19:32:43] <deleium_> TheAceOfHearts: good ... so It can do the same job if I put everyting in a single view, but later on, if I want to split things up, it makes life easier.
[19:32:54] <TheAceOfHearts> yeah
[19:32:59] <TheAceOfHearts> in fact, that's what I did
[19:33:02] <TheAceOfHearts> I originally used ngRoute
[19:33:06] <TheAceOfHearts> but eventually had the need
[19:33:09] <TheAceOfHearts> so I moved to ui-router :P
[19:33:22] *** RichardLitt has joined #angularjs
[19:33:32] <deleium_> TheAceOfHearts: gotcha... so as a beginner, I better start with ui-router and be ready to expand later on if needed.
[19:33:40] <TheAceOfHearts> ah
[19:33:41] <TheAceOfHearts> so
[19:34:13] *** jeffszusz has joined #angularjs
[19:35:09] *** intellix has joined #angularjs
[19:35:17] *** dve_ has quit IRC
[19:35:20] *** bayousoft has joined #angularjs
[19:35:20] *** whunt has quit IRC
[19:35:37] <deleium_> TheAceOfHearts: Thanks so much!
[19:36:02] *** DrMabuse has joined #angularjs
[19:36:22] *** steve1985 has joined #angularjs
[19:36:27] *** eamonn has quit IRC
[19:36:32] <steve1985> anyone use passportjs with angular?
[19:36:33] *** teeray has joined #angularjs
[19:36:41] *** kopasetik has quit IRC
[19:36:58] <TheAceOfHearts> passportjs is a node auth thing, isn't it…?
[19:36:59] *** ericrav has quit IRC
[19:37:14] <steve1985> yes..
[19:37:15] *** lw has joined #angularjs
[19:37:37] *** linojon_ has joined #angularjs
[19:37:38] <TheAceOfHearts> your server should just be a JSON API :P
[19:37:51] *** linojon has quit IRC
[19:37:52] *** linojon_ is now known as linojon
[19:38:24] <steve1985> it's the easiest way to handle logging in with facebook/google/twitter
[19:38:36] <steve1985> unless you know another way to do that with angular
[19:39:02] <TheAceOfHearts> I don't think it's an angularjs problem
[19:40:02] *** rahaman has quit IRC
[19:40:44] *** chrisbirk has joined #angularjs
[19:40:48] *** whunt has joined #angularjs
[19:41:00] *** rho has joined #angularjs
[19:41:00] *** rho has joined #angularjs
[19:41:15] *** SomeKittens has joined #angularjs
[19:41:26] <javier3> How can I set a value in a provider or in the config that I can access in a controller?
[19:41:31] *** intellix has quit IRC
[19:41:33] <javier3> I've checked google and can't find an answer
[19:42:01] <javier3> and looked at the docs
[19:42:09] *** guilbep has quit IRC
[19:42:12] <TheAceOfHearts> javier3: what do you mean? you can just inject the service
[19:42:27] *** InezK is now known as InezK_away
[19:42:40] <TheAceOfHearts> s/service/provider
[19:42:47] *** denardo has joined #angularjs
[19:42:56] *** mindlace has joined #angularjs
[19:43:24] *** InezK_away is now known as InezK
[19:43:25] <javier3> I got a bunch of errors when I tried injecting the provider into the controller. No problems with it in the config
[19:44:12] <TheAceOfHearts> *cough*
[19:44:23] *** HypnotiX has quit IRC
[19:44:23] *** nanoyak has quit IRC
[19:44:26] <TheAceOfHearts> I don't think you understand what a provider is
[19:44:31] <TheAceOfHearts> let me try to get you an article
[19:44:34] <TheAceOfHearts> that explains it
[19:44:44] <javier3> It helps bootstrap your application
[19:44:50] *** soupedreiro has quit IRC
[19:44:50] <javier3> $routeProvider, etc
[19:45:00] *** secondjeff has joined #angularjs
[19:45:38] <TheAceOfHearts> please read :P
[19:45:49] <javier3> ok
[19:45:58] *** zarul[afk] has quit IRC
[19:46:22] *** nanoyak has joined #angularjs
[19:46:48] <TheAceOfHearts> anyway, you have $routeProvider, but in your controller you can inject $route
[19:46:57] *** shinnya has quit IRC
[19:47:07] <TheAceOfHearts> so you can set values in the config block, and then you inject the service instance
[19:47:32] *** tgkokk has quit IRC
[19:48:23] <javier3> I tried that ( angular.module('myapp').value = thing ) in the config and got a bunch of errors when injecting it into a controller
[19:48:41] *** aslate has joined #angularjs
[19:48:47] <deleium_> TheAceOfHearts: Thanks for the reading. Interesting.
[19:48:52] <javier3> oh I didn't know you use $provide when doing that in config
[19:49:47] *** mikedevita has joined #angularjs
[19:49:49] <TheAceOfHearts> javier3: that's not how you assign values… anyway, values are only available later
[19:50:33] *** scrooge_mcduck has quit IRC
[19:51:04] *** pushbyte has quit IRC
[19:51:31] *** tgkokk has joined #angularjs
[19:51:37] *** whunt has quit IRC
[19:51:41] *** nullsteph has quit IRC
[19:52:01] <javier3> He did it in the first example in the article you posted but with a const instead. $provide has value too according to the api
[19:52:27] <TheAceOfHearts> constants != values
[19:52:52] *** [n0b0dy] has quit IRC
[19:52:52] *** gnrlbzik has joined #angularjs
[19:53:00] <TheAceOfHearts> you can register values
[19:53:02] *** [n0b0dy] has joined #angularjs
[19:53:03] *** aslate has quit IRC
[19:53:04] <javier3> I know they're not
[19:53:10] <TheAceOfHearts> but they're not injectable in config blocks or providers
[19:53:13] *** mattboehm has joined #angularjs
[19:53:21] *** uf6667 has quit IRC
[19:53:30] *** mguillech has joined #angularjs
[19:53:50] *** Nizumzen has joined #angularjs
[19:53:57] *** uf6667 has joined #angularjs
[19:54:01] *** juanlas has quit IRC
[19:54:23] <javier3> Right but I only need to inject it into a controller
[19:54:41] *** shackleford has joined #angularjs
[19:55:07] <TheAceOfHearts> so… define the value in a config block?
[19:55:07] *** fedenunez1 has quit IRC
[19:55:11] *** dieguete has joined #angularjs
[19:55:19] <TheAceOfHearts> and inject it into the controller
[19:55:26] *** bkuberek_ has quit IRC
[19:55:52] *** fedenunez has joined #angularjs
[19:56:05] <javier3> yeah that's what i said
[19:56:06] *** tgkokk has quit IRC
[19:56:13] *** Yahkob has joined #angularjs
[19:56:36] <TheAceOfHearts> then what problem are you having…?
[19:56:37] *** scrooge_mcduck has joined #angularjs
[19:56:42] <javier3> none now
[19:56:47] *** shackleford has quit IRC
[19:56:48] <TheAceOfHearts> k, you're welcome then~
[19:56:59] <javier3> thanks, that article was helpful
[19:57:00] *** shackleford has joined #angularjs
[19:57:05] <sal1191> do functions attached to $scope get evaluated somehow before they are used?
[19:57:10] *** dieguin has quit IRC
[19:57:19] <TheAceOfHearts> sal1191: what do you mean?
[19:57:23] *** rburns has quit IRC
[19:57:31] <sal1191> well, I define two functions in my controller
[19:57:31] *** shackleford has quit IRC
[19:57:36] <sal1191> to open and close an $ionicModal
[19:57:44] <zenw0lf> the game has started: vg vs newbee
[19:57:55] <sal1191> and before I click the button that opens the modal
[19:57:57] <TheAceOfHearts> zenw0lf: GET HYPEEEEEEEEEEEEEEE
[19:58:00] *** shackleford has joined #angularjs
[19:58:09] <sal1191> it throws an error in the console, "cannot read property 'hide' of undefined"
[19:58:16] *** goodbomb has joined #angularjs
[19:58:17] <sal1191> if youd like to see
[19:58:19] <TheAceOfHearts> dunno
[19:58:26] <TheAceOfHearts> it sounds like you have a javascript problem
[19:58:43] <sal1191> maybe, but the error gets thrown from ionic.bundle.js so the traceback doesnt help
[19:59:06] <TheAceOfHearts> is it minified?
[19:59:10] *** jonnybro has joined #angularjs
[19:59:15] <TheAceOfHearts> don't use minified code during development :P
[19:59:17] <sal1191> no its not
[19:59:25] *** Nizumzen has quit IRC
[19:59:27] <TheAceOfHearts> then look at the source \o/
[19:59:45] <sal1191> im diggin through now
[19:59:46] <TheAceOfHearts> if you can make a plunkr with an example that reproduces it, I can take a look
[19:59:50] *** Cavallari has quit IRC
[19:59:53] <TheAceOfHearts> although
[19:59:55] <TheAceOfHearts> TI4 is going on
[20:00:01] <TheAceOfHearts> so my attention is going to go down
[20:00:10] <sal1191> ill plunk it
[20:00:13] <sal1191> regardless
[20:00:33] *** dieguete has quit IRC
[20:00:36] *** mac_ified has joined #angularjs
[20:00:38] *** juanlas has joined #angularjs
[20:00:55] <TheAceOfHearts> not enough screens D: … need more.
[20:00:56] *** L8TR has quit IRC
[20:01:02] *** sirkitree is now known as sirkitree|afk
[20:01:07] <sal1191> whats TI4 anyhow
[20:01:24] *** bphogan is now known as bphogan_afk
[20:01:40] <sal1191> haha ooh yeah
[20:01:55] <sal1191> wow dota has come so far from when I played it
[20:01:59] *** phuh has quit IRC
[20:02:00] <sal1191> on wc3 ha
[20:02:12] <TheAceOfHearts> indeed
[20:02:25] *** phuh has joined #angularjs
[20:02:50] *** bphogan_afk is now known as bphogan
[20:03:10] *** encrypt3d_fracti has quit IRC
[20:03:13] *** eamonn has joined #angularjs
[20:03:37] *** Johnny13371337 has joined #angularjs
[20:03:39] *** Johnny13371337 has left #angularjs
[20:03:44] *** retzloff has joined #angularjs
[20:04:07] *** javier3 has quit IRC
[20:04:20] *** tilgovi has joined #angularjs
[20:04:29] <MacWinner> is there a simple way to get the number of watchers in your app?
[20:04:34] *** zarul has joined #angularjs
[20:04:41] <TheAceOfHearts> count them?
[20:04:43] <MacWinner> i'm just curious how many get created when I add new directives and stuff
[20:05:12] <MacWinner> is there any watch list registry array or something that I can get the length of?
[20:05:27] <MacWinner> like on the $scope or $rootScope
[20:05:29] <Zerot> MacWinner: you could write a debug utility that iterates over the scopes and counts the elements in the watchers array
[20:05:51] <Zerot> watches are registered per scope, so you will have to visit every scope to count them all
[20:06:06] *** tangorri has joined #angularjs
[20:06:08] <MacWinner> ahh.. got it.. thanks, that's helpful!
[20:06:44] <Zerot> you will have to look up how they are actually stored though. that can be found in the rootscope.js file on the angularjs github repo
[20:06:49] *** encrypt3d_fracti has joined #angularjs
[20:07:36] *** eamonn has quit IRC
[20:08:00] *** lsiv568 has joined #angularjs
[20:08:03] *** Yahkob has quit IRC
[20:08:33] *** mac_ified has quit IRC
[20:08:48] <snurfery> "If you were a fruit you'd be fineapple..."
[20:08:57] * snurfery raises his eyebrow in your direction
[20:09:02] <oniijin> creep
[20:09:09] * yoshokatana sets mode +m snurfery
[20:09:27] * oniijin back to playing destiny
[20:09:31] *** bkuberek has joined #angularjs
[20:09:47] * yoshokatana is about to fall asleep because he just ate a bunch of scones with strawberry jam and clotted cream
[20:09:52] <snurfery> oh god
[20:10:02] <yoshokatana> but I have a conference call with a 3rd party vendor in, like, 15 mins ugh
[20:10:04] <snurfery> just thinking about that makes my insulin spike
[20:10:07] <yoshokatana> haha
[20:10:09] *** jonnybro has quit IRC
[20:10:18] <snurfery> quick, go do some pushups or jumping jacks or something!
[20:10:20] *** mindlace has quit IRC
[20:10:23] <oniijin> the betes
[20:10:37] <snurfery> beetus for sure
[20:10:39] <yoshokatana> I start doing pushups, I immediately fall asleep on my stomach
[20:10:46] * snurfery nods
[20:10:46] <yoshokatana> that's what's gonna happen
[20:10:54] <snurfery> too close to a sleeping-on-stomach position
[20:10:58] <yoshokatana> hmm
[20:11:01] <yoshokatana> *mhmm
[20:11:04] <oniijin> throw up, fall asleep in pile
[20:11:23] <yoshokatana> yeah, I'm basically useless today
[20:11:29] <yoshokatana> only one other dev is in the office
[20:11:37] *** mguillech has quit IRC
[20:11:39] <yoshokatana> and two designers, and a bizdev person
[20:11:41] <yoshokatana> and me
[20:11:44] <yoshokatana> that's it.
[20:12:06] <yoshokatana> and most of my stuff depends on other things that are currently blocked until tuesday
[20:12:23] <sal1191> so in my plunkr my modal doesn't actually appear, but the screen dims
[20:12:27] <sal1191> anyone have any experience with ionic?
[20:12:38] <yoshokatana> *cool code pals
[20:12:43] *** mamian has joined #angularjs
[20:13:56] <mattboehm> I had a quick question that I can't seem to find an answer for in the docs/google:
[20:14:04] *** zarul has quit IRC
[20:14:22] *** rburns has joined #angularjs
[20:14:46] <mattboehm> suppose I have a searchResults directive that I put on a page via <search-results query="foo"></> (query is passed into the directive's scope)
[20:15:13] <mattboehm> there's a requirement that if the user hits serach, the directive resets its state
[20:15:26] <mattboehm> I can't just watch query since they could search for the same query again
[20:15:40] <yoshokatana> "So it turns out that Haskell is not as “functional” a programming language as I would like it to be. " :3
[20:15:54] *** BMCouto has quit IRC
[20:16:05] *** J0514H has quit IRC
[20:16:20] <Zerot> mattboehm: where is search defined?
[20:16:24] <Zerot> the button
[20:16:33] <mattboehm> the button would be elsewhere on the same page
[20:16:38] *** Absolute0 has joined #angularjs
[20:16:43] <Zerot> mattboehm: you could use an event for that
[20:16:54] <Absolute0> Do I have to write js to get angular-ui-bootstrap elements to work?
[20:17:06] <mattboehm> ah yeah, that seems like the best option zerot
[20:17:13] <Absolute0> With plain bootstrap, plain html markup was enough.
[20:17:21] <Zerot> alternatively, you could make 3 directives: Search, SearchResults and SearcButton. the search directive would be the parent to the other 2
[20:17:23] *** pushbyte has joined #angularjs
[20:17:54] <Zerot> mattboehm: then both search-results and search-button can require the parent directive and communicate using the controller
[20:17:57] <Zerot> on the parent
[20:18:02] *** Reskp has quit IRC
[20:18:11] *** maurovitale has quit IRC
[20:18:17] <retzloff> My brain has been polluted with Jquery... is there an AngularJS equivalent to Jquery's 'ready' event?
[20:18:25] <Zerot> (technically you don't need a parent, but I find using a parent in such cases cleaner than a sibling require)
[20:18:37] *** tgkokk has joined #angularjs
[20:18:54] *** mguillech has joined #angularjs
[20:18:58] <Absolute0> retzloff: $timeout
[20:19:10] <Zerot> module.run?
[20:19:32] <fg3> Why do people use one beforeEach for loading module and another beforeEach to inject? Why not just put it all under one beforeEach block
[20:20:33] *** waylon999 has quit IRC
[20:21:25] *** mguillech has quit IRC
[20:21:40] *** mguillech has joined #angularjs
[20:21:59] *** quantax- has joined #angularjs
[20:22:06] <retzloff> Absolute0: with a delay of 0?
[20:22:18] *** davedev24_ has joined #angularjs
[20:22:49] <retzloff> Absolute0: I'm using it to resize the window.
[20:22:58] *** waylon999 has joined #angularjs
[20:23:58] *** sk87 has joined #angularjs
[20:24:14] <snurfery> retzloff: any code that's in any of your controller will only be run after the page is ready()
[20:24:36] <Absolute0> retzloff: $timeout(function() { jQuery calls go here});
[20:25:06] *** lsiv568 has quit IRC
[20:25:11] *** Sauvin has quit IRC
[20:25:33] *** davedev2_ has quit IRC
[20:25:44] <retzloff> Absolute0: thanks
[20:26:16] *** sharondio has quit IRC
[20:26:41] *** mettjus has quit IRC
[20:26:56] *** nanoyak has quit IRC
[20:27:03] *** zarul has joined #angularjs
[20:27:23] *** nanoyak has joined #angularjs
[20:27:55] *** ccohn has quit IRC
[20:28:14] <retzloff> snurfery: So just put my window.resize() call on, say, a controller on the body element and it'll run when it's good and ready to?
[20:28:17] *** danemacaulay has joined #angularjs
[20:28:23] *** sharondio has joined #angularjs
[20:28:30] *** ccohn has joined #angularjs
[20:29:03] <danemacaulay> anybody know anything about the injector
[20:29:05] *** Notte has quit IRC
[20:29:06] *** darkelda has joined #angularjs
[20:29:06] *** darkelda has joined #angularjs
[20:29:08] *** nanoyak has quit IRC
[20:29:36] *** nanoyak has joined #angularjs
[20:29:36] <danemacaulay> I've noticed an issue with accessing services in run blocks, that you can even though you shouldn't, in some circumstances
[20:29:52] *** ngbot has joined #angularjs
[20:29:52] <ngbot> angular.js/master 903e735 Igor Minar: perf(ngBindHtml): move addClass to the compile phase...
[20:29:52] *** ngbot has left #angularjs
[20:29:52] *** davedev24_ has quit IRC
[20:30:05] <danemacaulay> was wondering if we should enforce this on the injector side
[20:30:06] *** ccohn_ has joined #angularjs
[20:30:12] *** atomical has joined #angularjs
[20:30:13] *** ccohn has quit IRC
[20:30:19] *** oste has quit IRC
[20:30:32] *** davedev24_ has joined #angularjs
[20:30:33] *** uf6667 has quit IRC
[20:30:56] <danemacaulay> demonstrates use of $http in a run block
[20:31:05] *** Ankhular has joined #angularjs
[20:31:19] <danemacaulay> that works, but accessing $scope on the other hand fails
[20:31:22] <Ankhular> Anyone know how to underline the matching characters using a filter?
[20:31:47] *** Absolute0 has quit IRC
[20:31:50] *** mccarrontr1ck has quit IRC
[20:32:01] *** davedev24_ has quit IRC
[20:32:35] <Zerot> danemacaulay: so, what is the issue?
[20:32:38] *** mindlace has joined #angularjs
[20:32:45] *** davedev24_ has joined #angularjs
[20:33:01] <Zerot> it makes sense that $scope doesn't work in module.run because module.run doesn't have any scope
[20:33:12] <Zerot> $scope is not a service
[20:33:13] *** nanoyak has quit IRC
[20:33:21] *** juampy has quit IRC
[20:33:41] <danemacaulay> err, right, other services will fail
[20:33:44] <danemacaulay> however
[20:33:48] <Zerot> ?
[20:33:51] *** nanoyak has joined #angularjs
[20:33:51] <Zerot> what fails?
[20:34:05] <danemacaulay> I've inherited a rather large project that using a service in a run block
[20:34:12] <danemacaulay> works fine unmagnified
[20:34:18] <danemacaulay> minified**
[20:34:36] <danemacaulay> sorry, though $scope had a provider
[20:34:40] <danemacaulay> thought*
[20:34:44] <Zerot> no
[20:34:47] <Zerot> $scope is not a service
[20:34:49] *** nanoyak has quit IRC
[20:35:09] <Ankhular> but without using Select2?
[20:35:10] <Zerot> $scope is a link between the dom and controllers/directives
[20:35:17] *** mccarrontr1ck has joined #angularjs
[20:35:36] <Zerot> danemacaulay: if it fails minified, then you probably haven't used the correct inject syntax everywhere
[20:35:48] *** tomh- has joined #angularjs
[20:35:51] <Zerot> e.g. the array notation
[20:35:54] *** Mattias has quit IRC
[20:35:55] *** Zeeshan_M has quit IRC
[20:35:58] *** wim has quit IRC
[20:35:58] *** olli- has quit IRC
[20:35:59] *** oal has quit IRC
[20:36:00] *** universa1 has quit IRC
[20:36:03] *** akoenig has quit IRC
[20:36:03] *** efdee has quit IRC
[20:36:04] *** snzmn has quit IRC
[20:36:05] *** novist has quit IRC
[20:36:05] *** tuhoojabotti has quit IRC
[20:36:06] *** szuja has quit IRC
[20:36:07] *** nCrazed has quit IRC
[20:36:07] *** raijin has quit IRC
[20:36:08] *** chrysn has quit IRC
[20:36:08] *** tga has quit IRC
[20:36:08] *** s2hc_johan has quit IRC
[20:36:09] *** ajpiano has quit IRC
[20:36:09] *** T-Co has quit IRC
[20:36:09] <danemacaulay> Zerot, nope, good here
[20:36:10] *** alekibango has quit IRC
[20:36:10] <Zerot> or the $inject notation
[20:36:11] *** chrysn has joined #angularjs
[20:36:11] *** nCrazed has joined #angularjs
[20:36:11] *** tga has joined #angularjs
[20:36:12] *** akoenig has joined #angularjs
[20:36:12] *** tuhoojabotti has joined #angularjs
[20:36:13] *** efdee has joined #angularjs
[20:36:13] *** ajpiano has joined #angularjs
[20:36:13] *** snzmn has joined #angularjs
[20:36:13] *** Zeeshan_M has joined #angularjs
[20:36:17] <danemacaulay> Zerot, if i simple comment out the .run block everything works
[20:36:18] *** olli- has joined #angularjs
[20:36:28] *** novist has joined #angularjs
[20:36:29] *** Sebastien-L has quit IRC
[20:36:33] *** oal has joined #angularjs
[20:36:36] <Zerot> danemacaulay: plunker the run block?
[20:36:38] *** s2hc_johan has joined #angularjs
[20:36:47] <Zerot> danemacaulay: do you get any errors in the console?
[20:36:55] *** szuja has joined #angularjs
[20:36:57] *** raijin has joined #angularjs
[20:37:11] <danemacaulay> Zerot, ya, putting it up on plunker, one sec
[20:37:18] *** darkelda has quit IRC
[20:37:22] *** mettjus has joined #angularjs
[20:37:28] *** JasonSto_ has joined #angularjs
[20:37:28] *** novist has joined #angularjs
[20:37:48] *** alekibango has joined #angularjs
[20:38:00] *** MaxV has joined #angularjs
[20:38:12] *** ckboii89 has joined #angularjs
[20:38:31] *** mindlace has quit IRC
[20:38:32] *** ngbot has joined #angularjs
[20:38:32] <ngbot> angular.js/master 20f4f63 Igor Minar: style(ngBindHtml): semicolon\!
[20:38:32] *** ngbot has left #angularjs
[20:38:35] *** alekibango has quit IRC
[20:39:05] <danemacaulay> Zerot, Uncaught Error: [$injector:unpr] Unknown provider: eProvider <- e <- $http <- $compile
[20:39:26] <danemacaulay> the code base is a little out of the ordinary at times
[20:39:32] <danemacaulay> they iterate over all the modules
[20:39:36] *** jlevstein has quit IRC
[20:39:44] *** RichardLitt has quit IRC
[20:39:59] <danemacaulay> they had problems with the older version of http interceptors
[20:40:08] <danemacaulay> these have been resolved though
[20:40:16] *** Hounddog has quit IRC
[20:40:45] *** oste has joined #angularjs
[20:41:02] *** JasonStoltz has quit IRC
[20:41:24] *** chrisbirk has quit IRC
[20:41:27] *** Notte has joined #angularjs
[20:41:55] *** jstroem has quit IRC
[20:42:13] *** lsiv568 has joined #angularjs
[20:42:23] *** oste has quit IRC
[20:42:49] *** lsiv568 has quit IRC
[20:43:11] *** wilmoore has quit IRC
[20:43:11] *** ppppaul has joined #angularjs
[20:43:12] *** davi has quit IRC
[20:44:05] *** ckboii89 has quit IRC
[20:44:10] <thomasfuston> hmm, someon is using pouchdb with angularjs, and could share some codeexamples? :)
[20:44:16] *** cthrax has quit IRC
[20:44:32] *** MTGap has joined #angularjs
[20:44:48] *** dmack has joined #angularjs
[20:44:53] *** kbiela has joined #angularjs
[20:45:28] *** jbogarin has joined #angularjs
[20:45:54] *** visionary has quit IRC
[20:46:30] *** nemothekid has quit IRC
[20:46:56] <Zerot> danemacaulay: I think I see the problem
[20:47:08] <Zerot> you are not correctly setting the inject parameters for the decorator
[20:47:25] <Zerot> you aren't using the array notation there
[20:47:30] *** waylon999 has quit IRC
[20:47:30] *** universa1 has joined #angularjs
[20:48:15] <danemacaulay> dude! wow
[20:48:19] *** retzloff has quit IRC
[20:48:24] *** lsiv568 has joined #angularjs
[20:48:44] *** JasonSto_ has quit IRC
[20:48:54] <danemacaulay> I've never been this deep in angular before, wouldn't have ever known that was necessary
[20:49:06] *** nanoyak has joined #angularjs
[20:49:06] <danemacaulay> testing
[20:49:25] *** ededagic has joined #angularjs
[20:49:25] <Zerot> well, the way that code is abusing provider it is no wonder you are getting confused
[20:49:54] <danemacaulay> hehe
[20:50:02] <danemacaulay> ya dude named 'Reason' wrote it
[20:50:06] <danemacaulay> that was his name
[20:50:17] <danemacaulay> :D
[20:50:28] *** Rebirth has quit IRC
[20:50:52] *** Rebirth has joined #angularjs
[20:53:07] *** nanoyak has quit IRC
[20:53:48] *** bphogan is now known as bphogan_afk
[20:54:01] <danemacaulay> Zerot, so you're saying i need to use dependency injector syntax on the call to decorator?
[20:54:13] *** oste has joined #angularjs
[20:54:16] *** ratkinedba has joined #angularjs
[20:54:17] <mattboehm> if you are minifying, then yes
[20:54:17] <Zerot> yes
[20:54:46] <mattboehm> you need to use that anywhere where you're defining a function and the name of the arguments "matters"
[20:55:02] *** chrisbirk has joined #angularjs
[20:55:10] <danemacaulay> is this not doing that?
[20:55:11] *** nemothekid has joined #angularjs
[20:55:11] <danemacaulay> $provideRef.decorator('$http', function ($delegate) {
[20:55:46] *** ratkinedba has quit IRC
[20:56:01] <mattboehm> http is defined as a string but decorator isn't
[20:56:08] <mattboehm> so the minifier will change that variable name
[20:57:08] *** goodbomb_ has joined #angularjs
[20:57:28] *** goodbomb has quit IRC
[20:57:29] *** goodbomb_ is now known as goodbomb
[20:57:30] <mattboehm> er sorry, I meant "$delegate" isn't
[20:57:36] *** Rebirth has quit IRC
[20:57:37] *** DrShoggoth has joined #angularjs
[20:58:01] <danemacaulay> he's just changing the name right? $http will be injected as $delegate
[20:58:02] *** ckboii89 has joined #angularjs
[20:59:23] <mattboehm> http will be injected as that function iiuc
[20:59:28] *** rbs has quit IRC
[20:59:36] <mattboehm> I haven't messed with the provider to that extent
[20:59:55] <mattboehm> and the function depends on the $delegate builtin
[21:00:14] <danemacaulay> decorator takes two arguments, name, decorator
[21:00:20] *** steve1985 has quit IRC
[21:00:31] *** dcherman has quit IRC
[21:00:38] *** lsiv568 has quit IRC
[21:00:40] <danemacaulay> one of the weird things is that he's yanking out the provider from the config block
[21:00:47] <danemacaulay> and using it in the run block
[21:01:23] *** zeroquake has quit IRC
[21:01:26] <goodbomb> It works as expected in plunkr, but in my actual app, that exact code doesn’t work as I would expect. If I select a state then switch countries, the selectedState doesn’t change.
[21:01:27] *** dcherman has joined #angularjs
[21:01:54] <goodbomb> as a result I get that blank option in with value=“?”
[21:02:00] *** phuh has quit IRC
[21:02:26] *** phuh has joined #angularjs
[21:03:21] *** Reskp has joined #angularjs
[21:03:42] *** lw has quit IRC
[21:03:47] *** eamonn has joined #angularjs
[21:03:59] *** dob_ has joined #angularjs
[21:05:08] *** richiebkr has quit IRC
[21:05:22] <davek> Well now I have.
[21:05:38] <OddDuck> davek, heh :-)
[21:05:48] *** Willow_ has quit IRC
[21:06:40] <mattboehm> goodbomb: if it's working in plunkr, it's likely due to a difference between the plunkr version and something in your real code so it'd be hard for us to help
[21:07:05] <mattboehm> fwiw you can rewrite countryChange to remove the if block entirely
[21:07:42] <mattboehm> $scope.states = $scope.statesList[selectedCountry.value]
[21:08:13] *** eamonn has quit IRC
[21:08:20] *** Rebirth has joined #angularjs
[21:08:30] *** Willow__ has joined #angularjs
[21:08:35] <mattboehm> furthermore, you could put the states list as an attribute of each country in $scope.countryList
[21:08:36] <goodbomb> mattboehm: figured as much, but thought I’d ask in case I was doing something wrong.
[21:08:47] *** Reskp has quit IRC
[21:08:47] <goodbomb> hmm, thanks for the tips
[21:08:59] *** andrewhl has joined #angularjs
[21:09:46] <mattboehm> yeah I doubt they'll solve your problem, but it's about all I can help with from just that plunkr
[21:10:18] *** Dchen has joined #angularjs
[21:10:36] *** Evanion has joined #angularjs
[21:10:54] *** mindlace has joined #angularjs
[21:11:34] <xastey> OddDuck isnt that just normal iframe security
[21:12:11]
<goodbomb> yeah, no worries. It’d be difficult to show you more as I’m using a very modular application structure (the one used in the Angular Boilerplate at https://github.com/ngbp/ngbp) along with browserify
[21:12:30] <OddDuck> xastey, I guess, although I'm not sure FF always enforced this. The spec seems to indicate that window.history should refer to history of the top level context, not window.
[21:12:40] *** lw has joined #angularjs
[21:12:58] <OddDuck> xastey, it's just that as-is, you cannot use angular in an iframe. I'd like to figure out a way to do that. It seems like the windows.history calls are the issue.
[21:13:25] <OddDuck> *windows.history should refer to history of joint session of top level context, not a private history for iframe
[21:14:00] <xastey> well that makes since, if the domains are now the same the iframe can't access the parent window history
[21:14:09] *** tgkokk has quit IRC
[21:14:16] <xastey> but shouldn't it be scoped to the iframe window and not parent
[21:15:00] <OddDuck> so in the iframe in firefox windows.history, is top.history
[21:15:25] <OddDuck> xastey, a bunch of angular stuff (for example $location.path()) manipulates windows.history under the covers in ways the violate Same origin policy in this circumstance
[21:15:49] <OddDuck> (since history is, in a standards compliant browser, an object associated with parent page)
[21:15:50] <dmack> so, why the hell don't parent state controller re-init in ui-router?
[21:16:30] *** mrwn has joined #angularjs
[21:17:06] *** mrwn has quit IRC
[21:17:24] *** mrwn has joined #angularjs
[21:17:46] *** RobinBAwesome has quit IRC
[21:18:47] *** JasonStoltz has joined #angularjs
[21:18:49] <xastey> I see OddDuck , so it seems like its a bug with FF the way you put it, doesn't happen in other browsers? I never experianced it myself but I always thought each window object was scoped to the current window, iframes getting new ones
[21:19:35] *** zwacky has joined #angularjs
[21:19:57] <OddDuck> xastey, it's FF specific for now in that they correctly implement standard
[21:19:59] *** RichardLitt has joined #angularjs
[21:21:31] *** hugorodrigues has quit IRC
[21:21:37] *** ngbot has joined #angularjs
[21:21:37] <ngbot> angular.js/master bd2fb3d Brian Ford: docs(changelog): release notes for 1.3.0-beta.16 pizza-transubstantiation
[21:21:38] *** ngbot has left #angularjs
[21:21:56] *** bkuberek has quit IRC
[21:22:05] *** hugorodrigues has joined #angularjs
[21:22:09] *** zombiek has quit IRC
[21:22:25] <OddDuck> xastey, (so angular is at odds with the standard; it's just that most browsers either don't follow the standard or don't properly enforce SOP)
[21:22:48] *** bkuberek has joined #angularjs
[21:23:20] *** MikeMatrix has joined #angularjs
[21:23:57] *** slainer68 has joined #angularjs
[21:23:58] *** MikeMatrix_ has quit IRC
[21:24:53] *** drej has quit IRC
[21:25:15] *** joshontheweb has quit IRC
[21:25:36] *** slainer6_ has joined #angularjs
[21:26:02] *** andrewhl has quit IRC
[21:26:29] *** phtes has joined #angularjs
[21:26:36] *** retzloff has joined #angularjs
[21:26:38] *** hugorodrigues has quit IRC
[21:27:02] *** andrewhl has joined #angularjs
[21:27:45] *** andrewhl has quit IRC
[21:28:11] *** waylon999 has joined #angularjs
[21:28:36] *** slainer68 has quit IRC
[21:28:57] *** Aliks_ has quit IRC
[21:29:21] *** zemanel has joined #angularjs
[21:30:10] *** drej has joined #angularjs
[21:32:31] *** BobbieBarker has joined #angularjs
[21:32:35] *** motionman has quit IRC
[21:32:50] <BobbieBarker> hey does anyone know how to pass state params to a child state with restangular?
[21:33:20] *** lw has quit IRC
[21:33:26] *** ericrav has joined #angularjs
[21:33:27] <BobbieBarker> i.e
[21:33:32] <BobbieBarker> ^^ that
[21:33:47] <BobbieBarker> Error: Duplicate parameter name 'id' in pattern '/events/:id/:id/members'
[21:33:52] <BobbieBarker> gives me that ^^
[21:33:53] *** scmx has joined #angularjs
[21:33:53] *** JasonStoltz has quit IRC
[21:34:42] <snapwich> that's a weird url structure
[21:35:04] <snapwich> why don't you do /events/:eventId/members/:memberId
[21:35:22] *** tgkokk has joined #angularjs
[21:35:24] *** JasonStoltz has joined #angularjs
[21:35:36] *** Silne30 has quit IRC
[21:35:40] *** danemacaulay has quit IRC
[21:35:58] *** richiebkr has joined #angularjs
[21:36:14] *** Silne30 has joined #angularjs
[21:36:48] <BobbieBarker> i dunno
[21:36:55] <BobbieBarker> i didn't write this portion of the app
[21:37:05] <BobbieBarker> or the API
[21:37:10] <snapwich> well at the very least use a different identifier for the ID so you don't get duplicate parameter error
[21:37:42] *** ericrav has quit IRC
[21:37:47] *** nemothekid has quit IRC
[21:38:12] <snurfery> BobbieBarker: in the events.overview.members state
[21:38:15] <snurfery> use a relative url
[21:38:22] <BobbieBarker> how to do?
[21:38:23] <snurfery> url: 'members'
[21:38:36] <snurfery> it'll automatically prepend the url of the parent state
[21:38:46] <BobbieBarker> thats what i was trying to do thanks
[21:38:49] <snurfery> np
[21:38:54] <BobbieBarker> i was sitting here for the last 40 reqding the ui router docs
[21:38:55] <BobbieBarker> getting nothing
[21:39:18] <BobbieBarker> hopefully this works
[21:39:41] *** nemothekid has joined #angularjs
[21:39:49] <BobbieBarker> Missing required parameter 'id' in state 'events.overview.members'
[21:39:49] *** wilmoore has joined #angularjs
[21:39:50] *** gnrlbzik has quit IRC
[21:40:00] <BobbieBarker> because i'm using $stateParams in the resolve
[21:40:10] <BobbieBarker> how do i get the resolve to STFU and grab the stuff that is fed to it
[21:40:12] *** lw has joined #angularjs
[21:40:23] *** richiebkr has quit IRC
[21:40:36] <snurfery> there's a way, lemme see where you're constructing the url
[21:40:44] <snurfery> ui-sref="events.overview....."
[21:40:59] <BobbieBarker> events.overview.members
[21:41:08] <BobbieBarker> oh the ui-sref
[21:41:09] <BobbieBarker> holdon
[21:41:11] <snurfery> lemme see the whole ui-sref yeah
[21:41:30] <BobbieBarker> a class="members-link" ng-href="/events/{{event.id}}/members">
[21:41:35] *** D-Boy has quit IRC
[21:41:37] <snurfery> the point is that you have to pass an id in, even for child states
[21:42:03] <sal1191> is there a filter to remove html formatting and replace characters like to their respective character?
[21:42:12] *** mven_ has joined #angularjs
[21:42:13] <snurfery> <a href ui-sref="events.overview({id: event.id})">
[21:42:22] <sal1191> with*
[21:42:29] <snurfery> or , for the members link
[21:42:33] <BobbieBarker> snurf not really sure why he wrote the link like that
[21:42:34] *** mikedevita has quit IRC
[21:42:41] <snurfery> <a href ui-sref="events.overview.members({id: event.id})">
[21:42:42] *** nanoyak has joined #angularjs
[21:42:44] *** jstroem has joined #angularjs
[21:43:04] *** mettjus has quit IRC
[21:43:06] <snurfery> (the second one might be a little wrong)
[21:43:08] *** mikedevita has joined #angularjs
[21:43:18] *** visionary has joined #angularjs
[21:43:19] <snurfery> (if it doesn't work try <a href ui-sref="events.overview({id: event.id}).members"> )
[21:44:03] <snurfery> another protip that might save you some time
[21:44:12] *** sonofdir_ has joined #angularjs
[21:44:17] <Dchen> anyone wanna help me figure out why the console on my site is going nuts with unloaded images but they are really loading?
[21:44:18] *** JimTheDev has joined #angularjs
[21:44:24] <snurfery> let's say you are on events.overview for a certain ID already
[21:44:34] <snurfery> and you want to link to the members page
[21:44:36] *** sonofdirt has quit IRC
[21:44:38] <Dchen> click on property, console chaos
[21:44:47] <snurfery> you can just do <a href ui-sref=".members">
[21:44:47] <BobbieBarker> snurfery this thing is take a shit on refresh
[21:45:21] <BobbieBarker> ncaught Error: [$injector:modulerr] Failed to instantiate module eventcollab due to: Error: [$injector:modulerr] Failed to instantiate module eventcollab.events due to: Error: Missing required parameter 'id' in state 'events.overview.members' ...<omitted>...1)
[21:45:32] *** erry has joined #angularjs
[21:45:35] <erry> is something wrong with this?
[21:45:36] <erry> <input type="checkbox" ng-checked="!isPrivate" ng-change="makePrivate(!this.checked)" />
[21:45:38] *** tgkokk has quit IRC
[21:45:42] *** benjamingr has joined #angularjs
[21:45:49] <BobbieBarker> erry no that looks right
[21:45:53] <erry> it's erroring
[21:46:04] <erry> no idea what that means.. :p
[21:46:07] *** tgkokk has joined #angularjs
[21:46:12] <BobbieBarker> you need an ng-model
[21:46:21] <snurfery> nice.
[21:46:24] *** hswolff has quit IRC
[21:46:59] <BobbieBarker> ng-model="isPrivate" or w/e your scope variable is then pass that through your ng-change too
[21:47:06] *** jstroem has quit IRC
[21:47:21] <BobbieBarker> snurf help me get ui router to quit taking a dump on me
[21:47:26] <snurfery> BobbieBarker: you gotta find your ui-sref's and make sure that you pass in the id
[21:47:28] *** Notte has quit IRC
[21:47:30] <snurfery> what is it currently
[21:47:45] *** mikedevita has quit IRC
[21:47:46] *** cthrax has joined #angularjs
[21:47:48] <BobbieBarker> like the link?
[21:47:54] <snurfery> yeah
[21:48:06] <BobbieBarker> <a class="members-link" href ui-sref=".members">
[21:48:23] <snurfery> is that in events.overview.html ?
[21:48:43] <BobbieBarker> it's in a partial
[21:48:49] *** richiebkr has joined #angularjs
[21:48:53] <BobbieBarker> that should fall under the scope of events.overview
[21:49:25] *** jacuqesdancona has joined #angularjs
[21:49:26] <snurfery> and what's the url you're at right now (you can leave the hostname out)
[21:49:37] *** aslate has joined #angularjs
[21:50:04] <snurfery> /events/666 or something?
[21:50:24] <BobbieBarker> yeah but it actually won't let me get anywhere
[21:50:29] <BobbieBarker> in the thing
[21:50:31] *** mguillech has quit IRC
[21:50:33] <BobbieBarker> ui-router is just taking a shit all over everything
[21:50:43] <jobelenus> heh
[21:50:43] *** RandyT has quit IRC
[21:51:30] <BobbieBarker> that resolve that i highlighted as the offender is what i'm pretty sure is causing the cock blockage
[21:51:36] *** sonofdir_ has quit IRC
[21:51:46] <snurfery> BobbieBarker: you didn't fix the members link
[21:51:51] <snurfery> err url
[21:52:00] <snurfery> line 16 of that laravel link
[21:52:00] <BobbieBarker> ??
[21:52:08] <snurfery> url: 'members'
[21:52:16] <BobbieBarker> i did dude
[21:52:20] <BobbieBarker> thats just the original paste bin
[21:52:39] *** apetro__ has joined #angularjs
[21:52:41] <snurfery> oh ok, I thought you posted an updated one to laravel
[21:52:43] *** nanoyak has quit IRC
[21:52:55] <BobbieBarker> that right there is updated
[21:53:23] *** fedenunez has quit IRC
[21:53:25] <snurfery> so wait
[21:53:30] *** RandyT has joined #angularjs
[21:53:32] <snurfery> your parent scope is resolving it
[21:53:32] *** jacuqesdancona has quit IRC
[21:53:40] <snurfery> why would your child scope need to resolve it again?
[21:53:48] <BobbieBarker> in regards to what?
[21:53:51] <BobbieBarker> the state param?
[21:53:53] <snurfery> event
[21:53:59] <snurfery> using stateparams.id
[21:54:06] *** aslate has quit IRC
[21:54:16] <BobbieBarker> i dunno i'm refactoring and this is kind of virgin territory for me
[21:54:22] <snurfery> the child state doesn't have stateparams.id because ':id' isn't a part of the child's url
[21:54:24] <BobbieBarker> before everythign was siblings
[21:54:41] <BobbieBarker> okie so how do i deal with the resolve ?
[21:54:43] <snurfery> I think
[21:54:45] <snurfery> let's see
[21:54:55] *** sonofdirt has joined #angularjs
[21:55:08] *** DrMabuse has quit IRC
[21:55:09] *** oniijin has quit IRC
[21:55:09] *** edzez has quit IRC
[21:55:10] *** Guest25876 has quit IRC
[21:55:10] *** Siecje1 has quit IRC
[21:55:10] *** subnl has quit IRC
[21:55:11] *** zenw0lf has quit IRC
[21:55:13] *** the-erm has quit IRC
[21:55:13] *** jdcasey has quit IRC
[21:55:14] *** enigmarm has quit IRC
[21:55:14] *** mary5030 has quit IRC
[21:55:15] *** TorchDragon has quit IRC
[21:55:16] *** faddah has quit IRC
[21:55:16] *** steffengy1 has quit IRC
[21:55:17] *** sal1191 has quit IRC
[21:55:18] *** nonsenz has quit IRC
[21:55:20] *** davek has quit IRC
[21:55:21] *** sal1191 has joined #angularjs
[21:55:23] *** snapwich has quit IRC
[21:55:24] *** bradmc has quit IRC
[21:55:24] *** JakeSays has quit IRC
[21:55:25] *** endash has quit IRC
[21:55:25] *** mmitche__ has quit IRC
[21:55:28] *** vbabiy has quit IRC
[21:55:28] *** squeakytoy2 has quit IRC
[21:55:29] *** noobee has quit IRC
[21:55:29] *** Simone\ has quit IRC
[21:55:31] *** Left_Turn has quit IRC
[21:55:31] *** cobakobodob has quit IRC
[21:55:33] *** thomasfuston has quit IRC
[21:55:34] *** Kingdutch has quit IRC
[21:55:34] *** lahwran has quit IRC
[21:55:35] *** lancero has quit IRC
[21:55:35] *** shepheb has quit IRC
[21:55:36] *** G1eb has quit IRC
[21:55:36] *** zenw0lf has joined #angularjs
[21:55:38] *** Kingdutch has joined #angularjs
[21:55:38] *** Simone\ has joined #angularjs
[21:55:38] *** jdcasey has joined #angularjs
[21:55:39] <BobbieBarker> what would be really cool is if the event provider was just availabled to chilldren of events.overview
[21:55:39] *** faddah has joined #angularjs
[21:55:40] *** subnl has joined #angularjs
[21:55:40] *** edzez has joined #angularjs
[21:55:40] *** davek has joined #angularjs
[21:55:41] *** JakeSays has joined #angularjs
[21:55:41] <erry> and how do i access the checked from that code?
[21:55:41] *** enigmarm has joined #angularjs
[21:55:42] *** shepheb has joined #angularjs
[21:55:43] <BobbieBarker> so the resolve was just public
[21:55:43] *** thomasfuston has joined #angularjs
[21:55:43] <erry> i tried the model_name.checked
[21:55:45] *** DrMabuse has joined #angularjs
[21:55:46] *** lancero has joined #angularjs
[21:55:46] *** bradmc has joined #angularjs
[21:55:46] *** mary5030 has joined #angularjs
[21:55:47] <snurfery> BobbieBarker: it can
[21:55:48] *** rodr1go has joined #angularjs
[21:55:48] *** Left_Turn has joined #angularjs
[21:55:48] *** _jpfm has joined #angularjs
[21:55:49] *** cobakobodob has joined #angularjs
[21:55:53] *** the-erm has joined #angularjs
[21:55:55] *** vbabiy has joined #angularjs
[21:55:56] *** mmitchel_ has joined #angularjs
[21:55:56] *** apetro_ has quit IRC
[21:55:58] *** oniijin has joined #angularjs
[21:56:04] <snurfery> just attach it to $scope in the parent's controller
[21:56:04] *** nonsenz has joined #angularjs
[21:56:08] *** subnl has left #angularjs
[21:56:10] *** rodr1go is now known as Guest76670
[21:56:13] *** Siecje1 has joined #angularjs
[21:56:15] *** lahwran has joined #angularjs
[21:56:19] *** steffengy has joined #angularjs
[21:56:27] <snurfery> in EventOverviewCtrl: $scope.event = event;
[21:56:34] *** squeakytoy2 has joined #angularjs
[21:56:35] *** juanlas has quit IRC
[21:56:39] *** MTGap has quit IRC
[21:56:44] *** map7 has quit IRC
[21:56:46] *** TorchDragon has joined #angularjs
[21:56:46] *** D-Boy has joined #angularjs
[21:56:46] *** shackleford has quit IRC
[21:56:56] *** nemothekid has quit IRC
[21:57:03] <snurfery> then, since EventMembersCtrl is a child controller/scope, it'll automatically have access to it as $scope.event
[21:57:04] *** map7 has joined #angularjs
[21:57:13] *** snapwich has joined #angularjs
[21:57:13] *** sonofdir_ has joined #angularjs
[21:57:24] *** Trow2 has quit IRC
[21:57:30] <BobbieBarker> fucking a man ok one last hurdle
[21:57:38] <snurfery> that's the perfect way to do it. resolve it once on the parent, attach it to the parent's $scope, then all the children will have access to it
[21:57:39] *** fourq_ has quit IRC
[21:57:53] <BobbieBarker> snurfery thats what i was thinking i just needed a little help getting down the line
[21:58:00] *** bphogan_afk is now known as bphogan
[21:58:04] *** IanOlson has quit IRC
[21:58:16] *** ehynds has quit IRC
[21:58:21] <snurfery> np np, I had to re-work a bunch of my routes after I figured out how resolve worked
[21:58:23] *** MTGap has joined #angularjs
[21:58:27] *** waylon999 has quit IRC
[21:58:30] <BobbieBarker> hey
[21:58:32] *** drej has quit IRC
[21:58:36] <snurfery> I think I spent an entire night doing exotic shit before I figured it out
[21:58:47] *** jeffszusz has quit IRC
[21:58:50] <BobbieBarker> Uncaught Error: [$injector:modulerr] Failed to instantiate module eventcollab due to: Error: [$injector:modulerr] Failed to instantiate module eventcollab.events due to: Error: Missing required parameter 'id' in state 'events.overview.members' ...<omitted>...1)
[21:58:55] <BobbieBarker> i'm still getting this fucking shit
[21:59:06] *** sonofdirt has quit IRC
[21:59:19] *** nemothekid has joined #angularjs
[21:59:24] <snurfery> that ui-sref link
[21:59:27] *** sonofdir_ has quit IRC
[21:59:34] *** sonofdirt has joined #angularjs
[21:59:47] *** ppppaul has quit IRC
[21:59:55] <xastey> man grunt-watch is getting slow now :/
[22:00:00] <BobbieBarker> that link is balls deep into the app, and the error is just hanging i closd the broswer and tried to come back to it
[22:00:00] *** sonofdirt has quit IRC
[22:00:25] <snurfery> change it to a full url like this <a href ui-sref="events.overview.members({id: event.id})">
[22:00:27] <BobbieBarker> a class="members-link" href ui-sref=".members" <-- like this?
[22:00:31] *** sonofdirt has joined #angularjs
[22:00:47] <BobbieBarker> '<a class="members-link" href ui-sref="events.overview({id: event.id}).members">' <-- is what i have atm
[22:00:59] *** gnrlbzik has joined #angularjs
[22:01:28] *** waylon999 has joined #angularjs
[22:01:32] <snurfery> try the one I just posted, mebbe it'll work
[22:01:41] <BobbieBarker> nope
[22:01:47] *** ingshtrom has quit IRC
[22:01:52] *** lsiv568 has joined #angularjs
[22:01:54] <BobbieBarker> i don't see why a link balls deep into the app is stoping me from using the login page
[22:02:01] *** phuh has quit IRC
[22:02:05] <phtes> Hi could anyone assist me with a data struct issue?
[22:02:15] <BobbieBarker> yeah post your question phtes i'll look at it
[22:02:28] *** phuh has joined #angularjs
[22:02:33] <BobbieBarker> pref use a pastebin or laravel.io don't spam it up in here
[22:02:34] *** shackleford has joined #angularjs
[22:02:41] <phtes> Ok thanks
[22:02:55] *** fourq has quit IRC
[22:03:00] *** fourq_ has joined #angularjs
[22:03:10] *** fourq_ is now known as fourq
[22:03:26] <BobbieBarker> i'm starting to get annoyed this seems like it should be fucking simple
[22:03:34] *** mary5030 has quit IRC
[22:03:59] *** hswolff has joined #angularjs
[22:04:08] *** retzloff has quit IRC
[22:04:35] *** teslanick has quit IRC
[22:04:41] *** juanlas has joined #angularjs
[22:04:44] *** Reskp has joined #angularjs
[22:04:46] <snurfery> hmm
[22:04:59] <snurfery> random idea, maybe the url needs a forwardslash at the beginning
[22:05:04] <snurfery> '/members'
[22:05:21] <snurfery> otherwise <a href ui-sref="events.overview.members({id: event.id})"> should work for sure, the syntax looks good
[22:05:32] <snurfery> (I checked) so it's gotta be something else
[22:05:36] <BobbieBarker> it's def soemthing in the config i deleted the link out of the app and it still gave me the same error
[22:06:23] *** lsiv568 has quit IRC
[22:06:30] <snurfery> yeah all the urls I see in the documentation have a forwardslash at the beginning
[22:06:37] <snurfery> so try "/members"
[22:07:35] <BobbieBarker> that got rid of the error now when i go click on the link ui-router says it transititions the state successfully but it doesn't actually change the page
[22:07:49] *** teeray has quit IRC
[22:07:54] *** cthrax has quit IRC
[22:08:08] *** stevvooe_ has joined #angularjs
[22:08:11] *** toastynerd has quit IRC
[22:08:19] <BobbieBarker> it also doesn't hit the controller for the events.overview.members state either
[22:09:23] *** toastynerd has joined #angularjs
[22:09:25] *** Reskp has quit IRC
[22:09:25] *** stevvooe has quit IRC
[22:10:07] *** mspier is now known as mspier_off
[22:11:16] *** scmx has quit IRC
[22:11:27] *** GItu has joined #angularjs
[22:11:28] *** cthrax has joined #angularjs
[22:11:51] *** GItu has left #angularjs
[22:11:53] <phtes> any insight?
[22:12:03] *** s3shs has joined #angularjs
[22:12:44] <BobbieBarker> whats the problem phtes?
[22:12:59] <BobbieBarker> navigating those objects>
[22:13:14] <phtes> Insertign the media:thumbnail.url of the struct into a ng-src
[22:13:23] <phtes> the : causes a parse rror
[22:13:42] <snurfery> BobbieBarker: aight so what's your ui-sref link look like now
[22:13:46] <snurfery> phew
[22:13:59] <BobbieBarker> '<a class="members-link" href ui-sref="events.overview.members({id: event.id})">'
[22:14:02] <phtes> How do i dictionary notate the struct when its dependant on a count value i.e see items[count].medial:thumbnail.url
[22:14:13] <BobbieBarker> phtes dude generate the URLS inside a diretive/controller then use ngrepeat
[22:14:17] <BobbieBarker> and dump them into your view that way
[22:14:28] *** xastey has quit IRC
[22:14:52] <BobbieBarker> the parse error is happening cuz html doesn't give a shit about your array
[22:15:04] *** ceephax has joined #angularjs
[22:15:09] <phtes> but it works in a p tag?
[22:15:12] <phtes> interesting
[22:15:17] <phtes> ok
[22:15:28] <BobbieBarker> if you move it into a directive you could use it through out your site
[22:15:31] <BobbieBarker> or app
[22:15:33] <BobbieBarker> or on dif projects
[22:15:49] *** Jdubs has joined #angularjs
[22:16:14] <BobbieBarker> then you just do something like ng-repeat="image in images" <img src={{image}} /> you get the idea
[22:16:34] *** xastey has joined #angularjs
[22:16:48] <phtes> I get the same : parse error inside the controller
[22:17:35] *** teeray has joined #angularjs
[22:17:46] *** tarkus has joined #angularjs
[22:18:18] *** mattwynne has quit IRC
[22:18:24] *** ascarter has joined #angularjs
[22:18:26] *** whunt has joined #angularjs
[22:19:00] *** teslanick has joined #angularjs
[22:19:39] <BobbieBarker> something close to that should work
[22:19:54] <BobbieBarker> dunno if you're using lodash
[22:20:02] <BobbieBarker> but if you're not you should
[22:20:10] <BobbieBarker> cuz it's fuckign sweet
[22:20:35] <BobbieBarker> snurfery wtf do i do dude
[22:20:36] <phtes> lol it didnt know about it
[22:20:40] <phtes> i *
[22:21:11] <mrogne_busy> doesn't angular have a forEach?
[22:21:36] *** Obversity_ has quit IRC
[22:21:51] <snurfery> it does
[22:21:56] *** cswelin has quit IRC
[22:22:10] <snurfery> BobbieBarker: I lost track of the convo, what's up? link still blowing up?
[22:22:38] *** mspier_off is now known as mspier
[22:22:38] *** bengillies has joined #angularjs
[22:22:45] *** sonofdirt has quit IRC
[22:22:48] <BobbieBarker> nah bro what happens is i click on the link, ui-router says that it changes the statesuccessfully but i'm still looking at the same page. On top of that it would appear that the controllers/partials don't get activated
[22:23:29] <snurfery> BobbieBarker: does the url cahnge?
[22:23:29] *** the-erm has quit IRC
[22:23:31] <snurfery> change*
[22:23:43] <BobbieBarker> yeah
[22:24:32] *** klaut has joined #angularjs
[22:24:41] *** cswelin has joined #angularjs
[22:24:41] <snurfery> ok so that's good, do you have <ui-view> in your events.overview.html template?
[22:24:47] *** tgkokk has quit IRC
[22:25:01] <snurfery> or <div ui-view>, same deal
[22:25:10] *** bengillies has quit IRC
[22:25:10] *** Jdubs has quit IRC
[22:25:15] <BobbieBarker> <-- this what you're talking about i was just reading on it
[22:25:42] *** the-erm has joined #angularjs
[22:25:43] *** mspier is now known as mspier_off
[22:25:48] <snurfery> your events.overview.html needs to have a <div ui-view></div> to signal where child states should render their content
[22:26:11] *** RobinBAwesome has joined #angularjs
[22:26:14] <BobbieBarker> oh shit
[22:26:16] <snurfery> it could be a top-level container div, in which case the child state would completely replace the contents of the page
[22:26:19] <BobbieBarker> so what if i want the parent UI view to go away
[22:26:23] <BobbieBarker> you read my mind
[22:26:24] *** mspier_off is now known as mspier
[22:26:25] <snurfery> see above ^
[22:26:27] <snurfery> =)
[22:26:42] *** JimTheDev has quit IRC
[22:26:45] <icfantv> is injecting styles (not CSS classes) frowned upon? i'm doing an ng-repeat with style="width: {{ object.property }}%;"
[22:26:58] <icfantv> it makes me feel bad, so i assume i'm doing something bad
[22:27:03] <snurfery> but children states can't break out of the <div ui-view> on the parent
[22:27:13] *** Jdubs has joined #angularjs
[22:27:13] *** pfooti has joined #angularjs
[22:27:21] <BobbieBarker> snurf dude i think we did it
[22:27:23] <snurfery> i.e. some state can't rewrite your base <html> tag or something
[22:27:32] <snurfery> youdaman
[22:27:36] <BobbieBarker> nah you are
[22:27:38] <BobbieBarker> thanks dude
[22:27:48] <BobbieBarker> totally just got an education on ui-router
[22:27:57] *** ericrav has joined #angularjs
[22:28:10] *** Aliks_ has joined #angularjs
[22:28:17] <snurfery> np, I think that's why I'm eager to pass it on because it was pretty frustrating figuring it out
[22:28:20] <snurfery> =)
[22:28:26] *** apetro__ has quit IRC
[22:28:36] <snurfery> but it makes perfect sense once it makes sense haha
[22:28:38] *** G1eb has joined #angularjs
[22:28:44] *** chrisbirk has quit IRC
[22:28:51] *** G1eb has quit IRC
[22:28:52] *** G1eb has joined #angularjs
[22:29:00] *** Evanion has quit IRC
[22:29:19] *** Notte has joined #angularjs
[22:30:13] *** zippy1981 has quit IRC
[22:30:16] *** mrwn has quit IRC
[22:30:29] <nickeddy> is there a way for a <select>'s option to be objects?
[22:30:32] <phtes> BobbieBarker, I'm not repeatign the entire struct, I only pull 1 at a time and use buttons to increase / decrease count and load in content.value.items[count].someLabel
[22:30:45] *** flocca has quit IRC
[22:30:57] *** marr has joined #angularjs
[22:30:58] <BobbieBarker> oh
[22:31:12] *** flocca has joined #angularjs
[22:31:15] <BobbieBarker> well it will still work just drop the ng-repeat part
[22:31:17] <nickeddy> ah
[22:31:20] <BobbieBarker> well should still work*
[22:31:21] <nickeddy> nevermind :P
[22:31:22] <phtes> So I udnerstand using [] notation, but not when im using a count variable on part of the struct
[22:31:33] *** mityaz has quit IRC
[22:31:49] <BobbieBarker> snurfery ya once it is in place it actually seems like an even better way to structure shit
[22:31:57] <snurfery> exacccctly
[22:32:08] *** mspier is now known as mspier_off
[22:32:10] <BobbieBarker> cuz think about it now when they go from events.overcview to events.overview.members they won't hit the db tx
[22:32:11] *** Siecje1 has quit IRC
[22:32:12] <BobbieBarker> 2x
[22:32:13] <snurfery> just a little heavy on the initially-figuring-shit-out stage
[22:32:14] *** D-Boy has quit IRC
[22:32:17] *** ericrav has quit IRC
[22:32:18] <snurfery> yup
[22:32:24] <BobbieBarker> so it should help with server performance
[22:32:31] <BobbieBarker> not getting the dog shit hammered out of it on each page reload
[22:32:51] *** BillCriswell has quit IRC
[22:32:54] <BobbieBarker> i feel like my employer should pay me more money
[22:32:56] <BobbieBarker> lol
[22:33:22] *** chrisbirk has joined #angularjs
[22:33:48] *** ericrav has joined #angularjs
[22:34:25] *** eamonn has joined #angularjs
[22:35:04] *** markisonfire has joined #angularjs
[22:35:20] *** rhp has joined #angularjs
[22:35:46] *** chrisbirk has quit IRC
[22:36:03] *** flocca has quit IRC
[22:36:08] *** recidive has quit IRC
[22:36:16] *** zemanel has quit IRC
[22:36:46] *** D-Boy has joined #angularjs
[22:37:01] *** sonofdirt has joined #angularjs
[22:37:03] *** jtimon has quit IRC
[22:37:03] *** mspier_off is now known as mspier
[22:37:20] *** DrMabuse has quit IRC
[22:38:22] *** hugorodrigues has joined #angularjs
[22:38:24] *** ericrav has quit IRC
[22:38:34] *** kbiela has quit IRC
[22:38:53] *** eamonn has quit IRC
[22:39:02] *** aslate has joined #angularjs
[22:39:58] *** Jdubs has quit IRC
[22:40:17] <snapwich> i remember something was changing in future versions of angular with directive's replace option. was it that they're removing it? or it's just no longer merging elements?
[22:40:30] <snapwich> err merging attributes i should say
[22:41:31] <cthrax> snapwich, if by changing you mean removing, you're correct
[22:41:38] <snapwich> ya, thx
[22:41:40] *** jstroem has joined #angularjs
[22:42:28] *** ishi has quit IRC
[22:42:53] *** hugorodrigues has quit IRC
[22:43:00] *** dnxt has joined #angularjs
[22:43:02] <davek> Sooo angular won't even compile <br> in interpolated text? Cmon now.
[22:43:22] *** aslate has quit IRC
[22:43:25] <nickeddy> son of a bitch
[22:43:41] *** jerev_away is now known as jerev
[22:44:31] *** mfunkie has quit IRC
[22:45:15] *** gnrlbzik has quit IRC
[22:45:43] *** sbeam has joined #angularjs
[22:46:03] *** goodbomb has quit IRC
[22:47:15] *** Jdubs has joined #angularjs
[22:47:20] *** sbeam has quit IRC
[22:47:45] *** teeray has quit IRC
[22:48:42] *** apetro_ has joined #angularjs
[22:49:07] *** apetro_ has quit IRC
[22:49:15] *** hswolff has quit IRC
[22:49:22] *** dnxt has quit IRC
[22:49:24] *** apetro_ has joined #angularjs
[22:49:30] *** JimTheDev has joined #angularjs
[22:49:30] *** Notte has quit IRC
[22:49:39] *** plex0r has joined #angularjs
[22:49:50] *** s3shs has quit IRC
[22:49:54] *** hswolff has joined #angularjs
[22:50:32] *** ngbot has joined #angularjs
[22:50:33] <ngbot> angular.js/master aa7dbf0 Peter Bacon Darwin: docs(indexPage): move latest versions to the top...
[22:50:33] *** ngbot has left #angularjs
[22:52:11] *** FIFOd[a] has quit IRC
[22:53:05] *** tmrudick has quit IRC
[22:54:10] *** cboden has quit IRC
[22:54:26] *** teslanick has quit IRC
[22:54:46] *** jobelenus has quit IRC
[22:56:20] *** Nijikokun has quit IRC
[22:56:27] *** lw has quit IRC
[22:56:40] *** cboden has joined #angularjs
[22:56:42] *** BrianHutch has joined #angularjs
[22:57:08] *** BrianHutch has joined #angularjs
[22:57:46] *** BrianHutch has left #angularjs
[22:57:52] *** danizord has quit IRC
[22:57:55] *** deleium_ has quit IRC
[22:58:05] *** ascarter has quit IRC
[22:58:20] *** amargherio has quit IRC
[22:59:01] <ckboii89> hello hello anyone here
[22:59:08] <sal1191> howdy
[22:59:28] <Climax777> is there a angular ui channel?
[22:59:34] <ckboii89> can ng-if be used to check on ng-model
[22:59:40] *** cboden has quit IRC
[23:00:09] *** TorchDragon has quit IRC
[23:00:12] *** svycka has joined #angularjs
[23:00:31] *** Climax777 has quit IRC
[23:01:19] *** icfantv has quit IRC
[23:02:01] <cacts|works> how do you mean ckboii89
[23:02:09] *** phuh has quit IRC
[23:02:10] <ckboii89> so
[23:02:12] <cacts|works> ng-model binds to something on the scope and so does ng-if
[23:02:20] <ckboii89> im using a typeahead
[23:02:23] *** markisonfire has quit IRC
[23:02:36] *** phuh has joined #angularjs
[23:02:45] *** anjumkaiser has joined #angularjs
[23:02:45] <ckboii89> in one of the input forms
[23:02:48] *** MaxV has quit IRC
[23:03:22] <ckboii89> a text area auto completes based on what the user selects from the typeahead
[23:04:15] *** nanoyak has joined #angularjs
[23:04:23] <ckboii89> which is fine if the thing exists in the backend. But if it doesn't, the text area gets auto filled with the custom input from the user. I dont want that, iwant the autofill to return nothing
[23:04:41] *** shackleford has quit IRC
[23:05:27] *** chrisbirk has joined #angularjs
[23:05:34] *** Reskp has joined #angularjs
[23:05:56] *** stevvooe has joined #angularjs
[23:06:09] *** goodbomb has joined #angularjs
[23:06:33] *** stevvooe_ has quit IRC
[23:06:42] *** morenoh149 has joined #angularjs
[23:07:25] *** drej has joined #angularjs
[23:07:45] <ckboii89> @robdubya neeeeeed yoouuu
[23:08:25] *** drej has joined #angularjs
[23:08:41] *** lsiv568 has joined #angularjs
[23:08:42] *** JoshGlzBrk has joined #angularjs
[23:09:03] *** nanoyak has quit IRC
[23:09:19] *** LoveAndHappiness has joined #angularjs
[23:09:27] *** gordroid has quit IRC
[23:09:35] *** nanoyak has joined #angularjs
[23:09:44] *** MaxV has joined #angularjs
[23:09:52] *** Reskp has quit IRC
[23:10:19] *** shackleford has joined #angularjs
[23:10:57] *** nanoyak has quit IRC
[23:11:14] *** boneskull has quit IRC
[23:11:42] *** tmrudick has joined #angularjs
[23:12:34] *** yoshokatana has quit IRC
[23:13:12] *** encrypt3d_fracti has quit IRC
[23:13:48] *** Ethix has joined #angularjs
[23:13:50] *** blueadept` has joined #angularjs
[23:14:15] *** dcherman2 has joined #angularjs
[23:14:20] *** cthrax has quit IRC
[23:14:29] *** apetro_ has quit IRC
[23:15:02] *** toastynerd has quit IRC
[23:15:54] *** cthrax has joined #angularjs
[23:16:22] *** LoveAndHappiness has quit IRC
[23:16:39] *** toastynerd has joined #angularjs
[23:16:54] *** LoveAndHappiness has joined #angularjs
[23:17:01] *** dcherman has quit IRC
[23:17:11] *** tfennelly has joined #angularjs
[23:17:39] *** jpstone- has joined #angularjs
[23:17:53] *** erry has left #angularjs
[23:17:59] *** blueadept has quit IRC
[23:18:30] <jpstone-> I have a scenario where a customer must pick between perhaps 30+ addresses. I want to create a filter, and allow them to choose what to filter by--address name, city, state, or zip using a <select>...and then use that value to determine how to filter
[23:18:39] <jpstone-> is that possible with just 1 custom filter?
[23:18:45] <jpstone-> just want to make sure I'm thinking about this correctly
[23:18:48] *** Jdubs has quit IRC
[23:18:57] *** dcherman2 has quit IRC
[23:19:01] *** mu has joined #angularjs
[23:19:01] *** phtes has left #angularjs
[23:19:28] *** Emperor_Earth has joined #angularjs
[23:19:48] *** JasonStoltz has quit IRC
[23:20:13] *** Reskp has joined #angularjs
[23:20:22] <mu> hey guys I'm trying to render a dropdown button in an ng-repeat, where the dropdown is a directive that uses a variable in $scope
[23:20:35] <jpstone-> or would it be better to just create a typeahead of some sort and call a service to remodel my model?
[23:20:46] <mu> so like in $scope I define an array of objects, each with a text and href attribute
[23:21:14] <mu> the problem is, the href attribute needs to have a value that will be obtained via the array that ng-repeat is iterating over
[23:21:28] *** dmack has quit IRC
[23:23:02] *** bayousof_ has joined #angularjs
[23:23:05] <mu> to provide the dropdown directive
[23:23:14] *** chrisbirk has quit IRC
[23:23:22] <mu> problem is, {{sp.var}} is not resolved to an actual string on the template
[23:23:27] *** nanoyak has joined #angularjs
[23:23:41] <Emperor_Earth> any restangular users in here? I'm have a question about the "one Restangular object" idea. - For now, I'm structuring my app so that all API calls to the rest backend go to foo.com/api/. This includes queries about users, "forum" topics, groups, events, etc. In this situation, do I make a global variable "Api" and assign Restangular.all('api')?
[23:23:53] <snapwich> no
[23:23:59] *** yoshokatana has joined #angularjs
[23:24:06] *** bayousoft has quit IRC
[23:24:20] *** mpaarating has quit IRC
[23:24:26] *** wilmoore has quit IRC
[23:25:12] <Emperor_Earth> snapwich, Rsetangular.all('[relative url']) is the same, and that's not really my question?
[23:25:18] *** Willow__ has quit IRC
[23:25:31] <Emperor_Earth> or maybe
[23:25:40] <Emperor_Earth> you';re saying that i'm supposed to make multiple restangular objects?
[23:25:54] *** Willow__ has joined #angularjs
[23:26:01] <xastey> yes Emperor_Earth
[23:26:14] <xastey> set your baseurl, then say you have foos, and bars
[23:26:29] <xastey> Restangular.service("foos"), Restangular.service("bars")
[23:26:41] <snapwich> i don't get it, queries to forms, groups, events all hit /api? they would hit /api/forums, /api/groups/ api/events etc, right?
[23:26:42] <Emperor_Earth> ah, so in my index-app.js, i set my base URL, then in user-app.js and group-app.js etc etc, i create new objects everytime
[23:26:43] <xastey> then chain your .one/.all etc calls to build your path
[23:26:43] <Emperor_Earth> correct?
[23:26:55] <Emperor_Earth> snapwich, yes, i mean they're all child directories of /api
[23:27:00] <snapwich> yeah that's fine
[23:27:10] <xastey> you can just create it once using .service then start from there
[23:27:12] <xastey> but yeah
[23:27:35] <Emperor_Earth> alright, where do i declare the object? in side the module ".config"?
[23:27:43] <Emperor_Earth> xastey
[23:27:46] *** ericrav has joined #angularjs
[23:27:48] <mmitchel_> is $templateCache a global component? Like, if I have 2 modules mucking around with $templateCache, will they be working on the same instance?
[23:27:51] *** ascarter has joined #angularjs
[23:27:54] <Emperor_Earth> xastey, so you're saying create it isnide the factory/service
[23:28:01] <Emperor_Earth> xastey the global object
[23:28:05] *** lucasefe has quit IRC
[23:28:08] *** Jdubs has joined #angularjs
[23:28:24] <snapwich> Emperor_Earch, you have a config block that sets the base url for your global restangular usage
[23:28:30] <snapwich> Earth, that is
[23:28:33] *** AlSquire has quit IRC
[23:28:42] *** pfooti has quit IRC
[23:28:47] *** yoshokatana has quit IRC
[23:28:50] <mu> so I guess my question boils down to: if I have a $scope.myVar = "{{someObj.var}}" how can I get my template to render the contents of someObj.var ?
[23:28:50] <xastey> then just inject your factory into your controllers
[23:29:22] <xastey> the alst one for search builds up the tree so its Companies.search == /api/search/companies
[23:29:31] *** mccarrontr1ck has quit IRC
[23:29:39] <snapwich> mu: angular templates automatically interpolate {{ }}
[23:29:44] <snapwich> so why are oyu attaching it to a scope variable first?
[23:29:49] <Emperor_Earth> so in summary: set base url in indexApp.config, init each Restangular object in fooApp.factory, and DI factories as needed.
[23:29:52] *** nemothekid has quit IRC
[23:29:59] <mu> snapwich: well
[23:30:04] <xastey> correct Emperor_Earth thats what I do
[23:30:08] *** Willow__ has quit IRC
[23:30:16] *** ETBlue has quit IRC
[23:30:24] <Emperor_Earth> xastey, thanks so much for your help. i'm sure i'll run into another wall in 5 minutes and bang on that one for an hour
[23:30:25] <xastey> add all your other methods to your factory like in the example and call those
[23:30:28] *** jdcasey has quit IRC
[23:30:37] <Emperor_Earth> alright, i think i know what you mean
[23:30:50] <Emperor_Earth> one more thing, are there some good example open source apps on github that use restangular?
[23:30:51] <mu> I have an ng-repeat that exposes an object that I want to reference in a scope variable that's rendered to the template
[23:31:15] <xastey> not that I know off.. all I know has been after using it for about 2months on my first angular project lol
[23:31:31] *** tsalb has joined #angularjs
[23:31:45] <snapwich> mu: i don't get what that pastebin is demonstrating
[23:31:46] <Emperor_Earth> oh, and a second thing, i was planning on eventually moving "foo.com/api" to "api.foo.com", that base url thing seems like it would make that transition quite quick from the angularjs. is that correct?\
[23:32:00] *** CodeFriar has joined #angularjs
[23:32:01] <xastey> its pretty nice.. after you get a hang of it you can attach methods to the actual objects return
[23:32:09] <mu> snapwich: ok, so bs-dropdown is a directive that takes an array of objects to define a drop down list.
[23:32:25] <Emperor_Earth> xastey, yeah. i feel like the community is really good at making tutorials for step 1-2, in a situation where you need 5 steps to do anything.
[23:32:27] <xastey> so in your code you only do company.listContacts() no more messing with Restangular.. its all done at the factory/service level
[23:32:28] *** ericrav has quit IRC
[23:32:31] <mu> snapwich: I want to define an array of objects that have a link which references an object in the ng-repeat
[23:32:43] *** gnarMatix has joined #angularjs
[23:32:52] <mu> but instead of being interpolated, they are raw, because of the template the directive uses I guess
[23:32:54] <xastey> Emperor_Earth I hear you man, it took me a while to figure it out.. one thing I would like to tell you
[23:32:55] <Emperor_Earth> hmm, i'm sure i'll understand what that means practically at some point
[23:32:55] <gnarMatix> hey guys how do I watch for window size changes?
[23:33:00] <Emperor_Earth> yes sir
[23:33:00] <gnarMatix> right now I have:
[23:33:12] <mu> ^ that template
[23:33:13] *** iksik_ has joined #angularjs
[23:33:15] <xastey> say you have /api/companies/1/contacts/10
[23:33:38] <xastey> for me this would add a new contact to company with id 1
[23:33:42] <gnarMatix> $scope.$watch(function () { return $window.innerHeight; }, function () { $scope.performTask(); }) <--- this isn't triggering on window resize :(
[23:33:43] *** ericrav has joined #angularjs
[23:33:46] <mmitchel_> I'm trying to figure out how to configure a directive -- i'd like to dynamically/conditionally set its "template" and or "templateUrl" settings before it renders. Is that possible?
[23:33:54] <xastey> since I wanted to follow rest , this means a POST (I think thats correct)
[23:34:02] <mu> let me write a more complete example snapwich
[23:34:11] <snapwich> gnarMatix: you have to use window.addEventListener("resize", function(){}):
[23:34:16] <Emperor_Earth> xastey, i think "put" or "post", but i'm a rook, but go on
[23:34:27] <xastey> couldn't figure out how to do that with the Restangular objects it would always try to post an empty object in the url.. so I needed to use .customPOST({},id)
[23:34:53] *** jaawerth has quit IRC
[23:34:54] <gnarMatix> snapwich: thanks
[23:35:00] *** eamonn has joined #angularjs
[23:35:04] <gnarMatix> snapwich: how do I remove that event listener?
[23:35:13] <snapwich> removeEventListner("resize"
[23:35:19] <snapwich> and pass the same handler
[23:35:35] <Emperor_Earth> xastey, hmm, my level of inexpertise with Restangular is such that i can't comment intelligently. i'm sorry. i'll keep it in mind if i ever do figure it out
[23:35:55] <xastey> o it was just something to keep waaaaaaay back in your mind if you run into it
[23:36:02] <xastey> something that costed me hours
[23:36:06] *** bphogan is now known as bphogan_afk
[23:36:36] *** iksik has quit IRC
[23:36:40] <Emperor_Earth> xastey, yikes. well, i better get cracking so i can start wasting hours earlier rather than later
[23:36:49] *** dcherman has joined #angularjs
[23:37:03] <xastey> hehe np.. good luck
[23:37:03] <LoveAndHappiness> Why is Pusher needed, when working with Angular?
[23:37:07] *** FIFOd[a] has joined #angularjs
[23:37:12] *** matiasow has quit IRC
[23:37:34] <snapwich> I've never even heard of Pusher and somehow made plenty of angular apps
[23:37:48] <snapwich> Well, I lie. I've heard of it, but that's about it
[23:37:53] *** ericrav has quit IRC
[23:38:16] <sal1191> what does pusher do? in a nutshell.
[23:38:25] *** richiebkr has quit IRC
[23:38:44] <LoveAndHappiness> It provides an API for websockets
[23:38:56] <LoveAndHappiness> and websockets are needed for making a realtime connection?!?
[23:38:59] <LoveAndHappiness> I don't even know
[23:39:03] <mu> this is a more complete example I think
[23:39:06] *** akrikos has quit IRC
[23:39:06] *** eamonn has quit IRC
[23:39:11] <snapwich> you don't have to use websockets for a realtime connection
[23:39:15] <sal1191> ohh i see
[23:39:26] <mu> again this is using the mgcrea-ngstrap module
[23:39:46] <LoveAndHappiness> I don't even know what mgcrea-ngstrap is
[23:39:55] <mu> provides bootstrap directives
[23:40:06] *** simsketch_ has quit IRC
[23:40:11] *** jpstone- has quit IRC
[23:40:29] <snapwich> mu: I think it's dependent on how the bs-dropdown accepts arguments. if it only takes a model on the scope then you'll have to adjust it inside each ng-repeat. can you make a plunkr? I could play with it then and help you out
[23:40:29] *** Murphy has joined #angularjs
[23:41:07] *** chrisbirk has joined #angularjs
[23:41:12] <sal1191> i had trouble with the datepicker directive using ngstrap, couldnt make it work. has anyone had success with it?
[23:41:47] <snapwich> LoveAndHappiness: if you want realtime angular try an existing framework like angular firebase or something
[23:41:50] <mu> I think what I'll just do is create an array of dropdown objects to use
[23:41:56] <sal1191> i ended up using one that was dependent on jquery and jquery-ui -_-
[23:41:59] <mu> rather than trying to reuse one dropdown for all the table rows
[23:41:59] <snapwich> you could do that and then use the $index
[23:42:06] <mu> yep
[23:42:14] <mu> it's just... unnecessary, in my head
[23:42:23] <mu> I'll mark it as a TODO and move on... release day today :D
[23:42:38] <pushbyte> Is it possible to mock a function on a service while unit testing? Basically, I'm trying to unit test a function within my service, and that function updates a value which is being observed...
[23:42:38] <LoveAndHappiness> snapwich, I haven't yet done anything with angular, but I thought angular was natively realtime
[23:42:52] <LoveAndHappiness> I wanted to use it with laravel
[23:43:13] <snapwich> angular is all client side
[23:43:32] <pushbyte> so by testing this function, it fires off anything that's observing this particular variable. I'd like to overwrite the observer function to basically do nothing
[23:43:36] <snapwich> it doesn't have any opinion or implementation out of the box for realtime client - server communication
[23:43:36] *** tomzx is now known as tomzx`afk
[23:43:47] *** apetro_ has joined #angularjs
[23:44:09] <LoveAndHappiness> hm.... :(
[23:44:17] <LoveAndHappiness> ok
[23:44:46] <snapwich> or you can do your own implementation with websockets etc
[23:44:56] *** nemothekid has joined #angularjs
[23:46:03] *** bkuberek has quit IRC
[23:46:08] *** tmrudick has quit IRC
[23:47:05] *** curfont has joined #angularjs
[23:47:11] *** senayar has joined #angularjs
[23:47:33] *** bradmc has quit IRC
[23:47:48] *** jdowdle is now known as jdowdle|afk
[23:47:53] *** mennea has quit IRC
[23:48:50] <morenoh149> so you make a promise. Then you resolve it. What's the other possibility?
[23:49:01] *** mu has quit IRC
[23:49:03] <snapwich> you reject it
[23:49:14] *** pushbyte has quit IRC
[23:49:28] *** DrMabuse has joined #angularjs
[23:49:36] <snurfery> reeeeeeeeeeeeejection!
[23:49:57] <morenoh149> ah that was it
[23:50:48] <morenoh149> couldn't
[23:51:03] *** Mouzi has joined #angularjs
[23:51:13] <robdubya> sup
[23:51:20] <sal1191> howdy rob
[23:52:13] *** Reskp has quit IRC
[23:52:26] *** ckboii89 has quit IRC
[23:52:39] *** Reskp has joined #angularjs
[23:52:42] *** LoveAndHappiness has quit IRC
[23:52:48] <snurfery> yo
[23:53:03] *** LoveAndHappiness has joined #angularjs
[23:53:20] *** ccohn_ has quit IRC
[23:53:41] *** dawhite has quit IRC
[23:53:56] *** ccohn has joined #angularjs
[23:54:23] *** XoRoN has joined #angularjs
[23:54:42] *** imehesz has quit IRC
[23:54:44] <snapwich> if you're using Dart can you still write plain old javascript?
[23:55:01] <snapwich> i imagine if it compiles into javascript you should be able to, right?
[23:55:01] *** denardo has quit IRC
[23:55:21] *** Nijikokun has joined #angularjs
[23:55:53] *** Willow__ has joined #angularjs
[23:56:24] *** flocca has joined #angularjs
[23:57:05] *** Reskp has quit IRC
[23:57:26] *** thedodd has quit IRC
[23:57:48] *** JimTheDev has quit IRC
[23:58:00] *** ckboii89 has joined #angularjs
[23:58:00] *** staack has joined #angularjs
[23:58:11] *** ccohn has quit IRC
[23:58:20] <snapwich> ahh cool. thanks
[23:58:39] <sal1191> is dart like.. coffeescript?
[23:59:11] <snapwich> no, it's more like a new language
[23:59:20] <snapwich> that can be compiled to javascript
[23:59:24] <snapwich> coffeescript is just an extension of javascript
[23:59:26] *** Trow has joined #angularjs
[23:59:46] <sal1191> ah and it runs in the browser?
[23:59:57] <snapwich> no, but the compiled javascript does
[23:59:58] <sal1191> i mean, now? or is this future stuff