Switch to DuckDuckGo Search
   July 25, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

Toggle Join/Part | bottom
[00:00:09] *** mrits has quit IRC
[00:00:45] *** waylon99_ has quit IRC
[00:01:09] *** lingo_ has quit IRC
[00:01:24] *** jobelenus_ has quit IRC
[00:01:28] *** lingo has joined #angularjs
[00:01:42] *** danyim_ has joined #angularjs
[00:02:13] *** waylon999 has joined #angularjs
[00:02:29] *** seannaM_ has joined #angularjs
[00:02:33] *** volk_ has quit IRC
[00:02:56] *** waylon999 has quit IRC
[00:03:04] *** ckboii89 has quit IRC
[00:03:05] *** ngbot has joined #angularjs
[00:03:05] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/xupFOg
[00:03:05] <ngbot> angular.js/master 11f5aee Igor Minar: feat($compile): change directive's restrict setting to default to EA (element/attribute)...
[00:03:05] *** ngbot has left #angularjs
[00:03:20] <seannaM_> Heya. I'm trying to figure out this basic angular issue: https://gist.github.com/evilseanbot/e3b1158f95cf37377e14 I can't figure out why I'm getting a injector unprovided error in the second example but the first one works fine
[00:03:33] *** ckboii89 has joined #angularjs
[00:03:35] *** disorder20 has quit IRC
[00:04:02] *** rburns has quit IRC
[00:04:15] *** mike_f has joined #angularjs
[00:04:17] *** kvnm has quit IRC
[00:05:51] *** nanoyak has joined #angularjs
[00:06:02] *** IanOlson has joined #angularjs
[00:06:03] *** danyim_ has quit IRC
[00:07:06] *** nicholaswyoung has quit IRC
[00:07:11] *** scmx has quit IRC
[00:08:22] *** nicholaswyoung has joined #angularjs
[00:08:26] *** hugoleodev has joined #angularjs
[00:09:11] *** upsell5 has quit IRC
[00:09:13] *** bbrown has joined #angularjs
[00:09:25] *** JimTheDev has quit IRC
[00:09:30] *** nicholaswyoung has quit IRC
[00:09:47] *** nicholaswyoung has joined #angularjs
[00:09:49] *** epantzar has quit IRC
[00:09:51] *** Siecje has joined #angularjs
[00:10:05] *** el_fuego has quit IRC
[00:10:42] *** bphogan is now known as bphogan_afk
[00:10:43] *** tomzx is now known as tomzx`afk
[00:10:59] *** geoid has quit IRC
[00:11:04] *** squeakytoy2 has quit IRC
[00:11:13] *** tilgovi has quit IRC
[00:11:35] *** tkjaergaard has joined #angularjs
[00:11:53] *** tkjaergaard is now known as t_kjaergaard
[00:12:28] *** tilgovi has joined #angularjs
[00:12:29] *** gunn has quit IRC
[00:12:55] *** hugoleodev has quit IRC
[00:13:06] *** thomasreggi has quit IRC
[00:13:18] *** zumba_addict has quit IRC
[00:13:28] *** dutis has quit IRC
[00:14:12] *** ncv has quit IRC
[00:14:22] *** t_kjaergaard has quit IRC
[00:14:32] *** startupality has joined #angularjs
[00:14:53] *** tkjaergaard has joined #angularjs
[00:14:57] *** Trow has quit IRC
[00:15:08] *** tkjaergaard is now known as t_tkjaergaard
[00:15:23] *** joeybrown has quit IRC
[00:15:26] *** night-owl2 has joined #angularjs
[00:15:30] *** dbwhddn10 has joined #angularjs
[00:15:59] *** dbwhddn10 has quit IRC
[00:16:24] *** tommmied has quit IRC
[00:16:29] *** BryceReynolds has quit IRC
[00:16:49] *** dbwhddn10 has joined #angularjs
[00:17:10] *** Fishy has quit IRC
[00:17:34] <dbwhddn10> ~~
[00:18:06] *** t_tkjaergaard has quit IRC
[00:18:11] *** Willow_ has quit IRC
[00:18:29] *** mindlace has joined #angularjs
[00:18:31] *** thomasreggi has joined #angularjs
[00:18:45] *** Willow_ has joined #angularjs
[00:18:53] *** fedenunez has joined #angularjs
[00:19:00] *** saucey has joined #angularjs
[00:19:52] *** cspra85 has quit IRC
[00:19:59] *** tkjaergaard has joined #angularjs
[00:20:38] *** nicholaswyoung has quit IRC
[00:20:39] *** dcherman2 has joined #angularjs
[00:20:49] *** tkjaergaard is now known as t_tkjaergaard
[00:21:31] *** t_tkjaergaard is now known as t_kjaergaard
[00:22:04] *** hugoleodev has joined #angularjs
[00:22:33] *** oste has joined #angularjs
[00:23:14] *** TorchDra_ has quit IRC
[00:23:15] *** Willow_ has quit IRC
[00:23:37] *** dcherman has quit IRC
[00:23:40] *** Xethron has quit IRC
[00:23:40] *** dbwhddn10 has quit IRC
[00:23:54] *** slainer68 has joined #angularjs
[00:24:21] *** TorchDragon has joined #angularjs
[00:24:27] *** marr has quit IRC
[00:24:54] *** Corealis has quit IRC
[00:25:33] *** dcherman2 has quit IRC
[00:25:34] *** NaOH has joined #angularjs
[00:25:49] *** hdja has quit IRC
[00:25:56] *** davedev24_ has quit IRC
[00:26:05] *** davedev24_ has joined #angularjs
[00:26:23] *** martiis has quit IRC
[00:26:56] *** Destos has quit IRC
[00:27:24] *** silentimp has quit IRC
[00:27:41] <kemm0> j
[00:27:55] <kemm0> anyone have any luck combining a multi select with a text field?
[00:28:10] <kemm0> or more aptly a text field with a multi select
[00:28:10] <zelrik> does anybody use codio here
[00:28:28] *** Wizek has quit IRC
[00:28:35] <NaOH> Can anyone explain why scope.foo in the callback is not the same as scope.foo outside the callback? http://plnkr.co/edit/ZozCXL3vF9139nzr1kJg
[00:28:41] *** kemm0 is now known as BobbieBarker
[00:28:46] *** snapwich has quit IRC
[00:29:01] <NaOH> I would have expected the example to say "Hello noo" after one second
[00:29:02] *** kemm0 has joined #angularjs
[00:29:03] *** toastynerd has joined #angularjs
[00:29:17] *** FunnyLookinHat has quit IRC
[00:29:24] *** kemm0 is now known as BobbieBarker
[00:29:41] <zelrik> NaOH, http://plnkr.co/edit/uIEaoonNCCpvUUZOyjaJ?p=preview
[00:29:45] *** tschundeee has quit IRC
[00:29:46] <BobbieBarker> anyone have any luck combining a text field with a multi-select?
[00:30:12] <zelrik> NaOH, short answer is use $timeout
[00:30:13] *** moritzs has joined #angularjs
[00:30:22] *** drej has quit IRC
[00:30:23] *** tschundeee has joined #angularjs
[00:30:39] <NaOH> zelrik: What is the reason setTimeout doesn't work?
[00:30:39] *** toastynerd has quit IRC
[00:30:57] <BobbieBarker> because angular gives you the time out provider
[00:30:57] <zelrik> NaOH, it could work if you use $scope.$apply
[00:30:58] *** davedev24_ has quit IRC
[00:31:05] <BobbieBarker> so you dn't have to do that ^^
[00:31:10] <zelrik> NaOH, it s a matter of angular vs !angular
[00:31:18] <BahamutWC|Work> yep, you need an $apply
[00:31:18] *** davedev24_ has joined #angularjs
[00:31:36] <BahamutWC|Work> setTimeout is async and outside the scope of Angular, so you need an $apply
[00:31:37] *** fairuz has quit IRC
[00:31:48] <NaOH> zelrik: aha, I see
[00:31:59] <BobbieBarker> to bring it into the digest cycle... amirite?
[00:32:00] *** cthrax has joined #angularjs
[00:32:18] <zelrik> the digestion cycle
[00:32:28] <BobbieBarker> nom nom nom
[00:32:31] <NaOH> I am trying to create a simplified version of a larger problem I am having and using a timeout was just an easy way to create a callback function because i was suspecting that was the issue
[00:32:35] *** jamesbdev has joined #angularjs
[00:32:41] <NaOH> it is not, because i am already using scope.$apply()
[00:32:48] <zelrik> BobbieBarker, what exactly you are trying to do
[00:33:10] *** waylon999 has joined #angularjs
[00:33:18] <zelrik> BobbieBarker, a typeahead?
[00:33:39] <BobbieBarker> i'm going to do up a plunk... but essentially I have an input field and you can type shit into it then that stuff ends up in the select field, but I want the select attached to the input field, allowing for a multi select
[00:33:47] *** slainer68 has quit IRC
[00:34:12] <BobbieBarker> http://xoxco.com/projects/code/tagsinput/
[00:34:16] <BobbieBarker> kind of like this ^^
[00:34:20] <BobbieBarker> that would be ideal
[00:34:21] <BobbieBarker> i suppose
[00:34:29] <BobbieBarker> though that is differen than what i said
[00:34:33] *** tschundeee has quit IRC
[00:34:41] <zelrik> oh
[00:34:44] *** hugorodrigues has quit IRC
[00:34:51] *** juampy has quit IRC
[00:34:51] <zelrik> BobbieBarker, no angular version of this?
[00:35:12] <BobbieBarker> i dunno, i am close to implementing what i was describing originally, was having some errors though when typing in the input field
[00:35:13] *** joshontheweb has joined #angularjs
[00:35:30] <startupality> How can I get angular curly brace inside rails erb file? like so: <img src="<%= asset_path({{answer.imagePath}}) %>" alt=""></img>
[00:35:32] <zelrik> BobbieBarker, damn, makes me wanna do it
[00:35:50] <zelrik> BobbieBarker, if you have a repo up on github I d fork that
[00:36:00] *** matthoiland has joined #angularjs
[00:36:03] <BobbieBarker> it's all private sorry broseph
[00:36:14] <BobbieBarker> we may publish some of our stuff later though
[00:36:48] <BobbieBarker> not that it is pure wonderment and angular wizardry but i wrote a cool directive this morning for filtering phone numbers in input fields
[00:37:04] <BobbieBarker> and a phone number filter for NA phone numbers
[00:37:14] *** dylukes has quit IRC
[00:37:24] <BobbieBarker> that i'm going to expand to format european numbers too
[00:37:32] *** tschundeee has joined #angularjs
[00:37:59] <zelrik> BobbieBarker, is it a module? or part of an app?
[00:38:11] *** truckman has joined #angularjs
[00:38:23] *** dcherman has joined #angularjs
[00:38:28] *** linojon has quit IRC
[00:38:37] *** simsketch has quit IRC
[00:38:41] <BobbieBarker> it's apart of teh app but we write all our stuff into modules
[00:38:44] <BobbieBarker> that one is a standalone module
[00:38:51] <zelrik> ok
[00:39:07] <BobbieBarker> so it can be used all over
[00:39:07] *** dcherman has quit IRC
[00:39:14] <BobbieBarker> http://mbenford.github.io/ngTagsInput/
[00:39:26] <BobbieBarker> it's amazing what you can find when you quit listening to your PM and start thinking for yourself again
[00:39:39] <zelrik> oh so it works already
[00:39:40] <SuperPhly> I've got a question about architecting a SPA with Angular. On some pages, I have multiple sets of data that gets displayed. Most, if not the entirety gets generated through JSON. The architecture problem I am running into is what is the best practice of making those calls. Is more than 1, too many? Should I modify my backend so that all data gets sent in no more than 1 request?
[00:39:59] <zelrik> BobbieBarker, looks like it s working
[00:40:01] *** cigol has quit IRC
[00:40:04] *** blurredbits has quit IRC
[00:40:08] <BobbieBarker> yeah
[00:40:09] *** truckman has quit IRC
[00:40:11] *** night-owl2 has quit IRC
[00:40:12] *** volk_ has joined #angularjs
[00:40:16] <BobbieBarker> thats not my project
[00:40:22] <zelrik> oh
[00:40:24] <BobbieBarker> i just found that
[00:40:28] *** fedenunez has quit IRC
[00:40:33] *** dcherman has joined #angularjs
[00:40:55] *** pvde has joined #angularjs
[00:40:57] *** Fishy has joined #angularjs
[00:41:01] *** Ram_ has joined #angularjs
[00:41:02] *** plato has joined #angularjs
[00:41:13] <Ram_> Hi All
[00:41:19] *** pvde has quit IRC
[00:41:31] *** slainer68 has joined #angularjs
[00:41:34] *** juanlas has quit IRC
[00:41:37] <BobbieBarker> SuperPhly depends
[00:42:05] *** icfantv has quit IRC
[00:42:09] *** Fishy has quit IRC
[00:42:13] <BobbieBarker> we use multiple calls when appropriate
[00:42:14] *** Ram_ has quit IRC
[00:42:17] <nickeddy> ^ same
[00:42:25] <nickeddy> lazy load with services
[00:42:30] <BobbieBarker> what you may want to do is resolve your API calls on your router
[00:42:35] <BobbieBarker> so that the page doesn't load til the resolves are done
[00:42:41] *** volk_ has quit IRC
[00:42:52] *** fedenunez has joined #angularjs
[00:43:19] <nickeddy> naaaah just use something like https://github.com/voronianski/ngActivityIndicator
[00:43:32] <plato> Hey guys, im stuck with element manipulation. i am trying to use angular's jslite and element to 1) find the width of the first td in a tr; 2) set the width of the first th in the thead>tr to that width.
[00:43:42] <BobbieBarker> those are fucking annoying nick
[00:43:44] <BobbieBarker> lol
[00:43:48] <plato> i have a reference to the jqlite object representing the last tr in my tbody
[00:43:52] <BobbieBarker> resolving your API hits on the route is a best practice though too FYI
[00:43:55] <plato> It has three elements
[00:44:06] <nickeddy> BobbieBarker: yeah i do some of that depending on the route
[00:44:14] <nickeddy> BobbieBarker: but people love their loading indicators
[00:44:22] <plato> How do I get a reference to the first td within this tr? And how do I get the width of that td? just my$td.css('width') ?
[00:44:26] <BobbieBarker> i don't i fucking hate them
[00:44:39] <nickeddy> shhh BobbieBarker shhh
[00:44:42] <nickeddy> it will be okay
[00:44:48] <BobbieBarker> no it will never be ok
[00:44:56] <nickeddy> IT WILL ALWAYS BE OKAY
[00:44:56] <BobbieBarker> not till all the loading indicators are removed from the interwebz
[00:45:06] *** mrits has joined #angularjs
[00:45:08] <nickeddy> how else will you know it's loading
[00:45:22] <zelrik> just make your app faster
[00:45:22] <zelrik> :D
[00:45:26] *** night-owl2 has joined #angularjs
[00:45:33] <nickeddy> just make the interwebs fast duhhhhh
[00:45:35] *** joshontheweb has quit IRC
[00:45:38] <SuperPhly> BobbieBarker: that's helpful... i need to learn that resolve stuff.
[00:45:48] *** lando has quit IRC
[00:45:48] <nickeddy> SuperPhly: you use ui-router?
[00:45:49] <zelrik> make the page load before it s loading
[00:45:51] <SuperPhly> BobbieBarker: is there a way to "throb" while that's going on.
[00:45:59] <SuperPhly> nickeddy: i was going to ask about that.
[00:46:01] <nickeddy> zelrik: i think we just invented time travel
[00:46:09] <BobbieBarker> what is "throb"
[00:46:13] <SuperPhly> I read a bunch about it last night... is that the way to go these days?
[00:46:21] <nickeddy> yes
[00:46:24] <SuperPhly> will it be incorporated as the "goto" for future angular projects?
[00:46:29] <nickeddy> ui-router is my jam
[00:46:29] <SuperPhly> err releases?
[00:46:30] <BobbieBarker> ui-router === the standard
[00:46:34] <nickeddy> ^
[00:46:42] <SuperPhly> alright. head first I go...
[00:46:44] *** in_deep_thought has quit IRC
[00:46:45] <nickeddy> angular 2.0's router will be different obviously
[00:46:45] <zelrik> nickeddy, google was talking about giving you search answers before you even start typing
[00:46:47] <BobbieBarker> it pretty much is the standard right now dude
[00:47:06] <BobbieBarker> most major angular projects are anticipating angular2.0 though and have their own releases pending for angular2.0
[00:47:25] <plato> So TLDR of my question is: Given <tr> <td /> <td /> <td /> </tr>, and a jqlite reference to $tr: How do I get a reference to the first td, $td?
[00:47:26] <BahamutWC|Work> I haven’t really been thinking about angular 2.0 yet
[00:47:30] <zelrik> I am not anticipating it...
[00:47:30] <BahamutWC|Work> too early to worry about it
[00:47:47] *** davedev24_ has quit IRC
[00:47:48] <BobbieBarker> yeah well you and I probably aren't maintaining a major angularJS project
[00:47:52] <BobbieBarker> like ui-router
[00:47:53] <nickeddy> SuperPhly: it's a great router, you'll like it. resolves are easy to do on a state - resolve: { thing: ['someService', function(someService) { someService.get().then(function(res) { return res; }) }], }
[00:47:53] <zelrik> angular 1.2.x forever
[00:47:54] <ckboii89> how do i pass $scopes between controllers?
[00:47:55] <BobbieBarker> or restangular
[00:47:58] *** davedev24_ has joined #angularjs
[00:48:05] <BobbieBarker> don't pass scopes between controllers use a service
[00:48:07] <nickeddy> SuperPhly: so the page won't load until that promise is returned
[00:48:18] <BahamutWC|Work> well, the ui router guys are providing advice to the angular team from what I understand
[00:48:18] <BobbieBarker> but if you have to do it, use a heirarchy in your routes if possible
[00:48:22] <nickeddy> err promise is fulfilled* gotta use the right terminology :P
[00:48:34] <plato> $tr.children("td:first") fails as does $tr.children("td:first-child")
[00:48:38] *** mrits has quit IRC
[00:48:42] <nickeddy> BahamutWC|Work: i'm not surprised by that
[00:48:51] *** nitsujw_ has quit IRC
[00:48:52] *** toastynerd has joined #angularjs
[00:48:56] <BobbieBarker> SuperPhly what that does for you is allows the page to load with the data on it, instead of the page loading then 2 seconds later all teh data falling into place
[00:48:57] <zelrik> looks like jQuery
[00:49:04] *** nitsujw has joined #angularjs
[00:49:18] <BobbieBarker> makes your shit look pro
[00:49:27] <BobbieBarker> also keeps the API calls out of your controllers
[00:49:39] <zelrik> I make API calls from the html
[00:49:39] *** Willow_ has joined #angularjs
[00:49:42] <zelrik> ;)
[00:49:44] *** waylon999 has quit IRC
[00:49:48] <BahamutWC|Work> but yeah, excepting for open source, you shouldn’t really need to worry about 2.0 until it gets closer
[00:49:48] <BobbieBarker> you're a terrible developer
[00:49:50] <BobbieBarker> lol
[00:49:56] <zelrik> BobbieBarker, just kidding
[00:49:59] <BobbieBarker> me too
[00:50:05] <BobbieBarker> i'm sure you're wonderful
[00:50:26] <zelrik> I am kind of a noob
[00:50:30] <zelrik> but not THAT noob
[00:50:30] <BobbieBarker> how fucking awful would that be to see though? like inline script for API calls?
[00:50:35] *** restless_being has quit IRC
[00:50:41] <BobbieBarker> if i came onto a project and saw that i'd loose my mind
[00:50:49] *** restless_being has joined #angularjs
[00:50:54] <plato> hmm well i figured it out guys by doing td=$tr.children()[0]; $td=angular.element(td)
[00:50:56] <zelrik> I saw some jQuery stuff from a RoR controller once
[00:50:57] <plato> thanks
[00:50:58] *** in_deep_thought has joined #angularjs
[00:50:59] *** e-dard is now known as e-dard_afk
[00:51:00] <zelrik> in a string
[00:51:03] *** zwacky has quit IRC
[00:51:10] <zelrik> that was intense
[00:51:28] <BobbieBarker> plato, you can also inherit scope from a parent controller
[00:51:32] <BobbieBarker> or like i said use a service
[00:51:37] <BobbieBarker> oh wait wrong guy
[00:51:38] *** desmond has joined #angularjs
[00:51:39] <BobbieBarker> sorry i got confused
[00:51:44] *** azureknight has quit IRC
[00:51:52] <BobbieBarker> anyways back to work!
[00:52:00] <BahamutWC|Work> I’ve seen some bad java code before
[00:52:05] <BahamutWC|Work> bad code is language agnostic
[00:52:14] *** yoshokatana has joined #angularjs
[00:52:27] *** waylon999 has joined #angularjs
[00:52:32] *** yoshokatana has joined #angularjs
[00:52:40] *** bphogan_afk is now known as bphogan
[00:53:28] *** Aerospark has joined #angularjs
[00:53:31] *** toastynerd has quit IRC
[00:53:33] <blackkbot> bad ideas are natural
[00:53:37] <BahamutWC|Work> oh, also saw a triply JSON.stringified encodeURIComponent dataset saved directly into a db before
[00:54:09] *** simb has joined #angularjs
[00:54:09] *** walden is now known as walden|afk
[00:54:20] *** phuh has quit IRC
[00:54:24] <BahamutWC|Work> figuring out how to reverse engineer that was fun
[00:54:46] *** phuh has joined #angularjs
[00:54:50] *** bayousoft has joined #angularjs
[00:54:50] *** tonycoco has quit IRC
[00:54:54] <BahamutWC|Work> backend devs didn’t want to own it so it fell to me to come up with a solution...
[00:55:02] *** bphogan is now known as bphogan_afk
[00:55:35] *** hswolff has joined #angularjs
[00:55:42] *** whitebook has quit IRC
[00:55:52] <BahamutWC|Work> (this was without knowing what the string even meant)
[00:56:12] *** ckboii89 has quit IRC
[00:56:15] *** ckboii89_ has joined #angularjs
[00:56:20] *** ishi has quit IRC
[00:56:37] *** simsketch has joined #angularjs
[00:56:48] *** DrMabuse_ has joined #angularjs
[00:57:27] *** umib0zu has quit IRC
[00:57:28] *** Sgeo has joined #angularjs
[00:57:42] <blackkbot> json stringify then encodeuricomponent then atob then encodeuricomponent again
[00:57:46] <blackkbot> oh yeah
[00:57:53] *** kalehv has joined #angularjs
[00:58:19] <SuperPhly> BobbieBarker: you're saying use a service for $http.get calls?
[00:58:29] <SuperPhly> (when using ui-router)
[00:59:14] *** Robbo` has joined #angularjs
[00:59:21] *** lando has joined #angularjs
[00:59:22] <Robbo`> anyone familiar with this article?
[00:59:24] <Robbo`> http://cliffmeyers.com/blog/2013/4/21/code-organization-angularjs-javascript
[00:59:32] *** vbabiy has quit IRC
[00:59:40] <Robbo`> in it he is defining things like so...
[00:59:41] <Robbo`> userModule.controller('loginController', ['$scope', 'userModel', LoginController]);
[01:00:11] <Robbo`> however, "LoginController"... how is he defining that? is it a "normal" javascript class or a global var or something?
[01:00:26] <BahamutWC|Work> loginController is the name of the controller
[01:00:28] <BahamutWC|Work> oh I see
[01:00:32] *** DrMabuse has quit IRC
[01:01:04] <Robbo`> I've always used a closure there as I don't know of a "nice" way of putting in a class unless it is a global
[01:01:42] <Robbo`> aparently he has a repo up showing this somewhere
[01:02:29] <Robbo`> maybe not
[01:02:58] <BahamutWC|Work> Robbo`: looks like he likes using closures, looking at his code on github
[01:03:07] <BahamutWC|Work> https://github.com/cliffmeyers/blog-examples
[01:03:42] *** Frumpman has joined #angularjs
[01:03:49] <Robbo`> yeah, article was a bit confusing
[01:03:49] *** night-owl2 has quit IRC
[01:04:01] *** mardiross has quit IRC
[01:04:23] *** Valesk has joined #angularjs
[01:04:24] *** ckboii89_ has quit IRC
[01:04:41] <BahamutWC|Work> Robbo`: this I think sort of illustrates that pattern - https://github.com/cliffmeyers/blog-examples/blob/master/ng-repository/src/app.js
[01:04:41] *** Valesk has quit IRC
[01:04:54] *** toastynerd has joined #angularjs
[01:04:56] <BahamutWC|Work> note that his RootController is on a global
[01:05:00] <BahamutWC|Work> namespaced global*
[01:05:02] *** Cydmax has quit IRC
[01:05:16] *** hugorodrigues has joined #angularjs
[01:05:19] <BahamutWC|Work> that controller is defined here: https://github.com/cliffmeyers/blog-examples/blob/master/ng-repository/src/RootController.js
[01:05:44] *** shacklef_ has quit IRC
[01:05:52] *** cthrax has quit IRC
[01:05:54] <Robbo`> what is he using for namespaces?
[01:05:57] <BahamutWC|Work> not sure why he does this.$scope = $scope, and this.$location = $location sounds bad
[01:05:58] <Robbo`> is that a requirejs thing or something?
[01:06:02] *** toastynerd has joined #angularjs
[01:06:07] <BahamutWC|Work> https://github.com/cliffmeyers/blog-examples/blob/master/ng-repository/lib/namespace.js
[01:06:19] <Robbo`> guess I should have looked lol
[01:06:20] <BahamutWC|Work> looks like a custom script he wrote
[01:06:25] <Robbo`> anyway don't like what he is doing
[01:06:57] *** saucey has quit IRC
[01:06:57] <BahamutWC|Work> looks ok to me - don’t care too much for or against it
[01:07:12] <Robbo`> I like some of it, which I will start doing it, but don't like other parts
[01:07:18] *** styles has quit IRC
[01:07:21] *** spencercarnage has quit IRC
[01:07:24] *** ckboii89 has joined #angularjs
[01:07:24] *** Shrooms has joined #angularjs
[01:07:31] *** mpaarating has quit IRC
[01:07:43] <Robbo`> wish I had time to research it all more but this refactor needs to be done fastr
[01:07:49] *** Frumpman has quit IRC
[01:08:10] <BahamutWC|Work> that controller pattern won’t make or break an app
[01:08:13] *** spencercarnage has joined #angularjs
[01:08:16] *** dcherman2 has joined #angularjs
[01:08:22] *** leckingto has joined #angularjs
[01:08:44] *** jdummy has joined #angularjs
[01:09:03] *** tomzx`afk is now known as tomzx
[01:09:33] <jdummy> Hi all. Is there an established method for setting an $httpProvider default for only same domain requests?
[01:09:46] *** TimboTones has joined #angularjs
[01:09:46] *** TimmyTones has quit IRC
[01:09:59] *** dcherman2 has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:05] <jdummy> I'd like to set an auth header default, but don't want to send the token around to 3rd parties
[01:10:17] *** toastynerd has quit IRC
[01:10:53] *** dcherman has quit IRC
[01:11:18] *** dcherman has joined #angularjs
[01:11:24] <BahamutWC|Work> jdummy: why not use an $http interceptor
[01:11:40] *** cthrax has joined #angularjs
[01:11:41] *** trave has left #angularjs
[01:12:11] <BahamutWC|Work> you should be able to change the header if it matches a certain condition in the interceptor
[01:12:11] *** marcospgp has joined #angularjs
[01:12:45] <marcospgp> Should I be using my module's .config or .run "part" to asynchronously load google plus' sdk?
[01:12:49] *** Reskp has quit IRC
[01:13:14] *** bencc has quit IRC
[01:13:18] *** TimboTones has quit IRC
[01:13:19] *** davedev24_ has quit IRC
[01:13:48] <jdummy> BahamutWC|Work: That's the question I was looking for :)
[01:13:54] *** davedev24_ has joined #angularjs
[01:13:57] <zelrik> I d say .run
[01:14:55] *** Reite has quit IRC
[01:15:25] *** bayousoft has quit IRC
[01:15:39] <marcospgp> zelrik, Yea that's what I was thinking too. Thank you :)
[01:16:04] *** dcherman2 has joined #angularjs
[01:16:05] *** atomical has joined #angularjs
[01:16:11] *** oste has quit IRC
[01:17:01] *** patricka_ has quit IRC
[01:17:14] *** JosephBergevin has joined #angularjs
[01:17:23] <jdummy> Thanks BahamutWC|Work, interceptor is definitely what I need.
[01:18:08] *** hugorodrigues has quit IRC
[01:19:27] *** dcherman has quit IRC
[01:19:39] *** bijan07077 has joined #angularjs
[01:19:42] <BahamutWC|Work> np
[01:20:23] *** Schtive has quit IRC
[01:20:30] *** mven_ has quit IRC
[01:21:16] <elnur> What's the idiomatic way to configure an ng app for different environments like test, dev, and prod?
[01:21:29] <elnur> For instance, to set a different API base URL.
[01:21:37] *** hugorodrigues has joined #angularjs
[01:21:43] *** mary5030 has quit IRC
[01:21:50] *** tommmied has joined #angularjs
[01:22:48] *** JosephBergevin has quit IRC
[01:23:38] *** dcherman2 has quit IRC
[01:24:19] *** TorchDragon has quit IRC
[01:24:25] *** tarnus_ has joined #angularjs
[01:24:58] <G1eb> hey any idea how to wait for 2 different promises, add the results together and return ?
[01:25:05] <BahamutWC|Work> elnur: you could use an injectable config and override that config object for each situation
[01:25:26] *** TorchDragon has joined #angularjs
[01:25:28] <BahamutWC|Work> G1eb: $q.all
[01:25:31] <elnur> G1eb, something like $q.all(). I don't remember exactly.
[01:25:43] *** JosephSilber has joined #angularjs
[01:25:46] *** lando has quit IRC
[01:25:48] *** cthrax has quit IRC
[01:26:02] <elnur> BahamutWC|Work, yes, but the question is *how* I override that config object.
[01:26:05] *** Aerospark has quit IRC
[01:26:19] <oniijin> in grunt?
[01:26:26] <elnur> I use gulp.
[01:26:36] <BahamutWC|Work> elnur: by just overriding the definition with a later block
[01:26:39] <nickeddy> good job elnur
[01:26:43] <nickeddy> gulp is magic
[01:27:05] <BahamutWC|Work> if two angular modules both define a ‘foo’ service, the last one to be defined is the one used in the app
[01:27:08] *** KernelCurry has quit IRC
[01:27:17] <elnur> nickeddy, thx.
[01:27:20] *** tarnus has quit IRC
[01:27:27] <elnur> BahamutWC|Work, the question is how to automate it.
[01:27:28] *** Vinnyceptr has quit IRC
[01:27:44] <elnur> BahamutWC, BahamutWC|Laptop, BahamutWC|Work, why do you have so many instances of yourself?
[01:27:52] <nickeddy> elnur: perhaps different grunt tasks? like gulp dev, gulp production, etc
[01:27:56] <nickeddy> err gulp sorry*
[01:27:59] <BahamutWC|Work> three computers
[01:28:05] <BahamutWC|Work> work computer, laptop, and desktop
[01:28:29] *** recidive has quit IRC
[01:28:49] *** dylukes has joined #angularjs
[01:29:02] <elnur> BahamutWC|Work, try this: http://www.irc-wiki.org/BIP It keeps me online 24/7/365 even if all my systems are turned off.
[01:29:28] <elnur> nickeddy, so, a separate task for each environment?
[01:29:43] *** khodgson has joined #angularjs
[01:29:45] <G1eb> BahamutWC, elnur thanks a lot!
[01:29:46] *** whunt has quit IRC
[01:29:52] *** visionary has quit IRC
[01:30:27] <BahamutWC|Work> hmm do I need a server box for BIP?
[01:30:29] <elnur> nickeddy, any better ways?
[01:30:33] *** JosephSilber has quit IRC
[01:30:53] *** MANCHUCK has quit IRC
[01:31:12] <elnur> BahamutWC|Work, I run it on my VM in the cloud. I use it for other stuff as well, so I don't need to spend extra money just for BIP. YMMV.
[01:31:31] *** fedenunez has quit IRC
[01:31:37] *** fedenunez1 has joined #angularjs
[01:31:38] <BahamutWC|Work> gotcha
[01:31:38] *** tarnus has joined #angularjs
[01:31:45] <BahamutWC|Work> maybe I’ll look into using that eventually
[01:31:46] *** hugoleodev has quit IRC
[01:31:57] <BahamutWC|Work> got a lot of other things on my plate atm heh
[01:32:14] *** dark_splinter has joined #angularjs
[01:32:26] *** mmitchel_ has quit IRC
[01:32:29] <Foxandxss> 3 nicks, we need to simulate that there are massive interest on angular
[01:32:37] *** bmac has quit IRC
[01:32:54] <elnur> Yea, I figured that was another option.
[01:33:03] <BahamutWC|Work> I’m just here for the free t-shirts
[01:33:12] <Foxandxss> yes
[01:33:15] *** tarnus has quit IRC
[01:33:18] <Foxandxss> winter is coming
[01:33:21] <Foxandxss> we need those
[01:33:54] *** khodgson has quit IRC
[01:34:18] *** seannaM_ has quit IRC
[01:34:32] *** slainer68 has quit IRC
[01:35:04] *** tarnus_ has quit IRC
[01:35:45] *** chrisshattuck has quit IRC
[01:35:50] <ckboii89> can there be a time when rootScope is used?
[01:36:35] *** teeray has joined #angularjs
[01:37:15] <elnur> Yes.
[01:38:14] <Foxandxss> no
[01:38:22] <Foxandxss> except pubsub
[01:38:27] <ckboii89> is the first controller that declares $scope the rootscope?
[01:38:35] <elnur> That means yes, Foxandxss. ;)
[01:38:45] <Foxandxss> elnur: not the yes he expect
[01:38:47] <ckboii89> i have multiple controllers
[01:38:54] *** Nek has quit IRC
[01:38:59] <Foxandxss> ckboii89: every $scope is a new child
[01:39:05] <Foxandxss> none is the $rootScope itself
[01:39:08] *** vintik has quit IRC
[01:39:11] <ckboii89> ah ok
[01:39:30] *** kalehv has quit IRC
[01:40:01] <ckboii89> @foxandxss i have 3 controllers. the 2nd controller inheirits the first controllers scope because of using a modal. How do i inheirit the first controllers scope for the third?
[01:40:10] *** kalehv has joined #angularjs
[01:40:20] <Foxandxss> stop inheriting stuff
[01:40:24] <Foxandxss> that is going to drive you mad
[01:40:34] <BahamutWC|Work> but I want to inherit the world
[01:40:45] <ckboii89> rofl @bahamutwciwork
[01:40:48] <Foxandxss> no, you don't
[01:40:54] *** slainer68 has joined #angularjs
[01:40:55] *** screamingbanshee has joined #angularjs
[01:40:57] <Foxandxss> there are too many problems out there my friend
[01:41:16] *** MANCHUCK has joined #angularjs
[01:41:16] <ckboii89> @foxandxss im already using a service that retrieves the json
[01:41:26] <tommmied> is there a way to prevent the run phase in unit tests?
[01:41:26] <ckboii89> im trying to pass json array between controllers
[01:41:29] *** krawek has quit IRC
[01:41:47] <Foxandxss> use a service ckboii89
[01:41:55] <ckboii89> i am
[01:42:01] *** tarnus has joined #angularjs
[01:42:01] <Foxandxss> another service
[01:42:11] <Foxandxss> don't rely on inheritance
[01:42:15] *** ckboii89 has quit IRC
[01:42:15] <Foxandxss> that gets hairy soon
[01:42:27] *** krawek has joined #angularjs
[01:42:34] <Foxandxss> tommmied: to they run?
[01:42:56] *** ckboii89 has joined #angularjs
[01:43:01] <tommmied> Foxandxss: ?
[01:43:03] <ckboii89> but when i try to specifically access the 0th element of the array, its complaining 0 is undefined
[01:43:07] *** kalehv_ has joined #angularjs
[01:43:09] <Foxandxss> oh, they run indeed
[01:43:24] <Foxandxss> ckboii89: you're doing it wrong then
[01:43:35] <ckboii89> but it works in the 2nd controller?
[01:43:39] <Foxandxss> tommmied: I don't think you can
[01:43:41] *** jaequery has quit IRC
[01:43:48] <ckboii89> im injecting the service into the controller parameters
[01:43:52] <tommmied> Foxandxss: do you find that annoying
[01:43:54] <Foxandxss> who knows, we can't see any code
[01:44:02] <Foxandxss> tommmied: I never realized it to be honest
[01:44:05] <ckboii89> ok ill dpaste
[01:44:07] <Foxandxss> had to try myself
[01:44:31] *** jdummy has quit IRC
[01:44:34] *** kalehv has quit IRC
[01:44:42] *** tilgovi has quit IRC
[01:44:46] <tommmied> just annoying needed to mock the same thing out in different unit test
[01:45:06] <elnur> tommmied, move it to another module.
[01:45:23] *** nonsenz has quit IRC
[01:45:34] *** Nizumzen has joined #angularjs
[01:45:34] <Foxandxss> I don't really use .run that much
[01:45:39] *** TimmyTones has joined #angularjs
[01:45:42] <Foxandxss> except some routing events
[01:45:45] *** nonsenz has joined #angularjs
[01:45:58] <tommmied> im using it to start long polling
[01:45:59] <ckboii89> http://dpaste.com/21R1YW4
[01:46:29] *** Limix has joined #angularjs
[01:46:31] *** waylon999 has quit IRC
[01:46:36] <tommmied> elnur: interesting idea
[01:46:37] <Foxandxss> tommmied: I see, do it on a service maybe
[01:46:47] *** wilmoore has joined #angularjs
[01:47:14] *** mrits has joined #angularjs
[01:47:31] *** waylon999 has joined #angularjs
[01:47:36] <Foxandxss> ckboii89: paste the services, but I can't see it that much, almost 2 am, can't read that much
[01:47:40] *** pootpoot has quit IRC
[01:48:04] *** fedenunez1 has quit IRC
[01:48:32] *** sonofdirt has quit IRC
[01:48:40] *** Jdubs has quit IRC
[01:48:59] *** juanlas has joined #angularjs
[01:49:10] *** patrickarlt has joined #angularjs
[01:49:20] *** jpstone has quit IRC
[01:49:21] *** lordkryss has quit IRC
[01:49:36] <ckboii89> http://dpaste.com/0JDE334
[01:49:37] <tommmied> Foxandxss, elnur: thanks for the help
[01:49:53] *** nemothekid has quit IRC
[01:50:23] <Foxandxss> ckboii89: on the controllers file
[01:50:24] <Foxandxss> what fails?
[01:50:42] *** nemothekid has joined #angularjs
[01:50:48] *** briantrice has joined #angularjs
[01:51:22] <ckboii89> ModalInstanceCheckinController, $scope.provider_appointment.appointment_id = $rootScope.provider_appointment_services[0].id;
[01:51:32] *** drej has joined #angularjs
[01:51:32] *** wilmoore has quit IRC
[01:51:43] <Foxandxss> uh wait
[01:51:46] <Foxandxss> $rootScope?
[01:51:53] <Foxandxss> that is completely wrong as hell
[01:52:23] <ckboii89> wait
[01:52:31] <briantrice> Q: I use ng-repeat on a fixed list of possible values from my server (“$scope.values”). I want to generate toggle buttons for the set of tagged values in that set on my model (“$scope.mymodel.values”). How do I make the ng-repeat redraw when the model is updated? (Or how do I do that right?)
[01:52:38] <ckboii89> sorry
[01:52:39] <ckboii89> it was scope orignally
[01:52:42] <ckboii89> i was playing around
[01:53:17] <ckboii89> its saying 0 is undefined
[01:53:41] <ckboii89> cannot read property '0' of undefined
[01:53:56] *** tsalb has quit IRC
[01:54:02] *** simb has quit IRC
[01:54:03] <Foxandxss> of course
[01:54:06] <Foxandxss> those controlers doesn't have that
[01:54:21] *** phuh has quit IRC
[01:54:47] *** phuh has joined #angularjs
[01:54:56] *** saucey has joined #angularjs
[01:55:06] <saucey> hey guys
[01:55:21] <saucey> anybody know what this error means: TypeError: Cannot read property 'protocol' of undefined?
[01:55:21] *** metakungfu has joined #angularjs
[01:55:35] <ckboii89> if i do another query again
[01:55:40] <ckboii89> isnt that efficient
[01:55:43] <Foxandxss> yes, you're calling .protocol on something that doesn't exist
[01:55:43] <ckboii89> since im doing another get
[01:55:47] <briantrice> self-answer: I presume that “make a model of all values with the selection state” is the angular way. But I can’t find a pattern for that online for guidance.
[01:55:48] <Foxandxss> ckboii89: it would not
[01:55:58] *** TimmyTones has quit IRC
[01:56:01] <Foxandxss> but you're smarter than that
[01:56:04] <Foxandxss> to not do tat
[01:56:06] <Foxandxss> that*
[01:56:19] *** jshultz has quit IRC
[01:56:59] *** kev has joined #angularjs
[01:57:10] *** Vloz has quit IRC
[01:57:14] *** Aerospark has joined #angularjs
[01:57:17] *** slainer68 has quit IRC
[01:57:23] *** kev is now known as Guest85261
[01:57:36] *** Vloz has joined #angularjs
[01:58:05] <saucey> Foxandxss where do these protocol get called
[01:58:15] <saucey> i cant seem to find the bug
[01:58:16] <Foxandxss> I don't know
[01:58:21] <Foxandxss> check the stacktrace
[01:58:30] *** bijan07077 has quit IRC
[01:58:33] <Foxandxss> or the file where it points
[01:58:39] <saucey> is it this location.path("/user/" + username);
[01:58:40] *** Guest85261 has left #angularjs
[01:58:43] *** metakungfu has quit IRC
[01:58:53] <Foxandxss> you see any .protocol on that?
[01:59:00] *** greengriminal has quit IRC
[01:59:07] *** alpha080 has joined #angularjs
[01:59:20] <saucey> im not sure what the errors saying
[01:59:24] *** greengriminal has joined #angularjs
[01:59:26] *** tfennelly has quit IRC
[01:59:27] <Foxandxss> okey
[01:59:37] <Foxandxss> foo.sign();
[01:59:46] <Foxandxss> TypeError: Cannot read property 'sign' of undefined
[01:59:54] <Foxandxss> there is no foo here
[02:00:02] <Foxandxss> so you can do sign() on an undefined
[02:00:04] <marcospgp> zelrik, hey you here?
[02:00:12] *** ckboii89 has quit IRC
[02:01:18] *** ckboii89 has joined #angularjs
[02:01:45] *** recurrence has quit IRC
[02:01:57] *** danielpquinn has quit IRC
[02:02:12] <ckboii89> ????
[02:03:09] *** danyim has joined #angularjs
[02:03:13] *** robdubya_ has joined #angularjs
[02:03:23] <saucey> hmmm
[02:03:40] <saucey> i dont have protocol set anywhere
[02:03:41] *** screamingbanshee has quit IRC
[02:03:56] <Foxandxss> maybe not you
[02:03:57] <Foxandxss> but angular
[02:04:01] <Foxandxss> check the console
[02:04:11] <Foxandxss> at the right part there is the file name and line number
[02:04:14] *** screamingbanshee has joined #angularjs
[02:04:22] *** one_zero has joined #angularjs
[02:04:30] *** Nizumzen has quit IRC
[02:04:33] *** whunt has joined #angularjs
[02:05:03] *** nitsujw has quit IRC
[02:05:05] *** in_deep_thought has quit IRC
[02:05:28] *** fold has joined #angularjs
[02:06:03] *** lingo has quit IRC
[02:06:25] *** robdubya has quit IRC
[02:06:28] *** mguillech has quit IRC
[02:06:29] *** one_zero has quit IRC
[02:06:53] *** one_zero has joined #angularjs
[02:06:58] *** mguillech has joined #angularjs
[02:07:39] *** danyim has quit IRC
[02:08:18] <saucey> this line return logFn.apply(console, args);
[02:08:30] <saucey> in angular
[02:08:39] <saucey> dont know what it means, have no idea
[02:08:55] <Foxandxss> there is no protocol on there
[02:09:00] <Foxandxss> maybe that is calling it
[02:09:02] *** screamingbanshee has quit IRC
[02:09:21] *** kernal has quit IRC
[02:09:50] *** htowngangsta has quit IRC
[02:09:50] *** cigarshark has quit IRC
[02:10:35] *** calvinx has joined #angularjs
[02:10:59] *** screamingbanshee has joined #angularjs
[02:11:57] *** smoores has joined #angularjs
[02:11:59] *** mguillech has quit IRC
[02:12:15] <smoores> how do i intercept all changes in route and location?
[02:12:39] *** whitebook has joined #angularjs
[02:12:45] *** blak422 has joined #angularjs
[02:12:50] *** tilgovi has joined #angularjs
[02:12:55] *** bcole808 has quit IRC
[02:13:11] <saucey> Foxandxss how do i go about fixing this?
[02:13:29] <Foxandxss> there is something you're doing that is triggering something wrong on angular
[02:13:48] *** calvinx has quit IRC
[02:13:48] *** DrMabuse_ has quit IRC
[02:16:18] *** lw has quit IRC
[02:16:43] *** nanoyak has quit IRC
[02:18:32] <saucey> ok
[02:18:35] *** CodeFriar has quit IRC
[02:18:37] *** blueadept has quit IRC
[02:18:59] <saucey> should i plnkr my code so you could have a quick looks its only a few pages
[02:19:12] <saucey> very small testing app
[02:19:30] *** Aerospark has quit IRC
[02:20:43] *** gunn has joined #angularjs
[02:21:00] *** jlambert has quit IRC
[02:21:19] *** marcospgp has quit IRC
[02:21:24] *** Aerospark has joined #angularjs
[02:21:35] <Foxandxss> sure, but I will leave real soon
[02:21:37] *** digia is now known as digia|away
[02:21:46] <saucey> ahhhh give me sec
[02:22:01] *** lw has joined #angularjs
[02:23:18] *** _jpfm has quit IRC
[02:23:22] *** diffkid_ has joined #angularjs
[02:23:34] *** s3shs has joined #angularjs
[02:23:59] *** diffkid_ has quit IRC
[02:24:02] *** bmac has joined #angularjs
[02:24:19] *** diffkid_ has joined #angularjs
[02:24:21] *** ckboii89 has quit IRC
[02:25:23] *** TorchDragon has quit IRC
[02:25:51] <saucey> http://plnkr.co/edit/yBgPI7Ioc9QdKEPrZcdZ?p=preview
[02:25:59] <saucey> thanks
[02:26:07] <saucey> i think thats all
[02:26:24] <Foxandxss> I don't see errors
[02:26:27] *** TorchDragon has joined #angularjs
[02:26:27] *** patrickarlt has quit IRC
[02:26:31] <saucey> that was quick
[02:26:53] <saucey> the user.html not working
[02:27:02] *** mehlah has quit IRC
[02:27:09] *** patrickarlt has joined #angularjs
[02:27:43] <saucey> http://plnkr.co/edit/yBgPI7Ioc9QdKEPrZcdZ?p=preview
[02:27:51] *** startupality has quit IRC
[02:27:53] <saucey> my bad, i just amended it
[02:28:07] *** itsmeandrewd has quit IRC
[02:28:21] *** Alina-malina has quit IRC
[02:28:37] *** Jdubs has joined #angularjs
[02:28:40] <Foxandxss> interesting
[02:29:36] <saucey> it does th counter then its suppose to load the user info after 5 seconds in the user.html view
[02:29:56] <saucey> not sure whats wrong i followed the tut and all looks quiet fines
[02:30:11] *** matthoiland has quit IRC
[02:30:26] *** phuh has quit IRC
[02:30:44] *** bmac has quit IRC
[02:30:56] *** phuh has joined #angularjs
[02:30:57] *** futuredale has quit IRC
[02:31:41] *** phuh has quit IRC
[02:31:45] *** patrickarlt has quit IRC
[02:31:59] *** phuh has joined #angularjs
[02:32:07] <saucey> any ideas?
[02:32:18] *** mary5030 has joined #angularjs
[02:32:18] *** emeve89 has joined #angularjs
[02:32:34] <Foxandxss> I am looking
[02:32:39] *** danielpquinn has joined #angularjs
[02:33:05] *** Alina-malina has joined #angularjs
[02:33:07] *** wfw has joined #angularjs
[02:33:21] *** DerekPerkins_ has quit IRC
[02:33:21] *** juanlas has quit IRC
[02:33:32] <saucey> thanks
[02:34:23] *** bbrown has quit IRC
[02:34:24] *** wfw has left #angularjs
[02:34:43] *** wilmoore has joined #angularjs
[02:35:27] *** startupality has joined #angularjs
[02:35:45] <smoores> i'm async loading a third party script next to my angular app and want to access its global variable it exposes in an angular factory. how can i init the factory when the async load is done?
[02:36:40] *** ckboii89_ has joined #angularjs
[02:36:42] *** teeray has quit IRC
[02:36:51] *** mary5030 has quit IRC
[02:37:01] *** danielpquinn has quit IRC
[02:37:16] *** teeray has joined #angularjs
[02:37:47] *** teeray has quit IRC
[02:38:18] <Foxandxss> the problem lies on UserController / github.js
[02:38:23] <Foxandxss> you're doing a bad request or something
[02:38:37] <saucey> ok can you not fix the prob?
[02:38:37] *** blak422 has quit IRC
[02:38:46] *** plysiu has quit IRC
[02:38:51] *** mronoffon_clone has joined #angularjs
[02:39:34] <Foxandxss> I could, but it is almost 3 am
[02:39:39] *** kemm0 has joined #angularjs
[02:39:40] <Foxandxss> can't barely keep my eyes open
[02:39:43] *** BobbieBarker has quit IRC
[02:39:48] <saucey> haha ive fixed it lol
[02:39:53] *** rho has quit IRC
[02:39:56] <Foxandxss> good
[02:40:18] *** TimmyTones has joined #angularjs
[02:40:25] *** secondjeff has joined #angularjs
[02:40:29] <saucey> return {
[02:40:30] <saucey> getUser: getUser,
[02:40:32] <saucey> getRepos: getRepos,
[02:40:33] <saucey> };
[02:40:47] <Foxandxss> ouch
[02:40:48] <saucey> getUser was set to getRepos
[02:40:53] <briantrice> I don’t suppose anyone thought of an answer to my question and didn’t bother to say.
[02:40:54] <Foxandxss> I Was wondering why getUser wasn't hit
[02:41:02] *** screamingbanshee has quit IRC
[02:41:05] <Foxandxss> and the error lied on the other one that wasn't supposed to be hit
[02:41:06] <saucey> :D
[02:41:12] <saucey> thanks for helping me see
[02:41:30] <Foxandxss> briantrice: we are not like that
[02:42:13] *** nanoyak has joined #angularjs
[02:42:20] <briantrice> Foxandxss: thanks. I’m going with the “reshape my model to fit” strategy, but it’s more boilerplate than I was hoping for (transforming JSON bidirectionally).
[02:43:44] *** jobelenus has joined #angularjs
[02:44:09] *** whitebook has quit IRC
[02:44:29] <Foxandxss> and I am going to bed
[02:44:31] *** Foxandxss has quit IRC
[02:44:33] *** bluesm has quit IRC
[02:45:00] *** jobelenus has quit IRC
[02:45:07] *** TimmyTones has quit IRC
[02:45:08] *** jpstone has joined #angularjs
[02:45:38] *** jobelenus has joined #angularjs
[02:46:36] <briantrice> fair enough
[02:47:02] *** Alina-malina has quit IRC
[02:47:11] *** jobelenus has quit IRC
[02:47:23] *** Alina-malina has joined #angularjs
[02:47:30] *** mronoffon_clone has quit IRC
[02:47:38] *** Aerospark has quit IRC
[02:47:53] *** Aliks_ has quit IRC
[02:48:26] *** jobelenus has joined #angularjs
[02:49:31] *** startupality has quit IRC
[02:50:21] *** mven_ has joined #angularjs
[02:51:10] *** nanoyak has quit IRC
[02:51:12] *** hugorodrigues has quit IRC
[02:51:39] <elnur> Hmm. Can't figure out when it's idiomatic to name stuff starting with a capital letter and when with a lowercase letter.
[02:51:39] <briantrice> so, my solution was: selection possibilities were: ABCD, selection is say BC. Now I use a dict of ABCD -> bool as model and ng-repeat on that.
[02:51:47] <elnur> FooController? fooService?
[02:51:57] <smoores> how do i load third party js libraries before angular? i keep getting errors in my factory acessing $window.whatever. the third party script is in index.html before angular...
[02:52:04] *** nanoyak has joined #angularjs
[02:53:10] *** Gambit- has quit IRC
[02:53:54] *** nanoyak has quit IRC
[02:54:20] *** nanoyak has joined #angularjs
[02:54:47] *** secondjeff has quit IRC
[02:54:55] <woebtz> smoores: Is the 3rd party lib attaching itself to window?
[02:55:02] <smoores> yes
[02:55:21] *** defaultdict has quit IRC
[02:55:24] <smoores> i can open my console and access the window property just fine
[02:55:29] <woebtz> what about referencing simply window.whatever
[02:55:32] *** instence has joined #angularjs
[02:55:53] <smoores> how is that different from what i'm doing now?
[02:56:02] *** moritzs has quit IRC
[02:56:15] *** Fishy has joined #angularjs
[02:56:19] <woebtz> just curious if you see it there
[02:56:20] *** nanoyak has quit IRC
[02:56:31] <woebtz> even before angular has been included
[02:56:44] <smoores> from within my angular factory, or in my browser console?
[02:56:51] *** instence_ has quit IRC
[02:56:55] *** itsananderson_ has quit IRC
[02:56:55] <smoores> i'm not sure i'm following y ou.
[02:57:14] <woebtz> say console.dir(window.whatever)
[02:57:15] *** BahamutWC has quit IRC
[02:57:20] <smoores> yes, that works.
[02:57:32] <smoores> if it didn't i would be posing my question much differently and in another channel :)
[02:57:58] <woebtz> so in the angular factory, $window.whatever is undefined
[02:58:06] <smoores> console.log(window.whatever) in a script tag immediately following the third party script, this works.
[02:58:11] <smoores> woebtz: that's right.
[02:58:26] *** kalehv_ has quit IRC
[02:58:57] <woebtz> you may need a script loading library then
[02:59:07] <woebtz> i've never encountered something like that
[02:59:18] <woebtz> is the angular.js being included with async?
[02:59:20] <smoores> i find it hard to believe no-one uses third party libraries in their angular applications
[02:59:25] *** kalehv has joined #angularjs
[02:59:27] *** DerekPerkins has joined #angularjs
[02:59:28] <smoores> woebtz: no.
[02:59:37] *** krawek has quit IRC
[02:59:55] <smoores> unless chrome is now async="true" script tags
[03:00:22] *** drej has quit IRC
[03:00:32] <elnur> Third-party libraries? Why would anyone use them?
[03:00:40] <elnur> We write everything we need ourselves.
[03:00:40] <woebtz> seems pretty destructive if so
[03:00:46] <smoores> lol what
[03:00:46] <elnur> NIH FTW!
[03:00:50] <smoores> Youtube
[03:00:52] <smoores> Google Maps
[03:00:56] <smoores> Google Charts?
[03:01:08] <davek> Plenty of people use them, they're wrapped into angular services/directives.
[03:01:11] <elnur> Why are you so lazy? Write everything yourself.
[03:01:11] <davek> What are you having trouble with?
[03:01:11] *** e-dard_afk is now known as e-dard
[03:01:51] *** oste has joined #angularjs
[03:01:51] <smoores> not having a $window property exposed on angular load
[03:02:02] *** e-dard is now known as e-dard_afk
[03:02:30] *** motionman has joined #angularjs
[03:02:50] *** waylon999 has quit IRC
[03:03:04] *** toastynerd has joined #angularjs
[03:03:09] *** nanoyak has joined #angularjs
[03:03:27] *** bulkan has joined #angularjs
[03:03:58] *** kalehv has quit IRC
[03:03:59] <bulkan> in unit tests a promise returned by a MyService.somfunc() arent being resolved
[03:04:01] <woebtz> anything you can put up in a plunker?
[03:04:30] *** seydoggy has joined #angularjs
[03:04:54] *** drej has joined #angularjs
[03:04:59] <davek> smoores, well considering $window is an angular service that would seem to make sense. Can you create a plunkr outlining your issue?
[03:05:17] *** bmac has joined #angularjs
[03:05:53] *** jordandotdev has joined #angularjs
[03:06:04] *** stevvooe has quit IRC
[03:06:05] <woebtz> smoores: in general, it should work http://plnkr.co/edit/TT2Kd0GhlZ0kTz16ErXR?p=preview
[03:09:27] *** jeffszusz has quit IRC
[03:10:09] *** toastynerd has quit IRC
[03:10:20] *** ericbarnes has joined #angularjs
[03:10:37] *** nemothekid has quit IRC
[03:10:47] *** CodeFriar has joined #angularjs
[03:10:52] *** nemothekid has joined #angularjs
[03:11:29] *** tilgovi has quit IRC
[03:12:06] *** Yahkob has joined #angularjs
[03:12:12] *** vbabiy has joined #angularjs
[03:12:43] *** s3shs has quit IRC
[03:14:37] *** patrickarlt has joined #angularjs
[03:15:36] *** nemothekid has quit IRC
[03:15:51] *** {DV8} has joined #angularjs
[03:17:54] *** jlambert has joined #angularjs
[03:18:30] *** DerekPerkins_ has joined #angularjs
[03:18:33] *** AlSquire has quit IRC
[03:18:58] *** Yahkob has quit IRC
[03:19:04] *** boneskull has quit IRC
[03:19:26] *** Jmart__ has joined #angularjs
[03:19:26] *** tschundeee has quit IRC
[03:19:37] *** Jmart has quit IRC
[03:19:54] *** diffkid_ has quit IRC
[03:20:02] *** tschundeee has joined #angularjs
[03:20:30] *** jobelenus has quit IRC
[03:20:59] *** DerekPerkins has quit IRC
[03:21:45] *** danyim has joined #angularjs
[03:22:20] *** danyim has joined #angularjs
[03:22:33] *** boneskull has joined #angularjs
[03:23:31] *** greengriminal has quit IRC
[03:23:45] *** night-owl2 has joined #angularjs
[03:23:54] *** greengriminal has joined #angularjs
[03:24:04] *** tschundeee has quit IRC
[03:24:34] *** s3shs has joined #angularjs
[03:24:35] *** torkel_ has quit IRC
[03:24:42] *** DrMabuse has joined #angularjs
[03:24:42] *** InezK is now known as InezK_away
[03:25:05] *** JosephSilber has joined #angularjs
[03:26:28] *** TorchDragon has quit IRC
[03:27:33] *** shinnya has quit IRC
[03:27:41] *** nkher has joined #angularjs
[03:27:45] *** InezK_away is now known as InezK
[03:27:46] *** TorchDragon has joined #angularjs
[03:28:45] *** InezK is now known as InezK_away
[03:28:57] *** DrMabuse has quit IRC
[03:30:06] *** davedev24_ has quit IRC
[03:31:34] *** phuh has quit IRC
[03:31:46] <nkher> Hi Guys
[03:32:01] *** patrickarlt has quit IRC
[03:32:12] *** seydoggy has quit IRC
[03:32:20] *** phuh has joined #angularjs
[03:32:23] *** saucey has quit IRC
[03:32:36] <nkher> clear
[03:32:44] *** seydoggy has joined #angularjs
[03:32:55] *** jayrobot has joined #angularjs
[03:33:28] *** danielpquinn has joined #angularjs
[03:34:25] *** fedenunez has joined #angularjs
[03:34:26] *** nkher has quit IRC
[03:34:27] *** TimmyTones has joined #angularjs
[03:34:30] *** night-owl2 has quit IRC
[03:34:34] *** MANCHUCK has quit IRC
[03:35:11] *** Silne30 has joined #angularjs
[03:35:54] *** hugorodrigues has joined #angularjs
[03:35:54] *** bicranial has joined #angularjs
[03:35:55] *** RobinBAwesome has quit IRC
[03:36:05] *** JimTheDev has joined #angularjs
[03:37:11] *** ipalaus has quit IRC
[03:37:11] <dman777> does angular.js have a way to test if a value is a number or not in a template?
[03:37:12] *** ckboii89_ has quit IRC
[03:37:34] *** seydoggy has quit IRC
[03:38:12] *** toastynerd has joined #angularjs
[03:38:23] *** danielpquinn has quit IRC
[03:38:39] *** heidi has quit IRC
[03:38:40] *** Asiajey has quit IRC
[03:38:43] *** toastynerd has quit IRC
[03:39:12] *** TimmyTones has quit IRC
[03:39:22] *** stirlingw has joined #angularjs
[03:39:28] *** ipalaus has joined #angularjs
[03:39:41] *** ipalaus is now known as Guest18957
[03:40:12] *** alanp has quit IRC
[03:42:27] *** Guest18957 has quit IRC
[03:42:28] *** Guest18957 has joined #angularjs
[03:44:22] *** Left_Turn has quit IRC
[03:44:34] *** RobinBAwesome has joined #angularjs
[03:45:08] *** Shrooms has quit IRC
[03:45:18] *** nemothekid has joined #angularjs
[03:47:05] *** Limix has quit IRC
[03:47:48] *** jamto11 has joined #angularjs
[03:48:58] *** apetro_ has joined #angularjs
[03:49:29] *** s3shs has quit IRC
[03:49:34] *** nemothekid has quit IRC
[03:50:02] *** Fishy has quit IRC
[03:50:22] *** thomasreggi has quit IRC
[03:50:26] *** bmac has quit IRC
[03:50:51] *** MistahKurtz has quit IRC
[03:50:53] *** calvinx has joined #angularjs
[03:51:59] *** MistahKurtz has joined #angularjs
[03:52:02] *** sysko has joined #angularjs
[03:52:50] *** s3shs has joined #angularjs
[03:52:58] *** narutimateum has quit IRC
[03:53:05] *** bulkan has quit IRC
[03:53:09] *** pyornkrachzark has joined #angularjs
[03:53:11] *** bulkan_ has joined #angularjs
[03:53:30] *** diffkid_ has joined #angularjs
[03:53:31] *** fedenunez has quit IRC
[03:53:58] *** torkel_ has joined #angularjs
[03:54:09] *** AlexZanf has joined #angularjs
[03:54:56] *** Fire-Dragon-DoL has quit IRC
[03:55:20] <pyornkrachzark> So, I am having a little trouble with ui-bootstrap and animation of progress bars. Robdubya__? You helped me last night, I have really been looking at services and directives and I don't see how I can make this happen
[03:55:58] <pyornkrachzark> sorry, robdubya_
[03:56:08] *** w3bcrawler has joined #angularjs
[03:56:53] *** ftwordring has quit IRC
[03:57:24] *** artisangoose has quit IRC
[03:58:00] <pyornkrachzark> Anyone else can chime in as well.. I just want to make them animate and fill up when the page loads. They will animate if the value changes after the page loads, so I guess I need to figure out how to make the value of the progressbar directive start at zero and then change to the desired value after the page loads
[03:58:46] *** nanoyak has quit IRC
[03:59:21] <s3shs> pyornkrachzark, I have a straight bootstrap progress bar on my site. I bind the percentage value right to the controller. When the value changes the bar animates. I don't do anything else, iirc.
[03:59:22] *** RobinBAwesome has quit IRC
[04:00:09] <pyornkrachzark> Right, so, did you do something like ng-attr-aria-valuenow="{{value}}"?
[04:00:16] *** ckboii89 has joined #angularjs
[04:00:30] *** colock_ has quit IRC
[04:00:32] <pyornkrachzark> Or use some other directive or service?
[04:01:07] <s3shs> style="width: {{percentComplete}}%; "
[04:01:15] *** colock_ has joined #angularjs
[04:01:27] <s3shs> Wow, I really didn't know what I was doing all those months ago.
[04:01:30] <s3shs> But it works.
[04:01:48] *** nanoyak has joined #angularjs
[04:01:57] <pyornkrachzark> Right, I'm probably in the same place you were then.
[04:02:16] *** jaequery has joined #angularjs
[04:02:23] *** jareddlc has quit IRC
[04:03:47] <pyornkrachzark> Or even further behind, not only am I new to angular, but javascript in general is a "new" language to me (i have worked plenty in straigh java, so it's not a huge jump)
[04:04:25] <s3shs> Here's the html. I actually put the percentage inside the bar...
[04:04:25] <s3shs> http://pastebin.com/iKvF0Ai2
[04:04:43] <s3shs> java != javascript mostly at all.
[04:04:54] <s3shs> braces, semicolons... but after that, forget java.
[04:05:03] *** torkel_ has quit IRC
[04:05:34] <pyornkrachzark> Right, I know, but the object oriented thing I get
[04:05:42] *** nicholaswyoung has joined #angularjs
[04:05:49] <s3shs> JS objects != Java objects.
[04:05:50] <pyornkrachzark> In fact, js can be a lot simpler than java
[04:06:00] <s3shs> Sure.
[04:06:02] *** nemothekid has joined #angularjs
[04:06:12] *** emeve89 has quit IRC
[04:06:26] *** night-owl2 has joined #angularjs
[04:06:41] *** seydoggy has joined #angularjs
[04:07:08] *** dylukes has quit IRC
[04:07:29] *** vbabiy has quit IRC
[04:07:31] *** mguillech has joined #angularjs
[04:08:28] *** krawek has joined #angularjs
[04:08:42] <pyornkrachzark> I'm not sure I see how your html code that you posted dynamically changes the width
[04:09:19] *** wallerdev has quit IRC
[04:09:28] *** quantax- has joined #angularjs
[04:09:50] *** briantrice has quit IRC
[04:10:12] *** fold has quit IRC
[04:10:39] *** dylukes has joined #angularjs
[04:10:51] *** nemothekid has quit IRC
[04:10:56] *** waylon999 has joined #angularjs
[04:10:57] <pyornkrachzark> So I basically have 5 progress bars that will display different values, which will need to be retrieved from a json file.
[04:11:06] *** BillCriswell has joined #angularjs
[04:11:29] *** seydoggy has quit IRC
[04:11:32] *** spencercarnage has quit IRC
[04:11:40] *** whunt has quit IRC
[04:11:43] <pyornkrachzark> I would like to use the ng-repeat directive, but I guess that's not really necessary
[04:11:49] <s3shs> That was post-binding in the dom. Look at my style comment above for how to bind the percentage.
[04:11:58] *** mguillech has quit IRC
[04:12:03] *** seydoggy has joined #angularjs
[04:12:14] *** vbabiy has joined #angularjs
[04:12:24] *** Fishy has joined #angularjs
[04:12:33] *** vbabiy has quit IRC
[04:12:43] *** hugorodrigues has quit IRC
[04:12:44] <pyornkrachzark> right right
[04:14:35] *** vbabiy has joined #angularjs
[04:15:38] *** vbabiy has joined #angularjs
[04:16:06] <pyornkrachzark> So any ideas how to do this with ui-bootstrap? I have a working example in straigh bootstrap/jQuery but am trying to translate into angular and jQuery-free
[04:16:12] *** nicholaswyoung has quit IRC
[04:16:12] *** patrickarlt has joined #angularjs
[04:16:17] *** cphil has quit IRC
[04:16:25] <pyornkrachzark> that is using angular and no jquery
[04:16:33] *** seydoggy has quit IRC
[04:17:22] *** night-owl2 has quit IRC
[04:17:31] <s3shs> There's an example right on the site.
[04:17:42] <s3shs> Look at the code for the randomize button.
[04:17:45] *** nicholaswyoung has joined #angularjs
[04:18:11] <pyornkrachzark> Right, but that animates after you have already loaded the page
[04:18:23] <s3shs> Oh, I see.
[04:18:35] <pyornkrachzark> I want the page to load with empty bars then fill up
[04:18:44] *** vbabiy has quit IRC
[04:18:45] <s3shs> So you'll want to have that progress bar load first, then load the rest of your page in a second controller.
[04:18:50] *** mdedetrich has joined #angularjs
[04:19:15] <s3shs> You're just gonna have to code it.
[04:19:15] *** vbabiy has joined #angularjs
[04:19:17] *** matthoiland has joined #angularjs
[04:19:29] *** snurfery has quit IRC
[04:19:33] *** bijan07077 has joined #angularjs
[04:19:34] *** bufferino has quit IRC
[04:19:53] *** bufferino has joined #angularjs
[04:20:53] *** tschundeee has joined #angularjs
[04:23:59] *** matthoiland has quit IRC
[04:24:02] *** linojon has joined #angularjs
[04:24:07] *** nicholaswyoung has quit IRC
[04:24:09] *** blak422 has joined #angularjs
[04:24:57] *** krawek has quit IRC
[04:26:22] *** s3shs has quit IRC
[04:26:22] *** tschundeee has quit IRC
[04:26:29] *** apetro_ has quit IRC
[04:27:22] *** joshontheweb has joined #angularjs
[04:27:32] *** TorchDragon has quit IRC
[04:28:21] *** armdale has quit IRC
[04:28:23] *** mindlace has quit IRC
[04:28:37] *** TimmyTones has joined #angularjs
[04:28:38] *** TorchDragon has joined #angularjs
[04:29:34] <pyornkrachzark> So code the the progress bars without ng-repeat
[04:30:22] *** mindlace has joined #angularjs
[04:30:35] *** [n0b0dy] has quit IRC
[04:30:45] *** [n0b0dy] has joined #angularjs
[04:31:33] <pyornkrachzark> Isn't that just going to have the same behavior?
[04:31:35] *** phuh has quit IRC
[04:31:45] *** CodeFriar has quit IRC
[04:31:51] *** armdale has joined #angularjs
[04:31:53] *** MTGap has quit IRC
[04:32:02] *** phuh has joined #angularjs
[04:32:18] *** MTGap has joined #angularjs
[04:32:49] *** CodeFriar has joined #angularjs
[04:32:53] *** TimmyTones has quit IRC
[04:34:16] *** atomi has quit IRC
[04:34:16] *** danielpquinn has joined #angularjs
[04:34:42] *** atomi has joined #angularjs
[04:34:45] *** nanoyak has quit IRC
[04:34:51] *** cphil has joined #angularjs
[04:37:10] <monokrome> I saw a project recently which was a library that acted like Angular's $scope. It was an alternative to $scope. Does anyone know what it is?
[04:37:21] *** combat has quit IRC
[04:37:23] *** CodeFriar has quit IRC
[04:37:35] *** Nijikokun has quit IRC
[04:38:17] *** t_p has joined #angularjs
[04:38:53] *** nitsujw has joined #angularjs
[04:38:58] *** CodeFriar has joined #angularjs
[04:39:08] *** MacWinner has quit IRC
[04:39:10] *** danielpquinn has quit IRC
[04:39:15] *** recurrence has joined #angularjs
[04:40:23] *** BillCriswell has quit IRC
[04:40:52] *** BillCriswell has joined #angularjs
[04:41:07] *** BillCriswell has quit IRC
[04:42:04] *** wilmoore has quit IRC
[04:42:07] *** woebtz has quit IRC
[04:42:39] *** nitsujw_ has joined #angularjs
[04:42:39] *** danyim has quit IRC
[04:42:40] *** mindlace has quit IRC
[04:43:07] *** nitsujw has quit IRC
[04:43:28] *** yogurt_truck has quit IRC
[04:43:52] *** nagappan has quit IRC
[04:44:26] *** nagappan has joined #angularjs
[04:44:26] *** nagappan has joined #angularjs
[04:44:39] *** Fishy has quit IRC
[04:45:09] *** Nijikokun has joined #angularjs
[04:45:16] *** Hackwar1 has joined #angularjs
[04:46:42] *** Hackwar has quit IRC
[04:46:54] *** RandomStranger has joined #angularjs
[04:47:54] *** combat has joined #angularjs
[04:48:26] *** instence_ has joined #angularjs
[04:49:16] *** RandomStranger- has quit IRC
[04:49:42] *** CodeFriar has quit IRC
[04:49:51] *** instence has quit IRC
[04:50:47] *** apetro_ has joined #angularjs
[04:52:52] *** ericbarnes has quit IRC
[04:53:02] *** dylukes has quit IRC
[04:53:14] *** wilmoore has joined #angularjs
[04:54:18] *** prbc has joined #angularjs
[04:55:28] *** alanp has joined #angularjs
[04:56:04] *** Hackwar1 has quit IRC
[04:56:09] *** in_deep_thought has joined #angularjs
[04:56:43] *** pyornkrachzark has quit IRC
[04:56:48] *** Hackwar has joined #angularjs
[04:57:16] *** tfennelly has joined #angularjs
[04:58:16] *** hswolff has quit IRC
[04:58:33] *** jaequery has quit IRC
[04:58:53] *** combat has quit IRC
[04:58:55] *** yoshokatana has quit IRC
[04:59:37] *** rchavik has joined #angularjs
[04:59:48] *** TyrfingMjolnir has quit IRC
[04:59:48] *** MikaAK has quit IRC
[05:01:39] *** combat has joined #angularjs
[05:01:40] *** arussel has joined #angularjs
[05:01:57] *** tfennelly has quit IRC
[05:02:16] *** smoores has quit IRC
[05:03:26] *** armdale has quit IRC
[05:03:38] *** jaequery has joined #angularjs
[05:03:46] *** nicholaswyoung has joined #angularjs
[05:04:04] *** fedenunez has joined #angularjs
[05:04:20] *** arussel has quit IRC
[05:05:04] *** mityaz has quit IRC
[05:05:46] *** mityaz has joined #angularjs
[05:06:28] *** prbc has quit IRC
[05:06:46] *** prbc has joined #angularjs
[05:07:17] *** stirlingw has quit IRC
[05:07:45] *** recurrence has quit IRC
[05:08:43] *** danyim has joined #angularjs
[05:09:17] *** richiebkr has joined #angularjs
[05:09:20] *** sneakertack has joined #angularjs
[05:10:51] *** cthrax has joined #angularjs
[05:12:31] *** seydoggy has joined #angularjs
[05:12:35] *** nemothekid has joined #angularjs
[05:13:56] *** night-owl2 has joined #angularjs
[05:14:18] *** Willow_ has quit IRC
[05:14:30] *** robclancy has joined #angularjs
[05:14:49] *** Willow_ has joined #angularjs
[05:14:59] *** Robbo` has quit IRC
[05:15:53] *** emeve89 has joined #angularjs
[05:16:42] *** waylon999 has quit IRC
[05:16:51] *** vbabiy has quit IRC
[05:17:07] *** seydoggy has quit IRC
[05:17:17] *** Elezium has quit IRC
[05:19:06] *** in_deep_thought has quit IRC
[05:19:32] *** Willow_ has quit IRC
[05:20:28] *** Willow_ has joined #angularjs
[05:21:48] *** bmac has joined #angularjs
[05:21:58] *** mrits has quit IRC
[05:22:00] *** apetro_ has quit IRC
[05:22:02] *** krawek has joined #angularjs
[05:22:22] *** elezium has joined #angularjs
[05:22:49] *** TimmyTones has joined #angularjs
[05:23:03] *** krawek has joined #angularjs
[05:23:03] *** krawek has joined #angularjs
[05:24:33] *** IanOlson has quit IRC
[05:24:45] *** in_deep_thought has joined #angularjs
[05:26:06] *** angelazou has joined #angularjs
[05:26:43] <angelazou> I have an array passed into a directive that I would like to iterate over http://plnkr.co/edit/mCynQWtQElTGfoLXZHqZ?p=preview
[05:26:57] *** TimmyTones has quit IRC
[05:27:47] <angelazou> but it does not do that here, the array is passed in and then iterated using ng-repeat from an html snippet that goes through sce.trustAsHtml
[05:28:03] *** mrits has joined #angularjs
[05:28:37] *** TorchDragon has quit IRC
[05:29:43] *** TorchDragon has joined #angularjs
[05:30:12] *** Nijikokun has quit IRC
[05:31:26] *** bmac has quit IRC
[05:31:37] *** phuh has quit IRC
[05:31:41] *** conan_the_destro has quit IRC
[05:32:01] *** phuh has joined #angularjs
[05:32:32] *** vbabiy has joined #angularjs
[05:33:11] *** JosephBergevin has joined #angularjs
[05:33:29] *** steffengy has joined #angularjs
[05:33:43] *** calvinx has quit IRC
[05:33:50] *** richiebkr has quit IRC
[05:34:40] *** waylon999 has joined #angularjs
[05:34:40] *** vbabiy has quit IRC
[05:35:06] *** danielpquinn has joined #angularjs
[05:35:21] *** krawek has quit IRC
[05:35:23] *** vbabiy has joined #angularjs
[05:36:06] *** krawek has joined #angularjs
[05:36:07] *** krawek has joined #angularjs
[05:36:19] *** conan_the_destro has joined #angularjs
[05:36:34] *** steffengy1 has quit IRC
[05:36:53] *** diffkid_ has quit IRC
[05:37:40] *** narutimateum has joined #angularjs
[05:39:04] *** bmac has joined #angularjs
[05:39:04] *** chrisshattuck has joined #angularjs
[05:39:32] *** rayu has joined #angularjs
[05:39:36] *** danielpquinn has quit IRC
[05:40:20] *** Ethix has quit IRC
[05:41:07] *** tomzx is now known as tomzx`afk
[05:41:09] *** shorne has joined #angularjs
[05:41:14] *** armdale has joined #angularjs
[05:42:09] *** rayu has quit IRC
[05:42:54] *** fold has joined #angularjs
[05:42:57] *** kewark has joined #angularjs
[05:43:34] *** krawek has quit IRC
[05:43:35] *** kewark is now known as krawek
[05:44:04] *** niop has joined #angularjs
[05:45:12] <niop> hi, does anyone know if it's possible to upload a file directly to a public folder, maybe via ftp, rather than through a server?
[05:45:49] *** Fishy has joined #angularjs
[05:45:55] <niop> have looked at the angular-file-upload module, but like others, upload done through a REST op.
[05:46:12] *** nitsujw_ has quit IRC
[05:46:16] *** gauravsaini03 has joined #angularjs
[05:46:40] *** nicholaswyoung has quit IRC
[05:47:48] *** ryot-calvin has quit IRC
[05:47:49] *** danyim has quit IRC
[05:48:17] *** subnl has quit IRC
[05:48:29] *** krawek has quit IRC
[05:48:35] *** calvinx has joined #angularjs
[05:48:51] *** admix|away is now known as admix
[05:49:35] *** Shrooms has joined #angularjs
[05:50:04] *** Fishy has quit IRC
[05:50:23] *** CodeFriar has joined #angularjs
[05:51:08] *** niop has left #angularjs
[05:51:12] *** waylon999 has quit IRC
[05:51:37] *** Siecje has left #angularjs
[05:51:58] *** karinaOK has quit IRC
[05:52:32] *** niop has joined #angularjs
[05:53:30] <niop> hi, reposting here as didn't seem registered on irc before. wondering is it possible to upload a file directly to a public folder rather than via server with REST op?
[05:53:48] *** milky has joined #angularjs
[05:53:53] *** bmac has quit IRC
[05:54:54] *** jamesbdev has quit IRC
[05:55:07] *** CodeFriar has quit IRC
[05:57:48] *** Mouzi has joined #angularjs
[05:58:36] *** admix is now known as admix|away
[05:59:01] <teslan> i am creating functionality oriented folders structure within my app folder ... should index.html be at the same level or inside the app folder ?
[05:59:02] *** nguyenhanh has joined #angularjs
[05:59:11] <nguyenhanh> Hi
[05:59:29] <nguyenhanh> i have few question
[05:59:45] <teslan> noob here ;) shoot :)
[06:00:11] *** shaggyDot has joined #angularjs
[06:02:00] *** cphil has quit IRC
[06:02:07] *** holymac has joined #angularjs
[06:02:10] *** secondjeff has joined #angularjs
[06:03:32] *** shaggyDot has quit IRC
[06:03:33] *** toastynerd has joined #angularjs
[06:05:20] *** drej has quit IRC
[06:05:36] *** cthrax has quit IRC
[06:05:36] *** drej has joined #angularjs
[06:07:20] *** encrypt3d_fracti has quit IRC
[06:07:27] *** MTGap has quit IRC
[06:07:52] *** matthoiland has joined #angularjs
[06:08:17] *** phrozensilver has joined #angularjs
[06:08:19] *** tonycoco has joined #angularjs
[06:08:50] *** mguillech has joined #angularjs
[06:09:10] <phrozensilver> Is there a way with just Angular to write to a JSON file? or do I need to look into setting up something server side with a database?
[06:09:47] *** danyim has joined #angularjs
[06:09:55] *** nguyenhanh has quit IRC
[06:10:07] *** mrits has quit IRC
[06:10:29] *** secondjeff has quit IRC
[06:11:38] *** lw has quit IRC
[06:12:30] *** holymac has quit IRC
[06:12:51] *** matthoiland has quit IRC
[06:12:55] *** e-dard_afk is now known as e-dard
[06:13:15] <robdubya_> you're probably going to want a server side API
[06:13:22] *** mguillech has quit IRC
[06:13:48] *** fedenunez has quit IRC
[06:13:52] *** holymac has joined #angularjs
[06:14:07] *** alanp has quit IRC
[06:14:51] *** tarkus has joined #angularjs
[06:15:30] *** alanp has joined #angularjs
[06:15:53] *** phrozensilver has quit IRC
[06:16:15] *** toastynerd has quit IRC
[06:16:17] *** Fishy has joined #angularjs
[06:16:53] *** in_deep_thought has quit IRC
[06:16:54] *** TimmyTones has joined #angularjs
[06:17:06] *** JimTheDev has quit IRC
[06:17:32] *** upsell5 has joined #angularjs
[06:17:55] *** BahamutWC has joined #angularjs
[06:19:00] *** in_deep_thought has joined #angularjs
[06:19:54] *** Willow_ has quit IRC
[06:20:25] *** Willow_ has joined #angularjs
[06:20:51] *** Fishy has quit IRC
[06:20:58] *** jamesbdev has joined #angularjs
[06:21:07] *** TimmyTones has quit IRC
[06:21:36] *** [n0b0dy] has quit IRC
[06:21:48] *** [n0b0dy] has joined #angularjs
[06:22:33] *** nanoyak has joined #angularjs
[06:22:37] *** e-dard is now known as e-dard_afk
[06:22:56] *** paupl has joined #angularjs
[06:23:04] *** mkc has left #angularjs
[06:23:48] *** tschundeee has joined #angularjs
[06:23:49] *** emeve89 has quit IRC
[06:24:19] *** Xethron has joined #angularjs
[06:24:26] *** Xethron has joined #angularjs
[06:25:13] *** Willow_ has quit IRC
[06:26:52] *** toastynerd has joined #angularjs
[06:27:51] *** w3bcrawler has quit IRC
[06:28:12] *** tschundeee has quit IRC
[06:28:16] *** kalehv has joined #angularjs
[06:29:19] *** nfroidure has joined #angularjs
[06:29:41] *** TorchDragon has quit IRC
[06:30:41] *** sneakertack has quit IRC
[06:30:47] *** TorchDragon has joined #angularjs
[06:31:27] *** jdcasey has quit IRC
[06:31:37] *** phuh has quit IRC
[06:31:48] *** mary5030 has joined #angularjs
[06:32:04] *** phuh has joined #angularjs
[06:33:06] *** sneakertack has joined #angularjs
[06:33:18] *** blak422 has quit IRC
[06:35:50] *** danielpquinn has joined #angularjs
[06:38:00] *** in_deep_thought has quit IRC
[06:39:07] *** in_deep_thought has joined #angularjs
[06:40:28] *** danielpquinn has quit IRC
[06:40:51] *** JesseEichar_ has joined #angularjs
[06:41:38] *** holymac has quit IRC
[06:43:39] *** prbc has quit IRC
[06:44:20] *** mdedetrich has quit IRC
[06:45:08] *** prbc has joined #angularjs
[06:45:25] *** in_deep_thought has quit IRC
[06:45:43] *** Zesty has joined #angularjs
[06:46:01] *** tfennelly has joined #angularjs
[06:46:07] *** t_p has quit IRC
[06:46:14] *** in_deep_thought has joined #angularjs
[06:47:45] *** in_deep_thought has quit IRC
[06:47:50] *** Ansikt has quit IRC
[06:48:19] *** combat has quit IRC
[06:49:30] *** InezK_away is now known as InezK
[06:50:33] *** CodeFriar has joined #angularjs
[06:50:38] *** tfennelly has quit IRC
[06:53:32] *** ThisIsPie_ has joined #angularjs
[06:55:13] *** ThisIsPie_ has quit IRC
[06:55:26] *** CodeFriar has quit IRC
[06:57:29] *** kemm0 has quit IRC
[06:58:20] *** asdofindia has quit IRC
[06:59:02] *** mary5030 has quit IRC
[06:59:09] *** {DV8} has quit IRC
[07:00:24] *** zanea is now known as zanea|away
[07:00:46] *** DeanH has quit IRC
[07:01:02] *** tarnus_ has joined #angularjs
[07:01:10] *** tarnus has quit IRC
[07:01:20] *** nanoyak has quit IRC
[07:02:04] *** [n0b0dy] has quit IRC
[07:02:15] *** [n0b0dy] has joined #angularjs
[07:02:41] <paupl> Hey everyone. I might be thinking about this the wrong way, but can I make an event fire whenever my $resource inside a service performs an action?
[07:02:51] <paupl> The result would be something like this code does with an array http://plnkr.co/edit/y56oQvrvK6OgXJEPJSv7?p=preview
[07:03:01] <paupl> but with a $ resource instead
[07:04:02] *** combat has joined #angularjs
[07:04:07] <paupl> I think I could do it with $http, but i'm thinking if I can't do it with $resource maybe it's not the right thing to do?
[07:06:04] *** tarnus_ has quit IRC
[07:06:23] *** tarnus has joined #angularjs
[07:06:35] *** kadamwhite has quit IRC
[07:07:03] *** rburns has joined #angularjs
[07:07:24] *** upsell5 has quit IRC
[07:07:25] *** Zesty has quit IRC
[07:08:36] <robdubya_> paupl doesn't make sense really
[07:08:55] <robdubya_> no need for an event, since its already an action initiated by something
[07:09:16] <robdubya_> you could use an interceptor, depending on what you want to do
[07:10:03] *** combat has quit IRC
[07:10:15] *** mary5030 has joined #angularjs
[07:10:29] *** Joshee has joined #angularjs
[07:10:30] <paupl> in the plunker example the $resource is being changed from the directive. Then when the $resource updates it triggers the event in the controller
[07:11:03] *** TimmyTones has joined #angularjs
[07:11:30] *** DeanH has joined #angularjs
[07:11:32] *** asdofindia has joined #angularjs
[07:11:36] <paupl> is this the right way of thinking? or would you say that I should be triggering the controller to update the view from the directive?
[07:11:51] *** Fishy has joined #angularjs
[07:12:50] *** RandomStranger- has joined #angularjs
[07:13:04] *** tarnus has quit IRC
[07:13:27] *** msarta has joined #angularjs
[07:13:30] *** tarnus has joined #angularjs
[07:13:33] <paupl> I am really trying to make sure that i am doing everything in the right place. I read this article http://kirkbushell.me/when-to-use-directives-controllers-or-services-in-angular/ which gave the example I created in the plunker
[07:15:39] *** RandomStranger has quit IRC
[07:15:44] *** TimmyTones has quit IRC
[07:15:45] *** ggrzybek has joined #angularjs
[07:16:14] *** briantrice has joined #angularjs
[07:16:16] *** sss2500 has joined #angularjs
[07:16:27] *** mary5030 has quit IRC
[07:16:29] *** kadamwhite has joined #angularjs
[07:16:32] *** Fishy has quit IRC
[07:16:34] *** tarnus_ has joined #angularjs
[07:16:46] *** Fishy has joined #angularjs
[07:16:53] *** nanoyak has joined #angularjs
[07:17:00] *** oste has quit IRC
[07:18:01] *** tarnus has quit IRC
[07:18:09] *** syed99 has joined #angularjs
[07:19:36] *** cctom has joined #angularjs
[07:19:52] *** JosephSilber has quit IRC
[07:20:38] *** tarnus_ has quit IRC
[07:20:44] *** cctom has quit IRC
[07:20:56] *** vintik has joined #angularjs
[07:21:09] *** tarnus has joined #angularjs
[07:21:25] *** Fishy has quit IRC
[07:24:13] *** tarnus has quit IRC
[07:24:19] *** tarnus_ has joined #angularjs
[07:24:29] *** DeanH has quit IRC
[07:24:38] *** tschundeee has joined #angularjs
[07:24:48] *** tonycoco has quit IRC
[07:25:48] *** vintik has quit IRC
[07:27:12] *** armdale has quit IRC
[07:28:13] *** lite_ has joined #angularjs
[07:28:40] *** bphogan_afk is now known as bphogan
[07:29:03] *** tschundeee has quit IRC
[07:30:45] *** TorchDragon has quit IRC
[07:30:51] *** robdubya_ has quit IRC
[07:31:05] *** nanoyak has quit IRC
[07:31:22] *** kborchers has quit IRC
[07:31:24] *** m_gol has quit IRC
[07:31:37] *** phuh has quit IRC
[07:31:38] *** meinside has joined #angularjs
[07:31:40] <SuperPhly> $stateProvider.state('contacts', <------ is contacts the URL pattern match or just the arbitrary name of the state?
[07:31:49] *** TorchDragon has joined #angularjs
[07:32:04] *** phuh has joined #angularjs
[07:34:21] *** Chopper has joined #angularjs
[07:34:27] *** bijan07077 has quit IRC
[07:35:19] *** Chopper has quit IRC
[07:35:28] <niop> hi, anyone an idea of how to add a windowTemplateUrl for $modal in angular boostrap? i've tried all sorts of things and nothing seems to work.
[07:35:29] *** vbabiy has quit IRC
[07:35:54] *** gunn_ has joined #angularjs
[07:36:18] *** combat has joined #angularjs
[07:36:37] *** danielpquinn has joined #angularjs
[07:37:05] *** gunn has quit IRC
[07:37:06] *** map7 has quit IRC
[07:37:06] *** TyrfingMjolnir has joined #angularjs
[07:37:18] <niop> tried adding a template with different name in the ui-bootstrap-tpls.js file, and that also didn't work.
[07:37:21] <RandomStranger-> niop Isn't the parameter only called "templateUrl"?
[07:37:47] <niop> i've got it as windowTemplateUrl.. will verify . but pretty sure that's right.
[07:38:19] *** tarnus_ has quit IRC
[07:38:24] <niop> >> windowTemplateUrl - a path to a template overriding modal's window template
[07:38:24] *** tarnus has joined #angularjs
[07:38:51] <RandomStranger-> niop Here it says otherwise. https://github.com/borisyankov/DefinitelyTyped/blob/master/angular-ui-bootstrap/angular-ui-bootstrap.d.ts#L205 :-\
[07:38:51] <niop> from http://angular-ui.github.io/bootstrap
[07:39:00] *** robdubya_ has joined #angularjs
[07:39:10] <RandomStranger-> Must have changed it from 0.10 to 0.11 then
[07:39:33] <RandomStranger-> ohh... There's a new property. Nevermind me.
[07:39:41] <RandomStranger-> I thoguht you were refering to the template for the actual modal
[07:39:50] <RandomStranger-> the content'
[07:40:07] <niop> no no.. trying to change the actual window
[07:40:17] <RandomStranger-> It still seems to have been added in 0.11 - are you sure you have that version?
[07:40:28] <niop> yeah. it's 11
[07:40:37] <RandomStranger-> Then I got no idea, sorry
[07:40:42] *** kborchers has joined #angularjs
[07:40:53] *** danielpquinn has quit IRC
[07:40:59] *** mdedetrich has joined #angularjs
[07:41:12] *** m_gol has joined #angularjs
[07:41:34] <niop> thanks for the suggestion anyway
[07:41:37] *** Sauvin has joined #angularjs
[07:42:23] *** MattWelch has quit IRC
[07:42:51] *** tarnus has quit IRC
[07:42:53] <elezium> robdubya_, you there?
[07:43:10] <robdubya_> mmhmm
[07:45:00] <SuperPhly> i'm having a hard time understanding where states are bound to URL's in ui-router
[07:46:08] <elezium> robdubya_, ;) You give me link yesterday about the fractal hierarchy ... and I was reading the following article (http://joelhooks.com/blog/2013/08/03/learn-angularjs-in-a-weekend/) saying that angular-seed is "bad" and that I should use the following boilerplate (https://github.com/ngbp/ngbp) ... This boilerplate looks to stick with the fractal concept, but I wanted a second thought on it.. Would you mind, when you have a
[07:46:08] <elezium> chance, to give me your quick impression.
[07:46:33] <elezium> Forgot... Thanks ;)
[07:46:44] <robdubya_> i like ngbp
[07:47:07] <BahamutWC> I don't like the names for some of the ng boilerplate stuff heh
[07:47:28] <BahamutWC> but that's just me being opinionated
[07:47:47] *** brodul has quit IRC
[07:47:54] <BahamutWC> I'd rather use generator-angular over ng-boilerplate, and even that is not quite up to date
[07:48:31] *** combat has quit IRC
[07:49:03] <elezium> Doh ;) This is why confused me, I want to do thing properly, using the best pratices, so I do alot of reading, but often, people do not agree on what the best practices should be..
[07:49:19] *** brodul has joined #angularjs
[07:50:05] *** cctom has joined #angularjs
[07:50:40] *** paupl has quit IRC
[07:50:47] *** jaequery has quit IRC
[07:51:33] *** tarkus has quit IRC
[07:52:18] *** asdofindia has quit IRC
[07:52:35] *** asdofindia has joined #angularjs
[07:54:11] *** jamto11 has quit IRC
[07:55:18] *** Trow has joined #angularjs
[07:55:45] *** HypnotiX has joined #angularjs
[07:56:07] *** mykz_ has joined #angularjs
[07:56:08] *** jamto11 has joined #angularjs
[07:56:46] *** matthoiland has joined #angularjs
[07:57:15] *** jamto11 has quit IRC
[07:59:30] *** JoshGlzBrk has joined #angularjs
[08:01:21] *** matthoiland has quit IRC
[08:01:35] *** patrickarlt has quit IRC
[08:02:11] *** patrickarlt has joined #angularjs
[08:02:18] *** lando has joined #angularjs
[08:02:21] *** KernelCurry has joined #angularjs
[08:02:42] *** stodan has joined #angularjs
[08:03:10] *** Ilyas has joined #angularjs
[08:04:40] *** LoveAndHappiness has joined #angularjs
[08:05:17] *** TimmyTones has joined #angularjs
[08:05:18] <LoveAndHappiness> hi
[08:06:19] *** mzehrer_ has joined #angularjs
[08:06:21] *** patrickarlt has quit IRC
[08:06:30] *** mykz_ has quit IRC
[08:07:13] *** mike_f has quit IRC
[08:07:52] *** prbc has quit IRC
[08:08:07] *** house has quit IRC
[08:08:08] *** mykz_ has joined #angularjs
[08:08:41] *** matthoiland has joined #angularjs
[08:08:44] *** InezK is now known as InezK_away
[08:08:59] *** bealtine has quit IRC
[08:09:27] *** TimmyTones has quit IRC
[08:10:05] *** mikehaas763 has joined #angularjs
[08:10:33] *** mguillech has joined #angularjs
[08:11:01] *** Wizek has joined #angularjs
[08:11:18] *** JosephBergevin has quit IRC
[08:11:36] *** joshontheweb has quit IRC
[08:11:40] *** Silne30 has quit IRC
[08:11:51] *** RedOrangeZ has joined #angularjs
[08:11:57] <SuperPhly> I'm getting a $stateProvider is not defined in my states.js even though the ui-router.min.js file (or whatever the actual name is) is being loaded up.
[08:12:42] <SuperPhly> var whop = angular.module('whop', ['ui.router', 'ngTable']);
[08:12:49] <SuperPhly> nothing wrong with that...
[08:12:52] *** seydoggy has joined #angularjs
[08:13:07] <robdubya_> elezium the thing about javascript is that best practices change every 6 months
[08:13:08] *** matthoiland has quit IRC
[08:13:49] <robdubya_> so dont overstress about it. you'll learn about best practices as you develop stuff
[08:13:56] <elezium> robdubya_, Yeah... I got that ;) and I have the bad habit to read too much without getting anything done ;)
[08:14:14] *** alex_ has joined #angularjs
[08:14:51] *** lw has joined #angularjs
[08:15:25] *** mguillech has quit IRC
[08:15:26] <elezium> anyways.. for now, I will stick with the angular-seed for my learning purposes, and I'll see in a few months what's the next good thing
[08:15:42] *** svycka has joined #angularjs
[08:16:10] *** Nijikokun has joined #angularjs
[08:16:40] *** Fishy has joined #angularjs
[08:17:14] *** crocket has joined #angularjs
[08:17:22] <crocket> How do I enable CORS in angularjs 1.2.x?
[08:17:25] *** seydoggy has quit IRC
[08:17:45] <crocket> I just want to fetch a local file via $http.
[08:18:21] <briantrice> crocket: this worked for me: http://thibaultdenizet.com/tutorial/cors-with-angular-js-and-sinatra/
[08:18:30] *** ggrzybek has quit IRC
[08:18:34] *** mtsr has joined #angularjs
[08:19:14] *** phuh has quit IRC
[08:19:19] *** SomeDude has joined #angularjs
[08:19:34] *** KamalKaur has joined #angularjs
[08:19:42] *** ZEH has joined #angularjs
[08:20:04] *** evilaliv3 has joined #angularjs
[08:21:01] *** Sijdesign has joined #angularjs
[08:21:15] <Sijdesign> hey all
[08:21:25] *** Fishy has quit IRC
[08:21:36] *** t_p has joined #angularjs
[08:21:40] *** Hackwar1 has joined #angularjs
[08:21:40] *** Sijdesign has quit IRC
[08:22:04] *** vintik has joined #angularjs
[08:23:00] *** knownasilya has quit IRC
[08:23:10] *** Nijikokun has quit IRC
[08:23:19] *** Hackwar has quit IRC
[08:25:24] *** plysiu has joined #angularjs
[08:25:27] *** BobbieBarker has joined #angularjs
[08:25:30] *** tschundeee has joined #angularjs
[08:25:42] *** lw has quit IRC
[08:25:43] <JonathanNeal> I’ve written my first directive, and I would like to release it. First, however, I would appreciate your critique. http://sandbox.thewikies.com/angular-sticky/
[08:25:51] <BobbieBarker> I have a small question about isolate scopes... i thought i understood it but it seems to be getting the best of me atm
[08:26:22] *** vintik has quit IRC
[08:26:34] <BobbieBarker> http://laravel.io/bin/EL1mE#6 <-- I have this custom element directive
[08:26:44] <BobbieBarker> and all those ng-file things are in the fileUpload directive
[08:26:51] <BobbieBarker> but the calls are going to the parent diretive
[08:26:53] <BobbieBarker> directive
[08:27:02] *** mary5030 has joined #angularjs
[08:27:51] <BobbieBarker> i.e if i place dragOverClass in the controller on the parent directive it works fine
[08:27:57] <BobbieBarker> but i want it to work in the fileUpload directive
[08:29:09] *** fairchild has joined #angularjs
[08:29:52] *** tschundeee has quit IRC
[08:30:26] *** chrisshattuck has quit IRC
[08:30:49] <BobbieBarker> ... quiet room tonight
[08:31:40] *** jacuqesdancona has joined #angularjs
[08:31:47] <SuperPhly> holy shit this ui-router is bad ass.
[08:31:50] *** TorchDragon has quit IRC
[08:31:52] *** mary5030 has quit IRC
[08:31:54] *** foofoobar has joined #angularjs
[08:31:54] <SuperPhly> it adds all kinds of flexibility.
[08:31:58] <BobbieBarker> lol
[08:32:01] <BobbieBarker> yes ui-router is bad ass
[08:32:10] <SuperPhly> ui-sref is kinda fun to get used to
[08:33:14] *** TorchDragon has joined #angularjs
[08:33:36] *** Nijikokun has joined #angularjs
[08:33:40] *** KamalKaur has quit IRC
[08:34:43] <ckboii89> hey can ng-if do if statements inside the function?
[08:34:47] <ckboii89> i mean the quotes
[08:34:58] <ckboii89> i know what i want to do but im not sure if its teh best way to do it
[08:35:39] <mikehaas763> Just curious, noticed doing {{ objA.objB }} binds to the serialized form of the object but using ng-bind="objA.objB" calls toString(). Any reason why these are different?
[08:36:04] *** JosephBergevin has joined #angularjs
[08:36:20] *** Shrooms has quit IRC
[08:36:50] <ansu> ckboii89, ng-if takes an expression so I think it should work. But I think it's better to create a function on the scope and call it?
[08:36:51] *** Stampy has joined #angularjs
[08:37:11] *** DuelShark has joined #angularjs
[08:37:22] *** danielpquinn has joined #angularjs
[08:37:50] <BobbieBarker> ng-bind isn't the same as interpolation {{}}
[08:38:33] <ckboii89> that would work but my problem is associated with typehead and ng-model binding issues
[08:39:21] *** brodul has quit IRC
[08:40:03] *** Shrooms has joined #angularjs
[08:40:24] *** brodul has joined #angularjs
[08:40:41] *** Otto__ has joined #angularjs
[08:40:44] <crocket> javascript sucks.
[08:40:49] <ckboii89> is it possible to redefine a model with ng-if?
[08:40:56] <ckboii89> reason being is
[08:41:06] <mikehaas763> BobbieBarker: Ah I see I suppose {{ }} is just a shortcut to $eval. I was thinking it was a shortcut to ng-bind.
[08:41:32] *** danielpquinn has quit IRC
[08:41:46] <mikehaas763> crocket: Ain't nobody denying that. Well, maybe some.
[08:42:05] <ckboii89> i have a description that is binded to a typeahead called treatments. if a treatment exsits, the description gets autofilled from the ng-model binding. However, if a treatment doesnt exit, the description returns what the treatment was input. i want to return a blank if no treatment exists
[08:42:14] *** Otto__ has quit IRC
[08:42:23] <crocket> I feel so fucking clver.
[08:42:27] <crocket> clever
[08:42:30] <mikehaas763> Actually, the docs say ng-bind is just an expression also.
[08:42:36] *** Otto__ has joined #angularjs
[08:42:39] *** InezK_away is now known as InezK
[08:42:55] *** evilaliv3 has quit IRC
[08:44:12] <mikehaas763> The docs also imply that they are the same exact thing: https://docs.angularjs.org/api/ng/directive/ngBind
[08:44:22] *** dazs has joined #angularjs
[08:44:27] *** dazs has joined #angularjs
[08:45:50] *** Joshee has quit IRC
[08:45:56] *** Shrooms has quit IRC
[08:46:08] *** evilaliv3 has joined #angularjs
[08:46:15] *** Joshee has joined #angularjs
[08:46:33] *** torkel_ has joined #angularjs
[08:47:22] *** Click66_ has joined #angularjs
[08:50:00] *** KamalKaur has joined #angularjs
[08:50:42] *** CodeFriar has joined #angularjs
[08:51:21] *** defaultdict has joined #angularjs
[08:51:56] *** AndyFTP has joined #angularjs
[08:52:44] *** ngoyal has joined #angularjs
[08:53:12] *** nitsujw has joined #angularjs
[08:53:27] *** ngoyal has joined #angularjs
[08:53:43] *** hannesvdvreken has joined #angularjs
[08:53:44] *** Alina-malina has quit IRC
[08:54:28] *** XoRoN has joined #angularjs
[08:54:53] *** dutis has joined #angularjs
[08:55:00] *** nitsujw has quit IRC
[08:55:11] *** fairchild has quit IRC
[08:55:21] *** CodeFriar has quit IRC
[08:55:35] *** tarnus has joined #angularjs
[08:55:54] *** frankfang has joined #angularjs
[08:56:13] *** mtsr has quit IRC
[08:58:07] *** DrMabuse has joined #angularjs
[08:58:23] *** ZEH has quit IRC
[08:59:27] *** TimmyTones has joined #angularjs
[08:59:55] *** tarnus has quit IRC
[08:59:58] *** angelazou has quit IRC
[09:00:04] *** mchammer has joined #angularjs
[09:00:21] *** Click66__ has joined #angularjs
[09:00:24] *** nitsujw has joined #angularjs
[09:00:34] *** Alina-malina has joined #angularjs
[09:00:41] *** DuelShark has quit IRC
[09:00:44] *** JosephSilber has joined #angularjs
[09:00:47] *** sdf has joined #angularjs
[09:00:55] <sdf> hello
[09:00:59] <sdf> i love angular
[09:01:20] *** sdf has left #angularjs
[09:01:20] <chovy> how so?
[09:02:33] *** zanea|away is now known as zanea
[09:02:36] *** Sky[x] has joined #angularjs
[09:02:49] *** Click66__ has quit IRC
[09:02:49] *** Click66_ has quit IRC
[09:02:52] *** ngoyal has quit IRC
[09:03:10] *** Click66__ has joined #angularjs
[09:03:32] *** _tpavel has joined #angularjs
[09:03:51] *** TimmyTones has quit IRC
[09:04:01] *** leckingto has quit IRC
[09:04:11] *** gunn_ has quit IRC
[09:04:17] *** Sky[x] has quit IRC
[09:04:18] *** AndyFTP has quit IRC
[09:05:05] *** VeeWee has joined #angularjs
[09:06:04] *** m1hael has joined #angularjs
[09:06:39] *** AndyFTP has joined #angularjs
[09:06:43] *** nitsujw has quit IRC
[09:06:48] *** elezium has left #angularjs
[09:07:01] *** elezium has joined #angularjs
[09:08:01] *** zwacky has joined #angularjs
[09:08:30] *** Cydmax has joined #angularjs
[09:08:46] *** beauvais has joined #angularjs
[09:08:46] *** ededagic has joined #angularjs
[09:08:47] *** KernelCurry has quit IRC
[09:10:19] *** ggrzybek has joined #angularjs
[09:11:21] *** bicranial has quit IRC
[09:11:22] *** frankblizzard has joined #angularjs
[09:11:28] *** colock_ is now known as colock
[09:12:33] <JonathanNeal> Anyone here written an angular directive before?
[09:12:38] *** arussel has joined #angularjs
[09:13:22] <Otto__> JonathanNeal, I think you've come in the right place :D
[09:13:44] *** Otto__ is now known as opiispanen
[09:14:05] <mikehaas763> Of course
[09:14:55] *** arussel has left #angularjs
[09:15:42] <JonathanNeal> opiispanen, mikehaas763, awesome! I am now in day two of using Angular. I’m unsure if I am following the recommended conventions when writing a directive. http://sandbox.thewikies.com/angular-sticky/ and the source @ http://viewsource.in/sandbox.thewikies.com/angular-sticky/angular-sticky.js
[09:16:19] <JonathanNeal> Are either of you familiar with angular enough to tell me if I’m doing it right? If I write something useful, is there a repository to put it besides GitHub?
[09:16:43] *** Fishy has joined #angularjs
[09:17:10] <mikehaas763> bower and other similar dependency management repos. I'll take a look at your src now
[09:17:27] *** DerekPerkins has joined #angularjs
[09:17:39] <opiispanen> first of all, is this working?
[09:17:42] *** InezK is now known as InezK_away
[09:18:14] *** Sky[x] has joined #angularjs
[09:18:14] <JonathanNeal> opiispanen: yes, i was sure to include a demo as well http://sandbox.thewikies.com/angular-sticky/demo.html
[09:18:45] <mikehaas763> So far I'd say use ngStyle rather than wrapper.setAttribute
[09:18:57] <opiispanen> oh, sorry, I'm at work so...
[09:19:11] *** DerekPerkins_ has quit IRC
[09:19:20] *** DevAntoine has joined #angularjs
[09:20:01] *** danyim has quit IRC
[09:20:20] <opiispanen> yeah, ngStyle++
[09:20:24] *** InezK_away is now known as InezK
[09:20:37] *** danyim has joined #angularjs
[09:20:55] *** Ilyas_ has joined #angularjs
[09:21:00] *** bengillies has joined #angularjs
[09:21:07] <mikehaas763> By convention, the $ prefix is reserved for angular SERVICES. In the link function, they aren't strictly services as they are not being injected, just being passed in when the link function is called. So by convention most people just use scope, element, attributes to make it clear
[09:21:27] *** Fishy has quit IRC
[09:21:51] *** Ilyas has quit IRC
[09:22:10] <JonathanNeal> mikehaas763: i had wondered that, despite the element being somewhat jquery-ified. So, how do most people access the raw element?
[09:22:31] <JonathanNeal> opiispanen: is ngStyle the better convention when the style attribute may be removed entirely? http://viewsource.in/sandbox.thewikies.com/angular-sticky/angular-sticky.js#L46-51
[09:22:32] *** jillesme has joined #angularjs
[09:22:38] <mikehaas763> You still use the second argument passed to the link function
[09:22:48] *** vintik has joined #angularjs
[09:22:53] <jillesme> Hey guys, can someone tell me what I'm doing wrong here http://jsfiddle.net/t4Rw8/1/ ?
[09:23:03] <jillesme> For some reason it can't DI my factory
[09:23:13] *** scmx has joined #angularjs
[09:23:15] *** combat has joined #angularjs
[09:23:17] <mikehaas763> JonathanNeal: It should be, even if ngStyle doesn't clean up the style attribute, it's probably an indicator that you're relying on something you shouldn't be.
[09:23:20] <JonathanNeal> mikehaas763: is there a preferred naming convention? element = jquery lite element; ? = native element = element[0];
[09:23:23] *** mykz_ has quit IRC
[09:23:26] *** Aartsie has joined #angularjs
[09:23:57] <mikehaas763> No I don't think so.
[09:24:11] <JonathanNeal> mikehaas763: I’m putting the element back how I found it. If they did not add a style attribute, I’m not adding it. Perhaps that’s too nit-picky of me, as though someone has some CSS someone waiting for p[style] {}
[09:24:16] *** mattwynne has quit IRC
[09:24:47] *** mattwynne has joined #angularjs
[09:24:55] *** guilbep has joined #angularjs
[09:25:07] *** mykz_ has joined #angularjs
[09:25:25] *** danyim has quit IRC
[09:25:35] *** startupality has joined #angularjs
[09:26:24] *** bulkan_ has quit IRC
[09:26:50] *** Cydmax has quit IRC
[09:27:07] <mikehaas763> JonathanNeal: It looks descent, but it's very basic. If you need to "compose" multiple directives that need to coordinate with each other, check out the controller property for directives.
[09:27:09] <JonathanNeal> opiispanen: I now see I can use .attr on the jq element, and if the style attribute is missing, it returns undefined. Funny how it is slightly different than native, which is null.
[09:27:17] *** AlexZanf has quit IRC
[09:27:24] *** vintik has quit IRC
[09:27:28] <mikehaas763> *basic as far as how much of the directive API it's using.
[09:28:03] <JonathanNeal> mikehaas763: extremely basic. hopefully clear, too.
[09:28:05] *** frankblizzard has quit IRC
[09:28:05] *** roymiloh has joined #angularjs
[09:28:11] *** JoshGlzBrk has quit IRC
[09:28:19] <mikehaas763> I'm just realizing you don't have a template for the directive, so unless you add one and use transclusion, ng-style won't really work for you.
[09:28:42] *** hannesvdvreken has quit IRC
[09:28:47] <BobbieBarker> can any one knowledgeable on restangular tell me why my POST is going successfull, i can see my JSON response in the dev tools, but when i try to console log it in my code it is undefined?
[09:29:34] *** frostig has quit IRC
[09:30:47] *** hannesvdvreken has joined #angularjs
[09:31:11] *** void_0__ has joined #angularjs
[09:31:14] *** gunn has joined #angularjs
[09:31:14] <opiispanen> JonathanNeal, note that using a lot of jQ may lead to some problems for example with data binding. You may have to put $scope.$apply everywhere. Using templates and ng-style, ng-class, ng-anything removes that problem.
[09:31:35] *** frankblizzard has joined #angularjs
[09:31:58] *** mattwynne has quit IRC
[09:31:58] <JonathanNeal> opiispanen: by jQ you mean angular.element jQ?
[09:32:00] *** squeakytoy has quit IRC
[09:32:13] *** JosephBergevin has quit IRC
[09:32:15] *** mattwynne has joined #angularjs
[09:32:24] *** duckchat has quit IRC
[09:32:33] <JonathanNeal> Which, related, is there a reason some native/jq/sugar functionality is missing in angular element? No insertBefore, getBoundingClientRect, etc? https://docs.angularjs.org/api/ng/function/angular.element
[09:32:47] *** TorchDragon has quit IRC
[09:32:47] *** guilbep has quit IRC
[09:32:47] *** AxldenieD has joined #angularjs
[09:33:11] <opiispanen> JonathanNeal, yep. It's basicly jQ object
[09:33:23] <AxldenieD> hey :-)
[09:33:33] <JonathanNeal> hey!
[09:33:38] <BobbieBarker> no takers on my restangular debacle?
[09:34:00] *** TorchDragon has joined #angularjs
[09:34:46] <opiispanen> BobbieBarker, maybe a link to a piece of code would help
[09:34:57] *** Wizek has quit IRC
[09:34:59] *** e-dard_afk is now known as e-dard
[09:35:12] *** jonasrosenlind has joined #angularjs
[09:35:16] <JonathanNeal> opiispanen: to create a new element, is it best to declare it an angular element like, say, new angular.element(document.createElement('span’)) ?
[09:35:24] *** jamesbdev has quit IRC
[09:35:30] *** ededagic has quit IRC
[09:35:43] <opiispanen> JonathanNeal, it's a lite version of jQ, but if you load jQuery before angularjs, angular will use that version of jQuery
[09:35:51] *** e-dard is now known as e-dard_afk
[09:35:58] *** DerekPerkins has quit IRC
[09:35:58] *** JosephSilber has quit IRC
[09:36:01] *** ededagic has joined #angularjs
[09:36:36] <JonathanNeal> opiispanen: :| i see, though, no thank you. The DOM has enough sugar, normally. Again, I’m surprised some of it is missing.
[09:36:43] *** hugorodrigues has joined #angularjs
[09:36:46] <opiispanen> JonathanNeal, what kind of data are you rendering? Is the data in an array?
[09:37:28] <opiispanen> You don't usually manage DOM in JS. You create templates.
[09:37:38] *** Moult has quit IRC
[09:37:38] *** Moult has joined #angularjs
[09:38:08] *** danielpquinn has joined #angularjs
[09:38:09] <opiispanen> If you have a dynamic object that repeats, use ng-repeat, if you have something showing or hiding, use ng-show or ng-hide
[09:38:15] <JonathanNeal> opiispanen: yes, though this is creating an effect in the dom, sticky. How might that be reflected as a template?
[09:38:52] *** sk87 has joined #angularjs
[09:39:01] *** SomeDude has quit IRC
[09:40:12] *** linojon has quit IRC
[09:40:24] *** Natsu- has joined #angularjs
[09:40:29] <opiispanen> JonathanNeal, well you could make a template where there is two elements, non-sticky and sticky, then make an event that changes a variable true/false. Use ng-show in the elements.
[09:40:33] *** jpiasetz has quit IRC
[09:41:03] <opiispanen> The event will control when a sticky element is shown
[09:41:58] <BobbieBarker> http://laravel.io/bin/r64e9
[09:42:04] <opiispanen> On second thought, you may need to template only the sticky one
[09:42:14] <BobbieBarker> ^^ TRYING to keep the code sample simple it is apart of a much larger directive
[09:42:25] <JonathanNeal> opiispanen: so, instead of letting the user make an element sticky, they would inject a sticky element around the target element?
[09:42:43] *** danielpquinn has quit IRC
[09:43:10] *** jpiasetz has joined #angularjs
[09:44:02] <opiispanen> JonathanNeal, not sure if I'm on the same page here
[09:44:50] *** mercwithamouth has quit IRC
[09:44:58] <JonathanNeal> opiispanen: right now, a “sticky” attribute gives an element the sticky effect. How would it work differently if I used a template instead?
[09:45:35] *** evilaliv3 has quit IRC
[09:46:10] *** mattwynn_ has joined #angularjs
[09:46:28] *** calvinx has joined #angularjs
[09:46:46] *** startupality has quit IRC
[09:47:04] <opiispanen> JonathanNeal, it would work similarly, but it would be done in an "Angular Way"
[09:47:36] <opiispanen> control the data, let Angular control dom according to data
[09:47:46] *** fbenoit has joined #angularjs
[09:47:46] *** nemothekid has quit IRC
[09:47:47] *** mzehrer__ has joined #angularjs
[09:48:16] *** frankblizzard has quit IRC
[09:48:47] *** cigol has joined #angularjs
[09:48:50] <BobbieBarker> i just checked my response interceptor it seems to be working right
[09:49:03] <BobbieBarker> this isn't my first go around with restangular... it's being used through out the app
[09:49:03] *** bengillies has quit IRC
[09:49:08] <opiispanen> I'm not saying that you should not use jQ or anything but you might get things done faster in an angular way, Angular does a lot for you
[09:49:08] <BobbieBarker> it's just this one call that is causing problems
[09:49:20] <BobbieBarker> ... i'm saying you shouldn't use JQ
[09:49:25] <BobbieBarker> do it the restangular way
[09:49:48] <opiispanen> that was for Jonathan
[09:49:55] <BobbieBarker> i know i was chiming in
[09:49:56] <BobbieBarker> lol
[09:49:58] <JonathanNeal> Thanks for walking me through this, mikehaas763, opiispanen! I’ve tried to follow convention a little better, still shakey on the template part http://viewsource.in/sandbox.thewikies.com/angular-sticky/angular-sticky.js
[09:50:05] *** mattwynne has quit IRC
[09:50:21] *** SeWo has joined #angularjs
[09:50:38] <SeWo> hello
[09:51:02] *** milka has joined #angularjs
[09:52:23] <SeWo> I have hard times with submitting a form that has a lot of autogenerated inputs (template/framework stuff). I don't know how to serialize and use all the input data following the angular way
[09:52:43] *** joshontheweb has joined #angularjs
[09:52:45] <BobbieBarker> put them all into the same scope? not sure i'm understanding you
[09:52:50] <BobbieBarker> so if you have a new user form
[09:52:58] <BobbieBarker> set your ng-model for your input fields to like
[09:53:01] <BobbieBarker> newUser.firstname
[09:53:05] <BobbieBarker> newUser.lastname
[09:53:16] *** KamalKaur has quit IRC
[09:53:24] <BobbieBarker> where first name/last name corresponse to different input fields
[09:53:33] *** TimmyTones has joined #angularjs
[09:53:41] <BobbieBarker> then on the submit button you do something like ng-click="submit(newuser)
[09:53:49] *** evilaliv3 has joined #angularjs
[09:53:52] <BobbieBarker> then on the submit button you do something like ng-click="submit(newUser)
[09:53:54] *** greengriminal is now known as Guest62135
[09:54:09] *** Alina-malina has quit IRC
[09:54:21] *** greengriminal has joined #angularjs
[09:54:23] *** jillesme has quit IRC
[09:54:46] *** djam90 has joined #angularjs
[09:55:21] *** Joulse has joined #angularjs
[09:55:50] <djam90> If you have a button or some text that you need to change when clicked on, how do you guys handle it? For example we have a "Search" button which then needs to change the text after being clicked once... do you just use ng-if or do you use a scope function or what?
[09:56:37] <BobbieBarker> directive
[09:56:59] <BobbieBarker> element.text('new button message')
[09:57:16] *** jacuqesdancona has quit IRC
[09:57:17] <BobbieBarker> you can set it up to be reused all over your app
[09:57:24] *** Alina-malina has joined #angularjs
[09:57:26] <BobbieBarker> now you have a dynamic button text directive
[09:57:27] <BobbieBarker> BOOM
[09:57:31] *** matthoiland has joined #angularjs
[09:58:07] <SeWo> how to put them in the scope ? it's autogenerated inputs, I have no control over the inputrendering
[09:58:08] <djam90> How can it be dynamic and how does it listen to a click event if not being used on ng-click
[09:58:16] <BobbieBarker> how are they generated?
[09:58:21] <BobbieBarker> inside an ng-repeat?
[09:58:22] *** TimmyTones has quit IRC
[09:58:23] *** sneakertack has quit IRC
[09:58:46] <SeWo> no, on the server
[09:58:50] *** tfennelly has joined #angularjs
[09:58:51] <BobbieBarker> wtf?
[09:58:54] <SeWo> i'm using typo3 flow framework
[09:59:04] <BobbieBarker> you're taking your view off of the server in the form of a template?
[09:59:08] <djam90> BobbieBarker, how would this dynamic text-replace directive listen to click events?
[09:59:08] <SeWo> it again has a template engine called fluid
[09:59:17] *** pvde has joined #angularjs
[09:59:31] <BobbieBarker> can't help you seWo that's not very angular
[09:59:37] <SeWo> and there are fields for csrf protection and for marking which propeties are trusted
[09:59:46] <BobbieBarker> that's not that great
[09:59:53] <SeWo> yeah, thought so
[09:59:54] <BobbieBarker> i mean it's not that much of a selling point
[10:00:03] <BobbieBarker> djam90 hold on... i'm thinking
[10:00:11] <djam90> ok thanks :)
[10:00:19] <opiispanen> djam90, elem.click(fn{ elem.text() })
[10:00:29] <BobbieBarker> ^^ he came in for the save
[10:00:36] <BobbieBarker> it's 2am here
[10:00:45] *** schuranator has quit IRC
[10:00:48] <BobbieBarker> and i'm still getting the shit stumped out of me on my little restangular issue
[10:00:50] <djam90> isn't that an Angular bad practice?
[10:00:56] *** schuranator has joined #angularjs
[10:00:58] *** ppppaul has joined #angularjs
[10:01:02] <BobbieBarker> no why would it be bad practice?
[10:01:21] <opiispanen> djam90, don't think it's bad practice but just not the 'Angular way"
[10:01:34] <djam90> because ng-click
[10:01:47] *** AlSquire has joined #angularjs
[10:01:52] *** matthoiland has quit IRC
[10:02:07] <BobbieBarker> the only thing i could think of alternatively would be to register the click event into the directive then you'd have like a handler on the directive
[10:02:21] *** hannesvdvreken has quit IRC
[10:02:44] <BobbieBarker> scope.DOStuff = function(args){doFunction1, doFunction2/change button text)
[10:02:45] <djam90> how do you register a click event into the directive?
[10:03:03] <BobbieBarker> make the directive an attribute
[10:03:10] <opiispanen> in an angular way I think you should do a template that has a button ng-click="clicked = true" and inside two spans that have ng-show="clicked" and ng-show="!clicked"
[10:03:22] <BobbieBarker> and then ng-click="functionIntheDirective()"
[10:03:33] <BobbieBarker> ^^ thats what i was trying to say kind of but it's 2am
[10:03:34] <SeWo> but this way I also get autogenerated javascript validation, in the php code all entity-properties have validation annotation for the persistence layer. so it's very easy to prevent bad entries in the persistence layer. and these annotations are also read when rendering html of these inputs and the appropriate javascript validators are added
[10:03:36] <BobbieBarker> lol
[10:03:40] *** Dimlock has joined #angularjs
[10:03:45] <BobbieBarker> who gives a shit about autogenerated JS validation
[10:03:55] <opiispanen> BobbieBarker, are you a little tired :D
[10:04:10] <BobbieBarker> very and frustrated with restastangular... did i mention that?
[10:04:31] *** asdofindia has quit IRC
[10:04:37] *** joshontheweb has quit IRC
[10:04:57] <opiispanen> SeWo, bad entries like...?
[10:05:00] <BobbieBarker> if you want to build an angular app you need to quit having your back end try and do the front end at the same time
[10:05:03] *** evilaliv3 has quit IRC
[10:05:08] <BobbieBarker> i think he's talking like injection attacks
[10:05:23] *** dve has joined #angularjs
[10:05:31] <opiispanen> BobbieBarker is right, use your backend only to serve DATA
[10:05:34] *** Sebastien-L has joined #angularjs
[10:06:00] <BobbieBarker> back end should only be RESTfull API's that is it
[10:06:00] *** negval has quit IRC
[10:06:12] *** msarta has quit IRC
[10:06:13] <opiispanen> that's the modern way
[10:06:16] *** secondjeff has joined #angularjs
[10:06:32] <BobbieBarker> if you're worried about CSRF, you need to have your backend pass the user an auth token on authentication which will then be attached to your API requests
[10:06:33] *** motionman has quit IRC
[10:06:40] <SeWo> bad entries like not a number, or name to long, or html instead of text
[10:06:45] <BobbieBarker> and if you're worried about injection you need to be sanitizing on the front and the bck
[10:06:47] <opiispanen> most of the problems with AngularJS are caused by doing something in an old fashion way
[10:07:00] <BobbieBarker> wtf you're worried about data validation?
[10:07:04] *** ggrzybek is now known as ggrzybek_brb
[10:07:07] *** Sonderblade has joined #angularjs
[10:07:16] <BobbieBarker> use html5?
[10:07:26] *** Sonderblade has quit IRC
[10:07:27] <BobbieBarker> input type=text/number etc?
[10:07:27] <SeWo> yes the csrf token is generated and passed as an input value
[10:07:33] <BobbieBarker> wrong answer
[10:07:35] <opiispanen> I think that angularjs even has some methods to do that
[10:07:39] *** Aswebb has joined #angularjs
[10:07:41] <BobbieBarker> yeah you can sanitize
[10:07:50] *** Sonderblade has joined #angularjs
[10:07:55] *** Sky[x] has quit IRC
[10:08:01] *** ededagic has quit IRC
[10:08:02] <BobbieBarker> and do proper validation
[10:08:02] <opiispanen> text inputs are as default, escaped
[10:08:09] <BobbieBarker> yeah
[10:08:22] <BobbieBarker> i.e disable your submit buttons if the form is in an invalid state
[10:08:29] *** hannesvdvreken has joined #angularjs
[10:08:36] *** ededagic has joined #angularjs
[10:08:41] *** nawi has joined #angularjs
[10:08:44] <BobbieBarker> SeWo at this point dude you either need to go back to your old way of doing stuff, or you need to drop the old stuff and learn angular
[10:08:47] *** dve has quit IRC
[10:08:51] <BobbieBarker> cuz yo'ure not going to make much progress
[10:09:04] *** arntempelgibbarn has joined #angularjs
[10:09:04] *** joshbrw has joined #angularjs
[10:09:09] <nawi> My ng-show/ng-hide animation doesn't work when the model changes in my directive, any ideas why?
[10:09:31] <BobbieBarker> so you want it to trigger on change?
[10:09:42] <nawi> I'm using ng-bind, and if that variable changes, the template gets recompiled but the animation is not displayed
[10:09:49] <chovy> nawi: i had conflicting css. took me awhile to figure it out.
[10:09:53] *** Wizek has joined #angularjs
[10:09:59] <nawi> it should trigger on ng-show changes
[10:10:01] <BobbieBarker> by show/hide do you mean it isn't showing/hiding period?
[10:10:18] <BobbieBarker> or your fancy animation for showing/hiding isn't working
[10:10:18] <nawi> it always works on hide though (because the ng-bind model is not being changed there)
[10:10:34] *** OnkelTem has joined #angularjs
[10:10:34] <nawi> BobbieBarker: the show animation isn't working if the model is being changed
[10:10:36] <OnkelTem> Hi all
[10:10:39] <SeWo> input type=text/number and custom types is generated based on the validators that I have defined for the persistence layer in my php code, so I only have to define my validators in one single place
[10:10:44] <Aswebb> Does anyone know a good javascript bot to fill forms, do some random clicks actions etc.. using angularJS ?
[10:11:01] <nawi> it's just instantly displayed
[10:11:08] *** eutheria has joined #angularjs
[10:11:14] <BobbieBarker> SeWo you're barking up the wrong tree, angular isn't going to work with that.
[10:11:16] *** eutheria has left #angularjs
[10:11:17] <nawi> I also have replace: true and I use the template property
[10:11:20] *** toastynerd has quit IRC
[10:11:30] <BobbieBarker> Awebb isn't that what protractor is for?
[10:11:35] <nawi> it feels like if the DOM element is replaced, the animation is not triggered
[10:11:35] *** bengillies has joined #angularjs
[10:11:36] *** ggrzybek_brb has quit IRC
[10:11:56] *** mguillech has joined #angularjs
[10:12:10] <BobbieBarker> nawi i'm kind of on a blank there i usually use angular-motion and if i want some animation on an event i use class="am-fade" and such
[10:12:26] <BobbieBarker> i also don't do a lot of the UI work i mostly build shit
[10:12:34] <BobbieBarker> other ppl make things look pretty
[10:12:38] <BobbieBarker> i'm a terrible color picker
[10:12:44] <OnkelTem> I noticed that my custom filter is triggered once per 3 seconds several times for no reason. I have angular-ui on a page and it is set to 3 seconds timeout. Any ideas why angular do this calls?
[10:12:54] <SeWo> but still, surly your right BobbieBarker, I need to do things different now, so far I'm doing it with little steps, changing my app step by step. Right now I thought I could do this kind of hibrid step, little angular, little old way
[10:13:06] *** Cydmax has joined #angularjs
[10:13:12] <OnkelTem> angular-ui carousel I meant
[10:13:13] <BobbieBarker> SeWo no you hit a brick wall dude
[10:13:16] <BobbieBarker> no more baby steps for you
[10:13:33] <BobbieBarker> OnkeLTem probably digest cycle is calling the filter
[10:13:34] <SeWo> :(
[10:13:37] *** secondjeff has quit IRC
[10:13:41] *** mykz_ has quit IRC
[10:13:41] *** dariocravero has joined #angularjs
[10:13:45] <opiispanen> SeWo, maybe use AJAX to use your backend validating then?
[10:13:47] <Aswebb> BobbieBarker: protactor? gonna check now
[10:13:57] <OnkelTem> BobbieBarker: yes, looks like, but why if data is not changed?
[10:14:10] <BobbieBarker> opispanen that won't work he's literally serving the pages off the server
[10:14:12] *** pvde has quit IRC
[10:14:19] <BobbieBarker> like he has PHP code building the views
[10:14:54] <BobbieBarker> OnkeITem my technical knowledge on the inner workings of angular is weak i'm sorry
[10:15:01] <BobbieBarker> i can't give you an accurate answer and i don't want to bullshit you
[10:15:23] *** amedia has joined #angularjs
[10:15:53] <BobbieBarker> so lets take another stab at this:
[10:15:54] <BobbieBarker> http://laravel.io/bin/r64e9#
[10:16:05] <DevAntoine> hum, that's kinda annoying when you don't know if your api will return a null value or an undefined one, to always have to check for both values
[10:16:10] *** BahamutWC has quit IRC
[10:16:10] <BobbieBarker> my post is working, the server returns the json but when i try to console log the response it is undefined
[10:16:27] *** mguillech has quit IRC
[10:16:37] *** dve has joined #angularjs
[10:16:43] *** Fishy has joined #angularjs
[10:16:53] <SeWo> ok BobbieBarker, I'm going for restful coding now
[10:17:19] <BobbieBarker> restfull architecture is the only way to go dude
[10:17:21] <DevAntoine> how do you handle null? Is your api returning null values? What about undefined ones?
[10:17:28] <BobbieBarker> woh me?
[10:17:43] <BobbieBarker> who me?*
[10:17:48] <DevAntoine> BobbieBarker: general question for the crowd
[10:17:51] <BobbieBarker> oh
[10:17:57] *** frankblizzard has joined #angularjs
[10:17:57] *** Leon has joined #angularjs
[10:18:01] <DevAntoine> BobbieBarker: but you can answer it too :)
[10:18:04] <BobbieBarker> like your API just returns "null"
[10:18:06] <BobbieBarker> ?
[10:18:07] <BobbieBarker> thats it
[10:18:09] <BobbieBarker> just a null
[10:18:09] *** hugorodrigues has quit IRC
[10:18:26] *** kernal has joined #angularjs
[10:18:28] *** TimmyTones has joined #angularjs
[10:18:54] <BobbieBarker> if your API can return a NULL by itself you may want to look at the best practices/standards for returning a JSON response
[10:19:02] <BobbieBarker> you shouldn't be returning primitive types
[10:19:17] <BobbieBarker> but that being said if you have a property on an object come back null just use lodash
[10:19:17] *** guilbep has joined #angularjs
[10:19:22] *** partikus has joined #angularjs
[10:19:38] <BobbieBarker> if(_.isNULL(someproperty)){dostuff}
[10:19:59] <BobbieBarker> if it's something you want to do something about use an if test
[10:20:09] *** TimmyTones has quit IRC
[10:20:10] *** partikus has left #angularjs
[10:20:12] <BobbieBarker> if it's something you don't give a shit about wrap it in a try/catch to avoid error
[10:20:16] *** TimmyTones has joined #angularjs
[10:20:32] *** mykz_ has joined #angularjs
[10:20:49] <BobbieBarker> or if you want to make sure to only do stuff if it isn't null
[10:20:57] <BobbieBarker> if(!_.isNULL(someproperty)){dostuff}
[10:21:19] <BobbieBarker> that's how i'd do it personally
[10:21:25] *** Fishy has quit IRC
[10:21:43] <BobbieBarker> or to cover your first question null/undefined
[10:21:50] *** bin has quit IRC
[10:21:53] *** TimmyTones has quit IRC
[10:22:10] <BobbieBarker> if(!_.isNULL(someproperty) || !_.isUndefined(someproperty)){dostuff}
[10:22:11] *** TimmyTones has joined #angularjs
[10:22:19] <BobbieBarker> if(!_.isNULL(someproperty) && !_.isUndefined(someproperty)){dostuff}
[10:22:21] <BobbieBarker> sorry
[10:22:26] <BobbieBarker> sleepy
[10:22:50] <BobbieBarker> i'm out
[10:23:34] *** vintik has joined #angularjs
[10:24:52] <djam90> How do you guys track state in Angular? Do you have like an object.. state.PostcodeIsFound = true (or false)
[10:24:59] *** Leon has quit IRC
[10:25:00] *** guilbep has quit IRC
[10:25:21] *** InezK is now known as InezK_away
[10:25:37] *** InezK_away is now known as InezK
[10:26:20] *** InezK is now known as InezK_away
[10:26:46] *** vader has joined #angularjs
[10:26:47] *** eamonn has joined #angularjs
[10:26:59] *** tschundeee has joined #angularjs
[10:27:47] *** pvde has joined #angularjs
[10:27:53] *** vintik has quit IRC
[10:28:12] <opiispanen> if you have a variable defined in $scope, you can use $scope.$watch('variablename',function(newVal,oldVal) {})
[10:28:23] <Aswebb> BobbieBarker: Have u ever tried protactor?
[10:28:59] *** TimboTones has joined #angularjs
[10:29:27] *** Rakesh_ has joined #angularjs
[10:29:27] *** TimmyTones has quit IRC
[10:29:34] <Rakesh_> Hi Guys
[10:29:54] *** ededagic has quit IRC
[10:29:59] *** IJNX has joined #angularjs
[10:30:50] <Rakesh_> I have stuck in some problem which I have already asked in stack exchange community here http://stackoverflow.com/q/24838033/3843405
[10:30:59] *** dob_ has joined #angularjs
[10:31:04] *** tschundeee has quit IRC
[10:31:20] *** dve has quit IRC
[10:31:26] <Rakesh_> One guy answered it but that solution doesn't work for me
[10:31:32] <Rakesh_> I am new in AnguarJS
[10:31:39] <Rakesh_> Can some one help me
[10:31:56] *** dve has joined #angularjs
[10:32:46] *** ggrzybek has joined #angularjs
[10:33:01] *** [n0b0dy] has quit IRC
[10:33:03] *** ggrzybek has joined #angularjs
[10:33:11] *** [n0b0dy] has joined #angularjs
[10:33:41] <Rakesh_> Looking for some helping hand in AngularJS
[10:33:57] *** dmg91 has quit IRC
[10:33:59] *** TorchDragon has quit IRC
[10:34:04] *** texinwien has joined #angularjs
[10:34:28] *** Guest12899 has quit IRC
[10:34:28] *** Guest12899 has joined #angularjs
[10:34:30] *** Guest12899 is now known as deepy
[10:35:05] <opiispanen> Rakesh_ sorry, don't have experience in Cordova
[10:35:07] *** TorchDragon has joined #angularjs
[10:36:27] *** dve has quit IRC
[10:36:53] <Rakesh_> opiispanen_ it's nothing with cordova that is only a platform for building android app
[10:37:17] *** ededagic has joined #angularjs
[10:37:40] <robdubya_> Rakesh_ you just need to push them into an array
[10:37:49] <robdubya_> and you should definitely be doing most of that in a service
[10:38:28] *** mdedetrich has quit IRC
[10:38:54] <Rakesh_> robdubya_ yes I am doing that in a service but still couldn't achive the result
[10:38:54] *** danielpquinn has joined #angularjs
[10:38:58] *** scmx has quit IRC
[10:39:19] *** dariocravero has quit IRC
[10:40:14] <robdubya_> well no, you're not, looking at your code
[10:40:18] *** nikw22 has joined #angularjs
[10:40:26] *** ineedarobot has joined #angularjs
[10:40:28] <nikw22> hii
[10:40:37] <nikw22> m new to angularjs
[10:40:44] <robdubya_> i would wrap the call itself in a service (there's actually one in ngCordova)
[10:40:47] <robdubya_> and then its just a question of
[10:40:57] <nikw22> is any1 der to help me to solve my issue
[10:41:02] <robdubya_> scan barcode -> then -> push into array -> then scanbarcode
[10:41:37] *** encrypt3d_fracti has joined #angularjs
[10:41:41] <nikw22> i m hving xml file, i want to display its data with the help of angularjs
[10:41:44] <robdubya_> Rakesh_ every time you get a result right now, you're *overwriting* the value of $rootScope.barcode results
[10:41:54] <robdubya_> (and you shouldn't be storing it on $rootScope)
[10:42:04] <nikw22> m rookie in agularjs
[10:42:16] <Rakesh_> robdubya_ ok
[10:42:41] *** dve has joined #angularjs
[10:43:15] *** Asiajey has joined #angularjs
[10:43:15] *** Asiajey has joined #angularjs
[10:43:20] *** danielpquinn has quit IRC
[10:43:23] *** TimboTones has quit IRC
[10:43:30] *** msarta has joined #angularjs
[10:43:42] <Rakesh_> robdubya_ basically I want append the value of new scan result
[10:43:49] *** _jpfm has joined #angularjs
[10:44:12] *** Climax777 has joined #angularjs
[10:44:26] *** dmg91 has joined #angularjs
[10:44:43] <Rakesh_> robdubya_ or is there any other way to do that without using service
[10:45:00] <robdubya_> use a service.
[10:45:26] *** TimmyTones has joined #angularjs
[10:46:10] *** encrypt3d_fracti has quit IRC
[10:47:09] <Rakesh_> robdubya_ can you please add your detail comment here http://stackoverflow.com/q/24838033/3843405 so I could understand accordingly
[10:47:33] <robdubya_> the other answer is pretty much exactly what it should be
[10:48:19] *** bluesm has joined #angularjs
[10:48:22] <niop> hi, anyone an idea on how to pass a progress bar update value through to $modal scope, from a callback function inside controller? whether using apply or whatever, change not reflected in progress bar.
[10:48:43] *** dylanlindgren has joined #angularjs
[10:48:55] *** Aartsie has quit IRC
[10:49:07] <niop> it works when updated from outside called.. just not within callback.
[10:49:14] <niop> *outside callback
[10:49:14] <OnkelTem> How to print HTML from angular directive? What I get is escaped html
[10:49:22] *** night-owl2 has quit IRC
[10:49:24] <Rakesh_> robdubya_ I tried that other answer in my existing code it runs on the browser not on my Android device
[10:49:34] *** dylanlindgren has joined #angularjs
[10:49:34] *** slainer68 has joined #angularjs
[10:49:49] <Rakesh_> robdubya_ if you see my comments there you would understand
[10:50:50] *** squeakytoy has joined #angularjs
[10:51:24] <nawi> how can I use animations in my custom directive?
[10:51:59] *** AngularUI has joined #angularjs
[10:51:59] <AngularUI> [bootstrap] thunderklaus opened pull request #2513: fix(datepicker): don't fall back to parse using new Date(...) (master...master) http://git.io/fFJvzQ
[10:51:59] *** AngularUI has left #angularjs
[10:52:14] *** darekz has joined #angularjs
[10:52:49] *** night-owl2 has joined #angularjs
[10:53:05] <darekz> Hi. Is there any way to have different interpolation markup for different controllers?
[10:53:28] *** SomeKittens has quit IRC
[10:54:27] *** mchapman has joined #angularjs
[10:54:59] *** bullicon has joined #angularjs
[10:55:15] *** bphogan is now known as bphogan_afk
[10:55:46] *** bencc has joined #angularjs
[10:56:06] *** moritzs has joined #angularjs
[10:56:10] *** tarnus has joined #angularjs
[10:56:24] <OnkelTem> Does anybody know how to pass variable into directive? Like: <span my-directive="data"></span>?
[10:56:41] <OnkelTem> Whay I get in myDirective - is "data" text, not the value
[10:57:07] *** mykz_ has quit IRC
[10:57:14] <opiispanen> scope: { data: "=myDirective" }
[10:57:19] <OnkelTem> !
[10:57:55] <OnkelTem> opiispanen: thank you! :-)
[10:58:35] <OnkelTem> I used additional attributes, but could use directive attribute itself, nice
[10:58:59] <opiispanen> yep, that's handy
[10:59:20] *** klaut has joined #angularjs
[10:59:38] *** ngoyal has joined #angularjs
[10:59:49] *** azizur has joined #angularjs
[11:00:53] *** tarnus has quit IRC
[11:01:02] *** dve has quit IRC
[11:01:21] *** mykz_ has joined #angularjs
[11:01:34] *** dve has joined #angularjs
[11:01:42] *** saucey has joined #angularjs
[11:02:09] *** styles has joined #angularjs
[11:02:09] *** styles has joined #angularjs
[11:02:47] *** roymiloh has quit IRC
[11:03:10] *** dve_ has joined #angularjs
[11:03:28] *** moritzs has quit IRC
[11:04:24] *** ngoyal has quit IRC
[11:04:37] *** TimmyTones has quit IRC
[11:04:52] *** cacts|wtf has quit IRC
[11:05:02] *** Left_Turn has joined #angularjs
[11:05:42] *** mronoffon_clone has joined #angularjs
[11:05:46] *** Willow_ has joined #angularjs
[11:05:46] *** cacts|wtf has joined #angularjs
[11:05:52] *** dve has quit IRC
[11:05:52] *** nfroidure has quit IRC
[11:08:07] *** TyrfingMjolnir has quit IRC
[11:08:34] *** uf6667 has joined #angularjs
[11:08:54] *** e-dard_afk is now known as e-dard
[11:08:58] *** Rtransat has joined #angularjs
[11:09:13] <Rtransat> Hi
[11:09:38] *** nfroidure has joined #angularjs
[11:10:01] *** tschundeee has joined #angularjs
[11:10:03] <Rtransat> Why my request return 11 time response.data ? http://pastie.org/9419655#35,45
[11:10:11] *** scmx has joined #angularjs
[11:10:27] <Rtransat> and the query (api/comments) is executed 2 times
[11:11:04] *** tschundeee has quit IRC
[11:11:07] *** toastynerd has joined #angularjs
[11:11:24] *** tschundeee has joined #angularjs
[11:11:30] *** upsell5 has joined #angularjs
[11:11:31] *** dve_ has quit IRC
[11:12:13] *** dve has joined #angularjs
[11:14:20] *** e-dard is now known as e-dard_afk
[11:14:33] *** danyim has joined #angularjs
[11:15:26] *** danyim has quit IRC
[11:15:41] *** ineedarobot has quit IRC
[11:16:37] *** Fishy has joined #angularjs
[11:16:42] *** dve has quit IRC
[11:17:06] *** tfennelly has quit IRC
[11:18:08] *** e-dard_afk is now known as e-dard
[11:18:34] *** toastynerd has quit IRC
[11:19:01] *** MattWelch has joined #angularjs
[11:19:34] *** ineedarobot has joined #angularjs
[11:20:08] *** IJNX has quit IRC
[11:21:02] *** dariocravero has joined #angularjs
[11:21:13] *** danyim has joined #angularjs
[11:21:35] *** Fishy has quit IRC
[11:21:59] *** danyim has quit IRC
[11:22:32] *** dutis has quit IRC
[11:22:43] *** marcospgp has joined #angularjs
[11:23:22] *** rchavik has quit IRC
[11:23:28] *** MaxV has joined #angularjs
[11:23:32] *** MattWelch has quit IRC
[11:24:19] *** vintik has joined #angularjs
[11:24:33] *** ome has joined #angularjs
[11:24:46] *** nezuvian has joined #angularjs
[11:24:46] *** Aartsie has joined #angularjs
[11:24:58] *** Foxandxss has joined #angularjs
[11:25:02] *** nezuvian is now known as OttlikG
[11:25:35] *** dutis has joined #angularjs
[11:26:02] *** uf6667 has quit IRC
[11:26:11] *** uf6667 has joined #angularjs
[11:26:12] *** marr has joined #angularjs
[11:26:29] *** InezK_away is now known as InezK
[11:26:35] <marcospgp> hey guys i need some help with the authentication in my app, can someone help?
[11:26:53] *** calvinx has quit IRC
[11:27:11] <marcospgp> Here's the thing: The user can sign in using the facebook sdk and the client gets the access token and profile info and all that.
[11:27:27] <marcospgp> but now I need to send something to the server in order to register the user there,
[11:27:33] *** Willow_ has quit IRC
[11:27:44] <marcospgp> and that thing must also be able to be used in the future for secure authentication
[11:27:49] *** Jdubs has quit IRC
[11:28:02] <marcospgp> but i don't know what to send. one of the received tokens?
[11:28:31] <marcospgp> how can I confirm it is from facebook and from that certain user in particular?
[11:28:37] *** vintik has quit IRC
[11:30:02] *** elxa has quit IRC
[11:30:05] *** guilbep has joined #angularjs
[11:30:12] *** rchavik has joined #angularjs
[11:30:29] *** singh has joined #angularjs
[11:30:48] <singh> hi
[11:31:39] *** elxa has joined #angularjs
[11:32:08] *** kishan has joined #angularjs
[11:32:40] <singh> hi kishan
[11:33:10] <kishan> hi
[11:33:23] *** roymiloh has joined #angularjs
[11:33:29] *** [n0b0dy] has quit IRC
[11:33:39] *** [n0b0dy] has joined #angularjs
[11:33:43] *** nikw22 has quit IRC
[11:33:44] *** kishan has quit IRC
[11:33:51] *** singh has quit IRC
[11:35:03] *** TorchDragon has quit IRC
[11:35:18] *** TimmyTones has joined #angularjs
[11:35:24] *** uf6667 has quit IRC
[11:35:52] *** uf6667 has joined #angularjs
[11:36:13] *** TorchDragon has joined #angularjs
[11:36:15] *** jkremser has joined #angularjs
[11:36:26] *** InezK is now known as InezK_away
[11:36:35] *** jkremser has quit IRC
[11:36:35] *** jkremser has joined #angularjs
[11:36:44] *** ckboii89 has quit IRC
[11:37:09] *** tfennelly has joined #angularjs
[11:37:39] *** DevAntoine has quit IRC
[11:37:46] <SuperPhly> How do I ng-repeat over this: ["string", "string", "string"]
[11:38:26] <SuperPhly> ng-repeat="log in logs">{{log}}</ doesn't work
[11:39:40] *** danielpquinn has joined #angularjs
[11:39:47] *** instence has joined #angularjs
[11:39:58] *** one_zero has quit IRC
[11:39:59] *** uf6667 has quit IRC
[11:40:08] *** uf6667 has joined #angularjs
[11:40:11] *** pluma has joined #angularjs
[11:40:22] *** instence_ has quit IRC
[11:41:44] *** defaultdict has quit IRC
[11:41:59] *** Joshee has quit IRC
[11:43:22] *** shorne has quit IRC
[11:43:43] *** kas84 has joined #angularjs
[11:43:50] <kas84> hi guys
[11:44:00] *** danielpquinn has quit IRC
[11:44:47] *** mityaz has quit IRC
[11:44:49] *** wilmoore has quit IRC
[11:45:04] *** mityaz has joined #angularjs
[11:45:15] *** saucey has quit IRC
[11:46:24] *** matthoiland has joined #angularjs
[11:46:34] *** upsell5 has left #angularjs
[11:46:36] *** guilbep has quit IRC
[11:46:38] *** alpha080 has quit IRC
[11:46:46] *** uf6667 has quit IRC
[11:47:10] *** uf6667 has joined #angularjs
[11:47:25] <Dekans> Hello, I'm doing a file browser web app, is there a best practice for managing history stack?
[11:47:38] *** e-dard has left #angularjs
[11:48:16] *** joshontheweb has joined #angularjs
[11:48:42] *** Gooder` has joined #angularjs
[11:49:22] *** negval has joined #angularjs
[11:50:24] *** bealtine has joined #angularjs
[11:50:56] *** matthoiland has quit IRC
[11:51:15] *** guilbep has joined #angularjs
[11:51:20] *** evilaliv3 has joined #angularjs
[11:51:27] *** mronoffon_clone has quit IRC
[11:51:35] *** jonasrosenlind has quit IRC
[11:52:29] *** Gooder`` has joined #angularjs
[11:53:52] *** eamonn has quit IRC
[11:53:52] *** torkel_ has quit IRC
[11:53:57] *** Gooder` has quit IRC
[11:54:32] <kas84> I’m trying to make a directive for a date picker and when it’s initializing it doesn’t show the format of the datepicker but instead shows what it would show with a regular <input> tag
[11:54:35] <kas84> http://plnkr.co/edit/NIEZiz2etgRLjyHG1d6Q?p=preview
[11:54:49] <kas84> works great when not initialized
[11:54:55] *** eamonn has joined #angularjs
[11:54:57] <kas84> can anybody give me a hand, please?
[11:56:07] *** mykz_ has quit IRC
[11:57:19] *** darekz has quit IRC
[11:57:52] *** mronoffon_clone has joined #angularjs
[11:58:20] *** matthoiland has joined #angularjs
[11:58:22] *** Jdubs has joined #angularjs
[11:58:29] *** SeWo has quit IRC
[11:58:50] *** Climax777 has quit IRC
[11:59:22] *** guilbep has quit IRC
[11:59:33] *** mronoffon_clone has quit IRC
[11:59:41] *** cotko has joined #angularjs
[11:59:47] *** uf6667 has quit IRC
[12:00:02] *** eamonn has quit IRC
[12:00:27] *** Ankush has joined #angularjs
[12:00:47] *** uf6667 has joined #angularjs
[12:01:35] <Ankush> Hi Everyone
[12:01:56] <Ankush> I am a fresher in software developement
[12:02:08] <SuperPhly> kas84: it's 5AM in the U.S.
[12:02:33] *** matthoiland has quit IRC
[12:02:40] *** danielpquinn has joined #angularjs
[12:02:52] *** Jdubs has quit IRC
[12:02:52] <opiispanen> SuperPhly, it's 1 PM in Finland :--D
[12:03:17] <Ankush> My Company want to build a app with Phonegap + (Angular or Backbone) and not sure which one of the framework to use
[12:03:29] <Ankush> ie Angular or Backbone
[12:03:46] <nfroidure> Ionic looks awesome
[12:03:49] <Ankush> its gonna be RestFul based
[12:03:54] <opiispanen> Have you considered Angular with Ionic
[12:04:17] *** frankfang has quit IRC
[12:05:01] <SuperPhly> How do ng-repeat over a list of strings?
[12:05:05] <opiispanen> I think that everyone on AngularJS chanwill say'use aangular'
[12:05:05] *** Gu has joined #angularjs
[12:05:05] <Ankush> @opiispanen : If that message is for me then No, we havent
[12:05:36] *** uf6667 has quit IRC
[12:05:40] <Gu> hey guys, I was wondering how angular process ngRepeat directive...
[12:06:04] *** uf6667 has joined #angularjs
[12:06:13] <Gu> does is recycle the elements when a new list is created (or the list is updated by removing and adding objects)?
[12:06:44] *** kachi8 has joined #angularjs
[12:06:51] <kas84> SuperPhly: haha, okay, maybe there’s somebody from europe around here :P
[12:07:22] *** danielpquinn has quit IRC
[12:07:38] *** ckboii89 has joined #angularjs
[12:07:52] *** styles has quit IRC
[12:08:07] *** TimmyTones has quit IRC
[12:08:23] *** secondjeff has joined #angularjs
[12:08:40] *** Ankush has quit IRC
[12:08:42] *** TimmyTones has joined #angularjs
[12:09:08] *** BMCouto has joined #angularjs
[12:09:12] *** uf6667 has quit IRC
[12:09:25] *** uf6667 has joined #angularjs
[12:09:31] *** ncbw has joined #angularjs
[12:09:32] <SuperPhly> Gu: good question
[12:09:39] <SuperPhly> i think it just cycles
[12:09:49] <ncbw> can anyone tell me why all of a sudden SomeApp.service() runs before SomeApp.run()
[12:09:53] <Gu> yeah... I hope so haha
[12:09:54] *** uf6667 has quit IRC
[12:10:01] <SuperPhly> why not just do a var in vars then outside of it do {{vars}} to see if it's left in tact
[12:10:34] <Gu> sorry?
[12:10:36] <SuperPhly> Gu: by chance do you know how to ng-repeat on something that looks like this: ['string', 'string', 'string']
[12:10:46] *** torkel_ has joined #angularjs
[12:10:52] <Gu> sorry, I'm new to the frameworkd
[12:10:56] <Gu> framework*
[12:11:24] <Gu> I was taking about the DOM elements
[12:11:27] *** uf6667 has joined #angularjs
[12:11:39] *** AndroUser has joined #angularjs
[12:11:52] <AndroUser> Hi all
[12:11:56] *** ckboii89 has quit IRC
[12:12:53] *** TimmyTones has quit IRC
[12:12:55] <AndroUser> Am using restangular for the service calls in my project. In ie11 i see that some post calls are not being made
[12:13:25] *** mguillech has joined #angularjs
[12:13:28] <AndroUser> Has somebody else faced this? I've googled and still unable to resolve this
[12:13:48] *** toastynerd has joined #angularjs
[12:14:09] <AndroUser> The REST calls work fine in other browsers
[12:14:14] *** Click66__ has quit IRC
[12:14:23] *** secondjeff has quit IRC
[12:16:24] *** Gu has quit IRC
[12:16:28] *** niop has quit IRC
[12:16:43] *** Fishy has joined #angularjs
[12:17:04] *** jonasrosenlind has joined #angularjs
[12:17:04] *** uf6667 has quit IRC
[12:17:55] *** robinmitra has joined #angularjs
[12:18:08] *** mguillech has quit IRC
[12:18:08] *** toastynerd has quit IRC
[12:18:12] *** fbenoit has quit IRC
[12:18:36] *** pvde has quit IRC
[12:19:04] *** uf6667 has joined #angularjs
[12:19:41] *** mettjus has joined #angularjs
[12:21:04] *** Fishy has quit IRC
[12:21:50] *** hannesvdvreken has quit IRC
[12:21:55] *** Rakesh_ has quit IRC
[12:24:12] *** wdom has quit IRC
[12:24:34] *** slainer68 has quit IRC
[12:25:08] *** vintik has joined #angularjs
[12:26:45] *** moritzs has joined #angularjs
[12:27:15] *** InezK_away is now known as InezK
[12:28:28] *** zanea is now known as zanea|away
[12:28:38] *** Dwarf has left #angularjs
[12:28:46] *** mven has quit IRC
[12:28:54] *** arussel has joined #angularjs
[12:29:20] *** mven has joined #angularjs
[12:29:22] *** vintik has quit IRC
[12:29:49] *** henn1nk has joined #angularjs
[12:30:10] *** eamonn has joined #angularjs
[12:31:03] *** henn1nk has quit IRC
[12:31:44] *** ededagic has quit IRC
[12:32:05] *** geranimo has joined #angularjs
[12:32:09] *** ededagic has joined #angularjs
[12:33:00] <geranimo> Anyone knows how to get a value from the selected radio button in angularjs
[12:33:15] *** disorder20 has joined #angularjs
[12:33:33] *** [n0b0dy] has quit IRC
[12:33:38] *** JesseEichar_ has quit IRC
[12:33:43] *** [n0b0dy] has joined #angularjs
[12:34:25] <geranimo> Anyone knows how to get a value from the selected radio button in angularjs
[12:36:08] *** TorchDragon has quit IRC
[12:36:26] *** geranimo has quit IRC
[12:37:01] *** roymiloh has quit IRC
[12:37:08] *** InezK is now known as InezK_away
[12:37:18] *** TorchDragon has joined #angularjs
[12:38:17] *** mykz_ has joined #angularjs
[12:38:27] *** Schtive has joined #angularjs
[12:39:09] *** crisbeto has joined #angularjs
[12:39:58] *** da_wunde1 has joined #angularjs
[12:41:41] *** wdom has joined #angularjs
[12:42:44] *** da_wunder has quit IRC
[12:42:55] <ome> It is probably pretty vague, but that is because I am not sure how to tackle the issue in general.
[12:43:17] <ome> nvm.
[12:43:20] *** jamiemcl has joined #angularjs
[12:44:02] *** rburns has quit IRC
[12:44:03] *** ncbw has quit IRC
[12:44:07] *** swirlycheetah has joined #angularjs
[12:44:21] *** da_wunde1 is now known as da_wunder
[12:44:28] *** jonasrosenlind has quit IRC
[12:46:51] *** hannesvdvreken has joined #angularjs
[12:46:58] *** pvde has joined #angularjs
[12:46:59] *** ededagic has quit IRC
[12:47:43] *** Sebastien-L has quit IRC
[12:48:25] *** toastynerd has joined #angularjs
[12:50:41] *** yoshokatana has joined #angularjs
[12:50:46] *** yoshokatana has quit IRC
[12:50:51] *** jonasrosenlind has joined #angularjs
[12:50:56] *** sk87 has quit IRC
[12:51:03] *** sriram-dev has joined #angularjs
[12:51:11] *** ededagic has joined #angularjs
[12:52:21] *** drej has quit IRC
[12:52:30] *** sk87 has joined #angularjs
[12:52:42] *** AndroUser is now known as Anbarasi
[12:52:45] <sriram-dev> Guys do you know of any open source library for tags with delete icon ?
[12:52:58] <sriram-dev> http://plnkr.co/edit/tY4wzuitVxe1txkj7XfP?p=preview something like tags in this left side of this page
[12:53:05] <Anbarasi> Am using restangular for the service calls in my project. In ie11 i see that some post calls are not being made
[12:53:10] <crisbeto> mememe i do
[12:53:20] <Anbarasi> Has somebody else faced this? I've googled and still unable to resolve this
[12:53:23] *** toastynerd has quit IRC
[12:54:12] *** InezK_away is now known as InezK
[12:54:24] *** charuru has quit IRC
[12:54:38] *** crisbeto_ has joined #angularjs
[12:55:25] *** Djankie has joined #angularjs
[12:56:30] *** mettjus has quit IRC
[12:57:07] *** ededagic has quit IRC
[12:57:08] *** tarnus has joined #angularjs
[12:57:34] *** davedev24_ has joined #angularjs
[12:57:37] *** crisbeto has quit IRC
[12:57:40] *** heavyhorse has joined #angularjs
[12:58:22] *** bullicon has quit IRC
[12:58:34] *** dob_ has quit IRC
[12:58:54] *** eamonn has quit IRC
[12:59:01] *** eamonn has joined #angularjs
[12:59:21] *** dob_ has joined #angularjs
[12:59:32] *** ncbw has joined #angularjs
[12:59:52] *** moritzs has quit IRC
[13:00:01] *** dazs has quit IRC
[13:00:02] *** bullicon has joined #angularjs
[13:00:22] *** ngoyal has joined #angularjs
[13:00:58] *** ppppaul has quit IRC
[13:01:54] *** tarnus has quit IRC
[13:01:55] *** ppppaul has joined #angularjs
[13:02:13] *** seydoggy has joined #angularjs
[13:02:59] *** arussel has quit IRC
[13:03:24] *** Anbarasi has quit IRC
[13:03:29] *** danielpquinn has joined #angularjs
[13:04:06] *** InezK is now known as InezK_away
[13:05:06] *** ngoyal has quit IRC
[13:05:52] *** dutis has quit IRC
[13:06:25] *** AnybodyElse has quit IRC
[13:06:25] *** jga has quit IRC
[13:06:30] *** richburke has quit IRC
[13:06:36] *** Ironlink has quit IRC
[13:06:38] *** dnyy has quit IRC
[13:06:38] *** bobbyd918 has quit IRC
[13:06:49] *** SeWo has joined #angularjs
[13:06:51] *** richburke has joined #angularjs
[13:06:56] *** Ironlink has joined #angularjs
[13:06:59] *** admix|away has quit IRC
[13:07:07] *** bobbyd918 has joined #angularjs
[13:07:10] *** dnyy has joined #angularjs
[13:07:17] *** AnybodyElse has joined #angularjs
[13:07:32] *** jga has joined #angularjs
[13:07:42] *** t_p has quit IRC
[13:07:42] *** danielpquinn has quit IRC
[13:07:43] *** sk87 has quit IRC
[13:07:58] *** ckboii89 has joined #angularjs
[13:08:22] *** BobbieBarker has quit IRC
[13:08:22] *** kemm0 has joined #angularjs
[13:08:32] *** disorder20 has quit IRC
[13:08:45] *** admix|away has joined #angularjs
[13:10:23] *** dob_ has quit IRC
[13:10:29] *** dob_ has joined #angularjs
[13:10:30] *** mettjus has joined #angularjs
[13:10:46] *** klaut has quit IRC
[13:11:02] *** marr has quit IRC
[13:11:15] *** pvde has quit IRC
[13:11:25] *** Cavallari has joined #angularjs
[13:11:39] *** XoRoN has quit IRC
[13:11:53] *** tommmied has quit IRC
[13:11:56] *** ckboii89 has quit IRC
[13:12:06] *** mguillech has joined #angularjs
[13:13:39] *** marr has joined #angularjs
[13:14:01] *** amedia has quit IRC
[13:14:02] *** fold has quit IRC
[13:14:13] *** Schtive has quit IRC
[13:15:03] *** TimmyTones has joined #angularjs
[13:15:22] *** agronholm has quit IRC
[13:15:31] *** Oddman has joined #angularjs
[13:16:12] *** Aswebb has quit IRC
[13:16:14] *** pvde has joined #angularjs
[13:17:49] *** rk has joined #angularjs
[13:17:51] <rk> hai
[13:18:17] <rk> i have doubt in angular
[13:19:25] *** rk has quit IRC
[13:19:27] *** MattWelch has joined #angularjs
[13:19:45] *** bulkan has joined #angularjs
[13:19:51] *** Aswebb_ has joined #angularjs
[13:20:24] *** agronholm has joined #angularjs
[13:20:55] *** juampy has joined #angularjs
[13:21:40] *** crisbeto_ has quit IRC
[13:21:54] *** softinio has joined #angularjs
[13:22:51] *** vbabiy has joined #angularjs
[13:22:51] *** stevewlf has joined #angularjs
[13:23:43] *** agronholm has quit IRC
[13:23:45] *** slainer68 has joined #angularjs
[13:24:01] *** [n0b0dy] has quit IRC
[13:24:11] *** [n0b0dy] has joined #angularjs
[13:24:37] <softinio> hi
[13:24:51] *** nxf has joined #angularjs
[13:25:17] *** AndroUser has joined #angularjs
[13:25:20] *** AndroUser is now known as Anbarasi
[13:25:41] *** moritzs has joined #angularjs
[13:25:46] <nxf> Hi, is there a way to catch ALL events using $on, for debugging? Or alternatively a list of all events emitted by Angular itself?
[13:26:06] *** vintik has joined #angularjs
[13:26:08] <softinio> so to get a quick start with angular best to look at phonecat tutorial or the codeschool course?
[13:27:11] *** rawry has joined #angularjs
[13:27:35] <rawry> good day, fellow angular devs
[13:27:50] <rawry> can someone help me with this little question I'm having? http://stackoverflow.com/questions/24954712/angular-service-available-at-configuration-phase
[13:27:51] <nxf> hello rawry
[13:29:14] <Foxandxss> nxf: I never heard about that
[13:29:29] *** fold has joined #angularjs
[13:29:30] <Foxandxss> softinio: I never tried any of them, but I only hear good things about the codeschool one
[13:29:33] <Foxandxss> and since it is free...
[13:29:58] <sriram-dev> Foxandss you know of any angular tags directive ?
[13:30:12] <Foxandxss> I don't recall any sorry
[13:30:12] *** vintik has quit IRC
[13:32:42] *** Jmart__ has quit IRC
[13:32:42] <sriram-dev> ok
[13:32:45] <sriram-dev> np
[13:34:56] *** mettjus has quit IRC
[13:35:00] *** nawi has left #angularjs
[13:36:26] *** Al` has joined #angularjs
[13:37:08] *** malibagci has joined #angularjs
[13:37:26] *** TorchDragon has quit IRC
[13:37:42] *** malibagci has quit IRC
[13:37:55] *** roymiloh has joined #angularjs
[13:38:05] *** UniBot has joined #angularjs
[13:38:12] <softinio> Foxandxss: thanks will give it a go
[13:38:29] *** TorchDragon has joined #angularjs
[13:38:48] <Foxandxss> I want to do it too, so I can give precise feedback, but it wouldn't be as good as the feedback you could provide
[13:39:10] *** moritzs has quit IRC
[13:39:21] *** UniBot has quit IRC
[13:39:23] *** mehlah has joined #angularjs
[13:39:35] *** UniBot has joined #angularjs
[13:39:41] *** hswolff has joined #angularjs
[13:41:15] *** SeWo has quit IRC
[13:41:48] *** Sebastien-L has joined #angularjs
[13:42:12] <Al`> I have a filter that's running on a collection. Because of the conditions of my filter, 0 results are being returned. I'd expect an empty array to be returned but instead I'm seeing [ "0" ] being returned instead?
[13:42:22] <Al`> this is causing probs with my ng-repeat as it still thinks there's an item in the collection
[13:42:27] *** roymiloh has quit IRC
[13:42:31] <Al`> any way around this?
[13:42:46] <Foxandxss> you know what you have to do to get help Al`
[13:43:11] *** bengillies has quit IRC
[13:43:37] *** Oddman has quit IRC
[13:43:45] *** drej has joined #angularjs
[13:43:55] *** encrypt3d_fracti has joined #angularjs
[13:44:25] *** stevewlf has quit IRC
[13:45:08] <Al`> yea, creating an example is going to be hell on earth
[13:45:14] <Al`> but it's okay, I think i've thought of a solution :-)
[13:45:36] *** arussel has joined #angularjs
[13:46:20] *** night-owl2 has quit IRC
[13:46:28] *** Click66 has joined #angularjs
[13:46:48] *** bullicon has quit IRC
[13:46:57] *** Oddman has joined #angularjs
[13:47:08] *** matthoiland has joined #angularjs
[13:47:30] *** fbenoit has joined #angularjs
[13:47:31] *** scmx has quit IRC
[13:47:42] *** Guest18957 has quit IRC
[13:47:50] *** bengillies has joined #angularjs
[13:47:54] *** lsiv568 has joined #angularjs
[13:48:22] *** encrypt3d_fracti has quit IRC
[13:48:51] *** knownasilya has joined #angularjs
[13:49:05] *** rtpg has joined #angularjs
[13:49:06] *** toastynerd has joined #angularjs
[13:51:15] *** ededagic has joined #angularjs
[13:51:35] *** matthoiland has quit IRC
[13:52:19] *** Al` has quit IRC
[13:52:21] *** sysko has quit IRC
[13:52:31] *** jtimon has joined #angularjs
[13:53:09] *** Oddman has quit IRC
[13:53:22] *** Anbarasi has quit IRC
[13:53:46] *** dazs has joined #angularjs
[13:53:46] *** sk87 has joined #angularjs
[13:53:49] *** toastynerd has quit IRC
[13:54:00] <sriram-dev> lol
[13:54:07] *** spookyfork has joined #angularjs
[13:55:02] *** atomical has quit IRC
[13:55:07] *** InezK_away is now known as InezK
[13:56:11] *** frostig has joined #angularjs
[13:56:37] *** Siecje has joined #angularjs
[13:57:05] *** tgkokk has joined #angularjs
[13:57:56] *** plitzenberger has joined #angularjs
[13:58:12] *** void_0__ has left #angularjs
[13:58:19] *** heavyhorse has quit IRC
[13:58:36] *** epantzar has joined #angularjs
[13:58:36] *** bulkan has quit IRC
[13:58:41] *** mchapman has quit IRC
[13:59:06] *** matthoiland has joined #angularjs
[13:59:34] *** guilbep has joined #angularjs
[13:59:40] *** ericbarnes has joined #angularjs
[13:59:52] *** Jdubs has joined #angularjs
[13:59:57] *** Tomdarkness has joined #angularjs
[14:00:06] *** dob_ has quit IRC
[14:00:14] *** ingshtrom has joined #angularjs
[14:00:34] *** Click66 has quit IRC
[14:00:36] *** dob_ has joined #angularjs
[14:00:46] *** tarnus has joined #angularjs
[14:01:10] *** klaut has joined #angularjs
[14:02:52] *** drej has quit IRC
[14:03:23] *** vader has quit IRC
[14:03:36] *** matthoiland has quit IRC
[14:04:07] *** danielpquinn has joined #angularjs
[14:04:18] *** Jdubs has quit IRC
[14:04:36] *** jk-5 is now known as jk-5|gone
[14:04:51] *** InezK is now known as InezK_away
[14:05:06] *** JasonStoltz has joined #angularjs
[14:05:22] *** klaut has quit IRC
[14:06:43] *** calvinx has joined #angularjs
[14:07:02] *** henn1nk has joined #angularjs
[14:07:03] *** torkel_ has quit IRC
[14:07:24] *** vader has joined #angularjs
[14:08:02] *** mchapman has joined #angularjs
[14:08:08] *** mtsr has joined #angularjs
[14:08:22] *** SomeDude has joined #angularjs
[14:08:30] *** jamto11 has joined #angularjs
[14:08:36] *** ckboii89 has joined #angularjs
[14:08:42] *** DoubleAW has quit IRC
[14:08:45] *** danielpquinn has quit IRC
[14:09:36] *** mettjus has joined #angularjs
[14:10:12] *** azizur has quit IRC
[14:10:27] *** ppppaul has quit IRC
[14:11:32] *** DoubleAW has joined #angularjs
[14:11:52] *** akrikos has joined #angularjs
[14:12:01] <rtpg> hey, is there a place that actually describes angular expressions?
[14:12:12] <rtpg> as in, an EBNF grammar or something?
[14:12:18] *** DevAntoine has joined #angularjs
[14:12:21] <Foxandxss> rtpg: what do you need to know?
[14:12:27] <Foxandxss> the place is the source, what else :P
[14:12:44] *** ckboii89 has quit IRC
[14:12:54] <rtpg> an actual language grammar would be nice. I'm just curious as to the possibilities
[14:13:00] <rtpg> as in, what you can write in an expression
[14:13:10] <uf6667> it's javascript
[14:13:12] *** seydoggy has quit IRC
[14:13:33] <rtpg> uf6667: if you look at the source code, it isn't, it's parsed via an internal parser
[14:13:40] <uf6667> I don't bother learning the entire thing tbh
[14:13:45] <uf6667> I'm a hardware hacker
[14:13:47] *** seydoggy has joined #angularjs
[14:13:52] <uf6667> so fuck computer languages to begin with :)
[14:13:54] <Foxandxss> uf6667: it is not
[14:13:57] <uf6667> I just copy and paste
[14:14:00] *** mronoffon_clone has joined #angularjs
[14:14:06] <uf6667> well, you can bind Math to your controller
[14:14:16] <uf6667> and then use it inside ng-*=""
[14:14:20] <Foxandxss> that doesn't make the expression language javascript
[14:14:25] <uf6667> so to me, I just see it as js
[14:14:26] <Foxandxss> it is a custom DSL
[14:14:30] <uf6667> sure, maybe not
[14:14:33] <uf6667> to me it works
[14:14:38] <rtpg> it seems to be close to it , but I was wondering whether there was a more complete explanation than "it's kinda like javascript" (which is basically what the docs say)
[14:14:57] <Foxandxss> rtpg: ok, I have a good knowledge about it
[14:15:01] <Foxandxss> you can ask what you need
[14:15:05] <Foxandxss> but basically...
[14:15:13] <Foxandxss> it does like an eval
[14:15:20] <Foxandxss> but not as evil as javascript eval
[14:15:35] <Foxandxss> every express run on the $scope's scope
[14:15:46] *** jamiemcl has quit IRC
[14:15:47] <Foxandxss> so you can't run dangerous things on it
[14:16:42] *** Fishy has joined #angularjs
[14:16:43] <Foxandxss> you can assign values to properties of the scope, execute functions, access an array elements or even pass an object to it
[14:17:13] <Foxandxss> it prevents you to do a few things that would end on problems, like using the constructor
[14:17:30] *** Sgeo has quit IRC
[14:18:07] *** seydoggy has quit IRC
[14:18:49] *** lordkryss has joined #angularjs
[14:19:38] *** whitebook has joined #angularjs
[14:19:57] <Foxandxss> rtpg: otoh, there is a complete explanation, as complete as it could be
[14:20:05] <Foxandxss> be writing the parser/lexer by yourself
[14:20:05] *** Silne30 has joined #angularjs
[14:20:10] <Foxandxss> with explanations along the way
[14:20:24] *** jlambert has quit IRC
[14:20:44] *** jlambert has joined #angularjs
[14:20:53] *** Fishy has quit IRC
[14:21:09] *** ededagic has quit IRC
[14:21:23] *** epantzar has quit IRC
[14:21:34] *** umib0zu has joined #angularjs
[14:22:00] *** pskrz has joined #angularjs
[14:22:40] *** ppppaul has joined #angularjs
[14:22:50] <rtpg> I'm actually looking through Parser right now, kinda interesting to step through
[14:24:05] *** henn1nk has quit IRC
[14:24:13] *** plitzenberger has quit IRC
[14:24:40] *** jeffszusz has joined #angularjs
[14:25:23] *** tgkokk has quit IRC
[14:25:25] *** spookyfork is now known as spookyforl|afk
[14:25:53] *** arntempelgibbarn has quit IRC
[14:26:13] *** Click66 has joined #angularjs
[14:26:23] *** tgkokk has joined #angularjs
[14:26:48] *** kas84 has quit IRC
[14:27:24] *** dob_ has quit IRC
[14:27:31] *** dob_ has joined #angularjs
[14:27:44] *** mamarilmanson has joined #angularjs
[14:27:45] *** telepantman has joined #angularjs
[14:28:09] *** apetro_ has joined #angularjs
[14:28:35] *** mihalybak has joined #angularjs
[14:29:24] *** UniBot has quit IRC
[14:30:34] *** mccarrontr1ck has joined #angularjs
[14:30:43] *** ngbot has joined #angularjs
[14:30:43] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/7WwlLA
[14:30:43] <ngbot> angular.js/master 37117ab TheMrSteve: docs(tutorial/step-3): note that the server needs to be running before running Protractor...
[14:30:44] *** ngbot has left #angularjs
[14:30:45] *** syed99 has quit IRC
[14:31:37] *** digia|away is now known as digia
[14:31:57] *** FIFOd[a] has joined #angularjs
[14:33:47] *** shivam_ has joined #angularjs
[14:34:01] <shivam_> Hello
[14:35:31] *** whiteboo_ has joined #angularjs
[14:35:40] *** shivam_ has quit IRC
[14:35:58] *** jk-5|gone is now known as jk-5
[14:36:50] *** epantzar has joined #angularjs
[14:36:52] *** roymiloh has joined #angularjs
[14:36:54] *** whitebook has quit IRC
[14:37:10] *** mtsr has quit IRC
[14:37:33] *** whitebook has joined #angularjs
[14:37:56] *** Click66 has quit IRC
[14:37:57] *** amedia has joined #angularjs
[14:38:22] *** eamonn has quit IRC
[14:38:36] *** kdu has joined #angularjs
[14:38:39] *** amedia has quit IRC
[14:38:56] *** Click66 has joined #angularjs
[14:39:07] <kdu> Does anyone used angularjs with phonegap ?
[14:39:17] *** TorchDragon has quit IRC
[14:39:25] *** amedia has joined #angularjs
[14:39:50] *** ayr-ton has joined #angularjs
[14:39:52] *** whiteboo_ has quit IRC
[14:39:58] *** ayr-ton has left #angularjs
[14:40:19] *** scmx has joined #angularjs
[14:40:21] *** TorchDragon has joined #angularjs
[14:41:10] *** whiteboo_ has joined #angularjs
[14:41:12] <Foxandxss> rtpg: http://teropa.info/build-your-own-angular
[14:41:15] <Foxandxss> 300% recommended
[14:41:22] <Foxandxss> kdu: check ionic
[14:41:38] *** cigol has quit IRC
[14:41:44] <Foxandxss> rtpg: it is not completed yet, but covers all the parser
[14:41:53] *** whitebook has quit IRC
[14:42:03] *** evilaliv3 has quit IRC
[14:43:15] <anger> Any suggestions how to disable boostrap-ui typeahead on certain cases?
[14:43:25] *** JasonStoltz has quit IRC
[14:43:37] *** agronholm has joined #angularjs
[14:43:49] <anger> I'm using it on a project edit form which can be used both to create new projects and to update current projects
[14:43:50] <Foxandxss> use a ngSwitch to put a normal input on that case
[14:43:55] *** eamonn has joined #angularjs
[14:43:57] *** JasonStoltz has joined #angularjs
[14:44:02] <Foxandxss> based on new or update
[14:44:11] *** epantzar has quit IRC
[14:44:30] *** greengriminal has quit IRC
[14:44:52] <anger> Do I get some problems if I have two inputs bind to same name?
[14:45:02] *** sacho has joined #angularjs
[14:45:04] <anger> Even if the other is removed with ngSwitch?
[14:45:05] <Foxandxss> only one will be there
[14:45:11] <Foxandxss> and even if not
[14:45:19] <Foxandxss> you can have as many input as you like
[14:45:41] *** mikehaas763 has quit IRC
[14:45:53] <anger> Yeah, I can make some other workarounds if I get problems there
[14:45:56] <anger> Thanks!
[14:46:46] *** zerd has joined #angularjs
[14:46:46] *** vader has quit IRC
[14:46:53] *** bullicon has joined #angularjs
[14:47:14] *** guilbep has quit IRC
[14:47:38] *** night-owl2 has joined #angularjs
[14:48:06] *** drej has joined #angularjs
[14:48:08] *** ktornwall has joined #angularjs
[14:48:41] *** whiteboo_ has quit IRC
[14:48:43] *** partikus has joined #angularjs
[14:48:53] *** telepantman is now known as tp1
[14:49:02] *** partikus has left #angularjs
[14:49:12] *** vbabiy has quit IRC
[14:49:13] *** vader has joined #angularjs
[14:49:33] *** bejames has joined #angularjs
[14:49:35] *** vbabiy has joined #angularjs
[14:49:39] <sriram-dev> say i want to implement search ..how would i parse url params and what is the best way to pass params to the search page ?
[14:49:44] *** fourq has quit IRC
[14:49:47] *** UniBot has joined #angularjs
[14:49:49] *** fourq_ has joined #angularjs
[14:49:51] *** nicholaswyoung has joined #angularjs
[14:49:55] *** toastynerd has joined #angularjs
[14:50:05] *** tomzx`afk is now known as tomzx
[14:50:55] *** mikehaas763 has joined #angularjs
[14:51:15] *** fourq_ is now known as fourq
[14:51:50] <blackkbot> its called form serialization
[14:52:11] *** lordkryss has quit IRC
[14:52:40] *** kas84 has joined #angularjs
[14:53:09] *** agronholm has quit IRC
[14:53:20] *** arntempelgibbarn has joined #angularjs
[14:53:21] *** juampy is now known as juampy_gnomgnom
[14:53:26] <sriram-dev> think i could have custom param option mentioned in routeProvider .. something like /search/:query and parse in controller
[14:53:41] <sriram-dev> is that a good way to go about it ?
[14:53:58] *** DeanH has joined #angularjs
[14:53:59] *** mykz_ has quit IRC
[14:54:04] *** klaut has joined #angularjs
[14:54:05] *** DeanH has quit IRC
[14:54:12] <blackkbot> no idea i know js no angular ... ive been meaning to learn it since
[14:54:33] *** bluesm has quit IRC
[14:54:40] <blackkbot> i joined this channel months ago and talk in here daily but do i know it... not at all
[14:54:43] *** toastynerd has quit IRC
[14:54:48] *** FIFOd[a] has quit IRC
[14:55:04] <sriram-dev> LOL .. well you are outspoken !
[14:55:06] *** scmx has quit IRC
[14:55:10] *** whitebook has joined #angularjs
[14:55:15] *** FIFOd[a] has joined #angularjs
[14:55:15] *** jonasrosenlind has quit IRC
[14:55:34] <Foxandxss> that is a good feature
[14:55:54] *** InezK_away is now known as InezK
[14:56:13] <sriram-dev> Foxandss have any idea on whether that is the right way of passing info ?
[14:56:15] *** mikehaas763 has quit IRC
[14:56:54] <Foxandxss> Use tab to complete nicks
[14:56:58] <Foxandxss> second time you put mine wrong
[14:57:00] *** xavia has joined #angularjs
[14:57:07] <Foxandxss> I never did a search in angular
[14:57:11] <Foxandxss> I know there is $location.search()
[14:57:18] <Foxandxss> I would research that
[14:57:42] *** djam90 has quit IRC
[14:57:52] *** xavia has quit IRC
[14:58:14] *** nicholaswyoung has quit IRC
[14:58:15] <sriram-dev> ll make sure i use tabs next time :)
[14:58:19] *** Aartsie has quit IRC
[14:58:53] *** Aartsie has joined #angularjs
[15:00:58] *** Aartsie has quit IRC
[15:01:12] <Foxandxss> not that I care about wrong nick, but I don't receive a notification if you do it wrong
[15:01:14] *** ngoyal has joined #angularjs
[15:01:15] *** alex_ has quit IRC
[15:01:16] *** Oddman has joined #angularjs
[15:01:23] *** Aartsie has joined #angularjs
[15:01:28] <sriram-dev> think that will work .. yes sure i understood why you were saying that too
[15:01:42] *** jKlaus has joined #angularjs
[15:01:48] *** house has joined #angularjs
[15:03:04] *** mmccook has joined #angularjs
[15:03:38] *** jamiemcl has joined #angularjs
[15:03:52] *** jKlaus has quit IRC
[15:04:14] *** FIFOd[a] has quit IRC
[15:04:33] *** nicholaswyoung has joined #angularjs
[15:04:38] *** FIFOd[a] has joined #angularjs
[15:04:57] *** danielpquinn has joined #angularjs
[15:05:04] *** FIFOd[a] has quit IRC
[15:05:31] *** FIFOd[a] has joined #angularjs
[15:05:32] *** InezK is now known as InezK_away
[15:05:42] *** ngoyal has quit IRC
[15:06:38] *** nicholaswyoung has quit IRC
[15:07:11] *** Ilyas_ has quit IRC
[15:07:28] *** mfunkie has joined #angularjs
[15:07:38] *** tarkus has joined #angularjs
[15:08:22] *** SomeDude has quit IRC
[15:09:28] *** ckboii89 has joined #angularjs
[15:09:34] *** danielpquinn has quit IRC
[15:10:29] *** msarta has quit IRC
[15:10:46] *** softinio has quit IRC
[15:10:58] *** seydoggy has joined #angularjs
[15:11:53] *** scmx has joined #angularjs
[15:13:00] *** whitebook has quit IRC
[15:13:32] *** ckboii89 has quit IRC
[15:14:22] *** mglvl has joined #angularjs
[15:14:26] *** mmitchel_ has joined #angularjs
[15:15:06] *** jKlaus has joined #angularjs
[15:16:13] *** marcospgp has quit IRC
[15:16:24] *** intellix has joined #angularjs
[15:16:38] *** CodeFriar has joined #angularjs
[15:16:48] <jKlaus> Hey guys, I was in here yesterday with an issue of $location.path() making things on the page that it redirects to act strangely. I should say that someone suggested $location.path was the problem. Does anyone know enough of that issue to speak to it?
[15:16:57] <jKlaus> I'm trying to figure out a solution
[15:17:13] *** lsiv568 has quit IRC
[15:17:22] <jKlaus> I've tried feeding the absolute url into path but that causes it to redirect to an entirely different location
[15:17:24] *** krawchyk has joined #angularjs
[15:17:55] *** dawee has joined #angularjs
[15:18:01] *** krawchyk has joined #angularjs
[15:18:12] *** imehesz has joined #angularjs
[15:18:25] *** seydoggy has quit IRC
[15:18:42] <dawee> Hey all, I'm looking for a way to convery %2B in a url into %20 within my html <span> that takes a url
[15:18:51] *** Roots47 has joined #angularjs
[15:18:57] *** seydoggy has joined #angularjs
[15:19:13] <Roots47> Hey guys, is there a way to differentiate between which validation error is being shown on a form field?
[15:19:22] *** BillCriswell has joined #angularjs
[15:19:40] *** francisl has joined #angularjs
[15:19:40] *** francisl has quit IRC
[15:19:41] *** fifthofwry has joined #angularjs
[15:19:50] <Roots47> from a controller
[15:20:01] *** bencc has quit IRC
[15:20:16] *** francisl has joined #angularjs
[15:21:01] *** teslanick has joined #angularjs
[15:21:05] *** nitsujw has joined #angularjs
[15:21:15] *** mikehaas763 has joined #angularjs
[15:21:55] *** robyone has joined #angularjs
[15:21:57] *** kachi8 has quit IRC
[15:22:37] <robyone> the links on the api documentation are broken
[15:22:58] *** robyone has quit IRC
[15:23:07] *** livingstn has joined #angularjs
[15:23:33] *** seydoggy has quit IRC
[15:24:08] *** Fishy has joined #angularjs
[15:25:00] *** calumet has joined #angularjs
[15:25:31] <anger> My fears have become true
[15:26:01] *** lite_ has quit IRC
[15:26:20] <anger> I have <div ng-if="isNew"><input type="text" data-model="name" /></div>
[15:26:45] <anger> Now when I update $scope.name nothing seems to change in input
[15:26:56] <anger> But when I remove ngIf element it all works
[15:27:18] *** teslanick has left #angularjs
[15:27:19] *** amedia has quit IRC
[15:27:21] *** atomical has joined #angularjs
[15:27:25] *** vintik has joined #angularjs
[15:28:30] *** Oddman has quit IRC
[15:28:46] *** torkel_ has joined #angularjs
[15:29:01] *** fedenunez has joined #angularjs
[15:30:06] *** juanlas has joined #angularjs
[15:30:14] *** LoveAndHappiness has quit IRC
[15:31:03] *** plato has quit IRC
[15:31:34] *** meinside has quit IRC
[15:31:45] *** night-owl2 has quit IRC
[15:31:51] *** Cavallari has quit IRC
[15:31:52] *** vintik has quit IRC
[15:31:56] *** retzloff has joined #angularjs
[15:32:24] *** mennea has joined #angularjs
[15:32:29] <sacho> your...fears?
[15:32:46] *** jerev_away is now known as jerev
[15:32:51] <sacho> show a test case demonstrating that.
[15:33:00] <Foxandxss> anger: is not a fear, just ignorance
[15:33:06] <Foxandxss> ignorance has cure
[15:33:11] *** ggrzybek has quit IRC
[15:33:36] *** azizur has joined #angularjs
[15:33:56] <jKlaus> Man I am getting some really strange things happening
[15:33:59] *** spookyforl|afk is now known as spookyfork
[15:34:03] *** DevAntoine has quit IRC
[15:34:13] *** ggrzybek has joined #angularjs
[15:34:14] <kirfu|work> anyone know some good angular app examples where I can see code style from?
[15:34:15] <anger> yeah, any ideas how to fix it?
[15:34:29] *** DevAntoine has joined #angularjs
[15:34:47] <Foxandxss> anger: of course
[15:34:52] *** night-owl2 has joined #angularjs
[15:34:57] <sriram-dev> probably fear is due to ignorance
[15:35:00] *** lsiv568 has joined #angularjs
[15:35:04] <Foxandxss> anger: https://github.com/angular/angular.js/wiki/Understanding-Scopes
[15:35:05] <Foxandxss> read that
[15:35:10] <Foxandxss> and you will be able to fix it
[15:35:25] <Foxandxss> sriram-dev: that is correct
[15:35:34] <anger> ok, I will!
[15:35:58] *** ngbot has joined #angularjs
[15:35:59] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/LGyNIQ
[15:35:59] <ngbot> angular.js/master fefb7ed Peter Bacon Darwin: docs(tutorial/step-2): note that ng-app now needs a module name...
[15:35:59] *** ngbot has left #angularjs
[15:36:03] <jKlaus> There is a directive that loads a template. Depending how I navigate to the view before the view that implements the directive template it either works correctly or seems to fire every click even associated with the directive template as it renders
[15:36:06] <anger> hope that it will reduce my ignorance :)
[15:36:09] *** bengilli_ has joined #angularjs
[15:36:19] <jKlaus> event*
[15:36:19] *** ggrzybek has quit IRC
[15:36:25] *** spookyfork has quit IRC
[15:36:31] *** FIFOd[a] has quit IRC
[15:36:49] <jKlaus> Foxandxss, have you ever heard of anything that crazy?
[15:37:02] *** bengillies has quit IRC
[15:37:08] <Foxandxss> jKlaus: I heard a lot of things, but I only work with something I can see
[15:37:12] *** FIFOd[a] has joined #angularjs
[15:37:29] *** Tomdarkness has quit IRC
[15:37:52] *** CupOfCocoa has joined #angularjs
[15:37:59] <jKlaus> I don't know how I can show you this.. its locked in the client's environment
[15:38:20] <jKlaus> But seriously.. wtf could cause this issue
[15:38:29] <jKlaus> If I refresh the page everything works fine
[15:38:47] *** seydoggy has joined #angularjs
[15:38:54] *** foofoobar has quit IRC
[15:38:56] <ansu> lol I didn't even now until now that angular looks for controllers in the global namespace...
[15:39:09] *** phuh has joined #angularjs
[15:39:48] *** phuh has quit IRC
[15:40:01] <Foxandxss> what global namcespace?
[15:40:13] <DevAntoine> I'm having a weird bug. I've got a page with a search field. When the submit button is hit, a hidden table, below this field, is filled with data using ngRepeat. And sometimes, it seems like the browser does not recalculate the height, hence making no scrollbar. The page is sort of cut. All the dom is loaded but I can't scroll down
[15:40:22] <ansu> does it only do this with controllers or also services, etc ?
[15:40:31] <DevAntoine> ever seen something like this? I don't even know what to google
[15:40:39] <ansu> Foxandxss, I think it's window?
[15:40:49] <Foxandxss> and why window would have the controllers?
[15:41:07] <CupOfCocoa> I have an ng-include in a larger div with a controller like this: http://pastebin.com/d6BmYAiq How can I get the ng-include to always include the template to which my controller variable currently points to?
[15:41:19] *** aaunel has joined #angularjs
[15:41:22] <ansu> Foxandxss, because you can define them outside of an angular module. but ofc you shouldn't do that in a real app ^^
[15:41:36] *** teeray has joined #angularjs
[15:41:37] <Foxandxss> ah, you meant that
[15:41:38] *** Dimlock has quit IRC
[15:41:50] <Foxandxss> yes, that is correct, never do that, you will be happier
[15:41:58] <jKlaus> Foxandxss, do you remember who it was in here yesterday talking about the issue he introduced into $location.path?
[15:42:27] *** dman777 has quit IRC
[15:42:28] <Foxandxss> I do, was caitp
[15:42:29] *** Dimlock has joined #angularjs
[15:42:35] <Foxandxss> and is a she
[15:42:40] <ansu> Foxandxss, yeah I just didn't know it until now ^^ I read http://toddmotto.com/opinionated-angular-js-styleguide-for-teams/ which brought my attention to this
[15:42:46] *** ioudas has left #angularjs
[15:42:51] <Foxandxss> that doccument is kinda crappy
[15:42:55] <Foxandxss> document
[15:42:55] *** evilaliv3 has joined #angularjs
[15:43:02] *** mrits has joined #angularjs
[15:43:04] <jKlaus> ah
[15:43:05] <jKlaus> thanks
[15:43:09] *** bijan07077 has joined #angularjs
[15:43:18] <ansu> you mean that styleguide ?
[15:43:23] <Foxandxss> yes
[15:43:28] <ansu> why?
[15:43:32] <Foxandxss> we discussed that yesterday
[15:43:41] <aaunel> what's the consensus on <expression>="truthy * truthy" instead of <expression>="truthy && truthy"?
[15:43:46] *** bmac has joined #angularjs
[15:43:50] <DevAntoine> .controller('MainCtrl', MainCtrl);
[15:43:52] <DevAntoine> SRLSY?
[15:43:57] *** simsketch has quit IRC
[15:44:04] <Foxandxss> ansu: the controllerAs part is completely wrong
[15:44:09] <aaunel> alike <expression>="truthy + truthy" instead of <expression>="truthy || truthy"
[15:44:12] <Foxandxss> and then he recommend some weird stuff
[15:44:26] <ansu> Foxandxss, do you remember when you discussed it. so I can check the logs for it :D
[15:44:33] <Foxandxss> styleguides is as shit as those best practices guys are always looking
[15:44:38] <Foxandxss> uhm
[15:44:47] <DevAntoine> Foxandxss: so no bother reading it?
[15:45:02] <ansu> haha
[15:45:16] *** fedenunez has quit IRC
[15:45:17] *** arussel has quit IRC
[15:45:18] *** Dimlock has quit IRC
[15:45:19] *** encrypt3d_fracti has joined #angularjs
[15:45:30] <Foxandxss> DevAntoine: I wouldn't
[15:45:40] *** guilbep has joined #angularjs
[15:45:48] <DevAntoine> Foxandxss: speaking of styleguides, I'm still looking for the best formatting option for controller/service/directive definition when injecting multiple parameters
[15:45:53] *** Dimlock has joined #angularjs
[15:45:58] <Trow> i have a problem when i switch to other language the link in the adress bar chanhe once i click but it doesnt load the right json file // it loads it only when i refresh the page
[15:45:58] <Trow> http://pastebin.com/3jCMtwTE
[15:46:05] *** mennea has quit IRC
[15:46:23] <Foxandxss> ansu: around 16pm on western europe time :P
[15:46:27] *** mennea has joined #angularjs
[15:46:32] <ansu> which different formatting options do you mean DevAntoine ?
[15:46:36] <Foxandxss> ansu: http://echelog.com/logs/browse/angularjs/1406152800
[15:46:40] <Foxandxss> 16pm there
[15:46:50] <DevAntoine> ansu: http://pastebin.com/RJ2zrK4k
[15:46:52] <Foxandxss> hoping that the time there doesn't change
[15:47:05] <Foxandxss> DevAntoine: formatting option? what you mean?
[15:47:09] <ansu> let's see. i'm in western europe too
[15:47:23] *** nfroidure has quit IRC
[15:47:24] <DevAntoine> Foxandxss: look at my past. I don't know how to correctly format it
[15:47:42] *** fedenunez has joined #angularjs
[15:47:46] <ansu> DevAntoine, I just switched to ng-annotate and I don't use the array form at all
[15:47:51] *** nicholaswyoung has joined #angularjs
[15:47:53] *** matthoiland has joined #angularjs
[15:47:57] <Foxandxss> DevAntoine: I am not witch to look into your past
[15:47:58] <Foxandxss> :P
[15:48:08] <DevAntoine> :D
[15:48:09] *** MANCHUCK has joined #angularjs
[15:48:10] <DevAntoine> paste
[15:48:10] *** ipalaus has joined #angularjs
[15:48:19] *** mettjus has quit IRC
[15:48:19] *** khodgson has joined #angularjs
[15:48:32] <DevAntoine> PUT YOUR HAT FOXANDXSS§§§§§§§§§
[15:48:45] *** apetro_ has quit IRC
[15:48:58] *** uf6668 has joined #angularjs
[15:49:11] *** apetro_ has joined #angularjs
[15:49:14] *** rtpg has quit IRC
[15:49:31] *** rtpg has joined #angularjs
[15:49:36] *** encrypt3d_fracti has quit IRC
[15:49:42] <aaunel> any thoughts on using arithmetic in place of operators in expressions?
[15:50:07] <Foxandxss> DevAntoine: yay, that is big
[15:50:14] <DevAntoine> Foxandxss: yes :D
[15:50:23] <Foxandxss> using ng-annotate you could remove half of it
[15:50:39] *** ngbot has joined #angularjs
[15:50:39] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/aeAGVA
[15:50:39] <ngbot> angular.js/master 683d722 dbwhddn10: docs($rootScope): correct the $watch `listener` parameter description...
[15:50:39] *** ngbot has left #angularjs
[15:50:40] *** toastynerd has joined #angularjs
[15:50:44] *** patrickarlt has joined #angularjs
[15:50:56] <ansu> yep I just switched from ngmin to ng-annotate. my app builds like 10 times faster xD
[15:50:59] *** uf6667 has quit IRC
[15:51:13] *** apetro__ has joined #angularjs
[15:51:13] <Foxandxss> ng-min is not going to be maintaned anymore
[15:51:19] *** UniBot has quit IRC
[15:51:20] <ansu> that's why i switched
[15:51:46] *** JakeSays has quit IRC
[15:51:53] <Foxandxss> DevAntoine: also, if you find that some services are used always, create a "common" service that inject those
[15:52:00] <Foxandxss> so you can inject "common" where needed
[15:52:06] <Foxandxss> and do like...
[15:52:09] <anger> Foxandxss: thanks, got my problem solved!
[15:52:12] *** matthoiland has quit IRC
[15:52:13] <DevAntoine> I guess I'll have to read about it and make the switch. Because in our build we already have ngMin, but it's not always working, hence the fact we use the array notation
[15:52:13] <ansu> Foxandxss, I found the discussion in the logs thanks :)
[15:52:14] *** diffkid_ has joined #angularjs
[15:52:14] <Foxandxss> common.foo ...
[15:52:16] <Foxandxss> common.bar...
[15:52:25] <Foxandxss> anger: nice
[15:52:39] <DevAntoine> Foxandxss: oh, never thought about that
[15:52:44] <DevAntoine> a service returning services
[15:52:48] <DevAntoine> nice
[15:52:52] <Foxandxss> it is the beauty or reading someone else code
[15:52:58] <Foxandxss> you discover tricks you never thought about
[15:53:03] *** antonyjsmith has joined #angularjs
[15:53:05] <ansu> DevAntoine, it doesn't work for resolve afaik. Just use array annotation there. But as Foxandxss said ngMin is deprecated ;)
[15:53:07] <DevAntoine> Foxandxss: were did you discover this one?
[15:53:16] <Foxandxss> on a pluralsight course
[15:53:20] <Foxandxss> about asp.net + angular + breeze
[15:53:22] <DevAntoine> ansu: yeah, resolve cause us issues
[15:53:26] *** krawek has joined #angularjs
[15:53:26] *** krawek has joined #angularjs
[15:53:30] <DevAntoine> ansu: still the same with ngAnnotate?
[15:53:35] *** guilbep has quit IRC
[15:53:36] <DevAntoine> ok
[15:53:41] *** Destos has joined #angularjs
[15:53:44] *** apetro_ has quit IRC
[15:54:00] *** yoshokatana has joined #angularjs
[15:54:03] <Foxandxss> resolve seems to be tricky for automatic stuff
[15:54:33] *** linojon has joined #angularjs
[15:54:37] *** hello_ has joined #angularjs
[15:54:38] <Foxandxss> DevAntoine: https://github.com/johnpapa/HotTowel-Angular/blob/master/NuGet/HotTowel-NG/app/common/common.js
[15:54:45] <Foxandxss> check that
[15:54:56] <Foxandxss> a common service for common things
[15:55:09] <Foxandxss> common services, common functions, common common :P
[15:55:10] <DevAntoine> ty Foxandxss
[15:55:19] *** lucasefe has joined #angularjs
[15:55:23] <ansu> Foxandxss, what about defining the constructor functions outside of an angular module? not a good practice either? I was thinking to refactor my app, because I saw it used in big angular project.
[15:55:24] *** Ilyas has joined #angularjs
[15:55:31] *** toastynerd has quit IRC
[15:55:34] *** apetro__ has quit IRC
[15:55:47] *** mettjus has joined #angularjs
[15:55:48] *** cphil has joined #angularjs
[15:56:18] *** tp1 has quit IRC
[15:56:29] *** bijan07077 has quit IRC
[15:56:41] <ansu> hehe the file you linked does it too for the 'common' factory
[15:56:42] <Foxandxss> is not about that document being all wrong
[15:56:50] *** InezK_away is now known as InezK
[15:56:57] <Foxandxss> it is just he does weird stuff sometimes
[15:56:58] *** MTGap has joined #angularjs
[15:57:14] <Foxandxss> I have to say ansu, that john papa's javascript is weird as hell
[15:57:17] *** Methylated has joined #angularjs
[15:57:17] <hello_> anyone wanna help me with some simple ng-animate?
[15:57:23] <Foxandxss> but I like it
[15:57:25] *** nxf has quit IRC
[15:57:54] *** Trow has quit IRC
[15:58:02] *** night-owl2 has quit IRC
[15:58:40] <Methylated> For unit tests (using mocha), what is recommended: file-test.js, file_test.js, file.test.js, file.spec.js, fileSpec.js, etc?
[15:59:08] *** ccohn has joined #angularjs
[15:59:13] *** shackleford has joined #angularjs
[15:59:21] <Foxandxss> Methylated: does it matter?
[15:59:34] *** Tomdarkness has joined #angularjs
[15:59:40] *** seydoggy has quit IRC
[15:59:48] <Siecje> I added redirect after login so if you try to go to a page that required login after you login you will be redirected there. It works but not for routes with a resolve, there is no request for the resolve objects https://dpaste.de/JLdi#L20 I think it is an issue with how the resolve is setup.
[15:59:52] *** matthoiland has joined #angularjs
[16:00:03] *** hello_ has quit IRC
[16:00:23] <Methylated> anyone? well, Google recommends file_test.js but also uses fileSpec.js in their example
[16:00:38] *** robinmitra has quit IRC
[16:01:05] *** ccohn has quit IRC
[16:01:11] *** shackleford has quit IRC
[16:01:30] *** torkel_ has quit IRC
[16:01:31] *** AlexZanf has joined #angularjs
[16:01:34] *** Jdubs has joined #angularjs
[16:01:37] *** ziyadb has joined #angularjs
[16:01:37] <Foxandxss> Methylated: I already gave you my opinion
[16:01:40] *** shackleford has joined #angularjs
[16:01:41] *** ccohn has joined #angularjs
[16:01:51] <Foxandxss> it doesn't matter
[16:01:53] *** CupOfCocoa has quit IRC
[16:01:59] <Foxandxss> you have to configure your test runner anyway
[16:02:00] <apipkin> agreed
[16:02:04] *** FunnyLookinHat has joined #angularjs
[16:02:24] <apipkin> doesn’t matter, just strive for consistency
[16:02:27] <Foxandxss> to do /spec/**/*_spec.js
[16:02:28] <Foxandxss> or
[16:02:31] <Foxandxss> to do /spec/**/*.spec.js
[16:02:33] <Foxandxss> or whatever
[16:03:08] <anger> Do I have to worry about having inputs inside <form> elements in angularjs?
[16:03:12] *** recidive has joined #angularjs
[16:03:26] *** volk_ has joined #angularjs
[16:03:26] <anger> Since IE doesnt support <input form="formId">
[16:03:28] <ansu> Foxandxss, yeah I don't really know who john papa is, but I somehow like the way to define controllers etc outside of the module :)
[16:03:42] *** nicholaswyoung has quit IRC
[16:03:45] <Foxandxss> ansu: a director on microsoft
[16:03:49] <Foxandxss> he is a really big fish
[16:04:01] *** ccohn_ has joined #angularjs
[16:04:03] *** IanOlson has joined #angularjs
[16:04:31] *** spaceonline has joined #angularjs
[16:04:35] *** ccohn has quit IRC
[16:04:47] *** matthoiland has quit IRC
[16:04:58] <anger> eg. does <form id="formId"><input type="text"></form><button type="submit" form="formId">Submit</button> work also on IE if the form is processed with angularjs?
[16:05:42] *** danielpquinn has joined #angularjs
[16:06:17] *** Jdubs has quit IRC
[16:07:36] *** sysko has joined #angularjs
[16:07:45] <DevAntoine> anger: that's not valid html anyway
[16:07:52] *** tp1 has joined #angularjs
[16:07:52] *** simsketch has joined #angularjs
[16:07:55] *** guilbep has joined #angularjs
[16:08:06] <DevAntoine> it makes no sense to have the submit button outside the form
[16:08:08] *** mrits has quit IRC
[16:08:11] *** InezK is now known as InezK_away
[16:09:21] <apipkin> anger: If you want it outside, don’t put `type=“submit”` on it. but like DevAntoine says, it makes no sense
[16:09:28] *** retzloff has quit IRC
[16:09:52] *** danielpquinn has quit IRC
[16:09:59] *** seydoggy has joined #angularjs
[16:10:03] <anger> The actual problem was to have a close button for modal next to the submit button
[16:10:14] *** ckboii89 has joined #angularjs
[16:10:26] <sriram-dev> i had a shot at angular earlier but couldnt find simple bugs .. is there any side project based on angular which i can contribute to ? Let me know !
[16:10:28] <anger> The submit button needs to be inside form but the close button shouldn't
[16:11:01] <DevAntoine> anger: so what's the issue?
[16:11:29] *** jobelenus has joined #angularjs
[16:11:31] <anger> And because of divs etc. elements its quite difficult to separate those buttons
[16:11:31] <DevAntoine> anger: you can see your close button as a cancel one
[16:11:38] <DevAntoine> anger: so it makes sense to have it in the form
[16:11:49] *** cspra85 has joined #angularjs
[16:11:53] *** lsiv568 has quit IRC
[16:12:00] <anger> True, cancel button could be better for this
[16:12:09] *** blak has quit IRC
[16:12:19] *** ChrisC_ has joined #angularjs
[16:12:26] *** Click66 has quit IRC
[16:12:28] <anger> Since currently the close button was complaining about empty required input fields
[16:12:57] *** encrypt3d_fracti has joined #angularjs
[16:13:13] *** UniBot has joined #angularjs
[16:13:17] *** bencc has joined #angularjs
[16:14:00] *** aaunel has quit IRC
[16:14:27] *** ckboii89 has quit IRC
[16:14:37] *** tomzx is now known as tomzx`afk
[16:14:48] *** calumet has quit IRC
[16:15:47] *** rchavik has quit IRC
[16:16:31] *** bphogan_afk is now known as bphogan
[16:17:06] *** JosephSilber has joined #angularjs
[16:18:38] *** calvinx has quit IRC
[16:18:54] *** simsketch has quit IRC
[16:19:06] *** Ethix has joined #angularjs
[16:19:09] *** simsketch has joined #angularjs
[16:19:13] *** whitebook has joined #angularjs
[16:19:34] *** sonofdirt has joined #angularjs
[16:19:49] *** krawek has quit IRC
[16:20:09] *** whiteboo_ has joined #angularjs
[16:20:14] *** apetro_ has joined #angularjs
[16:20:24] *** dcherman has joined #angularjs
[16:20:43] *** patrickarlt has quit IRC
[16:20:53] *** jr3 has joined #angularjs
[16:22:10] *** Nizumzen has joined #angularjs
[16:22:27] *** ngbot has joined #angularjs
[16:22:28] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/9OfT4Q
[16:22:28] <ngbot> angular.js/master c03b9e5 chirag: style(Angular.js): remove unused variables...
[16:22:28] *** ngbot has left #angularjs
[16:22:35] *** mary5030 has joined #angularjs
[16:22:39] *** _tpavel has quit IRC
[16:23:11] *** mamarilmanson has quit IRC
[16:23:50] *** whitebook has quit IRC
[16:23:52] *** Gooder`` has quit IRC
[16:24:13] *** intellix has quit IRC
[16:24:19] *** mary5030 has quit IRC
[16:24:43] *** calvinx has joined #angularjs
[16:24:55] *** mary5030 has joined #angularjs
[16:25:07] *** jdcasey has joined #angularjs
[16:25:17] *** Djankie has quit IRC
[16:25:32] *** cspra85 has quit IRC
[16:25:59] *** cspra85 has joined #angularjs
[16:26:08] *** jshultz has joined #angularjs
[16:26:22] *** apetro_ has quit IRC
[16:26:49] *** lite_ has joined #angularjs
[16:27:06] *** tonycoco has joined #angularjs
[16:27:10] *** lsiv568 has joined #angularjs
[16:28:12] *** vintik has joined #angularjs
[16:28:14] *** juampy_gnomgnom is now known as juampy
[16:28:31] *** guilbep has quit IRC
[16:29:33] *** nitsujw has quit IRC
[16:29:35] *** jreeter_ has joined #angularjs
[16:30:23] *** thomasreggi has joined #angularjs
[16:30:30] *** Tidwell has joined #angularjs
[16:31:10] *** intellix has joined #angularjs
[16:32:03] *** dariocravero has quit IRC
[16:32:16] *** ccohn_ has quit IRC
[16:32:32] <NaOH> http://plnkr.co/edit/b1xUb1R9QpCPhgs2iHES?p=preview
[16:32:33] *** vintik has quit IRC
[16:32:40] *** dariocravero has joined #angularjs
[16:32:41] <NaOH> Can anyone explain why it works when you take off the ng-if
[16:32:48] <NaOH> But with the ng-if it breaks?
[16:33:00] *** jr3 has quit IRC
[16:33:10] *** cctom has quit IRC
[16:33:22] *** lite_ has quit IRC
[16:33:25] *** endash has joined #angularjs
[16:34:13] *** ccohn has joined #angularjs
[16:34:43] *** Schtive has joined #angularjs
[16:35:06] *** pvde has quit IRC
[16:35:16] <Foxandxss> yes
[16:35:35] <sacho> NaOH, http://plnkr.co/edit/tZtkCWc03LWVB5HppKtn?p=preview
[16:35:37] <Foxandxss> someone had the same exact problem
[16:35:50] <Foxandxss> NaOH: https://github.com/angular/angular.js/wiki/Understanding-Scopes
[16:35:50] *** ChrisC_ has quit IRC
[16:35:51] <Foxandxss> read that
[16:35:54] <Foxandxss> that will fix your problem
[16:36:08] <Foxandxss> oh wait
[16:36:10] *** simsketch_ has joined #angularjs
[16:36:12] <Foxandxss> maybe I looked it wrong
[16:36:37] <Foxandxss> well, same problem applies
[16:36:43] *** Olsonfold has joined #angularjs
[16:36:44] *** FIFOd[a][a] has joined #angularjs
[16:36:45] <NaOH> Thanks, I will take a look
[16:37:00] *** FIFOd[a] has quit IRC
[16:37:01] *** MANCHUCK_ has joined #angularjs
[16:37:14] *** UniBot has quit IRC
[16:37:31] *** rtpg has quit IRC
[16:38:43] <sacho> to be fair, the docs there don't specify that ng-if also creates a scope
[16:39:00] *** Stampy has quit IRC
[16:39:10] *** MANCHUCK__ has joined #angularjs
[16:39:25] *** simsketch has quit IRC
[16:39:33] *** sysko has quit IRC
[16:39:51] *** lsiv568 has quit IRC
[16:39:52] *** MANCHUCK has quit IRC
[16:39:53] *** UniBot has joined #angularjs
[16:39:59] <Foxandxss> sacho: to be fair, that is really problematic
[16:40:03] <Foxandxss> no one specify that
[16:40:08] <sacho> yeah.
[16:40:12] *** night-owl2 has joined #angularjs
[16:40:23] *** holymac has joined #angularjs
[16:40:25] * sacho thinks the documentation for each directive should include at least the definition options
[16:40:29] <sacho> e.g. transclude, scope..
[16:41:24] *** tomzx`afk is now known as tomzx
[16:41:25] <xastey> grr angular can't find my module when minified
[16:41:51] *** shinnya has joined #angularjs
[16:41:53] *** oste has joined #angularjs
[16:42:08] *** MANCHUCK_ has quit IRC
[16:42:11] *** stodan has quit IRC
[16:43:15] *** bencc has quit IRC
[16:43:32] *** Sijdesign has joined #angularjs
[16:43:39] <Sijdesign> hey all
[16:43:55] *** conan_the_destro has quit IRC
[16:44:02] <Sijdesign> i got this error Failed to instantiate module mainApp due to:
[16:44:03] <Sijdesign> [$injector:nomod] Module 'mainApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
[16:44:09] *** vader_ has joined #angularjs
[16:44:10] *** nitsujw has joined #angularjs
[16:44:30] *** mrits has joined #angularjs
[16:44:40] <Sijdesign> but in my app.js thats my root js file i have this: var mainApp = angular.module('mainApp', [
[16:44:40] <Sijdesign> 'mainCtrl',
[16:44:41] <Sijdesign> 'itemCtrl'
[16:44:41] <Sijdesign> ]);
[16:44:48] <Sijdesign> what can it be that make that error?
[16:45:10] *** lsiv568 has joined #angularjs
[16:45:13] *** Sonderblade has quit IRC
[16:45:27] *** thomasreggi has quit IRC
[16:45:50] *** johnstorey has joined #angularjs
[16:46:11] *** vader has quit IRC
[16:46:23] *** cthrax has joined #angularjs
[16:46:52] *** tschundeee has quit IRC
[16:46:54] *** gauravsaini03 has quit IRC
[16:46:57] *** mguillech has quit IRC
[16:47:00] *** MANCHUCK_ has joined #angularjs
[16:47:07] *** tschundeee has joined #angularjs
[16:47:40] *** Sijdesign has quit IRC
[16:47:53] *** teslanick has joined #angularjs
[16:47:54] *** mguillech has joined #angularjs
[16:48:04] *** retzloff has joined #angularjs
[16:49:38] *** bijan07077 has joined #angularjs
[16:49:57] *** sigurding has joined #angularjs
[16:50:06] *** MANCHUCK__ has quit IRC
[16:51:14] *** TimmyTones has quit IRC
[16:51:19] *** bencc has joined #angularjs
[16:51:35] *** MANCHUCK__ has joined #angularjs
[16:51:42] *** mercwithamouth has joined #angularjs
[16:51:52] *** sigurding has quit IRC
[16:52:17] *** thomasreggi has joined #angularjs
[16:53:14] *** Tidwell has quit IRC
[16:54:16] *** MANCHUCK_ has quit IRC
[16:54:33] *** negval has quit IRC
[16:54:40] <swirlycheetah> where would you splice something off an array which is rendered on the DOM, directive or controller?
[16:54:48] *** calvinx has quit IRC
[16:54:58] *** jreeter_ is now known as jr3
[16:55:00] *** lw has joined #angularjs
[16:55:03] *** \du has quit IRC
[16:55:06] <sacho> swirlycheetah, vague question is vague.
[16:55:49] *** tfennelly has quit IRC
[16:55:50] *** endash has quit IRC
[16:55:53] *** prbc has joined #angularjs
[16:55:54] *** dylanlindgren has quit IRC
[16:55:58] *** antonyjsmith has quit IRC
[16:56:11] <swirlycheetah> ok say i've got var arr = [1,2,3] and a button on the page which does arr.splice($index, 1)
[16:56:19] *** Rtransat has quit IRC
[16:56:21] *** \du has joined #angularjs
[16:56:21] <swirlycheetah> where should the function go that does the splice?
[16:56:23] *** seydoggy has quit IRC
[16:56:28] <swirlycheetah> $scope.arr*
[16:56:56] *** fourq has quit IRC
[16:57:01] *** fourq_ has joined #angularjs
[16:57:04] *** fourq_ is now known as fourq
[16:57:07] *** teslanick has left #angularjs
[16:57:32] *** house has quit IRC
[16:58:03] *** RandyT has quit IRC
[16:58:36] <sacho> Well, it depends.
[16:58:50] *** seydoggy has joined #angularjs
[16:59:03] *** InezK_away is now known as InezK
[16:59:08] <blackkbot> depends are diapers for old people
[16:59:11] *** dariocravero has quit IRC
[16:59:14] *** crocket has left #angularjs
[16:59:18] <sacho> Do you always expect pressing the button would lead to the same action?
[16:59:31] <sacho> You could define the function in the directive if it's effectively part of it.
[16:59:42] <sacho> But perhaps you'd want to configure what action to perform when clicking the button.
[16:59:53] *** amargherio has joined #angularjs
[16:59:58] <sacho> Also, if it's a complex function you want to reuse, you might want to define it in a more portable scope, e.g. a service.
[17:00:17] *** swirlycheetah has quit IRC
[17:00:19] *** dcherman2 has joined #angularjs
[17:00:36] *** Jdubs has joined #angularjs
[17:00:41] *** RandyT has joined #angularjs
[17:01:35] *** dylukes has joined #angularjs
[17:01:38] *** AndyFTP has quit IRC
[17:01:41] *** ggrzybek has joined #angularjs
[17:01:42] *** patrickarlt has joined #angularjs
[17:02:05] *** ngoyal has joined #angularjs
[17:02:12] *** AndyFTP has joined #angularjs
[17:02:17] *** hannesvdvreken has quit IRC
[17:03:11] *** chrisshattuck has joined #angularjs
[17:03:43] *** dcherman has quit IRC
[17:04:12] *** mtsr has joined #angularjs
[17:04:25] *** ccohn has quit IRC
[17:04:37] *** frankblizzard has quit IRC
[17:04:48] *** jaequery has joined #angularjs
[17:04:51] *** kof has joined #angularjs
[17:05:00] *** ccohn has joined #angularjs
[17:05:04] *** Jdubs has quit IRC
[17:05:05] *** nitsujw has quit IRC
[17:05:10] *** simb has joined #angularjs
[17:05:24] *** thedodd has joined #angularjs
[17:05:29] *** ncbw has quit IRC
[17:06:08] *** house has joined #angularjs
[17:06:15] *** fifthofwry_ has joined #angularjs
[17:06:20] *** ioncache has joined #angularjs
[17:06:28] *** danielpquinn has joined #angularjs
[17:06:35] *** AndyFTP has quit IRC
[17:06:44] *** ascarter has joined #angularjs
[17:06:48] *** conan_the_destro has joined #angularjs
[17:06:52] *** ngoyal has quit IRC
[17:07:10] *** stirlingw has joined #angularjs
[17:07:37] *** gstevens has joined #angularjs
[17:07:47] *** fifthofwry has quit IRC
[17:07:47] *** doddstack has joined #angularjs
[17:07:48] *** scrooge_mcduck has joined #angularjs
[17:07:51] <scrooge_mcduck> hello
[17:08:10] <scrooge_mcduck> Does anyone know how to deal with the `src`-attribute of <img> to use {{ }} with?
[17:08:18] <scrooge_mcduck> as now it always makes a useless request
[17:08:25] <cspra85> ng-src
[17:08:29] *** torkel_ has joined #angularjs
[17:08:35] *** eutheria has joined #angularjs
[17:08:49] <cspra85> scrooge_mcduck -> https://code.angularjs.org/1.2.20/docs/api/ng/directive/ngSrc#$watch
[17:08:57] *** InezK is now known as InezK_away
[17:10:07] <gstevens> Howdy folks, using Ionic to build an app, having issues with ng-hide and "controller as" syntax. Changing the property that ng-hide binds to has no effect on my front end. AM I missing something?
[17:10:25] *** fourq has quit IRC
[17:10:30] *** fourq_ has joined #angularjs
[17:10:33] *** Oddman has joined #angularjs
[17:10:39] *** thedodd has quit IRC
[17:10:48] *** fourq_ is now known as fourq
[17:10:52] *** danielpquinn has quit IRC
[17:10:54] *** ckboii89 has joined #angularjs
[17:11:01] *** MANCHUCK_ has joined #angularjs
[17:11:22] *** Natsu- has quit IRC
[17:11:30] *** nitsujw has joined #angularjs
[17:11:53] *** rburns has joined #angularjs
[17:12:03] *** JosephBergevin has joined #angularjs
[17:12:09] *** khodgson has quit IRC
[17:12:30] *** xaxisx has joined #angularjs
[17:12:35] *** scmx has quit IRC
[17:12:55] *** khodgson has joined #angularjs
[17:13:01] *** davi has joined #angularjs
[17:13:02] *** nitsujw has quit IRC
[17:13:10] *** torkel_ has quit IRC
[17:13:30] *** simb has quit IRC
[17:14:03] *** MANCHUCK__ has quit IRC
[17:14:26] *** gnarMati_ has joined #angularjs
[17:15:02] *** MANCHUCK__ has joined #angularjs
[17:15:05] *** MANCHUCK__ is now known as MANCHUCK
[17:15:08] *** ckboii89 has quit IRC
[17:15:16] *** krawek has joined #angularjs
[17:16:02] *** BahamutWC has joined #angularjs
[17:16:07] *** VeeWee has quit IRC
[17:16:12] *** holymac has quit IRC
[17:16:35] *** Jdubs has joined #angularjs
[17:16:59] *** mettjus has quit IRC
[17:17:12] *** holymac has joined #angularjs
[17:17:20] *** eden_lane has joined #angularjs
[17:17:38] *** retzloff has quit IRC
[17:17:40] *** trave has joined #angularjs
[17:18:08] *** prbc has quit IRC
[17:18:12] *** MANCHUCK_ has quit IRC
[17:18:21] *** snurfery has joined #angularjs
[17:18:38] *** blak422 has joined #angularjs
[17:18:51] *** hugorodrigues has joined #angularjs
[17:19:21] *** MaxV has quit IRC
[17:19:43] *** greengriminal has joined #angularjs
[17:19:47] *** MaxV has joined #angularjs
[17:19:56] *** startupality has joined #angularjs
[17:20:10] *** ncbw has joined #angularjs
[17:20:15] *** zeroquake has joined #angularjs
[17:20:31] *** gstevens has quit IRC
[17:20:32] *** mettjus has joined #angularjs
[17:21:23] *** Snugug has joined #angularjs
[17:21:26] *** night-owl2 has quit IRC
[17:21:32] *** svycka has quit IRC
[17:21:34] *** bejames has quit IRC
[17:21:46] *** elrabin has joined #angularjs
[17:21:50] *** Aswebb_ has quit IRC
[17:21:56] *** mchapman has quit IRC
[17:22:01] *** Aswebb has joined #angularjs
[17:23:05] *** InezK_away is now known as InezK
[17:23:49] *** ngoyal has joined #angularjs
[17:24:21] *** Aswebb has quit IRC
[17:24:29] *** squeakytoy has quit IRC
[17:24:35] *** MaxV has quit IRC
[17:24:40] <DevAntoine> I'm having a weird bug. I've got a page with a search field. When the submit button is hit, a hidden table, below this field, is filled with data using ngRepeat. And sometimes, it seems like the browser does not recalculate the height, hence making no scrollbar. The page is sort of cut. All the dom is loaded but I can't scroll down
[17:25:40] *** okdamn has joined #angularjs
[17:25:46] <okdamn> yeoman!
[17:26:16] *** jaequery has quit IRC
[17:26:38] <intellix> it seems like angular-ui has a million PRs but nobody is merging them
[17:26:55] *** holymac_ has joined #angularjs
[17:28:24] *** night-owl2 has joined #angularjs
[17:28:25] *** Joshee has joined #angularjs
[17:28:51] *** vintik has joined #angularjs
[17:29:24] *** holymac has quit IRC
[17:29:33] *** amortimer has joined #angularjs
[17:30:06] *** mccarrontr1ck has quit IRC
[17:30:10] *** sacho has quit IRC
[17:31:11] *** night-owl2 has quit IRC
[17:31:26] *** teeray has quit IRC
[17:31:32] *** mccarrontr1ck has joined #angularjs
[17:31:58] *** dob_ has quit IRC
[17:32:15] *** lordkryss has joined #angularjs
[17:32:47] *** InezK is now known as InezK_away
[17:33:00] *** xaxisx has quit IRC
[17:33:04] *** vintik has quit IRC
[17:33:22] *** beauvais has quit IRC
[17:34:02] *** cspra85 has quit IRC
[17:34:12] *** teeray has joined #angularjs
[17:34:40] *** xaxisx has joined #angularjs
[17:35:10] *** dawee has quit IRC
[17:35:13] *** Nizumzen has quit IRC
[17:36:06] *** yaru22 has joined #angularjs
[17:36:09] *** FIFOd[a][a] has quit IRC
[17:36:24] *** Nizumzen has joined #angularjs
[17:36:33] *** cigol has joined #angularjs
[17:36:36] *** FIFOd[a] has joined #angularjs
[17:36:36] <apipkin> intellix: comment on the PRs to vet them, maybe?
[17:36:46] *** bewl has left #angularjs
[17:37:05] *** ki0 has joined #angularjs
[17:37:10] *** cspra85 has joined #angularjs
[17:37:19] *** okdamn has quit IRC
[17:37:48] *** Snugug has quit IRC
[17:37:55] *** cojack has joined #angularjs
[17:38:01] *** synestry has joined #angularjs
[17:38:02] *** mkc has joined #angularjs
[17:38:07] <cojack> yo guys
[17:38:11] *** mkc has quit IRC
[17:38:17] *** ngbot has joined #angularjs
[17:38:17] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/9GxmSg
[17:38:17] <ngbot> angular.js/master 86340a5 Shahar Talmi: fix(angular.copy): clone regexp flags correctly...
[17:38:17] *** ngbot has left #angularjs
[17:38:29] *** defaultdict has joined #angularjs
[17:38:50] <apipkin> intellix: just looking through a few of them, no tests are added or updated to allow for coverage and check the validity of the new code and some look “wrong” to my inexperienced eyes
[17:38:51] <AlexZanf> is there a way to tell what version of angular a package needs? for example when i try to install this, https://github.com/asafdav/ng-s3upload, its asking me to pick what version of angular i want to revert to
[17:39:06] <intellix> mmm not sure there is anything I can do by commenting on the PRs. There are typically lots of comments on all of the PRs already but they never seem to make it in until like…. 6 months later :P
[17:39:19] *** HypnotiX has quit IRC
[17:39:24] <intellix> ok so I suppose they just need added tests etc
[17:39:27] *** mccarrontr1ck has quit IRC
[17:39:48] *** ggrzybek has quit IRC
[17:39:50] <cojack> I have simple, question how to get information about last item render in recursive template? http://paste.kde.org/pkzjluawo this is my direcitve, but navigation-repeat directive tells me only about root elements, any idea?
[17:40:21] *** mglvl has quit IRC
[17:40:23] *** Jdubs has quit IRC
[17:40:27] <apipkin> intellix: I don’t know if that’s a requirement to contribute, but i think it’s good form from a community standpoint? Also, they may not have signed any CLA docs to have it merged in?
[17:40:40] *** cthrax has quit IRC
[17:40:43] *** JimTheDev has joined #angularjs
[17:40:43] <intellix> didn’t know there was a CLA for angular-ui, just angularJS
[17:40:45] *** eamonn_ has joined #angularjs
[17:40:47] *** eamonn has quit IRC
[17:41:03] *** epantzar has joined #angularjs
[17:41:16] *** bahoo has joined #angularjs
[17:41:21] <apipkin> I don’t know if there is, just all I have in my brain that could be holding them up from the user’s standpoint :)
[17:41:40] *** phpxadmin has joined #angularjs
[17:41:54] *** ipalaus has quit IRC
[17:42:01] *** Trow has joined #angularjs
[17:42:07] <apipkin> Also things like != instead of !== or == instead of === *shrug*
[17:42:32] *** hugorodrigues has quit IRC
[17:42:40] *** calvinx has joined #angularjs
[17:42:42] *** mccarrontr1ck has joined #angularjs
[17:42:53] *** hugorodrigues has joined #angularjs
[17:43:16] *** JimTheDev has quit IRC
[17:43:43] *** torkel_ has joined #angularjs
[17:43:44] <yaru22> I'm creating a directive that requires 'ngModel'. In my linking function, I get ngModelCtrl as fourth argument and added $render function, but it's not called. Shouldn't it get called at least once when the page is first loaded?
[17:43:47] <apipkin> intellix: doesn’t look like there is a CLA in the Contrbuting.md file, just a mention of tests
[17:44:15] *** cthrax has joined #angularjs
[17:44:15] *** nitsujw has joined #angularjs
[17:44:22] *** milka has quit IRC
[17:44:25] *** maxmax has joined #angularjs
[17:44:27] <snurfery> finally spent the time trying to understand named views in ui-router
[17:44:31] <snurfery> jeeeeezus
[17:44:36] <snurfery> this is a whole new world now
[17:44:39] <maxmax> hi
[17:44:43] <maxmax> there is someone?
[17:44:47] <snurfery> there is.
[17:44:51] *** tonycoco has quit IRC
[17:44:54] *** htowngangsta has joined #angularjs
[17:45:00] *** cigarshark has joined #angularjs
[17:45:02] *** JimTheDev has joined #angularjs
[17:45:08] <maxmax> could you help me to finish the project?
[17:45:20] <maxmax> I need to go at home to go on the bus
[17:45:38] *** sonicparke|bradm has joined #angularjs
[17:45:46] *** m1hael has left #angularjs
[17:45:54] *** MTGap has quit IRC
[17:45:58] <snurfery> *crickets*
[17:45:58] *** holymac_ has quit IRC
[17:46:08] <blak422> lol
[17:46:10] *** maxmax has quit IRC
[17:46:47] *** Djnag has joined #angularjs
[17:46:50] <snurfery> he got the point pretty quickly haha
[17:46:51] <JonathanNeal> Good morning PT!
[17:46:55] *** JimTheDev has quit IRC
[17:47:06] <blak422> haha I know right
[17:47:29] *** volk_ has quit IRC
[17:47:35] <blak422> should've tried to make some money
[17:47:38] <blak422> :D
[17:48:03] *** Aartsie has quit IRC
[17:48:04] *** Jdubs has joined #angularjs
[17:48:10] *** Djnag has quit IRC
[17:48:14] *** volk_ has joined #angularjs
[17:48:33] *** mfunkie has quit IRC
[17:48:40] *** matthoiland has joined #angularjs
[17:48:55] *** sk87 has quit IRC
[17:49:01] *** mfunkie has joined #angularjs
[17:49:22] *** seydoggy has quit IRC
[17:49:25] *** AlSquire has quit IRC
[17:49:27] *** dhcar_AFK is now known as dhcar
[17:49:38] *** JimTheDev has joined #angularjs
[17:49:56] *** seydoggy has joined #angularjs
[17:49:58] *** Snugug has joined #angularjs
[17:50:12] *** seydoggy has quit IRC
[17:50:38] *** seydoggy has joined #angularjs
[17:51:40] *** mvovchak_ has quit IRC
[17:52:12] *** toastynerd has joined #angularjs
[17:52:34] <kirfu|work> anyone ever use ngInfinteScroll? It's giving me problems with float:left elements.
[17:52:45] <Jdubs> Hello
[17:52:53] <Jdubs> Does anyone know where angular stores all the controllers?
[17:53:04] *** xaxisx has quit IRC
[17:53:15] <Jdubs> or does anyone know an easy way to find out of there are any controllers that get instantiated in multiple places?
[17:53:19] *** matthoiland has quit IRC
[17:53:20] *** danielpquinn has joined #angularjs
[17:53:23] *** mfunkie has quit IRC
[17:53:47] *** InezK_away is now known as InezK
[17:54:09] <snurfery> Jdubs: you can inject $state and $log into your controller and have it $log.info($state.name())
[17:54:15] <snurfery> then look at your console
[17:54:26] <snurfery> oh you mean *any* controller
[17:54:27] <Jdubs> i see
[17:54:29] <Jdubs> yeah
[17:54:33] *** xaxisx has joined #angularjs
[17:54:40] <snurfery> what are you concerned about?
[17:54:58] <Jdubs> Well, i remember a while back we had some controllers that were used in multiple places which caused some conflicts
[17:55:02] <Jdubs> but cant remember which ones
[17:55:06] <Jdubs> lol
[17:55:07] <snurfery> oic
[17:55:24] <snurfery> well, when the problem becomes a problem, then you'll find a solution
[17:55:26] <snurfery> ;)
[17:55:30] <Jdubs> lol!
[17:56:16] <sonicparke|bradm> If I need to make 6 server call synchronously is putting them in the .then of the previous call the right thing? It doesn't feel right. https://gist.github.com/sonicparke/b1e3d9bfe9678f449daa
[17:56:17] <snurfery> http://img1.wikia.nocookie.net/__cb20130727031750/lionking/images/9/91/Keep-calm-and-hakuna-matata.jpg
[17:56:32] <snurfery> stupid filename. now there's no mystery to the content
[17:56:34] *** toastynerd has quit IRC
[17:56:52] *** orion1111 has joined #angularjs
[17:56:52] <intellix> this controller refresh on route change is killing me. The controller is generally supposed to be where you pass data to the view, but I can’t ever use it cause it causes a refresh and re-ng-repeat on every routeParam change
[17:57:05] <kirfu|work> sonicparke|bradm: I had the same issue before. I did exactly that, but it felt soooo wrong. The answer is yes it is the right thing tho :)
[17:57:08] *** Ethix has quit IRC
[17:57:12] <kirfu|work> or it's acceptable.
[17:57:34] <snurfery> sonicparke|bradm: you mean sequentially?
[17:57:44] <sonicparke|bradm> kirfu|work: thanks
[17:57:45] *** BMCouto has quit IRC
[17:57:46] *** mrits has quit IRC
[17:57:49] <sonicparke|bradm> snurfery: yes
[17:57:50] *** spencercarnage has joined #angularjs
[17:57:55] <snurfery> oh, then yeah
[17:58:08] *** mrits has joined #angularjs
[17:58:12] <sonicparke|bradm> ok. thanks
[17:58:23] *** torkel_ has quit IRC
[17:58:34] *** xaxisx has quit IRC
[17:58:36] *** Jdubs_ has joined #angularjs
[17:58:55] *** blak422 has quit IRC
[17:59:22] <kirfu|work> anyone ever use ngInfiniteScroll and have problems with float elements?
[17:59:33] *** waylon999 has joined #angularjs
[17:59:33] *** xaxisx has joined #angularjs
[17:59:48] *** armdale has joined #angularjs
[18:00:10] <snurfery> kirfu|work: I haven't but maybe you can fix it by adding a clearfix somewhere?
[18:00:37] *** DevAntoine has quit IRC
[18:00:40] *** Jdubs_ has quit IRC
[18:00:41] *** hychen has joined #angularjs
[18:00:42] *** matthoiland has joined #angularjs
[18:00:45] <kirfu|work> you maybe correct :)
[18:00:50] <snurfery> I'm under the impression that that restores order to the document flow after floats make shit all complicado
[18:00:50] *** prbc has joined #angularjs
[18:00:54] *** arntempelgibbarn has quit IRC
[18:01:18] *** toastynerd has joined #angularjs
[18:01:19] *** Joulse has quit IRC
[18:01:21] * snurfery is not good with the csses
[18:01:24] *** Jdubs_ has joined #angularjs
[18:01:29] *** henn1nk has joined #angularjs
[18:01:47] *** Jdubs has quit IRC
[18:01:53] *** luis_ has joined #angularjs
[18:02:00] *** cspra85 has quit IRC
[18:02:13] *** mfunkie has joined #angularjs
[18:03:28] *** InezK is now known as InezK_away
[18:03:38] *** bbrown has joined #angularjs
[18:05:02] *** epantzar has quit IRC
[18:05:03] *** fairchild has joined #angularjs
[18:05:20] *** matthoiland has quit IRC
[18:05:23] *** bengilli_ has quit IRC
[18:05:25] <Oddman> Anyone here encountered performance issues or slower overall app performance as a result of the front-end one-page app style?
[18:05:26] *** dylukes has quit IRC
[18:05:34] *** Jdubs_ has quit IRC
[18:05:35] <Oddman> we're running a project now that has about 50,000 lines of javascript code
[18:05:43] <Oddman> it's been great, angular is awesome
[18:05:51] *** {DV8} has joined #angularjs
[18:05:55] <Oddman> but I'm beginning to doubt the approach, and that maybe pjax could be a better fit for large apps
[18:06:13] <Oddman> the reason I say this, is because on some pages we have 20-30 requests back to the server for templates, extra javascript, resource data.etc.
[18:06:18] <Oddman> curious if anyone has anything to say on this subject?
[18:07:08] <BahamutWC|Work> Oddman: you can use $templateCache to avoid the ajax requests from partials problem
[18:07:19] *** fifthofwry_ has quit IRC
[18:07:22] *** luis_ has quit IRC
[18:07:38] *** blak422 has joined #angularjs
[18:08:07] *** DerekPerkins has joined #angularjs
[18:08:22] <BahamutWC|Work> note that using $templateCache in that fashion will increase the initial page load since all of the templates will be loaded from a script on app load
[18:08:25] *** oller has joined #angularjs
[18:08:32] <Siecje> How do you get JSON to a single level https://dpaste.de/ersd
[18:08:35] <oniijin> not sure how using jq would be any faster
[18:08:35] <JonathanNeal> Day 3 of learning Angular here, wrote my first directive, someone available to tell me if I’m following proper Angular conventions? Working demo: http://sandbox.thewikies.com/angular-sticky/
[18:08:47] *** DerekPerkins_ has joined #angularjs
[18:08:51] *** w3bcrawler has joined #angularjs
[18:08:58] *** intellix has quit IRC
[18:09:06] *** patrickarlt has quit IRC
[18:09:17] <Oddman> BahamutWC|Work hmmm, interesting
[18:09:22] <Oddman> how about doing it per "resource"
[18:09:25] <Oddman> say for example /users/
[18:09:33] <Oddman> only loading those templates for all users screens at that point?
[18:09:38] *** calumet has joined #angularjs
[18:09:41] *** MikaAK has joined #angularjs
[18:09:51] *** matthoiland has joined #angularjs
[18:10:06] <synestry> Hey guys, I have a directive that generates input fields in an ng-repeat. How could I access the directives scope (to get the values of these input fields) from my controller?
[18:10:33] *** mettjus has quit IRC
[18:10:42] <sonicparke|bradm> snurfery: how would you break out if it if I get an error in one of the calls?
[18:11:03] *** dazs has quit IRC
[18:11:37] <sonicparke|bradm> I'm not neccessarily getting http errors. the call could be successful as far as angular is concerned but the server might return an error
[18:11:38] *** ckboii89 has joined #angularjs
[18:11:39] <BahamutWC|Work> Oddman: you could probably write some custom logic where when a user hits a route that matches something like /users/*, it then fires an ajax request to templates compiled to strings with a key-value pair of template url and template
[18:11:47] *** fbenoit has quit IRC
[18:11:56] *** bijan07077 has quit IRC
[18:12:08] <Oddman> is it worth the trouble?
[18:12:08] *** torkel_ has joined #angularjs
[18:12:14] <BahamutWC|Work> note that you would have to provide that api endpoint to serve up a json file
[18:12:20] *** oller has left #angularjs
[18:12:21] <Oddman> yeah that's not a problem
[18:12:22] <BahamutWC|Work> or serve up json*
[18:12:25] *** Methylated has quit IRC
[18:12:32] <BahamutWC|Work> well, if it’s enough of a concern, I think so
[18:13:00] <Oddman> I'd really like to get it down to 1-2 requests per page
[18:13:05] <Oddman> "page"
[18:13:11] <Oddman> hmmm, I mean screen, or route transition lol
[18:13:11] *** DerekPerkins has quit IRC
[18:13:29] <snurfery> sonicparke|bradm: you should probably define an error handling function and use it
[18:13:40] *** rawry has quit IRC
[18:14:12] *** vader_ has quit IRC
[18:14:13] <snurfery> sonicparke|bradm: the .then() function's first argument is the success handler, second argument is the error handler
[18:14:20] <snurfery> If I recall correctly
[18:14:36] *** phuh has joined #angularjs
[18:14:58] <snurfery> so write a generic error handler if you can and just supply it
[18:15:12] <sonicparke|bradm> yeah but that's what I can't really use becasue the call is successful as far as angular is concerned. most of the time anyway
[18:15:12] *** OttlikG has quit IRC
[18:15:49] <sonicparke|bradm> I'll just have to do if else inside each one and throw it out to my error handling funciton if it meets that condition
[18:15:50] <snurfery> how do you know it's an error then?
[18:15:56] *** ckboii89 has quit IRC
[18:16:05] *** atomical has quit IRC
[18:16:05] <sonicparke|bradm> server sends me back an error message
[18:16:14] <snurfery> oic
[18:16:24] <sonicparke|bradm> string or object. just depends on how he decided to set that one up. :-)
[18:16:26] <snurfery> so you need to check the contents then possibly throw your own error
[18:16:31] <sonicparke|bradm> yeah
[18:16:41] *** V0id has quit IRC
[18:16:49] *** dylukes has joined #angularjs
[18:16:51] <BahamutWC|Work> hm interesting - msnbc.com uses angular (1.1.4 - sounds like its been abandoned), and nbcnews.com uses Ember
[18:16:52] <sonicparke|bradm> just trying to keep it DRY but don't think I can completely here
[18:16:52] <snurfery> sounds like you need to make your own promise
[18:16:59] *** V0id has joined #angularjs
[18:17:03] <snurfery> lemme whip up some pseudocode
[18:17:03] *** cacts|wtf has quit IRC
[18:17:09] <sonicparke|bradm> cool
[18:17:34] *** itsmeandrewd has joined #angularjs
[18:17:47] *** cphil has quit IRC
[18:17:53] *** edzez_ has quit IRC
[18:18:07] <sonicparke|bradm> snurfery: brb
[18:18:10] *** Yahkob has joined #angularjs
[18:18:31] *** ki0 has quit IRC
[18:19:03] *** ki0 has joined #angularjs
[18:19:06] <JonathanNeal> Is there a special place or repository to publish angular directives that I would like to share?
[18:19:10] *** atomical has joined #angularjs
[18:19:23] *** patrickarlt has joined #angularjs
[18:19:26] *** jaequery has joined #angularjs
[18:20:15] *** DrMabuse has quit IRC
[18:20:49] *** ccohn has quit IRC
[18:21:25] *** ccohn has joined #angularjs
[18:22:03] *** Methylated has joined #angularjs
[18:22:13] *** prikk has joined #angularjs
[18:23:19] *** gnarMati_ has quit IRC
[18:23:23] *** ki0 has quit IRC
[18:23:29] *** cacts|works has joined #angularjs
[18:23:58] *** klaut has quit IRC
[18:24:02] <w3bcrawler> anyone know some good angular tutorials other than the phonecat app listed on the site?
[18:24:21] <cacts|works> https://www.codeschool.com/courses/shaping-up-with-angular-js
[18:24:23] <oniijin> thinkster.io
[18:24:33] *** Snugug has quit IRC
[18:24:42] <w3bcrawler> thanks guys :)
[18:24:56] <oniijin> imo codeschool is too remedial
[18:25:05] <oniijin> but if that's what you're looking for they do a great job at it
[18:25:06] *** jamto11 has quit IRC
[18:25:27] <w3bcrawler> what do you mean by remedial? (sry english is not my first language)
[18:25:33] <oniijin> really basic
[18:25:34] <cacts|works> i would say just keep skipping until you are confused
[18:25:36] <cacts|works> and then go back one
[18:25:42] *** kof has quit IRC
[18:25:42] *** ccohn has quit IRC
[18:25:50] *** blueadept has joined #angularjs
[18:25:58] *** nitsujw_ has joined #angularjs
[18:26:03] *** slainer68 has quit IRC
[18:26:11] *** nitsujw has quit IRC
[18:26:22] *** xaxisx has quit IRC
[18:27:06] *** Snugug has joined #angularjs
[18:27:27] *** xaxisx has joined #angularjs
[18:28:40] *** jamto11 has joined #angularjs
[18:28:54] *** chrisramon has joined #angularjs
[18:28:56] *** arabot has joined #angularjs
[18:29:04] *** arabot has quit IRC
[18:29:08] *** vader_ has joined #angularjs
[18:29:18] *** cthrax has quit IRC
[18:29:36] *** bengillies has joined #angularjs
[18:29:40] *** vintik has joined #angularjs
[18:29:57] *** slainer68 has joined #angularjs
[18:30:45] *** ckboii89 has joined #angularjs
[18:31:14] *** phuh has quit IRC
[18:31:21] *** nemothekid has joined #angularjs
[18:31:28] <snurfery> sonicparke|bradm: this is the approach I'd take to the whole "list of urls in a sequence which might fail" thing https://gist.github.com/anonymous/be0ab179a07ebb60174c
[18:31:37] <snurfery> the code is not pretty, not tested, etc
[18:31:40] *** Jdubs has joined #angularjs
[18:31:50] *** xaxisx has quit IRC
[18:32:17] <bahoo> I’m trying to use directives, to let a child element manipulate the scope of a parent element
[18:32:30] *** Oddman_ has joined #angularjs
[18:32:43] <bahoo> Looking at the example at the bottom of https://angularjs.org/ how would I go about changing a tab’s state, from the pane controller?
[18:32:52] *** joshbrw has quit IRC
[18:32:52] <snurfery> sonicparke|bradm: woops, had a syntax error, use this instead: https://gist.github.com/anonymous/553a4547118fcad85c22
[18:33:34] *** ineedarobot has quit IRC
[18:33:41] *** slainer68 has quit IRC
[18:33:56] *** cctom has joined #angularjs
[18:34:03] *** vintik has quit IRC
[18:34:10] *** UniBot has quit IRC
[18:34:34] *** ki0 has joined #angularjs
[18:34:45] *** synestry has quit IRC
[18:34:54] *** jamiemcl has quit IRC
[18:35:34] *** cthrax has joined #angularjs
[18:35:44] *** _skarr_ has joined #angularjs
[18:35:56] *** mspier_off is now known as mspier
[18:37:05] *** Cydmax has quit IRC
[18:37:32] <JonathanNeal> Okay, last question, before I publish, have i done event binding to the window effectively or is there a more ”angular” way? https://gist.github.com/jonathantneal/c15cda9d641636238505#file-angular-sticky-js-L107-L108
[18:38:32] *** tsalb has joined #angularjs
[18:38:42] <BahamutWC|Work> scroll is a jquery provided event
[18:38:54] *** prbc has quit IRC
[18:38:58] <BahamutWC|Work> same with resize
[18:39:28] *** prbc has joined #angularjs
[18:39:55] <JonathanNeal> BahamutWC|Work: is this built into Angular without requiring jQuery proper? If it can be done in just Angular, awesome, how do I access the jqueryified window object to add those bindings?
[18:40:01] *** ki0 has quit IRC
[18:40:15] <BahamutWC|Work> different browsers handle scroll events differently
[18:40:17] *** nitsujw_ has quit IRC
[18:40:27] <BahamutWC|Work> jquery’s scroll event on window unifies it into one simpler api
[18:40:38] <BahamutWC|Work> you’d have to look for all of the event listeners they are adding
[18:40:49] <BahamutWC|Work> similarly for resizing
[18:41:04] *** _jpfm has quit IRC
[18:41:06] <opiispanen> what's the best thing you can do, when you finish your working day, on a friday? Work on your own projects B)
[18:41:06] <JonathanNeal> BahamutWC|Work: scroll events were normalized years ago. I don’t know of any new issues.
[18:41:08] *** Snugug has quit IRC
[18:41:20] *** endash has joined #angularjs
[18:41:21] <BahamutWC|Work> hm, really?
[18:41:42] *** mattwynn_ has quit IRC
[18:41:44] *** eamonn_ has quit IRC
[18:41:49] <JonathanNeal> BahamutWC|Work: firefox used to fire resize events after resize events were finished, and they were sort of debounced for you, whereas IE would fire them at every pixel along the way.
[18:41:59] <JonathanNeal> Now, most browsers fire them along every animated frame.
[18:42:07] *** Oddman has quit IRC
[18:42:14] <BahamutWC|Work> another thing looking at that code - make sure the isNaN behavior is really what you want, as that is a broken function
[18:42:33] *** nitsujw has joined #angularjs
[18:42:38] <BahamutWC|Work> for example, isNaN(‘NaN’) is true
[18:42:43] *** roymiloh has quit IRC
[18:42:47] <JonathanNeal> BahamutWC|Work: you’re right, that’s not a great way of doing things to detect whether it was set or not.
[18:43:06] *** calvinx has quit IRC
[18:43:31] *** Trow has quit IRC
[18:43:41] <JonathanNeal> BahamutWC|Work: agreed again. While I can trust it because the value runs through parseFloat, there is probably a better way of doing this. Is there a convention for attribute detection?
[18:43:41] <sonicparke|bradm> snurfery: thanks. checking it out
[18:43:44] *** jamiemcl has joined #angularjs
[18:43:45] *** prbc_ has joined #angularjs
[18:43:48] *** jamiemcl has quit IRC
[18:43:59] *** Trow has joined #angularjs
[18:44:03] *** dcherman has joined #angularjs
[18:44:06] <BahamutWC|Work> JonathanNeal: parseFloat does not guard against this
[18:44:11] <BahamutWC|Work> parseFloat(‘NaN’) is NaN
[18:44:48] <BahamutWC|Work> same with parseFloat(‘null’) and I’m sure plenty of other examples you can come up with
[18:44:55] *** ncbw has quit IRC
[18:45:05] <JonathanNeal> Well, that’s what I’m looking for, things that are not a number, because I ignore them.
[18:45:19] *** jamesshijie has joined #angularjs
[18:45:29] *** seydoggy has quit IRC
[18:45:47] *** zuiop has joined #angularjs
[18:45:55] <BahamutWC|Work> I’m hesitant to say that it’s fine though - there are some surprising things that can happen with the type conversion
[18:46:09] *** teeray has quit IRC
[18:46:31] <BahamutWC|Work> for your wrapper element - you do not need to do wrapper = new ...
[18:46:32] *** dcherman2 has quit IRC
[18:46:41] <BahamutWC|Work> wrapper = angular.element(document.createElement(‘span’))
[18:46:44] <BahamutWC|Work> should just be fine
[18:47:20] <bahoo> maybe a code sample would help explain better: http://pastebin.com/fvSzv90Y
[18:47:24] <JonathanNeal> BahamutWC|Work: oh really, that’s facinating. is angular.element a clone of the jquery lite element constructor?
[18:47:40] <BahamutWC|Work> angular.element is jqLite
[18:47:41] *** krawchyk has quit IRC
[18:47:42] *** prbc has quit IRC
[18:47:45] <oniijin> lol
[18:47:52] <BahamutWC|Work> angular.element becomes an alias to $ when jquery is present
[18:47:57] <JonathanNeal> BahamutWC|Work: is that a constructor or a kind of constructor / create fn
[18:48:06] <bahoo> see on line 90, I’m trying to mark the question as complete
[18:48:36] *** patrickarlt has quit IRC
[18:48:46] *** bencc has quit IRC
[18:48:51] *** bijan07077 has joined #angularjs
[18:48:58] *** InezK_away is now known as InezK
[18:49:01] <JonathanNeal> BahamutWC|Work: Hmm, I would like this to work regardless of if jquery is present. Will behavior change for new angular.element if jQuery is present?
[18:49:03] *** startupality has quit IRC
[18:49:09] *** Jdubs has quit IRC
[18:49:18] <BahamutWC|Work> JonathanNeal: it should be fine without the new keyword
[18:49:20] *** mehlah has quit IRC
[18:49:24] *** sriram-dev has quit IRC
[18:51:00] *** krawchyk has joined #angularjs
[18:51:09] *** Jdubs has joined #angularjs
[18:51:56] *** uchuff has joined #angularjs
[18:52:07] *** fifthofwry has joined #angularjs
[18:52:21] *** Dimlock has quit IRC
[18:52:21] <zuiop> anyone needs some rep upvote on SO here?
[18:52:38] <cthrax> zuiop, always
[18:53:24] *** Schtive has quit IRC
[18:54:45] *** artisangoose has joined #angularjs
[18:55:01] <BahamutWC|Work> I’ve given up on contributing to SO for the most part
[18:55:40] *** briantrice has quit IRC
[18:55:53] *** bphogan is now known as bphogan_afk
[18:55:54] *** ngoyal has quit IRC
[18:55:59] *** epantzar has joined #angularjs
[18:56:12] *** ngoyal has joined #angularjs
[18:56:33] *** greg____ has joined #angularjs
[18:56:48] *** bluesm has joined #angularjs
[18:57:09] <simsketch_> what is SO?
[18:57:12] <zuiop> BahamutWC|Work: I'm a bit downcast there is so much discussion about everything... and those ask-and-run-away-questioners :/
[18:57:21] *** retzloff has joined #angularjs
[18:57:22] <simsketch_> oh..stack overflow
[18:57:46] <BahamutWC|Work> I prefer IRC
[18:57:52] *** robk has left #angularjs
[18:58:01] <BahamutWC|Work> dynamic discussions are a lot more useful for figuring out people’s problems
[18:58:04] <greg____> hi all - quick question - i have a controller for 3 views. when i move from one view to the next using $location.path, my scope changes as expected. the problem is my controller is holding onto a reference to that old scope and new events on the 2nd page are firing at the old scope. what should i change?
[18:58:10] <BahamutWC|Work> SO does have some value though - being searchable is very useful
[18:58:31] *** InezK is now known as InezK_away
[18:58:42] *** Tomdarkness has quit IRC
[18:58:43] <simsketch_> greg please provide code sample
[18:58:44] <zuiop> :D I always stumble across nice solutions there, so my workflow when facing problems normally is googling and the first result mostly is... 90% SO
[18:58:56] <zuiop> and if that isn't, I need to ask some in a dynamic way
[18:59:04] <greg____> ok i will get a pastebin
[18:59:26] *** jerev is now known as jerev_away
[19:00:01] *** RobinBAwesome has joined #angularjs
[19:00:09] *** jillesme has joined #angularjs
[19:00:16] *** ccohn has joined #angularjs
[19:00:30] *** jareddlc has joined #angularjs
[19:00:42] <greg____> here is pastebin for my question http://pastebin.com/fvxYFmG5
[19:00:51] *** wallerdev has joined #angularjs
[19:01:03] <jillesme> Hey guys, I have a this.data = SomeFactory.data; however, after I ng-click an element, I update the SomeFactory.data.. how do I _also_ update it in the this.data (this refers to the controller)
[19:01:11] *** cctom has quit IRC
[19:01:40] *** RandomStranger has joined #angularjs
[19:02:12] *** seydoggy has joined #angularjs
[19:02:13] *** vintik has joined #angularjs
[19:02:15] *** Joshee has quit IRC
[19:03:32] *** ngoyal has quit IRC
[19:03:47] *** whunt has joined #angularjs
[19:04:08] *** zuiop has quit IRC
[19:04:15] *** RandomStranger- has quit IRC
[19:04:59] *** woebtz has joined #angularjs
[19:05:32] <OddDuck> My application is setup so that the first time you load it you do something like: /#main?sessionKey=blah. The sessionKey parameter is used by a service to establish a session. Every controller has a dependency on a Session service. On load, they essentially do Session.loadOrGet() which sets up a new session if sessionKey is set or returns the current session info. Is a Service the standard way to track global state like this? Setting up a
[19:05:32] <OddDuck> session is a pre-condition to doing anything in the app
[19:05:36] *** MuffinMan` has joined #angularjs
[19:06:07] *** hugorodrigues has quit IRC
[19:06:35] *** seydoggy has quit IRC
[19:07:03] *** ro93 has joined #angularjs
[19:07:07] *** seydoggy has joined #angularjs
[19:07:19] *** ro93 has quit IRC
[19:07:32] <uf6668> does angularjs send multiple get requests?
[19:07:37] <uf6668> even if i only do one
[19:07:41] *** mguillech has quit IRC
[19:07:50] *** InezK_away is now known as InezK
[19:08:02] *** conan_the_destro has quit IRC
[19:08:04] <OddDuck> uf6668, in some cases it sends an OPTIONS request before the actual request
[19:08:44] *** mguillech has joined #angularjs
[19:08:47] <uf6668> hmmm
[19:08:49] <OddDuck> uf6668, *OPTION. I think this is for CORS requests only
[19:08:57] <uf6668> I'm doing locally
[19:09:02] *** mrits has quit IRC
[19:09:06] <uf6668> I remember CORS something error
[19:09:28] *** conan_the_destro has joined #angularjs
[19:09:35] *** bengillies has quit IRC
[19:09:54] *** Aliks_ has joined #angularjs
[19:09:57] *** pluma has quit IRC
[19:10:06] <OddDuck> uf6668, what requests does it send?
[19:10:18] <uf6668> it shows me only one request in firefox
[19:10:24] *** patrickarlt has joined #angularjs
[19:10:34] *** spencercarnage has quit IRC
[19:10:35] <uf6668> but for some fucked up reason, my function is called mulitple times
[19:10:38] <uf6668> and it's all synchronous
[19:10:48] <uf6668> so it has to be that the get is called repeatedly
[19:10:56] <OddDuck> uf6668, a function in your backend? Or a callback in angular?
[19:11:02] <uf6668> backend
[19:11:21] *** tp1_ has joined #angularjs
[19:11:36] <OddDuck> uf6668, the backend doesn't log incoming requests? (Allowing you to check whether it was one or two)
[19:11:41] *** mfunkie has quit IRC
[19:11:54] <uf6668> no... but good call, will try that, thanks
[19:12:04] <OddDuck> uf6668, what language and (if applicable) framework are you using on the backend?
[19:12:16] *** mattwynne has joined #angularjs
[19:12:23] <uf6668> nodejs
[19:12:27] <uf6668> express
[19:12:49] *** holymac has joined #angularjs
[19:12:58] <OddDuck> uf6668, ah I'm not nodejs/express savvy. That might be a good starting point though
[19:13:00] <JonathanNeal> BahamutWC|Work: sans jquery, does angular have any of the following native methods built in? addEventListener, getComputedStyle, matchMedia?
[19:13:07] *** marcospgp has joined #angularjs
[19:13:13] <uf6668> yeah thanks :)
[19:13:14] <BahamutWC|Work> those are browser things JonathanNeal
[19:13:15] *** MikaAK has quit IRC
[19:13:21] <jobelenus> hey all, im using an ng-model on a select input -- but it not attaching to my controller scope.. i have no idea where the variable has gone off to… when i put it in the template i see it correctly updating.. but the controller has no access to it.. where the hell has it gone?
[19:13:28] <BahamutWC|Work> also not all browsers support matchMedia
[19:13:36] <BahamutWC|Work> (notably IE8)
[19:13:39] <jobelenus> are there other directives that are creating new scopes i don't know about ??
[19:13:50] <JonathanNeal> BahamutWC|Work: yes, but sometimes people integrate polyfills https://github.com/jonathantneal/polyfill/tree/restructure/source/
[19:13:51] <BahamutWC|Work> I forget if IE9 supports matchMedia or not
[19:13:56] *** tp1 has quit IRC
[19:14:03] *** DrMabuse has joined #angularjs
[19:14:07] <JonathanNeal> BahamutWC|Work: it does not http://caniuse.com/matchmedia
[19:14:13] *** MikaAK has joined #angularjs
[19:14:36] <BahamutWC|Work> integrating polyfills is a bad idea IMO
[19:14:42] <oniijin> IEw
[19:14:58] *** nanoyak has joined #angularjs
[19:15:05] <BahamutWC|Work> it adds to the code overhead for the project, and for developers only supporting newer browsers, it adds unnecessary extra code
[19:15:47] *** Ansikt has joined #angularjs
[19:15:50] *** Aliks_ has quit IRC
[19:15:52] *** shackleford has quit IRC
[19:16:14] <JonathanNeal> BahamutWC|Work: right, which is why I am asking if Angular has already polyfilled those things. For instance, angular normalizes addEventListener functionality (available in IE9+) and gives it a sugar name, “bind”.
[19:16:15] <BahamutWC|Work> let developers that need to worry about polyfills pull them in themselves
[19:16:51] <BahamutWC|Work> addEventListener in itself has been around for a while though
[19:16:52] *** ngbot has joined #angularjs
[19:16:53] <ngbot> [angular.js] jeffbcross pushed 1 new commit to master: http://git.io/Tby9dw
[19:16:53] <ngbot> angular.js/master f684c21 Jeff Cross: docs(changelog): release notes for 1.3.0-beta.17 and 1.2.21
[19:16:53] *** ngbot has left #angularjs
[19:16:55] *** orion1111 has quit IRC
[19:16:58] *** oste has quit IRC
[19:17:06] <BahamutWC|Work> bind is just to match jquery using bind
[19:17:28] <Ansikt> Hi. I'm thinking of writing a blog on my GitHub pages, and I'd like to use Angular. How would you guys go about this?
[19:17:36] *** blueadept` has joined #angularjs
[19:17:58] *** fourq_ has joined #angularjs
[19:18:17] *** azizur has quit IRC
[19:18:23] <Ansikt> I was thinking of using Showdown to render markdown templates as a service, but I'm sure that some of you know the Angular tool space better than I do.
[19:18:25] <JonathanNeal> Yea, bind has good sugar; it’s shorter, it usually supports adding multiple types per listener, and “unbind” usually supports detaching multiple listeners without specifying them (as removeEventListener normally requires).
[19:18:25] *** fourq has quit IRC
[19:18:25] *** fourq_ is now known as fourq
[19:19:02] *** bullicon has quit IRC
[19:19:06] *** wlll has joined #angularjs
[19:19:47] *** mattwynne has quit IRC
[19:19:59] <jobelenus> Question -- every html element with an ng-scope attribute mark a new angular scope, correct?
[19:20:13] <JonathanNeal> BahamutWC|Work: so, in short, there is no need to use angular.element(window).bind when window.addEventListener works just fine? And there is not a more “angular way”?
[19:20:47] <greg____> i have an issue where i have 1 controller and multiple views; when i change a view, i see i get a new scope; problem is my controller methods is pointing at the old scope $Id ... i think i am missing something with unbind.
[19:21:18] *** blueadept has quit IRC
[19:22:06] *** vintik has quit IRC
[19:22:19] *** jillesme has quit IRC
[19:22:28] *** mfunkie has joined #angularjs
[19:22:37] *** DrMabuse has quit IRC
[19:23:11] *** bullicon has joined #angularjs
[19:23:23] *** UniBot has joined #angularjs
[19:23:49] *** nemothekid has quit IRC
[19:23:54] <JonathanNeal> Is there a naming convention for what to call the native element plucked from angular.element? ? = element[0];
[19:24:13] *** scmx has joined #angularjs
[19:24:30] *** bullicon has quit IRC
[19:24:58] *** krawchyk has quit IRC
[19:25:22] <JonathanNeal> I need the native element to get .offset(Height|Width), getBoundingClientRect, and pass it into getComputedStyle.
[19:25:54] *** ziyadb has quit IRC
[19:26:00] *** nemothekid has joined #angularjs
[19:26:19] *** briantrice has joined #angularjs
[19:26:40] *** kdu has quit IRC
[19:27:07] <jobelenus> hey all -- howcome this select/ng-model doesn't work with a reference in the controller (the problem is the ng-if around it.. if i remove that it works just fine) -- http://plnkr.co/edit/qFKzZ7gLHvqZQioq5Pib?p=preview
[19:27:10] *** Oddman has joined #angularjs
[19:27:28] *** subnl has joined #angularjs
[19:27:28] *** RobinBAwesome has quit IRC
[19:27:41] *** texinwien has quit IRC
[19:28:22] *** mguillech has quit IRC
[19:28:23] *** seydoggy has quit IRC
[19:28:28] *** retzloff has quit IRC
[19:28:32] *** prbc_ has quit IRC
[19:28:50] *** mrits has joined #angularjs
[19:29:06] *** mguillech has joined #angularjs
[19:29:07] *** mguillech has joined #angularjs
[19:29:15] *** RobinBAwesome has joined #angularjs
[19:29:59] *** wallerdev has quit IRC
[19:30:06] *** wallerdev has joined #angularjs
[19:30:32] *** mindlace has joined #angularjs
[19:30:43] *** whunt has quit IRC
[19:32:05] *** isthisreallife has joined #angularjs
[19:32:29] *** isthisreallife has left #angularjs
[19:32:48] *** mspier is now known as mspier_off
[19:33:31] <jobelenus> quick question -- how does i access the scope created by an ng-if to get ng-models inside of it from my controller?? example: http://plnkr.co/edit/qFKzZ7gLHvqZQioq5Pib?p=preview
[19:33:35] *** whunt has joined #angularjs
[19:33:43] *** heidi has joined #angularjs
[19:33:54] *** Oddman_ has quit IRC
[19:34:16] *** pluma has joined #angularjs
[19:34:17] *** jaequery has quit IRC
[19:34:26] *** pluma has quit IRC
[19:34:27] *** pluma has joined #angularjs
[19:34:44] *** daniele9821 has joined #angularjs
[19:35:28] <daniele9821> Hello all, it's the first time that i try to use karma with requirejs i don't understand how i can run the first example. Sameone is confident with hom and can help me?
[19:36:00] *** lilVaratep has joined #angularjs
[19:36:07] <jobelenus> nvm figured it out
[19:36:22] *** mikehaas763 has quit IRC
[19:37:07] *** marcospgp has quit IRC
[19:37:20] <daniele9821> this's my configurations http://pastebin.com/CzA5VeVH
[19:37:51] *** jaequery has joined #angularjs
[19:37:53] *** UniBot has quit IRC
[19:38:11] *** nitsujw has quit IRC
[19:38:32] *** nitsujw has joined #angularjs
[19:38:33] *** \du has quit IRC
[19:38:47] *** zivester has joined #angularjs
[19:38:54] *** UniBot has joined #angularjs
[19:39:46] *** Schtive has joined #angularjs
[19:39:57] <daniele9821> noone is familiar with karma?
[19:40:10] <BahamutWC|Work> some of us are
[19:40:14] <BahamutWC|Work> never used it with require though
[19:40:54] <BahamutWC|Work> just on cursory look, it looks like you have most of the setup there
[19:41:09] *** sk87 has joined #angularjs
[19:41:24] *** Schtive has quit IRC
[19:41:51] *** Rahul_Roy has joined #angularjs
[19:42:19] *** pluma has quit IRC
[19:42:41] *** vintik has joined #angularjs
[19:42:43] <daniele9821> BahamutWC|Work: the problem is that the karma page with require don't explain all fine
[19:42:54] <daniele9821> BahamutWC|Work: i've follow all the step
[19:43:18] <daniele9821> i don't know also if exists a channel karma
[19:43:27] *** sk87 has quit IRC
[19:43:51] *** da_wunde1 has joined #angularjs
[19:44:08] *** mettjus has joined #angularjs
[19:44:30] *** Schtive has joined #angularjs
[19:45:08] *** mikehaas763 has joined #angularjs
[19:45:21] *** seydoggy has joined #angularjs
[19:46:12] *** da_wunder has quit IRC
[19:46:57] *** eamonn has joined #angularjs
[19:47:59] *** Aliks_ has joined #angularjs
[19:48:16] *** mettjus has quit IRC
[19:48:27] *** mettjus has joined #angularjs
[19:48:52] *** AlexZanf has quit IRC
[19:49:27] *** nemothekid has quit IRC
[19:49:55] *** greg____ has quit IRC
[19:50:16] *** hugorodrigues has joined #angularjs
[19:50:18] *** icarus75 has joined #angularjs
[19:50:20] *** rho has joined #angularjs
[19:50:26] *** chrisramon has quit IRC
[19:50:30] *** scmx has quit IRC
[19:50:34] *** teeray has joined #angularjs
[19:50:35] *** jaequery has quit IRC
[19:51:26] *** mspier_off is now known as mspier
[19:51:27] *** eamonn has quit IRC
[19:51:27] *** Ansikt has quit IRC
[19:52:05] *** nanoyak has quit IRC
[19:52:18] *** spencercarnage has joined #angularjs
[19:52:33] *** jKlaus has quit IRC
[19:52:36] *** nanoyak has joined #angularjs
[19:53:05] *** jKlaus has joined #angularjs
[19:53:42] *** b1rkh0ff has joined #angularjs
[19:53:55] *** trinode has joined #angularjs
[19:54:14] *** da_wunde1 is now known as da_wunder
[19:54:52] *** ppppaul has quit IRC
[19:55:37] *** seydoggy has quit IRC
[19:55:48] <ckboii89> https://gist.github.com/gwong89/b0ccc7ea2133da8915b0
[19:55:54] *** nanoyak has quit IRC
[19:56:00] *** MikaAK has quit IRC
[19:56:09] <ckboii89> can someone direct me in the right direction in dealing iwht my problem
[19:56:22] *** nanoyak has joined #angularjs
[19:56:32] <nickeddy> ckboii89: what is your problem?
[19:57:07] <ckboii89> i need to somehow get $scope.newTreatment.async_selected_treatment.description to return nothing if $scope.newTreatment.async_selected_treatment.id === undefined
[19:57:26] <ckboii89> i tried using ng-if/ng-blur no luck
[19:57:41] <ckboii89> logic is simple, but trying to implement this case is troublesome
[19:57:42] <JonathanNeal> Does anyone know how the Angular team prefers to receive feature requests? Among their 1000+ issues on GitHub?
[19:57:57] <raypulver> anyone in here that understands json web tokens really well?
[19:58:02] *** Joshee has joined #angularjs
[19:58:04] <nickeddy> ckboii89: is that something from server side?
[19:58:25] <ckboii89> yeah
[19:58:32] *** Roots47 has quit IRC
[19:58:35] *** juampy is now known as juampy_away
[19:58:43] <ckboii89> but i use ng-model to bind one of them to auto-complete
[19:58:49] <ckboii89> well auto fill
[19:59:16] *** Fuji has joined #angularjs
[19:59:24] <BahamutWC|Work> JonathanNeal: issues
[19:59:25] <ckboii89> how it works is
[19:59:33] <BahamutWC|Work> that way it’s also open for public discussion
[19:59:51] <nickeddy> ckboii89: um if it's sent from server side why not just make description null if it's null?
[19:59:54] <nickeddy> i'm confused
[19:59:58] *** Reskp has joined #angularjs
[20:00:11] <ckboii89> if the user selects from the auto-typeahead and the typed item exists in the backend, it will automatically retrieve the description
[20:00:13] <BahamutWC|Work> if somehow you can grab a core team member to discuss with him/her for initial vetting beforehand though, that’s not a bad thing either
[20:00:23] *** LossFor has joined #angularjs
[20:00:40] <nickeddy> ckboii89: ah okay
[20:00:53] *** blackkbot has quit IRC
[20:01:00] *** Reskp has quit IRC
[20:01:15] *** prbc has joined #angularjs
[20:01:23] <ckboii89> all the backend does is search by tags
[20:01:26] *** Reskp has joined #angularjs
[20:01:32] <BahamutWC|Work> I’m getting a bit tired of writing a percent filter at each company I’m at
[20:01:39] <BahamutWC|Work> wish it was in core
[20:01:39] <ckboii89> and if the tag cross matches in the database, it just pulls all the data from the joined table
[20:01:44] *** jkremser has quit IRC
[20:01:48] *** ingshtrom has quit IRC
[20:02:00] *** shackleford has joined #angularjs
[20:02:01] *** krawek has quit IRC
[20:02:02] *** b1rkh0ff has quit IRC
[20:02:06] <nickeddy> ckboii89: so, why not just do what you said? if ('description' in $scope.newTreatment.async_selected_treatment && $scope.newTreatment.async_seleceted_treatment !== 'undefined') { //do stuff } else { // do other stuff }
[20:02:17] <nickeddy> errr undefined without quotes
[20:02:21] *** Sebastien-L has quit IRC
[20:02:23] *** b1rkh0ff has joined #angularjs
[20:02:24] <LossFor> Q: When I refresh the page in the browser on an angular app at a url like /w/test, it redirects to / (when I hit enter on the same URL, it goes there and doesn’t redirect to /). Is that a common issue with $routeProvider?
[20:02:29] *** whiteboo_ has quit IRC
[20:02:42] <ckboii89> where do i put that?
[20:02:48] <ckboii89> html or js file?
[20:02:55] *** holymac has quit IRC
[20:03:01] <Fuji> Hello! Is it appropriate to use $filter for formatting data for API consumption, or is the suggested use solely for formatting data for users/views?
[20:03:01] <ckboii89> my create function is doing a post
[20:03:03] <daniele9821> someone that can help me with karma+requirejs? i don't understand how i can test my controller...i've seen tutorial but nothing
[20:03:13] <nickeddy> ckboii89: inside the post result then
[20:03:17] <daniele9821> i can copy paste my configuration
[20:03:24] <nickeddy> LossFor: you're using ng-route?
[20:03:30] <LossFor> yes
[20:03:35] <LossFor> nickeddy: yes
[20:03:46] <nickeddy> i (and many others) highly recommend ui-router
[20:03:58] <ckboii89> post result?
[20:04:21] <nickeddy> LossFor: are you talking about say localhost/w/test or localhost/%/w/test
[20:04:55] *** jamesshijie has quit IRC
[20:05:29] *** juanlas has quit IRC
[20:05:33] <LossFor> nickeddy: its like localhost:xxx/#/w/asdf
[20:05:45] *** Reskp has quit IRC
[20:06:38] <nickeddy> LossFor: well at least in ui-router if a state/url doesn't exist, $urlRouterProvider.otherwise('/'); will make it redirect to /
[20:06:56] *** lostInParadise has joined #angularjs
[20:06:58] *** DrMabuse has joined #angularjs
[20:07:07] <LossFor> wait, sorry, it’s because of some code my friend wrote -_-
[20:07:11] *** _jpfm has joined #angularjs
[20:07:15] <nickeddy> hahahaha of course :)
[20:07:20] <LossFor> thanks for the help though. I’ll look at UI-router
[20:07:32] <nickeddy> yeah, do. you'll like it over ng-route
[20:08:36] *** shacklef_ has joined #angularjs
[20:08:36] *** shackleford has quit IRC
[20:08:48] *** _jpfm has quit IRC
[20:08:56] *** mguillech has quit IRC
[20:09:10] *** tangorri has joined #angularjs
[20:09:29] *** cthrax has quit IRC
[20:09:30] *** mettjus has quit IRC
[20:09:32] *** mguillech has joined #angularjs
[20:09:32] *** mguillech has joined #angularjs
[20:09:39] *** pluma has joined #angularjs
[20:10:01] <raypulver> the point of jwts is that the client cant decode them right?
[20:10:18] *** Silne30 has quit IRC
[20:10:21] <raypulver> the server issues them just to decode them again with every subsequent request?
[20:10:22] *** Nijikokun has quit IRC
[20:11:01] *** ppppaul has joined #angularjs
[20:11:57] *** Oddman has quit IRC
[20:12:26] *** epantzar has quit IRC
[20:12:44] *** evilaliv3 has quit IRC
[20:13:17] *** juanlas has joined #angularjs
[20:13:55] <teeray> so here's a puzzler... I have a page, with $location in html5 mode (on a browser that supports it), and the path that I'm currently on is say "/search/articles" ... the results for that page lead to new paths, "for example '/content/this-is-an-article' ... but rather than triggering a page reload, locationWatch picks it up and pushes a new state on... I wonder if there's a way I can basically tell locationWatch to *not* do
[20:13:56] <teeray> that for specific <a> tags...
[20:14:34] *** yoshokatana_ has joined #angularjs
[20:14:47] <BahamutWC|Work> teeray: you could use absolute urls
[20:15:18] *** lordkryss has quit IRC
[20:15:35] *** jerev_away is now known as jerev
[20:15:47] <teeray> BahamutWC|Work: mmm... that's the strange bit... they are absolute (I just didn't feel like typing out the full url heh)
[20:15:52] *** jamesshijie has joined #angularjs
[20:15:59] <BahamutWC|Work> oh, weird
[20:16:06] <kirfu|work> anyone ever use ngInfiniteScroll and had problems with float left elements?
[20:16:18] *** blackkbot has joined #angularjs
[20:16:20] *** bencc has joined #angularjs
[20:16:25] <BahamutWC|Work> isn’t ngInfiniteScroll abandoned?
[20:16:32] <kirfu|work> is it?
[20:16:34] <kirfu|work> GOD DANMIT!
[20:16:41] <BahamutWC|Work> lol
[20:16:49] <kirfu|work> BahamutWC|Work: what would you recommend?
[20:17:02] <BahamutWC|Work> oh nvm, looks like it’s still updated
[20:17:16] <kirfu|work> either way what would you recommend?
[20:17:25] <BahamutWC|Work> I liked ng infinite scroll the one time I used it
[20:17:39] <kirfu|work> Did you ever have a problem with a float left element?
[20:17:47] <BahamutWC|Work> I used it in a hackathon to get a pinterest-like layout
[20:17:54] <BahamutWC|Work> never used float: left with it
[20:17:59] <kirfu|work> :(
[20:18:04] *** greggsi has quit IRC
[20:18:20] *** daniele9821 has quit IRC
[20:18:25] *** Oddman has joined #angularjs
[20:18:37] <kirfu|work> ever used anything else?
[20:18:53] *** simb has joined #angularjs
[20:19:11] *** yoshokatana_ has quit IRC
[20:19:24] *** ckboii89 has quit IRC
[20:19:28] *** lostInParadise has quit IRC
[20:19:53] *** nemothekid has joined #angularjs
[20:22:05] *** prbc has quit IRC
[20:22:55] *** armdale has quit IRC
[20:23:01] *** OnkelTem has quit IRC
[20:23:26] *** oller has joined #angularjs
[20:24:45] *** danizord has joined #angularjs
[20:25:11] *** oller has quit IRC
[20:25:24] *** Sauvin has quit IRC
[20:25:28] *** bijan07077 has quit IRC
[20:26:08] <apipkin> kirfu|work: anyway you can do it without floats? are you clearing your floats so the container extends to the bounds?
[20:26:13] *** mguillech has quit IRC
[20:26:24] *** Guest1611 has joined #angularjs
[20:26:36] <Guest1611> hello all. Someone can help me to configure requirejs with angular and karma? i've follow the tutorial on the karma web site but i'm not able to start
[20:26:56] *** mguillech has joined #angularjs
[20:27:11] <kirfu|work> apipkin: yeah I figured it out. I thought I was clearing my floats but I was looking at the wrong god danm element :( lol
[20:27:26] *** simb has quit IRC
[20:27:49] *** Nijikokun has joined #angularjs
[20:27:52] <apipkin> That’s one of the main reasons I try to encourage people to use inline-block instead of floats ;)
[20:27:56] *** jerev is now known as jerev_away
[20:28:20] <BahamutWC|Work> there are few reasons to be using floats these days when working with modern browsers I think
[20:28:42] <Guest1611> this's my code: http://pastebin.com/index/CzA5VeVH
[20:28:52] <BahamutWC|Work> they’re still useful on occasion, but there are better solutions for many cases these days
[20:29:01] <apipkin> BahamutWC|Work: yeah when you want to wrap text around an object is the only time i have seen it beneficial
[20:30:01] *** bijan07077 has joined #angularjs
[20:30:09] *** Fuji has quit IRC
[20:30:24] *** oste has joined #angularjs
[20:30:53] *** mchapman has joined #angularjs
[20:30:56] *** jtimon has quit IRC
[20:31:42] *** mercwithamouth has quit IRC
[20:32:22] *** jKlaus has quit IRC
[20:32:41] *** nanoyak has quit IRC
[20:32:48] *** Aliks__ has joined #angularjs
[20:33:09] *** nanoyak has joined #angularjs
[20:33:12] *** phpxadmin has quit IRC
[20:33:16] *** jKlaus has joined #angularjs
[20:33:28] *** scmx has joined #angularjs
[20:34:22] *** GregInChicago has joined #angularjs
[20:34:26] *** davemerwin has joined #angularjs
[20:34:47] *** mattwynne has joined #angularjs
[20:34:50] <spencercarnage> I’m doing a watch on an object and I’m trying to figure out what specifically is changing the object, causing the watch to execute.
[20:35:02] <GregInChicago> Hi - quick question - I have a single Controller and two views. When I navigate to the 2nd view I see that I get a new Scope and a new Controller is created. The issue is that when that new Controller receives events, my event listeners are all pointing at the old Scope. Is there something special I need to do to dispose of the first Controller or Scope references?
[20:35:11] <spencercarnage> I’m digging around the $digest method but I can’t for the life of find the source of the change.
[20:35:22] *** Aliks_ has quit IRC
[20:35:30] *** KamalKaur has joined #angularjs
[20:35:42] *** khodgson has quit IRC
[20:35:56] *** khodgson has joined #angularjs
[20:36:09] *** JosephBergevin_ has joined #angularjs
[20:36:14] <spencercarnage> I’m currently looking around here https://github.com/angular/angular.js/blob/683d722233ea567816e58d7dd01ed39a3fbe3b72/src/ng/rootScope.js#L705
[20:36:18] *** [n0b0dy] has quit IRC
[20:36:28] *** [n0b0dy] has joined #angularjs
[20:36:59] *** mrogne has quit IRC
[20:39:06] *** JosephBergevin__ has joined #angularjs
[20:39:11] *** JosephBergevin has quit IRC
[20:39:45] <BahamutWC|Work> spencercarnage: I don’t think you’ll find the source of the change by digging around $watch’s internals or $digest’s internals
[20:39:56] *** ppppaul has quit IRC
[20:40:11] <spencercarnage> BahamutWC|Works any suggestions?
[20:40:13] <BahamutWC|Work> the thing you should understand about how $digest works though, angular stores a copy of all of the current $scopes
[20:40:25] *** tgkokk has quit IRC
[20:40:44] *** AlexZanf has joined #angularjs
[20:40:50] *** patrickarlt has quit IRC
[20:41:06] <BahamutWC|Work> whenever a change is made on one $scope and something does $rootScope.$digest (or $scope.$apply(), essentially the same thing), angular will then compare the current values on each $scope with the stored copies)
[20:41:27] *** RobinBAwesome has quit IRC
[20:41:41] <BahamutWC|Work> if it sees a difference, it will check all watchers and run the callbacks if they do match the changed expression(s)
[20:41:51] *** JosephBergevin_ has quit IRC
[20:41:59] <spencercarnage> I see that with the last and current in $digest.
[20:42:18] *** jdcasey has quit IRC
[20:42:19] <spencercarnage> Is trying to find what caused the change a lost cause?
[20:42:30] *** RobinBAwesome has joined #angularjs
[20:43:27] *** hychen has quit IRC
[20:43:39] <sonicparke|bradm> snurfery: on that sequential promise any idea how to return which url was just successfully completed but still continue on to the next?
[20:44:37] <snurfery> return it?
[20:44:53] *** nanoyak has quit IRC
[20:45:07] <sonicparke|bradm> yes
[20:45:24] *** lsiv568 has quit IRC
[20:45:29] *** lordjancso has joined #angularjs
[20:45:31] <enn> Hello, I see that I can pass a function as the first argument to an orderBy in an ng-repeat. In what scope is that function evaluated?
[20:45:35] <sonicparke|bradm> so I can have something like a list of urls on the page and check them off as each one completes to give the user some feedback
[20:45:47] *** bijan07077 has quit IRC
[20:45:49] <snurfery> sonicparke|bradm: make a new array
[20:45:51] *** KernelCurry has joined #angularjs
[20:45:55] <snurfery> var completedUrls = [];
[20:45:58] <snurfery> and push to that
[20:45:59] *** jillesme has joined #angularjs
[20:45:59] *** arussel has joined #angularjs
[20:46:19] *** adhsu has joined #angularjs
[20:46:24] *** patrickarlt has joined #angularjs
[20:46:25] <snurfery> or more like $scope.completedUrls = []
[20:46:43] *** dylukes has quit IRC
[20:46:49] <sonicparke|bradm> hmmmm...the only problem is that I've put this in a service so I need to get it back to my controller somehow
[20:46:51] <snurfery> then your checkboxes can do ng-checked="completedUrls.indexOf(thisUrl)"
[20:47:14] <snurfery> then attach it to the service if you want
[20:47:26] <snurfery> this.completedUrls = [];
[20:47:55] <snurfery> then in your controller: $scope.completedUrls = myService.completedUrls
[20:48:02] <kemm0> I'm having a small problem with restangular. MY POST request goes out to the server and the server response just fine with the appropriate JSON, but when i console log the response after the promise is fullfilled all i get is undefined.
[20:48:03] <snurfery> it'll link up by reference
[20:48:06] <sonicparke|bradm> I'm never been 100% sure how to get that back to the controller
[20:48:48] *** greggsi has joined #angularjs
[20:48:55] <snurfery> another option is to make a list of promises
[20:49:03] <snurfery> that's kinda weird though
[20:49:24] *** bahoo has quit IRC
[20:49:38] *** jae has joined #angularjs
[20:49:38] *** mennea has quit IRC
[20:50:31] *** patrickarlt has quit IRC
[20:50:32] *** icarus75 has quit IRC
[20:51:16] <sonicparke|bradm> ah. ok. I missed your line about "then in your controller"...
[20:51:23] *** mfunkie has quit IRC
[20:51:23] *** waylon999 has quit IRC
[20:51:45] *** mtsr has quit IRC
[20:52:20] <snurfery> =)
[20:52:35] *** orion1111 has joined #angularjs
[20:52:55] <adhsu> can someone help me out? i'm using ui-router to manage routing, with ui-sref, and it generally works, but I need to have a link with ui-sref and target="_blank". it isn't working and still opens in the route in the same window. any ideas?
[20:53:05] *** volk__ has joined #angularjs
[20:53:10] *** volk_ has quit IRC
[20:53:11] *** volk__ is now known as volk_
[20:53:14] *** Joshee has quit IRC
[20:53:15] <kemm0> wtf is _blank
[20:53:16] <kemm0> ?
[20:53:27] *** ppppaul has joined #angularjs
[20:53:42] *** amortimer has quit IRC
[20:53:50] *** ckboii89 has joined #angularjs
[20:54:14] *** eutheria has quit IRC
[20:54:15] *** FIFOd[a] has quit IRC
[20:54:48] *** cthrax has joined #angularjs
[20:55:10] *** trinode has quit IRC
[20:55:11] *** khodgson has quit IRC
[20:55:19] *** DrMabuse has quit IRC
[20:55:28] *** FIFOd[a] has joined #angularjs
[20:55:29] <cojack> guys, how the hell ng-options works
[20:55:36] <kemm0> easily
[20:55:38] <cojack> I have trouble with array of objects
[20:55:40] <kemm0> just read the docs on it
[20:55:55] <kemm0> the docs give you an example of exactly how to use it
[20:55:58] <cojack> done, and still no idea :D
[20:56:02] *** mehlah has joined #angularjs
[20:56:04] *** khodgson has joined #angularjs
[20:56:20] <cojack> I would like to get only key from object but it returns all of the object to model
[20:56:26] <cojack> what the hell im doing wrong? :P
[20:56:33] <kemm0> post your ng-options
[20:56:35] *** trinode has joined #angularjs
[20:56:45] <cojack> lang as lang.name for lang in languages track by lang.code
[20:56:52] <kemm0> no
[20:56:58] *** jae is now known as Jae
[20:56:59] *** cotko has quit IRC
[20:57:01] <kemm0> so the master object is languages?
[20:57:05] *** \du has joined #angularjs
[20:57:08] *** Nizumzen has quit IRC
[20:57:11] <cojack> kemm0: yes
[20:57:16] *** cotko has joined #angularjs
[20:57:44] <kemm0> language.name for language in languages
[20:57:47] *** FIFOd[a] has quit IRC
[20:57:49] <kemm0> ^^ at its simplest
[20:57:53] <cojack> languages is a array of objects [{code: 'EN', name: 'English'},...]
[20:58:01] <kemm0> yeah thats what it should be
[20:58:08] *** vintik has quit IRC
[20:58:18] <cojack> let me check
[20:58:21] <kemm0> now if you want to return the code of the select box
[20:58:23] <kemm0> it would be like
[20:58:25] *** jtimon has joined #angularjs
[20:58:43] <kemm0> language.code as languages.name for language in languages
[20:58:53] <kemm0> language.code as language.name for language in languages
[20:58:56] <kemm0> first one had a typo
[20:59:05] <jeffszusz> hey folks; i'm trying to test an angular service, and i'm getting a vague error, perhaps someone can help me: https://gist.github.com/jeffszusz/047617e38ba64f35de8c the error I'm getting is "[ng:areq] Argument 'fn' is not a function, got an Object"
[20:59:08] *** Guest1611 has quit IRC
[20:59:37] <jeffszusz> it seems to be happening at $provide
[20:59:46] <jeffszusz> somewhere in that block
[20:59:46] *** bberry is now known as bberry_away
[20:59:58] <OddDuck> adhsu, I think ui-sref just calls $state.go under the hood. I don't see any $state.go option to instantiate a new application in the given state, which is effectively what ui-sref target="_blank" seems like it would do. https://github.com/angular-ui/ui-router/blob/master/src/stateDirectives.js (see line 128)
[20:59:58] *** nitsujw has quit IRC
[21:00:04] <cojack> kemm0: and how in value pass an language.code? :p
[21:00:11] *** whunt has quit IRC
[21:00:18] *** FIFOd[a] has joined #angularjs
[21:00:35] *** Fire-Dragon-DoL has joined #angularjs
[21:00:36] <kemm0> so if you use the last example your display list should show the names, but when you select something your ng-model should have the value in it
[21:00:43] *** plitzenberger has joined #angularjs
[21:01:10] *** greggsi has quit IRC
[21:01:14] *** UniBot has quit IRC
[21:01:26] <cojack> kemm0: you're awesome
[21:01:32] *** lsiv568 has joined #angularjs
[21:01:32] *** Anton_ has quit IRC
[21:01:33] * cojack fallow in love with kemm0
[21:01:35] *** Edsfnnnnmlop3 has joined #angularjs
[21:01:36] *** cotko has quit IRC
[21:02:12] <spencercarnage> jeffszusz what does the groupService look like? need to see that code.
[21:02:12] *** lsiv568 has quit IRC
[21:02:20] *** patrickarlt has joined #angularjs
[21:02:20] *** lsiv568 has joined #angularjs
[21:02:29] <kemm0> i'm not awesome i just pay my bills by writing lots of codez
[21:02:35] *** slainer68 has joined #angularjs
[21:02:36] <kemm0> lots of angular codez
[21:03:06] *** volk_ has quit IRC
[21:03:15] *** icarus75 has joined #angularjs
[21:03:25] *** volk_ has joined #angularjs
[21:03:41] *** mtsr has joined #angularjs
[21:03:48] *** patrickarlt has quit IRC
[21:04:32] *** kas84 has quit IRC
[21:04:42] *** Cavallari has joined #angularjs
[21:04:56] *** nitsujw has joined #angularjs
[21:05:23] *** plitzenberger has quit IRC
[21:05:23] *** DrMabuse has joined #angularjs
[21:05:51] *** DrMabuse has quit IRC
[21:05:56] *** Jdubs has quit IRC
[21:06:05] *** DrMabuse has joined #angularjs
[21:06:14] *** drej has quit IRC
[21:06:25] <jeffszusz> spencercarnage, https://gist.github.com/jeffszusz/047617e38ba64f35de8c
[21:06:47] <jeffszusz> that's the relevant bits
[21:07:11] <BahamutWC|Work> heh coffeescript
[21:07:26] *** hswolff has quit IRC
[21:07:28] <jeffszusz> :P
[21:07:40] *** backbone_rocks has joined #angularjs
[21:07:53] *** spencercarnage has left #angularjs
[21:07:53] *** bberry_away has quit IRC
[21:07:54] *** KamalKaur has left #angularjs
[21:08:00] <jeffszusz> hey for the first paste I compiled it first, but this one compiled is uuuuugly so I left it coffee
[21:08:08] *** cthrax has quit IRC
[21:08:32] *** spencercarnage has joined #angularjs
[21:08:35] <spencercarnage> jeffszusz What happens when you console log groupService?
[21:08:39] *** scmx has quit IRC
[21:09:05] <jeffszusz> at which spot?
[21:09:07] *** jamesshijie has quit IRC
[21:09:24] *** mccarrontr1ck has quit IRC
[21:09:27] *** torkel_ has quit IRC
[21:09:31] <spencercarnage> Right before your assertion.
[21:09:32] *** damoncasale has joined #angularjs
[21:09:37] <damoncasale> Afternoon, folks...
[21:10:00] *** RobinBAwesome has quit IRC
[21:10:03] <mikehaas763> Is anyone familiar with some examples specifically with angular of implementing a finite state machine to manage sequential steps that need to happen, all on the same page? I pass several obj models into even several more component directives so I'm fairly certain ui-router just isn't powerful enough without making things ugly.
[21:10:04] <spencercarnage> I’m not super familiar with coffeescript but I imagine the ensureDistrict is being attached as a method of groupService, right?
[21:10:25] <damoncasale> So, I have a submit handler function that gets called when a form is submitted. ng-submit="submit()".
[21:10:47] <damoncasale> How do I check to see if the form is valid? I tried $scope.loginForm.$valid but it says loginForm is undefined.
[21:10:50] *** scmx has joined #angularjs
[21:10:50] *** tomh- has left #angularjs
[21:10:53] <damoncasale> loginForm is the name of the form.
[21:10:53] *** spaceonline has quit IRC
[21:11:27] <damoncasale> This is in a modal, btw, if that makes any difference.
[21:11:31] *** mccarrontr1ck has joined #angularjs
[21:11:50] *** pskrz has quit IRC
[21:11:57] *** pskrz has joined #angularjs
[21:12:37] *** zwacky has quit IRC
[21:12:54] *** yogurt_truck has joined #angularjs
[21:12:56] *** pskrz has quit IRC
[21:13:18] *** pskrz has joined #angularjs
[21:13:22] <jeffszusz> spencercarnage, yes, and groupservice is behaving as expected, and since there's no district, ensureDistrict is trying to call $scope.go
[21:13:29] *** defaultdict has quit IRC
[21:13:33] <jeffszusz> so I mocked $scope and thats what is giving me the error
[21:14:05] *** ppppaul has quit IRC
[21:14:18] <spencercarnage> you mean you mocked $state?
[21:14:28] <jeffszusz> sorry
[21:14:29] <jeffszusz> yes
[21:14:34] *** khodgson has quit IRC
[21:14:37] <jeffszusz> I meant $state.go
[21:14:47] *** khodgson has joined #angularjs
[21:14:50] *** moritzs has joined #angularjs
[21:15:38] <spencercarnage> Make state.go an empty function and then do spyOn($state, ‘go’)
[21:15:40] <jeffszusz> would the ugly javascript be easier for you to help with than the coffee?
[21:15:47] <spencercarnage> All you want to check is that $state.go was called, right?
[21:15:51] <jeffszusz> yes
[21:16:10] <jeffszusz> mocha with sinon though, no jasmine spies
[21:16:13] <spencercarnage> $provide.value(‘$state’, { go: function () {} })
[21:16:18] <jeffszusz> k i'll try it
[21:16:19] *** adhsu has quit IRC
[21:16:25] *** ascarter has quit IRC
[21:16:38] <spencercarnage> Oh, okay. no jasmine.
[21:16:47] <jeffszusz> same error
[21:16:51] <jeffszusz> with the empty function
[21:16:55] *** Trow1 has joined #angularjs
[21:17:19] *** cthrax has joined #angularjs
[21:17:37] *** eamonn has joined #angularjs
[21:17:37] *** D-Boy has quit IRC
[21:17:42] *** tp1 has joined #angularjs
[21:17:43] *** panchisco has joined #angularjs
[21:17:54] *** tp1_ has quit IRC
[21:18:05] <spencercarnage> and the error is "[ng:areq] Argument 'fn' is not a function, got an Object"
[21:18:38] <jeffszusz> yeah
[21:19:11] <jeffszusz> hm
[21:19:25] <jeffszusz> aha
[21:19:28] <jeffszusz> coffee bit me
[21:19:30] <spencercarnage> Is the from the $injector(‘groupService’) or from the actual groupService.ensureDistrict.should.be.a('function');
[21:19:33] <spencercarnage> It always does.
[21:19:35] <jeffszusz> explicit return
[21:19:41] <spencercarnage> Yep.
[21:19:42] <jeffszusz> was needed
[21:19:43] *** yoshokatana_ has joined #angularjs
[21:19:49] <jeffszusz> to undo the implicit return of $provide
[21:19:50] <jeffszusz> lol
[21:19:51] *** tgkokk has joined #angularjs
[21:19:52] *** drej has joined #angularjs
[21:19:52] <spencercarnage> that’s why I kind of hate CS
[21:19:57] *** mennea has joined #angularjs
[21:19:58] <jeffszusz> yeah, there are a few times it bites me
[21:19:59] <jeffszusz> but
[21:20:02] *** mettjus has joined #angularjs
[21:20:12] *** bahoo has joined #angularjs
[21:20:20] <jeffszusz> working on over a thousand javascript files with @17 different devs, the syntax saves us a lot of headaches most of the time
[21:20:23] *** Trow has quit IRC
[21:20:33] *** nitsujw has quit IRC
[21:20:41] <damoncasale> Anyone know AngularJS form validation?
[21:20:42] <jeffszusz> it's a net positive ;)
[21:20:45] <damoncasale> Need help.
[21:20:51] *** devilx has joined #angularjs
[21:20:53] <spencercarnage> Sure. Whatever works for you guys, go for it. But that damn implicit return.
[21:21:06] <BahamutWC|Work> thousand javascript files?
[21:21:13] <BahamutWC|Work> what company is this?
[21:21:43] *** mfunkie has joined #angularjs
[21:21:52] *** eamonn has quit IRC
[21:22:16] *** JmZ_ is now known as JmZ
[21:22:46] *** prbc has joined #angularjs
[21:24:08] <devilx> hey there.. I’m having a question regarding $scope variables, since I’m struggling with my code. Maybe someone could help me with that: When I set ng-model to an input and afterwards process that variable name within my controller using $scope.<variable> I’m getting the value that was entered into the input. Now, when use ng-click to call a new controller method and try to prepare the variable using $scope.<variable> = „…“, before displaying tha
[21:24:09] <devilx> input field, it doesn’t work. The input remains empty. Any idea? (sorry for the long text)
[21:24:15] *** dazs has joined #angularjs
[21:24:35] *** ckboii89 has quit IRC
[21:25:05] <nickeddy> devilx: is the variable an object or primitive
[21:25:24] <Siecje> When using a rootScope variable and ng-view where do you put the code so that it will work on all pages? https://dpaste.de/4duw
[21:25:52] *** nitsujw has joined #angularjs
[21:25:52] <devilx> nickeddy: it’s a simply string, that I’m trying to set
[21:26:20] <BahamutWC|Work> hey question - has anyone used ng-switch successfully in a table?
[21:26:26] <nickeddy> devilx: that may be the issue. try doing $scope.someVar = { text: '' }; and <input type="text" ng-model="someVar.text">
[21:26:31] <BahamutWC|Work> (it may work just fine - just would like to see if someone else has done so
[21:26:33] *** Joshee has joined #angularjs
[21:26:40] *** nitsujw has quit IRC
[21:26:52] *** Edsfnnnnmlop3 has quit IRC
[21:26:57] <devilx> nickeddy: oh, I’ll give it a try, one second - thanks!
[21:27:18] <damoncasale> devilx: I think I read somewhere that updated form variables are only accessible after a submit.
[21:27:28] <damoncasale> I'm having a related problem, myself.
[21:27:43] <nickeddy> wat
[21:27:43] <nickeddy> no
[21:28:00] <nickeddy> i mean, you shouldn't be leaving the angular SPA to do a submit...
[21:28:09] <damoncasale> ng-submit?
[21:28:16] *** chasematterhorn has joined #angularjs
[21:28:23] <BahamutWC|Work> ng-submit is fine
[21:28:26] <nickeddy> oh i never use that :P
[21:28:27] *** ccohn has quit IRC
[21:28:27] <damoncasale> That's what I meant.
[21:28:35] <nickeddy> ah
[21:28:42] *** Trow1 has quit IRC
[21:28:42] <damoncasale> I need help with form validation tied to an ng-submit.
[21:28:52] <BahamutWC|Work> ng-submit is good since you hook into what users expect with form submission behavior on browsers
[21:29:01] *** ccohn has joined #angularjs
[21:29:04] <BahamutWC|Work> i.e. if the user hits enter on the last input, it submits
[21:29:09] <GregInChicago> anyone know why my controller functions are working with the old scope after i do a $location.path('page2') to change the view?
[21:29:13] <nickeddy> BahamutWC|Work: good to know
[21:29:13] *** Fishy__ has joined #angularjs
[21:29:22] <nickeddy> i rarely use forms though, hmm
[21:29:26] <damoncasale> Inside my submit handler, I need to detect if the form is valid. $scope.loginForm is undefined, though.
[21:29:31] <BahamutWC|Work> forms are a pita
[21:29:35] *** chasematterhorn is now known as Scarlioni
[21:29:45] <nickeddy> damoncasale: is your form <form name="loginForm">
[21:29:49] <damoncasale> Ugh. There has to be someone who knows how to do a login form?
[21:29:51] *** w3bcrawler has quit IRC
[21:29:53] <damoncasale> nickeddy: Yes.
[21:30:06] <nickeddy> damoncasale: need something more to go on like a plnkr or pastebin
[21:30:13] <nickeddy> hard to diagnose without code haha
[21:30:34] <damoncasale> https://69.16.208.95/~opamobil/
[21:30:40] *** waylon999 has joined #angularjs
[21:30:42] <damoncasale> Login modal pops up automatically.
[21:30:54] *** yoshokatana_ has quit IRC
[21:31:02] *** Joshee has quit IRC
[21:31:08] <damoncasale> What would you need? The HTML layout? The submit handler?
[21:31:13] *** lsiv568 has quit IRC
[21:31:25] *** bijan07077 has joined #angularjs
[21:31:26] <nickeddy> i'm looking at it
[21:31:45] *** nitsujw has joined #angularjs
[21:31:46] *** uchuff has quit IRC
[21:32:00] <damoncasale> Line 811 of controls.js is where I'm getting an error.
[21:32:06] <nickeddy> yeah
[21:32:14] <nickeddy> odd that loginForm isn't defined
[21:32:17] <damoncasale> Yeah.
[21:32:20] *** prbc has quit IRC
[21:32:23] *** Fishy has quit IRC
[21:32:37] <nickeddy> what does the $scope.clickSubmit do?
[21:32:45] <nickeddy> probably shouldn't be fucking with DOM like that.
[21:32:50] *** encrypt3d_fracti has quit IRC
[21:33:02] *** Anton_ has joined #angularjs
[21:33:23] *** ccohn has quit IRC
[21:33:35] <nickeddy> yeah, don't do that
[21:33:43] *** Fishy__ has quit IRC
[21:33:47] <damoncasale> It's a handler for a button that's outside the form itself.
[21:33:58] <damoncasale> It triggers a hidden submit button *inside* the form.
[21:34:02] *** blueadept` is now known as blueadept
[21:34:07] *** blueadept has joined #angularjs
[21:34:08] <nickeddy> why..........
[21:34:22] <devilx> nickeddy: tried it, doesn’t help. What I noticed: If I’m using $rootScope instead of $scope within the controller, it’s working. I just wouldn’t want to have anything in $rootScope. :-/ It appears to me as if setting a variable from within the view places it into the ng-controller’s $scope, but the view can’t actually read from that scope.. what wouldn’t make any sense.
[21:34:23] <damoncasale> Because the layout of the modal makes it impossible to put the button where I want.
[21:34:33] <damoncasale> I'm using Bootstrap CSS.
[21:34:48] <damoncasale> So the form is inside modal-body and the submit button is inside modal-footer.
[21:35:09] *** UniBot has joined #angularjs
[21:35:14] <damoncasale> The faux submit button in the footer triggers a hidden submit button in the form, in the body.
[21:35:14] <nickeddy> yeah, you're doing hacky shit to accomplish that
[21:35:18] <damoncasale> Yes.
[21:35:30] <nickeddy> don't do that, this isn't jquery. only modify dom in a directive
[21:35:41] <damoncasale> I'm not modifying the DOM at all??
[21:35:46] <nickeddy> shhhh
[21:35:51] <nickeddy> that's not the point lol
[21:35:56] *** jamesshijie has joined #angularjs
[21:35:56] <damoncasale> Then I don't get it.
[21:36:10] <nickeddy> you're triggering a click event for another button from another button. totally sounds safe
[21:36:11] *** bejames has joined #angularjs
[21:36:12] <damoncasale> Anyway, it's a client requirement to have the layout like this.
[21:36:20] <damoncasale> I've done it many times before.
[21:36:23] <damoncasale> Just not in Angular.
[21:36:35] <nickeddy> 12:35 < nickeddy> don't do that, this isn't jquery.
[21:36:48] <nickeddy> there's probably some way to do it
[21:36:52] <damoncasale> Okay, so how *would* I do this in Angular?
[21:37:01] *** backbone_rocks has quit IRC
[21:37:07] <nickeddy> why not just play with CSS til you get the layout right only using modal-body?
[21:37:08] *** xaxisx has joined #angularjs
[21:37:21] <damoncasale> Are you at all familiar with Bootstrap?
[21:37:27] *** greggsi has joined #angularjs
[21:37:29] <nickeddy> i use bootstrap exclusively
[21:37:33] <nickeddy> i don't have these problems.
[21:37:44] <damoncasale> Okay, so you know that the modal-footer is completely separate from the modal-body, right?
[21:37:50] <nickeddy> indeed
[21:38:05] <damoncasale> How would I put a button inside modal-body but make it look like it's in the footer?
[21:38:08] *** jillesme has quit IRC
[21:38:12] <sonicparke|bradm> how does ng-class determine when to overwrite a class and when not to? I'm getting mixed results
[21:38:23] *** jmo1218 has joined #angularjs
[21:38:30] <nickeddy> damoncasale: CSS? lol
[21:38:38] <damoncasale> I don't get it.
[21:39:55] <nickeddy> you could just wrap the entire modal in the form
[21:40:02] <nickeddy> and change the button to type="submit"
[21:40:05] <damoncasale> Erm...
[21:40:06] <nickeddy> idk
[21:40:17] <nickeddy> it sounds to me better than doing what you're doing currently.
[21:40:23] *** krawek has joined #angularjs
[21:40:24] *** krawek has joined #angularjs
[21:40:24] <nickeddy> given that it works and this doesn't
[21:40:27] <damoncasale> The modal is being loaded from a separate template file.
[21:40:28] *** kas84 has joined #angularjs
[21:40:30] *** orion1111 has quit IRC
[21:40:40] <nickeddy> and?
[21:40:43] *** spencercarnage has quit IRC
[21:40:53] <damoncasale> So, the top of the file is <div class="modal-header"> Just put a form around that?
[21:41:02] <damoncasale> That won't break the layout?
[21:41:07] <nickeddy> i don't think so, no
[21:41:09] <damoncasale> Ok.
[21:41:28] <nickeddy> i don't think bootstrap does anything unless it's a form class="form-horizontal"
[21:41:43] <nickeddy> also make sure that button is type submit and no ng-click="clickSubmit()"
[21:41:46] *** dreambox has joined #angularjs
[21:41:52] *** greggsi has quit IRC
[21:41:54] <dreambox> Hello,
[21:42:31] <dreambox> If I want to develop a web app based on Angular, do I need to do that on Linux machine running NodeJs (NPM) in order to install the necessary modules etc?
[21:42:58] <raypulver> nope angular is client side
[21:43:00] <nickeddy> dreambox: no
[21:43:07] <raypulver> although you can install bower using npm
[21:43:08] *** jmo1218 has quit IRC
[21:43:16] *** xaxisx has left #angularjs
[21:43:23] <raypulver> which is a popular tool for installing client side scripts
[21:43:25] <nickeddy> yeah you can just grab source, no need to get it from bower or whatever
[21:43:31] <raypulver> right.
[21:43:32] *** Jdubs has joined #angularjs
[21:43:51] <dreambox> well, this is confusing because I was going through the tutorial, and at some point, https://docs.angularjs.org/tutorial/step_07 , it says I need to do something in bower, etc etc...
[21:43:59] *** Sawbones has joined #angularjs
[21:44:10] *** JoshGlzBrk has joined #angularjs
[21:44:28] <nickeddy> dreambox: you can individually grab bootstrap, angular, angular-mocks, and angular-route
[21:44:35] *** D-Boy has joined #angularjs
[21:44:48] <nickeddy> dreambox: that's all bower does
[21:44:53] <dreambox> nickeddy: ok so I just find the scripts/modules and add them separately manually
[21:44:57] <nickeddy> dreambox: yep
[21:45:05] <dreambox> I guess all that live in the github repo?
[21:45:11] *** Aliks__ has quit IRC
[21:45:12] <nickeddy> here
[21:45:52] <nickeddy> dreambox: https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.js https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular-route.js https://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular-mocks.js
[21:46:03] *** cojack has quit IRC
[21:46:14] <dreambox> ssweet! I don'tknow what "mocks" is for but :)
[21:46:21] <nickeddy> bootstrap from getbootstrap.com i think
[21:46:43] *** jaequery has joined #angularjs
[21:46:44] *** fatshark has quit IRC
[21:46:47] <damoncasale> Moved the form to be around the popup. $scope.loginForm is still not defined.
[21:46:58] *** ccohn has joined #angularjs
[21:47:01] <house> qq: if I have a scope $scope = member, and its populated in the DOM correctly, should I just be able to do this (http://pastebin.com/YdCPWNvv) on an "edit data" page to get the forms to pre-populate?
[21:47:34] <nickeddy> damoncasale: really? something very strange is going on then :(
[21:47:40] <nickeddy> i have to go, sorry i can't help more
[21:47:46] <damoncasale> Thanks.
[21:47:56] <damoncasale> Hopefully someone else can point me in the right direction.
[21:47:58] *** UniBot has quit IRC
[21:48:00] *** Guest2907 has joined #angularjs
[21:48:08] <Guest2907> exit
[21:48:14] *** Guest2907 has quit IRC
[21:48:36] <teeray> is an absolute link on a page that has the same domain as the page that it appears on considered by the browser to be relative?
[21:48:37] <house> my DOM has this (http://pastebin.com/U4hpP6ri) in it
[21:48:50] *** UniBot has joined #angularjs
[21:48:50] *** nitsujw has quit IRC
[21:49:01] <sonicparke|bradm> basically if I have fa-circle-o on an <i> ng-class won't overwrite that class to fa-check-circle-o but it will overwrite with fa-spinner or fa-bomb or something that's not as similar as the other
[21:49:14] <house> so shouldnt my form form be able to say:
[21:49:15] <house> <input type="text" id="isActive" ng-model="member.isActive"/>
[21:49:23] <house> and get member.isActive out of the DOM?
[21:49:26] <house> (for example)
[21:49:53] <teeray> my small experiments are showing that it does... which seems odd to me
[21:50:06] *** patrickarlt has joined #angularjs
[21:50:19] *** kas84 has quit IRC
[21:50:21] *** eden_lane has quit IRC
[21:50:42] <sonicparke|bradm> house: I'm wondering if the square brackets aroud that are causing the issue
[21:50:58] *** mfunkie has quit IRC
[21:51:01] <house> its an array. you think it should be object?
[21:51:14] *** JoshGlzBrk has quit IRC
[21:51:14] <house> let me tweak the factory
[21:51:20] <house> and see if it helps.
[21:51:26] <sonicparke|bradm> maybe because you've only got one and you're not spcifying the index of member
[21:51:37] *** jamesshijie has quit IRC
[21:51:40] *** cigol has quit IRC
[21:52:05] *** davi has quit IRC
[21:53:14] <house> btw here's my $resource: http://pastebin.com/aeD1p7CR
[21:53:22] *** jamto11 has quit IRC
[21:53:44] *** nitsujw has joined #angularjs
[21:54:34] <house> here is the controller: http://pastebin.com/V9kh2nV5
[21:54:52] *** bejames has quit IRC
[21:54:56] *** encrypt3d_fracti has joined #angularjs
[21:55:19] *** JosephSilber has quit IRC
[21:55:29] *** patrickarlt has joined #angularjs
[21:55:30] *** jamto11 has joined #angularjs
[21:56:12] *** mronoffon_clone has quit IRC
[21:56:14] *** spencercarnage has joined #angularjs
[21:56:52] *** shacklef_ has quit IRC
[21:57:18] *** wafflejock_ has quit IRC
[21:57:22] <kirfu|work> anyone know any good angular projects to take notes on coding style?
[21:58:25] *** whunt has joined #angularjs
[21:58:32] *** rho has quit IRC
[21:59:01] *** spencercarnage has quit IRC
[21:59:15] *** ascarter has joined #angularjs
[21:59:25] *** nanoyak has joined #angularjs
[21:59:25] <htowngangsta> question: I am rather new to Angular. Should I forget about ngRoute and start learning/working with the ui-router project? I don't want to go down the wrong path and realize I needed ui-router all along.
[21:59:30] *** bijan07077 has quit IRC
[21:59:58] *** UniBot has quit IRC
[22:00:04] <htowngangsta> and no, I have no project requirements at this point. Just trying to steer clear of wasting time and trying to retrofit ui-router which appears to be very popular.
[22:00:41] *** UniBot has joined #angularjs
[22:01:01] *** shackleford has joined #angularjs
[22:01:19] *** UniBot has quit IRC
[22:02:04] <raypulver> can I get $injector in the Chrome Developer Tools?
[22:02:11] <raypulver> to test a service
[22:02:38] <raypulver> or rather, is there a good way to 'get' a service in the test console?
[22:02:52] *** cthrax has quit IRC
[22:03:07] *** cthrax has joined #angularjs
[22:03:10] *** mmccook has quit IRC
[22:03:31] *** mfunkie has joined #angularjs
[22:03:32] *** mmccook has joined #angularjs
[22:03:48] *** spencercarnage has joined #angularjs
[22:04:17] *** sonofdirt has quit IRC
[22:04:18] *** jaequery has quit IRC
[22:05:12] *** vader_ has quit IRC
[22:05:42] *** lordjancso has quit IRC
[22:05:44] *** FIFOd[a] has quit IRC
[22:05:52] *** sonofdirt has joined #angularjs
[22:06:40] <damoncasale> nickeddy: Btw, figured it out.
[22:06:40] *** nanoyak has quit IRC
[22:06:42] <damoncasale> http://stackoverflow.com/questions/19312936/angularjs-modal-dialog-form-object-is-undefined-in-controller
[22:06:46] *** bijan07077 has joined #angularjs
[22:06:49] *** RobinBAwesome has joined #angularjs
[22:06:54] <damoncasale> Looks like it's an artifact of having the form inside of a modal.
[22:06:57] <damoncasale> Weird, but there you are.
[22:07:07] *** arussel has quit IRC
[22:07:21] *** scmx has quit IRC
[22:07:54] *** UniBot has joined #angularjs
[22:07:55] *** fifthofwry has quit IRC
[22:07:57] *** nanoyak has joined #angularjs
[22:08:50] *** scmx has joined #angularjs
[22:09:37] *** nanoyak has quit IRC
[22:09:49] *** secondjeff has joined #angularjs
[22:10:29] *** wafflejock has joined #angularjs
[22:10:35] *** nitsujw has quit IRC
[22:10:41] *** xaxisx has joined #angularjs
[22:11:08] *** nitsujw has joined #angularjs
[22:11:14] *** andrehs has joined #angularjs
[22:12:15] *** arizzo has joined #angularjs
[22:12:20] *** defaultdict has joined #angularjs
[22:12:39] *** doctorsound has joined #angularjs
[22:12:46] *** jeffszusz has quit IRC
[22:13:52] *** jpstone has quit IRC
[22:14:46] *** bencc has quit IRC
[22:15:12] *** khodgson has quit IRC
[22:15:40] *** yoshokatana_ has joined #angularjs
[22:15:47] *** henn1nk has quit IRC
[22:15:52] *** khodgson has joined #angularjs
[22:18:07] *** eamonn has joined #angularjs
[22:18:23] *** moritzs has quit IRC
[22:18:48] *** clinicalpain has joined #angularjs
[22:19:21] *** nanoyak has joined #angularjs
[22:19:22] *** AlexZanf has quit IRC
[22:19:35] *** clinicalpain has left #angularjs
[22:20:44] *** tonycoco has joined #angularjs
[22:20:53] *** secondjeff has quit IRC
[22:21:34] *** Wizek has quit IRC
[22:21:58] *** recidive has quit IRC
[22:22:02] *** cspra85 has joined #angularjs
[22:22:33] *** eamonn has quit IRC
[22:22:52] *** dazs has quit IRC
[22:23:53] *** wallerdev has quit IRC
[22:24:35] *** yoshokatana_ has quit IRC
[22:24:55] *** Aliks_ has joined #angularjs
[22:24:59] *** whitebook has joined #angularjs
[22:25:13] *** LossFor has quit IRC
[22:26:16] *** epantzar has joined #angularjs
[22:26:51] *** vbabiy has quit IRC
[22:27:39] *** arkanciscan has joined #angularjs
[22:28:29] <JonathanNeal> Is it somehat common to extend angular’s element https://docs.angularjs.org/api/ng/function/angular.element to add more sugar? e.g. http://sandbox.thewikies.com/angular-element-metrics/
[22:28:52] <arkanciscan> I have an <input> and I need to bind the value of it's "type" attr to a model
[22:29:26] *** cbutcher has joined #angularjs
[22:29:35] *** arizzo has quit IRC
[22:29:36] <arkanciscan> I tried <input ng-attr-type="displayedQuestion.type == 'Numeric' ? 'number' : 'text'">
[22:29:47] <arkanciscan> but it doesn't work
[22:29:50] <cbutcher> got a question about isolated scopes in transcluded directives
[22:30:09] *** arizzo has joined #angularjs
[22:30:18] <cbutcher> anyone got a second to help out?
[22:30:22] *** henn1nk has joined #angularjs
[22:30:25] *** arizzo has quit IRC
[22:30:46] <arkanciscan> In KnockoutJS I'd just do <input data-bind="attr: {type: FieldType() == 'Numeric' ? 'number' : 'type'}">
[22:30:46] *** arizzo has joined #angularjs
[22:31:02] <arkanciscan> *text
[22:31:05] *** tonycoco has quit IRC
[22:31:05] *** arizzo has quit IRC
[22:31:08] *** nitsujw has quit IRC
[22:31:20] *** kirfu has joined #angularjs
[22:31:31] *** nitsujw has joined #angularjs
[22:31:41] *** arizzo has joined #angularjs
[22:31:42] <arkanciscan> is there not a similar angular directive for binding values of arbitrary attrs?
[22:32:20] *** livingstn has quit IRC
[22:33:32] *** mccarrontr1ck has quit IRC
[22:33:43] *** SomeKittens has joined #angularjs
[22:33:55] *** mccarrontr1ck has joined #angularjs
[22:33:56] <arkanciscan> Why is nothing ever easy in Angular
[22:33:57] *** mzehrer__ has quit IRC
[22:34:08] <JonathanNeal> arkanciscan: that’s a loaded statement.
[22:34:30] *** whunt has quit IRC
[22:34:48] *** mzehrer_ has quit IRC
[22:34:51] <arkanciscan> I regret using this Framework in my project every day
[22:34:51] *** AlSquire has joined #angularjs
[22:35:40] *** simb has joined #angularjs
[22:36:28] *** arizzo has quit IRC
[22:36:53] *** patrickarlt has quit IRC
[22:37:28] *** ome has quit IRC
[22:37:30] *** tonycoco has joined #angularjs
[22:38:13] *** greggsi has joined #angularjs
[22:38:17] <JonathanNeal> arkanciscan: which other frameworks have you used?
[22:38:25] *** armdale has joined #angularjs
[22:38:36] *** McDuckie has joined #angularjs
[22:40:08] *** daniele9821 has joined #angularjs
[22:40:26] *** scrooge_mcduck has quit IRC
[22:40:30] *** cspra85 has quit IRC
[22:40:40] <daniele9821> hello all can anyone help me with karma+jasmine? I'm not be able to startup my first test
[22:40:49] *** sharondio has joined #angularjs
[22:41:05] <JonathanNeal> Well, I’ll start publishing these baby angular plugins and let the twitter community bash me if I’m doing it wrong! ;D
[22:41:58] *** yoshokatana has quit IRC
[22:42:04] *** vintik has joined #angularjs
[22:42:22] *** eamonn has joined #angularjs
[22:42:53] *** mmccook has quit IRC
[22:43:23] *** greggsi has quit IRC
[22:44:04] *** wlll has left #angularjs
[22:44:07] *** bencc has joined #angularjs
[22:44:25] *** zencoder has joined #angularjs
[22:44:43] *** sonicparke|bradm has quit IRC
[22:44:49] *** JasonSto_ has joined #angularjs
[22:44:54] <zencoder> hey guys, I'm new to the framework and running into a few problem
[22:45:23] *** atomical has quit IRC
[22:45:56] *** patrickarlt has joined #angularjs
[22:46:01] <zencoder> It's a really small project (3 files) and is probably a silly error, I've created a plunker if anyone wants to have a quick look
[22:46:11] *** akrikos has quit IRC
[22:46:23] *** GregInChicago has quit IRC
[22:46:23] *** wafflejock has quit IRC
[22:46:41] *** eamonn has quit IRC
[22:47:00] *** shackleford has quit IRC
[22:48:08] *** AlexZanf has joined #angularjs
[22:48:18] *** wafflejock has joined #angularjs
[22:48:18] *** JasonStoltz has quit IRC
[22:48:41] *** bejames has joined #angularjs
[22:49:02] *** JasonSto_ has quit IRC
[22:49:12] *** Jae has quit IRC
[22:49:33] *** linojon has quit IRC
[22:50:48] *** kirfu has quit IRC
[22:51:36] *** edgarnadal has joined #angularjs
[22:51:41] *** uf6668 has quit IRC
[22:51:56] *** uf6667 has joined #angularjs
[22:52:04] *** UniBot has quit IRC
[22:52:41] <arkanciscan> JonathanNeal: I wouldn't call it a "framework" but I've used Knockout for data-binding and it's great
[22:52:41] *** Snugug has joined #angularjs
[22:52:50] <zencoder> http://plnkr.co/edit/ZozzaGFe1vS0p59LWeJK?p=preview
[22:54:21] *** mfunkie has quit IRC
[22:54:22] *** phpxadmin has joined #angularjs
[22:54:23] *** edgarnadal has quit IRC
[22:54:37] *** wafflejock has quit IRC
[22:54:40] *** cspra85 has joined #angularjs
[22:55:21] *** shackleford has joined #angularjs
[22:55:33] <snurfery> Foxandxss you around? I think there's a new angular release for the motd =)
[22:55:35] *** whitebook has quit IRC
[22:55:37] *** Jae has joined #angularjs
[22:55:45] <Foxandxss> another? uh
[22:55:46] *** daniele9821 has quit IRC
[22:55:48] <snurfery> 1.2.21 and 1.3.0-beta-17
[22:56:05] <Foxandxss> indeed
[22:56:12] *** ChanServ sets mode: +o Foxandxss
[22:56:13] *** shacklef_ has joined #angularjs
[22:56:26] <snurfery> I feel like you just went super saiyen
[22:56:26] *** wallerdev has joined #angularjs
[22:56:28] <snurfery> lol
[22:56:37] *** Foxandxss changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.2.21 / 1.3.0-beta.17 | Be respectful! Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f | The channel is being logged at: http://goo.gl/8Wwttq | Be polite! ( *❛‿❛)/˚°◦🐙"
[22:57:14] *** mrits has quit IRC
[22:57:16] *** xaxisx has quit IRC
[22:57:31] <Foxandxss> uh, restrict is gonna default to EA
[22:57:32] *** danizord has quit IRC
[22:57:32] *** xaxisx has joined #angularjs
[22:57:46] <Foxandxss> EA sport, it's in the game
[22:57:49] *** Cavallari has quit IRC
[22:57:56] <snurfery> yeah, just saw that
[22:58:04] <snurfery> I'm not on 1.3 yet
[22:58:08] *** mattwynne has quit IRC
[22:58:08] *** shacklef_ has quit IRC
[22:58:09] <Foxandxss> I am
[22:58:12] * snurfery is apparently a coward
[22:58:17] *** Ethix has joined #angularjs
[22:58:28] *** whitebook has joined #angularjs
[22:58:44] <JonathanNeal> arkanciscan: i have used Ractive for similar purposes and enjoyed it.
[22:58:52] *** whunt has joined #angularjs
[22:58:53] *** whitebook has quit IRC
[22:58:59] *** shacklef_ has joined #angularjs
[22:59:07] *** jKlaus has quit IRC
[22:59:12] *** bmac has quit IRC
[22:59:21] <JonathanNeal> But Angular route binding was really easy to implement, and I liked that. Can’t get that in Ractive.
[22:59:22] *** whitebook has joined #angularjs
[22:59:32] *** mattwynne has joined #angularjs
[22:59:47] <arkanciscan> There are lots of good routing libs
[22:59:53] *** shackleford has quit IRC
[22:59:56] *** wilmoore has joined #angularjs
[23:00:12] <arkanciscan> page.js looks likea good one, but I haven't really used it
[23:00:17] *** ericbarnes has quit IRC
[23:01:11] *** Ilyas has quit IRC
[23:01:13] <davek> Anyone know a good way to introduce an artificial lag in a stream? Just use through with a timeout before write?
[23:01:14] <arkanciscan> So it seems like ng-bind-attr doesn't exist anymore
[23:01:16] *** plitzenberger has joined #angularjs
[23:01:22] *** khodgson has quit IRC
[23:01:35] *** khodgson has joined #angularjs
[23:01:35] *** JosephSilber has joined #angularjs
[23:01:37] <arkanciscan> does anyone know how to achieve the same goal without ng-bind-attr?
[23:01:51] *** charuru has joined #angularjs
[23:01:52] <snurfery> what
[23:01:53] <snurfery> s
[23:01:58] <snurfery> what's ng-bind-attr?
[23:02:05] *** mrits has joined #angularjs
[23:02:21] <Foxandxss> to bind problematic attributes
[23:02:22] *** mrits has quit IRC
[23:02:37] <arkanciscan> snurfery: seems like it was the same as KnockoutJS's attr binding http://knockoutjs.com/documentation/attr-binding.html
[23:02:52] *** Nivag has quit IRC
[23:02:58] <snurfery> ah, interesting
[23:03:02] <arkanciscan> oh...
[23:03:12] <arkanciscan> I could just use a handlerbarexpression huh?
[23:03:14] *** Snugug has quit IRC
[23:03:29] <arkanciscan> <input type="{{displayedQuestion.type == 'Numeric' ? 'number' : 'text'}}">
[23:03:34] <arkanciscan> will that work?
[23:03:40] *** bijan07077 has quit IRC
[23:03:46] *** negval has joined #angularjs
[23:04:02] *** smoothgrips has joined #angularjs
[23:04:19] *** BillCriswell has quit IRC
[23:04:45] *** endash has quit IRC
[23:04:48] <Foxandxss> there are something like ng-attr-height or width
[23:05:12] <Foxandxss> what's your goal anyway?
[23:05:12] <arkanciscan> Sweet, handlerbar expression worked!
[23:05:26] *** mikehaas763 has quit IRC
[23:05:27] <arkanciscan> I basically wanted the value of type to be bound
[23:05:30] *** XoRoN has joined #angularjs
[23:05:42] *** plitzenberger has quit IRC
[23:05:53] <arkanciscan> it's a form, and if the form field is suppoed to hold a number the type should be "number"
[23:06:01] *** UniBot has joined #angularjs
[23:06:17] *** mccarrontr1ck has quit IRC
[23:06:20] <Foxandxss> there is ngSwitch tho
[23:06:24] <arkanciscan> I forget that handlebar expressions can do more than just evaluate a single property
[23:06:26] <snurfery> arkanciscan: are you using 1.3.x?
[23:06:35] <arkanciscan> snurfery: no
[23:06:47] <snurfery> oh ok
[23:06:49] *** djam90 has joined #angularjs
[23:07:09] <djam90> Do you guys think I need to anything special to "angularise" this tiny piece of JS code? http://toddmotto.com/introducing-superbox-the-reimagined-lightbox-gallery/
[23:07:22] *** tp1_ has joined #angularjs
[23:07:23] *** whitebook has quit IRC
[23:07:34] <SuperPhly> when writing a SPA with multiple ui-router views what do i call the "base"? root?
[23:08:05] <SuperPhly> if i'm using dot notation, do i need to then name each sub-state root.XXXX perpetually?
[23:08:31] *** Nizumzen has joined #angularjs
[23:08:40] *** Reskp has joined #angularjs
[23:08:48] *** encrypt3d_fracti has quit IRC
[23:08:50] <Foxandxss> djam90: every jquery plugin is a different history
[23:09:23] *** tp1 has quit IRC
[23:09:24] <djam90> Foxandxss, I know.. this code is like 20 lines, super simple, just wondering whether anything different needs to be done? Particularly the initialisation of it by $('.superbox').SuperBox();
[23:09:27] *** arizzo has joined #angularjs
[23:09:52] <Foxandxss> wrap that in a directive
[23:09:58] <Foxandxss> and then do a: element.SuperBox();
[23:10:01] *** scrooge_mcduck has joined #angularjs
[23:10:06] *** drej has quit IRC
[23:10:47] *** Silne30 has joined #angularjs
[23:10:54] <snurfery> arkanciscan: caitp submitted a pull request with the feature you're looking for (I think).. it hasn't been merged but you can use it as your own directive if you want: https://github.com/angular/angular.js/pull/4269
[23:10:57] <djam90> thanks Foxandxss
[23:11:03] *** cthrax_ has joined #angularjs
[23:11:25] *** RandyT has quit IRC
[23:11:37] *** McDuckie has quit IRC
[23:11:47] <JonathanNeal> Okay, published! https://github.com/jonathantneal/angular-sticky https://github.com/jonathantneal/angular-element-metrics
[23:11:51] *** cthrax has quit IRC
[23:12:08] *** ngbot has joined #angularjs
[23:12:09] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/yRYH4Q
[23:12:09] <ngbot> angular.js/master 0daaab0 Mitch Robb: docs(tutorial): update step7 ngdoc to fix grammar...
[23:12:09] *** ngbot has left #angularjs
[23:13:07] <djam90> Foxandxss, that plugin.. I think it is documented wrong there. The code uses .superbox but the HTML doesn't have it
[23:13:23] *** kppullin has quit IRC
[23:13:26] *** encrypt3d_fracti has joined #angularjs
[23:13:47] *** kppullin has joined #angularjs
[23:13:56] *** cbutcher has quit IRC
[23:14:08] *** Snugug has joined #angularjs
[23:14:14] *** mikehaas763 has joined #angularjs
[23:14:16] *** fatshark has joined #angularjs
[23:14:36] *** RandyT has joined #angularjs
[23:14:47] *** rho has joined #angularjs
[23:15:40] *** Methylated has quit IRC
[23:16:15] *** ccohn has quit IRC
[23:16:46] <Foxandxss> djam90: $.fin.SuperBox
[23:16:49] *** ccohn has joined #angularjs
[23:16:51] <Foxandxss> fn*
[23:17:11] *** opreaadrian has joined #angularjs
[23:17:51] *** phuh has joined #angularjs
[23:18:28] *** anjumkaiser has joined #angularjs
[23:18:41] *** teeray has quit IRC
[23:18:44] *** oste has quit IRC
[23:18:55] *** khodgson has quit IRC
[23:18:59] *** andrehs has left #angularjs
[23:19:18] *** jgladwill has joined #angularjs
[23:19:19] *** arizzo has quit IRC
[23:19:27] *** jgladwill has quit IRC
[23:19:27] *** jgladwill has joined #angularjs
[23:19:28] *** doctorsound has left #angularjs
[23:19:42] *** jharbaugh has quit IRC
[23:19:52] *** arizzo has joined #angularjs
[23:20:11] *** McDuckie has joined #angularjs
[23:20:18] *** jharbaugh has joined #angularjs
[23:20:53] *** cthrax_ has quit IRC
[23:21:16] *** ccohn has quit IRC
[23:21:35] *** Red-Beard has joined #angularjs
[23:21:49] *** lw has quit IRC
[23:22:40] *** scrooge_mcduck has quit IRC
[23:22:56] *** vintik has quit IRC
[23:23:06] <djam90> Foxandxss, got superbox working on it! However it seems to act weird with my ng-repeat. Could you just click on an image and see how it opens the superbox below it, but for 2 or 3 of the images :/ http://goo.gl/Y7y5m4
[23:23:34] <Red-Beard> Ummm, hey. Anyone really familiar with the bugs? I think I found one, but don't want to submit it without some validation.
[23:23:40] <Foxandxss> I see
[23:23:45] <Foxandxss> sorry, I am a little busy atm
[23:23:58] <djam90> no probs :)
[23:24:18] *** arizzo has quit IRC
[23:24:23] *** jharbaugh has quit IRC
[23:24:27] *** RobinBAwesome has quit IRC
[23:24:59] *** opreaadrian has left #angularjs
[23:25:14] *** atomical has joined #angularjs
[23:26:59] *** ngbot has joined #angularjs
[23:27:00] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/frM6eg
[23:27:00] <ngbot> angular.js/master 46f755a Ivan Alvarez: docs(tutorial): update step_03.ngdoc...
[23:27:00] *** ngbot has left #angularjs
[23:27:18] *** Yahkob has quit IRC
[23:28:10] *** dcherman has quit IRC
[23:28:17] *** Yahkob has joined #angularjs
[23:28:49] *** zencoder has quit IRC
[23:29:27] <mikehaas763> Who's attempted to use ui-router as a fullblown UI architecture state machine? Was it worth it or is it best left to simple 'application as a whole' state changes?
[23:29:35] *** {DV8} has quit IRC
[23:30:30] <SuperPhly> How do I implement a state that never changes? It's there on page load, but never goes away. The state is always active.
[23:30:48] <SuperPhly> Should I not use ui-router and just do a regular controller?
[23:31:01] <BahamutWC|Work> mikehaas763: I think ProLoser has, but he doesn’t really come here often anymore
[23:31:06] *** evilaliv3 has joined #angularjs
[23:31:27] <BahamutWC|Work> SuperPhly: you could just have stuff in a controller above your ui-view
[23:31:35] <BahamutWC|Work> that way it’s always on the top level and always present
[23:32:04] *** arizzo has joined #angularjs
[23:32:36] <SuperPhly> right, i was trying to work it into ui-router and realize there as never a URL associated, because it's always there.
[23:32:38] <arkanciscan> snurfery: just looked at that link, that's pretty much what I wanted!
[23:32:38] *** calumet has quit IRC
[23:32:53] <SuperPhly> ui-router is more for the stuff that changes in the app... the "bulk" of the page. not the login/menu bar
[23:33:06] *** fairchild has quit IRC
[23:33:25] *** RobinBAwesome has joined #angularjs
[23:33:36] *** mattwynne has quit IRC
[23:33:47] <djam90> Does anyone know what the hell is going wrong with this image semi-lightbox thing? http://goo.gl/Y7y5m4 is the site, and it SHOULD work like this: http://toddmotto.com/labs/superbox/ It works on my site on a couple, but sometimes it duplicates it??? The superbox code is here: http://toddmotto.com/introducing-superbox-the-reimagined-lightbox-gallery/
[23:34:07] <snurfery> arkanciscan: sweet, glad to hear it
[23:34:38] *** kirfu has joined #angularjs
[23:34:43] *** matthoiland has quit IRC
[23:34:43] *** AlSquire has quit IRC
[23:35:22] <arkanciscan> snurfery: but <input type={{isNumber ? 'number' : 'text'}}> also works
[23:35:37] *** spencercarnage has quit IRC
[23:35:42] *** prikk has quit IRC
[23:36:04] <snurfery> yeah for sure
[23:36:17] *** AlSquire has joined #angularjs
[23:36:19] <snurfery> I think there might be issues if you try to change input type in IE
[23:36:20] *** apetro_ has joined #angularjs
[23:36:24] <snurfery> dunno what version
[23:36:27] <BahamutWC|Work> avoid doing computations inside interpolations
[23:36:34] <kemm0> anyone have any experience accessing s3 via angular?
[23:36:36] <arkanciscan> snurfery: oh yeah, good heads up
[23:36:49] <snurfery> I have a terrible memory though so you might wanna doublecheck =)
[23:36:56] <BahamutWC|Work> those computations get re-evaluated on each $digest
[23:37:10] <kemm0> performance hit!
[23:37:15] <arkanciscan> BahamutWC: also a good tip
[23:37:45] *** ckboii89 has joined #angularjs
[23:37:47] *** Oddman has quit IRC
[23:38:01] *** arizzo has quit IRC
[23:38:06] *** AxldenieD has quit IRC
[23:38:23] *** tonycoco has quit IRC
[23:38:25] *** juanlas has quit IRC
[23:38:29] *** anjumkaiser has quit IRC
[23:38:34] *** arizzo has joined #angularjs
[23:38:50] <ckboii89> hey guys
[23:38:53] *** francisl has quit IRC
[23:38:55] <ckboii89> is there a way to center a modal?
[23:38:58] *** greggsi has joined #angularjs
[23:39:05] <kemm0> are you using ui-bootstrap?
[23:39:07] *** xaxisx has quit IRC
[23:39:10] <ckboii89> yea
[23:39:18] <ckboii89> i had to override to modal size
[23:39:23] *** scmx has quit IRC
[23:39:25] <ckboii89> to a custom width
[23:39:33] <kemm0> .. probably the same config
[23:39:35] <ckboii89> and now the template is off center because of it
[23:39:52] <kemm0> so like sent the padding or w/e to 50% page height 50% page width?
[23:39:56] <kemm0> i'm shooting from the hip there
[23:40:06] *** dcherman has joined #angularjs
[23:40:38] *** evilaliv3 has quit IRC
[23:40:42] *** Mouzi has quit IRC
[23:41:00] *** Yahkob has quit IRC
[23:41:04] *** kirfu has quit IRC
[23:41:08] <ckboii89> .modal-width-override .modal-content{width:450px;}
[23:41:21] *** dcherman has quit IRC
[23:41:35] *** waylon999 has quit IRC
[23:41:37] *** xaxisx has joined #angularjs
[23:42:03] *** greggsi_ has joined #angularjs
[23:42:03] *** arizzo_ has joined #angularjs
[23:42:18] *** djam90 has quit IRC
[23:42:37] *** kas84 has joined #angularjs
[23:42:40] *** greggsi has quit IRC
[23:42:47] <Reskp> i guys, have a scope witch is an array that contains object. how can i access this object from controller? $scope.blocks[10] is not the solution because in my controller i refer to this.block.XXX because of method used by ng-click='doSomething()'
[23:42:50] *** tonycoco has joined #angularjs
[23:43:08] *** waylon999 has joined #angularjs
[23:43:21] *** arizzo has quit IRC
[23:43:53] *** dcherman has joined #angularjs
[23:44:06] *** xaxisx has left #angularjs
[23:44:20] <Reskp> scope.mixColor.call(scope.blocks[10]); fail this.block is not defined
[23:44:28] *** avree has joined #angularjs
[23:44:46] *** TehShrike|Work has joined #angularjs
[23:45:06] *** vintik has joined #angularjs
[23:45:18] *** AngularUI has joined #angularjs
[23:45:18] <AngularUI> [ng-grid] AgDude opened pull request #1318: Example of using a decorator to set default options (3.0-pinned-containers...3.0-pinned-containers) http://git.io/Z8myYA
[23:45:18] *** AngularUI has left #angularjs
[23:45:29] *** JimTheDev has quit IRC
[23:45:52] <TehShrike|Work> Is there a way to, in an expression, say "display this value, but if it's null, display this other thing instead"? Something like {{value | "OH NOEZ"}}
[23:45:59] <mikehaas763> SuperPhly: Why do you that it's more for the "bulk" of the page? Have you attempted to use it for more granular states? I was thinking I could react to changes in my components to $state.is() etc
[23:46:08] <mikehaas763> *Why do you say
[23:46:23] *** mindlace has quit IRC
[23:46:31] *** dreambox has quit IRC
[23:46:36] *** dcherman has quit IRC
[23:46:43] *** XoRoN has quit IRC
[23:47:11] *** dcherman has joined #angularjs
[23:47:23] *** cspra85 has quit IRC
[23:47:46] *** cspra85 has joined #angularjs
[23:48:34] *** mindlace has joined #angularjs
[23:49:23] *** watsonkp has quit IRC
[23:49:29] *** dcherman2 has joined #angularjs
[23:49:32] <SuperPhly> mikehaas763: well, this is where i probably have a misunderstanding about ui-router
[23:49:35] *** spookyfork has joined #angularjs
[23:50:11] <SuperPhly> I've got this SPA with a menu bar at the top that has a drop down log viewer. Basically it hits the JSON on the server and updates.
[23:50:21] *** patrickarlt has quit IRC
[23:50:34] <SuperPhly> I don't think it will ever need $state.is()
[23:50:41] <SuperPhly> but that's not important to me learning this.
[23:50:44] *** whunt_ has joined #angularjs
[23:51:02] <SuperPhly> So the "root" of the app needs to have a state right? Some over-arching state/base/root, correct?
[23:51:05] *** watsonkp has joined #angularjs
[23:51:07] *** amacgregor has joined #angularjs
[23:51:28] *** RandyT has quit IRC
[23:51:37] *** Methylated has joined #angularjs
[23:51:49] <mikehaas763> SuperPhly: You may be right, it's something I'm trying to get to the bottom of now. I've always used ui-router as a page to page router with maybe a nested view here or there.
[23:52:04] *** dcherman has quit IRC
[23:52:07] <mikehaas763> I want a full blown state machine for the individual complex interaction that happen in my UI
[23:52:08] *** amargherio has quit IRC
[23:52:20] *** doddstack has quit IRC
[23:52:36] *** ngbot has joined #angularjs
[23:52:36] <ngbot> [angular.js] juliemr pushed 1 new commit to master: http://git.io/wZFvQA
[23:52:36] <ngbot> angular.js/master 1f533ad Julie Ralph: chore(ci): pin sauce connect to v4.3
[23:52:36] *** ngbot has left #angularjs
[23:52:40] *** jharbaugh has joined #angularjs
[23:52:47] *** kirfu has joined #angularjs
[23:53:02] <mikehaas763> SuperPhly: The app root doesn't need a state.
[23:53:12] *** whunt has quit IRC
[23:53:26] *** RobinBAwesome has quit IRC
[23:53:28] <mikehaas763> Just put ui-view where you want your state templates+controllers to be swapped in/out
[23:53:30] *** jamto11 has quit IRC
[23:53:56] <SuperPhly> right, but what if that logger is outside of that?
[23:54:00] *** RobinBAwesome has joined #angularjs
[23:54:06] <SuperPhly> and it doesn't have any connection to that ui-view
[23:54:29] *** JimTheDev has joined #angularjs
[23:54:29] *** dhcar is now known as dhcar_AFK
[23:54:37] *** RandyT has joined #angularjs
[23:54:39] *** thomasreggi has quit IRC
[23:56:16] *** imehesz has quit IRC
[23:57:09] *** UniBot has quit IRC
[23:57:12] *** arizzo_ has quit IRC
[23:57:44] *** arizzo has joined #angularjs
[23:58:01] *** bencc has quit IRC
[23:58:21] <SuperPhly> I have to define a state to get everything started, so that I can address that ui-view for the logger, correct?
[23:58:50] *** dark_splinter has quit IRC
[23:58:53] <SuperPhly> Which means the ui-router tree has to start some where... a root/base or whatever.
[23:59:04] *** prbc has joined #angularjs
[23:59:11] *** arizzo_ has joined #angularjs
[23:59:12] <SuperPhly> I can't just dive into one of many top level states and reference the logger as a child, right?
[23:59:19] *** mamarilmanson has joined #angularjs
[23:59:23] *** MANCHUCK has quit IRC
[23:59:49] *** epantzar has quit IRC
top

   July 25, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >