[00:00:03] *** nickeddy has joined #angularjs
[00:00:06] *** gladely has quit IRC
[00:00:13] *** TrevDev has quit IRC
[00:00:15] <ctanga> dang, firefox has really gotten a lot faster
[00:00:39] <nickeddy> ctanga: they're using bing as default search now :(
[00:00:44] <moogey> Speaking of firefox. Has anyone used the developer version?
[00:00:47] *** jtimon has joined #angularjs
[00:00:51] <moogey> nickeddy: can you change that?
[00:00:51] *** iribarne has quit IRC
[00:00:59] <ctanga> nickeddy: hahah
[00:00:59] *** kwd has joined #angularjs
[00:01:01] <Linell> moogey: It's pretty cool
[00:01:01] <ctanga> funny :)
[00:01:05] *** cannap has quit IRC
[00:01:07] <nickeddy> lol yeah you can change it
[00:01:10] <moogey> Linell: what's different about it
[00:01:12] <nickeddy> i just think it's hilarious
[00:01:19] *** seriema has joined #angularjs
[00:01:45] *** ihab has joined #angularjs
[00:01:48] *** jaznow has quit IRC
[00:02:12] *** jaznow has joined #angularjs
[00:02:14] *** vectra has joined #angularjs
[00:02:17] *** encryptd_fractl has quit IRC
[00:02:29] *** TrevDev has joined #angularjs
[00:02:29] *** soee_ has quit IRC
[00:02:44] <Linell> moogey: really nothing I found super awesome. I noticed it logged a few things Chrome doesn't seem to, and it has a nifty responsive thing. I stopped using it after a couple of days because I'm lazy and didn't want to have to keep putting passwords into services
[00:02:48] *** pgicxplzs has quit IRC
[00:03:30] *** merobertsjr has joined #angularjs
[00:03:35] *** baweaver has joined #angularjs
[00:04:27] *** warpx has quit IRC
[00:05:07] *** weems|mac has quit IRC
[00:05:17] *** AciD`- has quit IRC
[00:05:46] *** Linell has quit IRC
[00:06:08] *** sheplu has joined #angularjs
[00:06:08] *** jdubs has quit IRC
[00:06:43] *** NanoArro1 has joined #angularjs
[00:07:05] *** DarrenCraig has joined #angularjs
[00:07:51] *** mystronyx has quit IRC
[00:08:05] *** tommyjam has quit IRC
[00:08:38] *** disorder20 has quit IRC
[00:08:46] *** frkout has joined #angularjs
[00:09:20] *** aslate has joined #angularjs
[00:09:26] *** walden is now known as walden|afk
[00:09:28] *** gladely has joined #angularjs
[00:09:39] *** boxmein_ is now known as boxmein
[00:09:45] *** frkout_ has quit IRC
[00:09:58] <icfantv> man, i've not *touched* firefox in ages
[00:10:09] <icfantv> i don't even have it installed on my macs anymore
[00:10:31] <gladely> For html5 mode and angular-ui-router, is it recommended to use, or not use, a base href tag?
[00:10:42] *** Routh has joined #angularjs
[00:10:43] *** PeterMetz has quit IRC
[00:10:55] <ctanga> angular requires a base tag for html5 mode
[00:11:08] *** andrew9183 has joined #angularjs
[00:11:40] *** AciD`` has joined #angularjs
[00:11:44] *** chrisbirk has quit IRC
[00:11:45] *** mchapman has joined #angularjs
[00:12:18] *** chrisbirk has joined #angularjs
[00:12:23] <Tuxity> Hmm guys idk if I can ask here but I have problems by setting up my apache server with my api and angular applications
[00:12:32] <Tuxity> CORS problems you know ..
[00:12:36] *** mven has quit IRC
[00:12:43] *** ggherdov has joined #angularjs
[00:12:58] *** baweaver has quit IRC
[00:13:03] *** pgicxplzs has joined #angularjs
[00:13:04] <icfantv> Tuxity: you might start with stating your problem
[00:13:05] *** memento_ has quit IRC
[00:13:16] <gladely> And a proper value would be: <base href="/index.html"/> ?
[00:13:18] <icfantv> Tuxity: don't worry. we'll tell you if you're in the wrong forum. ;-)
[00:13:20] <henn1nk> is someone using satellizer? after logging in.. my whole css is broken/looks like it would empty, any idea why?
[00:13:37] *** aslate has quit IRC
[00:13:38] *** memento_ has joined #angularjs
[00:13:39] <Tuxity> I've 2 problems, first the http method OPTIONS
[00:13:50] <Tuxity> the server return me a 405
[00:13:52] *** robdubya has joined #angularjs
[00:13:56] <icfantv> Tuxity: are you talking about $http?
[00:14:14] <Tuxity> I've done everything with $ressource
[00:14:36] <icfantv> Tuxity: ok, that's method not allowed. sounds like you're sending, e.g. @GET to an @POST
[00:14:46] <gladely> Our problem is that when we use <base href="/index.html"/> the angular-ui-router ui-sref links chop out the L because of this line: if (isHtml5) return baseHref.slice(0, -1) + url;
[00:15:12] *** dcherman has quit IRC
[00:15:22] <icfantv> Tuxity: check your REST interface and make sure you have the HTTP method you're sending bound
[00:15:23] <Tuxity> hmmm
[00:15:23] *** tjsail33 is now known as zz_tjsail33
[00:15:36] *** jaznow has quit IRC
[00:15:38] *** elrabin has quit IRC
[00:15:43] <icfantv> Tuxity: $resource defines some defaults, but you can override them
[00:15:54] <markalanevans> Hey folks, after a save, i want to set a bg color to green then fade it back out to white.
[00:15:56] <Tuxity> i'm using $save
[00:16:05] <Tuxity> so should be a POST
[00:16:05] <icfantv> Tuxity: that's a POST
[00:16:12] <markalanevans> Is that possible w/ just appling a css class?
[00:16:18] <markalanevans> or do i need to use JS ?
[00:16:45] *** jacuqesdancona_ has joined #angularjs
[00:16:55] <icfantv> Tuxity: check your REST class on the server side to make sure you have a POST defined
[00:17:04] <ctanga> gladely: why “/index.html” and not “/“?
[00:17:13] *** lewdev has quit IRC
[00:17:19] <Tuxity> it is I'm sure
[00:17:27] <moogey> markalanevans: do it with css transitions, and use js to add and remove the classes
[00:17:34] <icfantv> Tuxity: you may want to check w/ POSTman or something similar
[00:17:40] <Tuxity> when the $save happen, I see a Request Method:OPTIONS
[00:17:48] <Tuxity> and no POST in chrome console
[00:18:00] <markalanevans> moogey: its not possible to just use some sort of animation or transtion? without js.
[00:18:02] *** lewdev has joined #angularjs
[00:18:05] <icfantv> Tuxity: in the network tab?
[00:18:07] <markalanevans> ?
[00:18:10] <Tuxity> yep icfantv
[00:18:19] *** Oddman has joined #angularjs
[00:18:20] <markalanevans> Basically i want to add "success fade-out" to a div
[00:18:28] <markalanevans> or just success-save to a dive
[00:18:34] <icfantv> Tuxity: can you gist your $resource?
[00:18:35] <markalanevans> and then it should know to make the bg green and then fade to white
[00:18:40] <markalanevans> moogey:
[00:18:42] <markalanevans> ^^
[00:18:44] <moogey> markalanevans: adding a class to a div has to be done with js
[00:18:57] *** loverajoel has joined #angularjs
[00:19:00] <moogey> markalanevans: the css will handle all the transitioning though
[00:19:09] <markalanevans> moogey: well. Right i can do the setting of the class part
[00:19:19] <markalanevans> but i can't seem to make it fade from green to white with the transtion
[00:19:28] *** jae has joined #angularjs
[00:19:31] *** mdedetrich has joined #angularjs
[00:19:34] *** glassir has quit IRC
[00:20:37] <icfantv> Tuxity: does $save return a promise?
[00:20:52] *** ihab has quit IRC
[00:21:15] *** jacuqesdancona_ has quit IRC
[00:22:01] *** Anonymous has quit IRC
[00:22:24] <Tuxity> everything works before icfantv, i've just split my api and angular client to 2 differents website
[00:22:28] *** lewdev has quit IRC
[00:22:32] *** waverider_ is now known as waverider
[00:22:40] *** sirkitree is now known as sirkitree|afk
[00:22:41] *** dman777_alter has quit IRC
[00:22:52] <icfantv> Tuxity: ahhhhh. yea. maybe don't do that
[00:23:12] *** loverajoel has quit IRC
[00:23:15] *** lewdev has joined #angularjs
[00:23:30] *** mdedetrich has quit IRC
[00:23:44] <Tuxity> I think it's an Apache configuration problem
[00:23:53] *** mdedetrich has joined #angularjs
[00:24:03] <icfantv> Tuxity: what does the request look like on the server? you should see the request logged in the apache server log
[00:24:10] <icfantv> Tuxity: looks like CORS is legit
[00:25:15] *** DarrenCraig has quit IRC
[00:25:26] <icfantv> Tuxity: did you configure apache to allow the OPTIONS method?
[00:25:41] *** Juanchito has quit IRC
[00:25:50] *** shampine has joined #angularjs
[00:25:52] *** zz_tjsail33 is now known as tjsail33
[00:25:58] *** dcherman has joined #angularjs
[00:26:33] <Tuxity> yes
[00:26:38] <Tuxity> Header set Access-Control-Allow-Origin "*"
[00:26:38] <Tuxity> Header set Access-Control-Allow-Headers X-Requested-With,Content-Type
[00:26:39] <Tuxity> Header set Access-Control-Allow-Methods GET,POST,PUT,DELETE,OPTIONS
[00:26:42] <Tuxity> :/
[00:26:56] *** dhcar is now known as dhcar_AFK
[00:27:05] <markalanevans> moogey: reading
[00:27:38] *** umib0zu has quit IRC
[00:27:56] <gladely> if that's recommended I'll have to work on the rewrite rules I guess. we're getting some weird encoding in the urls when entering the site. The index.html basehref worked on ui-router 0.2.0,but somewhere in the .0.2.10 update it broke.
[00:27:56] *** ron1 has joined #angularjs
[00:28:00] *** Una has quit IRC
[00:28:58] *** Aliks_ has joined #angularjs
[00:28:58] *** Aliks has quit IRC
[00:29:10] *** dsdeiz has joined #angularjs
[00:29:28] *** memento_ has quit IRC
[00:30:17] *** dsdeiz_ has quit IRC
[00:30:32] *** CiE has joined #angularjs
[00:30:33] *** jdubs has joined #angularjs
[00:30:46] *** atomatt has joined #angularjs
[00:31:20] *** discgo has joined #angularjs
[00:31:24] *** \du has joined #angularjs
[00:31:32] *** \du has joined #angularjs
[00:32:17] *** mary5030_ has joined #angularjs
[00:33:15] *** smathson has joined #angularjs
[00:33:41] *** atomatt has left #angularjs
[00:33:48] *** appariti_ has quit IRC
[00:34:07] *** shackleford has quit IRC
[00:35:09] *** apparition168 has joined #angularjs
[00:35:34] *** mary5030 has quit IRC
[00:36:27] *** macabre has quit IRC
[00:36:57] *** rileylark has quit IRC
[00:37:30] *** jae has quit IRC
[00:37:54] *** waverider has quit IRC
[00:38:50] *** darrin has joined #angularjs
[00:39:12] *** rileylark has joined #angularjs
[00:40:18] *** SargoDarya has joined #angularjs
[00:40:26] *** baweaver has joined #angularjs
[00:40:26] *** vassagus_ has quit IRC
[00:40:33] *** nemothekid has quit IRC
[00:41:07] *** lsiv568 has quit IRC
[00:41:53] *** MistahKurtz has joined #angularjs
[00:42:45] *** Foxandxss has quit IRC
[00:42:54] *** digisky has quit IRC
[00:44:34] *** rileylark has quit IRC
[00:44:40] *** SargoDarya has quit IRC
[00:46:06] *** patricka_ has joined #angularjs
[00:46:37] *** livingstn has joined #angularjs
[00:46:38] <Tuxity> looks better but still have errors on post
[00:46:56] *** baweaver has quit IRC
[00:47:27] *** anapitupulu has joined #angularjs
[00:47:36] <icfantv> Tuxity: you're saying YOU still have errors on the post?
[00:47:37] *** mary5030_ has quit IRC
[00:47:50] <Tuxity> wtf
[00:47:52] *** frkout has quit IRC
[00:47:55] <Tuxity> it works now
[00:47:58] *** frkout_ has joined #angularjs
[00:48:04] <Tuxity> ok I don't know what happen
[00:48:11] *** mary5030 has joined #angularjs
[00:48:40] *** apparition168 has quit IRC
[00:48:49] *** disgrntld has quit IRC
[00:48:50] <icfantv> Tuxity: did you add logging?
[00:48:59] <icfantv> sometimes that magically fixes stuff
[00:49:16] <icfantv> (i'm kidding…sort of)
[00:49:23] *** baweaver has joined #angularjs
[00:49:37] *** Una has joined #angularjs
[00:49:45] *** jamieshepherd has quit IRC
[00:49:46] *** chrisshattuck has quit IRC
[00:49:59] *** patrickarlt has quit IRC
[00:50:04] *** akrikos has quit IRC
[00:50:15] *** jae has joined #angularjs
[00:50:17] *** patricka_ has quit IRC
[00:50:20] *** boxmein has quit IRC
[00:51:16] *** ccohn has quit IRC
[00:51:17] *** dannyc has joined #angularjs
[00:51:43] *** shpoont has quit IRC
[00:51:51] *** ccohn has joined #angularjs
[00:51:59] *** apparition168 has joined #angularjs
[00:52:01] *** tkh44 has quit IRC
[00:52:06] *** jamieshepherd has joined #angularjs
[00:52:17] *** mary5030 has quit IRC
[00:52:55] *** jae has left #angularjs
[00:53:33] *** kuil09 has joined #angularjs
[00:53:33] *** Embassy has quit IRC
[00:54:27] *** Embassy has joined #angularjs
[00:55:06] *** richardlitt has quit IRC
[00:55:59] *** dannyc has quit IRC
[00:56:36] *** ccohn has quit IRC
[00:56:37] *** codeman has joined #angularjs
[00:57:01] *** panurge has joined #angularjs
[00:57:02] *** vdiaz has quit IRC
[00:57:05] *** dhcar_AFK is now known as dhcar
[00:57:34] *** Greed` is now known as Greed
[00:57:44] *** cellofellow has joined #angularjs
[00:58:21] *** seriema has quit IRC
[00:58:24] <panurge> A state change is causing "undefined is not a function", how can I debug it? I suppose it has to do with resolve
[00:58:51] *** tkh44 has joined #angularjs
[00:58:53] *** garbanzio has quit IRC
[00:58:55] *** seriema has joined #angularjs
[00:59:03] *** sonicparke|bradm has quit IRC
[00:59:28] *** danecando has joined #angularjs
[00:59:33] *** apparition168 has quit IRC
[00:59:44] *** csduarte has joined #angularjs
[01:00:02] <moogey> panurge: you should get a stacktrace with that message, see what it's trying to call
[01:00:30] *** \du has quit IRC
[01:00:53] *** apparition168 has joined #angularjs
[01:01:00] *** baweaver has quit IRC
[01:01:18] *** Aliks_ has quit IRC
[01:01:47] *** Aliks has joined #angularjs
[01:02:36] *** apparition168 has quit IRC
[01:02:52] *** AciD` has quit IRC
[01:03:15] <gladely> The only redirect in the network panel is the initial rewrite.
[01:03:18] <panurge> moogey: ye! appears to be my success promise.
[01:03:28] *** jonr22 has joined #angularjs
[01:03:48] *** seriema has quit IRC
[01:03:57] *** baweaver has joined #angularjs
[01:04:10] *** gunn has quit IRC
[01:04:25] <panurge> yet not mine promise, but from a socket interface
[01:04:32] *** smathson has quit IRC
[01:04:36] *** benschaaf has joined #angularjs
[01:05:04] <panurge> still strugling to fully get their behavior, implementations, flow...........
[01:05:27] <moogey> for promises?
[01:05:36] <ctanga> gladely: when people enable html5 mode they don’t want the # at all. they want site.com/state/state/state like you mentioned. why rewrite with a hashbang?
[01:05:48] <ctanga> er, hash
[01:05:59] *** mzabriskie has quit IRC
[01:06:04] *** asheinfeld has quit IRC
[01:06:13] *** asdofindia has joined #angularjs
[01:06:16] <gladely> right, don't want the #, normally when angular/ui-router loads up the client rewrites index.html#state/state into state/state
[01:06:33] <gladely> that part still works, but because state/state is escaped, it doesn't match any state, and routes to the otherwise rule
[01:06:39] *** gunn has joined #angularjs
[01:06:39] *** danecando has quit IRC
[01:06:39] *** asheinfeld has joined #angularjs
[01:06:56] <ctanga> aaaah, i see
[01:06:57] *** enigmarm has quit IRC
[01:06:57] <panurge> yes, seeing a lot of promises implementations at once (or its just I dont get them yet)
[01:06:57] *** tilgovi has quit IRC
[01:06:59] <gladely> this app has been in production for a year, these problems are due to updating the ui-router to newer versions (which we need for other routing features)
[01:07:24] <ctanga> gladely: can you make a small reproducable test case?
[01:07:29] *** jwowwz has quit IRC
[01:07:41] <ctanga> gladely: obviously not with apache config, but where if I paste in the hash-url it will fail?
[01:07:59] <ctanga> gladely: a nice way would be in a plunkr, which I could download using the .zip feature
[01:08:12] *** jonr22 has quit IRC
[01:09:09] *** benschaaf has quit IRC
[01:09:30] *** Lewix has joined #angularjs
[01:09:30] *** Lewix has joined #angularjs
[01:09:55] *** dseitz has quit IRC
[01:10:13] *** sonofdirt has quit IRC
[01:10:36] <JosephSilber> Pushed this up last night. Is this useful to anyone else?
[01:10:42] *** asheinfeld has quit IRC
[01:11:00] *** k-dawg has joined #angularjs
[01:11:05] *** jdcasey has quit IRC
[01:11:06] *** ahtik has quit IRC
[01:11:10] *** asher^ has joined #angularjs
[01:11:12] <gladely> will do. I was hoping to spark someone's memory.. ;)
[01:11:15] *** benschaaf has joined #angularjs
[01:11:37] *** PeterMetz has joined #angularjs
[01:11:40] *** JoshGlzBrk has joined #angularjs
[01:11:43] <ctanga> gladely: if I’m not around, file a bug with a link to the plunk
[01:11:46] *** maikowblue has joined #angularjs
[01:11:51] <gladely> ok
[01:11:58] *** k-dawg has quit IRC
[01:12:09] <gladely> thanks
[01:12:18] <JosephSilber> gladely, success() is more than just mking it readable. You get the reponse body instead of the response object
[01:12:28] <JosephSilber> (you get that in the later parameters)
[01:12:55] <gladely> i have no idea why you're telling me that
[01:13:12] *** annlewis has quit IRC
[01:14:07] <Lewix> hi
[01:14:16] <Lewix> hey wafflej0ck_you're still alive?
[01:14:19] *** gunn has quit IRC
[01:14:22] *** mdedetrich has quit IRC
[01:14:34] <Lewix> jaawerth: let me know when you're on =)
[01:14:55] <Lewix> wafflej0ck_: jaawerth i need some of your angularsomeness
[01:16:11] *** gunn has joined #angularjs
[01:16:14] *** JoshGlzBrk has quit IRC
[01:16:44] *** PeterMetz has quit IRC
[01:16:48] *** rcanepa_ has quit IRC
[01:17:03] *** seriema has joined #angularjs
[01:18:13] *** conan_the_destro has quit IRC
[01:18:43] *** conan_the_destro has joined #angularjs
[01:19:08] *** zwacky has quit IRC
[01:19:11] <gladely> ctanga: as an update here, if I set the basehref back to index.html, the rest of the url is not escaped before ui-router gets ahold of it.
[01:19:26] *** jareddlc_ has joined #angularjs
[01:19:39] <moogey> panurge: curious if that helped at all
[01:19:41] <gladely> I'm not sure how to make a plunkr that requires the index.html# to be in the url since its not a completely clientside problem.
[01:19:42] *** josh-k has joined #angularjs
[01:19:55] <wafflej0ck_> Lewix: yup still kicking just heads down a bit coding
[01:19:57] *** asher^ has quit IRC
[01:20:11] *** smathson has joined #angularjs
[01:20:20] <ctanga> gladely: the server is rewriting the URL and adding a hash, yes?
[01:20:37] <ctanga> gladely: and the client requests index.html with a hash?
[01:20:56] <ctanga> gladely: then ui-router does bad things?
[01:21:04] <gladely> I don't think its ui-router doing the escaping
[01:21:14] <ctanga> oh, huh
[01:21:15] <gladely> i attached as ui-router is initializing and its already escaped
[01:21:25] <gladely> I think its angular core somewhere
[01:21:28] <ctanga> i see
[01:21:46] *** apparition168 has joined #angularjs
[01:21:47] *** seriema has quit IRC
[01:21:53] <ctanga> most people serve index.html when site.com/state/state/state is requested
[01:21:56] *** jareddlc has quit IRC
[01:22:04] <gladely> do they proxy it, or redirect to it?
[01:22:11] <wafflej0ck_> gladely: redirect typically
[01:22:12] <ctanga> proxy
[01:22:20] <wafflej0ck_> oh depends on who you ask :)
[01:22:21] <ctanga> or what wafffle says, shrug i dunno
[01:22:31] <ctanga> I have never used html5 mode
[01:22:32] <wafflej0ck_> redirect is what the docs say
[01:22:33] <gladely> yeah, I see lots of mixed responses on that point
[01:22:45] *** robdubya has quit IRC
[01:22:52] <gladely> shows proxy type rule
[01:22:57] *** shinnya has quit IRC
[01:22:58] *** benschaaf is now known as benjo_dev
[01:23:18] *** chromatome has joined #angularjs
[01:23:45] <wafflej0ck_> gladely: ah yeah similar to what I use I would consider that a Rewrite though since it's not using the proxy_mod
[01:24:01] *** AngularUI has joined #angularjs
[01:24:01]
<AngularUI> [bootstrap] jiniguez opened pull request #3044: fix(modal): fix for conflicts with ngTouch module on mobile devices (master...fix2280) http://git.io/0RguTg
[01:24:01] *** AngularUI has left #angularjs
[01:24:04] <wafflej0ck_> gladely: only used proxy_mod for when a port changes myself
[01:24:15] <gladely> yeah mod_rewrite will just proxy if there isn't a [R] in the rule
[01:24:17] <wafflej0ck_> er mod_proxy you get what I mean :P
[01:24:44] <gladely> Let me see if it unblocks us.
[01:24:44] <panurge> moogey: still on it, got a call. but exactly the point!!
[01:24:58] *** binarytrees has quit IRC
[01:25:58] *** baweaver has quit IRC
[01:26:59] *** night-owl is now known as zz_night-owl
[01:27:46] <panurge> I think I got it right.. it infinitly queue and return until no more queues
[01:28:26] <panurge> my problem should be with the implementations.. some libraries create callbacks with them.. not sure
[01:28:49] *** tschunde_ has joined #angularjs
[01:28:50] <panurge> the undefined error for example.. it was to be calling a return .success
[01:28:52] *** saucey has quit IRC
[01:29:09] *** Una has quit IRC
[01:29:17] <panurge> but its not a $http promise
[01:29:33] <moogey> panurge: if you can provide a code example I can try and provide some more pointed help
[01:29:46] *** richiebkr has quit IRC
[01:30:04] *** baweaver has joined #angularjs
[01:30:19] *** richardlitt has joined #angularjs
[01:30:23] *** richardlitt has quit IRC
[01:31:25] *** s00pcan has quit IRC
[01:31:42] *** tschundeee has quit IRC
[01:32:38] *** woah has joined #angularjs
[01:34:08] *** zz_night-owl is now known as night-owl
[01:35:47] *** richiebkr has joined #angularjs
[01:36:01] *** iribarne has joined #angularjs
[01:36:15] <Lewix> what's el.isolateScope().save();
[01:36:23] <Lewix> what's the save(0 for
[01:37:22] <icfantv> anyone know how to tell ngForm to ignore a form field? specifically, monitoring for $setDirty
[01:37:33] *** ProLoser|Mac has quit IRC
[01:37:47] *** tsalb has quit IRC
[01:38:05] *** ProLoser has joined #angularjs
[01:38:53] *** ferrao has joined #angularjs
[01:39:17] *** Shai-Tan has quit IRC
[01:39:40] *** asdofindia has quit IRC
[01:39:51] *** RobinBAwesome has quit IRC
[01:39:56] <andrew9183> i’m having a problem with angular ui routing. i have /pages/ and then /pages/:id, it works if i call the route via $state.go(‘pages.detail’), but when i try to refresh the browser on /pages/:id, it redirects me to /pages/
[01:41:12] *** SargoDarya has joined #angularjs
[01:41:51] *** mkusher has quit IRC
[01:42:28] *** RobinBAwesome has joined #angularjs
[01:42:54] *** s00pcan has joined #angularjs
[01:43:00] *** chintanparikh has joined #angularjs
[01:43:06] *** ProLoser has quit IRC
[01:43:07] <henn1nk> if i am using in my controller: $scope.myName = MyService.getName(); and getName uses $http.get()..then().. how can i update the $scope.myName after the content is loaded?
[01:43:55] <panurge> whats wrong with it? broke the chain for the view resolve
[01:43:57] *** iribarne has quit IRC
[01:44:06] <chintanparikh> henn1nk: I'm really new, so take this with a grain of salt, but I think you should be returning a promise instead
[01:44:44] <jaawerth> icfantv: check out $removeControl under FormController in the docs
[01:44:52] <henn1nk> chintanparikh: .then() is a promise?
[01:44:53] *** Aliks has quit IRC
[01:45:18] *** Aliks has joined #angularjs
[01:45:54] *** ome has joined #angularjs
[01:45:59] *** SargoDarya has quit IRC
[01:46:06] *** kakashiAL has quit IRC
[01:46:16] *** zbzzn has quit IRC
[01:46:17] *** ron1 has quit IRC
[01:46:21] <jaawerth> henn1nk: anything returned from a promise is, itself, wrapped in a promise (and the name should be returned from getName), so you would just chain a .then on
[01:46:36] <icfantv> jaawerth: so $scole.myForm.myFormField.$removeControl()
[01:46:45] <icfantv> $scole === $scope
[01:46:46] *** ron1 has joined #angularjs
[01:46:53] <jaawerth> henn1nk: MyService.getName().then(function(name) { $scope.myObj.name = name; });
[01:47:08] *** rchavik has joined #angularjs
[01:47:09] <henn1nk> jaawerth: can i access in a factory my controller?
[01:47:09] *** greengriminal has quit IRC
[01:47:20] <icfantv> jaawerth: but there's no way to tell it to ignore it intially - say via a directive…without doing it custom
[01:47:21] *** rud has joined #angularjs
[01:47:21] *** rud has joined #angularjs
[01:47:39] *** greengriminal has joined #angularjs
[01:47:41] <moogey> panurge: try returning the fn() call from wihin the promise
[01:48:03] *** smathson has quit IRC
[01:48:15] <moogey> panurge: promise chains break if there's a missing return
[01:48:24] <panurge> I tried but no changes
[01:48:28] *** edrocks has joined #angularjs
[01:48:44] *** webthingee has quit IRC
[01:48:53] <panurge> Ahh got it.. success is called only once?
[01:49:01] <panurge> :s
[01:49:49] <panurge> switched back to then...
[01:50:20] <panurge> and still bewildered by promises :))
[01:50:46] <panurge> but excelent tutorial man.. really worthfull!
[01:50:57] <greengriminal> Hey guys/girls wondering how to approach this. So in this application when you create a portfolio you are redirected (show action) to it upon creating the portfolio. What I want to happen is that after they are redirected to the portfolio a lightbox should appear.
[01:51:01] *** smathson has joined #angularjs
[01:51:29] <greengriminal> In my head I am thinking I need to dectect where this request has come from correct?
[01:51:31] *** patrickarlt has joined #angularjs
[01:51:39] <jaawerth> icfantv: I've never done this, but it appears that you have to pass in the actual controller object for which you're removing control. Judging from the angular source for the function, you can pass in the name of the control as well, so you could do it that way without needing to actually get the Controller object itself
[01:51:42] <chintanparikh> greengriminal: Can you change the redirect path?
[01:51:48] <jaawerth> icfantv: thus you wouldn't need to use a directive
[01:51:50] <panurge> moogey: @ => ^
[01:51:57] <greengriminal> chintanparikh: I could but i don't really want to.
[01:52:03] *** patrickarlt has joined #angularjs
[01:52:11] <jaawerth> henn1nk: huh?
[01:52:20] <chintanparikh> greengriminal: I think the easiest way would be to just add a ?redirect=true to the end, or something similar
[01:52:26] *** dannyc has joined #angularjs
[01:52:28] *** ccohn has joined #angularjs
[01:52:31] *** shpoont has joined #angularjs
[01:52:36] <chintanparikh> greengriminal: Otherwise you have to detect where the request came from which is messier
[01:52:38] <icfantv> jaawerth: hmmm. interesting. thanks.
[01:52:46] <greengriminal> chintanparikh: and then have js check url and check if the param exists
[01:52:54] <greengriminal> and if it does execute the lightbox function.
[01:52:55] <chintanparikh> greengriminal: Exactly
[01:53:16] *** patricka_ has joined #angularjs
[01:53:17] <greengriminal> chintanparikh: Yeah think that is the best approach the url param.
[01:53:28] *** robdubya has joined #angularjs
[01:53:33] <jaawerth> icfantv: since the FormController for a form wouldn't exist in your parent controller initially, you may have to wait for the callstack to clear using $timeout or something
[01:53:36] <chintanparikh> greengriminal: Keep in mind that people will be able to link to it. Usually that's a good thing, but not always
[01:54:04] <henn1nk> jaawerth: my mistake, got it :)
[01:54:15] <greengriminal> chintanparikh: will do
[01:54:22] *** BahamutWC|Lapt-1 has joined #angularjs
[01:54:25] *** n^izzo has joined #angularjs
[01:54:31] *** tfennelly has quit IRC
[01:54:48] <icfantv> jaawerth: yea. this is starting to get complicated. i think i may move the closing </form> element to before this block - luckily the structure is such that i can do this. but for the future, this may be necessary.
[01:55:01] *** tilgovi has joined #angularjs
[01:55:04] *** conan_the_destro has quit IRC
[01:55:16] <jaawerth> it isn't that complicated
[01:55:21] *** BahamutWC|Laptop has quit IRC
[01:55:58] <moogey> panurge: where's the part that call $sailsSocket in your code?
[01:56:03] *** phzon has joined #angularjs
[01:56:29] <panurge> it is intricate, but its in a View resolve scope
[01:56:45] *** patrickarlt has quit IRC
[01:56:57] *** ccohn has quit IRC
[01:57:12] *** dannyc has quit IRC
[01:57:38] *** ron1 has quit IRC
[01:58:06] <gladely> Narrowed this down to the way angular.js $locationProvider reads the initial url and rewrites it based on html5 mode, and the basehref. It doesn't support index.html#real/path unless index.html is the basehref. So setting basehref here for angular-ui-router breaks this feature. This setup is fundemetally not compatible with the newer angular-ui-router's expectation on
[01:58:06] <gladely> chopping the last character off the basehref.
[01:58:21] *** dhcar is now known as dhcar_AFK
[01:58:43] *** themime has joined #angularjs
[01:58:44] <ctanga> gladely: what do you think the correct fix is?
[01:58:47] *** aslate has joined #angularjs
[01:58:55] *** shpoont has quit IRC
[01:59:33] *** baweaver has quit IRC
[01:59:47] *** icfantv has quit IRC
[02:00:17] <moogey> panurge: can you mock it out in a plnkr?
[02:00:33] <themime> ermergerd postman is awesome
[02:00:41] *** aton` has quit IRC
[02:00:47] *** phzon has quit IRC
[02:00:57] <gladely> I'm torn. I'm leaning on looking into an angular-ui-router fix, but at the moment i've worked around it by hard coding the basehref that angular uses for the startup routine to "index.html"; this at least makes ui-sref generate correct urls based on basehref=/ (eg, they dont have the index.html in them which makes them ugly anyway)
[02:01:13] <greengriminal> So i know you can pass in params to a url using the link_to helper. However say if i have a form_for and am using f.submit?
[02:01:18] <ctanga> gladely: I’m a ui-router dev
[02:01:25] <gladely> ah I see
[02:01:36] <moogey> ctanga: that's good to know
[02:01:51] <gladely> So in the angular documentation it has this:
[02:01:54] <greengriminal> wrong channel
[02:02:18] <gladely> "In these examples we use <base href="/base/index.html" />"
[02:02:31] <gladely> so it seems angular expects that to be the base href in my configurations scenario
[02:02:51] *** ron1 has joined #angularjs
[02:03:04] *** dacuca has quit IRC
[02:03:05]
<panurge> moogey: using .then solved the problem.. I opened an issue in their repo as could figure out how to solve. This is part of https://github.com/tarlepp/angular-sailsjs-boilerplate/ if you really wanna check. They are also using .then on their examples... but I innocently implemented a fail beliving on the •premise* that it was working :p :)
[02:03:12] *** aslate has quit IRC
[02:03:22] <panurge> *I could'nt
[02:03:43] *** JR___ has joined #angularjs
[02:03:59] *** cotko has quit IRC
[02:04:08] <moogey> panurge: interesting. I'm glad you got it figured out
[02:04:12] <gladely> but this line in angular-ui-router if (isHtml5) return baseHref.slice(0, -1) + url;
[02:04:29] <gladely> chops off the last bit of the url
[02:04:31] *** jdubs has quit IRC
[02:04:46] <gladely> it should probably be smart enough to make those index.html#<path-to-state>
[02:04:53] *** robdubya has quit IRC
[02:05:08] <ctanga> yeah I’m not sure what it’s trying to do there
[02:05:14] <ctanga> I’ve never used html5 mode
[02:05:33] <ctanga> I need to run, but if you can summarize your findings in an issue, I can look at it in the future
[02:05:33] *** [0__0] has joined #angularjs
[02:05:46] <gladely> happy to. thanks.
[02:05:52] *** Una has joined #angularjs
[02:05:59] *** snapwich1 has joined #angularjs
[02:06:04] <ctanga> would you say you would do it “gladely”?
[02:06:10] <themime> ...
[02:06:16] *** snapwich has quit IRC
[02:06:16] <ctanga> I’ll see myself out
[02:06:26] <themime> you do ui-router very well ctanga. maybe you can just stick to that
[02:06:34] <ctanga> :)
[02:06:34] *** linojon has quit IRC
[02:06:38] <themime> haha <3
[02:06:39] *** Henryabcd has quit IRC
[02:06:56] *** jdubs has joined #angularjs
[02:06:57] *** JR___ has quit IRC
[02:07:01] *** jdubs has quit IRC
[02:07:22] *** cotko has joined #angularjs
[02:07:24] *** boberober has quit IRC
[02:07:25] *** ctanga has quit IRC
[02:07:33] *** charlenopires has joined #angularjs
[02:08:09] <panurge> moogey: thank you for the tutorial, very conclusive
[02:08:16] *** robdubya has joined #angularjs
[02:08:39] <gladely> Yes, but not in the way you're reading it. My name is Glade so I do things the Glade-ly way. :)
[02:08:56] <gladely> but I will gladely report my findings.
[02:09:23] *** doginal has quit IRC
[02:10:04] *** niftylettuce has joined #angularjs
[02:10:16] *** dhcar_AFK is now known as dhcar
[02:10:34] *** AngularUI has joined #angularjs
[02:10:34]
<AngularUI> [bootstrap] trask closed pull request #2887: Typeaheads open on page load using angular 1.3 (master...typeahead-angular-1.3) http://git.io/0UiF6g
[02:10:34] *** AngularUI has left #angularjs
[02:10:55] *** atomi has quit IRC
[02:11:01] *** doginal has joined #angularjs
[02:12:01] *** atomi has joined #angularjs
[02:12:10] <Grokling> css. I'm growing to hate what it does for my productivity..
[02:12:39] <jaawerth> one word: SASS
[02:12:40] *** PeterMetz has joined #angularjs
[02:12:50] <jaawerth> or LESS, but I personally prefer SASS
[02:13:00] <Grokling> I'm already SASSing, and flexboxing. and it still won't do what I want.
[02:13:15] <Grokling> It's not even something difficult I'm trying to do!
[02:13:28] <jaawerth> I dunno then. What are you trying to do?
[02:13:44] *** richiebkr has quit IRC
[02:14:13] *** tschunde_ has quit IRC
[02:14:17] <Guest22> tryin' to make my friggin' background red, man!
[02:14:56] *** tschundeee has joined #angularjs
[02:15:20] <Grokling> I've got an 'input' in a column. It has a label (which ends up being a row), and it has another row containing <input> and <button>. Simple enough right. Why the frig does my button hang over the side of the column and screw up the one next to it?!!
[02:16:02] <Grokling> It's something to do with min-width I think.
[02:16:06] *** chintanparikh has quit IRC
[02:16:13] *** tskaggs has quit IRC
[02:16:22] <jaawerth> hm. hard to picture. this is in a flexbox?
[02:16:41] *** BillCriswell has joined #angularjs
[02:16:58] *** chrisbirk has quit IRC
[02:16:59] *** charlenopires has quit IRC
[02:17:03] *** {DV8} has joined #angularjs
[02:17:19] *** i_am_nader has quit IRC
[02:17:36] *** PeterMetz has quit IRC
[02:18:29] *** greengriminal has quit IRC
[02:18:36] <Grokling> Yeah. Evidently it's because my total min-width is bigger than the column width, and overflow is enabled. Seems like I need to set a min-width on a more 'outer' container instead.
[02:18:44] <gladely> This line is pretty suspect too
[02:18:45] <gladely> if (absolute) return baseHref.slice(1) + url;
[02:18:59] *** greengriminal has joined #angularjs
[02:19:03] *** tschundeee has quit IRC
[02:19:17] *** BillCriswell has quit IRC
[02:19:26] *** frkout has joined #angularjs
[02:19:30] *** frkout_ has quit IRC
[02:20:04] *** nezt has joined #angularjs
[02:21:12] *** bahoo has quit IRC
[02:22:07] *** fsargent has quit IRC
[02:22:39] *** mven has joined #angularjs
[02:23:19] *** mdedetrich has joined #angularjs
[02:23:33] *** Una has quit IRC
[02:24:34] *** robdubya has quit IRC
[02:24:45] *** woah has quit IRC
[02:25:24] *** tfennelly has joined #angularjs
[02:26:06] *** robdubya has joined #angularjs
[02:26:09] *** JoshGlzBrk has joined #angularjs
[02:26:49] *** cakirke has joined #angularjs
[02:26:50] *** markalanevans has quit IRC
[02:28:15] *** JoshGlzBrk has quit IRC
[02:28:18] *** linojon has joined #angularjs
[02:28:27] *** artisangoose has quit IRC
[02:28:30] *** Una has joined #angularjs
[02:28:32] *** doginal has quit IRC
[02:30:34] *** merobertsjr has quit IRC
[02:30:39] *** encryptd_fractl has joined #angularjs
[02:32:57] *** saint-ron has joined #angularjs
[02:33:15] *** neoadventist has joined #angularjs
[02:33:31] *** RobinBAwesome has quit IRC
[02:34:01] *** emmesswhy has joined #angularjs
[02:34:27] *** RobinBAwesome has joined #angularjs
[02:34:28] *** moogey is now known as moogey_brb
[02:34:36] *** cotko has quit IRC
[02:34:49] *** Fishy has joined #angularjs
[02:35:07] *** amphetamines has quit IRC
[02:35:10] *** nairys has quit IRC
[02:36:19] *** joshontheweb has quit IRC
[02:36:28] *** mary5030 has joined #angularjs
[02:36:41] *** encryptd_fractl has quit IRC
[02:36:50] *** ctanga has joined #angularjs
[02:36:55] *** technickul has joined #angularjs
[02:37:17] *** encryptd_fractl has joined #angularjs
[02:37:37] *** bbankes has quit IRC
[02:38:00] *** codeman has quit IRC
[02:38:43] <robdubya> progrock did you ever release your new d3 graphy thingy?
[02:38:44] *** Sontakey has quit IRC
[02:38:57] *** Fishy has quit IRC
[02:39:36] *** JR___ has joined #angularjs
[02:40:17] *** moritzs has joined #angularjs
[02:40:39] *** snapwich1 has quit IRC
[02:40:42] *** encryptd_fractl has quit IRC
[02:42:05] *** SargoD___ has joined #angularjs
[02:42:27] *** moogey_brb is now known as moogey
[02:42:38] *** rburns has joined #angularjs
[02:42:42] *** rileylark has joined #angularjs
[02:42:52] *** tyfighter has quit IRC
[02:43:09] *** tkh44 has quit IRC
[02:43:38] *** marr has quit IRC
[02:43:54] *** patricka_ has quit IRC
[02:44:16] *** patrickarlt has joined #angularjs
[02:44:18] *** Iravan has joined #angularjs
[02:44:40] *** Sgeo_ has joined #angularjs
[02:45:01] *** chromatome has quit IRC
[02:45:02] *** bayousoft has joined #angularjs
[02:45:04] *** jdubs has joined #angularjs
[02:45:41] *** ccohn has joined #angularjs
[02:46:04] *** dannyc has joined #angularjs
[02:46:26] *** snapwich has joined #angularjs
[02:46:59] *** SargoD___ has quit IRC
[02:47:11] <snurfery> I just decided to add "html { overflow-y: scroll}" to my css because the scrollbar flashing on every page transition was getting on my nerves
[02:47:25] *** Sgeo_ has quit IRC
[02:47:49] *** jonathanpglick has quit IRC
[02:47:52] *** snapwich has quit IRC
[02:48:04] *** beckyconning_ has quit IRC
[02:48:13] *** jareddlc_ has quit IRC
[02:48:20] *** motionman has joined #angularjs
[02:48:30] *** Sgeo has quit IRC
[02:49:08] *** dhcar is now known as dhcar_AFK
[02:49:25] <jaawerth> snurfery: I do that all the time
[02:49:34] *** Sgeo has joined #angularjs
[02:49:37] <jaawerth> or overflow: hide, it depends
[02:49:53] *** charuru has joined #angularjs
[02:49:58] *** frkout has quit IRC
[02:50:03] *** ccohn has quit IRC
[02:50:04] *** frkout_ has joined #angularjs
[02:50:20] *** dannyc has quit IRC
[02:51:15] *** encryptd_fractl has joined #angularjs
[02:51:18] *** mmealling has joined #angularjs
[02:51:21] <snurfery> what's the overflow:hide accomplish?
[02:51:28] <jcool> when ever I use this.submiFOrm = function() and try to submit my form doesnt works . but samething with $scope.submitform works
[02:51:57] <snurfery> oh I see what you mean
[02:52:00] <jcool> $scope.submitFOrm. both function name are same.
[02:52:01] *** d10n-work has quit IRC
[02:52:13] *** fairuz has joined #angularjs
[02:52:14] *** jas855 has quit IRC
[02:52:20] *** jonr22 has joined #angularjs
[02:52:28] *** tschundeee has joined #angularjs
[02:52:57] <jaawerth> uh, are you using controller-as with this.submitForm and if so, what does the call look like in your template?
[02:53:10] *** dannyc has joined #angularjs
[02:53:11] <jaawerth> ng-submit=??
[02:53:18] <jcool> jaawerth, yeah.
[02:53:35] <jaawerth> it's a two-part question :P
[02:53:45] <jcool> jaawerth, I am trying to learn best practices in angular and modifiying bits of my code.
[02:53:58] <jcool> jaawerth, I havent defined controller-as in routes.
[02:54:18] <jcool> jaawerth, I will pull up a simple code.
[02:54:28] *** BillCriswell has joined #angularjs
[02:55:03] *** prbc has joined #angularjs
[02:55:49] *** patrickarlt has quit IRC
[02:56:03] <jcool> and call in template is simple: ng-submit="submitForm(formname.$valid)"
[02:56:07] *** patrickarlt has joined #angularjs
[02:56:40] *** ziggurat81 has quit IRC
[02:57:01] <jaawerth> jcool: that's the one that DOES work, right?
[02:57:07] *** jonr22 has quit IRC
[02:57:23] *** cthrax has quit IRC
[02:57:39] *** jdubs has quit IRC
[02:57:52] <jaawerth> jcool: so what are you changing in your template when you change $scope.submitForm to this.submitForm?
[02:57:57] *** ziggurat81 has joined #angularjs
[02:58:06] *** dannyc has quit IRC
[02:58:22] <jaawerth> because if you're doing ng-controller="SomeCtrl as foo" then you'd want ng-submit="foo.submitForm()"
[02:58:34] <jaawerth> (when using this.submitForm)
[02:58:59] <jcool> jaawerth, yeah I tried that. but nothing was happening.
[02:59:23] <jcool> I mean no action was being fired.
[02:59:41] *** TuRnaD0 has joined #angularjs
[03:00:30] <moogey> jcool: make sure that you're capturing the controllers context when it's created. You should have a `var ctrl = this;` at the top. Then all your functions go onto ctrl instead of this.
[03:00:37] *** cotko has joined #angularjs
[03:00:59] *** shampine has quit IRC
[03:01:00] <tjsail33> if i have an element get socketed into a scrollable list, is there a way to scroll to the element?
[03:01:12] <jcool> moogey, yeah. but since this.submit was not working I didnt do that.
[03:02:37] *** jeffisabelle has quit IRC
[03:02:59] <moogey> jcool: its a combination of things. strapping the function the correct way in the controller, and referencing it the right way in the DOM.
[03:03:11] *** tfennelly has quit IRC
[03:03:17] <moogey> can you make a plnkr to demonstrate the problem?
[03:03:30] <jcool> moogey, sure. let me make one.
[03:04:19] *** lsiv568 has joined #angularjs
[03:04:42] *** ludkiller has quit IRC
[03:05:07] <jaawerth> that's an example of it working
[03:05:17] <jaawerth> just so you can make sure you're doing something similar in your templates
[03:05:36] <jaawerth> but as moogey said, for most functions you're likely to need to do a var ctrl = this
[03:05:54] <jaawerth> in the controller, so you can refer to it without the 'this' confusion that tends to occur
[03:06:26] *** jacuqesdancona_ has joined #angularjs
[03:06:44] *** ludkiller has joined #angularjs
[03:06:51] <jaawerth> jcool: also, if your controller is being instantiated via a route rather than ng-controller, just make sure you do the same thing. "SomeCtrl as foo" (or use controllerAs: 'foo' in the route definition)
[03:07:01] *** chrisbirk has joined #angularjs
[03:07:06] <jcool> jaawerth, trying that only :)
[03:07:52] <jcool> jaawerth, moogey that works. controlleras was the thing creating problem :)
[03:08:31] *** mary5030 has quit IRC
[03:09:04] *** mary5030 has joined #angularjs
[03:09:22] *** ciwolsey_ has quit IRC
[03:09:31] <jcool> jaawerth, a silly question. why doesnt uiGrid works wth something like vm.uiGrid
[03:09:37] <moogey> jcool: make sure you don't use the controllerAs syntax in a directive/view AND in the DOM. It will make two instances of the controller
[03:09:58] <jcool> moogey, using only while declaring routes. seems good?
[03:10:12] *** whitebook has joined #angularjs
[03:10:28] <jcool> I will need to dive a little more in bindings.
[03:10:59] *** jacuqesdancona_ has quit IRC
[03:11:14] <jaawerth> in ui-grid, when you pass a string for the data property, it will look for it on current scope
[03:11:47] <jaawerth> using "controller as" is effectively putting things on an object on scope (your controller object - it's equivalent to $scope.foo = this)
[03:11:55] <jaawerth> in situations like that you'd still need to use $scope
[03:12:28] <jcool> jaawerth, excellent one :) got it!
[03:12:40] *** josh-k has quit IRC
[03:12:41] *** rburns has quit IRC
[03:12:43] *** morenoh150 has joined #angularjs
[03:12:44] *** larsam has quit IRC
[03:13:14] *** rburns has joined #angularjs
[03:13:24] *** tilgovi has quit IRC
[03:13:40] *** PeterMetz has joined #angularjs
[03:14:02] *** mary5030 has quit IRC
[03:14:16] *** benjo_dev has quit IRC
[03:15:24] *** busticated has quit IRC
[03:16:14] *** rileylark has quit IRC
[03:16:32] *** smathson has quit IRC
[03:17:14] *** josh-k_ has joined #angularjs
[03:17:37] *** rho has quit IRC
[03:17:58] *** andrew9183 has quit IRC
[03:18:14] *** PeterMetz has quit IRC
[03:19:52] *** dhcar_AFK is now known as dhcar
[03:20:10] *** ferrao has quit IRC
[03:20:11] *** danecando has joined #angularjs
[03:20:37] *** robdubya has quit IRC
[03:20:44] *** kent\n has quit IRC
[03:20:49] *** ferrao has joined #angularjs
[03:21:01] *** kent\n has joined #angularjs
[03:21:54] *** g3funk is now known as braidn
[03:22:02] *** frkout_ has quit IRC
[03:22:29] *** frkout has joined #angularjs
[03:22:52] *** encryptd_fractl has quit IRC
[03:23:28] *** danecando has quit IRC
[03:23:28] *** encryptd_fractl has joined #angularjs
[03:23:42] <moogey> jcool: one of the really nice things about controllerAs syntax, is since it straps variables onto the controller constructor, it retains references really well.
[03:23:43] *** cthrax has joined #angularjs
[03:23:50] *** danecando has joined #angularjs
[03:24:17] *** dllama has quit IRC
[03:24:28] <jcool> moogey, I am trying to learn these small things which helps to keep code clean
[03:26:03] <jaawerth> yeah, that's the point of it - it not only keeps your scopes clean, but also prevents the "primitives on scope" scope inheritance/binding issue without having to wrap the primitives in arbitrary objects
[03:26:10] *** Sontakey has joined #angularjs
[03:26:38] *** artisangoose has joined #angularjs
[03:26:43] *** ProLoser has joined #angularjs
[03:26:59] *** Guest22 has quit IRC
[03:27:01] *** elrabin has joined #angularjs
[03:29:00] *** TuRnaD0 has quit IRC
[03:29:02] *** mrits has joined #angularjs
[03:29:36] *** wallerdev has quit IRC
[03:30:10] <moogey> jcool, ^ that's the most useful part in my mind. Is to not have the need for objects that just have flags in them
[03:30:19] *** frkout_ has joined #angularjs
[03:31:06] *** sirkitree|afk is now known as sirkitree|afk|af
[03:31:16] *** ProLoser has quit IRC
[03:31:28] <jcool> jaawerth, moogey its amazing that it can clean up so many things for you and keep intact the whole code.
[03:31:37] *** Sontakey has quit IRC
[03:32:07] <jaawerth> it also really simplifies scope inheritance and in my mind makes it more attractive to use
[03:32:16] <moogey> hear hear
[03:32:30] <moogey> and makes things in the DOM much clearer
[03:32:35] *** ferrao has quit IRC
[03:32:53] <jaawerth> since when you refer to an inherited value, you're referring to it via its original source - no confusion
[03:33:24] *** Shai-Tan has joined #angularjs
[03:33:37] *** frkout has quit IRC
[03:33:41] <jaawerth> and yeah, really makes the DOM easier to read
[03:34:04] *** oste has joined #angularjs
[03:34:06] *** kirfu has joined #angularjs
[03:34:22] <jaawerth> er, the markup
[03:34:51] *** encryptd_fractl has quit IRC
[03:35:00] *** cotko has quit IRC
[03:35:28] *** mdedetrich has quit IRC
[03:35:32] *** artisangoose has quit IRC
[03:35:36] *** mdedetri_ has joined #angularjs
[03:36:11] *** robdubya has joined #angularjs
[03:36:17] *** patrickarlt has quit IRC
[03:36:20] *** robdubya has quit IRC
[03:36:57] *** kompressor has joined #angularjs
[03:37:08] *** mdedetri_ has quit IRC
[03:37:08] *** warpx has joined #angularjs
[03:37:12] *** gladely has quit IRC
[03:37:16] *** mdedetrich has joined #angularjs
[03:37:38] *** larsam has joined #angularjs
[03:38:08] *** frem has quit IRC
[03:38:08] *** frem_ is now known as frem
[03:38:37] *** fairuz has quit IRC
[03:39:27] *** mary5030 has joined #angularjs
[03:39:56] *** RobinBAwesome has quit IRC
[03:40:04] *** ron1 has quit IRC
[03:40:41] <ctanga> Using _.js, if I have a list of predicates, how would I filter a list such that I only retain the elements that pass all the predicates?
[03:41:26] *** mclenithan has quit IRC
[03:41:54] *** josh-k_ has quit IRC
[03:41:57] *** warpx has quit IRC
[03:42:58] *** SargoD___ has joined #angularjs
[03:43:13] *** shpoont has joined #angularjs
[03:43:13] *** rburns has quit IRC
[03:43:39] *** rburns has joined #angularjs
[03:46:04] *** mven has quit IRC
[03:46:26] *** ccohn has joined #angularjs
[03:47:05] *** RobinBAwesome has joined #angularjs
[03:47:32] *** shpoont has quit IRC
[03:47:32] *** SargoD___ has quit IRC
[03:48:10] *** aslate has joined #angularjs
[03:48:53] *** tilgovi has joined #angularjs
[03:48:57] *** mary5030 has quit IRC
[03:49:01] <jaawerth> _.filter?
[03:49:12] *** Aliks has quit IRC
[03:49:21] *** knownasilya has quit IRC
[03:49:27] *** saint-ron has quit IRC
[03:49:32] *** mary5030 has joined #angularjs
[03:49:37] *** lemur has joined #angularjs
[03:49:51] <ctanga> yeah but it’s so… ugly
[03:50:42] *** ccohn has quit IRC
[03:50:43] *** saint-ron has joined #angularjs
[03:51:41] *** TyrfingMjolnir has quit IRC
[03:52:25] *** Snugug has joined #angularjs
[03:52:41] <jaawerth> wait, underscore or lodash?
[03:52:48] *** jtimon has quit IRC
[03:53:18] *** aslate has quit IRC
[03:53:29] *** boberober has joined #angularjs
[03:53:45] <jaawerth> actually, I don't know if it matters
[03:53:56] *** dannyc has joined #angularjs
[03:53:57] *** onats has joined #angularjs
[03:54:00] *** mary5030 has quit IRC
[03:54:05] *** RobinBAwesome has quit IRC
[03:54:44] <jaawerth> why is that ugly?
[03:55:23] <jaawerth> oh, I see
[03:55:46] *** woah has joined #angularjs
[03:56:07] *** woah has joined #angularjs
[03:56:49] <moogey> jaawerth: why?
[03:56:57] *** stirlingw has quit IRC
[03:57:52] *** iribarne has joined #angularjs
[03:57:55] *** cthrax has quit IRC
[03:58:15] *** dannyc has quit IRC
[03:59:41] *** cakirke has quit IRC
[04:00:36] *** ngbot has joined #angularjs
[04:00:37] <ngbot> angular.js/master 9c113aa Caitlin Potter: style(guide/css-styling): remove trailing whitespace...
[04:00:37] <ngbot> angular.js/master 32806ca Caitlin Potter: docs(guide/css-styling): form controls are not always input elements...
[04:00:37] *** ngbot has left #angularjs
[04:01:12] *** TheAceOfHearts has quit IRC
[04:01:58] *** katsh has joined #angularjs
[04:02:26] *** Snugug has quit IRC
[04:03:45] *** beauXjames has joined #angularjs
[04:03:46] *** ron1 has joined #angularjs
[04:03:48] *** tyfighter has joined #angularjs
[04:03:55] <jaawerth> moogey: presumably because of the function that returns a function, which is kinda messy code and not good for JIT compilation
[04:04:37] <ctanga> i was hoping to avoid looping too
[04:04:46] <ctanga> I’m newb when it comes to functional programming
[04:05:00] *** nezt has quit IRC
[04:05:03] <jaawerth> a loop's the most efficient way to do it
[04:05:06] <jaawerth> you COULD use recursion but
[04:05:15] <ctanga> i feel like I should be able to use compose or something.
[04:05:23] *** bkuberek has joined #angularjs
[04:06:20] *** evanjs has joined #angularjs
[04:06:52] <ctanga> reduce seems appropriate but I don’t like my nested nested nested code
[04:07:04] *** woah has quit IRC
[04:07:16] *** asheinfeld has joined #angularjs
[04:07:25] <jaawerth> I don't see why that needs to be functional
[04:07:28] *** Siecje has left #angularjs
[04:07:45] <jaawerth> I mean, I like functional programming but it has a time and a place ;-)
[04:08:00] <ctanga> I’m trying to grok the mindset
[04:08:31] <jaawerth> also I feel like thare are times when it's good to do in JS and times when it isn't. loops aren't evil - sometimes they're the most efficient way to do something
[04:08:35] *** bkuberek_ has quit IRC
[04:09:59] <ctanga> in JS quite often, sure
[04:10:06] *** Sawbones has quit IRC
[04:10:13] <ctanga> so many indexed loops, bleh
[04:10:27] <jaawerth> yeah, but you're looping either way, functionally or otherwise
[04:10:34] <jaawerth> the functional approach just obscures it
[04:10:38] <ctanga> yup
[04:10:46] <ctanga> also makes it annoying to step through ;)
[04:11:35] *** asheinfeld has quit IRC
[04:13:06] *** dllama has joined #angularjs
[04:13:34] *** nerdy has joined #angularjs
[04:13:46] *** rburns has quit IRC
[04:14:15] *** rburns has joined #angularjs
[04:14:26] *** mrits has quit IRC
[04:14:28] *** PeterMetz has joined #angularjs
[04:14:45] *** wsmoak has quit IRC
[04:14:49] *** japhar81 has joined #angularjs
[04:15:27] <ctanga> so yeah, it’s ugly to me because it’s nested and nested blocks
[04:15:31] *** ziggurat81 has quit IRC
[04:16:06] *** ferrao has joined #angularjs
[04:16:19] *** caitp has quit IRC
[04:16:47] *** bbankes has joined #angularjs
[04:17:31] *** woah has joined #angularjs
[04:17:57] <kirfu> Is there anything wrong with adding many custom events?
[04:18:14] *** kapil__ has joined #angularjs
[04:18:21] *** dhcar is now known as dhcar_AFK
[04:18:37] *** PeterMetz has quit IRC
[04:18:50] <ctanga> yeah it becomes difficult to maintain
[04:18:52] <kirfu> for example an ng-repeat and each element would create a new $scope.$on(customEvent)
[04:19:10] *** davesidious_ has joined #angularjs
[04:19:15] <ctanga> sorta like global variables
[04:19:29] <kirfu> maintenance aside, preformance wise?
[04:19:47] <ctanga> it can be expensive to process too since it has to traverse the scope tree
[04:20:10] <n^izzo> whats the best way to run a function only once per page?
[04:20:33] *** ferrao has quit IRC
[04:21:03] *** ron1 has quit IRC
[04:21:20] <jaawerth> ctanga: nested also doesn't play well with the JIT
[04:21:30] <jaawerth> well, on-the-fly functions don't
[04:21:59] *** pgicxplzs has quit IRC
[04:22:10] *** moritzschaefer has joined #angularjs
[04:22:42] <jcool> jaawerth, thannks for that detailed info. It will help me learn (y)
[04:23:00] *** davesidious has quit IRC
[04:23:17] *** Hackwar1 has joined #angularjs
[04:23:56] <ctanga> you made it recursive
[04:24:15] <jaawerth> yeah I'm a dick like that
[04:24:24] <ctanga> yfeah if I want performance I’ll go with the indexed loop
[04:24:26] <jaawerth> how else are you gonna loop without looping?
[04:24:27] *** Fire-Dragon-DoL has quit IRC
[04:24:30] *** kuadrosx has quit IRC
[04:24:32] <ctanga> :)
[04:24:32] *** eBureau has quit IRC
[04:24:32] *** Hackwar has quit IRC
[04:24:37] <ctanga> magic? i dunno
[04:24:54] <jaawerth> yeah, loop is the performant way
[04:25:08] <jaawerth> if you don't want it to block you could always use timeouts
[04:25:16] <jaawerth> and a promise on the outside
[04:25:40] *** moritzs has quit IRC
[04:26:27] <ctanga> brb, converting all my code to web workers
[04:27:16] <n^izzo> So I need to do $('.angular-leaflet-map').height( rowHeight ); but I only want to do it once
[04:27:29] <n^izzo> when the page loads
[04:28:08] <n^izzo> and when the document is ready
[04:28:43] *** katsh has quit IRC
[04:29:00] *** Una has quit IRC
[04:30:07] *** iateadonut has joined #angularjs
[04:30:11] *** lsiv568 has quit IRC
[04:30:21] <n^izzo> but that runs every time the scope is updated
[04:30:22] <ctanga> n^izzo: angular doesn’t really think that way… I assume you’re coming from a jquery background? your question reads like “how do I do jquery using angular”
[04:30:52] <ctanga> angular doesn’t really think in terms of “the document is ready”
[04:31:30] <ctanga> have a look at “one time binding” which is new in angular 1.3
[04:31:33] <n^izzo> ctanga: ok so I need to invalidate the map size after I set a new size
[04:31:36] <n^izzo> how do I do that
[04:31:42] <n^izzo> and onlt do it once
[04:31:55] <n^izzo> ctanga: ty, will do
[04:32:12] <ctanga> n^izzo: one time binding works in any “expression”
[04:32:26] *** fazhou has joined #angularjs
[04:32:36] *** snapwich has joined #angularjs
[04:33:17] *** SomeKittens has joined #angularjs
[04:33:48] *** koleS_ has joined #angularjs
[04:33:55] *** lemur has quit IRC
[04:34:10] *** koleS has quit IRC
[04:34:11] *** koleS_ is now known as koleS
[04:34:33] *** lemur has joined #angularjs
[04:34:44] *** iribarne has quit IRC
[04:34:58] *** Xethron has joined #angularjs
[04:35:03] *** dannyc has joined #angularjs
[04:35:18] *** goodenough has quit IRC
[04:35:26] *** RedOrangeZ has quit IRC
[04:36:13] *** TheAceOfHearts has joined #angularjs
[04:36:44] *** Fishy has joined #angularjs
[04:38:03] <ctanga> n^izzo: i just looked at your code… why not just use css instead of jquery setting height?
[04:39:28] *** Oddman has quit IRC
[04:39:30] *** lemur has quit IRC
[04:39:38] <n^izzo> but I get Error: [$parse:syntax] Syntax Error: Token ':' not a primary expression at column 2 of the expression [ ::resize() ] starting at [::resize() ].
[04:39:47] *** Snugug has joined #angularjs
[04:39:48] *** dannyc has quit IRC
[04:40:31] *** JR___ has quit IRC
[04:40:37] <ctanga> n^izzo: you’re using angular 1.3, ya?
[04:41:12] *** JR___ has joined #angularjs
[04:41:13] <n^izzo> AngularJS v1.2.26 :(
[04:41:14] *** ron1 has joined #angularjs
[04:41:21] *** jonr22 has joined #angularjs
[04:41:30] <n^izzo> how much will an update break
[04:41:34] <ctanga> n^izzo: welcome to angular. you need a directive :).
[04:43:16] *** joshontheweb has joined #angularjs
[04:43:55] *** SargoDarya has joined #angularjs
[04:44:06] <n^izzo> ctanga: is there a one time binding for angular 2.2
[04:44:14] *** WalterJr has joined #angularjs
[04:44:14] *** rburns has quit IRC
[04:44:27] <ctanga> n^izzo: there is a plugin
[04:44:38] *** rburns has joined #angularjs
[04:45:51] *** bkuberek has quit IRC
[04:45:57] *** jonr22 has quit IRC
[04:46:17] *** tschundeee has quit IRC
[04:46:54] *** tschundeee has joined #angularjs
[04:47:16] *** ccohn has joined #angularjs
[04:47:41] *** onats has quit IRC
[04:47:48] <n^izzo> snurfery:
[04:47:58] <n^izzo> snurfery: is it better than angular-once
[04:48:30] *** SargoDarya has quit IRC
[04:48:49] <snurfery> I'm sure they're essentially doing the same thing, they seem to have the same feature set
[04:50:00] *** emmesswhy has joined #angularjs
[04:50:45] *** BillCriswell has quit IRC
[04:50:54] *** jdcasey has joined #angularjs
[04:51:07] *** benschaaf has joined #angularjs
[04:51:21] *** gladely has joined #angularjs
[04:51:30] *** tschundeee has quit IRC
[04:51:37] *** mven has joined #angularjs
[04:51:39] <moogey> ctanga: or this funness -- return _.intersection.apply(null, _.map(predicates, _.filter.bind(null, collection)));
[04:51:52] *** ccohn has quit IRC
[04:51:57] *** benschaaf has quit IRC
[04:52:28] *** threesixes has joined #angularjs
[04:52:36] *** andrew9183 has joined #angularjs
[04:54:04] *** WalterJr has quit IRC
[04:54:24] <n^izzo> ctanga: if I do a directive will it run only once?
[04:54:35] *** goodenough has joined #angularjs
[04:54:41] *** dannyc has joined #angularjs
[04:54:58] <ctanga> a directive’s bind function is run once when the html is parsed
[04:55:15] <ctanga> moogey: sweet! one liner that I totally don’t understand ;)
[04:55:18] *** tyfighter has quit IRC
[04:55:37] <moogey> ctanga: bind, call, and apply are my friends
[04:55:49] *** tyfighter has joined #angularjs
[04:56:00] *** neoadventist has quit IRC
[04:56:24] <jaawerth> ctanga: haha, webworkers seem like such a great idea, but the returns are kinda diminished by the fact that you need to serialize all the data you need to pass in. drives me nuts
[04:56:38] *** EricWeb has quit IRC
[04:56:39] *** tyfighter has quit IRC
[04:57:55] <jaawerth> wait, why do you need a plugin for one-time binding? Just for when you aren't using 1.3?
[04:59:06] *** dannyc has quit IRC
[04:59:07] *** Snugug has quit IRC
[04:59:29] *** gauravsaini03 has joined #angularjs
[05:00:04] <ctanga> yeah he’s on 1.2
[05:00:34] *** jvdz has joined #angularjs
[05:02:43] <ctanga> jaawerth: serialize how? you ca’nt pass JS objects? I have never used webworkers
[05:02:45] *** fairuz has joined #angularjs
[05:03:27] *** mdedetri_ has joined #angularjs
[05:03:39] <jaawerth> yeah - they exist separately from your main app, and presumably due to the browser sandboxing you can't just do data-sharing directly
[05:04:14] <jaawerth> you communicate via a messaging API (using events, basically) and have to serialize the data
[05:04:22] *** Una has joined #angularjs
[05:04:34] <ctanga> so you serialize as json typically?
[05:04:37] *** mdedetrich has quit IRC
[05:04:41] <jaawerth> that's what I did when I've played with it
[05:04:55] <jaawerth> I haven't used it extensively - there MAY be another way, but I didn't encounter it while experimenting
[05:05:00] <ctanga> huh
[05:05:04] <ctanga> sounds awkward
[05:05:13] <ctanga> like watching showgirls with your parents
[05:05:14] *** Snugug has joined #angularjs
[05:05:19] <jaawerth> ha
[05:05:21] <snurfery> dude
[05:05:23] <snurfery> I did that
[05:05:27] <ctanga> lol
[05:05:29] <jaawerth> still some pretty good performance boosts, and MUCH more accurate if you're trying to do accurate timeouts
[05:05:29] <snurfery> in theaters
[05:05:38] <snurfery> I was 13? maybe 14
[05:05:51] <pontiki> how many hours of therapy are you in a week, snurfery ?
[05:06:14]
<jvdz> Hello, I would like to create table using JSON, and create rows by looping over all certrain unique children of a tree of JSON data. Example, I would like to ng-repeat over “features” (a unique set, sorted) in this data: http://plnkr.co/edit/1NLT7eOjp1UMaavDrIgW?p=catalogue . So the first column of the table would be populated by “Features” pulled out from the JSON dump. Any thoughts on how to do this?
[05:06:16] <snurfery> to save money I've just been muttering to myself on the subway and talking to my plants
[05:06:19] *** bmac has joined #angularjs
[05:06:47] <snurfery> o_O
[05:06:59] *** iribarne has joined #angularjs
[05:07:20] <ctanga> “fuck you, tomato” - snurfery
[05:07:51] <snurfery> nah, he's very understanding
[05:08:00] <snurfery> but that fern has it out for me
[05:08:09] <ctanga> jvdz: filter your model using underscore.js functions
[05:08:10] * snurfery shakes his fist at Fernica
[05:08:24] <ctanga> haha
[05:08:44] <jvdz> ctanga: Do you have an example by chance?
[05:09:27] <ctanga> underscore.js has good docs, go check it out
[05:09:43] <ctanga> check out _.pick _.filter _.where
[05:09:44] <jvdz> ctanga: K thanks, looking now
[05:09:53] <n^izzo> ctanga: how would I use that?
[05:09:55] *** Fishy has quit IRC
[05:10:18] *** ferrao has joined #angularjs
[05:10:26] <mdedetri_> does anyone know where the code with $http is that deals with stripping the prefix for JSON for the array security vulnerability?
[05:10:34] <n^izzo> your directive that is
[05:10:51] <ctanga> n^izzo: since I named it the same as your custom tag, angular will bind it to the tag
[05:11:19] <ctanga> n^izzo: if I had named it something like “custom-tag” you would have to add an attribute custom-tag to your html
[05:11:33] <n^izzo> ahhh I see
[05:11:41] <n^izzo> ctanga: it didnt work :(
[05:11:53] <n^izzo> I was just making sure I had used it right
[05:11:57] * moogey headed out for the night. bye
[05:12:03] *** moogey is now known as zz_moogey
[05:12:07] <n^izzo> ctanga: it never got called
[05:12:15] *** zz_moogey has quit IRC
[05:12:20] <ctanga> n^izzo: did you add a breakpoint?
[05:12:41] *** caitp has joined #angularjs
[05:13:12] <n^izzo> ctanga: I console logged in the directive
[05:14:01] <ctanga> no errors in console?
[05:14:13] *** burzum2 has joined #angularjs
[05:14:27] *** ferrao has quit IRC
[05:14:30] <n^izzo> ctanga: no errors
[05:14:47] <ctanga> huh, i dunno
[05:14:47] *** rburns has quit IRC
[05:15:13] *** PeterMetz has joined #angularjs
[05:15:14] *** rburns has joined #angularjs
[05:15:19] *** Fishy has joined #angularjs
[05:15:31] <ctanga> it should bind. make sure you included the .js and depend on the module the `app` is for
[05:15:32] *** ProLoser has joined #angularjs
[05:15:45] *** burzum has quit IRC
[05:15:53] *** cornerma1 has joined #angularjs
[05:16:57] *** caitp has quit IRC
[05:17:11] *** asdofindia has joined #angularjs
[05:18:30] *** edrocks has quit IRC
[05:18:30] *** WalterJr has joined #angularjs
[05:18:37] *** Oddman has joined #angularjs
[05:18:51] *** cornerman has quit IRC
[05:19:01] *** cornerma1 is now known as cornerman
[05:19:15] *** mogaj has joined #angularjs
[05:19:37] *** ProLoser has quit IRC
[05:19:44] *** ProLoser has joined #angularjs
[05:19:44] *** ron1 has quit IRC
[05:19:51] *** Dixty has quit IRC
[05:20:13] *** fazhou has quit IRC
[05:20:18] *** PeterMetz has quit IRC
[05:20:24] *** MistahKurtz has quit IRC
[05:21:51] *** ron1 has joined #angularjs
[05:21:53] *** NoNMaDDeN has quit IRC
[05:22:24] *** Dixty has joined #angularjs
[05:23:18] *** Oddman has quit IRC
[05:26:16] *** warpx has joined #angularjs
[05:27:13] *** advy has joined #angularjs
[05:27:14] *** dhcar_AFK is now known as dhcar
[05:27:42] *** zanea is now known as zanea|away
[05:28:07] *** dhcar is now known as dhcar_AFK
[05:29:27] *** lampard has joined #angularjs
[05:30:39] *** ctanga has quit IRC
[05:30:59] *** warpx has quit IRC
[05:31:40] *** iateadonut has quit IRC
[05:31:57] *** shpoont has joined #angularjs
[05:32:28] <jaawerth> right at the beginning ;-)
[05:32:28] *** niftylettuce has quit IRC
[05:32:33] *** hawa has joined #angularjs
[05:32:35] <mdedetri_> jaawerth: yup, I found it
[05:32:37] <mdedetri_> thanks1
[05:32:38] <mdedetri_> *!
[05:32:47] *** prbc_ has joined #angularjs
[05:33:24] *** niop has joined #angularjs
[05:33:29] *** prbc_ has joined #angularjs
[05:33:32] <hawa> while making $http request from angular, the `header` parameter in the configuration object signifies the header of our request or the header of the response we are expecting?
[05:34:00] *** Iravan has quit IRC
[05:34:17] <niop> hi, anyone have an idea of how to do a file folder type system in angular. or is that sort of thing served up back end?
[05:34:26] *** prbc has quit IRC
[05:34:59] *** Iravan has joined #angularjs
[05:35:10] <jaawerth> hawa: that's right in the docs ;-) (it's the header that's sent to the server)
[05:35:53] *** maikowblue has quit IRC
[05:36:18] *** shpoont has quit IRC
[05:36:18] *** naiyte_ has quit IRC
[05:37:20] *** mven has quit IRC
[05:37:37] *** aslate has joined #angularjs
[05:38:12] *** prbc_ has quit IRC
[05:38:42] *** Fuzzy has joined #angularjs
[05:39:26] *** MaxV has joined #angularjs
[05:39:54] *** ron1 has quit IRC
[05:40:11] *** Snugug has quit IRC
[05:40:15] *** lampard has left #angularjs
[05:40:34] *** gunn has quit IRC
[05:40:34] *** ctanga has joined #angularjs
[05:40:49] *** ron1 has joined #angularjs
[05:41:07] *** Wextux has quit IRC
[05:41:21] *** ctanga has quit IRC
[05:41:53] *** WalterJr has quit IRC
[05:41:57] *** aslate has quit IRC
[05:43:10] *** Milk_weed has quit IRC
[05:43:10] *** frkout_ has quit IRC
[05:43:16] *** frkout has joined #angularjs
[05:44:27] *** gunn has joined #angularjs
[05:44:46] *** hlysig has quit IRC
[05:44:46] *** SargoDarya has joined #angularjs
[05:44:59] *** Iravan has quit IRC
[05:46:01] *** Iravan has joined #angularjs
[05:46:51] <dllama> hey guys
[05:47:43] *** jimvideo has quit IRC
[05:48:14] *** s00pcan has quit IRC
[05:48:14] *** ccohn has joined #angularjs
[05:48:34] *** frkout has quit IRC
[05:48:57] *** mennea has joined #angularjs
[05:49:02] *** SargoDarya has quit IRC
[05:50:25] *** frkout has joined #angularjs
[05:50:50] *** bmac has quit IRC
[05:51:48] *** bkuberek has joined #angularjs
[05:52:20] *** ccohn has quit IRC
[05:54:12] *** lemur has joined #angularjs
[05:54:31] *** JR___ has quit IRC
[05:54:57] *** moritzschaefer has quit IRC
[05:55:23] *** dannyc has joined #angularjs
[05:55:57] *** Iravan has quit IRC
[05:56:55] *** Iravan has joined #angularjs
[05:57:28] *** Xethron has quit IRC
[05:57:29] *** japhar81 has quit IRC
[05:57:46] <themime> surp
[05:58:08] *** chrisshattuck has joined #angularjs
[05:58:27] *** dested has joined #angularjs
[05:58:50] *** ctanga has joined #angularjs
[05:59:52] *** dannyc has quit IRC
[05:59:53] *** beauXjames has quit IRC
[05:59:57] *** bbankes has quit IRC
[06:01:02] *** mdedetri_ has quit IRC
[06:01:02] *** mdedetrich has joined #angularjs
[06:02:18] *** jdcasey has quit IRC
[06:03:59] <kompressor> What it do
[06:04:10] *** dllama has left #angularjs
[06:04:41] *** ferrao has joined #angularjs
[06:06:14] *** NoNMaDDeN has joined #angularjs
[06:06:56] *** Iravan has quit IRC
[06:07:54] *** Iravan has joined #angularjs
[06:08:35] *** jvdz has quit IRC
[06:09:05] *** ferrao has quit IRC
[06:14:18] *** balr0g has quit IRC
[06:15:55] *** PeterMetz has joined #angularjs
[06:15:55] *** rburns has quit IRC
[06:16:15] *** JR___ has joined #angularjs
[06:16:18] *** orbsio has joined #angularjs
[06:16:23] *** rburns has joined #angularjs
[06:16:28] *** exp10r3r has joined #angularjs
[06:16:42] *** cthrax has joined #angularjs
[06:16:43] *** orbsio is now known as Guest55576
[06:16:56] *** ron1 has quit IRC
[06:17:25] *** cads has quit IRC
[06:17:54] *** Iravan has quit IRC
[06:18:12] *** smathson has joined #angularjs
[06:18:40] *** mennea has quit IRC
[06:18:54] *** Iravan has joined #angularjs
[06:19:06] *** mennea has joined #angularjs
[06:20:04] *** mdedetrich has quit IRC
[06:20:36] *** PeterMetz has quit IRC
[06:21:17] *** mdedetrich has joined #angularjs
[06:23:00] *** ProLoser has quit IRC
[06:23:17] *** ProLoser has joined #angularjs
[06:23:49] *** ProLoser has joined #angularjs
[06:24:34] *** BlinkyBill has quit IRC
[06:24:48] *** dseitz has joined #angularjs
[06:24:50] *** BobbieBarker has joined #angularjs
[06:25:10] <BobbieBarker> anyone know of any modules for doing oauth with jira/atlassian?
[06:25:52] *** tfennelly has joined #angularjs
[06:26:56] *** emmesswhy has quit IRC
[06:27:52] *** antons__ has quit IRC
[06:28:30] *** mdedetrich has quit IRC
[06:28:30] *** mdedetrich has joined #angularjs
[06:28:30] *** antons_ has joined #angularjs
[06:28:54] *** Iravan has quit IRC
[06:29:24] *** kirfu has quit IRC
[06:29:39] *** kirfu has joined #angularjs
[06:29:52] *** Iravan has joined #angularjs
[06:30:07] *** jasonp has quit IRC
[06:30:14] *** ali_ has joined #angularjs
[06:30:22] *** jonr22 has joined #angularjs
[06:30:48] *** tfennelly has quit IRC
[06:30:58] *** nya has quit IRC
[06:34:52] *** deanclkclk_ has joined #angularjs
[06:35:36] *** jonr22 has quit IRC
[06:36:52] *** deanclkclk has quit IRC
[06:38:16] *** dcherman has quit IRC
[06:38:30] *** dcorona_irc_2020 has joined #angularjs
[06:39:48] *** TyrfingMjolnir has joined #angularjs
[06:40:13] *** Aliks has joined #angularjs
[06:43:02] *** cacts has quit IRC
[06:43:29] *** Rahul_Roy_ has joined #angularjs
[06:44:47] *** nya has joined #angularjs
[06:45:01] *** chrisshattuck has joined #angularjs
[06:45:38] *** discgo has quit IRC
[06:45:41] *** SargoDarya has joined #angularjs
[06:46:31] *** boxmein has joined #angularjs
[06:48:46] *** ccohn has joined #angularjs
[06:49:12] *** bkuberek has quit IRC
[06:49:13] *** chrisshattuck has quit IRC
[06:50:08] *** night-owl is now known as zz_night-owl
[06:50:10] *** SargoDarya has quit IRC
[06:50:36] *** herpless has quit IRC
[06:50:53] *** smathson has quit IRC
[06:51:06] *** boxmein has quit IRC
[06:51:48] *** hawa has quit IRC
[06:53:01] *** hawa has joined #angularjs
[06:53:26] *** ccohn has quit IRC
[06:53:38] *** dcherman has joined #angularjs
[06:54:13] *** asdofindia has quit IRC
[06:54:29] *** deanclkclk_ has quit IRC
[06:55:16] *** stirlingw has joined #angularjs
[06:55:21] *** kompressor has quit IRC
[06:56:13] *** dannyc has joined #angularjs
[06:56:29] *** NormySan has joined #angularjs
[06:56:53] *** ludkiller has quit IRC
[06:57:38] *** mdedetri_ has joined #angularjs
[06:58:44] *** ludkiller has joined #angularjs
[06:58:54] *** ferrao has joined #angularjs
[06:59:48] *** bkuberek has joined #angularjs
[07:00:12] *** stirlingw has quit IRC
[07:00:41] *** dannyc has quit IRC
[07:01:27] *** mdedetrich has quit IRC
[07:01:35] *** caitp has joined #angularjs
[07:02:13] *** dcherman has quit IRC
[07:03:12] *** ferrao has quit IRC
[07:04:00] *** robksawyer has joined #angularjs
[07:06:30] *** caitp has quit IRC
[07:07:21] *** ilays has joined #angularjs
[07:07:34] <ilays> hi
[07:07:42] *** chrisbirk has quit IRC
[07:09:53] <snurfery> hi
[07:10:02] <snurfery> if you have a question shout it out =)
[07:10:53] *** naiyte_ has joined #angularjs
[07:11:59] *** mary5030 has joined #angularjs
[07:12:34] *** bulkan_ has joined #angularjs
[07:12:44] *** bkuberek has quit IRC
[07:12:53] *** niop has quit IRC
[07:14:48] *** Aliks has quit IRC
[07:15:16] *** warpx has joined #angularjs
[07:15:50] *** Aliks has joined #angularjs
[07:16:04] *** Aliks has quit IRC
[07:16:20] *** Aliks has joined #angularjs
[07:16:40] *** bulkan has quit IRC
[07:16:43] *** PeterMetz has joined #angularjs
[07:17:17] *** bulkan_ has quit IRC
[07:17:18] *** rburns has quit IRC
[07:17:29] *** rburns has joined #angularjs
[07:19:26] *** mennea has quit IRC
[07:19:46] *** niop has joined #angularjs
[07:19:54] *** Sijdesign has joined #angularjs
[07:20:00] *** warpx has quit IRC
[07:20:45] *** shpoont has joined #angularjs
[07:20:47] *** Lewix has quit IRC
[07:20:57] *** PeterMetz has quit IRC
[07:20:58] *** MistahKurtz has joined #angularjs
[07:21:51] *** VeeWee has joined #angularjs
[07:22:14] *** phzon has joined #angularjs
[07:24:30] *** {DV8} has quit IRC
[07:24:57] *** shpoont has quit IRC
[07:25:02] *** renlo has joined #angularjs
[07:26:03] *** tfennelly has joined #angularjs
[07:26:22] *** dylanlindgren has joined #angularjs
[07:26:34] *** mennea has joined #angularjs
[07:26:56] *** aslate has joined #angularjs
[07:27:00] *** phzon has quit IRC
[07:27:17] *** gauravsaini03 has quit IRC
[07:27:22] *** naiyte_ has quit IRC
[07:27:52] *** narutimateum has joined #angularjs
[07:27:56] *** NormySan has quit IRC
[07:28:40] *** Zenithar has quit IRC
[07:29:35] *** Zenithar has joined #angularjs
[07:30:02] *** mary5030 has quit IRC
[07:30:25] *** bahoo has joined #angularjs
[07:30:35] *** mary5030 has joined #angularjs
[07:30:42] *** tfennelly has quit IRC
[07:31:13] *** aslate has quit IRC
[07:32:28] *** oste has quit IRC
[07:33:58] *** chrisbirk has joined #angularjs
[07:34:48] *** mary5030 has quit IRC
[07:34:50] *** warpx has joined #angularjs
[07:36:57] *** dylanlindgren has quit IRC
[07:37:01] *** eclarinal has joined #angularjs
[07:38:01] *** Xethron has joined #angularjs
[07:38:01] *** Xethron has joined #angularjs
[07:38:02] *** gauravsaini03 has joined #angularjs
[07:38:15] *** e0ipso|away is now known as e0ipso
[07:38:27] *** e0ipso is now known as e0ipso|away
[07:38:38] *** eclarinal has quit IRC
[07:38:49] *** e0ipso|away is now known as e0ipso
[07:39:28] *** jaydubya has quit IRC
[07:40:01] *** jaydubya has joined #angularjs
[07:40:12] *** lahwran has quit IRC
[07:40:12] *** TinkerTyper has quit IRC
[07:41:09] *** iribarne has quit IRC
[07:42:07] *** jcw has quit IRC
[07:42:07] *** SockSorcerer has quit IRC
[07:42:13] *** SockSorc1rer has joined #angularjs
[07:42:21] *** pen has joined #angularjs
[07:42:28] *** Mattias has quit IRC
[07:42:31] *** lindline has joined #angularjs
[07:42:33] *** lahwran has joined #angularjs
[07:43:14] *** WorkingClassDev has quit IRC
[07:43:14] *** hendricius has quit IRC
[07:43:16] *** Mattias has joined #angularjs
[07:43:43] *** jcw has joined #angularjs
[07:43:44] *** hendricius has joined #angularjs
[07:43:48] *** ezakimak has quit IRC
[07:44:03] *** ezakimak has joined #angularjs
[07:45:14] *** joshontheweb has quit IRC
[07:46:21] *** TinkerTyper has joined #angularjs
[07:46:43] *** SargoDarya has joined #angularjs
[07:47:30] *** WorkingClassDev has joined #angularjs
[07:47:31] *** lindline has quit IRC
[07:47:31] *** rburns has quit IRC
[07:47:35] *** joshontheweb has joined #angularjs
[07:47:40] *** rburns has joined #angularjs
[07:48:14] *** patrickarlt has joined #angularjs
[07:48:22] *** mdedetri_ has quit IRC
[07:48:23] *** chrisbirk has quit IRC
[07:48:29] *** Sijdesign has quit IRC
[07:49:04] *** smathson has joined #angularjs
[07:49:28] *** ccohn has joined #angularjs
[07:50:10] *** elrabin has quit IRC
[07:51:22] *** SargoDarya has quit IRC
[07:51:57] *** oliver___ has joined #angularjs
[07:52:30] *** plushy has quit IRC
[07:53:11] *** ferrao has joined #angularjs
[07:53:35] *** n^izzo has quit IRC
[07:53:37] *** ccohn has quit IRC
[07:53:39] *** wdna has joined #angularjs
[07:54:50] *** one0one has quit IRC
[07:56:04] *** mennea has quit IRC
[07:56:41] *** mennea has joined #angularjs
[07:57:43] *** Xethron has quit IRC
[07:57:45] *** ferrao has quit IRC
[07:58:59] *** greatdex has joined #angularjs
[07:59:31] *** AngularUI has joined #angularjs
[07:59:31]
<AngularUI> [ng-grid] jpuri opened pull request #2265: fix for #2263 (master...master) http://git.io/rOc7yA
[07:59:32] *** AngularUI has left #angularjs
[07:59:56] *** angelazou has joined #angularjs
[08:00:08] *** aslate has joined #angularjs
[08:00:28] *** sagar has joined #angularjs
[08:00:30] *** jonr22 has joined #angularjs
[08:00:36] *** technickul has quit IRC
[08:00:36] *** mortenhauberg has joined #angularjs
[08:00:45] <sagar> hi
[08:00:48] <angelazou> I need to finish an ajax call before init the page. I'm currently doing an ajax request inside .run callback
[08:00:51] *** saucey has joined #angularjs
[08:00:52] *** sagar is now known as Guest69431
[08:01:07] <angelazou> but I need to make sure execution only continues when the ajax return
[08:01:18] <Guest69431> anyone suggest hot to use require js in angualar app
[08:01:31] <angelazou> otherwise there would be error because further execution depends on this data that do not yet exist
[08:01:57] *** Poppabear has quit IRC
[08:02:00] *** Leon has joined #angularjs
[08:02:20] *** jonr22 has quit IRC
[08:02:21] *** Aliks has quit IRC
[08:02:27] <Guest69431> anyone suggest how to use require js in angualar app??
[08:02:30] *** MaxV has quit IRC
[08:02:33] *** jonr22 has joined #angularjs
[08:02:41] <angelazou> so basically I need a synchronous ajax call
[08:02:47] *** Aliks has joined #angularjs
[08:02:56] <angelazou> I have tried $q, but it only fulfills the data at a later point
[08:03:41] *** Guest69431 has quit IRC
[08:04:30] *** jonr22 has quit IRC
[08:04:36] *** jonr2219 has joined #angularjs
[08:04:50] *** ilays has quit IRC
[08:05:44] *** Raging_Hog has joined #angularjs
[08:05:55] *** Click66 has joined #angularjs
[08:06:23] *** lite has joined #angularjs
[08:06:48] *** jonr22 has joined #angularjs
[08:07:42] *** Oxynum has joined #angularjs
[08:08:24] *** mennea has quit IRC
[08:08:40] *** jonr22_ has joined #angularjs
[08:08:52] *** jonr22 has quit IRC
[08:09:02] *** saucey has quit IRC
[08:09:16] *** jonr2219 has quit IRC
[08:09:30] *** macobo has joined #angularjs
[08:10:03] *** nya has quit IRC
[08:10:31] *** nya has joined #angularjs
[08:10:33] *** aslate has quit IRC
[08:10:41] *** jonr22 has joined #angularjs
[08:10:56] *** jonr22_ has quit IRC
[08:11:00] *** smathson has quit IRC
[08:11:06] *** angelazou has quit IRC
[08:12:34] *** dannyc has joined #angularjs
[08:12:42] *** jonr2219 has joined #angularjs
[08:12:49] *** jonr22 has quit IRC
[08:14:28] *** whitebook has quit IRC
[08:14:37] *** nya has quit IRC
[08:14:41] *** jonr2219 has quit IRC
[08:14:48] *** BigMac has quit IRC
[08:16:05] *** brodul has quit IRC
[08:16:06] *** jonr22 has joined #angularjs
[08:16:06] *** uru|away is now known as uru
[08:16:06] *** whiteboo_ has joined #angularjs
[08:16:06] *** joshontheweb has quit IRC
[08:16:49] *** jonr2219 has joined #angularjs
[08:16:51] *** sinequanon has joined #angularjs
[08:16:57] *** tjsail33 has quit IRC
[08:17:05] *** jonr22 has quit IRC
[08:17:18] *** dannyc has quit IRC
[08:17:30] *** PeterMetz has joined #angularjs
[08:17:47] *** brodul has joined #angularjs
[08:17:48] *** rburns has quit IRC
[08:18:15] *** rburns has joined #angularjs
[08:18:17] *** soee has joined #angularjs
[08:18:53] *** jonr2219 has quit IRC
[08:18:53] *** Embassy has quit IRC
[08:19:04] *** snurfery has quit IRC
[08:19:13] *** jonr22 has joined #angularjs
[08:19:33] *** platonic_ has quit IRC
[08:19:51] *** naiyte_ has joined #angularjs
[08:20:17] *** joshontheweb has joined #angularjs
[08:20:20] *** Oxynum has quit IRC
[08:20:29] *** joshontheweb has quit IRC
[08:20:30] *** kostiak has joined #angularjs
[08:21:00] *** jonr22 has quit IRC
[08:21:15] *** jonr22 has joined #angularjs
[08:21:30] *** shpoont has joined #angularjs
[08:21:57] *** PeterMetz has quit IRC
[08:23:03] *** vipul_ has joined #angularjs
[08:23:11] *** kostiak has quit IRC
[08:23:20] *** vipul_ has quit IRC
[08:24:02] *** Embassy has joined #angularjs
[08:25:05] *** jonr22 has quit IRC
[08:25:17] *** jonr22 has joined #angularjs
[08:26:25] *** Shrooms has joined #angularjs
[08:26:31] *** shpoont has quit IRC
[08:26:43] *** Shrooms has quit IRC
[08:26:43] *** Shrooms has joined #angularjs
[08:26:59] *** mdedetrich has joined #angularjs
[08:27:12] *** jonr22 has quit IRC
[08:27:20] *** jonr2219 has joined #angularjs
[08:28:04] *** Embassy has quit IRC
[08:28:10] *** rolleiflex has joined #angularjs
[08:28:51] *** VeeWee has quit IRC
[08:29:18] *** nya has joined #angularjs
[08:29:22] *** jonr22 has joined #angularjs
[08:29:24] *** jonr2219 has quit IRC
[08:29:25] <soee> good morning
[08:29:26] *** SargoDarya has joined #angularjs
[08:30:03] *** ggrzybek has joined #angularjs
[08:30:55] *** jonr22 has quit IRC
[08:31:15] *** gunn has quit IRC
[08:31:24] *** jonr22 has joined #angularjs
[08:31:25] *** mtsr has joined #angularjs
[08:32:49] *** Una has quit IRC
[08:33:14] *** jonr22 has quit IRC
[08:33:26] *** jonr22 has joined #angularjs
[08:34:03] *** prbc has joined #angularjs
[08:34:11] *** plushy has joined #angularjs
[08:34:46] *** VeeWee has joined #angularjs
[08:35:19] *** capreolus has joined #angularjs
[08:35:27] *** capreolus has left #angularjs
[08:35:52] *** Aliks has quit IRC
[08:35:58] *** BobbieBarker has quit IRC
[08:36:50] *** thomastuts has joined #angularjs
[08:37:02] *** jonr22 has quit IRC
[08:37:31] *** jonr22 has joined #angularjs
[08:37:50] *** niop has quit IRC
[08:37:51] *** bayousoft has quit IRC
[08:38:19] *** prbc has quit IRC
[08:38:43] <fairuz> morning
[08:39:24] *** niop has joined #angularjs
[08:39:35] *** jonr2219 has joined #angularjs
[08:39:41] *** jonr22 has quit IRC
[08:39:46] *** mrru has joined #angularjs
[08:40:50] *** mdedetrich has quit IRC
[08:41:08] *** mdedetrich has joined #angularjs
[08:41:12] *** mary5030 has joined #angularjs
[08:41:46] *** Sontakey has joined #angularjs
[08:42:21] *** markalanevans has joined #angularjs
[08:42:41] *** IJNX has joined #angularjs
[08:43:10] *** jonr2219 has quit IRC
[08:43:14] *** hilefoks has joined #angularjs
[08:43:25] *** kevinxu has joined #angularjs
[08:43:46] *** jonr22 has joined #angularjs
[08:43:49] *** kevinxu is now known as Guest24735
[08:44:01] *** Evanion has joined #angularjs
[08:44:54] *** patrickarlt has quit IRC
[08:45:12] *** jonr22 has quit IRC
[08:45:13] *** bkuberek has joined #angularjs
[08:45:14] *** plushy has quit IRC
[08:45:39] *** renlo has quit IRC
[08:45:41] *** jonr22 has joined #angularjs
[08:45:43] *** mary5030 has quit IRC
[08:46:31] *** rhp has quit IRC
[08:47:15] *** Rahul_Roy_ has quit IRC
[08:47:30] *** ferrao has joined #angularjs
[08:49:16] *** jonr22 has quit IRC
[08:49:42] *** bkuberek has quit IRC
[08:49:45] *** jonr22 has joined #angularjs
[08:49:46] *** ProLoser has quit IRC
[08:50:16] *** ccohn has joined #angularjs
[08:51:29] *** Usuario has joined #angularjs
[08:51:49] *** jonr2219 has joined #angularjs
[08:51:49] *** lyanchih has joined #angularjs
[08:51:59] *** jonr22 has quit IRC
[08:52:14] *** ferrao has quit IRC
[08:52:24] *** Usuario is now known as frobs
[08:53:13] *** motionman has quit IRC
[08:53:42] *** jonr2219 has quit IRC
[08:53:48] *** jonr22 has joined #angularjs
[08:53:54] *** uris77 has quit IRC
[08:54:07] *** Henryabcd has joined #angularjs
[08:54:17] *** ccohn has quit IRC
[08:54:49] *** Oddman has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:09] *** uris77 has joined #angularjs
[08:55:39] *** bgentled has joined #angularjs
[08:55:45] <lite> Im having difficulties finding some in-depth articles on e2e testing. Im not so interested in the "how" but moreso in the "why" and "what".
[08:55:49] *** jonr22 has quit IRC
[08:55:51] *** jonr2219 has joined #angularjs
[08:55:58] <lite> As in: What should I focus on when writing e2e tests?
[08:56:37] *** rosshugget has joined #angularjs
[08:57:05] <deebo> processes, e.g. in a webshop that could be login -> search for product -> add product to cart -> checkout -> pay
[08:57:35] <deebo> but depends on your context and scope
[08:57:43] *** schimmi has quit IRC
[08:57:48] *** jonr2219 has quit IRC
[08:57:52] *** jonr22 has joined #angularjs
[08:58:06] *** zemiudo has joined #angularjs
[08:58:11] *** pedrosanta has joined #angularjs
[08:58:32] *** zemiudo has quit IRC
[08:58:36] *** Hounddog has joined #angularjs
[08:59:02] *** Oddman has quit IRC
[08:59:25] *** jonr22 has quit IRC
[08:59:27] *** zemiudo has joined #angularjs
[08:59:33] *** Christer has joined #angularjs
[08:59:33] *** Christer has joined #angularjs
[08:59:44] *** SargoDarya has quit IRC
[08:59:49] *** jMyles has quit IRC
[08:59:57] *** Christer has quit IRC
[08:59:59] *** jgoux has joined #angularjs
[09:00:09] *** jonr22 has joined #angularjs
[09:00:18] <jgoux> Hello
[09:00:35] *** SargoDarya has joined #angularjs
[09:01:04] *** Christer has joined #angularjs
[09:02:06] *** laurensclaessen has joined #angularjs
[09:02:21] *** Iravan_ has joined #angularjs
[09:02:31] *** frkout has quit IRC
[09:02:36] *** blomman has joined #angularjs
[09:02:49] *** Iravan has quit IRC
[09:03:06] *** tripu has joined #angularjs
[09:03:16] *** zwacky has joined #angularjs
[09:04:37] *** seriema has joined #angularjs
[09:05:24] *** cliluw has quit IRC
[09:05:38] *** SargoDarya has joined #angularjs
[09:05:53] *** cliluw has joined #angularjs
[09:05:58] <lite> is there a way to run some code before and after each Spec test?
[09:06:11] *** mkusher has joined #angularjs
[09:06:17] <lite> I have 3 different "parts" of my project I wish to test and for each spec I need some setup and teardown
[09:06:28] *** jonr22 has quit IRC
[09:06:49] *** rosshugget has quit IRC
[09:07:02] <lite> so far i've only been able to lfind beforeEach and afterEach that wil be executed after each test(so too often for my needs) and onPrepare which is not often enough
[09:07:17] *** Raging_Hog has quit IRC
[09:07:22] *** ronskisika has joined #angularjs
[09:07:51] *** mennea has joined #angularjs
[09:07:53] *** koleS has quit IRC
[09:07:55] *** SargoDarya has quit IRC
[09:07:58] *** devhoag has joined #angularjs
[09:08:17] *** jonr22 has joined #angularjs
[09:08:38] *** SargoDarya has joined #angularjs
[09:09:16] <jgoux> Do I have alternatives to $timeout(...,0) to wait until the content is fully rendered in a transcluded directive ?
[09:09:25] *** Guest24735 has quit IRC
[09:09:36] *** jonr22 has quit IRC
[09:09:54] <jgoux> for example I have a dynamic <input name={{::parameter}}> which is not rendered in my directive if I get the name with Jqlite
[09:10:05] <jgoux> I get : "{{:parameter}}" instead of "foo"
[09:10:05] *** jonr22 has joined #angularjs
[09:10:23] <jgoux> So I have to wrap my logic inside a $timeout to make it works
[09:10:28] <jgoux> Is there another way ?
[09:10:54] *** motionman has joined #angularjs
[09:10:55] *** ProLoser has joined #angularjs
[09:11:07] *** goodenou_ has joined #angularjs
[09:11:48] *** cheef has joined #angularjs
[09:12:02] *** jonr22 has quit IRC
[09:12:09] *** jonr2219 has joined #angularjs
[09:12:24] *** fbenoit has joined #angularjs
[09:12:37] *** goodenough has quit IRC
[09:12:42] *** kevinxu has joined #angularjs
[09:13:05] *** kevinxu is now known as Guest82827
[09:13:24] *** tilgovi has quit IRC
[09:13:41] *** jonr2219 has quit IRC
[09:13:42] *** gauravsaini03 has quit IRC
[09:13:46] *** kwd has quit IRC
[09:14:10] *** jonr22 has joined #angularjs
[09:14:51] *** mooru has joined #angularjs
[09:14:51] *** foofoobar has joined #angularjs
[09:15:22] *** StryKaizer has joined #angularjs
[09:16:03] *** jonr22 has quit IRC
[09:16:12] *** jonr22 has joined #angularjs
[09:16:12] <frobs> hi
[09:16:17] *** patrickarlt has joined #angularjs
[09:17:44] *** smathson has joined #angularjs
[09:17:45] *** jonr22 has quit IRC
[09:18:03] *** ron1 has joined #angularjs
[09:18:03] *** blomman has quit IRC
[09:18:13] *** jonr22 has joined #angularjs
[09:19:05] *** bahoo has quit IRC
[09:19:05] *** rburns has quit IRC
[09:19:22] *** rburns has joined #angularjs
[09:19:41] *** mchammer has joined #angularjs
[09:19:53] *** jonr22 has quit IRC
[09:20:15] *** MaxV has joined #angularjs
[09:20:16] *** jonr22 has joined #angularjs
[09:20:17] *** platonic has joined #angularjs
[09:20:58] *** patrickarlt has quit IRC
[09:21:14] *** grogs has joined #angularjs
[09:21:15] *** ProLoser has quit IRC
[09:21:17] *** aslate has joined #angularjs
[09:22:08] *** ron1 has quit IRC
[09:22:38] *** smathson has quit IRC
[09:22:43] *** ProLoser has joined #angularjs
[09:23:52] *** jonr22 has quit IRC
[09:23:53] *** tfennelly has joined #angularjs
[09:24:27] *** blomman has joined #angularjs
[09:24:32] *** AWAW has joined #angularjs
[09:24:37] *** nfroidure has joined #angularjs
[09:24:41] *** jonr22 has joined #angularjs
[09:25:18] *** cotko has joined #angularjs
[09:26:05] *** jonr22 has quit IRC
[09:26:15] *** schimmi has joined #angularjs
[09:26:18] *** aslate has quit IRC
[09:26:22] *** jonr22 has joined #angularjs
[09:26:50] *** shpoont has joined #angularjs
[09:26:57] *** DoubleAW has quit IRC
[09:27:09] *** aortmann has joined #angularjs
[09:27:43] *** Oka has quit IRC
[09:27:59] *** frankblizzar has joined #angularjs
[09:28:26] *** jonr2219 has joined #angularjs
[09:28:27] *** jonr22 has quit IRC
[09:29:13] *** diegoviola has quit IRC
[09:29:17] *** ludkiller has quit IRC
[09:29:24] *** phzon has joined #angularjs
[09:29:24] *** sinequanon has quit IRC
[09:29:32] *** alqahtani has joined #angularjs
[09:29:35] *** mdedetrich has quit IRC
[09:29:39] *** Ivan_ has joined #angularjs
[09:30:03] *** Ivan_ is now known as Guest61074
[09:30:27] *** jonr22 has joined #angularjs
[09:30:36] *** jonr2219 has quit IRC
[09:30:44] *** ludkiller has joined #angularjs
[09:30:48] *** Anonymous_ has joined #angularjs
[09:31:26] *** frankbli_ has joined #angularjs
[09:31:53] *** DarrenCraig has joined #angularjs
[09:32:05] *** mdedetrich has joined #angularjs
[09:32:13] *** jonr22 has quit IRC
[09:32:31] *** jonr22 has joined #angularjs
[09:32:50] *** frkout has joined #angularjs
[09:32:58] *** GauravButola has joined #angularjs
[09:33:19] *** guilbep has joined #angularjs
[09:33:20] *** tomengland_mbp has joined #angularjs
[09:33:28] *** tomengland_mbp has quit IRC
[09:33:48] *** frankblizzar has quit IRC
[09:34:09] *** jonr22 has quit IRC
[09:34:32] *** jonr22 has joined #angularjs
[09:35:35] *** jacuqesdancona_ has joined #angularjs
[09:35:35] <GauravButola> I have created a request interceptor and in a specific case, I don’t want the request to hit the server and return the directly from interceptor. But resolving a defer with data and returning it seems to hit the server anyway. How Can I not hit the server and return data? Thanks.
[09:35:59] *** jaznow has joined #angularjs
[09:36:05] *** jagga has joined #angularjs
[09:36:25] *** Juanchito has joined #angularjs
[09:36:34] *** zwacky has quit IRC
[09:36:36] *** Hounddog has quit IRC
[09:36:44] *** borgman has joined #angularjs
[09:37:31] *** GauravButola has left #angularjs
[09:38:36] *** jonr2219 has joined #angularjs
[09:38:55] *** jonr22 has quit IRC
[09:39:10] *** GauravButola has joined #angularjs
[09:39:56] *** saucey has joined #angularjs
[09:40:38] *** jonr22 has joined #angularjs
[09:40:45] *** Anonymous_ has quit IRC
[09:40:48] *** jonr2219 has quit IRC
[09:40:48] *** PeterMetz has joined #angularjs
[09:41:50] *** ferrao has joined #angularjs
[09:42:08] <soee> in my directive i have scope attribute: scope: {foo: '='}, in link functionif i debug it with console.log(scope.foo) it show smy object but if i try to log some property of it it never rteturns anything, any idea why ?
[09:42:09] *** milka has joined #angularjs
[09:42:12] *** jonr22 has quit IRC
[09:42:58] *** jonr22 has joined #angularjs
[09:43:21] *** seriema has quit IRC
[09:43:24] *** dannyc_ has joined #angularjs
[09:43:46] *** saucey has quit IRC
[09:43:58] *** seriema has joined #angularjs
[09:43:59] *** jagga has quit IRC
[09:44:01] <wafflej0ck_> soee: you're seeing the object in a later state most likely
[09:44:18] <wafflej0ck_> soee: the console doesn't necessarily show you the object in it's state when it was logged
[09:44:24] *** jonr22 has quit IRC
[09:44:39] *** burattino has joined #angularjs
[09:44:43] *** jonr22 has joined #angularjs
[09:44:47] *** robksawyer has quit IRC
[09:44:50] <wafflej0ck_> soee: you may need scope.$watch('foo',function(new,old){/*console.log(foo.prop)*/})
[09:45:11] <soee> wafflej0ck_: ok, ill chekc that now
[09:45:17] *** PeterMetz has quit IRC
[09:45:19] *** kwd has joined #angularjs
[09:46:18] *** exp10r3r has quit IRC
[09:46:42] *** ferrao has quit IRC
[09:46:50] *** jonr2219 has joined #angularjs
[09:46:55] *** Sky[x] has joined #angularjs
[09:47:54] *** dannyc_ has quit IRC
[09:48:10] *** wa5ted has quit IRC
[09:48:23] *** jonr2219 has quit IRC
[09:48:27] *** motionman has quit IRC
[09:48:48] *** Guest61074 has quit IRC
[09:48:48] *** jonr2219 has joined #angularjs
[09:48:48] *** seriema has quit IRC
[09:49:13] *** motionman has joined #angularjs
[09:49:44] *** jonr22 has quit IRC
[09:50:10] *** wa5ted has joined #angularjs
[09:50:43] *** jonr2219 has quit IRC
[09:50:49] *** jonr22 has joined #angularjs
[09:51:00] *** ccohn has joined #angularjs
[09:51:08] *** lugzer has quit IRC
[09:52:00] *** wa5ted has quit IRC
[09:52:03] *** wa5ted_ has joined #angularjs
[09:52:11] *** swirlycheetah has joined #angularjs
[09:52:15] *** linojon has quit IRC
[09:52:22] *** alqahtani has quit IRC
[09:52:53] *** jonr2219 has joined #angularjs
[09:52:54] *** marr has joined #angularjs
[09:53:07] *** lemur has quit IRC
[09:53:17] *** jonr22 has quit IRC
[09:53:35] <swirlycheetah> having some animation issues since upgrading to 1.3 but i can't find much to suggest what I may need to amend, anyone come across something similar or have any suggestions?
[09:53:39] *** samuel02 has joined #angularjs
[09:53:41] *** lemur has joined #angularjs
[09:53:43] *** wa5ted has joined #angularjs
[09:53:55] *** wa5ted_ has quit IRC
[09:54:33] *** seriema has joined #angularjs
[09:54:33] *** DarrenCraig has quit IRC
[09:54:40] *** jonr2219 has quit IRC
[09:54:54] *** jonr22 has joined #angularjs
[09:55:19] *** wa5ted has quit IRC
[09:55:29] *** devhoag has quit IRC
[09:55:35] *** wa5ted has joined #angularjs
[09:55:41] *** ccohn has quit IRC
[09:55:51] *** foofoobar has quit IRC
[09:56:18] *** niop2 has joined #angularjs
[09:56:58] *** jonr2219 has joined #angularjs
[09:57:22] *** wa5ted_ has joined #angularjs
[09:57:26] *** jonr22 has quit IRC
[09:57:28] *** wa5ted has quit IRC
[09:57:36] *** SargoDarya has quit IRC
[09:57:42] *** charuru has quit IRC
[09:58:06] *** niop has quit IRC
[09:58:10] *** lemur has quit IRC
[09:58:13] *** Aliks has joined #angularjs
[09:58:54] *** wa5ted_ has quit IRC
[09:58:55] <soee> wafflej0ck_: its the same object logged from $watch function in directives link, though it comes from outer controller and it is fetched by ngResource, not sure why it wont log any property value
[09:59:00] *** seriema has quit IRC
[09:59:13] *** wa5ted has joined #angularjs
[09:59:33] *** ssawickik has joined #angularjs
[10:00:07] *** tripu has quit IRC
[10:00:16] *** yandos has joined #angularjs
[10:00:35] *** jonr2219 has quit IRC
[10:00:51] *** wa5ted has quit IRC
[10:00:59] *** wa5ted has joined #angularjs
[10:01:12] *** jonr22 has joined #angularjs
[10:01:34] *** edy has joined #angularjs
[10:01:43] *** edy has joined #angularjs
[10:02:18] *** wa5ted has quit IRC
[10:02:36] *** jonr22 has quit IRC
[10:02:45] *** romanbyte has joined #angularjs
[10:02:49] *** MistahKurtz has quit IRC
[10:02:49] *** wa5ted has joined #angularjs
[10:02:56] *** NoNMaDDeN has quit IRC
[10:03:04] *** jonr22 has joined #angularjs
[10:03:51] *** Iva has joined #angularjs
[10:04:40] *** wa5ted_ has joined #angularjs
[10:04:47] *** wa5ted has quit IRC
[10:04:47] <Iva> Is ng-checked is built-in directive?
[10:04:59] *** ogdabou has joined #angularjs
[10:05:08] *** jonr2219 has joined #angularjs
[10:05:15] *** Grephix is now known as Zementa
[10:05:36] *** yandos has quit IRC
[10:05:37] *** jonr22 has quit IRC
[10:05:49] *** foofoobar has joined #angularjs
[10:05:51] <romanbyte> hello everyone! somebody knows how to work with angular and Backbase portal, there is native scripts conflict directiv at html tags
[10:06:06] *** wa5ted_ has quit IRC
[10:06:06] *** juampy has joined #angularjs
[10:06:23] *** m8 has joined #angularjs
[10:06:26] *** wa5ted has joined #angularjs
[10:06:50] *** Greed has quit IRC
[10:06:52] *** juampy_ has joined #angularjs
[10:07:08] *** jonr2219 has quit IRC
[10:07:10] *** jonr22 has joined #angularjs
[10:07:44] *** wa5ted has quit IRC
[10:07:49] *** Henryabcd has quit IRC
[10:08:02] *** Henryabcd has joined #angularjs
[10:08:06] *** duellsy has joined #angularjs
[10:08:18] *** wa5ted has joined #angularjs
[10:08:47] *** jonr22 has quit IRC
[10:08:59] *** aslate has joined #angularjs
[10:09:01] *** Henryabcd has quit IRC
[10:09:12] *** jonr22 has joined #angularjs
[10:09:18] *** oliver___ has quit IRC
[10:09:37] *** jdj_dk has joined #angularjs
[10:09:49] *** wa5ted has quit IRC
[10:10:28] *** tomengland_mbp has joined #angularjs
[10:10:38] *** zwier has joined #angularjs
[10:10:43] *** juampy has quit IRC
[10:11:12] *** jonr22 has quit IRC
[10:11:15] *** jonr2219 has joined #angularjs
[10:11:33] <Zementa> .
[10:11:37] *** Zementa is now known as Grephix
[10:11:56] *** wa5ted_ has joined #angularjs
[10:12:59] *** uber has quit IRC
[10:13:12] *** jlebrech has joined #angularjs
[10:13:21] *** Aliks has quit IRC
[10:13:22] *** bkuberek has joined #angularjs
[10:13:42] *** wa5ted__ has joined #angularjs
[10:13:48] *** DarrenCraig has joined #angularjs
[10:13:53] *** wa5ted_ has quit IRC
[10:14:06] *** GauravButola has quit IRC
[10:14:16] *** jtimon has joined #angularjs
[10:15:18] *** bkuberek has quit IRC
[10:15:22] *** jonr22 has joined #angularjs
[10:15:27] *** bkuberek has joined #angularjs
[10:15:38] *** jonr2219 has quit IRC
[10:16:16] *** ninkotech_ has joined #angularjs
[10:16:42] *** woah has quit IRC
[10:17:21] *** jonr2219 has joined #angularjs
[10:17:28] *** sacho has joined #angularjs
[10:17:28] *** JoshGlzBrk has joined #angularjs
[10:17:37] *** jonr22 has quit IRC
[10:17:44] *** rishy has joined #angularjs
[10:18:07] *** e0ipso is now known as e0ipso|away
[10:18:18] *** kuil09 has quit IRC
[10:18:31] *** wa5ted__ has quit IRC
[10:19:04] *** jonr2219 has quit IRC
[10:19:09] *** Leon has quit IRC
[10:19:18] *** Sebastien-L has joined #angularjs
[10:19:22] *** jonr22 has joined #angularjs
[10:19:24] *** Iva has quit IRC
[10:19:32] *** jtimon has quit IRC
[10:19:51] *** TyrfingMjolnir has quit IRC
[10:19:51] *** rburns has quit IRC
[10:20:01] *** bkuberek has quit IRC
[10:20:03] *** Leon has joined #angularjs
[10:20:31] *** rburns has joined #angularjs
[10:23:26] *** jonr2219 has joined #angularjs
[10:23:55] *** sikor_sxe has joined #angularjs
[10:24:12] *** Nivag_ has quit IRC
[10:24:14] *** jonr22 has quit IRC
[10:24:43] *** sinclair has joined #angularjs
[10:25:30] *** jonr22 has joined #angularjs
[10:25:41] *** jonr2219 has quit IRC
[10:26:12] *** sandelius has joined #angularjs
[10:26:20] *** motionman has quit IRC
[10:26:49] *** intellix has joined #angularjs
[10:27:04] *** ml has joined #angularjs
[10:27:17] <ml> hi
[10:27:31] *** jonr22 has quit IRC
[10:27:33] *** jonr2219 has joined #angularjs
[10:27:38] *** Tyt has joined #angularjs
[10:27:50] <ml> hi
[10:27:51] *** SargoDarya has joined #angularjs
[10:28:05] <ml> why are you here?
[10:28:51] *** evanjs has quit IRC
[10:29:23] *** evanjs has joined #angularjs
[10:29:59] *** juampy_ is now known as juampy
[10:30:24] *** foofoobar has quit IRC
[10:30:33] *** ingsoc has joined #angularjs
[10:31:25] *** PeterMetz has joined #angularjs
[10:32:09] *** yandos has joined #angularjs
[10:32:21] *** jonr2219 has quit IRC
[10:32:23] *** ml has quit IRC
[10:32:34] *** tomengland_mbp has quit IRC
[10:32:39] *** narutimateum has quit IRC
[10:33:30] *** evanjs has quit IRC
[10:33:39] *** ssawickik has quit IRC
[10:35:08] *** romanbyte has quit IRC
[10:35:29] *** Tyt has quit IRC
[10:35:44] *** doug64k has quit IRC
[10:36:08] *** ferrao has joined #angularjs
[10:36:43] *** josh-k has joined #angularjs
[10:37:08] *** dannyc_ has joined #angularjs
[10:38:40] *** doug64k has joined #angularjs
[10:39:07] *** jgoux has quit IRC
[10:39:23] *** waverider has joined #angularjs
[10:39:24] *** waverider has joined #angularjs
[10:40:10] *** craigp has joined #angularjs
[10:40:13] <waverider> hello
[10:40:17] *** ferrao has quit IRC
[10:40:18] *** foofoobar has joined #angularjs
[10:40:56] *** andrew9183 has quit IRC
[10:41:03] <waverider> if I get a currency number as string ("2.50") from the backend, where is a proper way to convert it (and how) before setting it to a model that is mapped on an <input type="number"> ?
[10:41:05] *** waverider has left #angularjs
[10:41:12] *** waverider has joined #angularjs
[10:41:15] *** dannyc_ has quit IRC
[10:41:16] *** waverider has left #angularjs
[10:41:17] *** Iravan_ has quit IRC
[10:41:18] *** waverider has joined #angularjs
[10:43:26] <soee> where do you gusy initialize cotnrollers values liek model that shoul dbe edited ?
[10:43:31] *** Sasha has joined #angularjs
[10:43:42] *** Oddman has joined #angularjs
[10:43:52] *** tarnus has joined #angularjs
[10:44:06] *** aslate has quit IRC
[10:44:36] <fairuz> soee: your left hand is obviously faster than your right :)
[10:45:18] <soee> fairuz: :-)
[10:45:23] <Sasha> Hai, I'm trying to figure out how to toggle buttons synchronously, so that when a user clicks on a ng-click element, the accordion which contains this element also collapses
[10:45:35] <Sasha> So basically the idea is that there is only one accordion that is active
[10:46:11] <ProLoser> anyone awake and a router pro?
[10:47:06] <andern> ProLoser: angular-route?
[10:47:12] <ProLoser> ui-router
[10:47:14] *** rburns has quit IRC
[10:47:16] <andern> then no
[10:47:24] *** tschundeee has joined #angularjs
[10:47:30] *** jagga has joined #angularjs
[10:47:43] *** aslate has joined #angularjs
[10:48:12] *** Oddman has quit IRC
[10:48:13] *** dannyc_ has joined #angularjs
[10:48:24] *** emmesswhy has joined #angularjs
[10:48:27] <Grokling> ProLoser: Not a pro, but I can usually find my way.
[10:48:48] *** tarnus has quit IRC
[10:48:50] *** sk87 has joined #angularjs
[10:48:51] *** emmesswhy has quit IRC
[10:49:10] <ProLoser> ever do a $state.go() from inside a resolve?
[10:49:28] <Sasha> andern yup that's what I'm using
[10:49:36] <Sasha> I just can't figure out how to use it correctly
[10:49:41] <Grokling> ProLoser: Can't say I have, but I can try it if you want..
[10:51:40] *** TheAceOfHearts has quit IRC
[10:51:46] *** ccohn has joined #angularjs
[10:51:48] <pedrosanta> Hi, what module do you recommend to deal with localization, supporting multiple languages, etc?
[10:53:16] *** thomastuts has quit IRC
[10:53:36] <Grokling> ProLoser: Seems to work - not sure if it's because I'm bouncing through another service on the way. I'm going to try it raw and see.
[10:54:06] <jlebrech> fixed my ui-route issue, incompat with block-ui
[10:55:25] <Sasha> thing is, I tried to use the example in the docs, but I just couldn't get ng-click="status.open = !status.open" to work at all
[10:55:57] *** ccohn has quit IRC
[10:56:03] *** qdk has quit IRC
[10:57:16] *** dman777 has quit IRC
[10:57:41] <Grokling> ProLoser: It doesn't seem to resolve $state properly directly in a resolve. If you inject $state into a service, then inject that service into your resolve it will work.
[10:57:56] *** dman777 has joined #angularjs
[10:59:33] <ProLoser> what?
[10:59:36] <ProLoser> what happens?
[10:59:37] *** lexek_ has joined #angularjs
[11:00:44] *** Left_Turn has joined #angularjs
[11:01:07] *** JR___ has quit IRC
[11:01:13] <Grokling> ProLoser: Injecting $state directly into the resolve gives an "undefined is not a function". Injecting my other service (which has $state injected) and calling it's method works fine from a resolve.
[11:02:27] <ProLoser> are you doing injections correctly?
[11:02:42] *** thomastuts has joined #angularjs
[11:02:52] <Grokling> Given that they work.. I'd assume so.
[11:03:12] *** dsdeiz has quit IRC
[11:04:46] *** SomeKittens has quit IRC
[11:04:54] <ProLoser> finding a weird behavior
[11:05:00] <ProLoser> the controller of the redirected state isn't firing
[11:05:36] *** AlSquire has joined #angularjs
[11:05:36] *** duellsy has quit IRC
[11:05:45] *** chha has joined #angularjs
[11:07:23] <yandos> Sasha: is the issue that your button is closing all accordians and you only want it to close the one the buttons related to?
[11:07:37] *** canthugeverycat has quit IRC
[11:07:57] <Sasha> no on the contrary yandos, I want only a single accordian to be open and synced across multiple devices
[11:09:02] *** lyanchih has quit IRC
[11:09:32] <Grokling> ProLoser: I figured out the issue with my direct $state.go call. And either way I do it, the controller in the ultimate destination state fires.
[11:09:44] *** chha has quit IRC
[11:10:04] *** davidreis has joined #angularjs
[11:10:53] *** cthrax has quit IRC
[11:11:22] *** dc_ has joined #angularjs
[11:11:50] <ProLoser> hmm
[11:11:54] <ProLoser> i think $state.go is broken
[11:12:02] *** Guest82827 has quit IRC
[11:12:15] <Grokling> Could be a version difference?
[11:12:25] *** SargoDarya has quit IRC
[11:12:26] <bealtine> jeez then all my apps will stop working:)
[11:12:41] *** thomastuts has quit IRC
[11:14:32] *** thomastuts has joined #angularjs
[11:15:00] *** arthas has joined #angularjs
[11:15:54] *** GeertJohan_ is now known as GeertJohan
[11:16:01] *** dc_ has quit IRC
[11:16:13] *** GeertJohan has quit IRC
[11:16:13] *** GeertJohan has joined #angularjs
[11:16:28] *** dc_ has joined #angularjs
[11:17:33] *** skyx_ has joined #angularjs
[11:18:48] *** azizur has joined #angularjs
[11:19:29] *** Sky[x] has quit IRC
[11:19:44]
<Sasha> so any ideas how I could get this to work (http://178.62.255.143:8000/)? I'm quite stumped as to what to do, next thing I'm thinking of trying is to set all the boolean values to false in django itself
[11:19:45] *** glontu has joined #angularjs
[11:19:52] <glontu> hi angular
[11:19:53] <Sasha> but it seems counter intuitive for a real time app
[11:20:25] *** Oxynum has joined #angularjs
[11:20:28]
<SexualRickshaw> I'm trying to figure out why the gameList array I have set up in my factory isn't being populated, despite there being a JSON file that's parsed: http://plnkr.co/edit/BjyvpMGRBysjVONBA671
[11:21:16]
<glontu> i have a bit of an esotheric question. does anyone know why my app is so sluggish ? http://liviu-dev1.infp.ro/index.html#/ <--- this is the app and when you click on an event form the list it switches quickly to the event view route but when you click on the button from the footer named "Toate" it's sluggish and i don't know why. Anyone ?
[11:21:28] *** sk87 has quit IRC
[11:22:09] *** aendrew has joined #angularjs
[11:22:12] *** Zmaster has joined #angularjs
[11:22:19] *** thomastuts has quit IRC
[11:22:20] *** edy has quit IRC
[11:22:49] *** sk87 has joined #angularjs
[11:23:46] *** tschundeee has quit IRC
[11:23:49] <Zmaster> Hello I've a problem using typehead with bootstrap-ui : Cannot read property 'length' of undefined in ui-bootstrap-tpls ! Can someone help me ? :)
[11:24:19] *** tschundeee has joined #angularjs
[11:24:35] <Zmaster> Apparently, it's a known issue after Angular 1.2
[11:25:12] *** grogs has quit IRC
[11:26:50] *** thomastuts has joined #angularjs
[11:26:53] *** exp10r3r has joined #angularjs
[11:27:48] *** exp10r3r has joined #angularjs
[11:27:52] *** bengillies has joined #angularjs
[11:28:10] *** foofoobar has quit IRC
[11:28:20] *** sk87 has quit IRC
[11:28:44] *** exp10r3r has joined #angularjs
[11:28:46] *** thomastuts has quit IRC
[11:29:25] *** sk87 has joined #angularjs
[11:29:29] *** jaznow has quit IRC
[11:29:31] *** craigp has quit IRC
[11:29:47] *** platonic has quit IRC
[11:30:26] *** ferrao has joined #angularjs
[11:30:31] *** freelyfred has quit IRC
[11:30:36] *** thomastuts has joined #angularjs
[11:30:53] *** sybarite has joined #angularjs
[11:31:31] *** josh-k_ has joined #angularjs
[11:31:56] *** basiclaser_ has quit IRC
[11:32:02] *** Siyfion has joined #angularjs
[11:32:07] *** sebhoss has joined #angularjs
[11:33:30] *** craigp has joined #angularjs
[11:34:59] *** ferrao has quit IRC
[11:35:02] *** mdedetrich has quit IRC
[11:35:38] *** josh-k has quit IRC
[11:37:42] *** Zmaster has quit IRC
[11:38:15] *** gunn has joined #angularjs
[11:39:02] <Grokling> SexualRickshaw: You're loading the JSON, but not passing the resulting array of games anywhere, or calling the Game.getAllGames function.
[11:39:39] <SexualRickshaw> Grokling: I thought I was doing that in the resolve
[11:39:44] *** jaznow has joined #angularjs
[11:40:07] <Grokling> SexualRickshaw: Which part? Loading the JSON you're doing. The rest, not so much.
[11:40:21] *** zquad has joined #angularjs
[11:40:48] *** platonic has joined #angularjs
[11:40:54] <SexualRickshaw> So would I need to call Game.getAllGames at that point?
[11:41:46] <zquad> let me see if I understand this, the router explicitly only replaces content in ng-view?
[11:41:49] <Grokling> Somewhere you need to either assign your collection to the Context. or pass it through the resolve/injector pathway.
[11:41:54] *** platonic has quit IRC
[11:42:05] *** digitalfiz_ has quit IRC
[11:42:53] *** dc_ has quit IRC
[11:44:04] *** digitalfiz_ has joined #angularjs
[11:44:13] <SexualRickshaw> As you can probably tell, I'm reusing all the code from my last app
[11:44:36] *** macobo has quit IRC
[11:44:56] <Grokling> It was a bit suspicious looking ;-)
[11:45:15] <Grokling> all of it except those parts huh!
[11:46:23] *** ferrao has joined #angularjs
[11:47:02] <SexualRickshaw> Well, even replacing it with a resolve that does call getAllGames and assigns it to a context variable, the array still shows up empty
[11:47:34] <SexualRickshaw> (I tried doing collaboration mode, but it wouldn't let me, so you'll need to check it as I update it)
[11:48:08] <Grokling> Oh - also, you were checking {{all}} before you did the resolve. Stick it in your main.html instead..
[11:48:14] *** jagga has quit IRC
[11:48:30] *** sk87 has quit IRC
[11:48:59] *** Left_Turn has quit IRC
[11:49:01] <Grokling> Did you .then() your getAllGames off the end of loadJSON?
[11:49:21] *** edy has joined #angularjs
[11:49:22] *** jagga has joined #angularjs
[11:49:25] <jlebrech> with ui-router if I refresh it lands back to the home page rather than current state
[11:49:54] <Grokling> jlebrech: As in F5 refresh?
[11:50:00] <jlebrech> Grokling: yep
[11:50:21] <Grokling> You're loading the whole app again. It has no idea what the last incarnation looked like.
[11:50:52] *** jlmitch5dev has joined #angularjs
[11:51:06] <jlebrech> yeah but there are params in the url bar
[11:51:09] <bealtine> hitting f5 works fine for me
[11:51:30] *** NoNMaDDeN has joined #angularjs
[11:51:33] <SexualRickshaw> So what I should be doing is Game.loadJSON().then { code to assign getAllGames to a context variable } ?
[11:52:06] <Grokling> jlebrech: Possibly you have a login thing happening that redirects you to 'home' rather than taking into account the URL you originally asked for..
[11:52:16] <jlebrech> think i wrote the url wrong
[11:52:22] *** gauravsaini03 has joined #angularjs
[11:52:27] <jlebrech> '/something' not 'something'
[11:52:30] <Grokling> SexualRickshaw: Yes.
[11:52:31] *** ccohn has joined #angularjs
[11:52:36] <bealtine> w/o seeing what you are doing we can only guess
[11:52:57] <jlebrech> fixed
[11:55:09] *** ProLoser has quit IRC
[11:55:30] *** Left_Turn has joined #angularjs
[11:56:17] *** NoNMaDDeN has quit IRC
[11:56:48] *** JoshGlzBrk has quit IRC
[11:57:07] *** ccohn has quit IRC
[11:57:09] <SexualRickshaw> I wrapped what I had in a return Games.loadJSON().then{ } wrapper... and that proceeded to break everything
[11:57:20] *** Hounddog has joined #angularjs
[11:57:32] *** resu01 has joined #angularjs
[11:57:47] *** SargoDarya has joined #angularjs
[11:57:57] <bealtine> does loadJSON return a promise?
[11:58:12] <bealtine> nm
[11:58:17] *** sheplu has quit IRC
[11:59:19] <resu01> the problem is modelCtrl.$parsers.unshift is not being triggered until i type a char
[11:59:24] *** foofoobar has joined #angularjs
[12:00:25] <Grokling> Note that getAllGames really doesn't need to be promisey.. that was rob getting excited.
[12:01:04] <SexualRickshaw> Ah, I didn't need to return getAllGames, I just needed to call it
[12:01:21] *** ahtik has joined #angularjs
[12:01:48] <SexualRickshaw> That fixed it, thanks
[12:02:30] *** wa5ted has joined #angularjs
[12:02:44] *** goodenough has joined #angularjs
[12:02:56] <Grokling> We should be returning it too.. just in case we want to chain something else off the promise. You can spend a LOT of time trying to figure out what broke the chain!
[12:02:58] *** sk87 has joined #angularjs
[12:03:07] *** wsmoak has joined #angularjs
[12:03:08] *** wsmoak has joined #angularjs
[12:03:25] <resu01> does trigger.input passes empty character in modelCtrl.$parsers.unshift
[12:03:26] *** ycodr has joined #angularjs
[12:04:15] *** bkuberek has joined #angularjs
[12:04:24] *** tschundeee has quit IRC
[12:04:40] *** daoudi has joined #angularjs
[12:04:59] <daoudi> can i use angular.find to get a direcitve??
[12:05:26] *** goodenou_ has quit IRC
[12:06:13] *** lexek_ has quit IRC
[12:06:41] *** fedenunez has joined #angularjs
[12:07:21] *** wa5ted has quit IRC
[12:08:11] *** elyssonmr has joined #angularjs
[12:08:54] *** bkuberek has quit IRC
[12:08:59] *** jlmitch5dev has quit IRC
[12:09:11] <glontu> is there some example of how to set up and complile an app with angular loaded from cdn and alll local code built into a single file ?
[12:10:09] <glontu> i've been searching and searching but everyone shows how to compile everything into one big 1MB file and i don't understand why people don't use the public google cdn
[12:10:20] *** Guest55576 has quit IRC
[12:10:38] *** sk87 has quit IRC
[12:11:13] *** mariusz- has joined #angularjs
[12:11:19] <swirlycheetah> that's a lot of code for a 1MB js file
[12:11:43] <glontu> well that's what i get after cloning and testing out the different angular seeds
[12:11:44] <yandos> glontu: just reference the angular cdn out of your grunt/gulp/whatever loop
[12:12:03] *** doodlehaus has joined #angularjs
[12:12:03] *** mariusz- is now known as mariusz
[12:12:08] <swirlycheetah> one advantage of combining it all together is that it's one less request
[12:12:20] <swirlycheetah> i doubt that'll be minified though
[12:12:41] *** jdj_dk has quit IRC
[12:13:04] <glontu> but why serve your own angular when by using the cdn you probably benefit from caching and public cdns ?
[12:14:18] *** e0ipso|away is now known as e0ipso
[12:14:28] <swirlycheetah> angular is split into multiple modules
[12:14:31] *** orbsio has joined #angularjs
[12:14:37] *** orbsio is now known as Guest23661
[12:14:48] <swirlycheetah> for example we're using angular animate, sanitize, touch
[12:15:01] <swirlycheetah> as well as ui-router, bindonce
[12:15:15] *** tschundeee has joined #angularjs
[12:15:27] *** mokush has joined #angularjs
[12:15:44] <swirlycheetah> rather than requesting each of those separately from a cdn we just bundle them all together into a single request with all our code
[12:15:44] *** lexek_ has joined #angularjs
[12:15:45] *** Dixty has quit IRC
[12:15:46] *** ajk27 has quit IRC
[12:15:54] *** daoudi has quit IRC
[12:17:04] <swirlycheetah> i dunno, there are arguments for both sides but personally i prefer having more control
[12:17:24] *** SargoDarya has quit IRC
[12:17:34] *** aslate has quit IRC
[12:18:36] *** WhatsInTheBoks has joined #angularjs
[12:18:45] *** cojack has joined #angularjs
[12:19:33] *** ferrao has quit IRC
[12:19:57] *** sebhoss has quit IRC
[12:20:00] *** sahbeewah has joined #angularjs
[12:20:04] *** mrru has quit IRC
[12:20:15] *** frobs has quit IRC
[12:20:35] <glontu> swirlycheetah, can you tell how much that code weighs ? aproximately ?
[12:20:56] <glontu> and do you minify it ?
[12:21:18] *** warpx has quit IRC
[12:21:30] *** sacho_ has joined #angularjs
[12:21:33] <swirlycheetah> 137kb
[12:21:43] <swirlycheetah> yes glontu, minified
[12:21:45] *** laurensclaessen has quit IRC
[12:21:55] *** warpx has joined #angularjs
[12:22:04] <glontu> are you using a seed or something i can play with ?
[12:22:20] <swirlycheetah> no sorry, it's all custom stuff
[12:22:44] <swirlycheetah> never really found much use in any of the seed stuff tbh
[12:23:39] <swirlycheetah> i'd suggest just start with the bare essentials and add as you go, rather than starting with a whole host of things you'll never need/use
[12:23:59] <glontu> ok, i'll just have to dig some more. i wish there was an angular way for packing apps and with docs written like the angular docs
[12:24:48] *** blomman has quit IRC
[12:25:11] <swirlycheetah> me too, we're looking at improving our docs and one of the things suggested is doing it in a similar way to the angular team
[12:25:21] *** blomman has joined #angularjs
[12:25:26] *** greatdex has quit IRC
[12:25:30] <swirlycheetah> i haven't had chance to figure out exactly how they're doing it yet though
[12:25:54] *** rishy has quit IRC
[12:26:38] *** Oddman has joined #angularjs
[12:26:41] *** sahbeewah has quit IRC
[12:27:20] *** RangerRick has quit IRC
[12:27:42] *** RangerRick has joined #angularjs
[12:27:54] *** ogdabou has quit IRC
[12:28:05] <swirlycheetah> there must be some cruft in those seed projects though, just checked the size of all our js unminified and its 400kb
[12:28:35] *** Oddman has quit IRC
[12:28:37] *** sahbeewah has joined #angularjs
[12:29:04] *** ali_ has quit IRC
[12:29:08] *** jaydubya has quit IRC
[12:29:20] *** ccohn has joined #angularjs
[12:29:22] *** jaydubya has joined #angularjs
[12:29:55] *** eBureau has joined #angularjs
[12:29:58] *** blomman has quit IRC
[12:30:02] *** \du has joined #angularjs
[12:30:03] *** \du has joined #angularjs
[12:30:32] *** jonr22 has joined #angularjs
[12:30:42] *** Oddman has joined #angularjs
[12:31:02] *** Oddman has joined #angularjs
[12:31:07] *** lexek_ has quit IRC
[12:31:33] *** resu01 has quit IRC
[12:32:48] *** tarnus has joined #angularjs
[12:34:08] *** ccohn has quit IRC
[12:35:02] *** net2014 has joined #angularjs
[12:35:10] *** fairuz has quit IRC
[12:35:22] *** jonr22 has quit IRC
[12:35:55] *** kwd has quit IRC
[12:37:38] *** tarnus has quit IRC
[12:38:38] *** quantax- has quit IRC
[12:39:49] *** sandelius has quit IRC
[12:39:53] *** net2014 has left #angularjs
[12:41:11] *** mennea_ has joined #angularjs
[12:41:56] *** mikronaz has joined #angularjs
[12:42:17] *** ali_ has joined #angularjs
[12:43:07] *** cannap has joined #angularjs
[12:43:36] *** rkjdid has quit IRC
[12:43:52] *** sk87 has joined #angularjs
[12:44:44] *** mennea has quit IRC
[12:44:59] *** techsethi has joined #angularjs
[12:45:27] *** \du has quit IRC
[12:45:27] *** IvailoStoianov has joined #angularjs
[12:46:19] *** rkjdid has joined #angularjs
[12:46:24] *** zquad has left #angularjs
[12:48:50] *** serengeor has joined #angularjs
[12:49:11] *** cakirke has joined #angularjs
[12:49:38] *** basiclaser_ has joined #angularjs
[12:50:36] *** daoudi has joined #angularjs
[12:50:56] <daoudi> i have a rootScope variable, any idea how can i watch it inside a directive?
[12:51:32] *** AciD` has joined #angularjs
[12:53:49] *** a3gis has joined #angularjs
[12:54:17] *** saint-ron has quit IRC
[12:54:54] *** daoudi has quit IRC
[12:54:55] *** ammbot has joined #angularjs
[12:55:12] *** aslate has joined #angularjs
[12:55:45] *** motionman has joined #angularjs
[12:56:35] *** ammbot has left #angularjs
[12:57:04] *** tschundeee has quit IRC
[12:57:36] *** tschundeee has joined #angularjs
[12:58:03] *** goodenough has quit IRC
[12:58:17] *** saint-ron has joined #angularjs
[12:58:35] *** NoNMaDDeN has joined #angularjs
[13:00:16] *** heizkessel has joined #angularjs
[13:00:16] *** jdj_dk has joined #angularjs
[13:00:46] *** SargoDarya has joined #angularjs
[13:01:24] *** motionman has quit IRC
[13:02:07] *** saint-ron has quit IRC
[13:02:29] *** RedOrangeZ has joined #angularjs
[13:02:36] *** tschundeee has quit IRC
[13:02:46]
<mikronaz> Hey, I have this case with ui-router, maybe someone has ideas how to sole this. I have a $stateChangeStart handler (here: http://pastebin.com/BPGRnvKd) which changes templateUrl and controller if user is not authenticated. This works fine on simple routing, however it fails on nested states. toState has 'views' property on nested state, however, it seems that it can't be overwritten. Any ideas how I could handle nested states? :?
[13:03:47] *** saint-ron has joined #angularjs
[13:04:24] *** qdk has joined #angularjs
[13:05:54] *** ogdabou has joined #angularjs
[13:06:25] *** sahbeewah has quit IRC
[13:06:37] *** dsdeiz has joined #angularjs
[13:08:01] *** mrits has joined #angularjs
[13:08:09] *** canthugeverycat has joined #angularjs
[13:10:21] *** simplyshipley has joined #angularjs
[13:10:41] *** Snugug has joined #angularjs
[13:10:51] *** spatialbrew has joined #angularjs
[13:11:06] *** jonatas_oliveira has joined #angularjs
[13:11:24] *** kapil__ has quit IRC
[13:11:39] *** mtsr has quit IRC
[13:12:06] *** bayousoft has joined #angularjs
[13:12:23] *** mtsr has joined #angularjs
[13:12:46] *** wa5ted has joined #angularjs
[13:12:55] *** blomman has joined #angularjs
[13:14:39] *** blomman has quit IRC
[13:15:00] *** blomman has joined #angularjs
[13:15:08] *** jlebrech has quit IRC
[13:15:37] *** josh-k_ has quit IRC
[13:16:03] *** josh-k has joined #angularjs
[13:16:45] *** blomman has quit IRC
[13:17:35] *** blomman has joined #angularjs
[13:17:44] *** doodlehaus has quit IRC
[13:18:20] *** saint-ron has quit IRC
[13:19:22] *** blomman has quit IRC
[13:19:57] *** blomman has joined #angularjs
[13:20:04] *** carif has joined #angularjs
[13:20:23] *** josh-k has quit IRC
[13:20:54] *** wa5ted has quit IRC
[13:21:19] *** warpx has quit IRC
[13:21:42] *** fedenunez has quit IRC
[13:22:14] *** laurensclaessen has joined #angularjs
[13:22:41] *** heizkessel is now known as motionman
[13:22:59] *** rileylark has joined #angularjs
[13:24:08] *** balr0g has joined #angularjs
[13:24:25] *** laurensclaessen has quit IRC
[13:24:30] *** yandos has quit IRC
[13:24:41] *** laurensclaessen has joined #angularjs
[13:25:15] *** mooru has quit IRC
[13:25:19] *** yandos has joined #angularjs
[13:26:26] *** bengillies has quit IRC
[13:28:28] *** mmealling has quit IRC
[13:28:45] *** tschundeee has joined #angularjs
[13:30:25] *** ccohn has joined #angularjs
[13:30:54] *** Ajans has joined #angularjs
[13:32:16] *** AngularUI has joined #angularjs
[13:32:16]
<AngularUI> [bootstrap] mariocasciaro opened pull request #3045: feat(dropdown): Make Auto-Close Dropdowns optional. Fix #2218 (master...master) http://git.io/Iti1Fw
[13:32:16] *** AngularUI has left #angularjs
[13:32:16] *** drej has quit IRC
[13:32:30] *** ishan1604 has joined #angularjs
[13:32:34] *** drej has joined #angularjs
[13:32:54] *** lsiv568 has joined #angularjs
[13:33:37] *** azizur has quit IRC
[13:33:45] *** wa5ted has joined #angularjs
[13:35:00] *** ccohn has quit IRC
[13:36:43] *** Ajans has quit IRC
[13:36:58] *** Ajans has joined #angularjs
[13:37:45] *** frem has quit IRC
[13:37:56] *** craigp has quit IRC
[13:38:25] *** craigp has joined #angularjs
[13:38:30] *** marcjs has joined #angularjs
[13:38:57] *** craigp has quit IRC
[13:39:11] *** tschunde_ has joined #angularjs
[13:39:17] *** elyssonmr has quit IRC
[13:40:37] *** jlebrech has joined #angularjs
[13:41:16] *** tschundeee has quit IRC
[13:41:19] *** sebhoss has joined #angularjs
[13:41:35] *** a3gis has quit IRC
[13:43:35] <jonatas_oliveira> Hello, I have a backend app that outputs the HTML code for me and I want to pass data from my backend code to the Angular app, I tried to do it with ng-init in the same tag where ng-controller is defined, but when I try to access the variable inside of the controller it's undefined. There is any better way to this?
[13:43:46] *** ProLoser has joined #angularjs
[13:44:01] *** boxmein has joined #angularjs
[13:44:10] *** PeterMetz has quit IRC
[13:44:44] *** PeterMetz has joined #angularjs
[13:44:44] *** Adam91 has joined #angularjs
[13:45:00] <Adam91> Hi guys, im starting out with angular after learning some javascript and was wondering if its possible to add an if statement within a .html page? For authentication purposes, if a variable is not true then redirect the user.
[13:46:07] *** rileylark has quit IRC
[13:46:40] *** mrru has joined #angularjs
[13:47:59] *** quantax- has joined #angularjs
[13:48:22] *** ProLoser has quit IRC
[13:48:23] *** robert_ has quit IRC
[13:48:35] *** phzon has quit IRC
[13:48:38] *** pspfolio has joined #angularjs
[13:48:43] *** jaznow has quit IRC
[13:48:48] *** robert_ has joined #angularjs
[13:48:48] *** robert_ has joined #angularjs
[13:49:37] *** Hounddog has quit IRC
[13:49:42] *** PeterMetz has quit IRC
[13:49:49] *** wolfman2000 has quit IRC
[13:50:23] *** wolfman2000 has joined #angularjs
[13:50:59] *** ccohn has joined #angularjs
[13:50:59] <pedrosanta> Adam91: I think one good approach might be to have a Controller (ng-controller) to do that for you on that page.
[13:51:30] *** pspfolio_ has quit IRC
[13:51:36] <pedrosanta> Adam91: But if you're using ng-route, for instance, I think that would go better on the route Controller.
[13:52:18] *** \du has joined #angularjs
[13:52:27] *** \du has joined #angularjs
[13:52:36] *** ccohn has quit IRC
[13:52:46] <Adam91> pedrosanta: Thanks, I will be using it for the route controller. I just want to make it so that if say for example if you went to x.html and isLogin = true you can see the page. If isLogin = false then redirect to the login page
[13:52:47] *** doodlehaus has joined #angularjs
[13:53:02] *** bkuberek has joined #angularjs
[13:53:11] *** ccohn has joined #angularjs
[13:53:30] *** OnkelTem has quit IRC
[13:53:44] *** samuel02 has quit IRC
[13:53:59] *** martianboy has joined #angularjs
[13:54:29] *** niop2 has quit IRC
[13:54:53] *** wolfman2000 has quit IRC
[13:55:12] *** OnkelTem has joined #angularjs
[13:55:47] *** elyssonmr has joined #angularjs
[13:56:07] *** rileylark has joined #angularjs
[13:56:18] *** fedenunez has joined #angularjs
[13:56:34]
<pedrosanta> Adam91: I think one good approach might be adding a route resolve to check if the user is logged in and or (1) resolve it to a variable of sorts and do that handling on the route controller or (2) make that resolve fail and handle the $routeChangeError accordingly. Open $routeProvider.when() method documentation and check the part of 'resolve' on the route param, here: https://docs.angularjs.org/api/ngRoute/provider/$routeProvider
[13:56:59] *** drej has quit IRC
[13:57:12] *** SahanH has joined #angularjs
[13:57:17] *** ccohn has quit IRC
[13:57:29] *** exp10r3r has quit IRC
[13:57:35] *** sk87 has quit IRC
[13:57:41] *** bkuberek has quit IRC
[13:57:46] *** rcanepa has joined #angularjs
[13:58:07] <Adam91> pedrosanta: I will have a look, thanks very much for your help :) AngularJS seems like it has a great community behind it :)
[13:58:19] *** mrits has quit IRC
[13:58:46] <pedrosanta> Sure, no problem. It has a big community for sure, it's hugely popular these days. :)
[13:59:55] *** dseitz has quit IRC
[14:00:16] <Adam91> Will be much better when we start learning node and have full stack JS!!
[14:00:24] *** tarnus has joined #angularjs
[14:00:59] *** rstyrman has quit IRC
[14:01:26] *** samuel02 has joined #angularjs
[14:01:37] *** Solid1_afk is now known as Solid1
[14:03:00] *** Pitel_IPEX has joined #angularjs
[14:03:01] *** nerdy has quit IRC
[14:03:38] *** rileylark has quit IRC
[14:04:03] *** caitp has joined #angularjs
[14:05:11] *** loverajoel has joined #angularjs
[14:06:07] *** samuel02 has quit IRC
[14:06:56] <jacuqesdancona_> Quick question: ng-class="{thing.status: thing.status === 'valid' && !someBoolean}" isn't parsable, why?
[14:06:57] *** JohnBat26 has joined #angularjs
[14:07:18] <Pitel_IPEX> Hi. I've a bunch of objects, and each object can be in 0-n groups. Is there some easy way to get list of objects for each group?
[14:07:27] *** zlalanne has joined #angularjs
[14:07:37] *** dcorona_irc_2020 has quit IRC
[14:07:41] <jacuqesdancona_> ng-class="{'valid': page.__valid === 'valid' && !tryingToProceed}" does work
[14:07:49] *** ogdabou has quit IRC
[14:07:59] <jacuqesdancona_> but I don't acutally want tons of exceptions in this ng-class
[14:08:06] *** dc_ has joined #angularjs
[14:08:09] <jacuqesdancona_> anyone knows a workaround?
[14:08:19] *** phzon has joined #angularjs
[14:08:21] *** Hounddog has joined #angularjs
[14:08:22] <pedrosanta> jacuqesdancona_: Riight... I think ng-class doesn't exactly evals expressions... :/ The reason I don't know why, but when I'm faced with that I try to evaluate the expression into a scope bool previously, on the controller/directive, etc.
[14:08:26] *** MaxV has quit IRC
[14:08:43] *** kapil__ has joined #angularjs
[14:08:52] *** SahanH has quit IRC
[14:08:57] *** caitp has quit IRC
[14:09:12] *** Snugug has quit IRC
[14:09:15] *** ogdabou has joined #angularjs
[14:09:37] <pedrosanta> jacuqesdancona_: maybe have a watcher on that condition, dunno, but from my experience i think ng-class only accepts bools or values that evaluate to bool
[14:09:37] *** caitp has joined #angularjs
[14:10:05] *** bayousoft has quit IRC
[14:10:13] <jacuqesdancona_> ng-class="{stuff.aString}" does work though
[14:10:15] *** dcorona_irc_2020 has joined #angularjs
[14:10:23] *** bruno has joined #angularjs
[14:10:44] <pedrosanta> well stuff.aString evaluates to bool i guess
[14:10:47] *** bruno is now known as Guest86432
[14:10:48] *** phzon_ has joined #angularjs
[14:10:49] <pedrosanta> "" == false
[14:10:54] <pedrosanta> undefined and null too
[14:11:04] <pedrosanta> and everything else true
[14:11:10] <jacuqesdancona_> hmm
[14:11:10] *** phzon has quit IRC
[14:11:24] *** techsethi has quit IRC
[14:12:03] *** kirfu has quit IRC
[14:12:08] <pedrosanta> jacuqesdancona_: can't you have that value pre-calculated on the scope? on a controller, or so?
[14:12:09] *** doodlehaus has quit IRC
[14:12:10] <jacuqesdancona_> well, need to write a directive then, can't really control this stuff from the controller
[14:12:31] <pedrosanta> or that, if it come to that yes. :)
[14:12:34] <jacuqesdancona_> It's updating itself with a pretty complex filter
[14:12:48] <pedrosanta> it deals with dom view stuff?
[14:13:03] <jacuqesdancona_> I don't really want to touch it in the controller, because that filter is used in more than one template
[14:13:14] *** mite_mitreski has joined #angularjs
[14:13:17] *** dcorona_irc_2020 has quit IRC
[14:13:20] <jacuqesdancona_> indirect, yes
[14:13:25] <pedrosanta> hum ok.
[14:15:04] <jacuqesdancona_> I'm using it as a sort-of shadow dom, instead of using 30 different directives, it checks validity. So [someFieldset.valid === true, otherFieldset.valid === false]
[14:15:20] <jacuqesdancona_> which is used in the dom with ng-ifs, ng-shows, etc
[14:15:55] *** tristanp has joined #angularjs
[14:16:05] *** ishan1604 has quit IRC
[14:16:13] *** IJNX has quit IRC
[14:16:45] *** cakirke has quit IRC
[14:17:39] *** dc_ has quit IRC
[14:17:49] *** rchavik has quit IRC
[14:19:08] *** danecando has quit IRC
[14:19:19] *** carif has quit IRC
[14:19:31] *** dc_ has joined #angularjs
[14:19:35] *** jonr22 has joined #angularjs
[14:19:51] *** mityaz has joined #angularjs
[14:20:42] *** htmelvis has joined #angularjs
[14:21:34] *** jonatas_oliveira has quit IRC
[14:22:50] *** OddDuck has quit IRC
[14:23:12] *** macabre has joined #angularjs
[14:23:15] *** OddDuck has joined #angularjs
[14:23:16] *** OddDuck has joined #angularjs
[14:23:29] *** pen has quit IRC
[14:23:43] *** technickul has joined #angularjs
[14:24:10] *** blomman has quit IRC
[14:24:12] *** dc_ has quit IRC
[14:24:13] *** Oddman has quit IRC
[14:24:27] *** moritzschaefer has joined #angularjs
[14:24:38] *** jonr22 has quit IRC
[14:25:18] *** metasansana has joined #angularjs
[14:26:00] *** Guest86432 has quit IRC
[14:26:34] *** sk87 has joined #angularjs
[14:28:01] *** Hermetica has joined #angularjs
[14:28:43] *** mogaj has quit IRC
[14:28:45] *** bbankes has joined #angularjs
[14:28:55] *** annlewis has joined #angularjs
[14:29:43] *** thomastuts has quit IRC
[14:30:08] *** lite_ has joined #angularjs
[14:30:10] *** walden|afk is now known as walden
[14:31:17] *** jtimon has joined #angularjs
[14:31:52] *** emmesswhy has joined #angularjs
[14:33:34] *** rileylark has joined #angularjs
[14:33:37] *** lite has quit IRC
[14:33:37] *** aendrew has quit IRC
[14:34:03] *** shpoont has quit IRC
[14:34:29] *** shpoont has joined #angularjs
[14:34:40] *** laurensclaessen has quit IRC
[14:35:27] *** encryptd_fractl has joined #angularjs
[14:36:08] *** lite_ has quit IRC
[14:36:14] *** qwebirc99380 has joined #angularjs
[14:36:34] *** tschunde_ has quit IRC
[14:36:50] *** tschundeee has joined #angularjs
[14:36:55] *** hilefoks has quit IRC
[14:37:47] *** blomman has joined #angularjs
[14:38:11] *** htmelvis has quit IRC
[14:39:03] *** fbenoit_ has joined #angularjs
[14:39:54] *** laurensclaessen has joined #angularjs
[14:40:02] *** mennea_ has quit IRC
[14:40:11] *** sampsons has joined #angularjs
[14:40:40] *** mennea has joined #angularjs
[14:41:00] *** jaznow has joined #angularjs
[14:41:05] *** annlewis has quit IRC
[14:41:41] *** hilefoks has joined #angularjs
[14:41:51] *** thomastuts has joined #angularjs
[14:41:58] *** bkuberek has joined #angularjs
[14:42:28] *** fbenoit has quit IRC
[14:42:39] *** samuel02 has joined #angularjs
[14:42:48] *** Linell has joined #angularjs
[14:42:53] *** ccohn has joined #angularjs
[14:43:13] *** lite has joined #angularjs
[14:43:20] *** anapitupulu has quit IRC
[14:43:52] *** Anonymous_ has joined #angularjs
[14:43:58] *** fbenoit_ has quit IRC
[14:44:04] *** lexek_ has joined #angularjs
[14:44:15] *** metal55 has joined #angularjs
[14:44:20] *** fbenoit has joined #angularjs
[14:44:27] *** Oddman has joined #angularjs
[14:44:31] *** sjt003 has quit IRC
[14:45:25] *** glassir has joined #angularjs
[14:45:38] *** emmesswhy has quit IRC
[14:45:38] <metal55> Hi all. I am tying to set the ng-src value to the first item of an array like so ng-src="item.images.0.url" I also tried ng-src="item.images[0].url" but no joy.. any thoughts?
[14:45:57] *** bkuberek has quit IRC
[14:46:08] *** ConstantineXVI has quit IRC
[14:46:23] *** ConstantineXVI has joined #angularjs
[14:46:40] <Linell> metal55: images is the array, right? Have you tried just putting item.images as a whole somehwere on the page so that you can view it and verify that the data is there and correct?
[14:48:08] *** mmealling has joined #angularjs
[14:48:52] *** jeffisabelle has joined #angularjs
[14:49:33] *** danecando has joined #angularjs
[14:49:57] <metal55> Linell: ahh... interesting. Now I get "Syntax Error: Token '.0.' is at column {2} of the expression [{3}] starting at [{4}]."
[14:50:38] *** wolfman2000 has joined #angularjs
[14:50:41] *** Rahul_Roy_ has joined #angularjs
[14:51:13] *** elrabin has joined #angularjs
[14:51:27] <tga> any good resources on auditing and fixing angular performance?
[14:51:48] *** crazybotsmoker has quit IRC
[14:52:06] *** rileylark has quit IRC
[14:52:11] *** knownasilya has joined #angularjs
[14:52:13] *** craigp has joined #angularjs
[14:52:14] *** Poppabear has joined #angularjs
[14:52:14] <tga> it takes me an embarassingly long 10-30s to render a 100 question form
[14:52:54] *** akrikos has joined #angularjs
[14:52:56] <Linell> metal55: You can't access array elements like that. Use the images[0] bit
[14:53:18] *** mennea has quit IRC
[14:53:26] *** loverajo_ has joined #angularjs
[14:54:44] *** renanoronfle has joined #angularjs
[14:54:45] *** loverajoel has quit IRC
[14:54:46] *** lite has quit IRC
[14:54:57] *** wolfman2000 has quit IRC
[14:55:18] *** aendrew has joined #angularjs
[14:56:25] *** japhar81 has joined #angularjs
[14:56:30] *** TweedleDee has quit IRC
[14:56:30] *** Linell has quit IRC
[14:56:43] *** JERE has joined #angularjs
[14:56:46] *** spatialbrew_ has joined #angularjs
[14:56:50] *** bengillies has joined #angularjs
[14:57:09] <metal55> Linell: humm stil no joy
[14:57:15] *** crazybotsmoker has joined #angularjs
[14:57:35] *** shpoont has quit IRC
[14:57:41] *** tschunde_ has joined #angularjs
[14:58:02] *** mrits has joined #angularjs
[14:58:37] *** technickul has quit IRC
[14:58:57] *** spatialbrew has quit IRC
[14:59:07] *** Greed has joined #angularjs
[14:59:32] *** dannyc__ has joined #angularjs
[14:59:46] *** annlewis has joined #angularjs
[14:59:51] *** tschundeee has quit IRC
[14:59:54] *** mrwn has joined #angularjs
[15:00:01] *** azizur has joined #angularjs
[15:00:34] *** VeeWee has quit IRC
[15:00:57] *** shpoont has joined #angularjs
[15:01:33] *** swirlycheetah has quit IRC
[15:02:02] <metal55> Linell: Ah ok; THANK YOU!... I think there is a problem with the API server! lol. I think we goit it with the [0] syntax.
[15:02:31] *** elyssonmr has quit IRC
[15:02:49] *** martianboy has quit IRC
[15:02:58] *** Linell has joined #angularjs
[15:03:12] *** theshit123 has joined #angularjs
[15:03:37] *** prosper_ has joined #angularjs
[15:04:28] *** elyssonmr has joined #angularjs
[15:05:05] *** IvailoStoianov_ has joined #angularjs
[15:05:10] *** Linell has quit IRC
[15:05:20] *** blomman has quit IRC
[15:05:28] *** moritzschaefer has quit IRC
[15:05:35] *** blomman has joined #angularjs
[15:06:11] *** Linell has joined #angularjs
[15:06:45] *** IvailoStoianov has quit IRC
[15:06:52] *** plato has joined #angularjs
[15:06:58] *** IvailoStoianov_ is now known as IvailoStoianov
[15:06:59] *** blandine has joined #angularjs
[15:07:22] *** blomman has quit IRC
[15:07:26] *** asheinfeld has joined #angularjs
[15:07:48] *** bruno_ has joined #angularjs
[15:08:08] *** hecatonicosachor has joined #angularjs
[15:08:21] *** blomman has joined #angularjs
[15:08:32] *** SargoDarya has quit IRC
[15:08:48] *** hawa has quit IRC
[15:10:06] *** warpx has joined #angularjs
[15:10:58] *** fairuz has joined #angularjs
[15:11:31] *** sacho_ has quit IRC
[15:11:49] *** juanpablo__ has joined #angularjs
[15:12:48] *** Hounddog has quit IRC
[15:13:06] *** elyssonmr has quit IRC
[15:13:23] *** doodlehaus has joined #angularjs
[15:14:12] *** BillCriswell has joined #angularjs
[15:14:17] *** rileylark has joined #angularjs
[15:15:07] *** warpx has quit IRC
[15:15:08] *** bayousoft has joined #angularjs
[15:15:21] *** swirlycheetah has joined #angularjs
[15:15:38] *** linojon has joined #angularjs
[15:15:57] *** rileylar_ has joined #angularjs
[15:16:24] *** pedrosanta has quit IRC
[15:16:24] *** mrits has quit IRC
[15:16:41] *** cspeak has joined #angularjs
[15:16:57] *** dmack has joined #angularjs
[15:18:10] *** jaredwilli has joined #angularjs
[15:18:42] *** dra_ has quit IRC
[15:19:36] *** hilefoks has quit IRC
[15:19:36] *** rileylark has quit IRC
[15:20:07] *** ehynds has joined #angularjs
[15:20:12] *** ron1 has joined #angularjs
[15:20:13] *** moritzschaefer has joined #angularjs
[15:20:59] *** Siecje has joined #angularjs
[15:21:21] *** intellix has quit IRC
[15:22:08] *** duall has joined #angularjs
[15:22:21] *** SahanH has joined #angularjs
[15:22:24] <duall> is there a better way for getting first value in object ? scope.data.contactInfo.home.phone[Object.keys(scope.data.contactInfo.home.phone)[0]]
[15:22:43] *** josh-k has joined #angularjs
[15:22:58] *** dcorona_irc_2020 has joined #angularjs
[15:23:07] *** FIFOd[a] has joined #angularjs
[15:23:20] *** prbc has joined #angularjs
[15:24:37] *** Lewix has joined #angularjs
[15:24:38] *** sk87 has quit IRC
[15:25:32] *** lsiv568 has quit IRC
[15:25:40] *** webguynow has joined #angularjs
[15:25:56] *** sk87 has joined #angularjs
[15:26:04] *** Snugug has joined #angularjs
[15:26:27] <dmack> what you have is pretty good. "foo in bar" can't gaurantee an order
[15:27:02] *** tschundeee has joined #angularjs
[15:27:20] *** jmckind has joined #angularjs
[15:27:29] *** dcorona_irc_2020 has quit IRC
[15:27:38] *** uru is now known as uru|away
[15:27:50] *** pikos has joined #angularjs
[15:28:02] *** mak` has joined #angularjs
[15:28:06] *** sk87 has quit IRC
[15:28:44] *** wolfman2000 has joined #angularjs
[15:28:56] *** ronskisika has quit IRC
[15:29:36] *** jaznow has quit IRC
[15:29:43] *** mokush has quit IRC
[15:29:54] *** lsiv568 has joined #angularjs
[15:30:55] *** sk87 has joined #angularjs
[15:31:00] *** jaznow has joined #angularjs
[15:31:08] *** sk87 has quit IRC
[15:31:24] *** mennea has joined #angularjs
[15:31:28] *** ali_ has quit IRC
[15:31:46] *** elyssonmr has joined #angularjs
[15:31:51] *** zemanel has joined #angularjs
[15:32:26] *** mrru has quit IRC
[15:32:39] *** ProLoser has joined #angularjs
[15:32:57] *** azizur has quit IRC
[15:33:12] *** wolfman2000 has quit IRC
[15:33:49] *** htmelvis has joined #angularjs
[15:33:54] *** chrisshattuck has joined #angularjs
[15:33:59] *** anapitupulu has joined #angularjs
[15:34:36] *** Rebirth has quit IRC
[15:35:11] *** whiteboo_ has quit IRC
[15:35:29] *** gauravsaini03 has quit IRC
[15:36:30] *** lexek_ has quit IRC
[15:36:57] *** ProLoser has quit IRC
[15:37:20] *** mica1 has joined #angularjs
[15:38:09] *** Rebirth has joined #angularjs
[15:38:25] *** mica1 is now known as mica
[15:38:41] *** mica has left #angularjs
[15:38:57] *** juampy has quit IRC
[15:39:35] *** elxa has quit IRC
[15:40:19] *** mortenhauberg has quit IRC
[15:40:28] *** th2389_____ has joined #angularjs
[15:40:29] *** chrisshattuck has quit IRC
[15:41:31] *** skyx_ has quit IRC
[15:43:25] *** laurensclaessen has quit IRC
[15:43:50] *** EricWeb has joined #angularjs
[15:44:03] *** evanjs has joined #angularjs
[15:44:08] *** bkuberek has joined #angularjs
[15:44:58] *** mary5030 has joined #angularjs
[15:45:01] *** ctanga has joined #angularjs
[15:45:28] *** sjt003 has joined #angularjs
[15:45:51] *** azizur has joined #angularjs
[15:46:50] *** prosper_ has quit IRC
[15:47:53] *** bmac has joined #angularjs
[15:48:15] *** dman777_alter has joined #angularjs
[15:49:48] *** k-dawg has joined #angularjs
[15:51:19] *** walidvb has joined #angularjs
[15:51:22] <walidvb> hi guys
[15:52:14] <walidvb> i'm have angular on my page, which is not responsible for any view/routing, and i'd like to have urls such as mysite.com/books/1#discuss/comment_123
[15:52:40] <walidvb> but i _think_ angular is rewriting the url as soon as the page loads, making this impossible.
[15:52:55] <dmack> it shouldn't, unless your using ngRoute
[15:53:04] <walidvb> it does work, though, if I remove the slash
[15:53:23] <walidvb> dmack: i'm not injecting ngRoute anywhere
[15:53:41] <dmack> then angular shouldn't do anything with your URLs
[15:54:00] *** elxa has joined #angularjs
[15:54:06] <walidvb> i did see some similar issues when I had $location injected
[15:54:12] *** rburns has joined #angularjs
[15:54:17] <jlebrech> is /books/1 from your backend?
[15:54:25] <walidvb> dmack: hm. is there any way i can check if that module was loaded?
[15:54:30] <walidvb> jlebrech: yes
[15:54:47] *** Efrem has joined #angularjs
[15:54:48] *** moritzschaefer has quit IRC
[15:54:50] <dmack> search your file structure for $routeProvider
[15:54:59] <walidvb> the hash tag will only be to navigate between tabs, but each tab need sub anchors as well
[15:54:59] <dmack> or $stateProvider
[15:55:17] <walidvb> dmack: arf loading via rails, but i'll check. no way to check front-end?
[15:55:49] <dmack> mmm, look at the included source files?
[15:55:50] *** soee has quit IRC
[15:55:57] <dmack> angular-route is seperate, depending on your version of angular
[15:56:19] *** SargoDarya has joined #angularjs
[15:56:21] <walidvb> dmack: that's what i thought, and it isn't included
[15:56:36] <walidvb> running 1-3-4
[15:56:56] *** antsanto has joined #angularjs
[15:57:55] *** ctanga has quit IRC
[15:57:57] <juristr> Hi @ all. A quick question. When I'm using the "controller as" syntax on the JS code. Is there another way of accessing the <form> (for reset validation etc..) other than getting $scope injected??
[15:59:00] *** mite_mitreski has quit IRC
[15:59:26] <walidvb> can't seem to find out where i inject it.. :(
[15:59:40] <dmack> i'm not sure your problem is related to angular
[15:59:43] *** Bade has joined #angularjs
[15:59:47] *** dannyc__ has quit IRC
[16:00:08] *** dannyc__ has joined #angularjs
[16:00:10] *** jdcasey has joined #angularjs
[16:00:31] *** diosney has joined #angularjs
[16:00:54] *** titanomachy has quit IRC
[16:00:58] *** mrwn has quit IRC
[16:01:31] *** enigmarm has joined #angularjs
[16:01:57] *** Sawbones has joined #angularjs
[16:02:05] <walidvb> dmack: fair enough. and it seems you're right. i've just removed angular from my page, and it still des that(accompanied with the obvious js errors)
[16:03:10] *** oste has joined #angularjs
[16:03:27] *** jMyles has joined #angularjs
[16:03:59] *** shpoont has quit IRC
[16:04:17] *** Bade has quit IRC
[16:04:29] *** mary5030 has quit IRC
[16:05:01] *** mary5030 has joined #angularjs
[16:05:08] *** shpoont has joined #angularjs
[16:05:40] *** whitebook has joined #angularjs
[16:05:43] *** Linell has quit IRC
[16:05:53] *** garbanzio has joined #angularjs
[16:06:14] *** cspeak has quit IRC
[16:06:15] *** fsargent has joined #angularjs
[16:06:18] *** duall has quit IRC
[16:06:32] *** doug64k has quit IRC
[16:06:49] *** jdj_dk has quit IRC
[16:06:51] *** duall has joined #angularjs
[16:07:32] *** prosper_ has joined #angularjs
[16:08:31] *** laurensclaessen has joined #angularjs
[16:08:56] *** jonr22 has joined #angularjs
[16:09:34] *** mary5030 has quit IRC
[16:09:59] *** mven has joined #angularjs
[16:10:06] *** moritzschaefer has joined #angularjs
[16:10:10] *** dacuca has joined #angularjs
[16:10:18] *** jeffwhelpley has joined #angularjs
[16:10:21] *** Click66 has quit IRC
[16:10:28] <jeffwhelpley> It seems like angular renders a directive template before it evaluates ng-class. This leads to annoying delay before ng-class classes styles are applied. Any ideas on how to eliminate this delay?
[16:10:30] *** sebhoss has quit IRC
[16:10:39] <jeffwhelpley> For example, if you have ng-class="{blah:some.value}" and some.value in the current scope is true, I want the blah class to be on the element during the initial render to the DOM
[16:10:48] *** juampy_food has joined #angularjs
[16:11:04] *** jasonp has joined #angularjs
[16:11:06] *** warpx has joined #angularjs
[16:11:19] *** skyx_ has joined #angularjs
[16:11:21] *** lsiv568 has quit IRC
[16:12:12] *** azizur has quit IRC
[16:12:29] <walidvb> dmack: actually, the url gets rewritten precisely when angular is loaded.
[16:12:29] *** Linell has joined #angularjs
[16:13:11] *** digisky has joined #angularjs
[16:13:31] *** Piet has joined #angularjs
[16:13:55] *** azizur has joined #angularjs
[16:14:18] *** jonr22 has quit IRC
[16:14:24] *** Una has joined #angularjs
[16:14:34] *** mite_mitreski has joined #angularjs
[16:14:38] <swirlycheetah> hey jeffwhelpley, can you use ngCloak?
[16:15:38] *** SargoDarya has quit IRC
[16:15:55] *** cboden has joined #angularjs
[16:16:00] *** Solid1 is now known as Solid1_afk
[16:16:07] *** emmesswhy has joined #angularjs
[16:16:09] *** blandine has quit IRC
[16:16:10] *** dcherman has joined #angularjs
[16:16:23] *** JohnBat26 has quit IRC
[16:16:55] *** Koganei has quit IRC
[16:17:13] *** SargoDarya has joined #angularjs
[16:17:17] *** cacts has joined #angularjs
[16:17:59] <jeffwhelpley> @swirlycheetah well, yeah that or ng-if to hide the div until the class is applied BUT that doesn't solve the problem because if you have a relative layout where one div position, width, etc. affects other divs you will still see the jankiness
[16:18:06] *** eBureau has quit IRC
[16:18:20] <jeffwhelpley> i.e. because the div would be missing from the flow until the ng-class has evaluated
[16:18:21] *** lsiv568 has joined #angularjs
[16:18:29] *** JERE has quit IRC
[16:18:50] *** craigp has quit IRC
[16:18:56] <swirlycheetah> hmm i see what you mean
[16:19:03] *** Oddman has quit IRC
[16:19:03] *** shinnya has joined #angularjs
[16:19:15] *** doug64k has joined #angularjs
[16:19:35] *** Oddman has joined #angularjs
[16:19:41] <jeffwhelpley> so right now I have a bunch of annoying workarounds such as changing <div ng-class="{one:val1,two:val2}"> to two divs like <div ng-if="val1" class="one"> and <div ng-if="val2" class="two">
[16:19:49] *** mennea has quit IRC
[16:20:06] <jeffwhelpley> or putting a class there by default that is just a blank div with the appropriate height and width in order to maintain the position
[16:20:42] *** rburns has quit IRC
[16:20:48] *** cspeak has joined #angularjs
[16:21:33] *** mennea has joined #angularjs
[16:21:35] <swirlycheetah> only thing i can think is creating a specific directive to add classes possibly...
[16:22:27] *** threesixes has left #angularjs
[16:22:37] *** cspeak has quit IRC
[16:22:45] *** Lewix has quit IRC
[16:22:55] *** uru|away is now known as uru
[16:22:56] *** sheplu has joined #angularjs
[16:23:13] *** mennea has quit IRC
[16:23:19] *** MaxV has joined #angularjs
[16:23:37] *** Oddman has quit IRC
[16:23:55] *** mennea has joined #angularjs
[16:23:58] <jeffwhelpley> I guess I should look at the ngClass code, but...perhaps if I had a custom one with a higher priority. I will test that out and see if it helps. Thanks!
[16:25:01] *** TweedleDee has joined #angularjs
[16:25:57] *** k-dawg has quit IRC
[16:26:12] <TweedleDee> I am having a problem setting up a watch on an item for example watching a MyTestVariable that has 3 nested objects under it, and when any of those sub-objects changes I want my watch to fire, if I target a SPECIFIC object under the main object it will fire, if I taget the main object it doesn't hit, whats up any ideas?
[16:26:33] *** moritzschaefer has quit IRC
[16:26:34] *** Oddman has joined #angularjs
[16:27:48] *** htmelvis has quit IRC
[16:27:53] *** naneau has joined #angularjs
[16:27:59] *** glassir has quit IRC
[16:28:21] *** dc_ has joined #angularjs
[16:28:56] *** DoubleAW has joined #angularjs
[16:29:06] *** markalanevans has quit IRC
[16:29:06] *** bayousoft has quit IRC
[16:29:10] *** dman777_alter has quit IRC
[16:29:24] *** Ants has joined #angularjs
[16:29:31] *** wolfman2000 has joined #angularjs
[16:29:34] *** bayousoft has joined #angularjs
[16:30:10] <jaawerth> you gotta enable deep watching
[16:30:17] *** t1mmen has joined #angularjs
[16:30:19] *** AWAW has quit IRC
[16:30:25] <jaawerth> $watch('whatever', someFunc, true)
[16:30:43] *** mary5030 has joined #angularjs
[16:31:07] *** sybarite has quit IRC
[16:31:14] *** Fire-Dragon-DoL has joined #angularjs
[16:31:24] *** kapil__ has quit IRC
[16:31:38] *** Sna4x8 has quit IRC
[16:31:50] *** mary5030 has quit IRC
[16:32:10] *** Sna4x8 has joined #angularjs
[16:32:12] *** tristanp has quit IRC
[16:32:27] *** foofoobar has quit IRC
[16:32:39] *** mary5030 has joined #angularjs
[16:32:49] <jaawerth> TweedleDee: IIRC that will do up to 10 objects deep. That's a more expensive watch, though. There's also $watchCollection, which will only go 2 layers deep (it will shallow watch a collection and its properties), which won't drill down as far and as a result is less expensive
[16:32:53] <walidvb> hm. guys, still trying to not let angular rewrite my hash on load
[16:33:14] *** antsanto has quit IRC
[16:33:14] <walidvb> original hash is #discuss/comment_123, i'd like to keep it that way, but it won't let me?
[16:33:33] <walidvb> i mean, it removes the hash.
[16:33:40] <jaawerth> are you using ngRoute or ui-router or something?
[16:33:42] *** simplyshipley has quit IRC
[16:34:08] *** wolfman2000 has quit IRC
[16:34:30] <dmack> is npm flat out not working for anyone?
[16:34:46] *** sk87 has joined #angularjs
[16:34:52] <christo_m> dmack: :)
[16:34:53] *** icfantv has joined #angularjs
[16:34:56] <christo_m> im here to bother you again
[16:35:02] <TweedleDee> thanks jaawerth i'll check the cost
[16:35:12] *** Piet has quit IRC
[16:35:12] <dmack> i live to serve.
[16:35:14] <dmack> :D
[16:35:21] <christo_m> dmack: haha, thats some protoss shit right there
[16:35:31] <jaawerth> TweedleDee: it might not matter, it's just good to keep in mind that you don't want to overuse $watch, particularly deepwatch
[16:35:31] <dmack> for aier
[16:35:35] *** spairo has joined #angularjs
[16:35:36] *** davidreis has quit IRC
[16:35:37] <christo_m> okay, i have this line here: var app = angular.module('apptui', ['ionic', 'bonjour']); , because ive abstracted bonjour specific stuff to another module
[16:35:39] <dmack> waddup
[16:36:13] <christo_m> dmack: how do i access the controller method and its properties.. do i just write BonjourController (assuming thats what its called), ive tried using $bonjour , but i think the dollar sign is only for services right?
[16:36:17] <spairo> hi super heroic angularjs team
[16:36:41] *** intellix has joined #angularjs
[16:36:51] <dmack> controller method... what do you mean? you mean access controller methods in your template?
[16:37:11] <christo_m> dmack: well i have a ComputerListController still in my app
[16:37:18] <christo_m> i havent abstracted it to its own thing yet.
[16:37:31] *** NickMessing has joined #angularjs
[16:37:36] <christo_m> but i want the bonjour module to keep track of the list of computers, but automatically reflect in the computer list controller computers array
[16:37:36] *** sheplu has quit IRC
[16:37:39] <TweedleDee> works jaawerth tell me if this is bad prac, but I'm re-developing out online application system and each page has a controller with a section, I'm watching the section object for fields, etc, as they change, when they do i'm writing those changes to localStorage so that if their browser crashes they have all the info in the fields still. I'm then taking all the into from each page controller
[16:37:39] <TweedleDee> and putting that in a service which once FINALLY submitted goes into database
[16:37:52] *** davidreis has joined #angularjs
[16:37:55] *** sonicparke|bradm has joined #angularjs
[16:37:56] <christo_m> dmack: basically i just wanted to move all that browse unbrowse and resolve logic to its own module, im assuming thats proper practice
[16:37:57] <NickMessing> Hello, is there any way to execute some function when all DOM from directives is ready?
[16:38:19] *** titanomachy has joined #angularjs
[16:38:41] <dmack> christo_m: you could move all of that stuff you have into a service, yeah
[16:38:46] *** Piet has joined #angularjs
[16:38:50] <christo_m> oh a service.
[16:38:51] <dmack> but dont overcomplicate things
[16:38:51] <bealtine> $scope.$on('$viewContentLoaded'function(){})
[16:38:56] <bealtine> perhaps
[16:39:09] *** emmesswhy has quit IRC
[16:39:10] <christo_m> dmack: i moved it to its own controller *facepalm* i knew there was something more specific
[16:39:16] <NickMessing> bealtine: that's for me?
[16:39:29] <bealtine> yes
[16:39:29] <christo_m> modules and services are injected differently though
[16:39:32] <dmack> christo_m: a service is just a singleton that can be injected in your controller
[16:39:32] <jaawerth> TweedleDee: fields as in.. form fields?
[16:39:36] *** sirkitree|afk|af is now known as sirkitree
[16:39:42] <christo_m> dmack: i will leave everything in app.js for now..
[16:39:48] <christo_m> but im going to have to understand this eventually.
[16:39:49] <dmack> christo_m: you don't inject modules. just think of modules as logical groupings of functionality
[16:39:51] <dmack> well
[16:39:53] <dmack> sort of a lie.
[16:40:06] *** Piet has quit IRC
[16:40:08] <christo_m> dmack: so when i inject a module, how do i access methods and properties of that module
[16:40:10] <dmack> you don't "inject" modules in the same sense you would inject a service into a controller
[16:40:11] <christo_m> is it just available immediately in scope?
[16:40:19] <christo_m> ok
[16:40:21] <christo_m> you know that i mean
[16:40:26] <christo_m> when i add the module to the dependency list
[16:40:39] <jaawerth> when you inject a module, those module's services, factories, controllers, etc are available to your app
[16:40:40] <christo_m> pastie inc to show you what i mean
[16:40:45] <dmack> if you had a service, and injected it into your controller, like function myController($scope, myService) { myService.whatever() })
[16:41:01] *** Milk_weed has joined #angularjs
[16:41:04] *** dman777_alter has joined #angularjs
[16:41:24] <jaawerth> you would still use the stuff IN the module the same as if they were all part of your app's main module, once that module has been injected
[16:41:40] <christo_m> do you see what i was trying to do?
[16:41:46] *** prbc has quit IRC
[16:41:51] <christo_m> i guess now i realize what i really want is a Service.
[16:41:54] <dmack> yep. your BounjourController should be a service.
[16:41:55] <dmack> yes
[16:42:05] <christo_m> at any rate, what i have there doesnt work.
[16:42:06] <dmack> keep in mind it gets instantiated once.
[16:42:12] <christo_m> so i was wondering how i would call methods and things.
[16:42:16] <christo_m> that are in another module.
[16:42:22] *** prbc has joined #angularjs
[16:42:23] *** htmelvis has joined #angularjs
[16:42:30] <christo_m> dmack: ya i don't want multiple instances of bonjour anyway.
[16:42:35] <dmack> when you inject the service, all of its methods are available
[16:42:39] <christo_m> i really do want a singleton that i can browse/unbrowse with
[16:42:47] <christo_m> so i could have called this.browse()?
[16:42:53] <dmack> the issue you're going to run into is that a lot of your code is outside of angular
[16:43:06] <dmack> ie. angular doesn't understand when Bounjour finds stuff
[16:43:13] <christo_m> yes
[16:43:16] <dmack> hence $apply() and shit
[16:43:27] <christo_m> but you see what iwas trying to do with the computers array
[16:43:34] <christo_m> i assumed that angular would watch that var in the other module
[16:43:36] <christo_m> to see if its dirtied
[16:43:40] <christo_m> and automatically reflect back in app.js
[16:43:50] <dmack> yeah, not how that works
[16:43:53] <christo_m> :(
[16:44:04] <dmack> so in this case, I think events are actually your best bet.
[16:44:08] *** SargoDarya has quit IRC
[16:44:09] *** olanod has joined #angularjs
[16:44:10] <dmack> you instantiate a service, that fires events
[16:44:14] <christo_m> yes
[16:44:17] *** dsdeiz has quit IRC
[16:44:22] <dmack> and you listen to them in your controller - single point of reference
[16:44:32] <dmack> or multiple - but events come from a single place
[16:44:34] <christo_m> im going to move everything back first
[16:44:36] *** CHC has joined #angularjs
[16:44:42] <christo_m> because, i want to get the tcp stuff working.
[16:44:51] *** arthas has quit IRC
[16:44:52] <spairo> I have a issue
[16:44:56] <christo_m> ill have to google about services
[16:44:57] *** ctanga has joined #angularjs
[16:45:01] <spairo> somebody could help me?
[16:45:05] <spairo> please
[16:45:05] *** bayousoft has quit IRC
[16:45:20] *** elyssonmr has quit IRC
[16:45:20] *** prbc_ has joined #angularjs
[16:45:30] *** Una has quit IRC
[16:45:30] *** Una_ has joined #angularjs
[16:45:33] <bealtine> you have to ask a question first
[16:45:42] <christo_m> lol
[16:45:43] <dmack> ^
[16:45:59] <SexualRickshaw> You see, he/she has an issue, you're supposed to divine what it is
[16:46:00] *** bayousoft has joined #angularjs
[16:46:37] *** prbc has quit IRC
[16:46:50] <NickMessing> bealtine: doesn't work
[16:47:09] <bealtine> sure it does
[16:47:10] *** sl33k_ has joined #angularjs
[16:47:16] <NickMessing> Any other way of executing a function once all DOM (from directives too) is ready?
[16:48:00] <NickMessing> logs "null"
[16:48:01] *** snurfery has joined #angularjs
[16:48:08] <NickMessing> brb
[16:48:21] <bealtine> sorry dont gist
[16:48:28] *** mmitchell has joined #angularjs
[16:48:33] *** cthrax has joined #angularjs
[16:49:14] *** AWAW has joined #angularjs
[16:49:46] *** BobbieBarker has joined #angularjs
[16:50:18] *** patrickarlt has joined #angularjs
[16:50:24] *** tristanp has joined #angularjs
[16:50:34] *** jdivock has joined #angularjs
[16:50:47] *** elyssonmr has joined #angularjs
[16:51:41] *** mite_mitreski has quit IRC
[16:51:53] *** moritzschaefer has joined #angularjs
[16:52:12] *** blackkbo- has quit IRC
[16:52:17] *** intellix has quit IRC
[16:52:33] *** DoubleAW has quit IRC
[16:53:00] *** Christer has quit IRC
[16:53:01] *** swirlycheetah has quit IRC
[16:53:13] *** snurfery has quit IRC
[16:53:25] *** intellix has joined #angularjs
[16:53:46] *** snurfery has joined #angularjs
[16:54:14] <olanod> Greetings, I'm organizing an Angular meetup in my city but am not sure what topics should I cover first. any hint?
[16:55:19] *** techsethi has joined #angularjs
[16:55:26] *** juampy_food is now known as juampy
[16:55:34] *** boxmein is now known as [boxmein]
[16:55:53] <olanod> also if anyone happens to have any presentations maybe the ones used by the angular team
[16:56:42] *** snurfery has quit IRC
[16:57:43] *** vonnegut has quit IRC
[16:57:45] *** SargoDarya has joined #angularjs
[16:57:56] *** IvailoStoianov has quit IRC
[16:58:16] *** snurfery has joined #angularjs
[16:58:31] <Adam91> Linell: Thanks, that made me look at my config for couchDB and cors - method did not have PUT available... now it works :) Thanks
[16:58:39] <bealtine> lots of those presentations are on youtube channel
[16:59:04] *** prosper_ has quit IRC
[16:59:06] <olanod> I'll check their channel
[16:59:25] *** cakirke has joined #angularjs
[16:59:27] *** BillCriswell has quit IRC
[16:59:45] <Linell> Adam91: make sure to answer your question when it opens up for you to!
[16:59:54] <Linell> Adam91: you know, for the next person having trouble
[16:59:55] *** Pitel_IPEX has quit IRC
[17:00:25] <burzum2> what is the best way to deal with dependent selects using angular? I have many forms that have a country and state select, the state depends on the the country. I don't want to repeat my code in every controller for that. so how could I write this in a way that doesn't force me to repeat my code?
[17:00:28] *** StryKaizer has quit IRC
[17:00:43] *** anapitupulu_ has joined #angularjs
[17:00:45] <christo_m> dmack: yesterday you showed me something similar to document.addEventListener('message',onReceiveMessage); for angular
[17:00:49] <Adam91> Linell: I have put an edit at the top of the question, is that the best way? (on stackOverflow)
[17:00:59] <christo_m> dmack: the angular way to listen to events
[17:01:03] <bealtine> write a directive that contains your select?
[17:01:09] <dmack> $scope.$on('computeradded', function(computer) { ... })
[17:01:16] <christo_m> ahh
[17:01:24] *** tfennell_ has joined #angularjs
[17:01:42] <Linell> Adam91: You can actually answer your own question. That way it shows up as answered and the next person looking at it knows exactly whats up
[17:01:59] *** lsiv568 has quit IRC
[17:02:15] *** Oka has joined #angularjs
[17:02:42] *** araujo has quit IRC
[17:03:30] *** mennea has quit IRC
[17:03:37] *** anapitupulu has quit IRC
[17:03:59] *** laurensclaessen has quit IRC
[17:04:09] *** bayousoft has quit IRC
[17:04:17] *** araujo has joined #angularjs
[17:04:18] *** tkh44 has joined #angularjs
[17:04:26] <jaawerth> NickMessing: just use $timeout. It will ensure that your code will be executed after the current digest (by triggering a new one). If you don't want to *trigger* another digest, you could also use a one-time $scope.$watch either by using bindOnce or by unregistering the watcher in your executed function
[17:04:42] *** bayousoft has joined #angularjs
[17:05:12] <jaawerth> what you're describing isn't really the 'angular' way of doing things though, since you'd normally just write a directive that does stuff in the link function, which will execute after the DOM for that chunk of stuff is ready
[17:05:12] *** tfennelly has quit IRC
[17:05:23] *** conan_the_destro has joined #angularjs
[17:05:31] <jaawerth> (if you're doing any jquery DOM manipulation, you should really do it that way instead of my first answer)
[17:05:32] *** getn_outchea has joined #angularjs
[17:05:47] *** Solid1_afk is now known as Solid1
[17:06:05] <spairo> somebody knows how can I get the value hct.nCaso_ID of here: <div id="foo"> [{{$index + hct.nCaso_ID}}]</div> this is inside ng-repeat?
[17:06:17] *** nerder has joined #angularjs
[17:06:21] <nerder> hello
[17:06:45] *** tfennell_ has quit IRC
[17:06:50] *** kuadrosx has joined #angularjs
[17:06:57] *** EricWeb has quit IRC
[17:07:11] <spairo> ?
[17:07:13] *** sk87 has quit IRC
[17:07:25] <jaawerth> spairo: I don't think I understand the question. The value of what exactly?
[17:07:33] *** ggrzybek has quit IRC
[17:07:42] <spairo> {{hct.nCaso_ID}}
[17:07:56] *** ggrzybek has joined #angularjs
[17:07:57] *** MistahKurtz has joined #angularjs
[17:08:02] <jaawerth> what do you mean get the value? that should give you the value right there, assuming hct is on $scope
[17:08:11] *** tristanp has quit IRC
[17:08:14] *** sl33k_ has quit IRC
[17:08:31] *** tfennelly has joined #angularjs
[17:08:38] *** laurensclaessen has joined #angularjs
[17:08:45] <NickMessing> jaawerth: I tried $timeout and it doesn't work, I must exec "$.material.init()" after all the DOM from directives is loaded & executed...
[17:09:02] *** ggrzybek has quit IRC
[17:09:38] *** getn_outchea has quit IRC
[17:09:39] <spairo> I need obtain {{hct.nCaso_ID}} of here: <div ng-repeat="x in f><div id="foo"> {{hct.nCaso_ID}}</div></div>
[17:09:45] *** yelvert has joined #angularjs
[17:10:11] *** bayousoft has quit IRC
[17:10:15] <spairo> I've tried this:
[17:10:22] <christo_m> it doesnt look like $scope.$on works similar to document.addEventListener
[17:10:31] *** foofoobar has joined #angularjs
[17:10:34] *** vonnegut has joined #angularjs
[17:10:43] *** bayousoft has joined #angularjs
[17:10:44] <spairo> var fi = angular.element(document.querySelector('mydiv'));
[17:10:47] <christo_m> maybe theres some $document service
[17:10:56] *** ahtik has quit IRC
[17:11:11] <jaawerth> spairo: you don't get the value that way. AngularJS is data driven - you would get the value directly from the $scope variable.
[17:11:25] <jaawerth> $scope.hct.nCaso_ID
[17:11:29] *** jonatas_oliveira has joined #angularjs
[17:11:31] <jaawerth> in a controller
[17:11:41] *** GaborM has joined #angularjs
[17:12:04] <spairo> I'll create a punker with the code :)
[17:12:17] <GaborM> Hi there
[17:12:27] *** SargoDarya has quit IRC
[17:12:43] *** asheinfeld has quit IRC
[17:12:50] <GaborM> I really want to get into AngularJS, any good resources to learn from to recommend?
[17:12:59] *** dc_ has quit IRC
[17:13:12] <GaborM> A good book about it would be nice :)
[17:13:26] *** dhrami has joined #angularjs
[17:14:00] <spairo> I need obtain the value {{hct.nCaso_ID}} for launch $scope.findFaceSubCases = function(){ }; with these value,
[17:14:09] *** milka has quit IRC
[17:14:12] <jaawerth> GaborM: there are no GREAT books, but the official tutorial is alright. I also used the O'Reilly AngularJS book when I got started, which is pretty good. I've also heard good things about "Build Your Own AngularJS", but I don't know how introductory it is
[17:14:28] <Ants> GaborM AngularJs in depth, looks great
[17:14:34] *** getn_outchea has joined #angularjs
[17:14:46] *** edy has quit IRC
[17:14:49] *** rafagomes has joined #angularjs
[17:14:51] *** BillCriswell has joined #angularjs
[17:15:25] *** cheef has quit IRC
[17:16:13] *** bayousoft has quit IRC
[17:16:37] *** jdivock has quit IRC
[17:16:38] *** stirlingw has joined #angularjs
[17:16:38] *** JERE has joined #angularjs
[17:16:39] <GaborM> Thanks guys!
[17:16:59] *** bayousoft has joined #angularjs
[17:17:14] *** jdivock has joined #angularjs
[17:17:20] *** asheinfeld has joined #angularjs
[17:18:03] *** dman777_alter has quit IRC
[17:18:04] *** qwebirc99380 has quit IRC
[17:18:07] *** moogey has joined #angularjs
[17:18:55]
<jaawerth> GaborM: I used this one http://shop.oreilly.com/product/0636920028055.do - it doesn't look like a newer edition has come out since then, though, so this one is a bit out of date by now (won't have any 1.3 stuff). Still should be fine for learning/getting started though
[17:19:11] <NickMessing> So, nobody knows a way to execute a function after DOM from Ajax Loaded Directives is processed?
[17:19:38] <nerder> hello
[17:19:48] <jaawerth> NickMessing: $timeout should have worked. If it didn't I imagine there might be some async stuff going on, but.. well, you could always write a directive, give it a very low priority, and try executing your thing in the directive's link function
[17:20:07] <nerder> it's possible to build an object when the checkbox is selected?
[17:21:38] *** ProLoser has joined #angularjs
[17:21:39] *** t1mmen has quit IRC
[17:21:41] *** jdivock has quit IRC
[17:22:08] <nerder> this is an example of what i'm try to accomplish
[17:22:18] *** bayousoft has quit IRC
[17:22:25] <NickMessing> jaawerth: directives' DOM is loaded from other files via "templateUrl" so themselves are async stuff
[17:22:35] <GaborM> jaawerth: Thanks ;)
[17:22:52] * moogey morning all
[17:23:14] *** bayousoft has joined #angularjs
[17:23:23] *** Lewix has joined #angularjs
[17:23:23] *** Lewix has joined #angularjs
[17:23:54] <nerder> i solved ;)
[17:24:21] *** artisangoose has joined #angularjs
[17:24:22] *** lsiv568 has joined #angularjs
[17:24:30] *** morenoh150 has quit IRC
[17:25:02] *** burattino has quit IRC
[17:25:37] *** BobbieBarker has quit IRC
[17:26:11] *** zemiudo has joined #angularjs
[17:26:15] *** cakirke has quit IRC
[17:26:19] *** TyrfingMjolnir has joined #angularjs
[17:26:32] *** ProLoser has quit IRC
[17:26:42] <jaawerth> spairo: ? that doesn't even have htc.nCaso_id in it? What are you trying to do with that plunk that's giving you trouble?
[17:27:07] *** arabot has joined #angularjs
[17:27:35] *** mityaz has quit IRC
[17:27:36] *** advy has quit IRC
[17:28:10] <jaydubya> I have an array of objects like {'id' : '1', 'region' : 'Midwest'} and I am trying to build a dropdown. Unlike in the docs (as-for-in), this doesn't display the choices: ng-options="r.id as r.region for r in regions"
[17:28:12] <spairo> I want to know how can I get htc.nCaso_id value, please
[17:28:50] *** lvivski has joined #angularjs
[17:29:22] *** Ants has quit IRC
[17:30:21] *** wolfman2000 has joined #angularjs
[17:30:53] *** azizur has quit IRC
[17:31:17] *** bayousoft has quit IRC
[17:31:29] *** moritzschaefer has quit IRC
[17:31:44] *** ome has quit IRC
[17:31:54] *** jdivock has joined #angularjs
[17:31:54] *** bayousoft has joined #angularjs
[17:31:55] <moogey> jaydubya: that should work. can you make a plnkr?
[17:32:04] *** mchammer has quit IRC
[17:32:28] *** glassir has joined #angularjs
[17:32:31] *** lexek_ has joined #angularjs
[17:32:35] *** nerder has quit IRC
[17:32:53] <jaydubya> |topic
[17:33:18] *** blomman has quit IRC
[17:33:32] *** glassir has quit IRC
[17:33:54] *** vonnegut has quit IRC
[17:33:56] *** cacts|works has joined #angularjs
[17:34:01] *** blomman has joined #angularjs
[17:34:19] *** bayousoft has quit IRC
[17:34:45] *** wolfman2000 has quit IRC
[17:34:48] *** panurge has quit IRC
[17:34:52] *** bayousoft has joined #angularjs
[17:35:20] *** fourq is now known as kittenqueenNice
[17:35:31] *** kittenqueenNice is now known as fourq
[17:35:36] *** loverajo_ has quit IRC
[17:36:52] *** ConstantineXVI has quit IRC
[17:36:58] *** jordandotdev has joined #angularjs
[17:37:09] *** nemothekid has joined #angularjs
[17:37:09] *** ConstantineXVI has joined #angularjs
[17:37:24] *** atomical has quit IRC
[17:37:30] *** doerteDev has joined #angularjs
[17:37:50] <doerteDev> hey. Does someone know of a cross-browser solution to "get the user's DNT setting"?
[17:37:55] *** gurke_ has joined #angularjs
[17:38:13] <doerteDev> do I have to rely on a file which just echos the request header?
[17:38:20] <doerteDev> a php file*
[17:38:40] *** ConstantineXVI has quit IRC
[17:38:44] *** tristanp has joined #angularjs
[17:38:54] *** mikronaz has quit IRC
[17:38:55] *** moritzschaefer has joined #angularjs
[17:38:56] *** i_am_nader has joined #angularjs
[17:39:09] *** ConstantineXVI has joined #angularjs
[17:39:34] *** azizur has joined #angularjs
[17:39:41] <doerteDev> because I try to emit the nginx tracking module when the browser sends a DNT header, but I don't know how to properly read it within a html/angular-only app since modernizr has no setter for this
[17:39:45] *** pikos has quit IRC
[17:39:45] <mtree> hey, is there any way to properly overrite this template without making changes this sourcecode?
[17:39:48] *** blomman has quit IRC
[17:39:52] *** atomical has joined #angularjs
[17:39:55] *** tristanp has quit IRC
[17:40:07] *** tristanp has joined #angularjs
[17:40:25] *** dannyc__ has quit IRC
[17:40:47] *** MistahKurtz has quit IRC
[17:40:51] *** dwayne has joined #angularjs
[17:41:00] <gurke_> hi@all :)
[17:41:02] <merpnderp> Can you do {{array.reduce(function(p,c){return p+c});}} ?
[17:41:25] *** SahanH has quit IRC
[17:41:45] *** rho has joined #angularjs
[17:41:46] *** metal55 has quit IRC
[17:42:51] *** vonnegut has joined #angularjs
[17:43:36] <spairo> jaydubya : could you help me , please ;)
[17:43:42] *** tsalb has joined #angularjs
[17:43:51] *** aendrew has quit IRC
[17:43:57] *** Evanion has quit IRC
[17:43:59] <jaawerth> spairo: it's case sensitive. you have "$scope.hCt" in your controller and "hct" in your template
[17:44:01] *** Evanion_ has joined #angularjs
[17:44:21] <jaawerth> spairo: $scope.HCt.nCaso_id
[17:44:29] <jaawerth> and {{ Hct.nCaso_id }}
[17:44:47] <jaydubya> spairo: I'm not very qualified to help, I'm afraid. I can't even get a freaking dropdown to work.
[17:44:53] <jaawerth> er, {{ hCt.nCaso_id }}
[17:45:02] <spairo> lol
[17:45:16] <jaawerth> spairo: assuming the data you're grabbing from your server and assigning to $scope.hCt contains some { nCaso_id: whatever } property
[17:45:18] <moogey> jaydubya: add an ng-model
[17:45:59] <Sawbones> I swear every time I say in #reactjs "I don't understand why I can't do that, or why that's not just passed down or taken care of since it seems so necessary and redundant." they always say, "It's limiting to make structuring an app better"
[17:45:59] <jaawerth> mtree: just put your preferred version on $templateCache
[17:46:05] <ctanga> ok back. it’s web workers all the way down
[17:46:12] <spairo> jaawerth: I'll try this: $scope.HCt.nCaso_id in my view
[17:46:16] <Sawbones> >_>
[17:46:21] *** bayousoft has quit IRC
[17:46:29] *** snurfery has quit IRC
[17:46:41] *** Hermetica has quit IRC
[17:46:49] *** aendrew has joined #angularjs
[17:46:50] <jaydubya> moogey: I HAD an ng-model and then took it out for the ng-options ... DAMN!
[17:46:51] <jaawerth> spairo: no, in your view the $scope part is implied (that's what views look at), so it'd just be hCt.nCaso_id (just watch the capitalization for hCt to make sure it matches what's been set on your $scope in the controller)
[17:46:54] *** ConstantineXVI has quit IRC
[17:46:55] <merpnderp> FYI this does not work :P {{init.reduce(function(p,c){return p + c.quarters.reduce(function(qp, qc){return qp+qc.BonusPercentAchieved})})}}
[17:46:57] *** bayousoft has joined #angularjs
[17:47:08] <moogey> jaydubya: lol, you need both
[17:47:14] <moogey> they do different hings
[17:47:15] <jaawerth> spairo: so HCt, hCt, whatever it is - just make sure it matches what your controller is doing
[17:47:21] <mtree> jaawerth: thanks
[17:47:25] *** ConstantineXVI has joined #angularjs
[17:48:03] <spairo> mmm....okay
[17:48:13] <moogey> Sawbones: taken from the zen of python. "Explicit is better than implicit." and the part that got left out "but sometimes much more annoying"
[17:48:21] <jaydubya> moogey: thanks! Now I just have to duplicate this 64 times (with different models, of course) :(
[17:48:22] <jaawerth> mtree: sure - what I implied there is that you'd give it the same templateUrl so that it will just pull that template from the cache instead of using the source code version. Figured you probably picked that up, but wanted to make sure ;-)
[17:48:48] *** ConstantineXVI has quit IRC
[17:49:03] <moogey> jaydubya, make a directive that takes a model pointer and generates it all for you
[17:49:09] <Sawbones> moogey: That's how I saw it too, It makes my job harder and takes longer to make things happen.
[17:49:10] *** ConstantineXVI has joined #angularjs
[17:49:18] *** fbenoit has quit IRC
[17:49:27] *** bahoo has joined #angularjs
[17:49:34] *** [boxmein] has quit IRC
[17:49:34] *** ConstantineXVI has quit IRC
[17:49:46] <Sawbones> If it just toned down on the amount of fluff I needed to write I'd be adding it to my toolset
[17:49:59] *** jaredwilli has quit IRC
[17:50:00] *** warpx has quit IRC
[17:50:05] *** quantax- has quit IRC
[17:50:09] *** marcjs has quit IRC
[17:50:22] *** cacts has quit IRC
[17:50:37] *** moritzschaefer has quit IRC
[17:50:37] *** warpx has joined #angularjs
[17:50:38] *** marcjs has joined #angularjs
[17:50:49] *** doerteDev has left #angularjs
[17:50:56] *** merobertsjr_ has joined #angularjs
[17:52:30] *** zeroquake has joined #angularjs
[17:53:30] *** sebhoss has joined #angularjs
[17:54:14] *** mrru has joined #angularjs
[17:54:16] *** dmack has quit IRC
[17:54:20] *** GaborM has quit IRC
[17:54:59] <spairo> jaawerth: thanx for da support, ;)
[17:55:10] *** dannyc__ has joined #angularjs
[17:55:25] *** bayousoft has quit IRC
[17:56:03] *** bayousoft has joined #angularjs
[17:57:32] <moogey> Sawbones: I thought that when I started doing django work. But the upfront amount of work totally makes up for the ease of maintenance it produces. (warning: results may vary) lol
[17:57:37] *** jonr22 has joined #angularjs
[17:57:46] *** Nytrocide has joined #angularjs
[17:58:24] *** diosney has quit IRC
[17:58:30] *** bayousoft has quit IRC
[17:58:36] *** nfroidure has quit IRC
[17:58:43] <Sawbones> moogey: Never used django professionally, doesn't seem like there's that much code to write.
[17:59:08] *** bayousoft has joined #angularjs
[17:59:12] *** ccohn has quit IRC
[17:59:36] <moogey> There's quite a bit a setup with all the different parts you need to make something work.
[17:59:43] *** s00pcan has joined #angularjs
[17:59:44] *** sebhoss has quit IRC
[17:59:54] *** ccohn has joined #angularjs
[17:59:59] *** Nytrocide has quit IRC
[18:00:09] <moogey> And I guess its more of a thing that people tend to be pedantic about WHERE you put pieces of code.
[18:00:22] <moogey> But once everything is in the correct place, maintenance becomes a breeze.
[18:01:02] *** snapwich has joined #angularjs
[18:01:02] <moogey> It's a lot like writing a well formed angular piece. If you do it correctly, it may take a little longer. But making changes, and understanding it when you come back is a breeze.
[18:01:05] *** RangerRick has quit IRC
[18:01:32] *** Anonymous_ has quit IRC
[18:01:33] *** bayousoft has quit IRC
[18:02:03] *** bayousoft has joined #angularjs
[18:02:15] *** jonr22 has quit IRC
[18:02:30] *** d10n-work has joined #angularjs
[18:03:20] *** RangerRick has joined #angularjs
[18:03:49] *** jonathanpglick has joined #angularjs
[18:03:53] *** nerder has joined #angularjs
[18:04:02] *** ccohn has quit IRC
[18:04:14] *** waverider has quit IRC
[18:04:27] *** NormySan has joined #angularjs
[18:04:38]
<tsunamie> hey, does anyone have an example/seed package of an angulare website doing something similar to this? https://github.com/devopsbookmarks/devopsbookmarks.com IE. One collum is a effectivly a filter and the other is a table ot a list which gets effected by the filter?
[18:04:40] *** mjs2600 has joined #angularjs
[18:05:02] *** pikos has joined #angularjs
[18:05:37] *** yoshokatana has joined #angularjs
[18:05:42] *** MaxV has quit IRC
[18:05:57] *** zemiudo has quit IRC
[18:06:00] *** smathson has joined #angularjs
[18:06:37] <Linell> tsunamie: As in, except instead of typing it in a search box, you'd set the filter by clicking on the left column
[18:06:42] *** bayousoft has quit IRC
[18:06:57] *** jeffwhelpley has quit IRC
[18:06:57] *** whiteboo_ has joined #angularjs
[18:07:09] *** bayousoft has joined #angularjs
[18:07:17] *** richiebkr has joined #angularjs
[18:07:44] *** mjs2600 has left #angularjs
[18:08:36] *** naneau has quit IRC
[18:08:56] <tsunamie> Linell, thanks.
[18:09:30] *** whitebook has quit IRC
[18:09:47] *** marcjs has quit IRC
[18:09:59] *** Sebastien-L has quit IRC
[18:10:20] *** marcjs has joined #angularjs
[18:10:58] *** snurfery has joined #angularjs
[18:11:36] *** danmindru has joined #angularjs
[18:11:47] *** avree has quit IRC
[18:12:03] *** juampy is now known as juampy_backlater
[18:12:14] *** danmindru has quit IRC
[18:12:33] *** danmindru has joined #angularjs
[18:12:44] *** jonr22 has joined #angularjs
[18:12:59] *** SargoDarya has joined #angularjs
[18:13:00] *** SargoDarya has joined #angularjs
[18:13:21] *** nemothekid has quit IRC
[18:13:21] *** cornerma1 has joined #angularjs
[18:13:57] *** stirlingw has quit IRC
[18:14:01] *** skyx_ has quit IRC
[18:16:04] *** IvailoStoianov has joined #angularjs
[18:16:11] *** conan_the_destro has quit IRC
[18:17:02] *** conan_the_destro has joined #angularjs
[18:17:07] *** diegoviola has joined #angularjs
[18:17:10] *** cornerman has quit IRC
[18:17:16] *** robdubya has joined #angularjs
[18:17:20] *** cornerma1 is now known as cornerman
[18:17:37] *** serengeor has quit IRC
[18:18:31] *** tkh44 has quit IRC
[18:18:34] *** mtsr has quit IRC
[18:18:45] *** laurensclaessen has quit IRC
[18:18:50] *** rhp has joined #angularjs
[18:19:16] *** teddyp1cker has joined #angularjs
[18:21:03] *** tkh44 has joined #angularjs
[18:21:42] *** WhatsInTheBoks has quit IRC
[18:21:47] *** danmindru has quit IRC
[18:22:02] <maraneta> has anyone here used jasmine/karma to write unit tests that test restangular queries?
[18:22:07] *** danmindru has joined #angularjs
[18:22:34] *** tristanp has quit IRC
[18:22:55] *** doug64k has quit IRC
[18:23:43] *** walden is now known as walden|lunch
[18:24:03] *** Ragn has joined #angularjs
[18:24:22] *** mzabriskie has joined #angularjs
[18:24:33] <Ragn> Hi guys, I was wondering, I really want to learn angular, do you have any ideas for next steps after I've gone through the tutorial at angularjs.org?
[18:24:50] <nickeddy> Ragn: i'd recommend trying to build something of your own
[18:24:54] <dhrami> i'm having a tabs issue with ui-router-extras. I have a set of tabs with sticky/deep set. in one tab I have a table with a details panel. the details panel also have a set of tabs. if I make the inner set of tabs sticky, I can no longer change the selected row in the table.
[18:25:10] *** tristanp has joined #angularjs
[18:25:20] <nickeddy> ctanga dhrami
[18:25:33] <dhrami> as I read that lasy thing I can see how complex it sounds. If no one has an immediate insight, I think I need to try to distill the issue into a plunkr
[18:25:54] <jaawerth> Ragn: well, my approach was to jump right in with an app and learn through pain and suffering. It was efficient!
[18:25:58] <dhrami> as I read that last thing I can see how complex it sounds. If no one has an immediate insight, I think I need to try to distill the issue into a plunkr
[18:26:02] *** kas84 has joined #angularjs
[18:26:07] <nickeddy> dhrami: ctanga is the creator of ui-router-extras, so he may have insight
[18:26:18] <nickeddy> dhrami: not sure if he's around but yeah
[18:26:24] *** loverajoel has joined #angularjs
[18:26:39] *** Ragn has quit IRC
[18:27:03] <jaawerth> Ragn: are you solid on javascript? concepts like pass by value/reference, prototypical inheritance, object constructors, MOAR DOTS?
[18:27:14] <dhrami> oops. sorry about the double post there. Ragn: I found the scotch blogs to be helpful, let me find a linl
[18:27:18] *** MotherMGA has joined #angularjs
[18:27:19] <jaawerth> having those concepts down makes angular infinitely easier to understand, IMO
[18:27:28] *** TommyO has quit IRC
[18:27:42] <jaawerth> welp
[18:27:47] <caitp> i mean if you understand the language, it's going to make any code written in that language easier to understand
[18:28:03] <caitp> but lets not pretend that the scope prototype inheritance is intuitive or sensible
[18:28:10] <caitp> it's really confusing even if you have these concepts down lol
[18:28:16] <caitp> sigh :(
[18:28:42] *** stirlingw has joined #angularjs
[18:29:26] *** m8 has quit IRC
[18:30:25] *** dannyc_ has quit IRC
[18:30:26] *** dannyc__ has quit IRC
[18:30:46] *** marcjs_ has joined #angularjs
[18:30:48] *** htmelvis has quit IRC
[18:30:53] *** marcjs has quit IRC
[18:30:53] *** coffey has joined #angularjs
[18:31:01] *** dannyc_ has joined #angularjs
[18:31:06] *** Oxynum has quit IRC
[18:31:11] *** wolfman2000 has joined #angularjs
[18:31:20] *** Oxynum has joined #angularjs
[18:31:47] *** a3gis has joined #angularjs
[18:31:51] *** Oxynum has quit IRC
[18:31:51] *** metasansana has quit IRC
[18:32:38] *** jlebrech has quit IRC
[18:32:45] *** spairo has quit IRC
[18:32:58] *** wolf2k_huh has joined #angularjs
[18:33:07] *** jacuqesdancona_ has quit IRC
[18:33:28] *** rcanepa has quit IRC
[18:33:37] <jaawerth> caitp: really? I found it made a lot of sense
[18:33:42] *** jacuqesdancona_ has joined #angularjs
[18:33:54] *** emmesswhy has joined #angularjs
[18:33:58] *** Siyfion has quit IRC
[18:34:05] <caitp> unfortunately, what would "make sense" would be too expensive to implement
[18:34:09] *** asheinfeld has quit IRC
[18:34:27] <jaawerth> "made sense" as in "was easy to get how it worked," it's still a bit weird to use
[18:34:28] *** brandom has quit IRC
[18:34:30] <caitp> in a programming language, you don't implicitly shadow variables declared in a higher block scope just by assigning to them
[18:34:39] <caitp> so it is confusing that that's what happens in angular
[18:34:43] <jaawerth> I'm much, much happier using scope inheritance now that I use controller-as though
[18:34:50] *** sk87 has joined #angularjs
[18:35:06] <jaawerth> well, "scope" was maybe no the best name for it
[18:35:10] <jaawerth> not*
[18:35:19] *** richardlitt has joined #angularjs
[18:35:20] <nickeddy> should i feel bad for not wanting to use controllerAs?
[18:35:24] *** visualshock has joined #angularjs
[18:35:36] *** wolfman2000 has quit IRC
[18:35:48] *** Sebastien-L has joined #angularjs
[18:35:51] <jaawerth> nickeddy: I really don't understand the resistance to it, other than it sometimes makes it more annoying to work with existing modules
[18:35:52] *** dannyc_ has quit IRC
[18:35:54] *** zemiudo has joined #angularjs
[18:36:03] <nickeddy> jaawerth: it's more i
[18:36:08] <nickeddy> i'd have to refactor a crap load
[18:36:27] <jaawerth> can't just start using it without refactoring?
[18:36:36] <nickeddy> i'm talking about an existing app
[18:36:44] <visualshock> How can I trigger a function when the user enters the page? Currently the user needs to push a button (ng-click="getResources()), but I want to call that function after the page has loaded.
[18:36:46] <jaawerth> I did that and once I got used to it, it motivated me to go back and refactor
[18:36:57] *** wolf2k_huh has quit IRC
[18:37:04] *** kas84 has quit IRC
[18:37:09] <nickeddy> jaawerth: can you give me an example?
[18:37:19] *** sk87 has quit IRC
[18:37:23] <jaawerth> nickeddy: of controllerAs?
[18:37:27] *** apetro_ has joined #angularjs
[18:37:30] *** Jammy_ has joined #angularjs
[18:37:34] *** skyx_ has joined #angularjs
[18:37:43] *** leyluj has joined #angularjs
[18:37:52] <jaawerth> Linell: no!
[18:37:57] <nickeddy> jaawerth: well i've seen toddmotto's stuff, and i don't really agree with a lot of his stuff
[18:37:58] *** plushy has joined #angularjs
[18:38:13] <jaawerth> Linell: ng-init is for use within ng-repeat
[18:38:13] *** jacuqesdancona_ has quit IRC
[18:38:21] <jaawerth> it shouldn't really ever be used outside of that
[18:38:33] <jaawerth> I mean you CAN, but even the docs warn against it
[18:38:39] *** emmesswhy has quit IRC
[18:38:44] <Linell> jaawerth: oh wow, I've never actually noticed the little blurb there.
[18:39:06] <jaawerth> visualshock: typically you can just put the call in a controller
[18:39:15] <Linell> jaawerth: So what would the correct answer to visualshock's question be?
[18:39:21] <Linell> just put the call at the bottom of the controller?
[18:39:27] *** Jammy_ has quit IRC
[18:39:29] <jaawerth> that's usually good enough, yeah
[18:39:48] *** tomengland_mbp has joined #angularjs
[18:39:53] *** apetro__ has joined #angularjs
[18:40:07] <jaawerth> if it MUST be called from within a template for some reason, one trick (albeit a bit hacky) in 1.3 would be to use the 'bindOnce' functionality: {{ ::myFunction() }}
[18:40:11] <nickeddy> or in a resolve
[18:40:22] <jaawerth> or in a resolve if one is using routing, yes
[18:40:41] *** Guest22 has joined #angularjs
[18:40:43] <jaawerth> or in a promise of some sort.. it really does depend on the specific use-case
[18:41:37] <visualshock> thanks!
[18:41:45] *** Snugug has quit IRC
[18:41:51] <jaawerth> but usually a controller is good enough. since angular organizes execution into its event loop, the whole jquery-style $(document).ready() thing becomes unnecessary for most use-cases
[18:41:57] *** gurke_ has quit IRC
[18:42:17] *** stirlingw has quit IRC
[18:42:23] <nickeddy> only time i've ever had to use the document ready is for manual bootstrapping
[18:42:36] <Linell> What's *wrong* with doing the ng-init like that? I've done it just so that I could have an init function that's all nice and clean and then not have to have any function calls by themselves in my controller
[18:42:41] <jaawerth> it helps to remember that a controller's main code is actually a constructor function for your controller object, which gets instantiated when its view/scope is created/rendered
[18:42:43] <Linell> As in a call just sitting at the bottomof the controller
[18:42:51] *** Fuzzy has quit IRC
[18:43:07] *** say2joe has joined #angularjs
[18:43:15] *** encryptd_fractl has quit IRC
[18:43:21] <nickeddy> Linell: The only appropriate use of ngInit is for aliasing special properties of ngRepeat, as seen in the demo below. Besides this case, you should use controllers rather than ngInit to initialize values on a scope.
[18:43:25] *** jdivock has quit IRC
[18:43:28] *** say2joe has joined #angularjs
[18:43:35] *** Aliks has joined #angularjs
[18:43:46] *** apetro_ has quit IRC
[18:43:55] <jaawerth> Linell: well, my main critique is that it comes dangerously close to mixing your logic with your view
[18:44:00] <nickeddy> ^
[18:44:01] *** richardlitt has quit IRC
[18:44:01] *** markalanevans has joined #angularjs
[18:44:04] <jaawerth> (which {{ ::myFunc() }} also does
[18:44:25] *** Nivag_ has joined #angularjs
[18:44:38] <jaawerth> nickeddy: sorry, what did you want an example of again? just controller-as?
[18:44:44] <Linell> That makes sense
[18:44:45] *** robdubya has quit IRC
[18:44:51] <markalanevans> Hey folks. I"m struggling to do somethign very simple w/ AngularJS
[18:44:55] <markalanevans> I have a directive.
[18:45:02] <nickeddy> jaawerth: yep, just wanted to see how you use it
[18:45:12] <markalanevans> After a save, i want a rows background to be green. then slowly fade back to white.
[18:45:16] <nickeddy> jaawerth: i have a really good use case for it coming up, just want to see various examples :)
[18:45:18] <markalanevans> Or red -> white
[18:45:25] <markalanevans> Just to indicate the error.
[18:45:41] *** goodenough has joined #angularjs
[18:45:56] *** jshultz has joined #angularjs
[18:46:09] <nickeddy> markalanevans: apply a css class after the save?
[18:46:15] *** Una_ has quit IRC
[18:46:20] *** encryptd_fractl has joined #angularjs
[18:46:24] *** robksawyer has joined #angularjs
[18:46:27] <markalanevans> nickeddy: yea, but what class would fade from green to white?
[18:46:37] *** jacuqesdancona_ has joined #angularjs
[18:46:40] *** phzon_ has quit IRC
[18:46:44] *** woah has joined #angularjs
[18:46:59] *** busticated has joined #angularjs
[18:47:02] <markalanevans> *or to be more clear. What would a class definition look like that does a fade from green to white.
[18:47:05] <markalanevans> Looking
[18:47:15] *** Rahul_Roy_ has quit IRC
[18:47:21] *** jacuqesdancona_ has quit IRC
[18:47:34] <nickeddy> that's a question for a css person, which i am definitely not haha
[18:47:34] *** IvailoStoianov has quit IRC
[18:47:46] *** gladely has quit IRC
[18:47:49] *** Guest22_ has joined #angularjs
[18:47:50] *** robksawyer has quit IRC
[18:47:57] *** jacuqesdancona_ has joined #angularjs
[18:48:03] *** peterp has joined #angularjs
[18:48:25] <markalanevans> Yea i'm not sure that this css bit would work
[18:48:28] *** robdubya has joined #angularjs
[18:48:29] *** joncodo has joined #angularjs
[18:48:34] <markalanevans> You can't really define two colors in a transition.
[18:48:43] <nickeddy> you definitely can
[18:48:46] <nickeddy> using rgba
[18:48:56] <markalanevans> How?
[18:49:21] *** dacuca has quit IRC
[18:49:33] <nickeddy> go read some of that
[18:49:37] *** RobinBAwesome has joined #angularjs
[18:49:41] *** seriema has joined #angularjs
[18:49:43] *** asheinfeld has joined #angularjs
[18:50:00] *** Guest22 has quit IRC
[18:50:00] *** mzabriskie has quit IRC
[18:50:32] *** erikruthven has joined #angularjs
[18:50:35]
<jaawerth> nickeddy: well, it makes scope inheritance much more attractive to use. Your scopes become very clean because most properties are now grouped into your controller objects on scope, which you can define by general function/area of responsibility. Every time you use an inherited property, you know its context already. Also, it makes the whole "primitives on scope" thing a non-issue. This might illustrate that a bit http://plnkr.co/edit/x8UkcapQhCEot5almilV?
[18:50:35] <jaawerth> p=preview
[18:50:49] *** erikruthven has quit IRC
[18:50:51] *** ajk27 has joined #angularjs
[18:51:04] *** woah has quit IRC
[18:51:05] *** mzabriskie has joined #angularjs
[18:51:13] <nickeddy> yeah
[18:51:13] <ctanga> ALSO, it makes it more obvious if you do reference something on a parent controller what is happening
[18:51:15] *** Solid1 is now known as Solid1_afk
[18:51:18] *** nemothekid has joined #angularjs
[18:51:18] <nickeddy> default moar dots
[18:51:21] *** _dc has joined #angularjs
[18:51:27] *** stirlingw has joined #angularjs
[18:51:40] <joncodo> Hey. ng-maxlength is not working for me on an input. <input type="text" data-ng-maxlength="5">
[18:51:40] <ctanga> I haven’t come up with a controlleras naming convention I really like though
[18:51:49] *** ankushnarula has joined #angularjs
[18:51:58] <ctanga> right now I’m trying c_foobar
[18:52:04] *** Leon has quit IRC
[18:52:05] *** jacuqesdancona_ has quit IRC
[18:52:09] <jaawerth> nickeddy: It also just makes much more sense given what controllers do. Like, you know how when you using a controller with a directive with "require"? You're usually then calling functions on that controller (like when using ngModelController). The entire workflow of putting your methods and properties on "this" in the controller really matches some of the more useful workflows in angular, IMO
[18:52:17] *** woah has joined #angularjs
[18:52:17] <ctanga> foobarCtrl c_foobar foobar_ctrl
[18:52:26] *** SahanH has joined #angularjs
[18:52:28] <jaawerth> haha yeah that's one thing I'm really bad about
[18:52:34] <jaawerth> they tend to be short, to save me typing. bad practice
[18:52:48] *** ogdabou has quit IRC
[18:52:49] <ctanga> yeah
[18:52:52] <jaawerth> but it's an alias, I like short aliases!
[18:52:57] <oniijin> dicksboobs
[18:53:07] <nickeddy> oniijin++
[18:53:08] <UniBot> oniijin Karma: 2
[18:53:09] <oniijin> boobs11
[18:53:16] <nickeddy> lol wat
[18:53:28] <oniijin> that's what i used to name all my variables in college
[18:53:28] <ctanga> how about MyGreatSuperAwesomeController then <div ng-init=‘ctrl = MyGreatSuperAwesomeController’>
[18:53:31] <Linell> joncodo: try adding an ng-model of the item you're validating against
[18:53:42] <joncodo> right
[18:53:43] *** IvailoStoianov has joined #angularjs
[18:53:48] <nickeddy> jaawerth: THANK YOU for doing var ctrl = this; i can't fucking stand when people use 'this' everywhere
[18:53:53] <robdubya> ng init ftl
[18:53:59] <joncodo> im looking for it to stop letting the user enter chars.
[18:54:05] <joncodo> not validate
[18:54:09] <jaawerth> I'm hoping that use of ng-init was a joke
[18:54:22] <jaawerth> nickeddy: yeah, just using it automatically saves a lot of heartbreak later
[18:54:28] *** SargoDarya has quit IRC
[18:54:53] <ctanga> i dunno, i don’t hate it
[18:55:13] <ctanga> it’s basically allowing the view to define an alias
[18:55:15] <nickeddy> jaawerth: the whole $scope.$watch(angular.bind(this, function() { return this.title }), function(new, old) {});
[18:55:31] <jaawerth> ctanga: that's true... thinking about it, it's fairly low-impact
[18:55:54] <ctanga> normally ng-init is bad because people put JS in there
[18:55:55] <jaawerth> it won't change anything up-scope. only possible issue is if you forget to do it downscope and get the wrong ctrl, but then, you risk that either way
[18:55:58] *** leyluj has left #angularjs
[18:56:13] <jaawerth> I guess I see your point
[18:56:19] *** tomengland_mbp has quit IRC
[18:56:19] <ctanga> if your convention is that each view defines aliases the full controller name to ‘ctrl’ then whats the problem?
[18:56:21] *** mzabriskie has quit IRC
[18:56:25] *** foofoobar_ has joined #angularjs
[18:56:31] <ctanga> it’s like ‘the current view’s controller’
[18:56:36] *** foofoobar has quit IRC
[18:56:36] *** foofoobar_ is now known as foofoobar
[18:56:37] <ctanga> you can still reference a parent by its full name
[18:56:46] <ctanga> I dunno, it’s just a thought
[18:56:49] *** koleS has joined #angularjs
[18:56:53] *** ccbmx has quit IRC
[18:57:08] <jaawerth> yeah, I see your point
[18:57:21] *** ivan4th has joined #angularjs
[18:57:22] <jaawerth> you have given me something to think about!
[18:57:31] <ctanga> that way you get nice descriptive controllerAs names
[18:59:05] *** SahanH has quit IRC
[18:59:22] *** Tan has joined #angularjs
[18:59:45] *** intellix has quit IRC
[18:59:46] *** Tan is now known as Guest89910
[18:59:57] *** Una has joined #angularjs
[18:59:59] *** Una has quit IRC
[19:00:07] *** wallerdev has joined #angularjs
[19:00:17] *** cotko has quit IRC
[19:00:29] *** Guest89910 has quit IRC
[19:00:42] *** jdivock has joined #angularjs
[19:00:48] <jaawerth> I'm really terrible. I often use array syntax for injection so I can alias stuff that way, too
[19:01:12] <jaawerth> well, not so much lately
[19:01:25] <jaawerth> I think I've gotten that monkey off my back
[19:01:30] <ctanga> :) $sp??? what the heck is $sp
[19:01:46] *** DarrenCraig has quit IRC
[19:01:47] <nickeddy> jaawerth: well, just know that after minification that happens anyway :P
[19:01:47] <ctanga> $urp
[19:01:49] *** lvivski has quit IRC
[19:01:53] *** fabiofb has joined #angularjs
[19:01:59] *** plushy has quit IRC
[19:02:29] *** zemanel has quit IRC
[19:02:33] <joncodo> is there a way to call a funciton here: {{truncate(keyword)}}
[19:02:38] *** Snugug has joined #angularjs
[19:02:42] *** walden|lunch is now known as walden
[19:02:42] *** ConstantineXVI has joined #angularjs
[19:02:45] *** diosney has joined #angularjs
[19:02:47] <joncodo> {{myfunction()}}
[19:02:49] *** stirlingw has quit IRC
[19:02:50] <nickeddy> yep
[19:02:53] <nickeddy> you can do that
[19:02:57] *** apetro__ has quit IRC
[19:02:59] *** fabiofb has quit IRC
[19:03:02] <ctanga> if myfunction is on the scope
[19:03:04] <nickeddy> can't really recommend it though
[19:03:07] <jaawerth> just makes sure the function is idempotent, or bad things will happen
[19:03:07]
<christo_m> If i have a service called BonjourService for example defined here: http://pastie.org/9758642 , why can't i just do $scope.computers = BonjourService.computers in the controller thats injecting this service?
[19:03:11] *** SargoDarya has joined #angularjs
[19:03:11] *** foofoobar has quit IRC
[19:03:17] <jaawerth> idempotent AND cheap
[19:03:24] <jaawerth> back later
[19:03:40] *** plushy has joined #angularjs
[19:04:05] <nickeddy> christo_m: because your service isn't defined properly
[19:04:11] <oniijin> ziiing
[19:04:20] *** ConstantineXVI has quit IRC
[19:04:28] <ctanga> I think smart-table is the best
[19:04:29] <christo_m> nickeddy: whats wrong with it
[19:05:04] *** Johnny13371337 has joined #angularjs
[19:05:06] <nickeddy> christo_m: have to return something. generally inside my service i do: var service = { /* fns and lists of crap here */ }; return service;
[19:05:13] *** warpx has quit IRC
[19:05:14] <christo_m> i see
[19:05:16] *** zemiudo has quit IRC
[19:05:18] *** Guest22_ has quit IRC
[19:05:36] <snurfery> ugh I feel like I've been chasing down crap minification bugs way too much recently
[19:05:54] <ctanga> my solution to finding minification errors: don’t minify ;)
[19:05:54] *** zemiudo has joined #angularjs
[19:05:57] <nickeddy> snurfery: ng-annotate?
[19:06:00] <christo_m> nickeddy: i feel like "this.computers" inside the foundNewComputer is pointing to the wrong this as well
[19:06:07] <snurfery> just made a new feature yesterday, all the DI is nice and wonderful, but of course I get a mysterious-ass error on production
[19:06:22] *** aslate has quit IRC
[19:06:36] <snurfery> nickeddy: I use ngmin, plus all my code should be using the correct syntax anyway
[19:06:42] <snurfery> is there much difference?
[19:06:45] <nickeddy> christo_m: so if your service was this: var service = { computers: [], addComputer: function(computer) { service.computers.push(computer); };
[19:06:47] <ctanga> christo_m: $apply is a scope function
[19:06:48] <christo_m> nickeddy: also, doing what you said, this should still work right: $scope.computers = BonjourService.computers;
[19:06:50] *** bayousoft has quit IRC
[19:06:50] <snurfery> (ngmin vs ng-annotate)
[19:06:51] <nickeddy> snurfery: ngmin is deprecated
[19:06:58] <nickeddy> snurfery: because it's poopy
[19:07:00] <christo_m> in the controller
[19:07:05] <nickeddy> christo_m: correct
[19:07:09] *** ludkiller has quit IRC
[19:07:10] <snurfery> oh damn
[19:07:12] *** Guest22 has joined #angularjs
[19:07:25] *** bayousoft has joined #angularjs
[19:07:25] <snurfery> well lemme switch it up then
[19:07:41] <nickeddy> snurfery: yeah i don't believe it changes the build process much, pretty much swappable
[19:07:47] *** samuel02 has quit IRC
[19:08:08] *** fedenunez1 has joined #angularjs
[19:08:23] *** diosney has quit IRC
[19:08:36] *** t1mmen has joined #angularjs
[19:08:37] *** digisky has quit IRC
[19:08:44] *** ron1 has quit IRC
[19:08:54] <christo_m> nickeddy: looking at lldb i dont see the bonjour service being activated to browse anymore..
[19:09:08] <nickeddy> huh?
[19:09:25] <nickeddy> nope
[19:09:27] <nickeddy> that's not correct
[19:09:28] <nickeddy> lol
[19:09:34] <christo_m> should it be service.$apply
[19:09:34] <nickeddy> sec
[19:09:39] *** juanpablo__ has quit IRC
[19:09:39] <nickeddy> no
[19:09:39] <christo_m> heck i dunno man, im a noob
[19:09:49] *** fatshark has joined #angularjs
[19:10:06] *** fedenunez has quit IRC
[19:10:18] <Lewix> how to compare json with jasmine
[19:10:21] <Lewix> 13:09 Lewix: expect({}).toEqual({})
[19:10:21] <Lewix> 13:09 Lewix: right?
[19:10:26] *** juanpablo__ has joined #angularjs
[19:10:30] *** ProLoser has joined #angularjs
[19:10:41] *** digisky has joined #angularjs
[19:10:44] *** ludkiller has joined #angularjs
[19:10:56] *** Sijdesign has joined #angularjs
[19:10:58] *** kuadrosx has quit IRC
[19:11:05] *** duall has quit IRC
[19:11:07] *** nerder has quit IRC
[19:11:43] <nickeddy> do you get JSON in jasmine? idk
[19:11:49] *** boxmein has joined #angularjs
[19:12:16] *** smathson has quit IRC
[19:12:30] *** \du has quit IRC
[19:12:48] <nickeddy> that's not json though Lewix
[19:12:54] <snurfery> ok, here goes, w/ngannotate
[19:13:22] <snurfery> (so far that was a quick & painless transition)
[19:13:30] <oniijin> twss
[19:13:42] *** cthrax has quit IRC
[19:13:42] *** peterp has quit IRC
[19:13:56] *** Sijdesign has quit IRC
[19:13:57] *** Lewix has quit IRC
[19:14:07] *** olanod has quit IRC
[19:14:10] *** htmelvis has joined #angularjs
[19:14:47] *** stirlingw has joined #angularjs
[19:14:53] *** ProLoser has quit IRC
[19:16:20] <snurfery> nickeddy: you're a champion
[19:16:23] <snurfery> it worked
[19:16:28] <snurfery> jeebus
[19:16:33] <nickeddy> :)
[19:16:42] *** mennea has joined #angularjs
[19:16:49] *** ngbot has joined #angularjs
[19:16:49]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/wJbPfA
[19:16:49] <ngbot> angular.js/master 1b640f9 Jason Bedard: test($interpolate): adding tests for watching $interpolate functions...
[19:16:49] *** ngbot has left #angularjs
[19:16:55] *** platonic has joined #angularjs
[19:16:57] *** Sontakey has quit IRC
[19:17:17] *** mennea has quit IRC
[19:17:20] *** tristanp has quit IRC
[19:18:00] *** mtsr has joined #angularjs
[19:18:54] <nickeddy> snurfery: yeah that's why ng-min was deprecated
[19:18:56] <nickeddy> too buggy i guess
[19:19:44] *** tkh44 has quit IRC
[19:19:50] *** mennea has joined #angularjs
[19:20:16] *** motionman has quit IRC
[19:20:25] *** glassir has joined #angularjs
[19:20:26] *** asheinfeld has quit IRC
[19:20:54] *** Efrem is now known as Efrem-Away
[19:21:07] <visualshock> Anyone using meterial? Only theme working here is pink and deep-purple. Anyone know why?
[19:21:17] *** guilbep has quit IRC
[19:21:23] <icfantv> anyone ever done tail call recursion in JS?
[19:21:24] *** joncodo has quit IRC
[19:21:25] <nickeddy> visualshock: because those are the only colors that matter
[19:21:37] *** bruno_ has quit IRC
[19:21:45] *** erikruthven has joined #angularjs
[19:22:16] *** ngbot has joined #angularjs
[19:22:16]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/2dCF7g
[19:22:16] <ngbot> angular.js/master cc0fbe3 Julien Valéry: docs($compile): fix spelling...
[19:22:16] *** ngbot has left #angularjs
[19:23:43] *** marcjs_ has quit IRC
[19:24:32] *** ron1 has joined #angularjs
[19:24:52] *** walidvb has quit IRC
[19:24:54] *** asheinfeld has joined #angularjs
[19:25:21] *** samuel02 has joined #angularjs
[19:25:24] *** cheef has joined #angularjs
[19:25:26] *** yandos has quit IRC
[19:25:31] *** Fuzzy has joined #angularjs
[19:25:40] *** t1mmen has quit IRC
[19:26:07] *** AlSquire has quit IRC
[19:26:08] *** zB0hs has joined #angularjs
[19:26:51] *** nairys has joined #angularjs
[19:27:02] *** joshontheweb has joined #angularjs
[19:27:03] *** sheplu has joined #angularjs
[19:27:09] *** samuel02 has quit IRC
[19:27:26] *** samuel02 has joined #angularjs
[19:27:28] *** getn_outchea has quit IRC
[19:27:32] *** Solid1_afk is now known as Solid1
[19:27:34] *** csduarte has quit IRC
[19:27:35] <christo_m> !seen dmack
[19:27:38] <christo_m> gg
[19:27:45] *** jaznow has quit IRC
[19:27:55] <robdubya> visualshock need to include the theme files
[19:27:57] <robdubya> works fine
[19:28:00] *** csduarte has joined #angularjs
[19:29:03] *** Snugug has quit IRC
[19:29:09] *** mchapman has quit IRC
[19:29:43] <visualshock> robdubya, thanks!
[19:30:02] *** stirlingw has quit IRC
[19:30:02] *** csduarte has quit IRC
[19:30:20] *** csduarte has joined #angularjs
[19:30:40] <jaawerth> robdubya: are you customizing the SASS in material at all? I noticed the bower package only includes the compiled CSS
[19:30:53] <ioudas> christo_m, you missed him by a few hours
[19:30:57] <robdubya> nope, not really
[19:31:07] *** baweaver has joined #angularjs
[19:31:08] <robdubya> at least, not in the main repo
[19:31:11] *** jdivock_ has joined #angularjs
[19:31:34] *** getn_outchea has joined #angularjs
[19:31:52] *** jdivock_ has quit IRC
[19:32:15] *** jdivock_ has joined #angularjs
[19:32:27] *** Oxynum has joined #angularjs
[19:32:44] *** dannyc_ has joined #angularjs
[19:32:54] *** glassir has quit IRC
[19:32:59] *** tkh44 has joined #angularjs
[19:33:08] <jaawerth> robdubya: Hm. I haven't done much yet, but it bugs me. If you're using SASS in your project, you should provide the SASS files as an alternative to the CSS so people can use it
[19:33:15] <christo_m> everything worked when it was in the same file
[19:33:37] <robdubya> they're in there, at least in the main repo... not the bower tho. which follows, i reckon.
[19:33:42] <robdubya> i unno, i dont do CSS
[19:33:45] *** wolfman2000 has joined #angularjs
[19:33:52] *** jdivock has quit IRC
[19:34:02] *** lexek_ has quit IRC
[19:34:06] *** qdk has quit IRC
[19:34:57] <jaawerth> that's one thing I really like about foundation
[19:34:59] *** jplussier has joined #angularjs
[19:35:11] *** d4rklit3 has joined #angularjs
[19:35:12] <jaawerth> they give you all the SASS right in there, and even provide a guide on using the mixins and customizing it
[19:35:41] *** bruno_ has joined #angularjs
[19:35:45] <jaawerth> how do you not do CSS? I didn't think you worked with a team that had designated designers
[19:35:46] *** jplussier has quit IRC
[19:35:49] *** ccohn has joined #angularjs
[19:36:14] *** coffey has quit IRC
[19:36:32] <nickeddy> i don't do css either
[19:36:48] <oniijin> speakin of, have u guys used currentColor
[19:36:54] <oniijin> seems so damn handy
[19:36:57] *** sheplu has quit IRC
[19:36:58] *** dannyc_ has quit IRC
[19:37:03] *** erikruthven has quit IRC
[19:37:07] <jaawerth> christo_m: since you're using the .service function instead of a factory, you don't return the singleton from it, you use it as a constructor function - in other words, you would assign properties to 'this'
[19:37:21] <nickeddy> oniijin: that's pretty cool
[19:37:25] <jaawerth> christo_m: personally I'd just switch over to using a factory - either way, really
[19:37:45] *** plushy has quit IRC
[19:37:53] <nickeddy> jaawerth: wat? i do that format for all of my services and it works just fine...
[19:37:54] *** Fire-Dragon-DoL has quit IRC
[19:37:57] *** wolfman2000 has quit IRC
[19:37:59] <ctanga> how long should gulp take to launch?
[19:38:04] *** zemiudo has quit IRC
[19:38:11] <jaawerth> really? wait, let me reread
[19:38:11] *** plushy has joined #angularjs
[19:38:13] <jaawerth> maybe I'm wrong!
[19:38:15] <nickeddy> ctanga: near instantly
[19:38:20] <ctanga> nickeddy: hmmm
[19:38:38] <nickeddy> ctanga: well i don't have as big of plugins though, sass i guess is bulky
[19:38:46] <ctanga> takes 3.45 seconds
[19:38:58] <ctanga> gulp resources 3.45s user 1.05s system 82% cpu 5.474 total <— I mean 5.5 seconds
[19:39:16] *** leyluj has joined #angularjs
[19:39:25] *** a3gis has quit IRC
[19:39:34] *** ngbot has joined #angularjs
[19:39:34]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/-9vgBw
[19:39:35] <ngbot> angular.js/master 015111f hartz89: docs(ngTransclude): improve markup consistency...
[19:39:35] *** ngbot has left #angularjs
[19:39:41] *** mclenithan has joined #angularjs
[19:39:41] *** mtsr has quit IRC
[19:39:43] <nickeddy> ctanga: my entire build process: ELAPSED TIME: 110 milliseconds.
[19:39:47] <christo_m> jaawerth, nickeddy ??
[19:39:49] *** jaznow has joined #angularjs
[19:40:01] <christo_m> jaawerth: i was originally using this
[19:40:04] <ctanga> nickeddy: could I be doing it wrong? hmm
[19:40:07] <christo_m> but yes i see a lot of people favor factories
[19:40:10] *** sheplu has joined #angularjs
[19:40:24] <christo_m> the issue is i dont really want a factory, as the bonjour object should only exist once anyway
[19:40:25] *** stirlingw has joined #angularjs
[19:40:47] <jaawerth> christo_m: yeah, ignore me. Evidently .service will let you also just use it as a factory, which I never noticed
[19:40:48] <nickeddy> ctanga: can i see your gulpfile?
[19:40:51] <ctanga> nickeddy: do you keep gulp loaded, like ‘watch’?
[19:41:17] <nickeddy> ctanga: no but i do have a watch task that's separate from the default
[19:41:27] <ctanga> I messaged you
[19:41:39] <christo_m> jaawerth: so no idea what would be wrong between those two files... if i move the code into the main controller it works fine..
[19:42:24] *** baweaver has quit IRC
[19:42:34] *** Efrem-Away is now known as Efrem
[19:42:52] *** jdivock_ has quit IRC
[19:43:06] *** boberober has quit IRC
[19:43:31] *** jdivock has joined #angularjs
[19:44:31] *** jdivock has quit IRC
[19:44:40] *** jdivock_ has joined #angularjs
[19:44:41] <bahoo> Can anyone speak to good strategies for how to route users when their saved token is validating?
[19:44:44] *** chrisbirk has joined #angularjs
[19:45:11] *** csduarte has left #angularjs
[19:45:24] <christo_m> jaawerth: :(
[19:45:29] <christo_m> i still dont think browse is being called
[19:45:39] <bahoo> it feels dumb to kick them back out to the unauthenticated “front page” just because they’re not signed in *yet*
[19:45:40] *** nemothekid has quit IRC
[19:45:41] <christo_m> i dont even know how to debug this.. everything happens before i can look in the console. because its a cordova app
[19:45:51] *** tbo_ has joined #angularjs
[19:46:01] *** zemiudo has joined #angularjs
[19:46:11] *** jdivock_ has quit IRC
[19:46:29] <jaawerth> christo_m: turns out I'm wrong - the .service convenience functions looks for something you're returning, and will use it as a factory instead if it sees it. Learn something new every day!
[19:46:49] *** jdivock has joined #angularjs
[19:46:54] *** moritzschaefer has joined #angularjs
[19:46:55] <christo_m> i dont suspect the service is coded wrong
[19:46:58] <christo_m> i trust nickeddy with my life
[19:46:59] *** elyssonmr has quit IRC
[19:47:07] <christo_m> however i think something is wrong in my controller file
[19:47:18] <robdubya> bahoo use resolve, typically
[19:47:26] <christo_m> im not sure how things are being loaded, especially since its cordova.
[19:47:42] *** mtsr has joined #angularjs
[19:47:43] *** richiebkr has quit IRC
[19:47:48] <christo_m> i do know that if i move the browse code and its callback functions into the main controller, it will work.
[19:47:58] <jaawerth> christo_m: so if you literally copy and paste the code from one file and paste it into the other, it works?
[19:47:58] *** davidreis has quit IRC
[19:48:06] <christo_m> well, not literally..
[19:48:09] <christo_m> i wont use a service object
[19:48:11] <jaawerth> ah, I see
[19:48:12] <christo_m> but basically.
[19:48:14] <jaawerth> moving the stuff into the controller
[19:48:17] <christo_m> yes.
[19:48:18] *** MotherMGA has left #angularjs
[19:48:34] <christo_m> the only reason i even moved it is because i know this file is going to get crowded
[19:48:39] <christo_m> and i want bonjour discovery stuff in a service
[19:48:47] *** samuel02 has quit IRC
[19:49:08] <jaawerth> what do you get when you console.log BonjourService from the controller? is it giving you stuff?
[19:49:13] *** boberober has joined #angularjs
[19:49:14] <robdubya> christo_m this is via cordova?
[19:49:17] *** gladely has joined #angularjs
[19:49:17] <christo_m> should i use console.log or $log
[19:49:19] *** mennea has quit IRC
[19:49:20] <christo_m> robdubya: yes
[19:49:35] <robdubya> and its doing... what? listening for bonjour events?
[19:49:55] *** mennea has joined #angularjs
[19:50:00] <christo_m> robdubya: bonjour is discovering hosts on the network
[19:50:11] *** TyrfingMjolnir has quit IRC
[19:50:16] *** dman777_alter has joined #angularjs
[19:50:18] *** Alina-malina has quit IRC
[19:50:23] <robdubya> via a cordova plugin
[19:50:27] <jaawerth> doesn't matter in this case, since it's a quick test
[19:50:30] <jaawerth> just use console.log
[19:50:32] <christo_m> robdubya: correct
[19:50:42] <robdubya> so suggestions:
[19:50:47] *** Alina-malina has joined #angularjs
[19:50:48] *** Alina-malina has joined #angularjs
[19:50:50] *** leyluj has quit IRC
[19:50:57] *** jdivock has quit IRC
[19:50:58]
<dman777_alter> http://dpaste.com/0SVH4MA Ack...this form is invalid by default causig the form not to be able to be submited. Don't know how to fix this
[19:51:05] <robdubya> 1 - any and every bit of anything that's dealing with the cordova layer should be in a service ... which you're kinda sorta doing
[19:51:16] <jaawerth> yeah, I was gonna mention that
[19:51:17] <robdubya> like - seeing window.anything in a controller = bad sign
[19:51:20] <jaawerth> but it may not be the reason for the issue
[19:51:22] <bahoo> shit yeah, thanks @robdubya :D
[19:51:24] <jaawerth> you don't want to use globals
[19:51:36] <christo_m> jaawerth: ya that isnt the issue
[19:51:46] <robdubya> 2 - you want to wrap basically everything related to async calls into promises
[19:51:50] *** cheef has quit IRC
[19:51:59] <christo_m> i just didnt know how to do it, since the docs for the plugin say to do it that way
[19:51:59] <gladely> ctanga: I just put a one line change in to unblock dev, I'll hopefully get to reviewing the full stack on ui-router this weekend, but I was thinking on my rainy drive that ui-router should probably just ask the $locationProvider to format urls instead of trying to mirror/mimic behavior.
[19:52:15] *** chrisshattuck has joined #angularjs
[19:52:18] <robdubya> 3 - when external events (eg, a notification coming in from cordova land) fire, they wont actually trigger digests in angular land
[19:52:25] <christo_m> robdubya, jaawerth ^
[19:52:37] <jaawerth> robdubya's giving good advice
[19:52:38] <christo_m> i tried doing $scope.$on instead but it wasnt working
[19:52:46] <jaawerth> even if it doesn't solve your immediate issue
[19:52:50] <christo_m> no i understand.
[19:52:52] <christo_m> im doing that now..
[19:52:56] <robdubya> i do a pretty similar thing with BLE
[19:52:58] <christo_m> im going to move the TCP socket stuff into a service too
[19:53:03] <christo_m> but i need to get bonjour abstracted and working first.
[19:53:05] <christo_m> and that isnt happening.
[19:53:06] <jaawerth> christo_m: are you SURE browse isn't being evoked at all? like, have you tried putting console.log("BROWSE!") in the browse function to make sure?
[19:53:08] <robdubya> sec
[19:53:17] *** koleS has quit IRC
[19:53:18] <christo_m> jaawerth: trying now sec, ive been reading your guys messages
[19:53:44] *** {DV8} has joined #angularjs
[19:53:52] *** elyssonmr has joined #angularjs
[19:53:59] <jaawerth> as a general rule, all logic-heavy stuff should be abstracted into functions in services or factories, and the controller will just pull the strings on them
[19:54:09] <jaawerth> too much logic in a controller = sadface debugging
[19:54:25] *** mesger has joined #angularjs
[19:54:41] *** Snugug has joined #angularjs
[19:54:51] *** samchi_ has joined #angularjs
[19:54:54] *** TheAceOfHearts has joined #angularjs
[19:54:56] <christo_m> i absolutely agree man
[19:55:04] <christo_m> like i said ive been using angular for 24 hours, to start i had everything in the controller
[19:55:07] <christo_m> im abstracting things now
[19:55:10] *** DarrenCraig has joined #angularjs
[19:55:16] <jaawerth> I think of controllers as little gremlins pulling the levers on the machinery of my app, the levers being member functions in factories and things (which are the machines)
[19:55:21] *** azizur has quit IRC
[19:55:27] <christo_m> #GremlinLife
[19:55:35] <christo_m> i got an error about computers = [],
[19:55:37] <christo_m> weird.
[19:55:37] *** patrick99e99 has joined #angularjs
[19:55:41] <wsmoak> christo_m: I’m sure we all start that way… like the 5000 line Servlet everybody wrote in Java in the beginning :)
[19:55:53] <jaawerth> christo_m: sure, I'm not saying that to wag a finger at you. It's just advice that will save you from heartbreak later on, it's a very common mistake that's partially because all the tutorials out there put the logic in their controllers out of laziness when doing basic examples
[19:55:59] <dman777_alter> ugh...how can I make ng-patterm not require text if the input box is disabled?
[19:56:10] *** htmelvis has quit IRC
[19:56:14] <christo_m> jaawerth: i know, and the saddest part is nobody talks about writing modules/services etc until the very end
[19:56:20] *** quantax- has joined #angularjs
[19:56:20] <christo_m> all the tuts dont really cover it well
[19:56:20] <robdubya> oop refresh that
[19:56:25] *** Una has joined #angularjs
[19:56:48] *** zemiudo has quit IRC
[19:56:49] *** richardlitt has joined #angularjs
[19:56:51] <christo_m> robdubya: refreshed
[19:56:54] *** SomeKittens has joined #angularjs
[19:56:55] *** ZeMiudo has joined #angularjs
[19:56:55] *** rileylar_ has quit IRC
[19:56:58] <robdubya> connect is easy - because its a one time thing.
[19:57:07] <robdubya> incoming 'events' are slightly different
[19:57:14] <jaawerth> dman777_alter: ng-required="!foo.isDisabled && whatever"
[19:57:18] <robdubya> sec, lemme find my BLE gist
[19:57:29] <christo_m> robdubya: incoming events is what im looking to figure out
[19:57:34] <christo_m> i have to listen for some event
[19:57:42] *** chrisshattuck has quit IRC
[19:57:44] <christo_m> then i guess ill emit back on the rootScope that im receiving things?
[19:57:55] <christo_m> i dont think you can use =
[19:58:01] <jaawerth> robdubya wrote angular-sails, so he's pretty much the expert on integrating websockets with angular stuff
[19:58:03] *** tschundeee has quit IRC
[19:58:35] *** jacuqesdancona_ has joined #angularjs
[19:58:35] *** tschundeee has joined #angularjs
[19:58:39] <robdubya> christo_m i wouldn't use events, personally ($scope events i mean)
[19:58:42] <robdubya> a) because they suck
[19:58:47] *** renanoronfle has quit IRC
[19:58:50] <robdubya> b) they'll disappear in ng2
[19:58:52] *** sonofdirt has joined #angularjs
[19:58:54] <robdubya> c) they suck
[19:59:00] *** marr has quit IRC
[19:59:01] <jaawerth> oh come on
[19:59:03] <jaawerth> b) is silly
[19:59:14] <robdubya> :D
[19:59:23] <robdubya> future friendly broheim
[19:59:24] <jaawerth> so much is disappearing in ng2 that you'll have to refactor any app you want to upgrade to the point that it really doesn't matter :p
[19:59:28] <christo_m> robdubya: well, im not sure how you're supposed to let controllers know about things in the service
[19:59:29] *** sirkitree is now known as sirkitree|afk
[19:59:31] *** DarrenCraig has quit IRC
[19:59:34] <christo_m> everywhere ive googled, it says use $emit or $broadcast
[19:59:38] <robdubya> dont
[19:59:39] <christo_m> but anyway, thats neither here nor there right now
[19:59:48] *** Fuzzy has quit IRC
[19:59:49] <jaawerth> scope events should be used sparingly, is his point
[19:59:54] <christo_m> jaawerth: oh geez
[19:59:56] *** hguux_ has quit IRC
[20:00:02] <christo_m> maybe i should scrap angular
[20:00:02] <christo_m> till 2.0
[20:00:02] <jaawerth> events aren't really the angular way except in the background
[20:00:05] *** richiebkr has joined #angularjs
[20:00:13] <christo_m> im really not trying to rewrite this
[20:00:23] *** chrisshattuck has joined #angularjs
[20:00:39] <jaawerth> christo_m: don't worry about it ;-). 2.0 is for ES6 and for "modern"/future browsers
[20:00:53] *** Fuzzy has joined #angularjs
[20:01:01] <jaawerth> it's built on a platform that doesn't actually exist yet in modern browsers without using a polyfill
[20:01:22] <jaawerth> so don't worry about using stuff that's going to be replaced - 1.x is going to continue to exist (and be updated) for a long time to come
[20:01:39] <jaawerth> and by the time they DO release it, I'm sure there will be a lot of backwards compat stuff
[20:01:47] *** richardlitt has quit IRC
[20:01:52] *** hguux_ has joined #angularjs
[20:01:59] *** danmindru has quit IRC
[20:02:01] <robdubya> there's no reason not to use angular 1.3x today, its the bees knees today and will be for the forseeable future
[20:02:10] <jaawerth> exactly
[20:02:25] <jaawerth> 1.x is still seeing a ton of active development
[20:02:32] *** Foxandxss has joined #angularjs
[20:02:33] <jaawerth> heck, and we're only on 1.3!
[20:02:57] *** tschundeee has quit IRC
[20:02:58] *** Shai-Tan has quit IRC
[20:03:04] *** jacuqesdancona_ has quit IRC
[20:03:09] *** AlSquire has joined #angularjs
[20:03:17] *** stirlingw has quit IRC
[20:03:23] <christo_m> dude i figured it out
[20:03:23] <jaawerth> christo_m: in other words, my point about 2.0 was "don't worry about it" in arguing against rob's point b, not "worry more about it" ;-)
[20:03:26] <christo_m> it was definitely computers =
[20:03:33] <christo_m> cant have that, its computers: [], inside an object obviously
[20:03:41] <jaawerth> ahaha, pesky syntax
[20:03:41] <christo_m> dude its a pain in the ass to debug on cordova
[20:03:51] <christo_m> its like, app starts, then you can inspect with safari or whatever
[20:03:54] <christo_m> and by then the shit has already blown up
[20:03:56] *** leyluj has joined #angularjs
[20:04:07] <sakustar> christo_m: only on wp8
[20:04:26] <christo_m> ??
[20:04:31] <sakustar> ios+android = gapdebug == easy mode for remote inspector
[20:04:31] *** baweaver has joined #angularjs
[20:04:42] <jaawerth> well, that's why it's good to mock up your API stuff when developing so you can build and test the angular side independently from the platform
[20:04:45] *** elrabin has quit IRC
[20:05:06] <jaawerth> or at least make sure it's built so the concerns are somewhat separate in your services and such, so you can isolate issues for debugging
[20:05:10] *** Aliks has quit IRC
[20:05:43] *** Aliks has joined #angularjs
[20:05:43]
<dman777_alter> jaawerth: thanks...I have ng-required but it still it is requireing text http://dpaste.com/0SVH4MA
[20:05:49] *** tschundeee has joined #angularjs
[20:05:54] <christo_m> jaawerth: that really isnt the issue here
[20:05:58] <christo_m> its the fact that i cant just refresh in a browser
[20:06:01] <christo_m> i have to rebuild on cordova and look
[20:06:17] *** doginal has joined #angularjs
[20:06:18] *** apetro_ has joined #angularjs
[20:06:33] *** tkh44 has quit IRC
[20:06:34] <jaawerth> yeah but if you mock stuff then you don't need to test it all on cordova ;-)
[20:06:46] <christo_m> ya thats some advanced shit
[20:06:50] *** whitebook has joined #angularjs
[20:06:51] <christo_m> and also an academic exercise according to my employer
[20:07:00] <christo_m> he just wants to see progress, and all ive done was separate something to two files.
[20:07:03] <christo_m> so, gg there
[20:07:08] *** olanod has joined #angularjs
[20:07:17] *** fedenunez1 has quit IRC
[20:07:32] *** jaznow has quit IRC
[20:07:37] *** techsethi has quit IRC
[20:07:51] <jaawerth> yeah, I'm just saying.. I hate testing web stuff when it's tightly coupled with its backend for that exact reason
[20:07:55] *** jm99 has joined #angularjs
[20:08:16] *** danmindru has joined #angularjs
[20:08:38] *** rileylark has joined #angularjs
[20:08:52] <snurfery> man
[20:08:52] <christo_m> there is no back end
[20:08:54] *** htmelvis has joined #angularjs
[20:08:58] <snurfery> I'm running into that right now my damn self
[20:09:00] <christo_m> the reason im doing this, is because our app is so tightly coupled
[20:09:05] <jaawerth> the backend is the machine in that case
[20:09:07] *** whiteboo_ has quit IRC
[20:09:12] <christo_m> realistically, the "API" is some custom json transport over TCP with a computer
[20:09:13] <robdubya> this is why we're advocating services
[20:09:17] <christo_m> the computer is running a node webkit app
[20:09:17] <jaawerth> the native API
[20:09:19] <jaawerth> whatever you want to call it
[20:09:20] *** explodes has joined #angularjs
[20:09:21] <christo_m> and im just connecting to it with the device
[20:09:32] <jaawerth> that's still a backend
[20:09:34] <christo_m> like there is no framework on the cordova side of things right now
[20:09:39] <christo_m> it is literally a bunch of js and php files.
[20:09:44] <christo_m> being served down to a shell
[20:09:47] *** hasq has joined #angularjs
[20:10:03] <jaawerth> ^ what robdubya said
[20:10:03] <christo_m> so i just told the guy, look ,im going to rewrite this shit, because by the time i figure out what my predecesor does, ill probably master angular
[20:10:11] <explodes> Hello! So we're using angular 1.2.1... Obviously it is a little out of date. How can I do $http.patch, since that method does not exist, is there a workaround to get the HTTP Method to submit as PATCH?
[20:10:21] *** Aliks has quit IRC
[20:10:33] <christo_m> well, ionic framework to be specific but ya
[20:10:43] *** olanod has left #angularjs
[20:10:45] *** jaznow has joined #angularjs
[20:11:04] *** rileylark has quit IRC
[20:11:12] *** MaxV has joined #angularjs
[20:11:20] *** rileylark has joined #angularjs
[20:11:41]
<dman777_alter> really in a bind.... ng-pattern is requiring text when the input box is disabled http://dpaste.com/1HNNVHT
[20:12:13] *** dacuca has joined #angularjs
[20:12:27] *** chrisbirk has quit IRC
[20:12:38] *** zz_night-owl is now known as night-owl
[20:12:49] *** chrisbirk has joined #angularjs
[20:13:13] *** zeroquake has quit IRC
[20:13:21] *** baweaver has quit IRC
[20:13:29] <jaawerth> ohh, that's why ng-required isn't working
[20:13:32] *** coffey has joined #angularjs
[20:13:39] <jaawerth> ng-pattern is totally separate from the 'required' validation.
[20:13:44] *** mennea has quit IRC
[20:13:50] <jaawerth> you're disabling 'required' but it's still checking for the pattern on the empty box
[20:13:56] <explodes> As in, PATCH with a "POST" body
[20:14:07] *** tschundeee has quit IRC
[20:14:08] <Fuzzy> anyone know a good place to find angular contract work?
[20:14:33] <nickeddy> explodes: upgrade to latest 1.2.x at least :P
[20:14:51] *** tschundeee has joined #angularjs
[20:15:09] *** mennea has joined #angularjs
[20:15:11] *** baweaver has joined #angularjs
[20:15:15] *** araujo has quit IRC
[20:15:27] <nickeddy> explodes: but i believe you can do it by doing $http({method: 'PATCH', ... })
[20:15:34] *** pikos has quit IRC
[20:15:46] <explodes> when I supply params, it puts it in the query string I've found
[20:16:01] <nickeddy> do data: yourDataObjectHere
[20:16:47] *** araujo has joined #angularjs
[20:16:51] *** tschunde_ has joined #angularjs
[20:17:10] *** MaxV has quit IRC
[20:17:19] <jaawerth> dman777_alter: two things you can do. either have you ng-pattern stuff check whether the field is disabled as well (if (!!foo.isDisabled) return true;) or write a custom directive and use ngModelController to gain more control over the validation
[20:17:23] <explodes> nickeddy: thanks
[20:17:25] *** aslate has joined #angularjs
[20:17:29] <nickeddy> explodes: that work?
[20:17:29] *** ppppaul has joined #angularjs
[20:17:30] *** saucey has joined #angularjs
[20:17:52] *** tristanp has joined #angularjs
[20:17:58] *** dman777_alter has quit IRC
[20:18:31] *** livingstn has quit IRC
[20:18:45] *** livingstn has joined #angularjs
[20:18:50] *** MaxV has joined #angularjs
[20:19:03] *** livingstn has quit IRC
[20:19:13] *** leyluj has quit IRC
[20:19:30] *** htmelvis has quit IRC
[20:19:33] *** tschundeee has quit IRC
[20:19:43] *** livingstn has joined #angularjs
[20:19:46] <jaawerth> dman777: I'd probably just do the former unless you need to get more complex with it
[20:19:53] *** rileylark has quit IRC
[20:19:56] *** jdivock has joined #angularjs
[20:20:08] *** rileylark has joined #angularjs
[20:20:10] *** ngbot has joined #angularjs
[20:20:11] <ngbot> angular.js/master 8bfeddb Caitlin Potter: fix(orderBy): maintain order in array of objects when predicate is not provided...
[20:20:11] <ngbot> angular.js/master 3aa5752 Caitlin Potter: fix(orderBy): make object-to-primtiive behaviour work for objects with null prototype
[20:20:11] *** ngbot has left #angularjs
[20:20:12] *** disorder20 has joined #angularjs
[20:20:13] <explodes> nickeddy: yarr
[20:20:21] <jaawerth> though I love ngModelController more than my family
[20:20:23] <explodes> nickeddy: data for POST params for GET
[20:20:25] <jaawerth> people don't use it enough
[20:20:25] *** htmelvis has joined #angularjs
[20:20:29] <caitp> ugh typos in commit messages
[20:20:30] <caitp> .v.
[20:20:33] *** doginal has quit IRC
[20:20:37] <caitp> you never notice that shit until it's too late
[20:20:41] <christo_m> robdubya: ok so let me understand again
[20:20:50] <christo_m> robdubya: from a service, how can i do some kind of callback or promise thing..
[20:20:53] *** waverider has joined #angularjs
[20:21:03] <jaawerth> caitp: better than awful ones. "COMMIT: 'stuff'"
[20:21:12] <jaawerth> "COMMIT: 'asdf'"
[20:21:13] <christo_m> for example, during resolution of a hostname by bonjour.. i want to notify the controller that im done resolving the hostname, so now i can make a call to the TCP service to do a connect.
[20:21:17] <caitp> hah, true
[20:21:25] *** WhatsInTheBoks has joined #angularjs
[20:21:38] *** pig___ has quit IRC
[20:21:39] <christo_m> or even better, notify the tcp service that bonjour is done resolving a hostname
[20:21:46] *** jaznow has quit IRC
[20:22:01] *** aslate has quit IRC
[20:22:03] <jaawerth> I interviewed a guy for a web dev job the other day, asked him what he was used to using/preferred for version control, and he didn't understand the question
[20:22:10] <jaawerth> he was totally mystified
[20:22:17] <jaawerth> he has a masters degree in Software Engineering
[20:22:20] <christo_m> lolol
[20:22:34] *** jaznow has joined #angularjs
[20:22:36] *** ccohn has quit IRC
[20:22:40] <robdubya> christo_m so if its going to be a one time thing - use a promise
[20:22:46] *** tristanp has quit IRC
[20:22:58] <robdubya> (on ctrl) BonjourService.discover().then(function(discoveredService){ ...do stuff
[20:23:20] <robdubya> if its multiple notification sort of thing - use the listener pattern in the thing i linked you
[20:23:25] *** ccohn has joined #angularjs
[20:23:38] <robdubya> its just discovering a list of computers, yeah?
[20:23:42] <robdubya> (one by one)
[20:23:49] <christo_m> robdubya: yes.
[20:23:55] <christo_m> but, i dont care about being notified about that
[20:24:00] *** htmelvis has quit IRC
[20:24:09] <christo_m> that is modifying the computers list anyway with two way binding
[20:24:15] <christo_m> what i care about is when i do a .resolve
[20:24:19] *** jdivock has quit IRC
[20:24:32] <christo_m> i want to go ,okay ive resolved this host heres the ip and port in an object
[20:24:45] *** rileylark has quit IRC
[20:24:51] <christo_m> the functionality is there, but how do i tell the resolve method in my bonjour service to do anything, or does the .then() handle that automagically
[20:24:57] *** jdivock has joined #angularjs
[20:25:03] <jm99> has anyone used ng-blur directive? how do you specify that it call your controller function? for some reason it is not triggering for me
[20:25:10] *** rileylark has joined #angularjs
[20:25:35] *** pikos has joined #angularjs
[20:25:52] <christo_m> robdubya: in your line there, is "discoveredService" the object that discover() is returning?
[20:26:28] <robdubya> i'd return the timeout, and inside of it (line 15), return computres
[20:26:43] *** jaznow has quit IRC
[20:26:49] *** prosper_ has joined #angularjs
[20:26:54] <robdubya> so from the ctrl it would look like BonjourService.browse().then(function(computers){ ...
[20:27:05] <christo_m> sorry thats outdated
[20:27:07] *** digisky has quit IRC
[20:27:10] <christo_m> i have a .resolve now
[20:27:13] <christo_m> but ya , same idea, thank you
[20:27:40] *** ccohn has quit IRC
[20:27:47] <christo_m> :)?
[20:28:09] <robdubya> same thing - wrap that in a promise
[20:28:12] <robdubya> and return the promise
[20:28:36] *** a3gis has joined #angularjs
[20:28:46] <christo_m> robdubya: BonjourService.resolve(computer).then(SocketService.connect(resolvedComputer));
[20:28:55] <christo_m> ??
[20:29:00] *** pig___ has joined #angularjs
[20:30:00] *** rileylark has quit IRC
[20:30:04] *** cheef has joined #angularjs
[20:30:18] *** rileylark has joined #angularjs
[20:30:24] *** night-owl is now known as zz_night-owl
[20:30:40] *** zz_night-owl is now known as night-owl
[20:31:04] *** TheAceOfHearts has quit IRC
[20:31:31] *** baweaver has quit IRC
[20:32:01] *** stirlingw has joined #angularjs
[20:32:28] *** zlalanne_ has joined #angularjs
[20:32:35] <christo_m> gonna have to read about these thinsg
[20:32:39] *** wdna has quit IRC
[20:32:41] <christo_m> im familiar with the concept but that syntax looks like shit
[20:32:42] <christo_m> tbh
[20:32:48] <jaawerth> the resolve would happen within the browse function
[20:32:49] *** ZeMiudo has quit IRC
[20:32:56] *** htmelvis has joined #angularjs
[20:33:04] <jaawerth> the browse function gets the async stuff started and returns a promise
[20:33:14] <christo_m> resolve is separate from browsing
[20:33:18] <christo_m> browsing just presents the list
[20:33:20] <jaawerth> when the async stuff finishes, the browse function resolves that promise you've already sent out
[20:33:27] <christo_m> i dont want to bother with resolution unless i know theyre trying to connect to that particular item in the list
[20:33:31] <jaawerth> ah, sorry, semantic issue. a 'resolve' is how you complete a promise
[20:33:35] <christo_m> ah ok
[20:33:42] <christo_m> that must be what made it more confusing
[20:33:45] <christo_m> since i see resolve in the param there
[20:33:47] *** Sawbones has quit IRC
[20:33:51] <christo_m> jesus
[20:33:57] *** kirfu has joined #angularjs
[20:34:02] *** borgman has quit IRC
[20:34:10] <christo_m> BonjourService.resolve(computer).then(SocketService.connect(resolvedComputer)); this line is still accurate though?
[20:34:20] <jaawerth> what version of angular are you using?
[20:34:23] *** zlalanne has quit IRC
[20:34:56] <robdubya> christo_m it would likely just be BonjourService.resolve(computer).then(SocketService.connect);
[20:35:11] *** phzon has joined #angularjs
[20:35:19] <christo_m> jaawerth: whatever is bundled with ionicframework
[20:35:19] *** capreolus has joined #angularjs
[20:35:23] *** JmZ_ is now known as JmZ
[20:35:39] *** Juanchito has quit IRC
[20:35:40] <robdubya> 1.2, shit.
[20:35:43] *** csduarte_ has joined #angularjs
[20:35:48] <christo_m> robdubya: i wrote SocketService to do .connect(computer) though
[20:35:53] <christo_m> will it pass the param automatically i guess?
[20:35:59] <jaawerth> dang - guess it's the old promise API then
[20:36:06] <christo_m> oh.
[20:36:13] <robdubya> that's how promises work - it'll call the then and pass in whatever you returned from the previous
[20:36:18] <christo_m> okay
[20:36:18] <jaawerth> no worries, I just dislike it compared to the new one
[20:36:25] *** Sebastien-L has quit IRC
[20:36:25] <christo_m> well, so is the syntax different?
[20:36:54] *** ccohn has joined #angularjs
[20:37:42] *** ccohn has quit IRC
[20:37:43] *** prosper_ has quit IRC
[20:37:49] *** rileylark has quit IRC
[20:37:51] *** dseitz has joined #angularjs
[20:38:03] *** Oddman has quit IRC
[20:38:18] <robdubya> looks like that
[20:38:24] *** ccohn has joined #angularjs
[20:38:55] *** rileylark has joined #angularjs
[20:38:56] *** tschunde_ has quit IRC
[20:39:03] *** umib0zu has joined #angularjs
[20:39:33] *** phzon has quit IRC
[20:39:36] *** sk87 has joined #angularjs
[20:40:04] *** rileylark has quit IRC
[20:40:05] <Adam91> Hi guys, I am posting reviews to couchDB and once this is done, how could I get the page to refresh - not the whole page just the route?
[20:40:59] *** frem has joined #angularjs
[20:41:19] *** sk87 has quit IRC
[20:41:27] *** Oxynum has quit IRC
[20:42:03] *** htmelvis has quit IRC
[20:42:25] *** sk87 has joined #angularjs
[20:42:50] *** ccohn has quit IRC
[20:43:06] *** Oxynum has joined #angularjs
[20:43:39] *** rafagomes has quit IRC
[20:43:42] *** stirlingw has quit IRC
[20:43:47] *** frem_ has joined #angularjs
[20:44:06] *** mennea has quit IRC
[20:44:08] *** marcjs_ has joined #angularjs
[20:44:24] *** koleS has joined #angularjs
[20:44:25] *** stirlingw has joined #angularjs
[20:44:36] *** TheAceOfHearts has joined #angularjs
[20:44:40] *** mennea has joined #angularjs
[20:44:48] *** Shrooms has quit IRC
[20:45:06] <Adam91> Got it I think - $route.reload()
[20:45:10] *** rileylark has joined #angularjs
[20:45:52] *** pikos has quit IRC
[20:45:55] *** jdivock has quit IRC
[20:46:00] *** tristanp has joined #angularjs
[20:46:08] *** rileylark has quit IRC
[20:46:25] *** _ritchie has joined #angularjs
[20:46:39] *** zilla_ has joined #angularjs
[20:46:48] <zilla_> hi experts
[20:47:10] *** prosper_ has joined #angularjs
[20:47:49] *** mrru has quit IRC
[20:47:56] *** Shrooms has joined #angularjs
[20:48:14] *** fedenunez has joined #angularjs
[20:48:46] <mmitchell> what's the best way to remove the $properties from $resource.then() data?
[20:48:58] <mmitchell> RESTangular has data.plain() -- anything like that for $resource?
[20:49:33] *** zlalanne has joined #angularjs
[20:49:56] <nickeddy> best way would be to not use $resource
[20:49:58] *** dman777_alter has joined #angularjs
[20:50:13] <zilla_> hi i want to use expression in ng-model...... i need something like this ng-model="custobj.project.username" but project and username coming dynamically so i am using like ng-model="custobj.{{metadata.id}}.{{attribute.id}}" but its not working...someone plz help"
[20:50:23] *** baweaver has joined #angularjs
[20:50:37] <mmitchell> nickeddy: really?
[20:50:41] *** woah has quit IRC
[20:50:44] <vonnegut> .
[20:50:54] <nickeddy> mmitchell: $resource is pretty awful
[20:51:02] <nickeddy> mmitchell: i'd recommend $http or Restangular
[20:51:04] *** zlalanne_ has quit IRC
[20:51:18] *** mspier|away is now known as mspier
[20:51:23] <mmitchell> funny, we're moving away from RESTangular because of general team confusion over the API
[20:51:42] <mmitchell> well, not funny actually
[20:51:42] <nickeddy> well is your API restful?
[20:51:55] <mmitchell> _mostly_
[20:52:12] <zilla_> experts plz answer my ques
[20:53:14] *** coderat has joined #angularjs
[20:53:22] <ctanga> ng-model="custobj[metadata.id][attribute.id]”
[20:53:27] *** ZeMiudo has joined #angularjs
[20:53:36] <nickeddy> ^
[20:53:38] *** d0ngz has quit IRC
[20:53:43] *** ngbot has joined #angularjs
[20:53:43] <ngbot> angular.js/master ed1243f Lucas Galfaso: fix(parse): fix operators associativity...
[20:53:44] *** ngbot has left #angularjs
[20:53:45] *** Oxynum has quit IRC
[20:53:53] *** warpx has joined #angularjs
[20:54:00] *** coderat has quit IRC
[20:54:02] *** aendrew has quit IRC
[20:54:16] *** d0ngz has joined #angularjs
[20:54:20] *** adamsilver has joined #angularjs
[20:54:33] *** ZeMiudo has quit IRC
[20:55:04] *** RobinBAwesome has quit IRC
[20:55:11] <adamsilver> what is the convention for ng-model names? likeThis or something-something?
[20:55:22] <saucey> hey guys
[20:56:07] *** a3gis has quit IRC
[20:56:12] *** tristanp has quit IRC
[20:56:16] *** mesger has quit IRC
[20:56:44] <boxmein> adamsilver: javascript conventions won't let you use dashes in names, except with some tricks, probably
[20:57:00] *** kirfu1 has joined #angularjs
[20:57:00] <boxmein> adamsilver: ...not conventions. actual syntax. - is subtraction
[20:57:01] *** kirfu has quit IRC
[20:57:36] *** yts has joined #angularjs
[20:57:47] *** Rahul_Roy_ has joined #angularjs
[20:57:50] *** chrisbirk has quit IRC
[20:57:58] *** capreolus has quit IRC
[20:58:02] *** htmelvis has joined #angularjs
[20:58:17] *** warpx has quit IRC
[20:58:20] *** tristanp has joined #angularjs
[20:58:38] <adamsilver> boxmein: looks like camelCase is the correct way
[20:58:44] <Linell> saucey: hola
[20:58:46] <ctanga> foo[‘my weird attribute name’] = 25;
[20:58:49] <ctanga> ^ is legal
[20:59:00] <zilla_> hi i want to use expression in ng-model...... i need something like this ng-model="custobj.project.username" but project and username coming dynamically so i am using like ng-model="custobj.{{metadata.id}}.{{attribute.id}}" but its not working...someone plz help"
[20:59:06] <dman777_alter> jaawerth: thanks
[20:59:19] *** baweaver has quit IRC
[20:59:20] *** ProLoser has joined #angularjs
[20:59:26]
<saucey> im trying to modify my response which was returned back from my api, but im having troubles, what it the best way to do this? its an multi dimensional array this is what i have tried http://laravel.io/bin/VPqRz
[20:59:27] <boxmein> adamsilver: there's no real right or wrong, use whichever case, camelcase is a javascript convention thought
[20:59:29] <boxmein> though*
[20:59:37] <saucey> Linell lol hgow did you know i was typing?
[20:59:43] <adamsilver> boxmein: ok thanks
[21:00:13] *** tschundeee has joined #angularjs
[21:00:32] *** Oddman has joined #angularjs
[21:00:40] *** mystronyx has joined #angularjs
[21:00:42] <dman777_alter> jaawerth: thanks
[21:00:43] <zilla_> hi i want to use expression in ng-model...... i need something like this ng-model="custobj.project.username" but project and username coming dynamically so i am using like ng-model="custobj.{{metadata.id}}.{{attribute.id}}" but its not working...someone plz help"
[21:00:49] *** chrisbirk has joined #angularjs
[21:00:54] <jaawerth> dman777_alter: sure thing
[21:01:00] *** mokush has joined #angularjs
[21:01:06] *** Adam91 has quit IRC
[21:01:11] <zomg> zilla_: I think custobj[metadata.id][attribute.id] might work assuming metadata and attribute are in your scope
[21:02:10] *** simplyshipley has joined #angularjs
[21:02:13] <zilla_> zomg no only custobj[metadata.id] seems to work...
[21:02:16] *** IvailoStoianov has quit IRC
[21:02:19] *** yandos has joined #angularjs
[21:02:40] *** mennea_ has joined #angularjs
[21:02:45] *** prosper_ has quit IRC
[21:02:53] *** ccohn has joined #angularjs
[21:03:15] *** mennea has quit IRC
[21:03:37] *** babai has joined #angularjs
[21:03:42] *** moogey is now known as moogey_eay
[21:03:48] *** ProLoser has quit IRC
[21:04:01] *** kirfu1 has quit IRC
[21:04:25]
<mystronyx> Hey, would you please look at this brief code? I wrote my question on the 2nd line. I want to know why 'ngRoute' causes variables within [[ ]] to no longer print the value. http://pastebin.com/3GRCTDx4
[21:04:38] *** pikos has joined #angularjs
[21:05:32] *** elyssonmr has quit IRC
[21:05:55] <saucey> can anyone give me some advice here
[21:06:20] <Linell> saucey: what exactly are you trying to do? What does the data actually look like?
[21:06:24] *** Una has quit IRC
[21:06:28] *** simplyshipley has quit IRC
[21:06:37] *** Evanion_ has quit IRC
[21:06:47] *** sirkitree|afk is now known as sirkitree
[21:06:58] *** Una has joined #angularjs
[21:07:02] <christo_m> jaawerth: dammit
[21:07:09] <christo_m> list won't update now
[21:07:14] *** zanea|away is now known as zanea
[21:07:15] <christo_m> this may be an ionic problem though
[21:07:18] *** ngbot has joined #angularjs
[21:07:18] <ngbot> angular.js/master acb066e Pawel Kozlowski: fix(ngMock): allow numeric timeouts in $httpBackend mock...
[21:07:19] *** ngbot has left #angularjs
[21:07:23] <christo_m> if i open the left side menu and go back the list will be there.
[21:07:25] <christo_m> so i know its being populated
[21:07:30] *** patrickarlt has quit IRC
[21:07:45] *** babai is now known as arijit
[21:07:56] *** Sawbones has joined #angularjs
[21:07:59] *** patrickarlt has joined #angularjs
[21:08:55] <saucey> Linell im trying to change the data in my user response, then send the modified data to the view
[21:09:16] *** Evanion has joined #angularjs
[21:10:08] *** ajk27 has quit IRC
[21:10:28] *** ajk27 has joined #angularjs
[21:10:45] *** qdk has joined #angularjs
[21:11:36] <saucey> its returning me back my resources, but i want to modify the data values before i send them to scope?
[21:12:03] *** rafagomes has joined #angularjs
[21:12:34] *** ludkiller has quit IRC
[21:12:38] *** DuelShark has joined #angularjs
[21:12:40] *** TheAceOfHearts has quit IRC
[21:12:49] *** Fire-Dragon-DoL has joined #angularjs
[21:13:02] *** ngbot has joined #angularjs
[21:13:02]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/bLW1lg
[21:13:03] <ngbot> angular.js/master 228281e Justin: docs($location): improve $location.hash() example...
[21:13:03] *** ngbot has left #angularjs
[21:14:08] <dman777_alter> strange...ng-click does not register in chrome for Macs
[21:14:31] *** sk87 has quit IRC
[21:14:46] <Grokling> dman777_alter: Seems highly unlikely. How are you coming to that conclusion?
[21:15:13] <TweedleDee> how would I do something like this <textarea ng-required="ctrl.hasFelonyConviction"> is that legit for adding form validation based on another bool value?
[21:15:35] *** diegoviola has quit IRC
[21:15:37] *** sk87 has joined #angularjs
[21:15:44] *** ludkiller has joined #angularjs
[21:15:58]
<dman777_alter> Grokling: on my coworkers Mac...we have http://dpaste.com/2ASMQMF on...my pc if I change select options it registers. But on my co-workers it does not
[21:16:00] *** richardlitt has joined #angularjs
[21:16:21] <dman777_alter> Grokling: Any suggestions?
[21:16:24] <dman777_alter> please :)
[21:17:48] <Grokling> dman777_alter: Most likely it's something with your function. To prove that ng-click is working, make a simple function in your controller that does a console.log('It works'), assign it to $scope, and call it from your ng-click. Process of elimination.
[21:17:54] *** skyx_ has quit IRC
[21:18:24] <dman777_alter> Grokling: ok, thanks
[21:18:31] *** dman777_alter has quit IRC
[21:19:06] *** Oxynum has joined #angularjs
[21:19:12] *** NoNMaDDeN has quit IRC
[21:19:21] *** DuelShark has quit IRC
[21:19:42] *** cthrax has joined #angularjs
[21:21:36] *** pikos has quit IRC
[21:21:52] *** dannyc_ has joined #angularjs
[21:22:30] *** asheinfeld has quit IRC
[21:22:44] *** hasq has quit IRC
[21:23:02] *** CHC has quit IRC
[21:23:34] *** darrin has joined #angularjs
[21:24:05] *** jordandotdev has quit IRC
[21:24:15] *** TheAceOfHearts has joined #angularjs
[21:24:40] *** mlpug has joined #angularjs
[21:24:42] *** yelvert has quit IRC
[21:24:46] *** yandos has quit IRC
[21:25:08] *** yelvert has joined #angularjs
[21:25:28] *** garbanzio has quit IRC
[21:25:31] *** jwowwz has joined #angularjs
[21:25:54] *** PrinceAMD has joined #angularjs
[21:25:57] *** bayousoft has quit IRC
[21:26:14] *** dman777_alter has joined #angularjs
[21:26:18] *** dannyc_ has quit IRC
[21:26:37] *** bayousoft has joined #angularjs
[21:27:16] *** shpoont has quit IRC
[21:28:02] *** lsiv568 has quit IRC
[21:28:22] <dman777_alter> what is the best way to check to see if a option has changed in a <select> element? I tried ng-click but not really the corrrect atttribute
[21:28:52] <Grokling> ng-change
[21:29:27] <dman777_alter> Grokling: I tried that...it works on my PC but not on my co-workers Mac
[21:29:27] *** DarrenCraig has joined #angularjs
[21:29:31] *** yelvert has quit IRC
[21:29:33] *** PrinceAMD has quit IRC
[21:29:40] *** nemothekid has joined #angularjs
[21:29:40] <dman777_alter> Grokling: he's using chrome I am using chromium
[21:30:13] *** MuffinMan` has joined #angularjs
[21:30:20] *** Sontakey has joined #angularjs
[21:30:48] *** soren_engel has joined #angularjs
[21:30:54] <Grokling> dman777_alter: There are a LOT of angular devs on macs using chrome. If it was a framework issue, I'm sure we would have heard about it by now.
[21:30:57] *** wallerdev has quit IRC
[21:31:32] <dman777_alter> Grokling: that is true
[21:31:35] <Grokling> I'd be putting {{model}} in your view so you can visually see if the value is changing.
[21:31:50] *** BigMac has joined #angularjs
[21:32:00] *** andrew9183 has joined #angularjs
[21:32:13] *** ngbot has joined #angularjs
[21:32:13] <ngbot> angular.js/master b9e5eaf Steve Shaffer: docs(select): Updated ngOptions track by examples...
[21:32:13] *** ngbot has left #angularjs
[21:32:24] *** kompressor has joined #angularjs
[21:32:59] *** kompressor is now known as kompresor
[21:33:05] *** kkthxbye has joined #angularjs
[21:33:30] *** soren_engel has quit IRC
[21:33:34] *** lvivski has joined #angularjs
[21:33:41] *** prosper_ has joined #angularjs
[21:33:43] *** teddyp1c_ has joined #angularjs
[21:34:33] *** teddyp1cker has quit IRC
[21:34:55] *** Rebirth has quit IRC
[21:35:07] *** wolfman2000 has joined #angularjs
[21:35:37] *** tkh44 has joined #angularjs
[21:35:57] *** prbc_ has quit IRC
[21:36:29] *** mrru has joined #angularjs
[21:36:32] *** htmelvis has quit IRC
[21:36:42] *** e0ipso is now known as e0ipso|away
[21:36:42] *** prbc has joined #angularjs
[21:37:00] *** Una has quit IRC
[21:37:19] *** mrru has quit IRC
[21:37:25] *** chrisbirk has quit IRC
[21:37:39] *** pikos has joined #angularjs
[21:38:18] *** Shai-Tan has joined #angularjs
[21:38:39] *** BlinkyBill has joined #angularjs
[21:39:03] *** chrisbirk has joined #angularjs
[21:39:25] *** wolfman2000 has quit IRC
[21:39:34] *** lsiv568 has joined #angularjs
[21:39:38] *** Oddman has quit IRC
[21:39:51] *** teddyp1c_ has quit IRC
[21:40:13] *** Oddman has joined #angularjs
[21:40:20] *** jackdpeterson has joined #angularjs
[21:40:47] *** teddyp1cker has joined #angularjs
[21:41:16] *** jaznow has joined #angularjs
[21:41:20] *** prbc has quit IRC
[21:42:12] *** saucey has quit IRC
[21:42:39] *** Guest22 has quit IRC
[21:42:46] *** ccohn has quit IRC
[21:43:17] *** ccohn has joined #angularjs
[21:43:22] *** Oddman has quit IRC
[21:43:34] *** laurensclaessen has joined #angularjs
[21:43:35] *** Oddman has joined #angularjs
[21:43:44] *** busticated has quit IRC
[21:44:00] *** SKZC has joined #angularjs
[21:44:19] *** ludkiller has quit IRC
[21:44:27] *** laurensclaessen has quit IRC
[21:44:31] *** mzabriskie has joined #angularjs
[21:44:35] *** visualshockg has joined #angularjs
[21:45:03] *** bkuberek has quit IRC
[21:45:04] *** laurensclaessen has joined #angularjs
[21:45:05] *** jonatas_oliveira has quit IRC
[21:45:28] *** ccohn_ has joined #angularjs
[21:45:42] *** jonatas_oliveira has joined #angularjs
[21:45:49]
<jaydubya> I have a FeederFactory responsible for creating objects for use in dropdown menus and I am trying to get them into the top-level controller so they are available throughout the app. There are still quite a few more to go and I am copy-and-pasting almost the same code, so it screams "refactor" but I've never seen anyone do promise resolutions any other way. Any ideas? https://gist.github.com/anonymous/0462435a2fe4371
[21:45:50] <jaydubya> 44743
[21:45:53] *** teddyp1cker has quit IRC
[21:45:55] *** laurensc_ has joined #angularjs
[21:45:56] *** ccohn has quit IRC
[21:46:03] *** saucey has joined #angularjs
[21:46:10] *** DarrenCraig has quit IRC
[21:46:14] *** ludkiller has joined #angularjs
[21:46:18] *** ahtik has joined #angularjs
[21:46:28] *** Aliks has joined #angularjs
[21:46:34] *** iateadonut has joined #angularjs
[21:46:38] *** ngbot has joined #angularjs
[21:46:38] <ngbot> angular.js/master 579aa59 Lucas Galfaso: chore(docs): fix jscs error...
[21:46:38] *** ngbot has left #angularjs
[21:46:59] *** Una has joined #angularjs
[21:47:03] *** greengriminal is now known as Guest17859
[21:47:18] *** levidTablet has joined #angularjs
[21:47:23] *** bkuberek has joined #angularjs
[21:47:27] *** greengriminal has joined #angularjs
[21:47:44] *** sk87 has quit IRC
[21:48:07] *** JERE has quit IRC
[21:48:50] *** sk87 has joined #angularjs
[21:48:55] *** nya has quit IRC
[21:49:18] <dman777_alter> Grokling: thanks
[21:49:19] *** nya has joined #angularjs
[21:49:38] *** laurensclaessen has quit IRC
[21:49:45] *** TheAceOfHearts has quit IRC
[21:49:57] *** levidTablet has quit IRC
[21:50:05] *** garbanzio has joined #angularjs
[21:50:24] *** jonatas_oliveira has quit IRC
[21:50:27] *** robdubya has quit IRC
[21:50:37] *** DuelShark has joined #angularjs
[21:50:40] *** plex0r has joined #angularjs
[21:50:47] <Grokling> dman777_alter: You fixed it...
[21:51:40] *** gladely_ has joined #angularjs
[21:52:06] *** yandos has joined #angularjs
[21:52:49] <dman777_alter> Grokling: ya...ng-change worked on the Mac. I am not sure why it didn't work the first time.
[21:53:35] *** shpoont has joined #angularjs
[21:53:40] <Grokling> jaydubya: FeederFactory.getEverything().then(function(everything){angular.forEach(everything, function(thing){$scope[thing]=thing;})})
[21:54:11] *** laurensc_ has quit IRC
[21:54:48] *** laurensclaessen has joined #angularjs
[21:55:01] *** mennea has joined #angularjs
[21:55:02] *** gladely has quit IRC
[21:55:04] <jaydubya> Grokling: Where does getEverything() come from?
[21:55:04] *** zwacky has joined #angularjs
[21:55:10] *** mennea_ has quit IRC
[21:55:19] <Grokling> jaydubya: actually, that wasn't quite right: FeederFactory.getEverything().then(function(everything){angular.forEach(everything, function(thingValue, thingKey){$scope[thingKey]=thingValue;})})
[21:55:48] *** ZeMiudo has joined #angularjs
[21:55:59] *** Guest22 has joined #angularjs
[21:56:00] *** cleme1mp has quit IRC
[21:56:26] *** opiates has joined #angularjs
[21:56:36] <Grokling> getEverything() would return an object with a property for each of the functions you're essentially duplicating in the controller. everything:{globals:[...], loanTypes:[...] etc}
[21:56:39] *** moogey_eay is now known as moogey
[21:57:01] *** Oddman has quit IRC
[21:57:13] *** saucey has quit IRC
[21:57:13] *** TheAceOfHearts has joined #angularjs
[21:57:46] <jaydubya> ok, sounds cool ... let me see how badly I can screw THIS up ... thanks!
[21:57:50] *** dman777_alter has quit IRC
[21:57:54] <Grokling> jaydubya: It's not really going to save you any code though.. just shift it to somewhere else. This should possibly be in a resolve too.
[21:58:22] <opiates> is it just me or is the angularjs.org documentation not as great as it could be
[21:58:49] *** Oddman has joined #angularjs
[21:58:51] *** kenavr has joined #angularjs
[21:58:53] <jaydubya> Grokling: I am trying to have slim controllers like everyone says you should have ... is this not a best practice?
[21:58:57] *** arijit has quit IRC
[21:59:01] *** ZeMiudo has quit IRC
[21:59:05] *** cleme1mp has joined #angularjs
[21:59:18] *** davek_ has quit IRC
[21:59:23] <Grokling> opiates: time+money+enthusiasm. If there were an unlimited supply of all, the docs would be awesome.
[21:59:27] *** ajk27_ has joined #angularjs
[21:59:28] <opiates> good point Grokling
[21:59:30] *** FIFOd[a] has quit IRC
[21:59:43] *** yandos has quit IRC
[21:59:51] *** arijit has joined #angularjs
[22:00:35] <opiates> short of courses and tutorials, are there any free resources that could replace/be combined with the docs that anyone would recommend? i see ng-book.com but that looks to not be free?
[22:00:39] *** mlpug has quit IRC
[22:00:54] *** prbc has joined #angularjs
[22:00:57] <opiates> eh i guess i'll just use examples and tutorials
[22:01:08] *** DLSteve has joined #angularjs
[22:01:08] *** one0one has joined #angularjs
[22:01:10]
<seiyria> hey all - I'm making a scrollable tab plugin compatible with angularjs, heres what I have: http://plnkr.co/edit/T2snJI0zqnNTGKte55Ba?p=preview -- I'm having a weird problem. my code will keep trying to scroll left if you hold down the left button after it gets disabled, and then you let go. any ideas why?
[22:01:12] <Grokling> jaydubya: Yes slim controllers are the way to go. You can do most of what you have there in a resolve, then you only need to assign the resolve results to $scope and you're done.
[22:01:33] *** nemothekid has quit IRC
[22:01:41] *** sheplu has quit IRC
[22:01:41] *** MistahKurtz has joined #angularjs
[22:01:57] <seiyria> sorry, compatible with angularui*
[22:02:03] *** ajk27 has quit IRC
[22:02:11] *** goodenough has quit IRC
[22:02:30] *** Oddman has quit IRC
[22:02:31] *** one0one has quit IRC
[22:02:34] <jaydubya> Grokling: Resolve, like in the ui-router?
[22:02:43] *** lvivski has quit IRC
[22:02:49] *** Snugug has quit IRC
[22:03:01] *** nemothekid has joined #angularjs
[22:03:04] *** Oddman has joined #angularjs
[22:03:04] <moogey> Grokling, Jaydubya: my preferred pattern is to let the factory keep all the references to data it gets back from the server. And have a getObject() that returns an object of all the available data structures.
[22:03:07] *** mary5030 has quit IRC
[22:03:15] *** ingsoc has quit IRC
[22:03:18] *** RobinBAwesome has joined #angularjs
[22:03:34] <moogey> Jaydubya: also, is there a reason you went with a switch statement for getColor? curious
[22:03:42] *** Snugug has joined #angularjs
[22:03:46] *** mary5030 has joined #angularjs
[22:03:50] <jaydubya> moogey: isn't that what I am doing now or are you speaking above my head?
[22:03:56] *** FIFOd[a] has joined #angularjs
[22:03:57] *** encryptd_fractl has quit IRC
[22:04:08] <Grokling> jaydubya: yes. ui-router.
[22:04:10] *** arijit has quit IRC
[22:04:33] *** encryptd_fractl has joined #angularjs
[22:04:46] <jaydubya> moogey: switch statement = it works and coming from php and just learning front-end, I didn't know an alternative but I admit -- IT IS UGLY
[22:05:11]
<mystronyx> Hey, would you please look at this brief code? I wrote my question on the 2nd line. I want to know why 'ngRoute' causes variables within [[ ]] to no longer print the value. http://pastebin.com/Qy3ed1mp
[22:05:26] *** prosper__ has joined #angularjs
[22:06:00] *** busticated has joined #angularjs
[22:06:00] *** prosper_ has quit IRC
[22:06:36] *** encryptd_fractl has quit IRC
[22:06:44] *** aslate has joined #angularjs
[22:06:48] *** vonnegut has quit IRC
[22:07:15] *** one0one has joined #angularjs
[22:07:42] *** whiteboo_ has joined #angularjs
[22:07:46] *** mennea has quit IRC
[22:08:15] *** mary5030 has quit IRC
[22:08:31] *** ProLoser has joined #angularjs
[22:08:33] *** annlewis has quit IRC
[22:08:38] *** adamsilver has quit IRC
[22:09:29] *** mennea has joined #angularjs
[22:09:57] <nickeddy> this is probably a stupid question but is there a way to get an object's property's name inside a template? :P
[22:09:58] *** whitebook has quit IRC
[22:10:10] <nickeddy> nevermind
[22:10:12] *** zB0hs has quit IRC
[22:10:12] <nickeddy> already answered
[22:10:15] <nickeddy> need more coffee
[22:10:20] *** encryptd_fractl has joined #angularjs
[22:10:31] *** zemiudo has joined #angularjs
[22:11:14] *** aslate has quit IRC
[22:13:08] *** jaznow has quit IRC
[22:13:22] *** pretzel80 has joined #angularjs
[22:13:33] *** ctanga has quit IRC
[22:13:35] *** digisky has joined #angularjs
[22:14:10] *** ctanga has joined #angularjs
[22:14:12] *** D-Boy has quit IRC
[22:14:17] *** cthrax has quit IRC
[22:14:22] <jaawerth> any errors thrown?
[22:14:37] *** mtsr has quit IRC
[22:14:38] *** samchi_ has left #angularjs
[22:14:53] *** Efrem has quit IRC
[22:15:05] *** johnnyfive has quit IRC
[22:15:47] *** blackkbo- has joined #angularjs
[22:16:01] *** ozh has quit IRC
[22:16:22] *** johnnyfive has joined #angularjs
[22:16:24] <burzum2> what is the best way to deal with dependent selects using angular? I have many forms that have a country and state select, the state depends on the the country. I don't want to repeat my code in every controller for that. so how could I write this in a way that doesn't force me to repeat my code?
[22:16:47] <themime> burzum: a directive
[22:16:55] *** marr has joined #angularjs
[22:16:58] <themime> that is in charge of getting the data it needs and populating itself
[22:17:03] *** blackkbo- has quit IRC
[22:17:10] <burzum2> themime with both fields inside the template? well this wont allow me to move the fields around as I like
[22:17:19] *** ozh has joined #angularjs
[22:17:23] <BigMac> I'm having issues with ngCookie; when I retrieve an object with $cookieStore.get, I can print the object and see everything, but when I try to access anything inside, I get undefined. I checked with a 'for attribute in object' loop and got the same results, so I'm baffled
[22:17:26] <burzum2> im looking for a solution to abstract the logic from the template
[22:17:30] <jaydubya> moogey: those TWO lines do the same as the switch???
[22:17:36] <csduarte_> Hi all. I'm trying to config Restangular, and add a custom header, but that custom header needs access from a service... i can't seem to inject that service, can anybody provide some insight?
[22:17:37] *** blackkbo- has joined #angularjs
[22:17:44] <moogey> jaydubya: you betcha
[22:18:14] <BigMac> I can say log(myobj), but not log(myobj.threads)
[22:18:22] <jaydubya> moogey: OMG!
[22:18:26] *** areologist has joined #angularjs
[22:18:53] *** Oddman has quit IRC
[22:18:59] <areologist> ctanga: are you online?
[22:19:04] <ctanga> no
[22:19:13] <moogey> jaydubya: I find that I can replace long winded if statements with nice uses of arrays and objects.
[22:19:25] *** Oddman has joined #angularjs
[22:19:29] *** cojack has quit IRC
[22:19:31] <moogey> ^ lookups. array and object lookups
[22:19:33] <areologist> *sadwalk*
[22:20:13] <areologist> ctanga: hi
[22:20:16] *** vonnegut has joined #angularjs
[22:20:44] <areologist> I just thought of you with respect to ui-router and have a quick question, if you don't mind
[22:20:46] *** rileylark has joined #angularjs
[22:20:52] *** robdubya has joined #angularjs
[22:20:53] <jaydubya> moogey: once this current project slows down, I am going to learn vanilla javascript to assist with my Angular because I believe the future is just using a server to serve data and let the client do everything
[22:20:55] *** aendrew has joined #angularjs
[22:20:58] *** sk87 has quit IRC
[22:22:04] *** sk87 has joined #angularjs
[22:22:17] <moogey> jaydubya: There was a discussion about that going on in the #learnjavascript channel. Keeping the client dumb so users can't mess with the data and trick your server into doing things it shouldn't do.
[22:22:28] *** juampy_backlater is now known as juampy
[22:22:37] *** jonathanpglick has quit IRC
[22:22:41] *** dannyc has joined #angularjs
[22:22:53] *** aendrew has quit IRC
[22:22:53] *** DuelShark has quit IRC
[22:23:00] *** Oddman has quit IRC
[22:23:13] *** Oddman has joined #angularjs
[22:23:17] *** areologist has quit IRC
[22:24:11] *** warpx has joined #angularjs
[22:24:24] *** prosper__ has quit IRC
[22:24:43] <jaawerth> moogey: presumably this came up in the discussion, but the client being dumb and the server being untrickable aren't mutually exclusive ;-)
[22:25:04] <jaawerth> granted, it CAN mean having to code things like authorization twice unless you're using node
[22:25:15] *** woah has joined #angularjs
[22:25:21] *** ngbot has joined #angularjs
[22:25:21]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9fa73cb to 240e0d5: http://git.io/shi9zA
[22:25:21] *** ngbot has left #angularjs
[22:25:36] <moogey> jaawerth: very true.
[22:25:51] *** jonathanpglick has joined #angularjs
[22:25:51] <moogey> we validate all our fields twice.
[22:25:52] *** tfennelly has quit IRC
[22:26:01] *** blackkbo- is now known as blackkbot
[22:26:14] <jaawerth> er, that is, the client not being dumb.. you know what I mean ;-)
[22:26:26] *** ngbot has joined #angularjs
[22:26:26]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 240e0d5 to c6b57f1: http://git.io/Sf_WMg
[22:26:26] *** ngbot has left #angularjs
[22:26:44] <jaawerth> and you can minimize your code reproduction if you've got your auth info in a JSON format and use stuff like regexes
[22:26:59] *** dannyc has quit IRC
[22:27:14] <jaawerth> that's an interesting thought for modern apps though. a cross-platform domain specific language for security stuff
[22:27:21] *** ngbot has joined #angularjs
[22:27:21]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from c6b57f1 to 5481e2c: http://git.io/uat8Ag
[22:27:21] *** ngbot has left #angularjs
[22:27:26] *** warpx_ has joined #angularjs
[22:27:55] *** learner has quit IRC
[22:28:25] *** jolts has quit IRC
[22:28:26] *** ngbot has joined #angularjs
[22:28:26]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5481e2c to e93710f: http://git.io/HrpSlw
[22:28:26] *** ngbot has left #angularjs
[22:28:58] *** jaznow has joined #angularjs
[22:29:00] *** warpx has quit IRC
[22:29:26] *** ngbot has joined #angularjs
[22:29:26]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e93710f to 7c6be43: http://git.io/gBxqNw
[22:29:26] *** ngbot has left #angularjs
[22:29:29] *** boxmein is now known as [boxmein]
[22:29:36] *** annlewis has joined #angularjs
[22:29:57] *** skyx_ has joined #angularjs
[22:30:08] *** elrabin has joined #angularjs
[22:30:15] *** palacios335 has joined #angularjs
[22:30:31] *** ngbot has joined #angularjs
[22:30:31]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7c6be43 to 013b522: http://git.io/WWQEOg
[22:30:31] *** ngbot has left #angularjs
[22:30:46] *** sojic has joined #angularjs
[22:30:53] <palacios335> ngRoute does not work with file:/// protocol?
[22:31:36] *** ngbot has joined #angularjs
[22:31:36]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 013b522 to 8df47db: http://git.io/OljvsA
[22:31:36] *** ngbot has left #angularjs
[22:31:59] <mystronyx> jaawerth thanks I'll look more into it
[22:32:15] <sojic> What does "best practices" say? Should I use $scope in the controller or to use controller as model?
[22:32:17] *** darrin has quit IRC
[22:32:48] *** ngbot has joined #angularjs
[22:32:48]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8df47db to 915a891: http://git.io/ZCencw
[22:32:48] *** ngbot has left #angularjs
[22:33:08] *** danecando has quit IRC
[22:33:09] *** palacios335 has quit IRC
[22:33:21] *** jlebrech has joined #angularjs
[22:33:40] *** vonnegut has quit IRC
[22:33:49] *** ngbot has joined #angularjs
[22:33:49]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 915a891 to 96c61fe: http://git.io/_IE_Mw
[22:33:49] *** ngbot has left #angularjs
[22:33:59] *** richiebkr has quit IRC
[22:34:15] *** kuadrosx has joined #angularjs
[22:34:18] *** getn_outchea has quit IRC
[22:34:24] *** richiebkr has joined #angularjs
[22:34:51] *** ngbot has joined #angularjs
[22:34:51]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 96c61fe to f7cf846: http://git.io/oXmLJQ
[22:34:51] *** ngbot has left #angularjs
[22:35:15] *** ludkiller has quit IRC
[22:35:17] *** learner has joined #angularjs
[22:35:50] *** ngbot has joined #angularjs
[22:35:50]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from f7cf846 to a631a75: http://git.io/9kdTJg
[22:35:50] *** ngbot has left #angularjs
[22:35:57] *** fedenunez has quit IRC
[22:36:14] *** ludkiller has joined #angularjs
[22:36:50] *** ngbot has joined #angularjs
[22:36:50]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a631a75 to 5ced914: http://git.io/o5MkAA
[22:36:51] *** ngbot has left #angularjs
[22:36:53] *** warpx_ has quit IRC
[22:37:29] *** Sontakey has quit IRC
[22:37:58] *** ngbot has joined #angularjs
[22:37:59]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5ced914 to a75537d: http://git.io/OtGIQQ
[22:37:59] *** ngbot has left #angularjs
[22:38:00] *** jlebrech has quit IRC
[22:38:06] *** patrick99e99 has quit IRC
[22:38:10] *** D-Boy has joined #angularjs
[22:38:13] *** cannap has quit IRC
[22:38:19] *** getn_outchea has joined #angularjs
[22:38:31] *** robdubya has quit IRC
[22:38:32] *** wallerdev has joined #angularjs
[22:38:35] *** kuadrosx_ has joined #angularjs
[22:38:56] *** ngbot has joined #angularjs
[22:38:56]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a75537d to 429938d: http://git.io/n4vk7A
[22:38:56] *** ngbot has left #angularjs
[22:39:20] *** kuadrosx has quit IRC
[22:39:42] *** danmindru has quit IRC
[22:39:56] *** ngbot has joined #angularjs
[22:39:57]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 429938d to c8c9bbc: http://git.io/ptglrw
[22:39:57] *** ngbot has left #angularjs
[22:40:01] *** jaznow has quit IRC
[22:40:07] *** goodenough has joined #angularjs
[22:40:14] *** evanjs has quit IRC
[22:40:32] *** mary5030 has joined #angularjs
[22:40:57] *** ngbot has joined #angularjs
[22:40:58]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from c8c9bbc to 1191edb: http://git.io/YwzSbg
[22:40:58] *** ngbot has left #angularjs
[22:41:11] *** mary5030 has joined #angularjs
[22:41:25] *** warpx has joined #angularjs
[22:41:33] *** walden is now known as walden|brb
[22:41:55] *** spatialbrew_ has quit IRC
[22:42:01] *** ngbot has joined #angularjs
[22:42:01]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 1191edb to 7daf4e0: http://git.io/EGENcg
[22:42:01] *** ngbot has left #angularjs
[22:42:22] *** seriema has quit IRC
[22:42:24] *** getn_outchea has quit IRC
[22:43:04] *** ngbot has joined #angularjs
[22:43:04]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7daf4e0 to 9a616ea: http://git.io/bzJNqw
[22:43:04] *** ngbot has left #angularjs
[22:43:06] *** seriema has joined #angularjs
[22:43:14] *** mkusher has quit IRC
[22:43:15] <macabre> i'm brand new to angular. i have a dataset that i would like to reuse with a few different tables using ui-grid. i was thinking about setting up a service or factory to query my data once and then setup controllers to display the different fields in my dataset. is this a reasonable approach? any input is greatly appreciated
[22:44:01] *** ngbot has joined #angularjs
[22:44:01]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9a616ea to 9c113aa: http://git.io/6ScB4A
[22:44:01] *** ngbot has left #angularjs
[22:44:09] *** Linell has quit IRC
[22:44:34] <xyNNN> when i use ui-router i define ma ui-view with a div element (<div ui-view="base">) - can i remove these div tag, because my css front-end framework don't works correct with this wrapping div
[22:44:57] *** baweaver has joined #angularjs
[22:45:08] *** ngbot has joined #angularjs
[22:45:08]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9c113aa to 32806ca: http://git.io/-OOG2Q
[22:45:08] *** ngbot has left #angularjs
[22:45:27] *** yelvert has joined #angularjs
[22:45:57] *** Sontakey has joined #angularjs
[22:46:10] *** tkh44 has quit IRC
[22:46:16] *** laurensclaessen has quit IRC
[22:47:13] *** getn_outchea has joined #angularjs
[22:47:23] *** seriema has quit IRC
[22:47:46] *** mzabriskie has quit IRC
[22:47:46] <moogey> jaawerth: I came into a already built django project. And there's a lot of stuff we haven't moved to angular. Security things like authentication still escape me
[22:47:55] *** ngbot has joined #angularjs
[22:47:55] <ngbot> angular.js/master 55d9db5 Jason Bedard: fix(inputs): ignoring input events in IE caused by placeholder changes or focus/blur on inputs with placeholders...
[22:47:55] <ngbot> angular.js/master d21dff2 Jason Bedard: fix(ngmodel): fixing many keys incorrectly marking inputs as dirty
[22:47:55] *** ngbot has left #angularjs
[22:48:06] *** mzabriskie has joined #angularjs
[22:48:21] *** jacuqesdancona_ has joined #angularjs
[22:48:22] *** kuadrosx_ is now known as kuadrosx
[22:48:59] *** bruno_ has quit IRC
[22:49:10] *** cleme1mp has quit IRC
[22:49:42] <jaawerth> moogey: I wonder how many django blog posts are now titled Django Unchained
[22:49:44] *** ycodr has quit IRC
[22:50:45] <moogey> jaawerth: I got hired right around the time that movie came out. Google wasn't trained to know that I search for the django framework yet.
[22:50:45] *** diosney has joined #angularjs
[22:51:01] <moogey> Jamie Foxx get out of my Class Based Views!!!!
[22:51:07] *** ycodr has joined #angularjs
[22:51:51] <nickeddy> jaawerth: i gave a presentation at my university titled django unchained
[22:52:23] <jaawerth> haha
[22:52:46] *** plex0r has quit IRC
[22:53:05] *** warpx has quit IRC
[22:53:12] <moogey> nickeddy: is asking if it was about the movie a dumb question?
[22:53:18] *** jacuqesdancona_ has quit IRC
[22:53:21] *** _thumpba has joined #angularjs
[22:53:28] *** nemothekid has quit IRC
[22:53:39] *** warpx has joined #angularjs
[22:54:00] <nickeddy> hahah it was about django/drf
[22:54:19] *** sk87 has quit IRC
[22:55:23] *** FIFOd[a] has quit IRC
[22:56:07] *** ehynds has quit IRC
[22:56:51] *** loverajoel has quit IRC
[22:57:06] *** Sontakey has quit IRC
[22:58:10] *** visualshockg has quit IRC
[22:58:32] *** walden|brb is now known as walden
[22:58:37] *** elrabin has quit IRC
[22:58:39] *** lvivski has joined #angularjs
[22:59:35] *** seriema has joined #angularjs
[22:59:58] *** Snugug has quit IRC
[23:00:13] *** rafagomes has quit IRC
[23:00:13] *** _dc_ has joined #angularjs
[23:00:21] *** tkh44 has joined #angularjs
[23:00:57] <moogey> nickeddy: have you looked at the latest release?
[23:01:20] *** baweaver has quit IRC
[23:01:20] *** tschundeee has quit IRC
[23:01:28] *** elrabin has joined #angularjs
[23:01:48] *** tschundeee has joined #angularjs
[23:01:52] <nickeddy> moogey: drf 3.0?
[23:02:19] <moogey> yeah
[23:02:48] <nickeddy> don't really care about it anymore given i'm shifting over to sails
[23:02:48] *** danmindru has joined #angularjs
[23:02:51] *** _thumpba has quit IRC
[23:02:59] <burzum2> how can i get ng-select to use an object like {1: 'foo', 2: 'bar', ...} as options?
[23:03:02] <nickeddy> kind of too little too late on the django side
[23:03:03] *** jonatas_oliveira has joined #angularjs
[23:03:11] <nickeddy> i mean, they still don't have any good real time solution
[23:03:23] <jaawerth> you mean event-based stuff?
[23:03:33] *** bulkan has joined #angularjs
[23:03:37] *** _dc has quit IRC
[23:03:40] *** seriema has quit IRC
[23:03:41] *** chrisbirk has quit IRC
[23:03:54] <burzum2> nickeddy ive already looked at this page and couldnt find an example for that case
[23:03:57] <nickeddy> jaawerth: websockets or socket.io
[23:04:03] <jaawerth> oh
[23:04:06] <jaawerth> really?
[23:04:08] *** tfennelly has joined #angularjs
[23:04:09] <jaawerth> I'm surprised by that
[23:04:14] *** cilkay has quit IRC
[23:04:24] <jaawerth> I assume they have good websocket support, just no framework for it?
[23:04:31] <nickeddy> nope
[23:04:34] *** Guest22 has quit IRC
[23:04:35] <nickeddy> you have to use redis or some bullshit
[23:04:38] *** ccohn_ has quit IRC
[23:04:55] *** richardlitt has quit IRC
[23:04:59] <jaawerth> all the python packages for it are bad?
[23:05:01] *** akrikos has quit IRC
[23:05:08] *** richardlitt has joined #angularjs
[23:05:09] <jaawerth> or just not django-friendly?
[23:05:10] *** ccohn has joined #angularjs
[23:05:23] *** e0ipso|away is now known as e0ipso
[23:05:23] <nickeddy> oh just nothing that integrates with django
[23:05:24] *** dimetron has joined #angularjs
[23:05:30] <nickeddy> i mean there's definitely realtime stuff for python
[23:05:39] <jaawerth> yeah, I've played with some of it
[23:05:41] <nickeddy> but as a framework django literally doesn't do it at all
[23:05:50] *** robdubya has joined #angularjs
[23:05:54] <nickeddy> = no go for the next like 5 projects on my radar
[23:05:58] <jaawerth> I really haven't done much with django, it's kinda stupid to hear you can't integrate arbitrary python packages
[23:06:18] *** danmindru has quit IRC
[23:06:28] <nickeddy> its age is showing
[23:06:30] *** chrisbirk has joined #angularjs
[23:06:40] <nickeddy> they should be rushing for 2.0 rewrite because really... lots of cruft
[23:06:40] *** jm99 has quit IRC
[23:06:52] *** livingstn has quit IRC
[23:06:53] *** roachiepoopoo has quit IRC
[23:06:55] <jaawerth> well
[23:07:04] *** Sontakey has joined #angularjs
[23:07:16] <jaawerth> node is so good at directing traffic that I really like the idea of using other language just for the processing anyway
[23:07:21] <jaawerth> rather than a full web framework
[23:07:44] *** NoNMaDDeN has joined #angularjs
[23:08:10] *** cboden has quit IRC
[23:08:17] *** tfennelly has quit IRC
[23:08:37] *** coffey has quit IRC
[23:09:12] *** [boxmein] has quit IRC
[23:09:17] *** ccohn has quit IRC
[23:09:18] *** chrisbirk has quit IRC
[23:09:39] *** Oddman has quit IRC
[23:09:44] *** Fuzzy has quit IRC
[23:09:55] <robert_> so I'm trying to get formstamp working, but I can't figure out how to use three column inputs without labels. :/
[23:10:14] *** Oddman has joined #angularjs
[23:10:15] *** _dc has joined #angularjs
[23:10:51] *** Sawbones has quit IRC
[23:10:53] *** rileylark has quit IRC
[23:10:56] *** Guest22 has joined #angularjs
[23:11:02] *** shinnya has quit IRC
[23:11:13] *** lsiv568 has quit IRC
[23:11:16] *** jmckind has quit IRC
[23:11:17] *** mzabriskie has quit IRC
[23:11:19] *** chrisbirk has joined #angularjs
[23:11:50] *** bulkan has quit IRC
[23:11:50] *** Sawbones has joined #angularjs
[23:11:57] *** richardlitt has quit IRC
[23:12:14] *** mak` has quit IRC
[23:12:40] *** cthrax has joined #angularjs
[23:12:49] *** NoNMaDDeN has quit IRC
[23:12:50] <burzum2> nickeddy if you are sure that this works, would you mind telling me how to do it then?
[23:12:54] *** Xaleph has joined #angularjs
[23:13:01] <burzum2> i think ive tried all four of the examples from the documention without success
[23:13:19] *** BillCriswell has quit IRC
[23:13:37] *** bulkan has joined #angularjs
[23:13:39] *** saucey has joined #angularjs
[23:13:40] <nickeddy> ng-options="value for (key, value) in object"
[23:13:44] *** tfennelly has joined #angularjs
[23:13:54] *** _dc_ has quit IRC
[23:14:05] *** MaxV has quit IRC
[23:14:12] *** dsdeiz has joined #angularjs
[23:14:36] *** gunn has quit IRC
[23:14:54] <burzum2> nickeddy, thank you but still nothing :( I must do something else wrong. <ng-select ng-model="data.Location.country_id" ng-options="k as v for (k, v) in countries"></ng-select>
[23:15:02] *** Oddman has quit IRC
[23:15:14] *** gunn has joined #angularjs
[23:15:14] <nickeddy> that's not what i said
[23:15:24] <burzum2> ops
[23:15:32] <burzum2> moment, you're right
[23:15:43] *** Jesse___ has joined #angularjs
[23:15:54] <Jesse___> hello people
[23:16:06] <Jesse___> I have a question
[23:16:12] *** lvivski has quit IRC
[23:16:42] *** Sawbones has quit IRC
[23:17:04] <Jesse___> the angular function called extend just copies all the elements from one class/service to another
[23:17:37] <Jesse___> Why should I use extend instead of JS innate prototypal inheritance to extend something?
[23:18:03] *** neoadventist has joined #angularjs
[23:18:09] *** tristanp has quit IRC
[23:18:35] *** warehouse13 has joined #angularjs
[23:18:39] *** rafagomes has joined #angularjs
[23:18:42] *** Oxynum has quit IRC
[23:19:09] *** yelvert has quit IRC
[23:19:11] *** tristanp has joined #angularjs
[23:19:23] *** andrew9183 has quit IRC
[23:19:35] *** yelvert has joined #angularjs
[23:19:59] <nickeddy> not sure why you essentially have an array in an object
[23:20:00] *** zwacky has quit IRC
[23:20:03] <Xaleph> extend will copy an instance of an object while the JS prototype is more like inheritance where it creates a new type/class
[23:20:04] *** chromatome has joined #angularjs
[23:20:06] <nickeddy> i think that's more the issue than anything
[23:20:12] *** zlalanne has quit IRC
[23:20:14] *** jaznow has joined #angularjs
[23:20:18] <Xaleph> at least that’s my understanding of it
[23:20:47] *** apetro_ has quit IRC
[23:21:02] <Jesse___> I understand the difference, my question is that why not just use innate javascript convention?
[23:21:08] <jaawerth> extend is just a utility function for doing exactly what you described
[23:21:10] *** Left_Turn has quit IRC
[23:21:10] <burzum2> nickeddy well thats what the API returns
[23:21:13] <Jesse___> is there a good reason to use extend?
[23:21:16] *** pretzel80 has quit IRC
[23:21:31] <jaawerth> it's useful even when doing prototype stuff to set up object inheritance and to, well, extend an object. even when you're working on prototypes
[23:21:40] <nickeddy> burzum2: how are you getting it?
[23:21:58] <jaawerth> like, you want to use the prototype for Object A, but you want to add to its prototypical methods.
[23:22:19] <burzum2> gimme a moment to bin it
[23:22:22] *** Siecje has left #angularjs
[23:22:25] <jaawerth> Jesse___: or do you mean "why not just use the built in Object.extend?"
[23:22:26] <Jesse___> thank you jaawerth I am satisfied with that answer
[23:22:39] *** MaxV has joined #angularjs
[23:22:41] <jaawerth> to which the answer is "backwards compatibility"
[23:22:45] *** andrew9183 has joined #angularjs
[23:22:46] <jaawerth> also "functional programming"
[23:22:54] <Jesse___> I get it, thanks
[23:23:05] <jaawerth> haha, sorry, didn't mean to rant. I'm pretty ranting by this time in the work day
[23:23:09] <jaawerth> ranty*
[23:23:12] *** rafagomes has quit IRC
[23:23:14] *** andreapopeye has joined #angularjs
[23:23:16] <Jesse___> I think in my specific case it is not the best option, but you made me see why sometimes it would be useful
[23:23:44] <Jesse___> sometimes its helpful to know the "why" of it
[23:23:54] *** goodenough has quit IRC
[23:23:56] <jaawerth> I'm the same way
[23:24:05] *** cheef has quit IRC
[23:24:16] *** yelvert has quit IRC
[23:25:27] <jaawerth> whoa. Object.observe is in ECMAScript 7? That's nuts
[23:25:54] <nickeddy> i thought it was in 6?
[23:26:11] *** frankbli_ has quit IRC
[23:26:12] *** TheAceOfHearts has quit IRC
[23:26:34] *** e0ipso is now known as e0ipso|away
[23:27:09] *** lw has joined #angularjs
[23:27:31] <burzum2> is there a good working plunkr template for angular?
[23:27:40] <nickeddy> in the title burzum2
[23:28:11] <burzum2> thanks again this is clearly not my day...
[23:28:28] <jaawerth> nickeddy: MDN says 7, just noticed that
[23:29:04] *** merobertsjr_ has quit IRC
[23:29:08] *** sojic has quit IRC
[23:29:38] *** yelvert has joined #angularjs
[23:29:40] *** Lingo has joined #angularjs
[23:29:46] *** mzabriskie has joined #angularjs
[23:30:04] <nickeddy> huh
[23:30:06] <nickeddy> weird
[23:31:00] *** Lingo is now known as ravi
[23:31:09] <jaawerth> yeah
[23:31:18] <jaawerth> I hope they didn't kick the can forward
[23:31:20] <jaawerth> I want to use that
[23:31:41] <jaawerth> also I've decided that in angular I want to be able to namespace my watchers
[23:32:06] *** baweaver has joined #angularjs
[23:32:33] <ravi> Hey all, I am new to Angular and I am trying to write a Dashboard (yeah, I am trendy like that :-)) front-end for my servers. Before I jump neck deep into D3 or HighCharts or some such, I thought I'd appeal for advise here. Anyone have any suggestions? Perhaps there are even pre-packaged libraries for Angular I can use? (I know Angular bindings -- is that the right word? -- for
[23:32:33] <ravi> Rickshaw etc exist, but perhaps there's more)
[23:32:37] *** jagga has quit IRC
[23:32:50] *** Fuzzy has joined #angularjs
[23:32:57] <saucey> how do i push values into array objects?
[23:33:16] <nickeddy> ravi: search ngmodules.org
[23:33:16] *** rud has quit IRC
[23:33:26] <jaawerth> saucey: arrays or objects?
[23:33:37] <nickeddy> saucey: array.push(val)
[23:33:45] <robdubya> ravi i'm a fan of nvd3
[23:33:55] <saucey> well its wrapped in an array but the resources are objects?
[23:34:15] *** ron1 has quit IRC
[23:34:24] <Xaleph> c3js is nice too
[23:34:34] <ravi> @robdubya thanks, I like nvd3 and also c3.js. So maybe one of them will be the right thing for me. @nickeddy Thank you searching right now.
[23:34:37] *** dannyc has joined #angularjs
[23:34:48] <ravi> Xaleph yes agreed.
[23:35:13] <jaawerth> still, it's got some pretty and highly configurable charts
[23:35:17] <jaawerth> I like the CSS they use
[23:35:23] <saucey> that does work
[23:35:39] *** gladely_ is now known as gladely
[23:35:44] <saucey> nickeddy that does work ive tried
[23:35:46] *** frankblizzar has joined #angularjs
[23:35:47] *** yelvert has quit IRC
[23:36:01] *** Oddman has joined #angularjs
[23:36:13] *** yelvert has joined #angularjs
[23:36:16] <ravi> jaawerth thanks
[23:36:27] *** frankblizzar has quit IRC
[23:36:28] <jaawerth> robdubya: *points finger dramatically* okay, right there. if you don't css then how are you styling your d3 stuff if you aren't using a premade module?
[23:36:49] <robdubya> magic bro
[23:36:51] *** wolfman2000 has joined #angularjs
[23:36:58] *** mennea has quit IRC
[23:37:49] *** zemiudo has quit IRC
[23:38:17] *** tristanp has quit IRC
[23:38:18] *** dannyc has quit IRC
[23:38:20] *** baweaver has quit IRC
[23:38:20] <jaawerth> you have a magic brother?
[23:38:27] *** Adam91 has joined #angularjs
[23:38:46] <nickeddy> why are you using jquery
[23:38:48] <nickeddy> :|
[23:39:00] <saucey> it returns an object so i cant use push how else can i modify this data?
[23:39:11] <saucey> to get the type?
[23:39:13] <saucey> !
[23:39:16] *** dimetron has quit IRC
[23:39:16] *** marcjs_ has quit IRC
[23:39:20] <jaawerth> someObj[someproperty] = someValue?
[23:39:24] <nickeddy> ^
[23:39:32] *** waverider has quit IRC
[23:39:38] *** marcjs_ has joined #angularjs
[23:40:01] *** MaxV has quit IRC
[23:40:03] *** sojic has joined #angularjs
[23:40:05] *** NoNMaDDeN has joined #angularjs
[23:40:06] <jaawerth> nickeddy: by the way, speaking of non-ancient ECMA stuff, have you played with defineProperty at all?
[23:40:11] *** doodlehaus has quit IRC
[23:40:12] *** chromatome has quit IRC
[23:40:14] <Xaleph> What’s the best approach for form validation - I’ve seen tutorials where you just use angular to do it yourself, others that recommend just using the html5 built in validation when possible, and then there are some plugins that claim to do everything for you.
[23:40:20] <oniijin> wtf is the internet
[23:40:33] <nickeddy> jaawerth: i have not
[23:40:41] *** JmZ is now known as JmZ_
[23:40:41] <nickeddy> oniijin: magic. magic everywhere.
[23:40:47] *** yelvert has quit IRC
[23:40:56] <Xaleph> I’m tempted to just use angular without any plugins for sites with few forms, but for some sites where there are like 50+ different forms, this may not be as practical.
[23:40:56] <ravi> its a series of tubes, no?
[23:41:03] *** wolfman2000 has quit IRC
[23:41:16] *** chrisbirk has quit IRC
[23:41:52] <sojic> Hey folks.. noob need help: data-ng:repeat="page in [] | range:1:5" works OK, but data-ng:repeat="page in [] | range:foo.from:foo.to" does not. I have tried "range:{{ foo.from}}" as well... unsuccessfuly
[23:41:56] *** basiclaser_ has quit IRC
[23:41:57] <sojic> any hint?
[23:42:01] *** d10n-work has quit IRC
[23:42:22] *** wallerdev has quit IRC
[23:42:57] *** wallerdev has joined #angularjs
[23:43:04] *** RobinBAwesome_ has joined #angularjs
[23:43:12] *** RobinBAwesome has quit IRC
[23:43:13] *** RobinBAwesome_ is now known as RobinBAwesome
[23:43:18] *** Una has quit IRC
[23:43:25] *** japhar81 has quit IRC
[23:43:26] <sojic> anybody?
[23:43:43] <nickeddy> sojic: does foo.from and foo.to actually exist somewhere on the scope?
[23:43:49] <sojic> yes
[23:43:55] *** Una has joined #angularjs
[23:43:58] *** skyx_ has quit IRC
[23:44:01] *** weems|mac has joined #angularjs
[23:44:10] *** weems|mac has joined #angularjs
[23:44:15] *** marcjs_ has quit IRC
[23:44:16] *** baweaver has joined #angularjs
[23:44:21] <sojic> I have "printed" in {{ foo.from }}, but passing into filter is wrong
[23:44:28] *** Una has quit IRC
[23:44:42] *** Xaleph has quit IRC
[23:44:46] *** SomeKittens has quit IRC
[23:44:54] <nickeddy> are you literally doing ng-repeat="page in []" ?
[23:44:58] <nickeddy> because that will never work
[23:45:02] *** bbankes has quit IRC
[23:45:40] *** ravi has quit IRC
[23:46:04] *** yoshokatana has quit IRC
[23:46:13] *** rud has joined #angularjs
[23:46:20] <sojic> nickeddy, sorry, typo error!
[23:46:25] <sojic> :(
[23:46:30] <nickeddy> figured
[23:46:33] <nickeddy> :P
[23:46:38] <nickeddy> it happens :)
[23:46:40] *** rafagomes has joined #angularjs
[23:46:40] *** andrew9183 has quit IRC
[23:47:09] <sojic> Thanks anyway... you helped when you asked "does exists in the scope"
[23:47:15] <sojic> and I go over to check
[23:47:19] <sojic> :)
[23:47:21] *** uru is now known as uru|away
[23:47:30] <nickeddy> i stopped counting how many times that's happened to me
[23:47:31] <saucey> hey guys ive been screwed for some time now with the whole array object push thingy
[23:47:47] <nickeddy> saucey: gonna need to see a plnkr or something
[23:47:49] *** AngularUI has joined #angularjs
[23:47:49] *** AngularUI has left #angularjs
[23:47:58] <sojic> nickeddy, another question... what does "best practices" say about using Controller as Model?
[23:48:08] <saucey> ok il try and build one give me a moment
[23:48:13] <nickeddy> sojic: as in controllerAs?
[23:48:20] <sojic> yes
[23:48:35] <nickeddy> i personally do var vm = this; vm.whatever = 'whatever';
[23:48:46] *** jcruz has joined #angularjs
[23:48:50] <sojic> Yes, that's I'm asking about!
[23:49:02] <sojic> Is it good practice? Or to keep $scope?
[23:49:10] *** sonicparke|bradm has quit IRC
[23:49:22] *** walden is now known as walden|afk
[23:49:28] <nickeddy> it's fine to use either, but i wouldn't use $scope as model if i'm doing controllerAs
[23:49:40] *** {DV8} has quit IRC
[23:49:48] *** andrew9183 has joined #angularjs
[23:50:14] <sojic> of course! Thanks!
[23:50:31] *** manish_ has joined #angularjs
[23:50:37] <sojic> I'll be back with another stupid (noob) question :)
[23:50:50] <manish_> testing 111 ... 222 ...
[23:51:43] *** SKZC has quit IRC
[23:51:54] *** manish_ has quit IRC
[23:51:58] *** bayousoft has quit IRC
[23:52:06] <jaawerth> nickeddy: you can do some need stuff with it. implicit getters and setters, for example, also defining whether a property is enumerable (IE will show up in a loop) and whether it's writable
[23:52:17] *** pikos has quit IRC
[23:52:20] <jaawerth> lets you do all kinds of OO stuff you wouldn't otherwise be able to do in javascript
[23:52:21] *** mokush has quit IRC
[23:52:28] <nickeddy> that's actually really fucking cool
[23:52:34] <jaawerth> yeah!
[23:52:34] *** recurrence has joined #angularjs
[23:52:36] *** recurrence has joined #angularjs
[23:52:40] <nickeddy> is that in 6?
[23:53:08] <jaawerth> it's in 5.1!
[23:53:11] <jaawerth> you can do it RIGHT NOW
[23:53:15] <nickeddy> pffffffff
[23:53:30] <nickeddy> what's the browser support for it look like?
[23:53:41] <saucey> hey nickeddy
[23:53:42] *** warpx has quit IRC
[23:53:51] <jaawerth> (quick example using the getter/setter model - and obviously normally you would want a constructor, which I'm not doing here)
[23:53:54] <saucey> thats the format
[23:54:11] <nickeddy> and what do you need to do exactly saucey ?
[23:54:21] *** tbo_ has quit IRC
[23:55:04] <saucey> for instance.. i want to loop through and add 12345 to the end of all email values
[23:55:07] <jaawerth> I found it one day while browsing devdocs
[23:55:27] *** jonathanpglick has quit IRC
[23:55:35] *** bbankes has joined #angularjs
[23:55:39] <nickeddy> saucey: angular.forEach(user, function(item) { item.email += '12345'; });
[23:56:04] <nickeddy> jaawerth: Internet Explorer 8 implemented a Object.defineProperty() method that could only be used on DOM objects.
[23:56:07] <nickeddy> fcking ie.
[23:56:13] *** aslate has joined #angularjs
[23:56:13] <jaawerth> hahaha yeah
[23:56:15] *** jimvideo has joined #angularjs
[23:56:15] <Grokling> saucey: or user.map (seeing as it's an array)
[23:56:20] *** juanpablo___ has joined #angularjs
[23:56:26] <nickeddy> derp Grokling
[23:56:33] <nickeddy> i messed that up
[23:56:48] <saucey> its nots an array there single object in an array
[23:56:55] <jaawerth> well it depends on whether you want it to be a copy or modify the array directly
[23:56:59] <Grokling> nickeddy: It'll still work - angular.forEach will take it either way.
[23:57:06] <jaawerth> if it isn't an array, you can use reduce
[23:57:09] <nickeddy> yeah
[23:57:09] *** goodenough has joined #angularjs
[23:57:10] *** Solid1 is now known as Solid1_afk
[23:57:12] *** sojic has quit IRC
[23:57:17] <jaawerth> reduce is one of my favorites
[23:57:39] <Grokling> I haven't played with reduce yet.
[23:57:41] <saucey> how?
[23:57:41] *** ctanga has quit IRC
[23:57:42] * reduce bows
[23:57:47] <jaawerth> ahahaha
[23:58:12] <jaawerth> reduce: you named yourself that on purpose!
[23:58:25] *** ctanga has joined #angularjs
[23:58:46] *** ctanga has quit IRC
[23:58:47] *** jimmyy has joined #angularjs
[23:59:01] <oniijin> Grokling wants to play with reduce
[23:59:06] <saucey> hey that angular foreach is quiet clever how does that work
[23:59:10] <oniijin> blow on it
[23:59:20] <saucey> how could i do this just using jquery?
[23:59:27] *** juanpablo__ has quit IRC
[23:59:29] <oniijin> y are u in here if u want to just use jq
[23:59:31] *** _dc has quit IRC
[23:59:37] <oniijin> i believe there's a #jquery