Switch to DuckDuckGo Search
   July 8, 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:00] *** Aliks has quit IRC
[00:00:03] *** AnthonyC has quit IRC
[00:00:04] <davek> There's no such thing..
[00:00:06] *** Shrooms has joined #angularjs
[00:00:07] <opensourcegeek> really? http://stackoverflow.com/questions/11605917/this-vs-scope-in-angularjs-controllers
[00:00:14] *** futuredale has quit IRC
[00:00:14] *** Kallb123 has quit IRC
[00:00:27] *** lordkryss has joined #angularjs
[00:00:37] <davek> Yes, that demonstrates that they are totally different things.
[00:01:35] *** ianpirro has quit IRC
[00:01:45] *** thebigredgeek has quit IRC
[00:02:00] <opensourcegeek> sorry meant this, http://stackoverflow.com/questions/16619740/angular-should-i-use-this-or-scope
[00:02:22] *** richardbaker has quit IRC
[00:02:44] *** lordkryss has quit IRC
[00:02:49] *** richardbaker has joined #angularjs
[00:03:10] *** Aliks has joined #angularjs
[00:03:44] *** lordkryss has joined #angularjs
[00:03:57] *** juampy has quit IRC
[00:04:12] *** Aliks has quit IRC
[00:04:45] *** Aliks has joined #angularjs
[00:05:22] *** foofoobar has quit IRC
[00:05:27] *** RobinBAwesome has joined #angularjs
[00:05:37] <opensourcegeek> @davek did you see the other link I sent about the new "controller as ctrl" syntax? It seems to me that phonecat tutorial still uses $scope and i was wondering if this is intentional
[00:06:04] *** RootWeiller has quit IRC
[00:06:17] *** arkanciscan has joined #angularjs
[00:06:21] *** senayar has quit IRC
[00:06:54] *** senayar has joined #angularjs
[00:07:11] *** atomical has quit IRC
[00:07:19] <opensourcegeek> if a new feature is introduced to avoid confusion, I'd have thought that the tutorials should recommend the new feature but seems like it's not happening. That's why I was wondering if it's intentional or does it have a good reason to leave it that way
[00:07:35] *** josh-k has joined #angularjs
[00:07:58] *** Sgeo has joined #angularjs
[00:07:59] *** ngoyal has joined #angularjs
[00:08:02] *** henn1nk has joined #angularjs
[00:08:07] *** zelrik has joined #angularjs
[00:08:59] *** futuredale has joined #angularjs
[00:09:01] *** raul782 has joined #angularjs
[00:09:06] *** Zesty has quit IRC
[00:09:16] *** Reskp has joined #angularjs
[00:09:17] *** dccc has quit IRC
[00:09:24] *** tomzx is now known as tomzx`afk
[00:09:36] <caitp> opensourcegeek, the phonecat tutorial is kinda crazy to update, so it's never been updated to use "controller as"
[00:09:41] *** robdubya has joined #angularjs
[00:09:48] *** klaut has quit IRC
[00:09:58] <caitp> and, it doesn't really need to be, controller as is just a sort of nice extra thing
[00:10:04] <zelrik> caitp, I copied you, hope you dont mind :p
[00:10:07] *** Willow has quit IRC
[00:10:14] <caitp> copied me what?
[00:10:21] *** josh-k has quit IRC
[00:10:34] *** josh-k has joined #angularjs
[00:10:34] <zelrik> your github page
[00:10:39] *** Willow has joined #angularjs
[00:11:00] *** bbankes has joined #angularjs
[00:11:05] *** Willow has quit IRC
[00:11:28] <caitp> ah
[00:11:33] *** senayar has quit IRC
[00:11:50] <BobbieBarker> can i get some insight on why this ttNavigationDirective doesn't update the view? http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview
[00:12:01] <zelrik> caitp, http://alexcppns.github.io/
[00:12:27] *** ngoyal has quit IRC
[00:12:34] <caitp> hah, cool
[00:12:55] <zelrik> been trying to find a way to promote my crap :)
[00:13:00] <zelrik> even though I dont have much now
[00:13:30] <raul782> Hi guys, when returning a collection of objects from $http.get inside a service, how can this be available in my current scope?
[00:13:37] *** fraenzn has quit IRC
[00:13:41] <opensourcegeek> @caitp thanks for confirming that
[00:13:50] <raul782> I can only achieve this, by injecting the $scope inside my function
[00:14:06] <zelrik> raul782, no dont inject the scope into functions
[00:14:21] <oniijin> zelrik you should change :hover to cursor:pointer on demo/installation
[00:14:23] <raul782> so what's the best way
[00:14:28] *** marcospgp_ has joined #angularjs
[00:14:29] <BobbieBarker> raul8782 $scope.stuff = YOURSERVICE.getfunction()
[00:14:30] <zelrik> raul782, assign it to a service/factory and inject the service into a controller to use it
[00:14:36] *** cmoneylulz has quit IRC
[00:14:38] *** bradmc has quit IRC
[00:14:45] <zelrik> oniijin, ok will do :)
[00:14:59] <marcospgp_> Hey so, no one answers me on #express' channel. Is anyone here familiar with express (on node.js) and can please help me?
[00:15:13] <zelrik> raul782, services can hold your data forever
[00:15:26] <marcospgp_> I'm trying to setup a server so when the user goes to any url the router leads to the index.html (by using the catch-all operator) [23:08] <marcospgp> except this makes it so when the browser tries to load the script/css files from the html document's header, the server also redirects to html so I keep getting the error Uncaught SyntaxError: Unexpected token. How can I go around this issue in express 4.0?
[00:15:31] *** kvnm has quit IRC
[00:15:39] <raul782> zelrik: yeah I've done that, but when the function returns the collection and it's used in a ng-repeat, there is a infinite loop
[00:15:41] <marcospgp_> oops sorry didn't mean to send it yet. well there it is I guess aha
[00:15:50] *** Snugug has quit IRC
[00:15:59] <zelrik> raul782, what?
[00:16:16] <zelrik> raul782, can you show some code that reproduces it?
[00:16:17] *** Reskp has quit IRC
[00:16:24] <raul782> sorry when I call a function inside ng-repeat
[00:16:37] <zelrik> raul782, dont call functions in ng repeats
[00:16:39] <BobbieBarker> you don't call functions inside ng-repeat?
[00:16:58] <zelrik> I usually use processed data in it
[00:17:03] *** azureknight has joined #angularjs
[00:17:04] *** arizzo has quit IRC
[00:17:06] <BobbieBarker> yeah thats the standard
[00:17:12] <BobbieBarker> data and filters = ng-repeat success
[00:17:13] <zelrik> preferably as part of a service
[00:17:37] *** quantax- has joined #angularjs
[00:17:45] *** arizzo has joined #angularjs
[00:18:17] <zelrik> ng-repeat="item in myService.processed_items track by $index"
[00:18:40] <azureknight> Hmm. How would I get my paginate to pull my items from my json?
[00:18:57] <BobbieBarker> your paginate?
[00:19:04] <BobbieBarker> where does your paginate get items from
[00:19:05] <BobbieBarker> ?
[00:19:12] *** shinnya has quit IRC
[00:19:19] <azureknight> My json.
[00:19:33] <azureknight> That's what I'm working on is trying to make a pagination function that's using my json items.
[00:21:56] *** arizzo has quit IRC
[00:21:57] *** kvnm has joined #angularjs
[00:22:23] *** Malone has quit IRC
[00:22:25] *** lw has joined #angularjs
[00:22:30] <sacho> !json @ azureknight
[00:22:36] <sacho> hmm, wrong channel.
[00:22:47] <azureknight> :'(
[00:23:04] *** acconrad has joined #angularjs
[00:23:08] <spencercarnage> marcospgp_ are you telling express to use the static middleware?
[00:23:24] *** shorne has joined #angularjs
[00:23:36] <marcospgp_> that's still chinese to me I'm afraid
[00:23:43] <marcospgp_> :/
[00:23:44] <spencercarnage> marcospgp_ app.use(express.static(path.join(__dirname, 'public')));
[00:24:01] *** bayousoft has quit IRC
[00:24:16] *** fedenunez has joined #angularjs
[00:24:25] *** jkremser has quit IRC
[00:24:36] *** dccc has joined #angularjs
[00:24:37] <marcospgp_> oh yeaa! I copied that from some thread, and It ended up working, but since I have no idea why and couldn't find anything about that in the docs (probably because I suck at searching) I wasn't even sure if that was it. What does that do? Why does it work?
[00:24:48] <spencercarnage> marcospgp_ http://sahatyalkabov.com/create-a-tv-show-tracker-using-angularjs-nodejs-and-mongodb/ This is a pretty good (and long) article about creating an angular app that uses express for the backend. It does a pretty good job of walking you through setting up express.
[00:25:09] <marcospgp_> thank you for the link (:
[00:25:19] <spencercarnage> I’ve dabbled with express off and on for awhile and that article taught me some new things so take some time and check it out.
[00:25:22] <spencercarnage> you’re welcome!
[00:25:24] *** cbeacock has quit IRC
[00:25:30] *** sgnl has joined #angularjs
[00:25:42] *** jmichaelward has quit IRC
[00:25:47] *** shinnya has joined #angularjs
[00:25:47] *** djam90 has quit IRC
[00:26:08] *** T_Hunt has quit IRC
[00:26:12] *** digia is now known as digia|away
[00:26:31] *** nodweber has quit IRC
[00:26:36] *** ZackFerraro has joined #angularjs
[00:27:00] *** andrewhl has joined #angularjs
[00:27:09] *** lsiv568 has joined #angularjs
[00:27:43] <raul782> zelrik: ok so how do I move scope out of the service, since it doesn't load when calling ng-repeat http://plnkr.co/edit/lEGvfmPUydYwNwn6az5t?p=preview
[00:28:46] <zelrik> where s angular Oo
[00:28:48] <zelrik> oh there
[00:28:52] *** encryptd_fractl has joined #angularjs
[00:29:41] *** robdubya has quit IRC
[00:30:15] *** Ronyrun has quit IRC
[00:30:47] *** gnar_matix has quit IRC
[00:30:59] <zelrik> raul782, you should encapsulate that api into a service
[00:31:11] <zelrik> or factory actually
[00:31:27] <BobbieBarker> holy shit raul782 what are you doing in there
[00:31:34] <BobbieBarker> that doesn't look like angular at all
[00:31:35] <BobbieBarker> lol
[00:31:44] <BobbieBarker> it's like a bastardized angular
[00:31:50] <zelrik> yeah not sure why people arent using the framework
[00:31:56] *** feelfine has joined #angularjs
[00:32:18] <BobbieBarker> you need to go back to the drawing board my friend
[00:32:30] <BobbieBarker> when you said you where using a service i assumed you meant an angular service
[00:32:34] <zelrik> raul782, don't use angular Objects outside of angular
[00:32:39] <BobbieBarker> and i think several other people made that assumption as well
[00:32:40] *** anjumkaiser has joined #angularjs
[00:32:42] <zelrik> if you import a jquery library it s fine
[00:32:48] <zelrik> but dont gut angular
[00:32:54] *** lw has quit IRC
[00:33:02] *** feelfine has quit IRC
[00:33:03] <BobbieBarker> angular is a framework not a library
[00:33:04] <BobbieBarker> if you use it
[00:33:09] <BobbieBarker> you ned to stay inside the framework
[00:33:10] *** encryptd_fractl has quit IRC
[00:33:10] *** ConneXNL has quit IRC
[00:33:14] <BobbieBarker> you can't take bits and pieces
[00:33:52] *** kvnm has quit IRC
[00:34:10] <zelrik> hmm should I edit that plnkr
[00:34:33] <BobbieBarker> no
[00:34:37] <BobbieBarker> that thing hurts to look at i closed it
[00:34:43] <BobbieBarker> it's like an aborted fetus
[00:34:43] <zelrik> BobbieBarker, are you on it
[00:34:50] <zelrik> come on, show him the light
[00:34:51] <zelrik> :p
[00:34:51] <BobbieBarker> raul's plunkr?
[00:34:52] *** chrislerum has quit IRC
[00:34:56] <zelrik> yeah
[00:35:07] <BobbieBarker> the light is in a dozen different youtube tutorials he could go watch
[00:35:14] <spencercarnage> raul782 I think what everyone is trying to say is that you should refactor your contactApi into an angular Service.
[00:35:18] <BobbieBarker> i don't have the time for that level of education
[00:35:36] <zelrik> BobbieBarker, dont be too harsh, I have edit worst stuff
[00:35:40] <zelrik> edited*
[00:35:47] <davek> BobbieBarker, unnecessary.
[00:35:58] <BobbieBarker> really? I know i was being a little harsh but that is a really messed up plunk
[00:36:00] <zelrik> maybe I am too nice
[00:36:03] *** ZackFerraro has quit IRC
[00:36:28] <zelrik> maybe because I still feel like a noob and I have empathy
[00:36:38] <BobbieBarker> I give him an A for effort though
[00:36:44] <BobbieBarker> D minus for execution
[00:36:53] *** fedenunez has quit IRC
[00:36:59] *** raghunayyar has quit IRC
[00:37:14] <spencercarnage> I’m with zelrik. This channel can be awful sometimes to beginners.
[00:37:18] <BobbieBarker> zelrik didn't you have that git with the gool typehead directive?
[00:37:31] <BobbieBarker> No i would say that 99% of the time this channel is great for beginners
[00:37:34] <raul782> BobbieBarker: I c, good to know. I'll do that now
[00:37:36] <BobbieBarker> i got my start with this channel
[00:37:49] *** jdummy has joined #angularjs
[00:37:53] <BobbieBarker> but you have to be willing to teach yourself too, not just relly on people to do everything for you
[00:37:57] *** juanlas has quit IRC
[00:37:57] *** anjumkaiser has quit IRC
[00:38:09] <spencercarnage> Of course.
[00:38:23] <BobbieBarker> yeah raul782 you're on the verge of angular greatness dude you just need to take some time an familiarize yourself with some basics
[00:38:25] *** thedodd has quit IRC
[00:38:37] <BobbieBarker> then come back
[00:38:38] *** shorne has quit IRC
[00:38:56] <marcospgp_> Well some people learn more easily than others, I don't think calling someone's code an "aborted fetus" doesn't really help, as bad as the code may be
[00:39:00] <spencercarnage> raul782 he egghead videos are pretty good. short and sweet and totally solid.
[00:39:04] <marcospgp_> does really help*
[00:39:10] *** mewm has quit IRC
[00:39:13] <BobbieBarker> if you have feelings the internet maybe not be the right place for you
[00:39:21] <marcospgp_> Give the guy some constructive criticism (:
[00:39:23] *** senayar has joined #angularjs
[00:39:26] <BobbieBarker> i just did
[00:39:28] <BobbieBarker> i said he's close
[00:39:35] *** jpstone has quit IRC
[00:39:36] <marcospgp_> with no sarcasm preferably aha
[00:39:38] <jdummy> Can anyone recommend an existing solution for keeping an IndexedDB in sync with a server-side API?
[00:39:40] *** bmac has quit IRC
[00:39:43] <BobbieBarker> he needs to familiarize himself with the basics
[00:39:47] *** Nizumzen has quit IRC
[00:40:03] <BobbieBarker> let's change topic before i get myself banned out of this channel again
[00:40:07] *** richardbaker has quit IRC
[00:40:10] *** altmind has quit IRC
[00:40:15] <zelrik> BobbieBarker, I did
[00:40:18] <BobbieBarker> gj
[00:40:22] <BobbieBarker> i'm with you
[00:40:32] *** spencercarnage has quit IRC
[00:40:32] <jdummy> Seems like something that would already be well developed, but I can't find anything that's well tested/production ready
[00:40:42] <zelrik> thanks
[00:40:48] <jdummy> http://angular-data.pseudobry.com/ looks promising, but is alpha and has no indexedDB adaptor
[00:40:48] *** richardbaker has joined #angularjs
[00:40:52] *** xavia has left #angularjs
[00:41:10] *** bphogan_afk is now known as bphogan
[00:41:15] *** corban has quit IRC
[00:41:39] *** feelfine has joined #angularjs
[00:41:46] *** lsiv568 has quit IRC
[00:43:10] <davek> What are you guys using IndexedDB for anyway? I'm always curious about this.
[00:43:16] <BobbieBarker> me too
[00:43:23] <BobbieBarker> i don't quite get the nature of the problem
[00:43:33] <davek> Just large scale data processing/entry apps?
[00:43:46] <davek> Or is it simply for apps that transition to offline?
[00:43:49] *** senayar has quit IRC
[00:43:51] <jdummy> Offline, yes
[00:43:59] <BobbieBarker> oh for real?
[00:44:03] <BobbieBarker> that's kinda cool
[00:44:04] *** senayar has joined #angularjs
[00:44:14] <BobbieBarker> so if they come back online does it update the real DB?
[00:44:18] <BobbieBarker> if they made offline changes
[00:44:23] <davek> Depends on the implementation.
[00:44:25] <davek> Often yes.
[00:44:28] *** slainer68_ftw has quit IRC
[00:44:34] <jdummy> That's the idea
[00:44:37] <jdummy> for me anyways
[00:44:41] <BobbieBarker> very cool
[00:44:48] *** Ir1sh has quit IRC
[00:44:48] *** markalanevans has joined #angularjs
[00:45:41] *** dccc has quit IRC
[00:46:03] <BobbieBarker> can anyone tell me how to get my view to update from the ttNavigationDirective in http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview ??
[00:46:10] <BobbieBarker> i'm a little stumped
[00:47:00] *** azureknight has quit IRC
[00:47:17] <BobbieBarker> for instance the dates accross the top of the UI are in $scope.day on the controller or scope.day in the directive
[00:47:26] <BobbieBarker> and the data gets updated in the directive properly
[00:47:28] <BobbieBarker> and the controller
[00:47:30] *** mehlah has joined #angularjs
[00:47:32] <BobbieBarker> but the view never changes
[00:47:37] *** mpaarating has quit IRC
[00:47:50] *** markisonfire has joined #angularjs
[00:48:07] <jdummy> BobbieBarker: are you just in need of $scope.$apply() ?
[00:48:18] <BobbieBarker> in the directive? i tried
[00:48:28] <BobbieBarker> it gives an error and says apply is in progress
[00:48:38] *** slainer68_ftw has joined #angularjs
[00:48:44] <jdummy> ahh... I've had that problem. Use $timeout() instead
[00:48:50] <BobbieBarker> how so?
[00:48:54] <BobbieBarker> i mean how to do?
[00:49:01] <BobbieBarker> like call the apply inside of a time out?
[00:49:01] *** shackleford has quit IRC
[00:49:01] *** mfunkie has joined #angularjs
[00:49:09] *** seydoggy has joined #angularjs
[00:49:33] <jdummy> inject $timeout into your directive, the call $timeout(function(){ scope.something = true; }, 0);
[00:49:33] <davek> Nope just call the funciton
[00:49:35] *** sonofdirt has quit IRC
[00:49:52] <BobbieBarker> so call the function type shit inside of the time out?
[00:49:55] *** josh-k_ has joined #angularjs
[00:49:59] <BobbieBarker> interesting
[00:50:10] <BobbieBarker> i'll try that in a few. I wouldn't of thought of that at all tbh
[00:50:47] *** wagnor has joined #angularjs
[00:51:09] *** dariocravero has quit IRC
[00:51:21] *** henn1nk has quit IRC
[00:51:44] <drej> wouldn't have*
[00:51:45] *** alekibango has joined #angularjs
[00:52:24] <jdummy> wouldn't've
[00:52:29] <jdummy> :)
[00:52:32] <drej> that too
[00:52:43] <drej> just not "wouldn't of"
[00:53:09] *** BahamutWC has quit IRC
[00:53:24] *** josh-k has quit IRC
[00:53:59] <BobbieBarker> really grammar policing in an mIRC chat room?
[00:54:16] <BobbieBarker> lol
[00:54:30] *** jbourassa has quit IRC
[00:54:40] <caitp> settle down guys
[00:54:50] *** Ymesio has quit IRC
[00:55:36] *** anjumkaiser has joined #angularjs
[00:55:59] <BobbieBarker> http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview
[00:56:03] <BobbieBarker> no affect
[00:56:07] <jdummy> crackin' ze whip
[00:56:14] <BobbieBarker> i'm pretty sure i understood you and implemented it
[00:56:14] *** anjumkaiser has quit IRC
[00:56:18] <BobbieBarker> implemented what you said
[00:56:42] *** cpciv has joined #angularjs
[00:56:47] *** patrickc_ has joined #angularjs
[00:56:50] *** quartzmo has quit IRC
[00:56:58] <jdummy> BobbieBarker: where's the error happening? How do I reproduce?
[00:57:25] *** quartzmo has joined #angularjs
[00:57:26] *** tfennelly has joined #angularjs
[00:58:28] *** spencercarnage has joined #angularjs
[00:58:28] *** Jdubs has quit IRC
[00:58:49] <BobbieBarker> no error jdummy it's just not changing anything in the view
[00:59:19] *** Ymesio has joined #angularjs
[00:59:28] *** Jdubs has joined #angularjs
[00:59:31] <BobbieBarker> i.e if you look at home.html lines 31 to 62
[00:59:37] <BobbieBarker> the "day"
[00:59:39] *** gnar_matix has joined #angularjs
[01:00:01] *** danielpq_ has joined #angularjs
[01:00:09] *** Ymesio has quit IRC
[01:00:16] *** kvnm has joined #angularjs
[01:00:41] *** oa_ has joined #angularjs
[01:00:52] <BobbieBarker> the day in the view never changes even though the day on the controller and the directive does
[01:00:54] <BobbieBarker> change
[01:01:01] *** danielpq_ has quit IRC
[01:01:04] *** danielp__ has joined #angularjs
[01:01:24] <slecuyer> I apologize in advance if this is poor form, but is it possible to get a PR review expedited?
[01:01:30] *** atomical has joined #angularjs
[01:01:32] *** tfennelly has quit IRC
[01:01:34] <BobbieBarker> PR review?
[01:01:34] *** kennbrodhagen has joined #angularjs
[01:01:35] <marcospgp_> Regarding the express thing, I just can't wrap my head around how " app.use(express.static(__dirname + '/public')); " works. Can someone please please please clarify?
[01:01:39] *** quartzmo has quit IRC
[01:01:46] *** kennbrodhagen has quit IRC
[01:02:07] *** kvnm has quit IRC
[01:02:08] <slecuyer> BobbieBarker: this one https://github.com/angular/protractor/pull/1040
[01:02:17] *** gnar_matix has quit IRC
[01:02:21] *** dccc has joined #angularjs
[01:02:48] *** gnar_matix has joined #angularjs
[01:02:49] <BobbieBarker> oh a pull request
[01:02:53] <slecuyer> yeah
[01:02:54] *** patrickc_ has quit IRC
[01:03:04] *** gnar_matix has quit IRC
[01:03:05] *** aesinv`w has quit IRC
[01:03:13] <BobbieBarker> thats not really my department, i think there are ppl in here who do that though
[01:03:17] *** jk-5|gone has quit IRC
[01:03:23] *** gnar_matix has joined #angularjs
[01:03:28] <BobbieBarker> jdummy, thoughts?
[01:03:30] *** patrickc_ has joined #angularjs
[01:03:32] *** danielpquinn has quit IRC
[01:03:35] *** enherit has quit IRC
[01:03:45] *** discipolo_ has joined #angularjs
[01:04:33] *** seydoggy has quit IRC
[01:04:41] <jdummy> BobbieBarker: yeah... in order for your directive to share data with the controller, I believe you'll need a shared service. Can anyone confirm?
[01:05:02] *** feelfine has quit IRC
[01:05:02] <BobbieBarker> i thought the isolate scope with the "=" was allowing me to share the data
[01:05:11] *** seydoggy has joined #angularjs
[01:05:27] *** jdowdle is now known as jdowdle|away
[01:05:38] <BobbieBarker> if i'm wrong though i would love some one else to confirm so i can get this on the right track
[01:06:11] *** Malone has joined #angularjs
[01:06:54] *** feelfine has joined #angularjs
[01:07:20] <spencercarnage> marcospgp_ do you have a folder where your static assets live? That’s the purpose of the ‘/public’ in that statement.
[01:07:29] <BobbieBarker> jdummy the console log proves that the scopes in the controller are getting updated
[01:07:37] <BobbieBarker> but the views aren't changing
[01:07:38] *** patrickc_ has quit IRC
[01:08:03] *** kvnm has joined #angularjs
[01:08:27] *** snurfery has quit IRC
[01:08:37] *** rho has quit IRC
[01:08:48] *** kvnm has quit IRC
[01:09:02] *** jk-5 has joined #angularjs
[01:09:03] <spencercarnage> marcospgp_ let’s take this to the #express channel
[01:09:34] <marcospgp_> no one answers me there though /:
[01:09:36] *** seydoggy has quit IRC
[01:09:37] *** Dalsass_mobi has quit IRC
[01:09:38] *** darrin has joined #angularjs
[01:09:44] *** mven_ has quit IRC
[01:09:46] <spencercarnage> I’ll answer you there.
[01:09:54] <marcospgp_> oh, great
[01:09:58] <marcospgp_> let me join (:
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:01] *** kvnm has joined #angularjs
[01:10:03] *** jdowdle|away is now known as jdowdle
[01:10:08] <marcospgp_> btw I got what it does, and why the /public
[01:11:32] *** dbouwman_ has joined #angularjs
[01:11:37] *** azureknight has joined #angularjs
[01:11:47] *** darkelda has quit IRC
[01:12:32] *** mrogne is now known as mrogne_busy
[01:12:56] *** enigmarm has quit IRC
[01:13:21] *** intellix has quit IRC
[01:13:39] *** tomzx`afk is now known as tomzx
[01:13:40] *** pkayfire has quit IRC
[01:14:03] *** wartdev has joined #angularjs
[01:14:13] *** pkayfire has joined #angularjs
[01:14:20] *** dbouwman has quit IRC
[01:15:18] *** anjumkaiser has joined #angularjs
[01:15:21] *** RobinBAwesome has quit IRC
[01:15:21] *** anjumkaiser has quit IRC
[01:15:40] *** azureknight has quit IRC
[01:15:54] *** dbouwman_ has quit IRC
[01:16:54] *** Yahkob has quit IRC
[01:16:55] *** Willow has joined #angularjs
[01:17:05] *** RobinBAwesome has joined #angularjs
[01:17:07] <Aliks> So, how do you guys decide whether to $emit from a component or define a callback in an attribute in the template?
[01:17:18] *** nuizzy has quit IRC
[01:17:29] *** azureknight has joined #angularjs
[01:17:59] *** bayousoft has joined #angularjs
[01:18:20] *** pkayfire has quit IRC
[01:18:37] <azureknight> wafflejock_ got a second?
[01:18:40] *** patrickc_ has joined #angularjs
[01:18:42] *** KurtB has quit IRC
[01:18:48] *** jdummy has quit IRC
[01:19:34] *** wartdev has quit IRC
[01:20:47] *** rho has joined #angularjs
[01:20:54] *** atomical has quit IRC
[01:21:15] *** octarine_ is now known as octarine
[01:21:38] <spencercarnage> aliks define a callback in the attribute? I don’t follow.
[01:22:00] *** ajaxan- is now known as ajaxan
[01:22:00] *** zenodub_ is now known as zenodub
[01:22:47] <Aliks> as in... <thing on-change="doSomething()"> vs <thing> with controller: { var x = legacyPlugin(); x.on('y', $scope.$emit('y happened') ); }
[01:22:59] <Aliks> and then somewhere else $scope.$on('y happened', doSomething())
[01:23:01] *** patrickc_ has quit IRC
[01:23:09] *** bphogan is now known as bphogan_afk
[01:23:27] <Foxandxss> Aliks: normally you search for another solution that doesn't involve events
[01:23:57] <Aliks> so you'd recommend a callback approach?
[01:24:05] <Foxandxss> sure
[01:24:20] *** dcherman has quit IRC
[01:24:57] <Aliks> what are your thoughts on reusing standard attributes like ng-change on a non-standard element?
[01:25:06] <Aliks> I assume Angular only looks for ng-change on standard DOM elements
[01:25:06] *** mmitchell has quit IRC
[01:25:11] <Aliks> so reusing it shouldn't be a problem
[01:26:24] *** jdj_dk_ has joined #angularjs
[01:26:25] *** cthrax has joined #angularjs
[01:27:14] *** bzitzow has joined #angularjs
[01:27:24] *** xavia has joined #angularjs
[01:27:31] *** ckboii89 has joined #angularjs
[01:27:36] *** cristatus has quit IRC
[01:27:41] *** patrickc_ has joined #angularjs
[01:28:36] *** feelfine has quit IRC
[01:28:38] <Foxandxss> if you wire the stuff up
[01:28:40] <Foxandxss> not a problem
[01:28:44] *** disorder20 has quit IRC
[01:28:47] *** ustunozgur has quit IRC
[01:28:56] *** \du has quit IRC
[01:29:32] *** anjumkaiser has joined #angularjs
[01:29:36] *** kvnm has quit IRC
[01:30:09] *** encryptd_fractl has joined #angularjs
[01:30:25] <davek> How the hell should I store user-avatars and the like? Or rather how do most of you handle this? The directory structure for the S3 bucket is what I'm concerned with.
[01:30:30] *** mrogne_busy is now known as mrogne_afk
[01:30:39] *** jdowdle has quit IRC
[01:31:08] *** jdj_dk_ has quit IRC
[01:31:49] *** [n0b0dy] has joined #angularjs
[01:31:58] *** oniijin has quit IRC
[01:32:32] *** Jdubs has quit IRC
[01:33:03] *** kvnm has joined #angularjs
[01:33:14] *** conan_the_destro has quit IRC
[01:33:39] *** conan_the_destro has joined #angularjs
[01:34:42] *** kvnm has quit IRC
[01:34:48] *** encryptd_fractl has quit IRC
[01:35:39] *** [n0b0dy] has quit IRC
[01:35:50] *** [n0b0dy] has joined #angularjs
[01:36:11] *** pkayfire has joined #angularjs
[01:36:17] <wafflejock_> azureknight: I'm around but will be pretty busy tonight, feel free to ask though if I can answer quickly I will
[01:36:36] <azureknight> Oh, it may take a little. I'll hit you up tomorrow or something.
[01:37:04] *** nanoyak has quit IRC
[01:37:11] <wafflejock_> ok sounds good, just gotta get something done by either later tonight or tomorrow afternoon so have to keep banging on it till it's done
[01:37:34] *** nanoyak has joined #angularjs
[01:37:35] <azureknight> I understand that.
[01:37:43] *** Destos has quit IRC
[01:37:51] *** d2dchat has quit IRC
[01:38:08] <BobbieBarker> i have a quicky wafflejock_ http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview ttNavigationDirective.js the scopes seem to update but the view never changes
[01:38:11] <BobbieBarker> i tried scope.apply
[01:38:15] <BobbieBarker> in the directive
[01:38:20] <Foxandxss> he is busy
[01:39:17] *** Xliff has joined #angularjs
[01:39:33] <wafflejock_> Foxandxss: true thx, BobbieBarker sorry I'll try to ping you later if you're still on and I get through this but still have a fair way to go I think, need to hook up a payment form test a bunch of things and then do some nav/mobile-nav to match the original site
[01:39:38] *** xavia has quit IRC
[01:40:00] <BobbieBarker> np good luck dude
[01:40:10] *** mfunkie has quit IRC
[01:40:26] *** feelfine has joined #angularjs
[01:40:30] *** Mahonar has quit IRC
[01:40:34] *** feelfine has joined #angularjs
[01:41:21] *** whunt has quit IRC
[01:41:22] *** feelfine has quit IRC
[01:41:44] *** jstroem has quit IRC
[01:42:21] *** jstroem has joined #angularjs
[01:42:35] *** moritzs has quit IRC
[01:43:11] *** josh-k has joined #angularjs
[01:43:41] <azureknight> wafflejock_ actually. Any idea how I'd call staffs in the js on this?
[01:43:42] <azureknight> http://plnkr.co/edit/oytBPrpL1YnqTlfLtwen?p=preview
[01:43:53] <azureknight> I'm trying to make a quick paginate, but I don't know what to call in the js for staffs.length
[01:43:59] <Foxandxss> what was difficult about being busy?
[01:44:03] *** oniijin has joined #angularjs
[01:44:12] *** cthrax has quit IRC
[01:44:14] <Foxandxss> desperation makes you all selfish
[01:44:18] *** robdubya has joined #angularjs
[01:44:19] *** marcospgp_ has quit IRC
[01:44:28] *** patrickc_ has quit IRC
[01:44:40] *** morenoh149 has quit IRC
[01:44:49] *** spencercarnage has quit IRC
[01:44:56] <Xliff> azureknight: What are you trying to paginate?
[01:45:02] <azureknight> The json
[01:45:05] <azureknight> That is being listed.
[01:45:08] <azureknight> So, "Staff"
[01:45:15] *** Ymesio has joined #angularjs
[01:46:21] <azureknight> Xliff my ng-repeat is iterating them on the html side, but I need to get the length of the json items for a number of pages I'm working on.
[01:46:29] *** josh-k_ has quit IRC
[01:46:37] <Aliks> ok, so I want to pass a callback like <thing callback="doSomething"> without () because I want to pass parameters
[01:46:56] *** QuantumNinja has joined #angularjs
[01:46:57] <Aliks> I'm aware I could create an isolated scope with callback: '&'... but I don't want to do that because I need access to the rest of the scope
[01:47:05] <Aliks> is there any straightforward option other than $parse?
[01:47:23] *** jstroem has quit IRC
[01:47:23] *** josh-k_ has joined #angularjs
[01:47:32] *** kennbrodhagen has joined #angularjs
[01:47:41] *** TorchDragon has joined #angularjs
[01:48:06] *** blueadept` has joined #angularjs
[01:48:18] *** jsoverson has quit IRC
[01:48:39] *** netto_ has joined #angularjs
[01:48:57] *** jsoverson has joined #angularjs
[01:50:12] *** josh-k__ has joined #angularjs
[01:50:23] <Xliff> azureknight: Have you tried response.data.length?
[01:50:34] <azureknight> Hmm. I haven't.
[01:50:35] <sacho> no, anything you pass via attributes is a string, you'd have to parse it.
[01:50:45] *** josh-k has quit IRC
[01:50:51] *** danielp__ has quit IRC
[01:51:30] <Xliff> azureknight: That should give you the number of objects in response.data -- I still don't know what you are trying to paginate. Where is your "page" for example?
[01:51:49] *** blueadept has quit IRC
[01:52:09] <Xliff> Basically pagination is the amount of data you have vs the amount of real-estate you you can display. You basically take the length of your data and divide it over the size of a single "page".
[01:52:10] *** TorchDragon has quit IRC
[01:52:17] *** danielpquinn has joined #angularjs
[01:52:19] <azureknight> Yeah.
[01:52:23] <azureknight> I'm trying to paginate the articles.
[01:52:42] *** josh-k_ has quit IRC
[01:52:46] <azureknight> So, in my plunkr, it's grabbing the json, and iterating those on the page.
[01:52:54] <azureknight> So, I want to paginate the listing of those.
[01:52:56] <Xliff> Yeah, but I don't see any articles!
[01:53:16] <Xliff> I just see ULs with tags.
[01:53:42] <azureknight> Oh.
[01:53:42] <azureknight> Lol.
[01:53:44] <azureknight> They're staffs.
[01:54:04] <azureknight> Hero Link being the first of the json listings.
[01:54:09] *** justinobney has joined #angularjs
[01:54:18] *** AciD` has quit IRC
[01:54:18] *** AciD` has joined #angularjs
[01:54:23] *** JoshGlzBrk has joined #angularjs
[01:55:04] *** T_Hunt has joined #angularjs
[01:55:12] *** kcccccc has joined #angularjs
[01:55:18] *** spencercarnage has joined #angularjs
[01:55:39] *** mmitchell has joined #angularjs
[01:55:43] *** jumpstracks has quit IRC
[01:56:01] *** kennbrodhagen has quit IRC
[01:56:11] *** akiress has joined #angularjs
[01:56:19] *** josh-k has joined #angularjs
[01:56:26] *** robdubya has quit IRC
[01:57:40] *** anjumkaiser has quit IRC
[01:58:21] *** ckboii89 has quit IRC
[01:58:41] *** feelfine has joined #angularjs
[01:58:52] *** ckboii89 has joined #angularjs
[01:58:52] *** opensourcegeek has quit IRC
[01:59:17] *** josh-k__ has quit IRC
[02:00:15] <azureknight> Xliff oh. Nevermind.
[02:00:18] <ckboii89> has anyone used ng-grid here?
[02:00:18] *** mmitchell has quit IRC
[02:00:21] <azureknight> I somehow got it to work. XD
[02:00:30] <Xliff> azureknight: Good for you!
[02:00:38] <azureknight> It automagically started working. ;)
[02:02:40] *** Vloz has joined #angularjs
[02:02:40] *** kennbrodhagen has joined #angularjs
[02:03:18] *** OddDuck has quit IRC
[02:03:41] *** DrMabuse has quit IRC
[02:04:24] *** patricka_ has quit IRC
[02:04:42] *** viscera has quit IRC
[02:04:48] *** cdaringe has joined #angularjs
[02:04:57] *** patrickarlt has joined #angularjs
[02:05:27] *** DrMabuse has joined #angularjs
[02:05:37] *** seydoggy has joined #angularjs
[02:05:44] *** Vloz__ has joined #angularjs
[02:05:45] *** chrislerum has joined #angularjs
[02:05:56] *** mange has joined #angularjs
[02:06:04] *** jhulten has quit IRC
[02:06:15] *** Vloz_ has quit IRC
[02:06:42] <ckboii89> can someone tell me how to install ng-grid? it doesn't really say how on the github page
[02:06:56] *** DrMabuse_ has joined #angularjs
[02:07:37] <da_wunder> ckboii89: that one?
[02:07:39] <da_wunder> http://angular-ui.github.io/ng-grid/
[02:07:52] *** waylon99_ has quit IRC
[02:07:55] <ckboii89> yeah
[02:07:59] <ckboii89> im new to this sorry
[02:08:04] *** Vloz has quit IRC
[02:08:06] *** feelfine has quit IRC
[02:08:28] <da_wunder> download zip, check that your index.html contains it
[02:08:35] <ckboii89> add references is that doing //= require ng-grid in my main.js file?
[02:08:40] <ckboii89> well application.js
[02:08:43] *** kvnm has joined #angularjs
[02:08:50] *** ngoyal has joined #angularjs
[02:08:51] *** kennbrodhagen has quit IRC
[02:08:58] *** cdaringe has quit IRC
[02:09:04] <da_wunder> that page has everything that you need at right side of page: HTML, CSS and Javascript
[02:09:34] *** DrMabuse has quit IRC
[02:09:35] *** patrickarlt has quit IRC
[02:09:53] <da_wunder> and plunker to show live example
[02:09:59] *** mehlah has quit IRC
[02:10:11] *** seydoggy has quit IRC
[02:10:26] <ckboii89> yes i know, but im trying to get integrate it into my project
[02:10:32] *** kvnm has quit IRC
[02:10:51] *** chrislerum has quit IRC
[02:11:05] <da_wunder> ckboii89: just add <script type="text/javascript" src="http://angular-ui.github.com/ng-grid/lib/ng-grid.debug.js"></script> to your index.html
[02:11:18] <da_wunder> and then add ngGrid dependency to your application
[02:11:34] *** DrMabuse_ has quit IRC
[02:12:59] <spencercarnage> Yeah, don’t hotlink to github.
[02:13:06] <ckboii89> could i just add that file to my js file since my index just includes all the files already
[02:13:08] *** ngoyal has quit IRC
[02:13:09] <spencercarnage> download the zip.
[02:13:19] *** kennbrodhagen has joined #angularjs
[02:13:25] <spencercarnage> ‘add file to my js file’?
[02:13:34] <spencercarnage> you mean add the contents to your js file?
[02:14:09] *** Bardosity has joined #angularjs
[02:14:12] <ckboii89> like add ng-grid-2.0.11.min.js to my assets/javascripts folders
[02:14:19] <ckboii89> folder*
[02:14:49] *** aviraldg has quit IRC
[02:14:58] <ckboii89> im using rails if that solves any confusion
[02:15:16] *** jharbaugh has quit IRC
[02:16:35] *** hychen has joined #angularjs
[02:18:01] *** dc_ has joined #angularjs
[02:18:43] *** slecuyer has quit IRC
[02:19:19] *** whunt has joined #angularjs
[02:19:25] *** bkuberek has joined #angularjs
[02:20:05] <spencercarnage> Yes, definitely do that. Add it to your assets pipeline.
[02:20:27] <spencercarnage> I’m not sure how rails does all of that but make sure it comes AFTER your angular.js file.
[02:20:48] <Bardosity> Put it in your application.js manifest
[02:20:57] *** jdj_dk has joined #angularjs
[02:21:31] <Bardosity> whilst lives in /app/assets/javascript
[02:21:34] *** wa5ted has quit IRC
[02:21:38] <ckboii89> /= require ng-grid?
[02:21:57] <chexxor> anyone using rxjs or bacon in their ng app?
[02:22:03] *** wa5ted has joined #angularjs
[02:23:19] *** feelfine has joined #angularjs
[02:23:42] *** bphogan_afk is now known as bphogan
[02:23:54] <gjvc> chexxor
[02:24:10] <gjvc> where dos bacon live?
[02:24:26] <chexxor> https://github.com/baconjs/bacon.js
[02:24:36] <gjvc> okk
[02:24:53] <gjvc> checking out
[02:25:00] *** richardbaker has quit IRC
[02:25:06] <chexxor> I'm working on using RxJS in my current side-project napp
[02:25:08] <chexxor> ng app&
[02:25:25] *** jdj_dk has quit IRC
[02:25:33] <chexxor> It's challenging, but I feel the pay-off will be high
[02:25:42] <gjvc> mm
[02:26:04] <gjvc> i am prarie dogging here
[02:26:10] *** LuxuryMode has joined #angularjs
[02:26:11] <spencercarnage> cxboii89, in your angular.module(‘apName’, [‘’]), put the ‘ngGrid’ in the [] part
[02:26:24] <spencercarnage> angular.module(‘yourAppName’, [‘ngGrid’])
[02:26:25] <justinobney> chexxor: im curious to know how it turns out for you
[02:26:33] *** AciD`` has quit IRC
[02:26:33] <LuxuryMode> Restangular seems to send all my requests with Cache-Control:max-age=0. How can I change this for a particular request?
[02:26:37] <justinobney> I have been curious if it really had a place in angular
[02:27:11] <chexxor> justinobney, I'll note your name and ping you in a week or two. Do you have a twitter or similar?
[02:27:21] <gjvc> angular and polymeer are cool
[02:27:26] <gjvc> needs grid
[02:27:30] <justinobney> justinobney on all the services and web
[02:27:41] <gjvc> ok
[02:28:05] <gjvc> we can be all cool at *
[02:28:11] <Foxandxss> ckboii89: using angular with assets pipeline is HELL of fun
[02:28:13] <Foxandxss> without the fun
[02:28:22] <gjvc> but only very good at a few things
[02:28:39] *** InezK_away is now known as InezK
[02:28:59] *** nerdy has joined #angularjs
[02:29:01] *** aviraldg has joined #angularjs
[02:29:04] *** p3rsist has joined #angularjs
[02:29:10] <ckboii89> foxandxss i understand i need to include in my depedency
[02:29:25] <ckboii89> but i was just confused where do i put the folder/ or files from the download
[02:29:33] <Foxandxss> I am not reading to be honest, just looked up
[02:29:43] <Foxandxss> put on where assets pipeline can find it
[02:30:39] *** netto_ has quit IRC
[02:30:53] *** blueadept` has quit IRC
[02:31:00] *** mven_ has joined #angularjs
[02:31:13] *** OffTheRails has joined #angularjs
[02:32:35] <ckboii89> wahts the difference from ng-grid.js and ng-grid.2.0.11.min.js??
[02:33:25] <gjvc> nuttin
[02:33:35] <gjvc> use bowerr
[02:33:40] *** wa5ted has quit IRC
[02:33:42] <gjvc> bower
[02:34:10] *** KernelCurry has quit IRC
[02:34:22] *** danielpquinn has quit IRC
[02:34:23] <spencercarnage> ng-grid.2.0.11.min.js IS ng-grid.js, just minified (white space removed, var names changed) for better performance, and version stamped so you know what version you’re working with.
[02:34:34] <Foxandxss> ckboii89: use the first one
[02:34:35] *** wa5ted has joined #angularjs
[02:34:38] <Foxandxss> the second one is already minified
[02:34:43] <Foxandxss> assets pipeline does that for you
[02:35:09] <ckboii89> so take out the minified one
[02:35:11] <ckboii89> ok thanks
[02:35:13] *** Destos has joined #angularjs
[02:36:03] <p3rsist> Guys, First time I get that... I just add an ng-include and it gets replaced by a comment... its executing it. Very strange. Using 1.2.19
[02:36:31] *** tyfighter has quit IRC
[02:36:44] *** marr has quit IRC
[02:37:06] *** lucasefe has quit IRC
[02:37:42] *** DrMabuse has joined #angularjs
[02:37:52] *** nanoyak has quit IRC
[02:38:42] *** bgerami has quit IRC
[02:38:57] *** subnl has quit IRC
[02:39:26] *** DrMabuse has quit IRC
[02:39:38] *** DrMabuse has joined #angularjs
[02:39:42] *** senayar has quit IRC
[02:40:17] *** senayar has joined #angularjs
[02:40:40] <LuxuryMode> How can I add a header to a restangular request that looks like this: Restangular.one('newsfeed', feedId).one('contents', contentId).get(); ?
[02:41:08] *** OdinIncarnate has quit IRC
[02:41:18] *** SpearThruster has joined #angularjs
[02:41:45] *** slainer68_ftw has quit IRC
[02:41:59] *** azureknight has quit IRC
[02:42:42] *** k-dawg has joined #angularjs
[02:43:19] *** panpansh has quit IRC
[02:43:39] *** lewdev has joined #angularjs
[02:43:43] *** Asiajey has joined #angularjs
[02:43:43] *** Asiajey has joined #angularjs
[02:44:10] *** DrMabuse has quit IRC
[02:44:36] *** kennbrodhagen has quit IRC
[02:44:47] *** senayar has quit IRC
[02:44:51] <Asiajey> is there any easy way to proxy all emmited messages from scope to scope.$parent ?
[02:46:15] *** morenoh149 has joined #angularjs
[02:47:23] *** DrMabuse has joined #angularjs
[02:48:25] <sacho> why? they're already dispatched up the parent chain if you dont handle them
[02:50:41] *** subnl2 has joined #angularjs
[02:50:59] *** Gambit- has quit IRC
[02:51:14] <Foxandxss> Asiajey: you're doing it wrong
[02:51:40] *** DrMabuse has quit IRC
[02:51:41] *** gnar_matix has quit IRC
[02:52:05] *** mac_ified has quit IRC
[02:52:13] *** gnar_matix has joined #angularjs
[02:52:36] *** MacWinner has quit IRC
[02:53:02] *** secondjeff has joined #angularjs
[02:53:23] *** lordkryss has quit IRC
[02:53:23] <Asiajey> Foxandxss: i have draggable element, and sending message to element I drag over, like element.scope.$emit('drag',dragparams); I want to send this event to not draghandle, but to element itself
[02:53:28] *** one_zero has joined #angularjs
[02:53:32] <Left_Turn> i cant start the deployd dashboard
[02:53:35] <Asiajey> how I should do this other way ?
[02:53:53] *** markisonfire has quit IRC
[02:54:21] <Foxandxss> Asiajey: at least not like that
[02:54:24] <Foxandxss> I have to go, 3 am
[02:54:27] *** Foxandxss has quit IRC
[02:55:31] <Asiajey> hm, not this way, but no idea which one,
[02:56:19] *** bphogan is now known as bphogan_afk
[02:56:22] *** chrislerum has joined #angularjs
[02:56:53] *** gnar_matix has quit IRC
[02:56:55] *** mmitchell has joined #angularjs
[02:57:16] *** subnl2 has left #angularjs
[02:58:16] *** chrisshattuck has quit IRC
[02:58:43] *** bphogan_afk is now known as bphogan
[02:58:45] *** TorchDragon has joined #angularjs
[02:59:24] *** chrisshattuck has joined #angularjs
[03:00:02] *** chrisshattuck has quit IRC
[03:00:42] *** atomical has joined #angularjs
[03:01:15] *** aesinv`w has joined #angularjs
[03:02:06] *** justinobney has quit IRC
[03:02:21] *** secondjeff has quit IRC
[03:02:28] *** LuxuryMode has quit IRC
[03:02:40] *** chrisshattuck has joined #angularjs
[03:02:51] *** justinobney has joined #angularjs
[03:03:08] *** mmitchell has quit IRC
[03:03:13] *** Malone has quit IRC
[03:03:45] *** Malone has joined #angularjs
[03:04:05] *** chrislerum has quit IRC
[03:04:12] *** jeremymarc has quit IRC
[03:04:47] *** TorchDragon has quit IRC
[03:05:15] *** danielpquinn has joined #angularjs
[03:05:15] *** charliestrawn has joined #angularjs
[03:06:08] *** seydoggy has joined #angularjs
[03:06:16] *** billcd has joined #angularjs
[03:06:20] *** mdedetrich has joined #angularjs
[03:06:43] *** bmac has joined #angularjs
[03:06:51] *** bmac has quit IRC
[03:07:01] *** chrisshattuck has quit IRC
[03:07:08] *** justinobney has quit IRC
[03:07:38] *** Pilate has quit IRC
[03:08:07] *** Pilate has joined #angularjs
[03:08:10] *** Malone has quit IRC
[03:08:11] *** Pilate is now known as Guest96466
[03:08:41] *** bmac has joined #angularjs
[03:09:21] *** wallerdev has quit IRC
[03:09:36] *** markalanevans has quit IRC
[03:09:42] *** jsoverson has quit IRC
[03:10:11] *** danielpquinn has quit IRC
[03:10:13] *** seydoggy has quit IRC
[03:10:28] *** josh-k_ has joined #angularjs
[03:11:11] *** billcd has quit IRC
[03:11:39] *** viscera has joined #angularjs
[03:11:43] *** chrislerum has joined #angularjs
[03:12:18] *** justinobney has joined #angularjs
[03:12:47] *** Yahkob has joined #angularjs
[03:13:05] *** niall_obrien has joined #angularjs
[03:13:10] <niall_obrien> Hi all
[03:13:18] *** viscera has left #angularjs
[03:13:33] *** josh-k has quit IRC
[03:13:44] <niall_obrien> I need help with an angular & local storage problem
[03:13:49] *** markalanevans has joined #angularjs
[03:14:30] *** mikehaas763 has quit IRC
[03:14:36] *** BobbieBarker has quit IRC
[03:14:37] *** patrickc_ has joined #angularjs
[03:15:32] <da_wunder> niall_obrien: and the problem is?
[03:16:03] *** nemothekid has quit IRC
[03:16:09] <niall_obrien> I'm populating an API call to local store and assigning it to the scope da_wunder
[03:16:29] <niall_obrien> I'm just wondering how can I prevent this every time - the assignment that is
[03:16:31] *** gnar_matix has joined #angularjs
[03:16:37] *** nemothekid has joined #angularjs
[03:17:04] *** motionman has joined #angularjs
[03:17:04] *** motionman has joined #angularjs
[03:17:06] *** nemothekid has quit IRC
[03:17:11] *** wallerdev has joined #angularjs
[03:17:18] *** waylon999 has joined #angularjs
[03:17:31] *** Milanito has joined #angularjs
[03:18:07] *** edrocks has joined #angularjs
[03:18:15] <da_wunder> niall_obrien: sorry i don't understand your problem with that description
[03:18:46] <niall_obrien> da_wunder: Ok. I'm making a single api call and storing the result in local store
[03:18:48] *** nerdy has quit IRC
[03:18:56] <da_wunder> niall_obrien: ok
[03:19:06] <da_wunder> and then what?
[03:19:33] <niall_obrien> da_wunder: However, every time I hit the controller, it's checking the local store and assigning to the scope - I only want this to happen once.
[03:20:18] <da_wunder> so you have your local storage as service?
[03:20:43] *** nerdy has joined #angularjs
[03:20:54] <niall_obrien> Saving to it
[03:20:55] *** Aliks has quit IRC
[03:20:59] <niall_obrien> within the service
[03:21:14] <niall_obrien> Checking it in the controller though
[03:21:26] <da_wunder> using that service?
[03:21:38] <zelrik> if(!stored){ store();}
[03:21:42] <zelrik> no?
[03:21:56] *** cigarshark has quit IRC
[03:22:04] <niall_obrien> da_wunder: I don't follow
[03:22:23] <da_wunder> niall_obrien: https://github.com/tarlepp/angular-sailsjs-boilerplate/blob/master/frontend%2Fsrc%2Fapp%2Fangular%2FServices%2FStorage.js
[03:22:24] *** Malone has joined #angularjs
[03:22:45] <da_wunder> niall_obrien: and setter for that https://github.com/tarlepp/angular-sailsjs-boilerplate/blob/master/frontend%2Fsrc%2Fapp%2Fangular%2FServices%2FAuth.js#L92
[03:23:17] *** jareddlc has quit IRC
[03:23:19] <da_wunder> niall_obrien: and usage like this https://github.com/tarlepp/angular-sailsjs-boilerplate/blob/master/frontend%2Fsrc%2Fapp%2Fangular%2FServices%2FCurrentUser.js
[03:23:21] *** BobbieBarker has joined #angularjs
[03:24:14] <BobbieBarker> is there a way to keep ng-change from firing immediately? i.e i'm using it on an input field and i don't want it to fire on every keystroke
[03:24:44] *** Shrooms has quit IRC
[03:24:47] <da_wunder> BobbieBarker: $timeout
[03:24:49] *** richardbaker has joined #angularjs
[03:25:15] <zelrik> BobbieBarker, put a watch with a timeout
[03:25:27] <niall_obrien> da_wunder: I'm still learning - see http://plnkr.co/edit/5MqaiJ2yXSnGRn23NwKt?p=catalogue
[03:25:27] <BobbieBarker> hmmm
[03:25:31] *** Gambit- has joined #angularjs
[03:25:32] *** Gambit- has joined #angularjs
[03:25:32] *** JosephSilber has quit IRC
[03:25:46] <zelrik> BobbieBarker, is it like an 'instant' search?
[03:25:52] <da_wunder> BobbieBarker: like that https://github.com/tarlepp/Taskboard/blob/angular/frontend%2Fsrc%2Fapp%2Fangular%2FDirectives%2FComponents%2FUserProjects.js#L230
[03:25:52] *** pkayfire has quit IRC
[03:25:54] <zelrik> and you dont wanna hit the server all the time?
[03:25:57] *** JoshGlzBrk has quit IRC
[03:26:23] <BobbieBarker> no zelrik it's a regular input field, and then when the user inputs a number into it the data gets post/put back to the DB
[03:26:24] *** pkayfire has joined #angularjs
[03:26:33] *** k-dawg has quit IRC
[03:26:46] <BobbieBarker> thanks for the link da_wunder
[03:26:49] <zelrik> ok
[03:26:56] <da_wunder> BobbieBarker: np
[03:26:58] *** patrickc_ has quit IRC
[03:27:02] <zelrik> BobbieBarker, sounds like a similar feature though
[03:27:23] <da_wunder> basically it's same thing
[03:27:26] <niall_obrien> da_wunder: See what I'm doing in my controller?
[03:27:34] *** zumba_ad_ has joined #angularjs
[03:27:43] <BobbieBarker> maybe i dunno, the problem is that the ng-change fires on keystroke so if you try to do a 2 digit number it's firing faster than the promises can be resolved and causing some unwanted affects
[03:27:50] <zelrik> BobbieBarker, I happen to have it in my module...
[03:27:51] <zelrik> :D
[03:28:15] <BobbieBarker> what do you have?
[03:28:20] *** BillCriswell has joined #angularjs
[03:28:21] <da_wunder> niall_obrien: try to make that to service
[03:28:38] <zelrik> BobbieBarker, delayed input action
[03:28:49] *** InezK is now known as InezK_away
[03:28:59] <da_wunder> and that code example makes the same thing
[03:29:10] *** mguillech has quit IRC
[03:29:23] <zelrik> BobbieBarker, you could also lock the action until the promise is resolved also
[03:29:29] <BobbieBarker> i dunno i have mad respect for you trying to add to the community, but i can't import every last doo-dad-modulule into my project unless i really need it
[03:29:33] *** mguillech has joined #angularjs
[03:29:33] <niall_obrien> da_wunder: I tried initially but was returning different data from service - promises and raw data
[03:29:41] *** mguillech has quit IRC
[03:29:42] *** mguillech has joined #angularjs
[03:30:02] <zelrik> BobbieBarker, just saying I have some code similar to that link da_wunder posted
[03:30:11] <da_wunder> niall_obrien: those links contains also usage examples on comments...
[03:30:13] <BobbieBarker> np dude i wasn't trying to be rude this time
[03:30:21] <caitp> this time?
[03:30:22] <BobbieBarker> i do have mad respect for your project though
[03:30:28] <BobbieBarker> lol caitp leave me alone
[03:30:32] <caitp> any time, you weren't trying to be rude any time
[03:30:37] <niall_obrien> da_wunder: Thanks, trying to make sense of it all
[03:30:38] <BobbieBarker> yeah any time
[03:30:39] *** InezK_away is now known as InezK
[03:30:41] <BobbieBarker> thats what i meant
[03:30:42] <BobbieBarker> any time
[03:30:44] *** pkayfire has quit IRC
[03:30:46] <caitp> all rudeness is accidental
[03:30:48] <da_wunder> niall_obrien: np
[03:31:05] <BobbieBarker> it's actually derived from a medical condition i suffer from
[03:31:07] *** bzitzow has quit IRC
[03:31:16] <niall_obrien> da_wunder: It's still going to check and assign local store to the scope each time, no?
[03:31:50] *** lw has joined #angularjs
[03:31:50] <da_wunder> niall_obrien: it's going to do that every time you hit that controller
[03:32:11] <niall_obrien> Yeah, not ideal
[03:32:13] *** wa5ted has quit IRC
[03:32:23] *** markalanevans has quit IRC
[03:32:26] <niall_obrien> How can I assign it to the scope once?
[03:32:33] <da_wunder> niall_obrien: but that is how things works
[03:32:46] *** heidi has quit IRC
[03:32:51] <da_wunder> niall_obrien: you using nested controllers?
[03:32:51] *** whunt has quit IRC
[03:32:54] <niall_obrien> Hmmm - it's slower than an API call for me
[03:33:07] <zelrik> I dont understand
[03:33:14] <zelrik> why would it be assigned several times
[03:33:39] <niall_obrien> http://plnkr.co/edit/5MqaiJ2yXSnGRn23NwKt?p=catalogue zelrik
[03:33:47] <da_wunder> niall_obrien: could you provide some plunger?
[03:34:03] *** RobinBAwesome has quit IRC
[03:34:14] <da_wunder> niall_obrien: that doesn't do nothing....
[03:34:57] <zelrik> you can use a service to know if the controller was hit or not
[03:35:03] <da_wunder> and when ever you hit that controller it will run all that code again
[03:35:11] *** Jae has quit IRC
[03:35:51] *** bmac has quit IRC
[03:35:52] *** nerdy has quit IRC
[03:35:56] *** darrin has quit IRC
[03:36:16] <niall_obrien> So what are my options?
[03:37:23] *** mindlace has quit IRC
[03:37:41] *** toors has quit IRC
[03:38:00] *** Left_Turn has quit IRC
[03:38:02] *** lw has quit IRC
[03:38:03] <zelrik> niall_obrien, isnt it what you want http://plnkr.co/edit/a22r9rSDgTzTcJ7m9W0n?p=preview ?
[03:38:04] *** shinnya has quit IRC
[03:39:09] <spencercarnage> If you only want it to fire once, wouldn’t a service be what you’re looking for?
[03:39:17] <zelrik> yeah
[03:39:19] *** jstimm has quit IRC
[03:39:25] <zelrik> I don't understand the problem
[03:39:45] <da_wunder> same here
[03:39:46] <niall_obrien> The problem is that the data is being rebound to the view from local store each time
[03:39:53] <niall_obrien> Which is slow
[03:40:00] <niall_obrien> I'm still learning guys
[03:40:07] <niall_obrien> I'll try move it to a service
[03:40:23] *** fedenunez has joined #angularjs
[03:41:54] <spencercarnage> Sounds like you want to be able to pull it from a local var, but if that var is undefined, then pull it from local storage, and if that’s undefined, pull it from an API.
[03:42:15] <zelrik> just pull it from a cookie or so
[03:42:15] *** kcccccc has quit IRC
[03:42:23] <spencercarnage> Does the staff list ever change? If so, localStorage may not be the best choice.
[03:42:48] *** bmac has joined #angularjs
[03:43:07] <niall_obrien> spencercarnage: rarely
[03:43:29] <niall_obrien> So how would i refactor this to a service?
[03:43:34] <spencercarnage> Yeah but if it does change, then it’ll be out of date.
[03:43:44] *** justinobney has quit IRC
[03:43:46] <spencercarnage> Just have the service do a http request, like so $http.get(url, { cache: true}).success(...);
[03:43:55] <spencercarnage> I think that would be the best way.
[03:43:56] *** morenoh149 has quit IRC
[03:43:59] <niall_obrien> Yeah, I have that
[03:44:16] *** RobinBAwesome has joined #angularjs
[03:44:25] *** RedOrangeZ has quit IRC
[03:44:31] *** encryptd_fractl has joined #angularjs
[03:44:36] <spencercarnage> That should solve your problem of the data being subsequently rebound.
[03:45:12] *** josh-k_ has quit IRC
[03:45:25] *** mikehaas763 has joined #angularjs
[03:45:27] *** patrickc_ has joined #angularjs
[03:45:27] <niall_obrien> I could also set a flag var in local storage from a service I guess
[03:45:39] *** josh-k has joined #angularjs
[03:45:56] *** T_Hunt has quit IRC
[03:46:20] <zelrik> I am still puzzled as to why that ctrl would be hit several times
[03:46:26] <zelrik> page refresh?
[03:46:34] <niall_obrien> mobile app
[03:46:41] <zelrik> which means?
[03:46:55] <spencercarnage> What’s the harm in pulling the data via ajax once every time they hit the page?
[03:46:58] <da_wunder> those are just apps like normal apps
[03:47:26] <niall_obrien> Indeed - I dunno why it's hitting the controller like that
[03:47:38] <da_wunder> could you provide some code?
[03:47:43] <da_wunder> live one
[03:47:51] *** cdaringe has joined #angularjs
[03:48:08] <spencercarnage> Hitting the controller or hitting the local storage / ajax multiple times? Which one is the problem?
[03:48:16] *** DrMabuse has joined #angularjs
[03:48:39] *** ekinmur has quit IRC
[03:48:46] <spencercarnage> I believe the controller should execute for each view that uses it. And that’s okay. It’s the fetching of the data that is the problem, correct?
[03:48:47] <zelrik> the only times I know controllers are refreshed is either when you refresh the page or if you change the url
[03:49:00] <niall_obrien> spencercarnage: It's binding the localstore data to the scope each time I hit the view by the looks of things
[03:49:07] *** slainer68_ftw has joined #angularjs
[03:49:11] *** caitp has quit IRC
[03:49:20] *** Dalsass_mobi has joined #angularjs
[03:49:25] <zelrik> you 'hit' the view?
[03:49:47] <BobbieBarker> zelrik i hit the view all the time
[03:49:58] <niall_obrien> Sorry, when I go to the main view with this ctrl
[03:49:58] <BobbieBarker> when it shit isn't working i punch my monitor
[03:50:00] *** speakingcode has quit IRC
[03:50:03] <zelrik> you change state of ng-view?
[03:50:10] *** josh-k has quit IRC
[03:50:11] <niall_obrien> da_wunder: Ionic app
[03:50:13] <BobbieBarker> *monitor punch
[03:50:38] <spencercarnage> niall_obrien how about refactoring the part that retrieves the data via AJAX into a service that caches?
[03:50:46] *** feelfine has quit IRC
[03:51:12] <zelrik> move the code to a controller that s not moving around also
[03:51:18] <da_wunder> niall_obrien: i think there is hard to find solution wihtout real code / live example
[03:51:29] <zelrik> it sounds like your controller is created/destroyed all the time
[03:51:45] <niall_obrien> da_wunder: Understandable - I'll put it on github
[03:52:08] *** jeremymarc has joined #angularjs
[03:52:29] *** mac_ified has joined #angularjs
[03:52:31] *** \du has joined #angularjs
[03:52:33] <da_wunder> and i'm thinking to going to sleep
[03:52:42] *** AnthonyC has joined #angularjs
[03:52:43] <spencercarnage> niall_obrien http://plnkr.co/edit/DJCOSBy8SVDrk1it9QHM?p=preview
[03:52:46] <da_wunder> 04:52 here :D
[03:52:47] *** DrMabuse has quit IRC
[03:53:09] *** feelfine has joined #angularjs
[03:53:21] <niall_obrien> lol np
[03:53:23] *** mikehaas763 has quit IRC
[03:53:31] *** ekinmur has joined #angularjs
[03:53:32] <spencercarnage> That just takes the local storage out of the equation. Every time they load the page, you get the request from the StaffList service, which if it caches correctly, should only fire the request and serve up the cached data on subsequent requests.
[03:53:32] *** feelfine has quit IRC
[03:53:39] *** feelfine has joined #angularjs
[03:53:48] <spencercarnage> *fire the request once
[03:54:22] *** encryptd_fractl has quit IRC
[03:54:49] *** Fishy has joined #angularjs
[03:55:07] *** TheAceOfHearts has quit IRC
[03:55:14] <niall_obrien> spencercarnage: my save() method arg is passed to the service where it's saved to local store
[03:55:22] *** teslanick1 has joined #angularjs
[03:55:36] *** chrislerum has quit IRC
[03:56:09] *** dcherman has joined #angularjs
[03:56:15] <niall_obrien> I think it could be Canary - I'm seeing better performance now
[03:56:24] <niall_obrien> I think I really need to test on a device
[03:56:38] *** chrislerum has joined #angularjs
[03:56:40] <niall_obrien> Restarted my server etc.
[03:56:58] *** encryptd_fractl has joined #angularjs
[03:57:04] *** seydoggy has joined #angularjs
[03:57:24] *** wallerdev has quit IRC
[03:57:26] <zelrik> The biggest performance hit I found so far with angularJS was when I put a watch on scroll
[03:57:31] *** andrewhl has quit IRC
[03:57:36] <zelrik> like... page or modal scrolling
[03:57:40] *** edrocks has quit IRC
[03:57:49] <zelrik> that thing destroyed the experience on mobile
[03:57:57] <spencercarnage> If you keep hitting local storage, you’ll always run into the problem. But if you want local storage, you’ll need some private variable in your service that gets defined when you read from localstorage. That way on subsequent reads, you read the private var instead of localstorage.
[03:57:58] *** teslanick1 has left #angularjs
[03:58:16] *** Cache_Money has joined #angularjs
[03:58:51] *** caitp has joined #angularjs
[03:59:00] *** spencercarnage has quit IRC
[03:59:04] *** chrisshattuck has joined #angularjs
[03:59:12] <niall_obrien> da_wunder: http://plnkr.co/edit/5MqaiJ2yXSnGRn23NwKt?p=info
[03:59:26] *** mmitchell has joined #angularjs
[03:59:26] *** RobinBAwesome has quit IRC
[04:00:01] *** charuru has quit IRC
[04:00:07] <niall_obrien> I'd appreciate any refactoring advice as I'm still learning and had problems with my services returning the data in some cases but promise objects in other cases
[04:00:43] *** chrisshattuck has quit IRC
[04:00:50] *** gnar_matix has quit IRC
[04:01:10] *** chrisshattuck has joined #angularjs
[04:01:21] *** encryptd_fractl has quit IRC
[04:02:37] *** gnar_matix has joined #angularjs
[04:02:48] *** patrickc_ has quit IRC
[04:03:34] *** mmitchell has quit IRC
[04:03:38] <davek> Has anyone successfully wrapped the jquery-file-upload plugin? Looking for some of that sweet crop/modify functionality.
[04:03:40] <zelrik> niall_obrien, and you say that controller is declared several times?
[04:03:52] <zelrik> well 're-initialized'
[04:04:24] <niall_obrien> zelrik: right now it's not, but my scope was undefined on each pass before the assign statement which is weird
[04:04:53] <niall_obrien> Right now it seems okay. I will try on a device in the office tomorr
[04:04:57] <niall_obrien> tomorrow*
[04:05:05] <niall_obrien> Thanks for your help btw
[04:05:21] <niall_obrien> As I said, I'd appreciate any refactoring tips
[04:05:22] <da_wunder> hmm, no work, is it summer and it's holiday time!
[04:05:23] *** ipalaus has quit IRC
[04:05:44] <niall_obrien> da_wunder: Have you deployed your app? Just wondering how well it's scaling
[04:05:45] *** patrickc_ has joined #angularjs
[04:05:51] *** danielpquinn has joined #angularjs
[04:06:08] <da_wunder> niall_obrien: at work we use my app, and it works great
[04:06:21] <zelrik> I havent used stateprovider before
[04:06:22] <niall_obrien> Have you load tested it?
[04:06:42] <niall_obrien> zelrik: Yeah, Ionic uses Angular-UI
[04:06:55] <da_wunder> niall_obrien: no need for that, our ict-crew takes all care of those
[04:07:08] <zelrik> niall_obrien, perhaps a problem with Ionic
[04:07:18] <niall_obrien> da_wunder: Ah I'm just curious :)
[04:07:27] <da_wunder> oh, ok
[04:07:31] <zelrik> what do you mean by your scope was undefined?
[04:08:02] *** Milanito has quit IRC
[04:08:38] <niall_obrien> zelrik: in the first controller, within the first IF check, $scope.staff was always undefined
[04:09:02] *** jdj_dk has joined #angularjs
[04:09:03] <da_wunder> niall_obrien: so you have nested controllers?
[04:09:15] *** patrickc_ has quit IRC
[04:09:40] <niall_obrien> nested? No. Just multiple controllers in one file under a module
[04:09:44] *** ngoyal has joined #angularjs
[04:10:21] <zelrik> niall_obrien, what about staffList
[04:10:30] <zelrik> is there something in it
[04:10:31] <zumba_ad_> hey guys, I have an html tag. <div chart="chartArea"></div> Now, I'd like to use ng-repeat to dynamically populate chart. I tried using my object chart.chartArea by putting chart="{{chart.chartArea}}" but it failed. Any ideas?
[04:10:47] *** danielpquinn has quit IRC
[04:10:49] <niall_obrien> zelrik: Just tried the app on the iOS emulator - man it's fast :)
[04:10:58] <niall_obrien> zelrik: It seems all fine now...
[04:11:12] <zelrik> ok
[04:11:28] <niall_obrien> zelrik: see my first controller?
[04:11:29] <zelrik> well glad I could help LOL
[04:11:32] *** fedenunez has quit IRC
[04:11:36] <zelrik> yeah
[04:12:15] *** patrickc_ has joined #angularjs
[04:12:32] <niall_obrien> See how staffList is assigned to the controller? I initially tried putting this all in a service but staffList has the data in the first IF check, but it's a promise obj in the else cond - any suggestions?
[04:12:34] *** seydoggy has quit IRC
[04:13:06] *** seydoggy has joined #angularjs
[04:13:39] *** jdj_dk has quit IRC
[04:13:41] <zelrik> it cant be a promise
[04:13:54] <zelrik> it s in the response
[04:14:03] *** ngoyal has quit IRC
[04:14:40] *** seydoggy_ has joined #angularjs
[04:14:44] <zelrik> the .all() means you have a lot of requests?
[04:14:58] *** seydoggy has quit IRC
[04:15:00] <zelrik> oh nvm
[04:15:05] <zelrik> it s a restful thing
[04:15:09] *** gnar_matix has quit IRC
[04:15:13] *** chrisbirk has joined #angularjs
[04:15:56] <zelrik> niall_obrien, I dont like that line: return staffList = $http.get('http://www.wit.ie/api/get_channel_entries?channel_id=60', {
[04:15:56] <zelrik> cache: true
[04:15:56] <zelrik> })
[04:16:10] <zelrik> just write return $http.get...
[04:16:29] <niall_obrien> would you resolve the promise there too?
[04:16:41] <zelrik> also
[04:16:45] <zelrik> there is no error handling
[04:16:50] <zelrik> nop
[04:16:58] <zelrik> well actually I would
[04:17:22] *** josh-k has joined #angularjs
[04:17:34] <zelrik> you are not handling the case where there is no response
[04:17:57] <niall_obrien> Oh I'm well aware, early days my friend :)
[04:18:14] *** chrisbir_ has joined #angularjs
[04:18:15] *** chrisbirk has quit IRC
[04:18:23] <da_wunder> niall_obrien: what are you using at backend?
[04:18:26] *** JosephSilber has joined #angularjs
[04:18:35] *** chrisbir_ has quit IRC
[04:18:37] *** Dalsass_mobi has quit IRC
[04:19:00] <niall_obrien> da_wunder: The client has an Expression Engine install which we've to integrate with :(
[04:19:03] *** pkayfire has joined #angularjs
[04:19:04] *** rho has quit IRC
[04:19:30] <zumba_ad_> folks, this is the exact issue I encountered. Anyone has solutions? https://groups.google.com/forum/#!topic/angular/d2lf8qcuQFI
[04:19:38] <zelrik> I doubt it s a problem but have you tried inserting some $scope.$apply(); ?
[04:19:52] *** Deseaus has joined #angularjs
[04:20:03] <zelrik> sometimes the scope variable is not affected because of it
[04:20:53] *** niall_obrien has quit IRC
[04:20:57] *** aviraldg has quit IRC
[04:21:25] *** kalehv has joined #angularjs
[04:21:25] <da_wunder> or just add data-ng-if="charts[0]"
[04:22:17] <da_wunder> and is the purpose really to make n controllers there?
[04:22:17] <zelrik> damn he left
[04:23:20] *** fedenunez has joined #angularjs
[04:24:44] *** chrisbirk has joined #angularjs
[04:25:31] *** charuru has joined #angularjs
[04:26:03] *** Deseaus has quit IRC
[04:26:04] *** mayrop_ has joined #angularjs
[04:26:44] *** tilgovi has quit IRC
[04:27:10] *** dcherman2 has joined #angularjs
[04:27:18] *** Hackwar1 has joined #angularjs
[04:27:37] <zumba_ad_> any ideas about my issue?
[04:28:12] <zumba_ad_> i guess it's because chart tag not being angular-aware
[04:28:22] *** superplussed has joined #angularjs
[04:28:22] <zumba_ad_> if it was ng-chart, i guess it will work
[04:28:30] *** dcherman has quit IRC
[04:28:38] *** slainer68_ftw has quit IRC
[04:28:46] <zumba_ad_> however, google charts just uses chart="somevalue"
[04:29:11] *** dbouwman has joined #angularjs
[04:29:20] <zumba_ad_> or is there an Angular workaround for this?
[04:29:25] *** waylon999 has quit IRC
[04:29:26] *** mindlace has joined #angularjs
[04:29:44] *** Hackwar has quit IRC
[04:29:52] *** waylon999 has joined #angularjs
[04:30:12] *** mguillec_ has joined #angularjs
[04:30:13] <da_wunder> zumba_ad_: is that purpose that you use MyCtrl multiple times?
[04:30:45] *** jordandotdev has joined #angularjs
[04:30:53] <zumba_ad_> mine is just single but i'm displaying the charts multiple times
[04:31:19] <zumba_ad_> previously, I'm using this code and it works great but code is ugly. chart="chart1", chart="chart2" and so on
[04:31:27] *** slainer68_ftw has joined #angularjs
[04:31:36] <da_wunder> you're initializing that two some many times there are 'charts'
[04:32:02] *** davesidious has joined #angularjs
[04:32:13] *** encryptd_fractl has joined #angularjs
[04:32:14] <zumba_ad_> if you are looking at the link I sent, it's not mine. I was just showing it because the error he got is the same as mine
[04:32:28] *** jharbaugh has joined #angularjs
[04:32:29] <da_wunder> duh
[04:32:38] *** superplussed has quit IRC
[04:32:40] <zumba_ad_> posting mine shortly
[04:32:52] <da_wunder> you people should link real code not some shit...
[04:32:59] *** mguillech has quit IRC
[04:33:11] *** davesidious_ has quit IRC
[04:33:33] <da_wunder> because most of us aren't mind readers
[04:33:52] <zumba_ad_> da_wunder: this is my code. The line that I'm trying to make it work is line 8 - https://gist.github.com/c0debreaker/1d4fc08f63938ad80c0e
[04:33:53] <da_wunder> we really cannot see / think what you're doing
[04:34:00] <zumba_ad_> apology da_wunder
[04:34:12] <zumba_ad_> i just posted my real code
[04:34:35] <zumba_ad_> And the error is below
[04:34:36] <zumba_ad_> Error: [$parse:syntax] Syntax Error: Token 'device.odometerChart' is unexpected, expecting [:] at column 3 of the expression [{{device.odometerChart}}] starting at [device.odometerChart}}].
[04:35:05] *** gnar_matix has joined #angularjs
[04:35:23] <zumba_ad_> oh damn, I see the error
[04:35:27] *** aviraldg has joined #angularjs
[04:35:32] <zumba_ad_> changing the code, LOL
[04:35:42] *** patrickarlt has joined #angularjs
[04:35:44] <zumba_ad_> I'm assigning the json result to odometerChart and I shouldn't
[04:35:45] <da_wunder> :D
[04:35:55] <zumba_ad_> one sec
[04:35:55] *** mrtoadsc has joined #angularjs
[04:36:08] *** aviraldg has quit IRC
[04:36:49] *** feelfine has quit IRC
[04:37:02] *** benjf has joined #angularjs
[04:37:07] *** jeremymarc has quit IRC
[04:37:08] *** aviraldg has joined #angularjs
[04:37:46] *** pkayfire_ has joined #angularjs
[04:37:55] <zumba_ad_> still no go :(
[04:38:00] *** jumpstracks has joined #angularjs
[04:38:19] *** ekinmur has quit IRC
[04:38:20] *** Willow has quit IRC
[04:38:21] <da_wunder> updated code?
[04:38:28] *** xavia has joined #angularjs
[04:38:32] <gnar_matix> anyone ever have trouble getting out of the matrix?
[04:38:38] <zumba_ad_> i updated the controller
[04:38:40] <gnar_matix> once I start coding it's like i'm stuck...
[04:38:46] *** Willow has joined #angularjs
[04:38:52] <zumba_ad_> i'll post it
[04:38:59] *** encryptd_fractl has quit IRC
[04:39:09] <gnar_matix> hours hours hours go by. it's been 5 hours since i left work. i haven't stopped .. :\ someone save me
[04:39:40] <da_wunder> gnar_matix: please code more, if you're on that
[04:39:51] <zumba_ad_> da_wunder: https://gist.github.com/c0debreaker/ae2da76306e7e492c9fc
[04:40:07] <zumba_ad_> The error is still the same
[04:40:17] <zumba_ad_> the new code is line 4
[04:40:19] <gnar_matix> da_wunder i think my brain is short circuiting
[04:40:53] *** richardbaker has quit IRC
[04:40:56] <da_wunder> zumba_ad_: cannot really say anything about that
[04:41:06] <zumba_ad_> I think the culprit is the way I'm trying to assign device.odometerChart in <div google-chart chart="{{device.odometerChart}}" select="seriesSelected(selectedItem)"></div>
[04:41:13] <zumba_ad_> it's because chart isn't ng-aware
[04:41:23] *** chrislerum has quit IRC
[04:41:23] *** pkayfire has quit IRC
[04:42:06] <zumba_ad_> I looked at the html output and it didn't get rendered properly, it's still showing curly braces
[04:42:15] *** superplussed has joined #angularjs
[04:42:53] *** hswolff has joined #angularjs
[04:42:54] *** \du has quit IRC
[04:42:58] *** Willow has quit IRC
[04:43:55] *** sgnl has quit IRC
[04:44:04] *** patrickc_ has quit IRC
[04:44:13] *** annlewis_ has quit IRC
[04:45:20] *** kennbrodhagen has joined #angularjs
[04:45:56] *** hswolff has quit IRC
[04:46:14] *** aviraldg has quit IRC
[04:46:41] *** bphogan is now known as bphogan_afk
[04:47:19] *** ianpirro has joined #angularjs
[04:47:28] *** waylon999 has quit IRC
[04:47:36] <charliestrawn> what are you using for view rendering server side?
[04:48:14] *** Ir1sh has joined #angularjs
[04:48:39] <da_wunder> charliestrawn: i just separated back- and frontend sides
[04:48:46] *** superplussed has quit IRC
[04:48:52] *** mchapman has quit IRC
[04:48:59] <da_wunder> which seems to be the right choice
[04:49:01] *** DrMabuse has joined #angularjs
[04:49:17] <charliestrawn> sure, i've just seen that problem before using handlebars with node
[04:49:19] *** superplussed has joined #angularjs
[04:49:30] <charliestrawn> something that's already trying to escape the {{ }}
[04:49:32] *** mikehaas763 has joined #angularjs
[04:49:39] *** annlewis has joined #angularjs
[04:49:54] *** mven_ has quit IRC
[04:50:06] *** kennbrodhagen has quit IRC
[04:50:11] <da_wunder> personaly i use slush-angular nowadays
[04:50:24] *** patrickarlt has quit IRC
[04:50:35] <da_wunder> that one https://github.com/slushjs/slush-angular
[04:50:53] *** bmac has quit IRC
[04:51:05] *** patrickc_ has joined #angularjs
[04:51:15] <charliestrawn> nice, looks pretty useful
[04:51:40] *** andrewhl has joined #angularjs
[04:52:03] *** jumpstracks has quit IRC
[04:52:04] *** chrislerum has joined #angularjs
[04:52:18] *** Ir1sh has quit IRC
[04:52:22] *** Fishy has quit IRC
[04:52:51] *** jumpstracks has joined #angularjs
[04:53:32] *** superplussed has quit IRC
[04:53:32] *** tigrang has quit IRC
[04:53:34] *** DrMabuse has quit IRC
[04:53:38] *** mikehaas763 has quit IRC
[04:53:52] *** mmitchell has joined #angularjs
[04:53:56] *** annlewis has quit IRC
[04:54:09] *** dc_ has quit IRC
[04:55:08] *** mven_ has joined #angularjs
[04:55:18] *** Destos has quit IRC
[04:55:21] *** BillCriswell has quit IRC
[04:55:21] *** pkayfire_ has quit IRC
[04:55:57] *** pkayfire has joined #angularjs
[04:56:59] *** chrislerum has quit IRC
[04:57:10] *** Yahkob has quit IRC
[04:57:34] *** bayousoft has quit IRC
[04:58:34] *** mmitchell has quit IRC
[04:59:34] *** gnar_matix has quit IRC
[05:00:02] *** jharbaugh has quit IRC
[05:00:13] *** pkayfire has quit IRC
[05:00:27] *** aviraldg has joined #angularjs
[05:00:46] *** jharbaugh has joined #angularjs
[05:00:50] *** andrewhl has quit IRC
[05:00:51] *** netto_ has joined #angularjs
[05:01:31] *** TheAceOfHearts has joined #angularjs
[05:01:50] *** Yahkob has joined #angularjs
[05:02:15] *** nodweber has joined #angularjs
[05:03:09] *** slainer68_ftw has quit IRC
[05:04:26] *** seydoggy_ has quit IRC
[05:04:47] *** jharbaugh has quit IRC
[05:04:52] *** dc_ has joined #angularjs
[05:05:40] *** mrtoadsc has quit IRC
[05:05:42] *** dc_ has quit IRC
[05:06:18] *** nemothekid has joined #angularjs
[05:06:36] *** danielpquinn has joined #angularjs
[05:06:53] *** anotherwise has joined #angularjs
[05:08:20] *** bmac has joined #angularjs
[05:08:48] *** jumpstracks has quit IRC
[05:09:09] *** steffengy has quit IRC
[05:09:10] *** steffengy1 has joined #angularjs
[05:09:36] *** dc_ has joined #angularjs
[05:10:59] *** danielpquinn has quit IRC
[05:12:19] *** chrislerum has joined #angularjs
[05:12:33] *** charliestrawn has quit IRC
[05:12:34] *** mikehaas763 has joined #angularjs
[05:12:42] *** Guest96466 is now known as Pilate
[05:12:52] *** josh-k has quit IRC
[05:13:28] *** mindlace has quit IRC
[05:13:48] *** chrislerum has quit IRC
[05:13:48] *** ekinmur has joined #angularjs
[05:14:09] *** chrislerum has joined #angularjs
[05:14:38] *** InezK is now known as InezK_away
[05:14:48] *** InezK_away is now known as InezK
[05:15:46] *** Scathen^C has joined #angularjs
[05:17:27] *** netto_ has left #angularjs
[05:17:33] *** karihre_ has quit IRC
[05:18:23] *** karihre has joined #angularjs
[05:18:45] *** chrislerum has quit IRC
[05:20:25] *** annlewis has joined #angularjs
[05:20:40] *** nytrm has joined #angularjs
[05:20:44] *** Yahkob has quit IRC
[05:21:28] *** Scathen^C has quit IRC
[05:21:38] *** Malone has quit IRC
[05:21:56] *** dcherman2 has quit IRC
[05:22:20] *** Jae has joined #angularjs
[05:24:29] *** chrisshattuck has quit IRC
[05:24:37] *** InezK is now known as InezK_away
[05:25:03] *** nytrm has quit IRC
[05:25:09] *** annlewis has quit IRC
[05:28:33] *** moritzs has joined #angularjs
[05:28:56] *** mrtoadsc has joined #angularjs
[05:29:34] *** stevvooe has quit IRC
[05:30:03] *** mdedetrich has quit IRC
[05:30:49] *** slainer68_ftw has joined #angularjs
[05:32:09] *** foo-bar- has joined #angularjs
[05:33:07] *** superplussed has joined #angularjs
[05:33:38] *** rchavik has joined #angularjs
[05:34:10] *** toors has joined #angularjs
[05:35:12] *** fedenunez has quit IRC
[05:35:44] *** Rahul_Roy has joined #angularjs
[05:36:28] *** bphogan_afk is now known as bphogan
[05:36:40] *** nodweber has quit IRC
[05:37:47] *** slainer68_ftw has quit IRC
[05:37:47] *** kalehv has quit IRC
[05:37:50] *** cellofel1 has quit IRC
[05:37:57] *** herenow has quit IRC
[05:38:45] *** toors has quit IRC
[05:39:33] *** shtirlic_ has quit IRC
[05:39:56] *** joshfinnie has quit IRC
[05:40:04] *** encryptd_fractl has joined #angularjs
[05:40:14] *** joshfinnie has joined #angularjs
[05:41:34] *** arussel has left #angularjs
[05:41:37] *** gauravsaini03 has joined #angularjs
[05:42:22] *** nodweber has joined #angularjs
[05:42:46] *** tomzx is now known as tomzx`afk
[05:43:07] *** BobbieBarker has quit IRC
[05:43:52] *** anjumkaiser has joined #angularjs
[05:44:23] *** pencilcheck has joined #angularjs
[05:44:44] *** dc_ has quit IRC
[05:44:57] *** shtirlic has joined #angularjs
[05:45:24] *** rho has joined #angularjs
[05:45:24] *** rho has joined #angularjs
[05:46:03] *** billcd has joined #angularjs
[05:47:17] *** OffTheRails has quit IRC
[05:47:33] *** herenow has joined #angularjs
[05:48:05] *** atomical has quit IRC
[05:48:33] *** billcd has quit IRC
[05:48:38] *** kalehv has joined #angularjs
[05:49:46] *** DrMabuse has joined #angularjs
[05:50:37] *** dreambo8563 has joined #angularjs
[05:51:52] *** chrislerum has joined #angularjs
[05:52:21] *** rho has quit IRC
[05:53:03] *** jbourassa has joined #angularjs
[05:53:18] *** dc_ has joined #angularjs
[05:54:03] *** Stephen has joined #angularjs
[05:54:04] *** DrMabuse has quit IRC
[05:54:16] *** akiress has quit IRC
[05:55:05] *** Ymesio has quit IRC
[05:55:54] *** bmac has quit IRC
[05:56:18] *** chrislerum has quit IRC
[05:56:32] <Stephen> How's 2.0 coming along?
[05:56:49] *** ascarter has joined #angularjs
[05:58:04] *** BobbieBarker has joined #angularjs
[05:58:43] *** MacWinner has joined #angularjs
[05:59:01] <BobbieBarker> I think i've found a blindspot in my general angularJS knowledge. I.E how do you get stuff that happens in your directive to affect your controller and then show up in yoru view
[05:59:17] <BobbieBarker> like it happend in your controller
[05:59:37] *** sneakertack has joined #angularjs
[05:59:49] *** richardbaker has joined #angularjs
[05:59:52] *** markalanevans has joined #angularjs
[05:59:54] <MacWinner> I have a directive, and inside the HTML template, there is a <div ng-if="isEditing><input type="text" ng-model="query"/></div> .. if I use ng-show, instead of ng-if, the ng-model binding seems to work
[06:00:32] <MacWinner> but ng-if doesn't seem to work.. the model value becomes undefined..
[06:01:10] <MacWinner> it seems it may because the div is not part of the DOM when ng-if=false.. how do you make the wiring working when ng-if=true?
[06:01:25] *** patrickc_ has quit IRC
[06:03:04] *** massi_syed has joined #angularjs
[06:04:07] *** rho has joined #angularjs
[06:04:10] <MacWinner> oh.. ng-if creates it's own child scope
[06:05:23] *** slainer68_ftw has joined #angularjs
[06:05:56] *** davek has quit IRC
[06:07:35] *** bphogan is now known as bphogan_afk
[06:07:57] *** drej has quit IRC
[06:08:24] *** drej has joined #angularjs
[06:08:41] *** patrickc_ has joined #angularjs
[06:08:57] *** jonasrosenlind has joined #angularjs
[06:09:00] *** ascarter has quit IRC
[06:09:13] *** sneakertack has quit IRC
[06:10:26] *** davek has joined #angularjs
[06:10:40] *** ngoyal has joined #angularjs
[06:11:41] *** rho has quit IRC
[06:13:00] *** nodweber has quit IRC
[06:13:15] *** treeface has quit IRC
[06:13:49] *** anjumkaiser has quit IRC
[06:13:53] *** jonasrosenlind has quit IRC
[06:14:06] *** josh-k_ has joined #angularjs
[06:14:47] *** mrtoadsc has quit IRC
[06:15:14] *** sneakertack has joined #angularjs
[06:15:35] *** ngoyal has quit IRC
[06:16:53] *** acconrad has quit IRC
[06:16:57] *** danielpquinn has joined #angularjs
[06:17:43] *** gr1nd has joined #angularjs
[06:17:51] *** slainer68_ftw has quit IRC
[06:18:16] *** pencilcheck has quit IRC
[06:18:43] *** pen has joined #angularjs
[06:18:56] *** slainer68_ftw has joined #angularjs
[06:19:47] <zumba_ad_> da_wunder: I got it working
[06:20:24] <zumba_ad_> the culprit was in the assignment of data
[06:20:46] *** annlewis has joined #angularjs
[06:21:04] *** chrislerum has joined #angularjs
[06:21:04] *** dc_ has quit IRC
[06:21:35] *** danielpquinn has quit IRC
[06:22:03] *** Yahkob_ has joined #angularjs
[06:22:58] *** knownasilya has quit IRC
[06:23:42] *** chrislerum has quit IRC
[06:25:03] *** annlewis has quit IRC
[06:26:21] *** encryptd_fractl has quit IRC
[06:26:42] *** mennea has joined #angularjs
[06:27:03] *** bphogan_afk is now known as bphogan
[06:27:45] *** harvey203 has joined #angularjs
[06:28:04] *** rho has joined #angularjs
[06:28:04] *** rho has joined #angularjs
[06:28:20] *** davek has quit IRC
[06:28:26] <zumba_ad_> hey guys, I really like the revealjs changing of page. Do you know of anything similar in AngularJS?
[06:29:07] *** davek has joined #angularjs
[06:29:09] *** JosephSilber has quit IRC
[06:29:42] *** DerekPerkins has joined #angularjs
[06:29:50] *** pdillinger1 has joined #angularjs
[06:30:20] *** spencercarnage has joined #angularjs
[06:30:50] *** mguillech has joined #angularjs
[06:31:19] *** encryptd_fractl has joined #angularjs
[06:32:00] *** sigurding has joined #angularjs
[06:32:33] <caitp> zumba_ad_, you could come up with something like that
[06:32:43] <zumba_ad_> i'm not good in animatino
[06:32:48] <zumba_ad_> animation
[06:32:48] <caitp> but i'm not sure what the benefit would be
[06:32:56] <zumba_ad_> i just like the effect :)
[06:32:59] <zumba_ad_> it's really cool
[06:33:08] <zumba_ad_> I'm going to use it for changing pages
[06:33:36] *** mguillec_ has quit IRC
[06:33:38] *** mikehaas763 has quit IRC
[06:33:49] *** ianpirro has quit IRC
[06:33:55] *** mdedetrich has joined #angularjs
[06:33:59] <BobbieBarker> if you're not slick with the animations you could incorporate http://www.nganimate.org/
[06:34:01] <zumba_ad_> in my case, I only need to display 4 charts per page. If I have more than 4 items, I want to paginate it so I can see the next 4 charts
[06:34:13] <zumba_ad_> looking
[06:34:48] <BobbieBarker> hold on thats not the one i was thinking of
[06:35:34] *** encryptd_fractl has quit IRC
[06:36:16] <BobbieBarker> http://mgcrea.github.io/angular-motion/##slide
[06:36:21] <BobbieBarker> this is what i was thinking of sorry for the brain fart
[06:36:39] <zumba_ad_> oh ok :)
[06:36:55] *** Aerospark has joined #angularjs
[06:37:29] *** TorchDragon has joined #angularjs
[06:38:52] <zumba_ad_> very cool
[06:39:09] *** pencilcheck has joined #angularjs
[06:40:31] *** cdaringe has quit IRC
[06:40:51] *** discipolo_ has quit IRC
[06:41:38] *** TorchDragon has quit IRC
[06:41:56] *** pen has quit IRC
[06:44:10] *** teslan____ is now known as teslan
[06:44:27] *** pencilcheck has quit IRC
[06:44:43] *** wilmoore has joined #angularjs
[06:44:56] *** pencilcheck has joined #angularjs
[06:45:45] *** rchavik has quit IRC
[06:46:08] *** kennbrodhagen has joined #angularjs
[06:46:23] *** kalehv has quit IRC
[06:46:59] *** kalehv has joined #angularjs
[06:47:44] <teslan> Hi all ... please take a look at this "holy grail" layout and help me to refactor it "the angularjs" way. Thanks. ... http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[06:48:05] *** drej has quit IRC
[06:48:05] *** adborden has quit IRC
[06:48:15] <dreambo8563> MacWinner: when ng-if ="false" the element will be removed from DOM
[06:49:11] <dreambo8563> MacWinner: I am reading a book about angularJS, one example here is <span ng-if="!item.complete">(Incomplete)</span> <span ng-if="item.complete">(Done)</span>
[06:50:00] *** Cache_Money has quit IRC
[06:50:29] *** DrMabuse has joined #angularjs
[06:50:30] *** jstimm has joined #angularjs
[06:50:42] *** gauravsaini03 has quit IRC
[06:50:59] *** kennbrodhagen has quit IRC
[06:51:06] *** jdj_dk has joined #angularjs
[06:51:38] *** jstimm has joined #angularjs
[06:51:41] *** kalehv has quit IRC
[06:52:25] *** KernelCurry has joined #angularjs
[06:53:04] *** josh-k_ has quit IRC
[06:53:22] *** hychen has quit IRC
[06:53:34] *** josh-k has joined #angularjs
[06:53:43] *** ekinmur has quit IRC
[06:55:02] *** wagnor has quit IRC
[06:55:12] *** DrMabuse has quit IRC
[06:55:30] *** secondjeff has joined #angularjs
[06:56:04] *** jdj_dk has quit IRC
[06:56:43] *** rchavik has joined #angularjs
[06:57:31] *** rho has quit IRC
[06:57:58] *** biastock has joined #angularjs
[06:58:11] *** josh-k has quit IRC
[06:59:27] <davek> I'm using direct-to-S3 image uploading for user-created assets, anyone know of a clever idea for testing this?
[06:59:32] *** patrickc_ has quit IRC
[07:00:06] *** patrickc_ has joined #angularjs
[07:00:26] *** pencilcheck has quit IRC
[07:00:31] <zumba_ad_> hey guys, how do we make a dynamic variable? $scope.device + n where n is coming from the for loop
[07:00:35] *** caitp has quit IRC
[07:00:36] *** pencilcheck has joined #angularjs
[07:01:38] <davek> $scope.device[n]
[07:01:38] <davek> or $scope['device' + n]
[07:02:55] *** gauravsaini03 has joined #angularjs
[07:03:59] *** obert has joined #angularjs
[07:04:06] <BobbieBarker> so i get the concept of directives talking to controllers via isolate scopes. But how do you get changes that you make in the directive on a scope element in the controller to make an apparence in the view?
[07:04:11] *** patrickc_ has quit IRC
[07:04:12] <zumba_ad_> thanks davek
[07:04:12] *** LuxuryMode has joined #angularjs
[07:04:14] *** nerdy has joined #angularjs
[07:05:16] *** jumpstracks has joined #angularjs
[07:05:23] *** secondjeff has quit IRC
[07:05:25] *** AnthonyC has quit IRC
[07:05:41] <zumba_ad_> davek: it worked! :)
[07:05:41] *** jumpstracks has quit IRC
[07:06:36] *** altious has joined #angularjs
[07:07:09] *** rchavik has quit IRC
[07:09:26] *** foo-bar- has quit IRC
[07:10:44] *** foo-bar- has joined #angularjs
[07:11:03] *** jbourassa has quit IRC
[07:11:05] *** pencilcheck has quit IRC
[07:12:02] *** jbourassa has joined #angularjs
[07:13:17] *** mikaeldice_ has quit IRC
[07:14:23] <teslan> any suggestions on how to refactor this cool holy grail layout so that it's done properly? ... http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[07:14:35] *** bkuberek has quit IRC
[07:15:11] *** foo-bar- has quit IRC
[07:16:47] *** jbourassa has quit IRC
[07:16:52] *** benjf has quit IRC
[07:16:56] *** rchavik has joined #angularjs
[07:17:13] *** caitp has joined #angularjs
[07:17:21] *** Xethron has quit IRC
[07:17:21] *** cdaringe has joined #angularjs
[07:17:23] *** moritzs has quit IRC
[07:17:38] *** LuxuryMode has quit IRC
[07:17:51] *** danielpquinn has joined #angularjs
[07:20:44] *** annlewis has joined #angularjs
[07:21:06] *** aaronmitchell has joined #angularjs
[07:21:56] *** danielpquinn has quit IRC
[07:23:40] *** vintik has joined #angularjs
[07:24:34] *** lite_ has joined #angularjs
[07:25:09] *** annlewis has quit IRC
[07:26:24] *** wxo has joined #angularjs
[07:27:16] *** slainer68_ftw has quit IRC
[07:28:29] *** slainer68_ftw has joined #angularjs
[07:30:28] *** mguillec_ has joined #angularjs
[07:31:07] *** richardbaker has quit IRC
[07:31:08] *** Ethix has quit IRC
[07:33:35] *** mguillech has quit IRC
[07:33:38] *** gr1nd has quit IRC
[07:33:40] <teslan> somebody, anybody, davek
[07:33:42] *** Voyage has joined #angularjs
[07:35:10] *** sigurding has quit IRC
[07:36:00] *** bousquet has joined #angularjs
[07:36:32] *** bkuberek has joined #angularjs
[07:37:03] *** rchavik has quit IRC
[07:37:17] *** Milanito has joined #angularjs
[07:37:51] *** nerdy has quit IRC
[07:38:19] *** cdaringe has quit IRC
[07:40:38] *** bkuberek has quit IRC
[07:40:53] *** Milanito has quit IRC
[07:41:26] *** foo-bar- has joined #angularjs
[07:42:07] *** mikehaas763 has joined #angularjs
[07:43:34] *** davek has quit IRC
[07:43:45] *** atomi_ is now known as atomi
[07:44:01] *** davek has joined #angularjs
[07:44:07] *** Milanito has joined #angularjs
[07:44:41] <mikehaas763> I have a "page" where a large piece chunk of the page is only visible (ng-if) when the user triggers it and after a request is completed. (This is hacked into an existing traditional web site/app). How can I prevent the template for a directive from loading before ng-if is truthy?
[07:44:48] <mikehaas763> My line is like: <div sm-course-plan="activeMasterScheduleCourse" ng-if="activeMasterScheduleCourse"></div>
[07:45:17] <mikehaas763> So I don't want the templateUrl template from sm-course-plan to load before the ng-if evaluates to true
[07:45:33] *** jdj_dk has joined #angularjs
[07:46:11] *** foo-bar- has quit IRC
[07:46:56] *** cdaringe has joined #angularjs
[07:47:21] *** sigurding has joined #angularjs
[07:48:33] *** wa5ted has joined #angularjs
[07:49:09] *** Ch4rAss has joined #angularjs
[07:49:41] *** jdj_dk has quit IRC
[07:50:14] *** rchavik has joined #angularjs
[07:50:38] *** casarock has quit IRC
[07:50:44] *** josh-k has joined #angularjs
[07:51:15] *** DrMabuse has joined #angularjs
[07:51:40] *** bousquet has quit IRC
[07:51:41] <spencercarnage> mikehaas763 are you pre-compiling the template to JS?
[07:51:52] <mikehaas763> spencercarnage: no
[07:53:20] <spencercarnage> I believe that the templateUrl won’t load until the directive is compiled. If the directive itself is only loaded via ng-if, it won’t load the template until the ng-if evaluates to true.
[07:53:20] *** HypnotiX has joined #angularjs
[07:53:46] *** darjeeling has joined #angularjs
[07:54:21] <spencercarnage> Maybe you should wrap the directive in another div that uses ng-if.
[07:54:32] *** Rahul_Roy has quit IRC
[07:55:38] *** DrMabuse has quit IRC
[07:55:58] *** cdaringe has quit IRC
[07:55:59] *** mdedetrich has quit IRC
[07:56:04] *** slainer68_ftw has quit IRC
[07:56:37] *** sigurding has quit IRC
[07:56:45] *** Ch4rAss` has joined #angularjs
[07:57:24] *** slainer68_ftw has joined #angularjs
[07:57:43] *** casarock has joined #angularjs
[07:58:06] *** mindlace has joined #angularjs
[07:58:51] *** sacho has quit IRC
[07:59:32] <monokrome> Is it possible to use Angular 2 yet?
[07:59:34] *** Ch4rAss has quit IRC
[07:59:39] <monokrome> IE, a build somewhere
[08:00:23] *** patrickc_ has joined #angularjs
[08:02:18] *** wxo has quit IRC
[08:02:20] *** aaronmitchell has quit IRC
[08:03:14] *** Milanito has quit IRC
[08:04:34] *** patrickc_ has quit IRC
[08:05:31] *** spencercarnage has quit IRC
[08:06:30] *** dcherman2 has joined #angularjs
[08:07:11] *** bkuberek has joined #angularjs
[08:07:13] *** Xethron has joined #angularjs
[08:07:30] *** mindlace has quit IRC
[08:07:59] *** [n0b0dy] has quit IRC
[08:08:07] *** LuxuryMode has joined #angularjs
[08:08:09] *** [n0b0dy] has joined #angularjs
[08:08:17] *** sigurding has joined #angularjs
[08:08:18] *** josh-k has quit IRC
[08:08:47] *** josh-k has joined #angularjs
[08:09:17] *** Tidwell has quit IRC
[08:09:23] *** ulius has joined #angularjs
[08:09:31] *** mennea has quit IRC
[08:10:13] *** anotherwise has quit IRC
[08:11:25] *** Milanito has joined #angularjs
[08:11:30] *** ngoyal has joined #angularjs
[08:12:09] *** bkuberek has quit IRC
[08:12:16] *** pkayfire has joined #angularjs
[08:12:17] *** TheAceOfHearts has quit IRC
[08:12:20] *** RoryHughes has quit IRC
[08:12:30] *** svycka has joined #angularjs
[08:12:43] *** Nijikokun has quit IRC
[08:13:08] *** josh-k has quit IRC
[08:14:24] *** dcherman2 has quit IRC
[08:14:52] *** the_game has joined #angularjs
[08:15:21] <the_game> hey..I am new
[08:15:26] <the_game> Anybody here to help?
[08:15:46] *** slainer68_ftw has quit IRC
[08:16:17] <BobbieBarker> maybe
[08:16:17] *** ngoyal has quit IRC
[08:16:19] <BobbieBarker> whats up
[08:16:30] <the_game> yeah...hi :)
[08:16:50] <BobbieBarker> monokrome i don't think so, but don't take my word for it
[08:16:55] <BobbieBarker> if it is anywhere it is on git
[08:17:03] *** MistahKurtz has quit IRC
[08:17:04] <the_game> actually I have started a python simplehttp server
[08:17:14] <BobbieBarker> k?
[08:17:21] <the_game> When i try to access it from another pc..using http.get it fails
[08:17:36] <BobbieBarker> that's more of a network thing than an angular thing dude check your server settings
[08:17:44] <BobbieBarker> make sure it is allowing connections etc
[08:17:57] <the_game> No...actually I am able to access it from browser
[08:18:04] <the_game> $http.get('http://192.168.1.16:8000') this fails
[08:18:18] <BobbieBarker> well you don't want to get on your webservices port
[08:18:37] *** danielpquinn has joined #angularjs
[08:18:48] <BobbieBarker> are you new to web dev?
[08:18:56] *** dbouwman has quit IRC
[08:18:56] *** moritzs has joined #angularjs
[08:18:59] <the_game> yeah...first time
[08:19:20] <the_game> can we chat privately? is it ok..allowed?
[08:19:23] <BobbieBarker> either use yoeman or just mess around on plunk i would probably just mess around on plunk
[08:19:26] <BobbieBarker> ya it's allowed
[08:20:15] *** cdaringe has joined #angularjs
[08:20:45] *** annlewis has joined #angularjs
[08:21:18] *** sigurding has quit IRC
[08:21:32] *** DuelShark has joined #angularjs
[08:22:25] *** annlewis_ has joined #angularjs
[08:22:25] *** annlewis has quit IRC
[08:22:57] *** danielpquinn has quit IRC
[08:24:14] *** krupnik has joined #angularjs
[08:25:40] *** Nijikokun has joined #angularjs
[08:26:06] *** Click66 has joined #angularjs
[08:27:03] *** annlewis_ has quit IRC
[08:27:56] *** wilmoore has quit IRC
[08:28:17] *** jacuqesdancona has joined #angularjs
[08:28:52] *** ingsoc has joined #angularjs
[08:29:01] *** pkayfire has quit IRC
[08:29:28] *** mguillec_ has quit IRC
[08:30:10] *** mguillech has joined #angularjs
[08:31:42] *** pkayfire_ has joined #angularjs
[08:31:55] *** krupnik has quit IRC
[08:32:30] *** illume has joined #angularjs
[08:32:45] *** mehlah has joined #angularjs
[08:33:35] *** tangorri has joined #angularjs
[08:34:12] *** slainer68_ftw has joined #angularjs
[08:34:31] *** ldgood has joined #angularjs
[08:34:41] *** toofan has joined #angularjs
[08:35:40] *** jshultz has quit IRC
[08:35:53] *** toofan has quit IRC
[08:36:50] *** dc_ has joined #angularjs
[08:37:33] *** mehlah has quit IRC
[08:38:17] *** superplussed has quit IRC
[08:38:26] *** superplussed has joined #angularjs
[08:39:18] *** zanea is now known as zanea|away
[08:40:10] *** mzehrer_ has joined #angularjs
[08:41:34] *** DerekPerkins_ has joined #angularjs
[08:41:56] *** DerekPerkins has quit IRC
[08:42:09] *** jdj_dk has joined #angularjs
[08:42:22] *** jdj_dk has joined #angularjs
[08:44:59] *** Milanito has quit IRC
[08:46:32] *** swapneshs has joined #angularjs
[08:46:48] *** mogaj has joined #angularjs
[08:47:01] *** kennbrodhagen has joined #angularjs
[08:47:20] *** okdamn has joined #angularjs
[08:47:24] *** HelperW has joined #angularjs
[08:47:39] <okdamn> hello
[08:47:52] *** GeertV has joined #angularjs
[08:48:24] <okdamn> i included the file and the module dependency but im using ionic framework do you know if its something wrong with https://github.com/mike360/angular-phonegap-filesystem ?
[08:48:28] <mogaj> Any pointers on how to to do form validation in angular-wizard form i.e a single with multiple steps .. only if elements in first step is valid shud go to next step ... how can i achieve that?
[08:48:47] *** KernelCurry has quit IRC
[08:49:09] *** mykz_ has joined #angularjs
[08:49:38] *** ulius has quit IRC
[08:49:47] *** dc_ has quit IRC
[08:50:57] *** TheAceOfHearts has joined #angularjs
[08:51:21] *** cdaringe_ has joined #angularjs
[08:51:35] *** kennbrodhagen has quit IRC
[08:51:35] *** cdaringe has quit IRC
[08:51:36] *** cdaringe_ is now known as cdaringe
[08:52:19] *** illume has quit IRC
[08:52:41] *** combat has joined #angularjs
[08:53:05] *** senayar has joined #angularjs
[08:53:23] *** ceephax has quit IRC
[08:53:47] <trippo> I'm experiencing some delays when users is navigating in my app (like 2 seconds on some devices) which isn't acceptable. Have tried to optimize my app but now I need to release it and was thinking I'll just implement a loading overlay to indicate that the user has done something.
[08:54:13] <trippo> The thing is, I'm just doing a $scope.$emit('appLoading') on the ng-click event, but still get like a second delay before that triggers as it should.
[08:54:23] *** partikus_ has joined #angularjs
[08:54:24] <trippo> Which makes me think that the issue isn't with the navigation in onsen ui, but something else.
[08:54:27] <trippo> Any ideas ?
[08:54:29] *** senayar has quit IRC
[08:54:39] *** peldan has joined #angularjs
[08:54:54] *** m1hael has joined #angularjs
[08:54:57] <trippo> I can accept that the view takes some time to render on old mobile devices - but not that it takes this long to just change the ng-show for a simple element.
[08:55:00] *** tarnus has quit IRC
[08:55:05] <swapneshs> Hello All
[08:55:22] <swapneshs> I am stuck with the issue in sortable
[08:55:22] *** partikus_ has quit IRC
[08:55:45] <swapneshs> sometimes it works but sometimes items get duplicated or removed
[08:55:47] <swapneshs> http://jsfiddle.net/k2cb2/10/
[08:55:54] *** peldan has quit IRC
[08:56:06] *** slainer68_ftw has quit IRC
[08:56:07] <swapneshs> I dont know what is breaking in the code.
[08:56:26] *** morenoh149 has joined #angularjs
[08:57:13] *** hannesvdvreken has joined #angularjs
[08:57:35] <trippo> swapneshs: Think you shouldn't use ng-model on the ul.
[08:58:03] <trippo> Well, the sortable works if you remove it.
[08:58:13] *** cdaringe has quit IRC
[08:58:15] *** peldan has joined #angularjs
[08:58:51] *** slainer68_ftw has joined #angularjs
[08:59:16] <swapneshs> @trippo remove what ng-model ?
[09:00:44] *** davek has quit IRC
[09:00:52] *** patrickc has joined #angularjs
[09:01:12] *** mehlah has joined #angularjs
[09:01:34] *** senayar has joined #angularjs
[09:02:00] *** ascarter has joined #angularjs
[09:02:04] *** pdillinger1 has quit IRC
[09:02:18] *** davek has joined #angularjs
[09:02:33] *** pkayfire_ has quit IRC
[09:03:07] *** pkayfire has joined #angularjs
[09:03:30] <trippo> swapneshs: You've got ng-model="list" on the <ul ui-sortable>
[09:03:48] *** nytrm has joined #angularjs
[09:04:58] *** patrickc has quit IRC
[09:05:04] *** pkayfire_ has joined #angularjs
[09:05:31] *** pkayfire has quit IRC
[09:05:34] *** Milanito has joined #angularjs
[09:05:42] <swapneshs> @trippo g8 man its working.yahooooooo :)
[09:05:56] <trippo> but it should work with the ng:model as well
[09:05:57] <trippo> hmm
[09:06:09] *** DerekPerkins_ has quit IRC
[09:06:24] *** amedia has joined #angularjs
[09:08:03] <swapneshs> @trippo I just started learning AngularJS but I am stuck with these things like I just faced
[09:08:05] *** bbankes has quit IRC
[09:08:13] <trippo> swapneshs: It looks like to based your jsfiddle on http://jsfiddle.net/g/hKYWr/ - and that fiddle is working.
[09:08:16] *** nfroidure_ has joined #angularjs
[09:08:20] *** bkuberek has joined #angularjs
[09:08:23] <swapneshs> how could I improve this part..means any good book or site to follow for improvement - In REAL world examples
[09:08:38] <trippo> Well, I'm rather new to angularjs as well.
[09:09:14] <TheAceOfHearts> swapneshs: there's no good public angularjs code, from what I've seen
[09:09:17] <TheAceOfHearts> like, actual applications
[09:09:17] <swapneshs> OMG :)
[09:09:22] <trippo> So I guess you have the choice to either read a book on the subject or google your way when you have the need.
[09:09:27] *** Natsu- has joined #angularjs
[09:09:35] *** slainer68_ftw has quit IRC
[09:09:40] *** rburns has quit IRC
[09:09:42] <TheAceOfHearts> I'm pretty happy with my app's architecture and even then I'd say it damn terrible
[09:09:52] *** Milanito has quit IRC
[09:09:59] <dreambo8563> I think the problem is .... you didn't include the angular.js into the project
[09:10:09] <trippo> I'm not sure I like the angularjs way for web apps - but for mobile hybrid apps I think it's great.
[09:10:28] <trippo> dreambo8563: He did, it's in the html.
[09:10:49] *** hychen has joined #angularjs
[09:10:50] <swapneshs> Yeah actually I am using certain libraries in my code so I need to settle with these external referances fiddle which you provided is using later than mine library versions
[09:11:13] <trippo> swapneshs: That might be the issue?
[09:11:20] <trippo> Why do you need to use that old versions?
[09:11:25] <dreambo8563> trippo: no refer to angular.js here <swapneshs> http://jsfiddle.net/k2cb2/10/
[09:11:40] <trippo> Yes it us.
[09:11:47] <trippo> Look in the external resources.
[09:11:49] *** rchavik has quit IRC
[09:12:02] <trippo> *Yes there is
[09:12:44] *** bkuberek has quit IRC
[09:13:02] <swapneshs> @dreambo8563 yeah trippo is right ..if this is the case then even the single thing wont be working :)
[09:13:05] *** rburns has joined #angularjs
[09:13:24] *** KamalKaur has joined #angularjs
[09:13:38] <trippo> swapneshs: Now you help me instead!
[09:13:56] <dreambo8563> right, that's my network issue
[09:14:04] *** davek has quit IRC
[09:14:17] *** mac_ified has quit IRC
[09:14:19] *** mennea has joined #angularjs
[09:14:26] *** mchammer has joined #angularjs
[09:14:50] *** mac_ified has joined #angularjs
[09:15:06] <swapneshs> lol
[09:15:11] *** DuelShark has quit IRC
[09:16:26] *** xavia has quit IRC
[09:17:38] *** Milanito has joined #angularjs
[09:17:41] <TheAceOfHearts> trippo: I love angular for web apps
[09:17:46] *** sneakertack has quit IRC
[09:17:46] <swapneshs> @trippo ohh..but after I removed the ng:model its not tracking the moves
[09:17:49] <okdamn> hey guys do you know some angular json file db (write, remove, delete, read) a json file
[09:17:50] <okdamn> ?
[09:17:56] <TheAceOfHearts> well, if it's an actual web app, as in… like an actual application.
[09:18:03] *** nytram has joined #angularjs
[09:18:24] <trippo> swapneshs: Yeah, that's the downside - which was the reason I mentioned it should work with ng-model.. sorry
[09:18:49] <trippo> TheAceOfHearts: Well yeah - but I'm thinking of SEO etc which isn't an issue for an application.
[09:18:53] *** cdaringe has joined #angularjs
[09:19:03] <okdamn> ok ill use multiple json files :D
[09:19:04] <TheAceOfHearts> yeah, for websites angular is a no-go
[09:19:23] *** danielpquinn has joined #angularjs
[09:19:28] <trippo> So yeah I guess I expressed myself badly - I was thinking of websites and not apps :)
[09:20:00] <TheAceOfHearts> yeah, I like my websites to be fast
[09:20:03] <TheAceOfHearts> so no-js
[09:20:08] *** nytrm has quit IRC
[09:20:12] *** TorchDragon has joined #angularjs
[09:20:13] <okdamn> TheAceOfHearts: no-js? :P
[09:20:15] <TheAceOfHearts> http://blog.cesarandreu.com/ like my blog :D
[09:20:20] <TheAceOfHearts> yeah, no javascript
[09:20:22] <trippo> I'm still new with angularjs and struggling alot with old mobile devices atm.
[09:20:25] *** joshbrw has joined #angularjs
[09:20:26] <okdamn> angular is js m8
[09:20:44] <TheAceOfHearts> okdamn: u wot m8
[09:20:46] <TheAceOfHearts> I know :P
[09:20:46] <trippo> okdamn: read again.
[09:20:54] <okdamn> TheAceOfHearts: lol :P
[09:20:58] *** KamalKaur has quit IRC
[09:20:58] <TheAceOfHearts> but like, for docs? for blogs?
[09:21:04] <TheAceOfHearts> javascript takes too long, it feels slow
[09:21:15] <okdamn> trippo: yeah i was joking ;)
[09:21:19] <trippo> oh
[09:21:20] <trippo> my bad
[09:21:24] <okdamn> np
[09:21:32] *** mac_ified has quit IRC
[09:21:52] <trippo> you didn't add the correct semantics to make it interpreted as a joke!
[09:22:17] <TheAceOfHearts> for example, open lodash's docs and angular's docs. it's way notable how long it takes to open angular's docs.
[09:22:27] <trippo> angular's docs is awful
[09:22:37] <trippo> Sometimes it takes about 30-60 sek to load.
[09:23:06] <okdamn> trippo: lol im sorry for that im not english
[09:23:08] <trippo> Might be an issue of high load, but should be dealt with either way.
[09:23:14] <trippo> okdamn: Now I was joking!
[09:23:23] *** cdaringe has quit IRC
[09:23:27] <trippo> English is my second language as well so.
[09:23:32] <okdamn> trippo: semantics were wrong im sorry
[09:23:34] *** danielpquinn has quit IRC
[09:23:38] <okdamn> lol ok i stop it
[09:24:04] <trippo> TheAceOfHearts: Have you got a lot of experience with angularjs ?
[09:24:24] <trippo> I've got an issue I can't wrap my head around - it shouldn't behave as it does but I can't really find out why.
[09:24:30] <okdamn> trippo: he created angular
[09:24:37] *** TorchDragon has quit IRC
[09:24:43] *** rchavik has joined #angularjs
[09:24:50] *** jrahmy has joined #angularjs
[09:24:59] <okdamn> ;)
[09:25:55] *** Milanito has quit IRC
[09:26:04] *** Milanito has joined #angularjs
[09:26:26] *** Ronyrun has joined #angularjs
[09:26:36] *** Daven_ has joined #angularjs
[09:27:03] *** klaut has joined #angularjs
[09:27:18] *** jayrobot has quit IRC
[09:27:33] *** Moon has joined #angularjs
[09:27:57] *** Moon is now known as Guest48923
[09:28:09] <TheAceOfHearts> lol, wat
[09:28:11] <TheAceOfHearts> no I didn't
[09:28:15] <TheAceOfHearts> haha
[09:28:22] <TheAceOfHearts> I have a little bit of experinece, though
[09:28:38] *** krupnik has joined #angularjs
[09:28:41] <trippo> You might be able to point me in the right direction though..
[09:28:55] <TheAceOfHearts> can I?
[09:29:00] *** ascarter has quit IRC
[09:29:05] *** krupnik has quit IRC
[09:29:13] *** altious has quit IRC
[09:29:22] *** altious has joined #angularjs
[09:29:32] <trippo> Well, I'm banging my head against the wall here so I'm grasping for every possible life lines there is :)
[09:30:09] <trippo> But the issue is that I'm experiencing lag/delay on clicks/taps in an app based on onsen ui (angularjs, topcoat, fastclick etc).
[09:30:17] <TheAceOfHearts> http://i.imgur.com/YEAEsXV.jpg trippo
[09:30:29] <trippo> I can accept that certain views takes time to render on older mobile devices
[09:30:31] <trippo> Haha lol
[09:30:39] *** mguillec_ has joined #angularjs
[09:30:50] *** The_HunterT has quit IRC
[09:31:14] <TheAceOfHearts> have you tried out
[09:31:15] <TheAceOfHearts> uhhh
[09:31:20] <TheAceOfHearts> hold on, let me try to remember the name
[09:31:23] *** kalusn has joined #angularjs
[09:31:37] <TheAceOfHearts> yeah, ionic
[09:31:38] <TheAceOfHearts> http://ionicframework.com/
[09:31:39] <TheAceOfHearts> this
[09:31:48] *** DrJae has joined #angularjs
[09:31:50] <TheAceOfHearts> it's supposed to be pretty smooth on recent phones
[09:31:56] <trippo> Yeah but it doesn't support android versions earlier than 4.1 and my client requires support for 2.3
[09:32:01] <okdamn> guys is it faster to read a local json or webstorage?
[09:32:04] <TheAceOfHearts> ah
[09:32:05] *** Jae has quit IRC
[09:32:08] *** tfennelly has joined #angularjs
[09:32:12] <okdamn> cause local json has no size limit
[09:32:13] <TheAceOfHearts> well, your life sounds miserable
[09:32:20] *** ZEH has joined #angularjs
[09:32:31] <trippo> It doesn't need to be smooth on older devices - the client accepts that the app works as shit on 2.3 devices.
[09:32:45] <trippo> But when it takes about 2-3 secondes for a click/tap on an iphone 4 something is wrong.
[09:32:46] <TheAceOfHearts> I didn't even think it'd run in android 2.3
[09:33:06] <TheAceOfHearts> web apps in general kinda suck on mobile :P, you have to write stuff well in order for it not to suck
[09:33:09] *** klaut has quit IRC
[09:33:14] <trippo> Well, the thing is that my current app is running just as good on android 2.3 (samsung galaxy young) as on a samsung galaxy nexus with android 4.3
[09:33:35] *** mguillech has quit IRC
[09:33:45] *** AndyFTP has joined #angularjs
[09:33:48] *** raul782 has left #angularjs
[09:33:56] <trippo> I've tried to optimise it as best as I can with bindonce, quick-ng-repeat and also using as few repeats as possible.
[09:34:09] <trippo> but the click issue is really weird.
[09:34:30] <trippo> As it is now I'm using angular-gestures and the hm-tap attribute on some elements.
[09:34:50] <trippo> That hm-tap triggers a function in the scope that navigates to a new view.
[09:35:09] *** encryptd_fractl has joined #angularjs
[09:35:17] <trippo> The first thing I do in that function is to call $scope.$emit('appLoading') which in turn sets a scope variable on the base controller.
[09:35:26] *** decached has joined #angularjs
[09:35:28] <trippo> Even that thing takes a long time to process.
[09:35:34] *** klaut has joined #angularjs
[09:35:43] *** pkayfire has joined #angularjs
[09:35:51] <TheAceOfHearts> I think there was an angularjs meetup talking about making this stuff fast on mobile
[09:35:55] *** decached has left #angularjs
[09:35:57] *** The_HunterT has joined #angularjs
[09:35:57] <TheAceOfHearts> but I don't do mobile
[09:36:05] <TheAceOfHearts> heck, I support IE10 and above and I still think it's too slow
[09:36:10] <trippo> View taking 2-3 seconds to compile/process on older devices - fine - it's not optimal but I guess it's ok. But not being able to show a loading overlay immediatly is just not ok.
[09:36:18] *** QuantumNinja has quit IRC
[09:36:31] <TheAceOfHearts> weren't older devices bound by like a 300ms wait or something?
[09:36:42] <trippo> well that's fixed by using fastclick
[09:36:52] *** altious has quit IRC
[09:37:02] <trippo> And angular-gestures might prevent that issue by using hm-tap (hammer.js tap event) instead of click.
[09:37:02] <TheAceOfHearts> ah
[09:37:07] *** LuxuryMode has quit IRC
[09:37:11] *** slainer68_ftw has joined #angularjs
[09:37:52] *** Milanito has quit IRC
[09:37:57] *** ZEH_ has joined #angularjs
[09:38:00] *** biastock has quit IRC
[09:38:30] <trippo> TheAceOfHearts: Thanks for trying to help though - I appreciate that.
[09:38:31] *** dc_ has joined #angularjs
[09:38:53] <TheAceOfHearts> so, yeah
[09:38:59] <TheAceOfHearts> there's an angularjs meetup video talking about this sorta thing
[09:39:08] *** pkayfire_ has quit IRC
[09:39:18] <trippo> hm ok, I'll google for it
[09:39:21] <TheAceOfHearts> https://www.youtube.com/watch?v=xOAG7Ab_Oz0
[09:39:23] <TheAceOfHearts> trippo:
[09:39:35] *** encryptd_fractl has quit IRC
[09:39:40] *** ZEH__ has joined #angularjs
[09:39:41] <trippo> ah thanks
[09:39:52] <trippo> 1,5h hehe...
[09:40:09] <TheAceOfHearts> well
[09:40:14] <TheAceOfHearts> la vie est drôle~
[09:40:31] <trippo> life is ... ? my french is rusty
[09:40:31] *** ZEH has quit IRC
[09:40:35] <TheAceOfHearts> funny
[09:40:42] <trippo> Even though I studied french for 5 years I think I know more spanish hehe.
[09:40:46] *** flentge has joined #angularjs
[09:41:08] <TheAceOfHearts> yo también sé español :P
[09:41:14] <trippo> I mean, if you know - Pantalones estrechos and El gato negro - you know everything, right ?
[09:41:27] *** guilbep has joined #angularjs
[09:41:36] *** jstroem has joined #angularjs
[09:41:43] <TheAceOfHearts> haha
[09:41:46] <Jorer> Isn't it enough to know how to order a beer?
[09:41:47] <okdamn> guys this chat looks like a pub
[09:41:50] <TheAceOfHearts> dónde está la biblioteca?~
[09:41:59] <trippo> TheAceOfHearts: hehe
[09:42:04] *** foo-bar- has joined #angularjs
[09:42:07] <okdamn> vamos pedrito
[09:42:09] <TheAceOfHearts> https://www.youtube.com/watch?v=j25tkxg5Vws
[09:42:10] <trippo> Jorer: Dos servecas por favor
[09:42:19] <trippo> spelling is crap though
[09:42:25] <okdamn> trippo: u spanish?
[09:42:29] <trippo> No, I'm swedish
[09:42:35] <okdamn> trippo: eheh sorry k
[09:42:37] *** ZEH_ has quit IRC
[09:42:47] <okdamn> trippo: swedish servers pings at 3ms
[09:42:59] <okdamn> u lucky guys
[09:43:01] *** mattwynne has joined #angularjs
[09:43:06] <okdamn> in italy i ping at 300ms
[09:43:11] <trippo> What servers?
[09:43:14] *** ZEH__ has quit IRC
[09:43:17]
[09:43:20] <okdamn> trippo: internet servers
[09:43:22] *** illume has joined #angularjs
[09:43:22] <trippo> It always depends on what connection you are on and the peering.
[09:43:23] <Stephen> La cucaracha, ya no puede caminar
[09:43:28] <trippo> Jorer: Såklart
[09:43:35] <trippo> okdamn: All of them?
[09:43:37] <trippo> haha..
[09:43:40] <okdamn> trippo: eheh sure but i mean you have good connections
[09:43:51] <Stephen> Porque no tiene
[09:43:58] *** mdedetrich has joined #angularjs
[09:43:58] <Stephen> Porque le falta
[09:44:04] *** mehlah has quit IRC
[09:44:12] <okdamn> guys if a mod enter the chat he slap all of us actually :D
[09:44:16] <okdamn> chat is degenerating
[09:44:19] <trippo> Well yeah, we used to be known for having great connections available for most people. But we're falling behind now.
[09:44:20] *** fbenoit has joined #angularjs
[09:44:26] *** foofoobar has joined #angularjs
[09:44:31] <okdamn> yep!
[09:44:47] <trippo> Well, better for some general chat than only seeing joins/parts..
[09:44:52] <okdamn> good infrstructures and services tho
[09:44:59] <okdamn> ahah sure
[09:45:05] <Stephen> Promisa por computar
[09:45:08] <swapneshs> going for lunch ..see u later friends
[09:45:08] *** pdillinger1 has joined #angularjs
[09:45:10] <trippo> Well yeah, I guess. I'm on a 8/0.8Mbit connection now - and It's shit.
[09:45:15] <okdamn> this is angular excitment
[09:45:17] <TheAceOfHearts> lunch? dude, it's 12:45AM.
[09:45:20] <trippo> swapneshs: Good luck on your issue - and have a nice lunch.
[09:45:21] *** jonasrosenlind has joined #angularjs
[09:45:33] <swapneshs> thnx
[09:45:34] <TheAceOfHearts> IN MURICAH. It's 12:45AM!
[09:45:36] *** swapneshs has quit IRC
[09:45:37] <okdamn> TheAceOfHearts: im on breakfast here 9:45
[09:45:38] *** Hounddog has joined #angularjs
[09:45:40] <okdamn> am
[09:45:43] <TheAceOfHearts> damn commies.
[09:45:47] <okdamn> :D
[09:45:59] <trippo> TheAceOfHearts: No, you're Puerto Rican
[09:46:09] <trippo> Hm
[09:46:10] <TheAceOfHearts> I live in California lol
[09:46:19] <okdamn> TheAceOfHearts: i dont remember your country .. california ?
[09:46:28] <okdamn> weren't you from India?
[09:46:47] *** foo-bar- has quit IRC
[09:46:50] <trippo> TheAceOfHearts: Hm, if I moved to US I would still consider myself being Swedish and not Murican though :)
[09:46:55] *** rchavik has quit IRC
[09:46:59] <TheAceOfHearts> I like in the greatest country in the world. U S A, U S A, U S A *pumps fists in the air* *pulls out shotgun and shoots into the air* *throws McDonalds burgers into the air in celebration*
[09:47:02] *** hannesvdvreken has quit IRC
[09:47:09] <trippo> TheAceOfHearts: But I would still expect to get an eagle and a big ass flag.
[09:47:10] <okdamn> send me a burrito please
[09:47:27] <trippo> All people in us has an eagle - right ?
[09:47:32] <TheAceOfHearts> okdamn: Puerto Rico is part of the US :P
[09:47:36] <TheAceOfHearts> I'm a US citizen~
[09:47:40] <trippo> Aah my bad
[09:47:49] <trippo> I thought Puerto Rico was a country :)
[09:47:58] <okdamn> TheAceOfHearts: puerto rico looks tropical and funny
[09:48:00] <trippo> Hell, my geography skills is lame.
[09:48:03] *** mac_ified has joined #angularjs
[09:48:25] *** sk87 has joined #angularjs
[09:48:47] <TheAceOfHearts> haha
[09:49:01] *** superplussed has quit IRC
[09:49:06] <okdamn> good chicas in puerto rico
[09:49:12] <TheAceOfHearts> not really
[09:49:28] <TheAceOfHearts> I'd say our average is low, but our standard deviation is high
[09:49:29] <trippo> TheAceOfHearts: Where in Cali do you live ?
[09:49:34] <okdamn> TheAceOfHearts: lol come on :P are u from San Juan?
[09:49:38] <TheAceOfHearts> trippo: San José, work in Mountain View
[09:49:44] <trippo> Ah ok
[09:49:46] *** hannesvdvreken has joined #angularjs
[09:49:48] <trippo> Not Palo Alto then hehe..
[09:49:53] *** DevAntoine has joined #angularjs
[09:50:00] <TheAceOfHearts> okdamn: I'm from Naranjito, but San Juan is really close :P, I went there pretty much every weekend to hang out
[09:50:07] *** mguillec_ has quit IRC
[09:50:08] <okdamn> coool
[09:50:14] <trippo> Hang out = smoke weed
[09:50:31] <TheAceOfHearts> haha, nah, I find weed sorta boring; nothing against, just like… eh, boring.
[09:50:32] <okdamn> TheAceOfHearts: tell me one scary or funny thing it happned in Puerto Rico that u saw/experienced
[09:50:32] *** jonasrosenlind has quit IRC
[09:50:41] <TheAceOfHearts> sure
[09:50:54] *** superplu_ has joined #angularjs
[09:51:08] *** marcghorayeb has joined #angularjs
[09:51:28] <okdamn> damn u in the Ocean right now so cool
[09:51:40] *** sacho has joined #angularjs
[09:51:50] *** Ir1sh has joined #angularjs
[09:52:41] <TheAceOfHearts> one time in San Juan, there was this bum, his name is Nelson. Everybody in Viejo San Juan recognized him. He was a huge dick. He'd ask for people to buy him food, and since people are nice, they'd buy him food. And then he'd be like: well, what about my drink? where's the soda/coffee? And if you ordered something he didn't like, he'd be like: I don't like that, why didn't you order X instead like I asked you? I got to see t
[09:52:59] *** mdedetrich has quit IRC
[09:53:01] *** jeffisabelle has quit IRC
[09:53:02] <sacho> hey
[09:53:16] <okdamn> TheAceOfHearts: lol
[09:53:22] *** asdofindia has quit IRC
[09:53:23] *** Dimlock has joined #angularjs
[09:53:41] *** Joulse has joined #angularjs
[09:53:51] <okdamn> wasnt Nelson Mandela uh?
[09:53:58] <m1hael> hi, anybody any xp with leaflet (i know it is the wrong channel but perhaps i am lucky) ?
[09:54:23] <TheAceOfHearts> what's that?
[09:54:36] <okdamn> m1hael: i have mac with coffee its the same?
[09:54:41] *** amedia has quit IRC
[09:54:53] <okdamn> leaflet isnt it motion gesture device?
[09:54:55] <TheAceOfHearts> okdamn: I have whiskey.
[09:55:02] *** flentge has quit IRC
[09:55:06] <okdamn> TheAceOfHearts: lol nice well im on breakfast you on lunch :P
[09:55:13] <m1hael> i mean http://leafletjs.com/
[09:55:21] <TheAceOfHearts> It's always time for whiskey, okdamn. Get your priorities straight, sir.
[09:55:23] <okdamn> TheAceOfHearts: you eat more fish or meat in Puerto?
[09:55:27] <okdamn> lol k
[09:55:30] <TheAceOfHearts> I hacked on a leap motion during JSConf. It was neat.
[09:55:32] <sacho> I have an autocomplete directive for an input element - I want to write a directive that basically configures this autocomplete directive, is there a way to decorate the directive only for a specific controller?
[09:55:34] *** superplu_ has quit IRC
[09:55:44] <TheAceOfHearts> okdamn: meat. Fuck cows.
[09:55:45] <sacho> to decorate a directive*
[09:56:03] <okdamn> TheAceOfHearts: lol k
[09:56:16] <TheAceOfHearts> sacho: you put that functionality inside of a service and you inject it in both the controller and directive.
[09:56:19] <sacho> I want to avoid having dummy dom elements that would be replaced so the input is stylable
[09:56:36] <okdamn> m1hael: what you need to test/know?
[09:56:53] <sacho> TheAceOfHearts, "that functionality" being?
[09:56:55] <bealtine> sacho not really you might be able to decorate for a specific module
[09:56:59] *** Ir1sh has quit IRC
[09:57:01] *** slainer68_ftw has quit IRC
[09:57:02] <teslan> folks, i strung this holy grail together and it works but i need your help in form of suggestions how to refactor it so its properly done - the angularjs best practices way ... http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[09:57:13] <sacho> bealtine, hmm, injectors are per-module?
[09:57:18] <TheAceOfHearts> sacho: you'd know, it's your module.
[09:57:22] <m1hael> okdamn: generally it is working (displaying my map). but when i add a layergroup it is not enabled by default. i always have to click on the map control to show the markers.
[09:57:29] <bealtine> they depend on .config
[09:57:29] *** mkulke has joined #angularjs
[09:57:32] *** mac_ified has quit IRC
[09:57:34] <sacho> TheAceOfHearts, I've no idea what you're talking about.
[09:57:43] <TheAceOfHearts> neither do I, so it's good we're both on the same page.
[09:57:51] <sacho> ...why waste my time then :|
[09:57:56] <TheAceOfHearts> well
[09:57:58] *** carknard has joined #angularjs
[09:58:03] <TheAceOfHearts> it is general advice for a general question
[09:58:06] <okdamn> m1hael: mmm dunno how to help you are you creating / adding own tiles?
[09:58:11] *** p3rsist has quit IRC
[09:58:16] <TheAceOfHearts> if you need to communicate between a directive and controller, you can do it through a service
[09:58:17] *** darjeeling has quit IRC
[09:58:20] <okdamn> i mean what is a layer group?
[09:58:23] <sacho> TheAceOfHearts, that's not what I need.
[09:58:23] *** slainer68_ftw has joined #angularjs
[09:58:40] *** mguillech has joined #angularjs
[09:58:41] <m1hael> okdamn: nope. using default tiles. i group my markers by layergroups
[09:58:47] *** foofoobar has quit IRC
[09:58:53] <bealtine> whats the use case?
[09:59:12] *** mguillech has quit IRC
[09:59:13] <okdamn> m1hael: mmm you tryed other map api? there was one so good it was called like mapbox !?
[09:59:15] <m1hael> okdamn: one layergroup for customers and one for sales prospects
[09:59:20] <okdamn> i dont remember but im sorry i cant help :/
[09:59:23] *** mewm has joined #angularjs
[09:59:29] *** mguillech has joined #angularjs
[09:59:31] <okdamn> m1hael: u mean multiple mpas?
[09:59:33] <okdamn> *maps
[09:59:36] <m1hael> mapbox is not for free. i wanted to first try something free
[09:59:41] *** roolo has joined #angularjs
[09:59:47] <okdamn> sacho: you need an input directive for what?
[09:59:52] <m1hael> okdamn: nope. one map and some markers
[10:00:06] <sacho> hmm, multiple directives on the same element don't have an order of execution, right
[10:00:08] <teslan> so, is anyone willing to help me ;)
[10:00:09] <okdamn> ah ok im sorry i dunno how to help seriously
[10:00:18] <m1hael> okdamn: generally it works. i just want to have the markers/layergroups enabled by default
[10:00:31] <okdamn> m1hael: there should be some option nope?
[10:00:34] *** lietu_ is now known as lietu
[10:00:35] *** Milanito has joined #angularjs
[10:00:38] <teslan> to fix up a bit this nifty layout http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[10:00:44] <m1hael> okdamn: thought so too but haven't found it yet
[10:00:55] <okdamn> eheh dunno sorry :P
[10:01:01] <m1hael> okdamn: thanx for the try
[10:01:10] <okdamn> m1hael: you're weolcome anytime
[10:01:18] <sacho> teslan, you could put those event bindings in their own directives, but it's not really that important
[10:01:32] <okdamn> teslan: whats the issue ?
[10:01:35] <sacho> teslan, other than that, you don't have that much code to refactor
[10:02:31] *** hannesvdvreken has quit IRC
[10:02:55] *** okdamn has quit IRC
[10:03:13] <teslan> okdamn sacho ... i am new to this but read that view should not be touched in controllers and yet that is where i set style, etc ... it just does not feel right
[10:03:27] *** mtsr has joined #angularjs
[10:03:59] <sacho> teslan, like I said, you can move that to a directive
[10:04:05] *** slainer68_ftw has quit IRC
[10:04:13] *** Sebastien-L has joined #angularjs
[10:04:36] <sacho> also, you're not modifying any styles in your controller
[10:04:39] *** Click66 has quit IRC
[10:04:42] <sacho> you're modifying some panels object
[10:05:26] <teslan> should that be in a service
[10:05:31] <sacho> that?
[10:05:39] <sacho> don't overengineer it dude
[10:05:41] <sacho> it's 4 lines of code
[10:05:53] <teslan> that=setting of style object
[10:06:47] *** dbouwman has joined #angularjs
[10:06:52] *** okdamn has joined #angularjs
[10:07:11] <okdamn> guys can someone tell me a practical usage case for ui-router?
[10:07:18] <okdamn> i mean what it helps to ?
[10:07:23] *** Milanito has quit IRC
[10:07:33] <sacho> uh, routing?
[10:07:37] <okdamn> yeah
[10:07:41] *** jeffisabelle has joined #angularjs
[10:07:42] <sacho> that's what it does
[10:07:52] <TheAceOfHearts> okdamn: real applications have multiple nested and complicated states.
[10:07:58] *** zeqli has joined #angularjs
[10:08:00] <okdamn> angular routeProvider does the same i mean what it helps in which cases it helps
[10:08:07] <TheAceOfHearts> not really
[10:08:10] <bealtine> its a better version (sort of) of ngrouting
[10:08:11] *** cpciv has quit IRC
[10:08:13] *** bphogan is now known as bphogan_afk
[10:08:13] <TheAceOfHearts> it lets you have a logged in state, fore example
[10:08:16] *** cpciv1 has joined #angularjs
[10:08:16] <TheAceOfHearts> for*
[10:08:24] <okdamn> ok good point thanks
[10:08:31] *** zeqli has left #angularjs
[10:08:34] <TheAceOfHearts> and then inside of that you can have other states
[10:08:40] <TheAceOfHearts> it's all states, all the way down!!~
[10:09:10] *** bkuberek has joined #angularjs
[10:09:11] *** treeface has joined #angularjs
[10:09:15] <okdamn> so for example if i want to add a view on multiple urls i can do that just adding new state?
[10:09:18] <okdamn> im wrong?
[10:09:27] <teslan> sacho: except in additon to "menu" there will be other desktops, so should i introduce partials and maybe use ui-router for switching between them ... then what about ui-view usage for named views ... should ng-class and class be set like that or from directives, since there is a pattern to them ... but when done, i will end up with multiple desktops of that
[10:09:28] <teslan> type of layout with all sorts of widgets in those quadrants ...
[10:09:32] <okdamn> to repeat the view on multiple urls i mean
[10:10:01] <sacho> okdamn, do you know what a state machine is?
[10:10:07] *** moritzschaefer has joined #angularjs
[10:10:11] <okdamn> sacho: nope
[10:10:37] <sacho> ever written a switch statement?
[10:10:42] <teslan> okdamn, see my desktop layout link above
[10:10:47] *** caitp has quit IRC
[10:11:09] *** Click66 has joined #angularjs
[10:11:10] *** Somatt_wrk has joined #angularjs
[10:11:10] <okdamn> sacho: nope
[10:11:11] <okdamn> :P
[10:11:23] *** dbouwman has quit IRC
[10:11:31] <sacho> okay, well, it may be a bit complicated to explain what ui-router does more than ngRoute
[10:11:49] <okdamn> i would like a practical example mm i cant get it at all
[10:11:55] <okdamn> i always use routeProvider
[10:12:05] <sacho> their docs have some examples
[10:12:26] *** ngoyal has joined #angularjs
[10:12:28] <teslan> hey guys, let me a noob try to explain why ui-ruter ;)
[10:12:36] *** superplussed has joined #angularjs
[10:13:04] *** moritzs has quit IRC
[10:13:18] *** treeface has quit IRC
[10:13:34] *** mtsr has quit IRC
[10:13:41] *** bkuberek has quit IRC
[10:14:06] *** pkayfire has quit IRC
[10:14:42] *** theolll has joined #angularjs
[10:14:57] <teslan> single view regular router is like writing a top down procedural program where everything is inline and where you have to switch this and include that and keep trak of it yourself ... ui-router allows you in a way to configure the different "states" (like eventualities) from different piceses and then be able to switch between then in a much more organized
[10:14:57] <teslan> way ... either way you can probably achieve the same thing but with lot more manula work without ui-router
[10:15:58] <okdamn> but how do i get / route?
[10:16:08] <okdamn> i tryed url : "/" without success
[10:16:26] *** squeakytoy has joined #angularjs
[10:16:51] *** mehlah has joined #angularjs
[10:16:53] *** ngoyal has quit IRC
[10:17:06] *** Sultan has joined #angularjs
[10:17:13] *** nemothekid has quit IRC
[10:17:46] <teslan> you go somewhere like this http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview and you get a simple starting example and you paint by numbers from there
[10:17:57] *** foofoobar has joined #angularjs
[10:18:24] *** Sultan has quit IRC
[10:18:47] *** AciD`` has joined #angularjs
[10:18:56] *** hannesvdvreken has joined #angularjs
[10:19:20] <sacho> oh duh,there's a priority for directives..
[10:19:22] * sacho facepalms
[10:20:08] *** danielpquinn has joined #angularjs
[10:20:33] <teslan> but in general terms, from what i (a noob) can tell angular view of the world is via "url" such as "/" but with ui-router you start thinkin in terms of states (like lego set combinations) and you can switch between them without having to change the url .. but for cases where urls need to change, you can assign urls to states .... it's along those lines
[10:20:36] *** annlewis has joined #angularjs
[10:20:57] *** zz_Brocken is now known as Brocken
[10:21:00] *** Stephen has quit IRC
[10:21:45] *** cpciv1 has quit IRC
[10:21:47] *** cpciv has joined #angularjs
[10:22:12] *** nemothekid has joined #angularjs
[10:22:17] <theolll> Does anyone know how to attach a res.send/res.json response to angular scope? so you can use it in a template?
[10:22:57] *** bweston has joined #angularjs
[10:23:04] *** caitp has joined #angularjs
[10:23:20] <sacho> res?
[10:23:21] *** Milanito has joined #angularjs
[10:23:23] <sacho> a resource?
[10:23:40] <theolll> nah like a string sent back from an expressjs route
[10:23:46] *** Willow has joined #angularjs
[10:23:59] <sacho> you would set it the same way as anything else
[10:24:04] <sacho> $scope.prop = value
[10:24:26] *** slainer68_ftw has joined #angularjs
[10:24:28] <sacho> generally angular handles missing data gracefully
[10:24:28] *** Daven_ has quit IRC
[10:24:47] *** mehlah has quit IRC
[10:24:49] <theolll> Ah ok I'll try that
[10:24:51] *** VeeWee has joined #angularjs
[10:24:55] *** danielpquinn has quit IRC
[10:24:55] *** storresi has joined #angularjs
[10:25:04] *** annlewis has quit IRC
[10:26:11] *** mehlah has joined #angularjs
[10:26:13] *** Milanito has quit IRC
[10:28:55] *** Somatt_wrk has quit IRC
[10:29:03] *** jrahmy has quit IRC
[10:29:16] *** Somatt_wrk has joined #angularjs
[10:29:51] *** Stephen has joined #angularjs
[10:29:56] *** slainer6_ has joined #angularjs
[10:32:42] *** slainer68_ftw has quit IRC
[10:33:16] *** Daven_ has joined #angularjs
[10:34:16] *** Milanito has joined #angularjs
[10:35:49] *** Novtopro has joined #angularjs
[10:36:06] *** mange has quit IRC
[10:36:32] *** Yahkob_ has quit IRC
[10:36:52] *** daslicht has joined #angularjs
[10:37:14] <tangorri> can I change a attrs.prop from a directive link function ?
[10:37:39] *** mtsr has joined #angularjs
[10:38:13] *** marr has joined #angularjs
[10:39:14] *** ineedarobot has joined #angularjs
[10:39:19] <storkme> I'm using the angular-ui-tree directive to show some tree content. I want to show a contextual 'add item' view under any tree node once the user clicks on a button on the node, so what I need is a directive that will let me define some content (html elements) and then remove/attach it to specific places in my document when required. Does something like this already exist?
[10:39:39] *** orion1111 has joined #angularjs
[10:40:01] *** KamalKaur has joined #angularjs
[10:40:08] *** dreambo8563 has quit IRC
[10:41:06] *** johnkevinmbasco has joined #angularjs
[10:42:56] *** RoryHughes has joined #angularjs
[10:43:25] *** Mer|inDMC is now known as MerlinDMC
[10:44:03] *** scmx has joined #angularjs
[10:44:18] *** sneakertack has joined #angularjs
[10:45:40] *** pepe has joined #angularjs
[10:45:53] <pepe> does angular needs node.js for work?
[10:46:23] *** TheAceOfHearts has quit IRC
[10:46:37] <sacho> no
[10:47:50] *** ably has joined #angularjs
[10:47:55] *** kennbrodhagen has joined #angularjs
[10:47:58] *** mtsr has quit IRC
[10:48:32] *** Willow has quit IRC
[10:49:16] *** vintik has quit IRC
[10:49:19] *** nemothekid has quit IRC
[10:50:25] *** joshontheweb has quit IRC
[10:50:35] *** stodan has joined #angularjs
[10:50:47] *** Touqeer has joined #angularjs
[10:50:53] <Touqeer> Hi
[10:50:56] <Touqeer> to all
[10:51:14] <Touqeer> I want to discuss some issue
[10:51:40] <Touqeer> anyone there to reply
[10:51:57] <tangorri> Touqeer : go
[10:52:17] *** kennbrodhagen has quit IRC
[10:52:47] *** slainer6_ is now known as slainer68
[10:52:54] *** altious has joined #angularjs
[10:53:12] *** mtsr has joined #angularjs
[10:53:24] <Touqeer> I am creating a custom directive of element type that takes the input attribut for collection and create the table for it automatically and decides about no. of rows and column at runtime
[10:54:41] *** scmx has quit IRC
[10:54:44] <Touqeer> I ahave just created this but then i want to apply the filter on all the columns separately by providing the textboxes separately on each coumn
[10:55:05] <Touqeer> Tabgorri have you got it
[10:55:59] <Touqeer> Tangorri there?
[10:56:06] *** lewis_ has joined #angularjs
[10:56:10] *** tarnus has joined #angularjs
[10:56:13] <lewis_> hi all
[10:56:17] *** Left_Turn has joined #angularjs
[10:56:17] *** lewis_ is now known as lewix
[10:56:26] <tangorri> Touqeer : working
[10:56:29] <tangorri> but ask
[10:56:57] <Touqeer> No there is an issue about filtering for each column
[10:57:06] <Touqeer> i didnt understand how to do it
[10:57:12] <Guest48923> Hi, Git question (I know I know) on ubuntu how can I get my public key
[10:57:32] <Touqeer> if you can help me I can show you the code
[10:58:03] <lewix> pay attention to line 142 to 15 of tagCont.html of this plnkr http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=preview . I'm trying to reset the form to the original state before it was modified. I tried setPristine in the controller unsuccessfully , im running out of idea
[10:58:43] <Touqeer> Tangorri there is my code on this link
[10:58:45] <Touqeer> http://stackoverflow.com/questions/24611236/applying-a-filter-on-each-column-of-the-dynamic-table-in-angularjs
[10:58:54] *** jawr has left #angularjs
[10:58:59] <Touqeer> Please help its urgent
[11:00:22] *** hannesvdvreken has quit IRC
[11:00:34] <tangorri> Touqeer : dont have to much time sorry, and I use linear only array, even for grid layout
[11:00:44] *** tarnus has quit IRC
[11:00:57] *** patrickc has joined #angularjs
[11:01:22] *** ngbot has joined #angularjs
[11:01:22] <ngbot> [angular.js] btford pushed 35 new commits to master: http://git.io/lR0yPA
[11:01:22] <ngbot> angular.js/master 59c0901 Brian Ford: docs($anchorScroll): update example to use a module
[11:01:22] <ngbot> angular.js/master e1f3c0c Brian Ford: docs($compile): update example to use a module
[11:01:22] <ngbot> angular.js/master b9faec0 Brian Ford: docs(formDirective): update example to use a module
[11:01:23] *** ngbot has left #angularjs
[11:01:26] <tangorri> move the filter logic in service
[11:02:36] *** hannesvdvreken has joined #angularjs
[11:03:07] *** Touqeer has quit IRC
[11:03:15] *** J330 has joined #angularjs
[11:03:17] *** vintik has joined #angularjs
[11:03:46] <J330> hey
[11:04:13] *** mtsr has quit IRC
[11:04:31] <lewix> apipkin: ?
[11:04:59] *** Touqeer has joined #angularjs
[11:05:03] *** johnkevinmbasco has quit IRC
[11:05:05] *** mehlah has quit IRC
[11:05:25] *** patrickc has quit IRC
[11:05:28] <Touqeer> Tangorri have u got my question
[11:05:34] <J330> is it bad practice in REST to have nested resources? say we have A and B. A to B is 1 to many. each instance of A has an array of B ids it is related to. should we then send n requests (where n is # of related B), or just return an array of objects instead of IDs?
[11:05:55] *** theolll has quit IRC
[11:06:10] <J330> (meaning i'd have to create instances in an interceptor or something)
[11:06:12] <tangorri> Touqeer : scope issue
[11:06:27] *** HypnotiX has quit IRC
[11:06:34] *** Touqeer_ has joined #angularjs
[11:06:38] *** okdamn has quit IRC
[11:07:10] *** Nijikoku_ has joined #angularjs
[11:07:31] *** dbouwman has joined #angularjs
[11:07:43] <Touqeer> Yes i think so coz scope returns the string and i have to pass the object as expression for filter have u seen the code on stackoverflow?
[11:07:59] *** peldan has quit IRC
[11:08:00] <Touqeer> Tangorri :Yes i think so coz scope returns the string and i have to pass the object as expression for filter have u seen the code on stackoverflow?
[11:08:33] *** Nijikokun has quit IRC
[11:08:35] *** peldan has joined #angularjs
[11:08:54] *** bengillies has joined #angularjs
[11:09:46] <tangorri> let me read again Touqeer
[11:09:51] *** bkuberek has joined #angularjs
[11:10:00] *** toin0u|away is now known as toin0u
[11:10:29] <Touqeer> Tangorri: May be there will be anyother solution to do it if so then help me to do it I have to do it urgent
[11:11:16] <Xteven> hi, is there an easy fix to getting bootstrap+angularjs working to render input elements of type radio as buttons? Bootstrap wraps the input in a label, but then clicking the label doesn't trigger the input element
[11:11:17] *** Joulse has quit IRC
[11:11:21] <tangorri> so you just want to pass argument to the filter ?
[11:11:36] *** bkuberek_ has joined #angularjs
[11:11:47] *** bkuberek has quit IRC
[11:11:57] *** dbouwman has quit IRC
[11:12:28] <tangorri> if so code the filter with all the arguments you need
[11:12:46] *** moritzs has joined #angularjs
[11:13:00] <Touqeer> Tangorri : yes an input text box which is repeated on everycolumn and we dont know about the field to filter we decide it on the text change that which field i want to filter
[11:13:03] <tangorri> Touqeer : "Here seems to be the problem because in then expression the first thing should be object but $scope returns object." ????
[11:13:48] *** balboah has joined #angularjs
[11:13:48] <Touqeer> Tangorri : $scope returns string
[11:13:51] <tangorri> ok
[11:14:05] <tangorri> .toString() then
[11:14:07] *** chrisbirk has quit IRC
[11:14:33] <Touqeer> tangorri : its already string
[11:14:46] <tangorri> cause It does a toSring ...
[11:15:00] *** Joulse has joined #angularjs
[11:15:05] *** avinicza has joined #angularjs
[11:15:09] *** pepe has quit IRC
[11:15:11] *** peldan_ has joined #angularjs
[11:15:17] <Touqeer> tangorri : if you want i can send you my complete code you can just see it
[11:15:30] <tangorri> Touqeer : I have work to do now really sorry
[11:15:32] *** moritzschaefer has quit IRC
[11:15:38] <tangorri> got my own issue
[11:15:44] *** hannesvdvreken has quit IRC
[11:16:00] *** peldan__ has joined #angularjs
[11:16:11] *** bkuberek_ has quit IRC
[11:16:18] <Touqeer> tangorri : what will .tostring() do ?
[11:16:36] <avinicza> Hi! can someone please help me with an angularjs directive issue? It would seem my link function never gets executed, though I have no compile function. Any suggestions on what might cause this?
[11:16:44] *** gauravsaini03 has quit IRC
[11:17:15] *** mdix has joined #angularjs
[11:17:26] <tangorri> Touqeer : toString is done behind the scene when needed ... if $scope gives you a string that's because you use expression that need a string
[11:17:29] *** jodey has joined #angularjs
[11:18:12] *** mtsr has joined #angularjs
[11:18:23] <tangorri> never done directive controller so I better say I can't help good luck, someone ?
[11:18:37] *** frankblizzard has joined #angularjs
[11:18:49] <Touqeer> ok
[11:18:52] <jodey> Hey guys. I have a custom directive (A) that has, inside it's markup, two directives (B & C), both requiring the controller of A. Transclude is true, but only either B or C works. Is it because transclude can only work once?
[11:18:57] *** peldan has quit IRC
[11:19:17] *** vintik has quit IRC
[11:19:24] *** Foxandxss has joined #angularjs
[11:19:30] *** Milanito has quit IRC
[11:19:32] *** peldan_ has quit IRC
[11:20:42] *** annlewis has joined #angularjs
[11:20:55] *** danielpquinn has joined #angularjs
[11:22:40] *** sneakertack has quit IRC
[11:22:56] *** hannesvdvreken has joined #angularjs
[11:22:56] <Touqeer_> any one there that have knwledge about how to apply the filter text box on each column of table?
[11:23:02] *** dariocravero has joined #angularjs
[11:23:10] *** ckboii89 has quit IRC
[11:23:20] *** Milanito has joined #angularjs
[11:23:53] *** josh-k has joined #angularjs
[11:24:07] *** Touqeer_ has quit IRC
[11:25:11] *** annlewis has quit IRC
[11:25:33] *** danielpquinn has quit IRC
[11:26:33] *** Touqeer has quit IRC
[11:26:43] *** jerev_away is now known as jerev
[11:26:53] *** davek has joined #angularjs
[11:26:59] *** KamalKaur has quit IRC
[11:27:35] *** robbht has joined #angularjs
[11:28:39] *** mtsr has quit IRC
[11:29:15] <robbht> Hi all! I want to create a directive that wraps a list with a "show more" button to limit the list to say 5 items and show a button to remove the limit. I want to transclude the contents of the directive to be used as a template for an item in the list. Is there a clean way of doing this and ensuring the transcluded item has the scope of the directive, not the same scope as outside the directive?
[11:30:45] *** Daven_ has quit IRC
[11:30:51] *** chevreuil has joined #angularjs
[11:30:56] *** ckboii89 has joined #angularjs
[11:31:00] *** amedia has joined #angularjs
[11:31:03] <Foxandxss> for that you need to use the transclude funcion on the link
[11:31:04] *** Daven_ has joined #angularjs
[11:31:06] <Foxandxss> function
[11:32:17] <robbht> I have looked into this before and never been able to grasp it.
[11:32:17] <robbht> C
[11:32:28] <robbht> can you recommend a decent guide or something?
[11:32:49] <Foxandxss> http://angular-tips.com/blog/2014/03/transclusion-and-scopes/
[11:33:04] *** Nijikoku_ has quit IRC
[11:33:19] <robbht> thanks
[11:33:23] *** hychen has quit IRC
[11:33:23] *** sigurding has joined #angularjs
[11:33:44] *** gauravsaini03 has joined #angularjs
[11:33:51] *** jonasrosenlind has joined #angularjs
[11:33:56] *** quantax- has quit IRC
[11:34:58] *** ckboii89 has quit IRC
[11:34:58] *** vinhbachsy has joined #angularjs
[11:35:38] *** mailo has joined #angularjs
[11:36:38] <gjvc> Error: [$injector:unpr] http://errors.angularjs.org/1.2.19/$injector/unpr?p0=ngTableParamsProvider%20%3C-%20ngTableParams
[11:36:45] <gjvc> does this look familar to anyone?
[11:36:51] *** mdix has quit IRC
[11:36:55] <gjvc> not sure what i need to do with ngTableParams ?
[11:37:57] *** roolo has quit IRC
[11:38:02] <Foxandxss> you're trying to inject something you can't
[11:38:16] *** intellix has joined #angularjs
[11:38:19] <Foxandxss> because it is not the right place, you don't have the .js or you didn't loaded it as a dependency
[11:38:19] <Foxandxss> brb
[11:38:24] *** jkremser has joined #angularjs
[11:38:29] *** jonasrosenlind has quit IRC
[11:38:41] *** Ronyrun has quit IRC
[11:38:42] *** jkremser has quit IRC
[11:38:42] *** jkremser has joined #angularjs
[11:39:05] *** pra has joined #angularjs
[11:39:25] <pra> Hi, I have a doubt on the guide to use views
[11:39:52] *** jodey has quit IRC
[11:40:07] *** sneakertack has joined #angularjs
[11:40:11] <pra> Can we use JSP views as angular JS views? The purpose of JSP being just to give HTML and does not have any business logic
[11:41:01] *** Drako_ has joined #angularjs
[11:41:04] <pra> And why JSP instead of static HTML ? - Thats because we have our own tag libs which will generate static HTML
[11:41:22] <pra> And Tag libs are just used for styling purpose.
[11:41:44] *** joshontheweb has joined #angularjs
[11:42:20] <Voyage> for people who have used both angular and ember, I have a question. For what type of projects is each most suited?
[11:42:39] <Voyage> whats the theory behind both
[11:42:45] *** foo-bar- has joined #angularjs
[11:43:05] <gjvc> Foxandxss, thank you. of course, i found it the moment i pasted the link here
[11:43:58] <gjvc> Foxandxss, my problem was that i've started to use bower to install all my dependencies and the ngTableParams was lingering on a controller where it was attempting to be injected
[11:44:05] *** SpearThruster has quit IRC
[11:44:23] *** Daven_ has quit IRC
[11:44:29] *** J330 has quit IRC
[11:44:39] *** Voidness has joined #angularjs
[11:45:11] *** SpearThruster has joined #angularjs
[11:45:31] *** swapneshs has joined #angularjs
[11:45:56] *** Milanito has quit IRC
[11:45:57] *** sk87 has quit IRC
[11:46:01] *** mdix has joined #angularjs
[11:46:04] *** swirlycheetah has joined #angularjs
[11:46:54] *** sk87 has joined #angularjs
[11:46:57] *** Milanito has joined #angularjs
[11:47:07] <swirlycheetah> feel like i'm being a bit stupid her: i've got a service with a function defined like this.funcName = function() {}; how do i reference that within another function in the service?
[11:47:15] *** foo-bar- has quit IRC
[11:47:20] <swirlycheetah> here*
[11:47:59] *** balboah has quit IRC
[11:48:17] *** juampy has joined #angularjs
[11:48:18] *** Daven_ has joined #angularjs
[11:48:34] *** Touqeer has joined #angularjs
[11:48:41] *** Milanito has quit IRC
[11:49:03] *** foofoobar has quit IRC
[11:49:05] *** slainer68 has quit IRC
[11:49:18] <Touqeer> Hey anyone here to help me about filters
[11:49:25] *** foofoobar has joined #angularjs
[11:49:59] <swirlycheetah> sure can try
[11:50:43] <Touqeer> I share a link with you there I have mentioned my problem if you can make it working I will be very thankful to you
[11:51:10] <Touqeer> swirlycheetah : http://stackoverflow.com/questions/24611236/applying-a-filter-on-each-column-of-the-dynamic-table-in-angularjs/24611462#24611462
[11:51:37] *** bengillies has quit IRC
[11:52:09] *** marcospgp has joined #angularjs
[11:53:10] <Touqeer> custom directive that takes the collection and generate table automatically and decide about the no of columns and tables at runtime and provide the facility to filter the data of column we want
[11:54:20] <Touqeer> swirlycheetah : u there have u seen the code. I got stuck in it about filtering if you know any possible solution then help me
[11:54:59] <swirlycheetah> just taking a look now
[11:55:12] <Touqeer> swirlycheetah : Ok thanks
[11:55:36] <Touqeer> apart from filtering is not working
[11:56:19] *** marcospgp has quit IRC
[11:56:22] *** slainer68_ftw has joined #angularjs
[11:58:02] *** Daven_ has quit IRC
[11:58:48] *** josh-k has quit IRC
[11:59:52] *** ckboii89 has joined #angularjs
[12:00:31] *** pra has quit IRC
[12:00:39] *** ipalaus has joined #angularjs
[12:00:52] *** nub is now known as callumacrae
[12:01:01] *** bengillies has joined #angularjs
[12:01:06] <swapneshs> Hi All
[12:01:32] <swapneshs> Currnetly i am stucked with an issue here http://plnkr.co/edit/gIqJs1PayYw40gvoyPP8?p=preview
[12:01:50] <swapneshs> Items are not logging in properly
[12:02:03] *** foofoobar has quit IRC
[12:02:24] <swapneshs> means if i replace 6->1 and in next step it is loggin in
[12:02:25] *** jdj_dk has quit IRC
[12:02:38] *** decached has joined #angularjs
[12:02:41] <swapneshs> Ref code is however working properly http://codepen.io/thgreasi/pen/KtsFH
[12:02:47] *** Guest48923 has quit IRC
[12:02:47] *** decached has left #angularjs
[12:02:56] <swapneshs> I really dont know what Iam doing wrong here
[12:02:56] <swirlycheetah> sorry Touqeer I'm not sure on the solution
[12:03:04] <swapneshs> any help plz :(
[12:03:09] *** lewix has quit IRC
[12:03:14] *** mykz_ has quit IRC
[12:03:21] <theahindle> swapneshs: Your log is always one step behind you mean?
[12:03:42] *** swirlycheetah has quit IRC
[12:03:43] *** feelfine has joined #angularjs
[12:03:56] *** ckboii89 has quit IRC
[12:03:57] *** pencilcheck has joined #angularjs
[12:03:58] *** TwinkleHood has joined #angularjs
[12:04:10] <theahindle> So it's getting the log before the update has taken place
[12:04:11] *** nytram has quit IRC
[12:04:25] <TwinkleHood> Hey, anyone know if it's possible to disable the content-type header when sending post-requests with restangular?
[12:04:25] *** mnngfltg has joined #angularjs
[12:05:21] <swapneshs> yeah If u replace 6 with 1 and then 2-3 then in the logging panel its showing 6->1 however at that step its need to show 2-3
[12:06:07] *** Touqeer has quit IRC
[12:06:09] *** mguillec_ has joined #angularjs
[12:07:00] <Voyage> for people who have used both angular and ember, I have a question. For "what type of projects" is each most suited? Whats the theme behind both?
[12:07:16] *** djam90 has joined #angularjs
[12:07:20] *** ngbot has joined #angularjs
[12:07:20] <ngbot> [angular.js] btford pushed 1 new commit to master: http://git.io/FXupYA
[12:07:20] <ngbot> angular.js/master b9fcf01 Brian Ford: feat(ngModel): bind to getters/setters...
[12:07:21] *** ngbot has left #angularjs
[12:07:32] *** Jon30 has quit IRC
[12:07:44] <theahindle> swapneshs: Your plunkr is basically just a clone of http://codepen.io/thgreasi/pen/KtsFH ? What's changed?
[12:08:14] *** dbouwman has joined #angularjs
[12:08:36] <djam90> I am building a used car search in Angular with search refine options and auto-updating results... However, we have 600 cars, and the page loads all cars on initial load. Which means, we need to load 600 high res images... This equates to many MBs of data and is very unusable... does anyone know how I could get around this?
[12:09:28] <djam90> I could do with deferring the loading of the latter images but the image URL is bundled in the car data with each car.. so not sure how I would defer specific ones loading?
[12:09:35] *** mguillech has quit IRC
[12:10:02] *** ldgood has quit IRC
[12:10:21] *** mguillech has joined #angularjs
[12:10:21] <swapneshs> yeah exactly...but drag items ans check they are not logging properly like the codepen
[12:10:28] *** mguillech has quit IRC
[12:10:32] *** lordkryss has joined #angularjs
[12:10:39] *** davek has quit IRC
[12:10:41] *** DevAntoine has quit IRC
[12:11:21] *** davek has joined #angularjs
[12:11:23] *** mguillech has joined #angularjs
[12:11:39] <theahindle> swapneshs: If you change the versions of jquery/jquery ui and angular to match what's in the codepen, it works
[12:11:51] <theahindle> swapneshs: http://plnkr.co/edit/amv8VJhS0eDmXmr8F5Zf?p=preview
[12:12:21] *** bkuberek has joined #angularjs
[12:12:34] *** dbouwman has quit IRC
[12:12:38] *** hannesvdvreken has quit IRC
[12:13:01] *** fixl has joined #angularjs
[12:13:07] *** Voidness has quit IRC
[12:13:17] *** ngoyal has joined #angularjs
[12:13:18] *** mguillec_ has quit IRC
[12:13:32] *** Left_Turn has quit IRC
[12:13:54] *** nicoonee has joined #angularjs
[12:14:06] *** mchapman has joined #angularjs
[12:14:07] <nicoonee> hi
[12:14:29] <nicoonee> stuck with makeing tree from array of objects
[12:14:35] <nicoonee> http://plnkr.co/edit/tw9MvB?p=preview
[12:14:53] <nicoonee> it need 3rd level storage
[12:15:00] <nicoonee> can anyone help?
[12:15:14] <nicoonee> its using lodash
[12:15:22] <nicoonee> fomr array operations
[12:15:29] *** beckyconning__ has joined #angularjs
[12:16:38] *** bkuberek has quit IRC
[12:17:59] *** ngoyal has quit IRC
[12:18:13] *** Bardosity has quit IRC
[12:18:31] *** kalusn has quit IRC
[12:18:42] *** kalusn has joined #angularjs
[12:20:39] *** annlewis has joined #angularjs
[12:21:02] *** Novtopro has quit IRC
[12:21:05] *** mailo has quit IRC
[12:21:23] *** seydoggy has joined #angularjs
[12:21:41] *** danielpquinn has joined #angularjs
[12:21:58] *** amb has joined #angularjs
[12:22:16] <djam90> has anyone done anything with lazy loading images?
[12:22:30] *** robbht has quit IRC
[12:22:38] *** Tomdarkness has joined #angularjs
[12:22:40] *** roolo has joined #angularjs
[12:22:58] *** kalusn has quit IRC
[12:23:58] <amb> does anyone use AngularJS and Spring Security with XSRF/CSRF ?
[12:24:03] *** kalusn has joined #angularjs
[12:24:30] *** motionman has quit IRC
[12:24:37] *** superplussed has quit IRC
[12:25:00] *** disorder20 has joined #angularjs
[12:25:04] *** annlewis has quit IRC
[12:25:27] *** superplussed has joined #angularjs
[12:25:42] <Foxandxss> uh, CSRF, so 00s :P
[12:26:07] <amb> Spring security still uses that name :D
[12:26:24] *** danielpquinn has quit IRC
[12:27:59] *** senayar has quit IRC
[12:28:31] *** prashant has joined #angularjs
[12:28:44] <swapneshs> @theahindle thx man for the info..got it however I am still interested to know how jQuery version impacting this thing?
[12:29:09] *** jkremser has quit IRC
[12:29:29] *** disorder20 has quit IRC
[12:29:52] *** Snugug has joined #angularjs
[12:30:15] *** Dwarf has joined #angularjs
[12:30:17] <nicoonee> https://stackoverflow.com/questions/24629440/how-to-make-3rd-level-in-tree-from-array-of-objects-with-lodash-and-angularjs
[12:30:35] <nicoonee> please help
[12:31:14] *** Dwarf has quit IRC
[12:32:20] *** senayar has joined #angularjs
[12:32:24] *** Dwarf has joined #angularjs
[12:32:55] *** jdj_dk has joined #angularjs
[12:33:57] *** davek has quit IRC
[12:35:16] *** ngbot has joined #angularjs
[12:35:16] <ngbot> [angular.js] btford pushed 1 new commit to master: http://git.io/hlSb-A
[12:35:16] <ngbot> angular.js/master 621f678 Domenico Matteo: docs(guide/i18n): fix typo
[12:35:16] *** ngbot has left #angularjs
[12:35:25] *** prashant has quit IRC
[12:36:09] *** hannesvdvreken has joined #angularjs
[12:37:20] *** Yahkob has joined #angularjs
[12:37:39] *** Milanito has joined #angularjs
[12:37:42] *** balboah has joined #angularjs
[12:37:42] *** jdj_dk has quit IRC
[12:39:08] *** joshbrw has quit IRC
[12:39:17] *** jdj_dk has joined #angularjs
[12:40:08] *** tomzx`afk is now known as tomzx
[12:40:23] *** marcghorayeb is now known as marcghorayeb|afk
[12:40:32] *** Left_Turn has joined #angularjs
[12:41:13] *** Milanito has quit IRC
[12:41:40] <G1eb> this seems rather sketchy: http://stackoverflow.com/questions/22224841/disabling-enter-with-angular-in-a-content-editable
[12:41:51] <G1eb> any other thoughts on how to prevent <br> in a contenteditable directive?
[12:42:03] *** Yahkob has quit IRC
[12:42:11] *** mguillec_ has joined #angularjs
[12:43:03] <nicoonee> Gleb: was trying to be as clear as possible
[12:43:09] *** Touqeer has joined #angularjs
[12:43:13] *** ably has quit IRC
[12:43:22] <Touqeer> Hi i anyone here i need help in some issue
[12:43:47] *** jdj_dk has quit IRC
[12:44:02] *** roolo has quit IRC
[12:44:15] <G1eb> nicoonee: different issue
[12:44:44] *** mguillech has quit IRC
[12:44:57] <nicoonee> Gleb: yup sorry
[12:45:38] *** mykz_ has joined #angularjs
[12:47:34] *** jdj_dk has joined #angularjs
[12:47:38] *** intellix has quit IRC
[12:47:46] *** Click66 has quit IRC
[12:47:48] <Touqeer> is anyone to help
[12:48:00] <senayar> ask and you will see
[12:48:48] *** kennbrodhagen has joined #angularjs
[12:50:08] *** ustunozgur has joined #angularjs
[12:50:32] *** Joulse has quit IRC
[12:53:07] *** kennbrodhagen has quit IRC
[12:53:14] *** jumpstracks has joined #angularjs
[12:53:43] *** ldgood has joined #angularjs
[12:54:10] *** Ir1sh has joined #angularjs
[12:54:37] *** amb has quit IRC
[12:54:50] *** kalusn has quit IRC
[12:55:05] *** Sebastien-L has quit IRC
[12:55:40] *** Dalsass_mobi has joined #angularjs
[12:55:41] *** slainer68_ftw has quit IRC
[12:56:09] *** Ir1sh_ has joined #angularjs
[12:56:32] *** Dalsass_mobi has quit IRC
[12:57:08] *** TorchDragon has joined #angularjs
[12:57:09] *** mdix has quit IRC
[12:59:04] *** Ir1sh has quit IRC
[12:59:18] <Touqeer> hey i want to discuss some issue
[12:59:34] <Touqeer> anyone here to help
[13:00:30] *** ckboii89 has joined #angularjs
[13:00:38] *** mtsr has joined #angularjs
[13:00:55] *** Dalsass_mobi has joined #angularjs
[13:01:13] *** Efrem has quit IRC
[13:01:30] *** TorchDragon has quit IRC
[13:01:50] *** roolo has joined #angularjs
[13:02:25] *** RedOrangeZ has joined #angularjs
[13:02:54] *** arek_at_work has joined #angularjs
[13:03:29] *** aviraldg has quit IRC
[13:03:40] *** vinhbachsy has quit IRC
[13:04:16] *** tfennelly has quit IRC
[13:04:44] *** ckboii89 has quit IRC
[13:04:47] *** noobee has joined #angularjs
[13:04:56] *** dariocravero has quit IRC
[13:05:17] <noobee> how can I do <ng-repeat="test in tests"> <input value=test> ?
[13:05:24] <noobee> is it possible?
[13:06:18] *** jumpstracks has quit IRC
[13:06:34] <Foxandxss> Touqeer: don't ask to ask
[13:06:36] <Foxandxss> just ask
[13:06:47] <Foxandxss> if anyone knows, will answer
[13:06:50] <Foxandxss> if not, bad luck
[13:06:50] <Dekans> noobee: {{test}}
[13:06:52] <Dekans> ?
[13:07:19] <noobee> no
[13:07:19] <noobee> Buildings Unexpected token {
[13:08:17] <noobee> angular is not that intuitive?
[13:08:51] <lite_> noobee: nothing in life worth having comes easy
[13:08:56] <Foxandxss> have you learnt it noobee ?
[13:09:03] <Foxandxss> it can't magically pop into your head
[13:09:04] *** dbouwman has joined #angularjs
[13:09:12] *** aoza has joined #angularjs
[13:09:25] <noobee> yes
[13:09:37] <noobee> so how can i do this
[13:09:47] *** seydoggy has quit IRC
[13:09:50] <noobee> using angular variable inside html tag?
[13:09:55] <noobee> it seems impossble?
[13:10:17] *** benjamingr has quit IRC
[13:10:49] *** Click66 has joined #angularjs
[13:10:55] *** seydoggy has joined #angularjs
[13:11:04] <noobee> oh!
[13:11:09] <noobee> i need to use "{{test}}"
[13:11:09] <Dekans> noobee: <input ng-model="test">
[13:11:16] <noobee> not {{test}}
[13:11:20] <Dekans> https://docs.angularjs.org/tutorial/step_04
[13:11:28] *** \du has joined #angularjs
[13:11:35] <lite_> noobee: http://plnkr.co/edit/OdKqU5VxFFn5Ic8yoqi2?p=preview
[13:11:53] <lite_> dont use value="{test}". use ng-model like in my example
[13:12:16] *** the_game has quit IRC
[13:13:02] *** cami1000 has quit IRC
[13:13:15] *** cami1000 has joined #angularjs
[13:13:25] *** dbouwman has quit IRC
[13:13:34] <noobee> ok
[13:13:37] <noobee> it works now
[13:13:38] <noobee> thanks
[13:14:06] *** Snugug has quit IRC
[13:14:42] <guilbep> hm.. I'm looking for already existing angular module for localStorage. I saw things that fall back to cookies and all. What do you use guys?
[13:14:42] <noobee> what about array for checkboxes?
[13:15:07] <noobee> (ng-model='someArray', ng-true-value='{{test}}')
[13:15:23] <noobee> i want someArray to have all the values of check checkboxes
[13:15:30] <lite_> noobee: are you even attempting to solve the issue yourself ?
[13:15:45] <noobee> yes
[13:15:48] <noobee> i tried many ways
[13:16:00] <noobee> like ng-model='someArray[$index]'
[13:16:07] <noobee> nothing works
[13:16:14] <lite_> im sure something works.
[13:16:48] <nicoonee> bump https://stackoverflow.com/questions/24629440/how-to-make-3rd-level-in-tree-from-array-of-objects-with-lodash-and-angularjs
[13:17:17] *** sneakertack has quit IRC
[13:18:20] *** aviraldg has joined #angularjs
[13:18:28] *** sneakertack has joined #angularjs
[13:19:47] *** jkremser has joined #angularjs
[13:19:47] *** jkremser has joined #angularjs
[13:20:13] <Touqeer> I have some issue there is a link i am creating a customdirective that creates table by taking the collection as input and generates table automatically and I want apply the filter on each column that will be created by the collection. i have crated the table and its working fine but i don;t know how to apply the filter on it
[13:20:30] <Touqeer> here is my link i have described the issue http://stackoverflow.com/questions/24611236/applying-a-filter-on-each-column-of-the-dynamic-table-in-angularjs/24611462?noredirect=1#comment38148750_24611462
[13:20:40] *** annlewis has joined #angularjs
[13:21:44] *** jonasrosenlind has joined #angularjs
[13:21:49] *** feelfine has quit IRC
[13:22:04] *** zumba_ad_ has quit IRC
[13:22:18] *** jstroem has quit IRC
[13:22:26] *** danielpquinn has joined #angularjs
[13:23:00] *** jstroem has joined #angularjs
[13:23:20] *** aoza has left #angularjs
[13:23:26] *** amedia has quit IRC
[13:23:34] *** Ir1sh_ has quit IRC
[13:23:45] *** sneakertack has quit IRC
[13:24:06] *** sneakertack has joined #angularjs
[13:24:17] *** MackTrash has joined #angularjs
[13:24:44] *** azizur has joined #angularjs
[13:24:52] *** jordandotdev has quit IRC
[13:25:07] *** annlewis has quit IRC
[13:25:53] *** marcghorayeb|afk has quit IRC
[13:26:27] *** jonasrosenlind has quit IRC
[13:27:04] *** danielpquinn has quit IRC
[13:27:16] *** Brocken is now known as zz_Brocken
[13:27:17] *** rbs has quit IRC
[13:27:18] *** one_zero has quit IRC
[13:27:23] *** jstroem has quit IRC
[13:27:23] *** bengillies has quit IRC
[13:27:29] *** jstroem has joined #angularjs
[13:27:36] *** mguillec_ has quit IRC
[13:27:50] *** ckboii89 has joined #angularjs
[13:28:29] *** rbs has joined #angularjs
[13:28:39] *** intellix has joined #angularjs
[13:29:12] *** MackTrash has quit IRC
[13:29:53] *** jstroem has quit IRC
[13:30:24] *** arizzo has joined #angularjs
[13:30:28] *** senayar has quit IRC
[13:31:12] *** mguillech has joined #angularjs
[13:31:35] *** seydoggy has quit IRC
[13:31:56] *** ckboii89 has quit IRC
[13:32:00] *** seydoggy has joined #angularjs
[13:33:59] *** Daven_ has joined #angularjs
[13:34:12] *** arizzo has quit IRC
[13:34:16] *** kalusn has joined #angularjs
[13:34:40] <Xteven> on-change doesn't work for input elements of type "file"
[13:34:44] <Xteven> is there a fix for that?
[13:34:46] *** arizzo has joined #angularjs
[13:34:46] *** noobee has quit IRC
[13:34:48] *** vinhbachsy has joined #angularjs
[13:34:59] <Xteven> preferably one that doesn't require me to use inline JavaScript like most examples seem to show
[13:35:23] *** drej has joined #angularjs
[13:35:48] *** mguillec_ has joined #angularjs
[13:36:26] <beckyconning__> if you replace a collection on the scope with a collection with equal elements does ng-repeat re-render or do ng-enter stuff with angular-animation?
[13:36:45] *** ngbot has joined #angularjs
[13:36:46] <ngbot> [angular.js] btford pushed 1 new commit to master: http://git.io/X6Go_g
[13:36:46] <ngbot> angular.js/master 5963b5c Brian Ford: docs(guide/$location): update note about getter/setters
[13:36:46] *** ngbot has left #angularjs
[13:37:17] *** mguillech has quit IRC
[13:37:18] *** arizzo_ has joined #angularjs
[13:37:27] *** zz_Brocken is now known as Brocken
[13:37:47] *** shtirlic has left #angularjs
[13:37:50] *** ineedarobot has quit IRC
[13:38:18] *** feelfine has joined #angularjs
[13:38:20] *** jumpstracks has joined #angularjs
[13:38:43] <caitp> do you ever accidentally choke on your coffee in the morning
[13:38:46] <caitp> and it really hurts
[13:38:58] *** arizzo has quit IRC
[13:39:00] *** mykz_ has quit IRC
[13:39:03] <bealtine> solution: dont get up
[13:39:14] <caitp> i didn't sleep anyway =(
[13:39:26] <bealtine> ahh that sucks
[13:39:43] *** Joulse has joined #angularjs
[13:39:52] <caitp> darned non-drowsy allergy pills
[13:40:17] <bealtine> pollen?
[13:40:51] *** mikehaas763 has quit IRC
[13:42:07] *** ineedarobot has joined #angularjs
[13:43:17] *** feelfine has quit IRC
[13:43:37] *** foo-bar- has joined #angularjs
[13:43:43] *** kalusn has quit IRC
[13:44:14] *** tfennelly has joined #angularjs
[13:44:17] *** kalusn has joined #angularjs
[13:45:33] <Foxandxss> javascript?
[13:45:46] *** hswolff has joined #angularjs
[13:46:14] *** sharondio has quit IRC
[13:46:44] *** juampy has quit IRC
[13:46:50] <zelrik> caitp, I take allergy pills everyday ..
[13:46:54] *** juampy has joined #angularjs
[13:47:02] *** arizzo_ has quit IRC
[13:47:37] *** arizzo has joined #angularjs
[13:47:56] *** foo-bar- has quit IRC
[13:47:58] <caitp> i'm sorry to hear that
[13:47:59] *** senayar has joined #angularjs
[13:48:11] *** moritzs has quit IRC
[13:48:31] *** motionman has joined #angularjs
[13:48:31] *** motionman has joined #angularjs
[13:48:33] <zelrik> I am allergic to dust mites
[13:48:52] <zelrik> I am screwed... forever
[13:49:06] *** lsiv568 has joined #angularjs
[13:49:26] <Foxandxss> allergies are a pain
[13:49:47] *** lordkryss has quit IRC
[13:49:49] *** sigurding has quit IRC
[13:50:14] *** tfennelly has quit IRC
[13:50:19] *** disorder20 has joined #angularjs
[13:50:54] *** tfennelly has joined #angularjs
[13:51:28] <storkme> what's the best way to add my own functionality to an existing directive - wrap it (create a new directive that contains the one I want to extend), decorate it, or create a new directive with the same name and different priority?
[13:51:38] *** arizzo has quit IRC
[13:52:24] *** foo-bar- has joined #angularjs
[13:53:22] *** quantax- has joined #angularjs
[13:53:22] *** mykz_ has joined #angularjs
[13:54:04] *** marcghorayeb has joined #angularjs
[13:54:11] *** asdofindia has joined #angularjs
[13:54:15] <zelrik> storkme, you can put directives in a directive's template
[13:54:15] <sacho> decoration is pretty intrusive
[13:54:34] <storkme> that's what I was thinking
[13:54:58] <zelrik> you can also fork that directive and create your own based on it :p
[13:55:03] *** krnflake has quit IRC
[13:55:51] *** ilndboi has joined #angularjs
[13:55:52] <sacho> I guess wrapping it is cleanest, otherwise you have to juggle priorities
[13:56:09] *** slainer68_ftw has joined #angularjs
[13:56:27] *** Efrem has joined #angularjs
[13:56:33] *** jdj_dk has quit IRC
[13:56:58] *** ppppaul has joined #angularjs
[13:57:34] *** krnflake has joined #angularjs
[13:57:42] *** jkremser has quit IRC
[13:57:48] <Foxandxss> storkme: all ends on the complexity of the directive and the complexity of your goal
[13:59:01] *** slainer6_ has joined #angularjs
[13:59:05] *** slainer68_ftw has quit IRC
[13:59:06] <nicoonee> bump https://stackoverflow.com/questions/24629440/how-to-make-3rd-level-in-tree-from-array-of-objects-with-lodash-and-angularjs
[13:59:18] *** Tomdarkness has quit IRC
[13:59:25] *** bayousoft has joined #angularjs
[14:00:07] *** Ajans has joined #angularjs
[14:00:08] *** ehynds has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:35] <Ajans> Hi there :)
[14:01:26] *** danizord has joined #angularjs
[14:01:34] *** fbenoit has quit IRC
[14:02:13] *** FunnyLookinHat has joined #angularjs
[14:02:31] *** wentz has joined #angularjs
[14:02:36] *** amedia has joined #angularjs
[14:03:11] *** wentz has quit IRC
[14:03:40] *** senayar has quit IRC
[14:04:22] *** Milanito has joined #angularjs
[14:04:31] *** fbenoit has joined #angularjs
[14:04:58] *** Guest10313 has joined #angularjs
[14:06:20] *** Sebastien-L has joined #angularjs
[14:07:15] *** anjumkaiser has joined #angularjs
[14:08:07] *** vbabiy has joined #angularjs
[14:08:11] *** hswolff has quit IRC
[14:08:18] *** dharrigan has joined #angularjs
[14:09:51] *** dbouwman has joined #angularjs
[14:09:54] *** marcghorayeb is now known as marcghorayeb|afk
[14:10:08] *** arizzo has joined #angularjs
[14:10:35] *** DrJae has quit IRC
[14:11:16] *** arizzo_ has joined #angularjs
[14:11:20] <Left_Turn> anyone familiar with deployd ?
[14:11:31] *** seydoggy has quit IRC
[14:11:43] <Xteven> I have a silly question
[14:11:51] <Xteven> when I do $scope.abc = 123
[14:12:05] *** seydoggy has joined #angularjs
[14:12:08] <Xteven> it should automatically update the page, no? (assuming I have {{abc}} somewhere)
[14:12:20] *** tommmied has joined #angularjs
[14:12:24] <beckyconning__> Xteven: it depends where you do that
[14:12:26] <Xteven> in my page, the change is not triggered
[14:12:31] <Foxandxss> Xteven: depend
[14:12:35] <Xteven> not until I change something else
[14:12:40] <beckyconning__> post the context in some code pls
[14:12:42] *** jkremser has joined #angularjs
[14:12:42] *** jkremser has joined #angularjs
[14:13:30] *** tarnus has quit IRC
[14:13:38] *** ustunozgur has quit IRC
[14:14:01] *** bkuberek has joined #angularjs
[14:14:04] *** tarnus has joined #angularjs
[14:14:08] <Xteven> uhm
[14:14:08] *** ngoyal has joined #angularjs
[14:14:11] *** dbouwman has quit IRC
[14:14:24] <Xteven> I can show you all the code I suppose
[14:14:25] *** arizzo has quit IRC
[14:14:43] <Xteven> beckyconning__: the site is at https://draco.overthewire.org/#/help/account
[14:14:46] *** kayloos has joined #angularjs
[14:14:53] <Xteven> if you click the register button, then select a file
[14:15:00] *** kalusn has quit IRC
[14:15:02] <Xteven> nothing much will change in the <pre></pre> at the bottom
[14:15:18] <Xteven> but if you then type something in the username field at the top, the rest of the page is suddenly updated
[14:15:34] *** arizzo_ has quit IRC
[14:15:36] *** annlewis has joined #angularjs
[14:15:40] <lite_> Xteven: your probably setting $scope.abc = 123 outside of an angular digest cycle(like in a jquery listener or a promise or similar)
[14:15:47] *** edzez_ has joined #angularjs
[14:15:49] <Xteven> lite_: yes
[14:16:10] *** jaitaiwan has joined #angularjs
[14:16:11] *** seydoggy has quit IRC
[14:16:13] <lite_> so abc won't update untill you a) do something "angularish" on your page or b) call $scope.$apply()
[14:16:17] <Xteven> I had to go through jQuery to use onChange on a file select input element
[14:16:28] <Xteven> lite_: aaaaah ok
[14:16:37] <Xteven> I was wondering if there was some "repaint" thing
[14:16:41] <Xteven> I'll try apply :) thx!
[14:16:44] <lite_> np
[14:17:13] *** jharbaugh has joined #angularjs
[14:17:21] <nicoonee> #documentcloud
[14:17:34] <Xteven> that works!
[14:17:35] *** ustunozgur has joined #angularjs
[14:17:35] *** orion1111 has quit IRC
[14:17:39] <Xteven> thx for the help :)
[14:17:57] <Foxandxss> Xteven: http://angular-tips.com/blog/2013/08/watch-how-the-apply-runs-a-digest/
[14:18:01] *** KamalKaur has joined #angularjs
[14:18:20] *** bkuberek has quit IRC
[14:18:20] *** edzez has quit IRC
[14:18:23] *** tarnus has quit IRC
[14:18:40] <Xteven> Foxandxss: interesting! thx
[14:19:01] *** ngoyal has quit IRC
[14:19:57] *** pskrz has joined #angularjs
[14:19:58] *** jkremser has quit IRC
[14:21:54] *** Natsu- has quit IRC
[14:22:04] *** Natsu- has joined #angularjs
[14:22:23] *** eperez has joined #angularjs
[14:22:53] *** eperez has joined #angularjs
[14:23:04] *** cmoneylulz has joined #angularjs
[14:23:06] *** danielpquinn has joined #angularjs
[14:24:01] *** gnar_matix has joined #angularjs
[14:24:55] *** Tomdarkness has joined #angularjs
[14:24:56] *** KamalKaur has left #angularjs
[14:25:47] *** eperez has quit IRC
[14:26:03] *** lordkryss has joined #angularjs
[14:26:16] *** jk-5 is now known as jk-5|gone
[14:26:42] *** ng-jhon has joined #angularjs
[14:27:02] *** Touqeer has quit IRC
[14:27:35] *** frankblizzard has quit IRC
[14:27:54] *** danielpquinn has quit IRC
[14:27:59] <ng-jhon> sharat
[14:28:18] *** pdillinger1 has quit IRC
[14:28:36] *** ckboii89 has joined #angularjs
[14:28:39] <ng-jhon> hi
[14:28:44] *** HypnotiX has joined #angularjs
[14:28:46] *** frankbli_ has joined #angularjs
[14:29:04] *** MacWinner has quit IRC
[14:29:54] *** drej has quit IRC
[14:30:07] *** jbourassa has joined #angularjs
[14:30:42] *** mccarrontr1ck has joined #angularjs
[14:30:49] *** Cavallari has joined #angularjs
[14:31:20] *** cbeacock has joined #angularjs
[14:31:24] *** Cavallari has quit IRC
[14:32:11] *** vbabiy has quit IRC
[14:32:18] *** sk87 has quit IRC
[14:32:38] *** ckboii89 has quit IRC
[14:33:11] *** jkremser has joined #angularjs
[14:33:11] *** jkremser has joined #angularjs
[14:33:51] *** dbouwman has joined #angularjs
[14:33:51] *** eperez has joined #angularjs
[14:34:37] *** sigurding has joined #angularjs
[14:35:12] *** anjumkaiser has quit IRC
[14:35:17] *** tell3r has joined #angularjs
[14:35:28] *** DevAntoine has joined #angularjs
[14:36:01] *** anjumkaiser has joined #angularjs
[14:36:01] *** Hazzard has joined #angularjs
[14:36:14] <Hazzard> hi
[14:36:35] *** Mahonar has joined #angularjs
[14:36:38] *** Qalqi has joined #angularjs
[14:36:38] *** jk-5|gone is now known as jk-5
[14:36:42] <nicoonee> anyone can give any hint ? http://stackoverflow.com/q/24629440/2228059
[14:37:55] *** marcghorayeb|afk is now known as marcghorayeb
[14:38:06] *** Yahkob has joined #angularjs
[14:38:39] <Hazzard> I can't manage to solve this :(
[14:38:40] <Hazzard> http://stackoverflow.com/questions/24578123/ngrepeat-and-isotope-cant-detect-if-images-are-loaded
[14:38:55] *** ldgood has quit IRC
[14:38:56] <Hazzard> anyone can give me a hand? I'm really desperate :(
[14:39:16] *** jae has joined #angularjs
[14:39:21] *** encryptd_fractl has joined #angularjs
[14:39:36] *** sk87 has joined #angularjs
[14:39:50] <tell3r> anyone knows wheter ngAnimate works with firefox os?
[14:41:17] *** OdinIncarnate has joined #angularjs
[14:42:05] *** jdj_dk has joined #angularjs
[14:42:08] <Foxandxss> Hazzard: if you end fixing it
[14:42:12] *** SpearThruster has quit IRC
[14:42:17] <Foxandxss> all those jquery have to go
[14:42:20] <Foxandxss> from the controller
[14:42:48] *** jbourassa has quit IRC
[14:43:01] *** ng-jhon has quit IRC
[14:43:11] *** Yahkob has quit IRC
[14:43:20] *** Stephen has quit IRC
[14:43:33] *** encryptd_fractl has quit IRC
[14:44:51] *** TorchDragon has joined #angularjs
[14:45:40] *** ldgood has joined #angularjs
[14:46:27] *** dariocravero has joined #angularjs
[14:46:27] *** jdj_dk has quit IRC
[14:46:30] *** davek has joined #angularjs
[14:47:49] *** nicoonee has quit IRC
[14:47:56] *** jae is now known as Jae
[14:48:01] *** apetro_ has joined #angularjs
[14:48:16] *** brian__ has joined #angularjs
[14:48:35] *** cmoneylulz has quit IRC
[14:48:58] *** ETBlue has quit IRC
[14:49:12] *** Hounddog has quit IRC
[14:49:41] *** kennbrodhagen has joined #angularjs
[14:49:54] <Foxandxss> alright, I acceded to review the "Mastering AngularJS Directives" book
[14:50:00] <Foxandxss> hope it is good
[14:51:23] *** storresi has quit IRC
[14:51:38] *** jpstone has joined #angularjs
[14:52:35] *** cmoneylulz has joined #angularjs
[14:52:37] *** Xion__ has quit IRC
[14:52:38] *** mac_ified has joined #angularjs
[14:52:58] <brian__> Hi Angular. I've been using AngularJS for a few weeks, including reading significant chunks in a couple different angular books. One thing that still isn't clear to me is, where is the "correct" or "best practice" place to store model data? It's data that I want to initialize with an AJAX call asap, like in MyModule.run( ...). And then I want to access different parts of the model with various controllers that may be loaded right awa
[14:52:59] <brian__> y, or perhaps later when various views are activated. I feel like I can use a service for this... to encapsulate the data and provide a few model manipulation methods. But in one of the books I have, I read "use services for anthing that doesn't fit into the "view", "model" or "controller" pattern, such as cross-cutting concerns. So I'm confused.
[14:54:04] *** bmac has joined #angularjs
[14:54:13] *** kennbrodhagen has quit IRC
[14:54:16] *** vbabiy has joined #angularjs
[14:54:36] <Foxandxss> Services are a good place
[14:54:54] *** swapneshs has quit IRC
[14:55:06] <brian__> Ok. I just wanted to make sure I wasn't missing some obvious, more correct place.
[14:55:18] <Zerot> brian__: which book said that?
[14:55:44] <brian__> Zerot: Pro AngularJS by Adam Freeman
[14:55:45] *** jgrubb has quit IRC
[14:55:48] *** walden|afk is now known as walden
[14:56:17] *** Milanito has quit IRC
[14:56:18] <brian__> The book is actually very good, lots of examples, slow introduction, lots of details in the later chapters.
[14:56:25] *** Click66_ has joined #angularjs
[14:56:34] <Zerot> hmm
[14:56:47] *** mac_ified has quit IRC
[14:56:55] *** Milanito has joined #angularjs
[14:57:02] *** mac_ified has joined #angularjs
[14:57:07] <Hazzard> I'm gonna try to remove all jquery
[14:57:12] <Hazzard> thanks for the tip
[14:57:17] *** darrin has joined #angularjs
[14:57:38] *** marcghorayeb is now known as marcghorayeb|afk
[14:58:00] <brian__> Zerot: exact quote is "Create a service when functionality doesn't fit into one of the other MVC building blocks and is a cross-cutting concern"
[14:58:02] *** mac_ified has quit IRC
[14:58:06] *** avinicza has quit IRC
[14:58:11] *** jpstone has quit IRC
[14:58:30] *** dc_ has quit IRC
[14:58:35] <Zerot> brian__: and is it specifically talking about angular services? or as a separate term?
[14:58:37] *** secondjeff has joined #angularjs
[14:58:57] <Zerot> brian__: I just looked at the ToC and part 3 is all about writing services for models and other things
[14:58:58] <Hazzard> thanks for your advice Foxandxss
[14:59:29] <Foxandxss> Hazzard: you welcome
[15:00:05] *** Click66 has quit IRC
[15:00:34] *** nicoonee has joined #angularjs
[15:00:41] <Hazzard> I've spent several hours with that and can't manage to fix it
[15:01:06] *** vinhbachsy has quit IRC
[15:01:33] <Foxandxss> I recommend you to learn angular first, then work with it
[15:01:42] <Foxandxss> both at the same time is complicated
[15:01:48] *** Click66__ has joined #angularjs
[15:02:28] *** Milanito has quit IRC
[15:02:42] *** Voyage has quit IRC
[15:03:08] *** secondjeff has quit IRC
[15:03:19] <tell3r> Foxandxss: on the other hand youll have lots of code to refactor ;)
[15:03:38] <Hazzard> that's true, now I'm in trouble because of that
[15:03:53] <Hazzard> and that is the code refactored :(
[15:04:03] <Hazzard> I still have lot of work to do
[15:04:06] <brian__> Zerot: yes it's specifically talking about angular services. Yeah, part 3 is about services in general. I haven't had the chance to read much of part 3 yet, but skimming it hasn't given me the impression that he recommends services for model data. Maybe I'm wrong though.
[15:04:53] <sal1191> just finished reading that book :P
[15:04:56] <sal1191> good one
[15:05:01] *** imehesz has joined #angularjs
[15:05:07] *** delerium_ has joined #angularjs
[15:05:14] *** cctom has joined #angularjs
[15:05:22] <Zerot> brian__: well, that quote might just mean that that you shouldn't create a service per model. But that you can still define the models in services
[15:05:55] <Zerot> brian__: but tbh, I find that quite an arbitrary restriction put upon the angular architecture
[15:05:59] *** Click66_ has quit IRC
[15:06:16] <Foxandxss> I am going to start the mastering angular directives pretty soon
[15:06:18] <Foxandxss> today maybe
[15:06:38] *** jedrek has joined #angularjs
[15:06:38] *** benjf has joined #angularjs
[15:06:39] <Xteven> I'm using $location to redirect a user after filling out a form (a bootstrap modal). Once the form submits, I close the modal, and then call $location.path(...) once the modal is hidden. The code executed, but the redirect doesn't happen... what am I doing wrong? :)
[15:06:41] <jedrek> hello
[15:06:56] <jedrek> is there a way to check the validity of an email address outside of using <input type="email">?
[15:07:20] *** Hazzard has quit IRC
[15:07:28] <sacho> you could find an implementation of the rfc.
[15:07:28] <Foxandxss> sure, run it through an email regex
[15:07:48] <nicoonee> check console if errors
[15:07:50] <jedrek> there's already an implementation in the framework, i'd rather just use that
[15:08:00] <Foxandxss> oh, that is true
[15:08:22] *** mfunkie has joined #angularjs
[15:08:26] *** Fishy has joined #angularjs
[15:08:27] *** marcghorayeb|afk is now known as marcghorayeb
[15:08:29] <nicoonee> Xteven: also check if path for location is correct
[15:08:30] *** sharondio has joined #angularjs
[15:08:38] <Zerot> jedrek: I don't think the implementation in angular is exposed
[15:08:39] <brian__> Zerot: To me it seems to make a lot of sense to put model data in a service, especially if I want to access it from various pieces of the app via DI. As long as I'm not missing some obvious better place to put model data, I'm comfortable using a service for it.
[15:08:46] <Xteven> nicoonee: I'll do that, thx
[15:08:59] <brian__> Zerot: Anyway thanks for your help
[15:09:04] <Zerot> brian__: it is the place where I put it :)
[15:09:04] *** seydoggy has joined #angularjs
[15:09:34] *** davek has quit IRC
[15:09:55] *** jonasrosenlind has joined #angularjs
[15:10:17] *** acconrad has joined #angularjs
[15:10:57] *** nihi|ist has joined #angularjs
[15:11:02] *** krawchyk has joined #angularjs
[15:11:23] *** teslanick has joined #angularjs
[15:11:23] *** brian__ has quit IRC
[15:11:31] *** teslanick has left #angularjs
[15:11:48] *** atomical has joined #angularjs
[15:11:56] <nicoonee> anyone can help with this http://stackoverflow.com/q/24629440/2228059 ?
[15:11:57] *** mguillec_ is now known as mguillech
[15:11:57] *** mguillech has joined #angularjs
[15:12:04] *** juanlas has joined #angularjs
[15:12:15] *** Milanito has joined #angularjs
[15:12:42] *** bkuberek has joined #angularjs
[15:13:26] *** cboden has joined #angularjs
[15:13:29] *** massi_syed has quit IRC
[15:14:02] *** varma_ has joined #angularjs
[15:14:10] *** pachu has joined #angularjs
[15:14:28] *** annlewis has quit IRC
[15:14:29] *** varma_ has quit IRC
[15:14:31] *** BillCriswell has joined #angularjs
[15:14:35] *** jonasrosenlind has quit IRC
[15:14:43] *** davek has joined #angularjs
[15:15:01] *** Milanito1 has joined #angularjs
[15:15:02] *** brianturgeon has joined #angularjs
[15:15:18] *** FIFOd[a] has joined #angularjs
[15:15:23] *** gauravsaini03 has quit IRC
[15:15:29] <pachu> what is $watch
[15:15:31] *** hswolff has joined #angularjs
[15:15:32] *** xaxisx has joined #angularjs
[15:15:57] *** t_p has joined #angularjs
[15:16:01] <lite_> pachu: http://bit.ly/1srV5oD
[15:16:18] *** Milanito has quit IRC
[15:16:21] *** livingstn has joined #angularjs
[15:16:36] *** pdillinger1 has joined #angularjs
[15:16:41] <pachu> how can i invoke a function whenever a event happend in directive sciope
[15:16:41] *** lordkryss has quit IRC
[15:16:51] <t_p> join #drupal-support
[15:16:55] <Foxandxss> nicoonee: try on javascript channels
[15:16:58] <Foxandxss> is more a javascript issue
[15:17:01] *** FIFOd[a] has quit IRC
[15:17:15] *** pachu has quit IRC
[15:17:17] *** FIFOd[a] has joined #angularjs
[15:17:24] *** ineedarobot has quit IRC
[15:17:37] *** bayousoft has quit IRC
[15:17:45] *** rxdazn has joined #angularjs
[15:18:09] *** Fishy has quit IRC
[15:18:19] <nicoonee> Foxandxss: know any active ?
[15:18:33] *** ineedarobot has joined #angularjs
[15:18:40] <Foxandxss> ##javascript
[15:18:43] <rxdazn> hi, is anyone familiar with generating documentation staticfiles from ngdoc comments using dgeni?
[15:18:45] *** Fishy has joined #angularjs
[15:18:53] *** lordkryss has joined #angularjs
[15:19:19] *** darrin_ has joined #angularjs
[15:19:21] *** apetro_ has quit IRC
[15:19:57] *** apetro_ has joined #angularjs
[15:20:15] *** ineedarobot has quit IRC
[15:20:22] *** senayar has joined #angularjs
[15:20:52] *** superplu_ has joined #angularjs
[15:21:07] <nicoonee> Foxandxss: will try there thx
[15:21:18] *** jbourassa has joined #angularjs
[15:21:25] *** marr has quit IRC
[15:21:26] *** peldan__ has quit IRC
[15:21:33] *** darrin has quit IRC
[15:21:37] *** pras has joined #angularjs
[15:22:02] *** peldan has joined #angularjs
[15:22:03] *** davek has quit IRC
[15:22:19] <pras> Hi, Sorry I got disconnected and not sure if i got any reply. My question is similar to the question mentioned here : http://stackoverflow.com/questions/24632947/angularjs-with-jsp but there is no reply to it :(
[15:22:22] <nicoonee> lite_: THUMBS UP! ;)
[15:22:30] *** drej has joined #angularjs
[15:22:34] <lite_> nicoonee: huh ?
[15:22:36] *** Hounddog has joined #angularjs
[15:22:51] *** drej has quit IRC
[15:22:51] *** rho has joined #angularjs
[15:22:56] <nicoonee> lite_:http://bit.ly/1srV5oD
[15:23:21] *** annlewis has joined #angularjs
[15:23:33] *** superplussed has quit IRC
[15:23:49] <pras> The JSP portion is just to generate static HTML via some custom taglibs and does not contain any logic on maintaining the states of model nor does have any controller.
[15:23:58] *** danielpquinn has joined #angularjs
[15:23:58] *** apetro_ has quit IRC
[15:23:59] *** tell3r has quit IRC
[15:24:01] *** ngoyal has joined #angularjs
[15:24:45] *** davek has joined #angularjs
[15:25:24] *** wizibe has quit IRC
[15:25:43] *** wizibe has joined #angularjs
[15:26:34] *** bendersalt has quit IRC
[15:26:44] *** morenoh149 has quit IRC
[15:27:01] *** ivaldi has joined #angularjs
[15:27:48] *** seydoggy has quit IRC
[15:28:24] *** seydoggy has joined #angularjs
[15:28:38] *** mvovchak has quit IRC
[15:28:39] *** danielpquinn has quit IRC
[15:28:39] *** ngoyal has quit IRC
[15:29:20] *** ckboii89 has joined #angularjs
[15:29:34] *** gnar_matix has quit IRC
[15:30:01] *** gnar_matix has joined #angularjs
[15:30:58] <Xteven> I believe calling $location.path() from an event handler isn't working that well
[15:30:58] *** ustunozgur has quit IRC
[15:31:15] *** mogaj has quit IRC
[15:31:39] *** Kiran___ has joined #angularjs
[15:31:47] <Kiran___> Hi
[15:32:08] <Kiran___> I need a immediate help with cors in angular js
[15:32:20] *** seydoggy has quit IRC
[15:32:20] *** mehlah has joined #angularjs
[15:32:22] *** dc_ has joined #angularjs
[15:32:33] *** Kiran___ has left #angularjs
[15:32:44] *** shinnya has joined #angularjs
[15:32:51] *** feelfine has joined #angularjs
[15:33:10] <ivaldi> hi - is there any reason why data bind with objects works different than data binding with simple types as "string" or "int"? example: if i try something like $scope.foo = 5; (or $scope.$parent.foo = 5) it doesn't work (from child scope - no update in html) but it works if i use $scope.foo['bar'] = 5; instead
[15:33:27] *** mac_ified has joined #angularjs
[15:33:32] *** ckboii89 has quit IRC
[15:33:36] *** ineedarobot has joined #angularjs
[15:33:55] <ivaldi> is there some way to force this (object) behavior for simple types?
[15:34:12] *** gnar_matix has quit IRC
[15:34:41] *** ustunozgur has joined #angularjs
[15:34:51] *** rxdazn has quit IRC
[15:34:56] *** jstroem has joined #angularjs
[15:35:05] *** fixl has quit IRC
[15:35:06] <Foxandxss> simple types suck
[15:35:13] <Foxandxss> because inheritance problems
[15:35:17] <Foxandxss> just what you're playing with
[15:35:22] <Foxandxss> always use objects to be safe
[15:35:36] *** seydoggy has joined #angularjs
[15:35:46] *** tarnus has joined #angularjs
[15:35:51] *** Milanito1 has quit IRC
[15:36:28] *** ilndboi has quit IRC
[15:36:52] *** pdillinger1 has quit IRC
[15:37:24] <Xteven> ah, got it
[15:37:29] <Xteven> again a case for apply()
[15:37:33] *** HelperW has quit IRC
[15:38:04] *** FunnyLookinHat has quit IRC
[15:38:36] *** Milanito has joined #angularjs
[15:38:40] *** gnar_matix has joined #angularjs
[15:38:51] *** klaut has quit IRC
[15:39:12] *** marcghorayeb is now known as marcghorayeb|afk
[15:39:38] *** klaut has joined #angularjs
[15:40:13] *** sharondio has quit IRC
[15:40:16] *** secondjeff has joined #angularjs
[15:40:46] *** peldan has quit IRC
[15:41:09] *** sigurding has quit IRC
[15:41:10] *** sharondio has joined #angularjs
[15:41:17] *** matiasow has joined #angularjs
[15:41:22] *** peldan has joined #angularjs
[15:41:50] *** bweston has quit IRC
[15:42:09] <ivaldi> funny thing is: it works if i try an (simplified) example @ http://plnkr.co/ ... hm, i guess i'll use objects then, thx
[15:42:09] *** marcghorayeb|afk is now known as marcghorayeb
[15:42:33] *** mcreager has joined #angularjs
[15:42:57] *** houli has joined #angularjs
[15:43:21] *** gnar_matix has quit IRC
[15:43:33] *** asdofindia has quit IRC
[15:43:54] *** gnar_matix has joined #angularjs
[15:44:04] *** peldan_ has joined #angularjs
[15:44:37] *** klaut_ has joined #angularjs
[15:45:02] *** ilndboi has joined #angularjs
[15:45:23] *** Asiajey has quit IRC
[15:45:37] *** brianturgeon has quit IRC
[15:45:59] *** corban has joined #angularjs
[15:46:04] *** moritzs has joined #angularjs
[15:46:26] *** arizzo has joined #angularjs
[15:46:40] *** ecantin has joined #angularjs
[15:47:01] *** niall_obrien has joined #angularjs
[15:47:05] *** mdm_ has joined #angularjs
[15:47:06] <mdm_> hi
[15:47:09] *** AnthonyC has joined #angularjs
[15:47:10] <mdm_> Having an issue with my cors setup. Everything I have read says 1.1.1 and later have removed the preflight but I am not seeing this, client is still sending the OPTIONS header. I am sure my server is not configured for this but since I am reading that preflight is removed I do not want to spend much time on it. I have tried almost every version since 1.1.1. I really do not know what to
[15:47:18] *** peldan has quit IRC
[15:47:33] *** FIFOd[a] has quit IRC
[15:47:56] *** gnar_matix has quit IRC
[15:47:56] *** klaut has quit IRC
[15:48:00] *** ciro_nunes has joined #angularjs
[15:48:06] *** mykz_ has quit IRC
[15:48:10] *** Willow has joined #angularjs
[15:48:14] *** sigurding has joined #angularjs
[15:48:19] *** mdm_ has quit IRC
[15:48:33] *** vinhbachsy has joined #angularjs
[15:48:46] *** Jon30 has joined #angularjs
[15:48:46] *** Jon30 has joined #angularjs
[15:49:06] *** ilndboi has quit IRC
[15:49:21] *** FIFOd[a] has joined #angularjs
[15:49:24] *** cmoneylulz has quit IRC
[15:49:46] *** Siecje has joined #angularjs
[15:49:58] *** shackleford has joined #angularjs
[15:50:42] *** cmoneylulz has joined #angularjs
[15:51:23] *** mykz_ has joined #angularjs
[15:51:24] *** shacklef_ has joined #angularjs
[15:51:24] *** shackleford has quit IRC
[15:51:59] *** k-dawg has joined #angularjs
[15:52:04] *** vinhbachsy has quit IRC
[15:52:30] *** vinhbachsy has joined #angularjs
[15:52:48] *** Ymesio has joined #angularjs
[15:53:09] *** lsiv568 has quit IRC
[15:53:22] <houli> is ng-click equivalent to an onclick?
[15:53:41] *** vinhbach_ has joined #angularjs
[15:53:50] <houli> i ask because Notification.requestPermission() requires user interaction
[15:54:15] *** naneau has joined #angularjs
[15:54:30] <sal1191> onlick takes a regular javascript expression
[15:54:49] <sal1191> ng-click has access to whatever is in $scope
[15:55:10] *** mmitchell has joined #angularjs
[15:55:17] *** anjumkaiser has quit IRC
[15:55:23] <houli> ok but it won't appear as user interaction in chrome because the function on $scope that i'm calling doesn't successfully show the notification permission request
[15:55:32] *** bkuberek has quit IRC
[15:56:38] *** vinhbachsy has quit IRC
[15:57:17] *** moritzs has quit IRC
[15:57:24] *** lsiv568 has joined #angularjs
[15:57:30] *** ojacobson has joined #angularjs
[15:57:38] <sal1191> how does requestPermission work?
[15:57:51] <sal1191> does it create a modal or something?
[15:58:00] <houli> depends on browser implementation
[15:58:11] *** lsiv568 has quit IRC
[15:58:12] <houli> but it's like geolocation/full screen requests
[15:58:48] <sal1191> in your controller, what about
[15:59:12] <sal1191> $scope.requestPermission = function () { Notification.requestPermission(); }
[15:59:24] <sal1191> then ng-click="requestPermission()"
[15:59:29] *** Milanito has quit IRC
[15:59:31] <houli> see that doesn't work in chrome
[15:59:35] *** Click66__ has quit IRC
[15:59:37] <sal1191> oh I see
[15:59:39] *** josh-k has joined #angularjs
[15:59:42] *** Qalqi has quit IRC
[15:59:44] *** mykz_ has quit IRC
[15:59:51] <houli> however onclick="Notification.requestPermission()" does
[15:59:55] *** Click66___ has joined #angularjs
[15:59:55] *** encryptd_fractl has joined #angularjs
[16:00:01] *** lite_ has quit IRC
[16:00:02] *** yoshokatana has joined #angularjs
[16:00:09] <houli> that's why i'm wondering how the click event is handled for ngClick
[16:00:30] *** ianpirro has joined #angularjs
[16:00:34] <houli> the function being called isn't aware that it was triggered in reponse to a click
[16:00:52] <sal1191> when you use ng-click youre sayin
[16:00:56] <sal1191> its not aware
[16:00:57] <sal1191> ?
[16:01:09] <houli> yes
[16:01:13] *** ASUChander has joined #angularjs
[16:01:14] *** jobney has joined #angularjs
[16:01:22] <sal1191> where is some code I can look at
[16:01:31] *** Ch4rAss` has quit IRC
[16:01:38] <houli> hmm give me one moment i'll put up a plinkr link
[16:01:41] <sal1191> kk
[16:01:43] *** sharondio has quit IRC
[16:02:04] <houli> plunker even :)
[16:02:21] *** msafi has joined #angularjs
[16:02:24] *** bayousoft has joined #angularjs
[16:02:43] *** lewix has joined #angularjs
[16:02:49] <lewix> hi all
[16:02:53] *** janp has joined #angularjs
[16:03:02] <sal1191> hello
[16:03:06] <janp> hi
[16:03:18] *** naneau has quit IRC
[16:03:22] *** shr3djs has quit IRC
[16:03:27] <msafi> Hey, anyone know, in Protractor, how I can select a child element of an element that I currently have?
[16:03:28] *** naneau has joined #angularjs
[16:03:32] *** jtimon has joined #angularjs
[16:03:51] <janp> hi guys. if I make a more complex directive with a template attached to it. where would I put the css stylings for it?
[16:03:52] *** Qalqi has joined #angularjs
[16:04:04] <lewix> foxansxss, wafflejock_ , apipkin : http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=preview line 144 to 153 of controller.js and line 23 of sccriptconainer (refresh is never called)
[16:04:04] *** josh-k has quit IRC
[16:04:17] <msafi> Like, element.all(by.repeater('app in filteredAppList')).get(1), how do I select the input field inside the element that was returned by get(1)?
[16:04:21] *** Qalqi has quit IRC
[16:04:33] *** t_p has quit IRC
[16:04:42] *** jdowdle has joined #angularjs
[16:04:48] <sal1191> you style it externally, templates are just markup
[16:04:56] <Foxandxss> lewix: that is huuuge
[16:05:06] <sal1191> add your classes to your main css file that you load on the page
[16:05:23] *** seydoggy has quit IRC
[16:05:24] <sal1191> then they can be used when your template gets rendered into view
[16:05:28] *** sharondio has joined #angularjs
[16:06:08] *** pkayfire has joined #angularjs
[16:06:11] *** Bade has joined #angularjs
[16:06:19] <janp> @sal1191 I thought about that, but what if it should be more widget like, so for example if used somewhere else I'd need the associated css
[16:06:39] <janp> somewhere else being another project
[16:06:45] <sal1191> ok so you mean you only want this css being loaded if the widget is rendered
[16:06:56] <janp> yeah
[16:07:06] <sal1191> it could make sense to make an inline <style> in the template
[16:07:16] <sal1191> instead of a <link>
[16:07:21] <sal1191> so you still only have one request to load the template
[16:07:24] <sal1191> and you css gets loaded then
[16:07:31] <sal1191> *your
[16:07:34] <janp> is this the typical way to go?
[16:07:42] <lewix> Foxandxss, thats why i specified the lines with comments
[16:07:43] *** peldan_ has quit IRC
[16:08:06] <sal1191> typically your css classes get loaded all at once
[16:08:07] *** ngbot has joined #angularjs
[16:08:07] <ngbot> [angular.js] mzgol pushed 2 new commits to master: http://git.io/8iGpGg
[16:08:07] <ngbot> angular.js/master 7d4f0d7 Michał Gołębiowski: chore(jshint): update grunt-contrib-jshint
[16:08:07] <ngbot> angular.js/master 36831ec Michał Gołębiowski: refactor(jshint): reduce duplication & test all JS files
[16:08:07] *** ngbot has left #angularjs
[16:08:25] <sal1191> because extra css classes dont cause any overhead or anything
[16:08:45] *** peldan_ has joined #angularjs
[16:08:53] <sal1191> but if youre trying to design widgets that are replacable and usable in separate projects
[16:09:03] *** bbankes has joined #angularjs
[16:09:10] *** tomzx is now known as tomzx`afk
[16:09:24] *** sigurding has quit IRC
[16:09:27] <janp> so you're saying while developing it for the current project I should just put the css in the main css file and only move it to the template file, if I need it later in a new project?
[16:09:29] <sal1191> then the most modular way to do it
[16:09:39] <sal1191> would just be to make a stylesheet for each widget yo umake
[16:09:49] <sal1191> and add them to your css if you need it
[16:10:03] *** sharondio has quit IRC
[16:10:16] *** FunnyLookinHat has joined #angularjs
[16:10:18] *** feelfine_ has joined #angularjs
[16:10:42] *** knownasilya has joined #angularjs
[16:10:42] <sal1191> id just keep the widget css in its own stylesheet
[16:10:54] <sal1191> and <link> it in your template
[16:10:56] *** eperez has quit IRC
[16:10:57] <sal1191> since you want to reuse them
[16:11:01] *** euskadi31 has quit IRC
[16:11:30] <janp> okay, I will.
[16:11:30] <janp> thanks
[16:11:34] *** dcadenas has quit IRC
[16:11:57] *** elrabin has joined #angularjs
[16:12:02] *** zonetti has quit IRC
[16:12:02] <sal1191> let me know how that goes for you
[16:12:11] *** steff has joined #angularjs
[16:12:22] *** Click66___ has quit IRC
[16:12:23] *** cpciv has left #angularjs
[16:12:48] <steff> Hi! Where would I put my utility functions, like sorting, etc. that I may want to use throughout the entire app?
[16:12:58] *** tschundeee has joined #angularjs
[16:13:06] *** zonetti has joined #angularjs
[16:13:08] <sal1191> you can define filters for sorting
[16:13:12] *** feelfine has quit IRC
[16:13:41] *** davek has quit IRC
[16:13:59] *** jeffszusz has joined #angularjs
[16:14:03] <steff> sal1191, yes, I just mean generally... so I can use them everywhere, maybe as a kind of package I can re-use on nodejs
[16:14:05] *** mpaarating has joined #angularjs
[16:14:16] *** davek has joined #angularjs
[16:14:27] <shacklef_> has anyone run into an "Uncaught object" error in angular, when prepared for staging using Jenkins?
[16:14:28] <sal1191> oh you just make a module
[16:14:35] <houli> sal1191: turns out it wasn't an angular issue, it was an optional parentheses in coffeescript problem
[16:14:43] <sal1191> angular.module("myModule", []).filter( etc etc)
[16:14:47] *** dcadenas has joined #angularjs
[16:14:55] <sal1191> then you can just <script src> that script
[16:14:56] *** ngoyal has joined #angularjs
[16:14:57] <sal1191> and do
[16:15:03] <sal1191> angular.module("myApp", ['myModule
[16:15:11] <sal1191> and boom you've got all your filters and such
[16:15:17] <sal1191> ahh CoffeeScript problems
[16:15:17] *** ngoyal has quit IRC
[16:15:31] <houli> sal1191: not using it by choice :(
[16:15:40] *** gnar_matix has joined #angularjs
[16:15:46] <arizzo> coffee script a pain to work with?
[16:15:53] <sal1191> it can be if youre not used to it
[16:15:54] <arizzo> i've been thinking about messing with it
[16:15:58] <steff> sal1191 - all right. and if i want to make this more generic, e.g. for use with node.js - just like underscore does it...?
[16:15:59] <Foxandxss> shacklef_: that is a chrome bug
[16:16:02] <Foxandxss> try with firefox
[16:16:03] <sal1191> its just another layer between you and the actual javascript doing work
[16:16:07] *** ngoyal has joined #angularjs
[16:16:18] <arizzo> in your opinion.. worth it?
[16:16:33] <sal1191> if you are working solo projects and you enjoy ruby-like syntax
[16:16:42] <arizzo> ah
[16:16:44] <sal1191> its not worth it if you are working with other developers
[16:17:20] <arizzo> thanks .. that come right on time, i was looking into it on sunday and you probably saved me a ton of time
[16:17:23] <shacklef_> Foxandxss, the error is also present in FF
[16:17:27] *** sigurding has joined #angularjs
[16:17:32] <arizzo> /s/come/came
[16:17:33] <sal1191> cause even if youve got guys like houli who can program javascript or coffeescript
[16:17:50] <sal1191> coffeescript gotchas still sneak up on you
[16:17:54] <Foxandxss> shacklef_: shouldnt
[16:17:57] <Foxandxss> is a chrome bug
[16:18:04] <arizzo> lol.. and its supposed to help with javascript gotchas
[16:18:10] *** sheperson has joined #angularjs
[16:18:11] <shacklef_> is there a work around, or just can't use the app in chrome?
[16:18:13] <sal1191> yes but it introduces its own
[16:18:25] *** mitvok has joined #angularjs
[16:18:31] <sal1191> ive written lots of stuff in coffeescript
[16:18:39] <lewix> Foxandxss, my goal is just to reset the form
[16:18:43] <sal1191> but some weird things about it
[16:18:50] <arizzo> yeah.. i like javascript.. so i think i'll stick with it.. however i gotta guy who is chomping at the bit to use typescript
[16:19:00] <sal1191> you cant make colored output in the terminal using the "\033[32m" syntax
[16:19:04] <sal1191> it'll raise an error
[16:19:06] <Foxandxss> lewix: sorry, can't look
[16:19:09] <sal1191> you have to use backquotes to inject literal javascript
[16:19:14] <sal1191> and you can't do function declarations
[16:19:17] *** kcccccc has joined #angularjs
[16:19:18] <sal1191> you can only assign functions to variables
[16:19:28] <lewix> Foxandxss, :(
[16:19:42] <sal1191> var f = function () { console.log('howdy'); }
[16:19:44] <sal1191> is equivalent to
[16:19:52] <sal1191> f = -> console.log 'howdy'
[16:19:55] <sal1191> but there is no equivalent to
[16:20:09] <sal1191> function f () { console.log('howdy'); }
[16:20:18] *** sigurding has quit IRC
[16:20:24] <sal1191> not that this is a problem
[16:20:33] <sal1191> unless you desperately need the function to be hoisted
[16:20:42] <arizzo> i see
[16:20:47] *** jshultz has joined #angularjs
[16:21:00] *** daryllxd has joined #angularjs
[16:21:24] <sal1191> you also get classes in coffeescript
[16:21:26] *** jaitaiwan has quit IRC
[16:21:33] <sal1191> javascript es6 will have classes so you wont need this
[16:21:38] *** digia|away is now known as digia
[16:21:53] <sal1191> but you can accomplish all this in javascript
[16:21:57] <daryllxd> hi all, how do you implement authentication /log in/log out when communicating with an API backend (in my case Rails)
[16:21:59] <sal1191> extending classes and whatnot
[16:22:11] <arizzo> sal1191: any idea when es6 will be usable
[16:22:11] *** davek has quit IRC
[16:22:11] *** chrisshattuck has joined #angularjs
[16:22:40] <sal1191> not sure
[16:22:47] *** davek has joined #angularjs
[16:23:27] <sal1191> wikipedia says December 2014
[16:23:34] <gnar_matix> i don't like the idea of compiling to js. i find it scary how much js a little bit of coffeescript compiles to.. I wouldn't feel comfortable writing coffeescript unless i knew exactly what each line was compiling to. (correct me if i'm hugely wrong here)
[16:23:44] *** moritzs has joined #angularjs
[16:24:07] <sal1191> haha the javascript that coffeescript compiles to is quite a sight at first glance
[16:24:07] *** cmoneylulz has quit IRC
[16:24:24] <sal1191> but once you see it do the same things its less surprising
[16:24:38] <sal1191> like if you use extends
[16:24:41] *** Joulse has quit IRC
[16:24:44] *** danielpquinn has joined #angularjs
[16:24:52] *** sharondio has joined #angularjs
[16:25:05] <sal1191> its pretty neat to look at the code though
[16:25:33] <sal1191> a lot of libraries organize their code into anonymous function casts
[16:25:40] *** Ronyrun has joined #angularjs
[16:25:45] <sal1191> like coffeescript does for you automatically
[16:25:48] *** Guest10313 has quit IRC
[16:25:59] *** Tidwell has joined #angularjs
[16:26:21] *** Willow has quit IRC
[16:26:25] *** dariocravero has quit IRC
[16:26:46] *** Dev__ has joined #angularjs
[16:26:54] *** Willow has joined #angularjs
[16:26:54] <Dev__> Hi
[16:27:24] *** Joulse has joined #angularjs
[16:27:24] *** ldgood has quit IRC
[16:27:30] *** cmoneylulz has joined #angularjs
[16:27:53] <Dev__> can I assign angularjs result to javascript variable?
[16:28:13] *** fedenunez has joined #angularjs
[16:28:27] <Dev__> <p>{{room.rom_tokbox_session_id}}</p> <script type="text/javascript" > var apiKey = "123456"; var sessionId = "2_MX40NjcyNjcxfn5GcmkgTWF5IDIzIDAwOjA4OjEwIFBEVCAyMDE0fjAuMjE0NzQ2MTh-fg"; </script>
[16:28:41] <Dev__> and I need like this..
[16:28:54] <Dev__> var sessionId = "{{room.rom_tokbox_session_id}}";
[16:29:09] *** danielpquinn has quit IRC
[16:29:17] *** DerekPerkins has joined #angularjs
[16:29:31] *** orion1111 has joined #angularjs
[16:29:41] *** dcherman has joined #angularjs
[16:29:45] *** arizzo has quit IRC
[16:29:58] *** DerekPerkins_ has joined #angularjs
[16:30:08] *** ckboii89 has joined #angularjs
[16:30:11] *** arizzo has joined #angularjs
[16:30:17] *** jdj_dk has joined #angularjs
[16:30:21] <shacklef_> Foxandxss, the "a //# sourceMappingURL, but already has one" bug, do you now of a fix for it? Currently the page is not showing up, it can only be read in the console.
[16:30:47] *** mven_ has quit IRC
[16:30:50] *** fbenoit has joined #angularjs
[16:30:51] *** krawchyk has quit IRC
[16:30:52] *** selvait90 has joined #angularjs
[16:30:56] *** okdamn has joined #angularjs
[16:30:58] *** Nizumzen has joined #angularjs
[16:31:03] <Dev__> hi
[16:31:04] *** ETBlue has joined #angularjs
[16:31:04] <okdamn> guy who used/using sass?
[16:31:12] *** Willow has quit IRC
[16:31:38] *** sigurding has joined #angularjs
[16:31:40] *** marr has joined #angularjs
[16:31:50] <okdamn> anyone who customized ionicframework css ?
[16:31:53] <okdamn> via sass
[16:33:07] *** sheperson has quit IRC
[16:33:56] *** Dev__ has left #angularjs
[16:34:04] *** xaxisx has quit IRC
[16:34:06] *** apetro_ has joined #angularjs
[16:34:11] *** DerekPerkins has quit IRC
[16:34:11] *** arizzo_ has joined #angularjs
[16:34:12] *** arizzo has quit IRC
[16:34:13] *** krawchyk has joined #angularjs
[16:34:16] *** KamalKaur has joined #angularjs
[16:34:20] *** momomomomo has joined #angularjs
[16:34:29] *** ckboii89 has quit IRC
[16:34:38] *** jdj_dk has quit IRC
[16:34:47] *** apetro_ has quit IRC
[16:35:37] *** momomomomo has quit IRC
[16:36:09] *** Daven_ has quit IRC
[16:36:39] <guilbep> okdamn liking ionic so far or not? Tried a bit monday. But moved on some other work. :D what your thoughts on it so far?
[16:36:44] *** jk-5 has quit IRC
[16:36:47] *** houli has left #angularjs
[16:37:07] *** drej has joined #angularjs
[16:37:11] *** DerekPerkins_ has quit IRC
[16:37:22] <okdamn> guilbep: cool and heavy, it uses a lot line of code but i like it, i mean its all ready to go
[16:37:41] *** KamalKaur has left #angularjs
[16:37:48] <guilbep> okdamn yeah same things. Did not think it was easy to hack the ui though.
[16:37:50] *** da_wunde1 has joined #angularjs
[16:37:52] <okdamn> just cant understand how to customize the css with sass , they say download the repo dack
[16:38:14] <guilbep> maybe do a gruntfile that recompile the sass file at each modification?
[16:38:17] <gnar_matix> So I'm working on an app that will be separate from its configuration. There will be different configuration files for different clients. In your opinion, is it better to have multiple deploys with their own configuration files, or a single deploy that serves the configuration file for the desired client? I'm leaning towards a single deploy for maintainability.
[16:38:24] <guilbep> or gulp/. they're using gulp in there no
[16:38:25] <guilbep> ?
[16:38:29] <okdamn> guilbep: eheh im new on grunt tho :D
[16:38:32] <okdamn> will be the same
[16:38:32] *** Tidwell has quit IRC
[16:38:42] <okdamn> yep gulp i dont know it
[16:38:50] *** Tidwell has joined #angularjs
[16:39:00] *** Yahkob has joined #angularjs
[16:39:01] <niall_obrien> Gulp is super easy
[16:39:08] *** CodeFriar has joined #angularjs
[16:39:13] <okdamn> https://github.com/driftyco/ionic/blob/master/gulpfile.js
[16:39:29] <okdamn> guilbep: do you think is there some sass compile task?
[16:39:35] <lewix> http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=preview line 248 to 259
[16:39:37] <aviraldg> waiting for yeoman generators :(
[16:39:49] <lewix> Foxandxss, ^^, apipkin
[16:39:51] <guilbep> gnar_matix I'll go with one deploy and js dynamicaly change the configuration file depending on the client login.. It could be hack easily though. Maybe not sure. Not a pro on those things.
[16:40:00] *** da_wunder has quit IRC
[16:40:07] <guilbep> okdamn do a gruntfile then.
[16:40:08] <lewix> http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=preview line 248 to 259 of the controller.js
[16:40:10] <niall_obrien> aviraldg: For what?
[16:40:22] <aviraldg> that use gulp instead of grunt
[16:40:35] <okdamn> guilbep: nah i mean i just need to understand what they say in the doc :P
[16:40:36] <guilbep> okdamn maybe :p look for similar things on grunt and move to gulp don't know
[16:40:42] <okdamn> lol k
[16:40:50] <gnar_matix> guilbep There is no login. All content is publicly available -- no private content.
[16:40:51] <guilbep> :p
[16:41:00] <guilbep> gnar_matix then one deployment
[16:41:25] *** Lunchy has joined #angularjs
[16:41:27] <okdamn> i mean guilbep https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCMQFjAA&url=http%3A%2F%2Fionicframework.com%2Ftutorials%2Fcustomizing-ionic-with-sass%2F&ei=CQO8U9r6KOiE4gS5soHwDA&usg=AFQjCNE7hCVOE7Rf45yyVdJgte56N9z4Lg&sig2=Sd8gHZKRSkXwW6OUq59sqQ&bvm=bv.70138588,d.bGE
[16:41:28] <guilbep> gnar_matix maybe you could do something simpler no?
[16:41:31] *** xavia has joined #angularjs
[16:41:31] <okdamn> do you think its clear how to do?
[16:41:41] <gnar_matix> guilbep what do you mean?
[16:42:18] *** chrisbirk has joined #angularjs
[16:42:20] *** lucasefe has joined #angularjs
[16:42:40] *** JosephSilber has joined #angularjs
[16:42:44] *** mennea has quit IRC
[16:42:54] *** enapupe has joined #angularjs
[16:43:07] <guilbep> okdamn what do you don't understand in there? Copy the src from ionic into your repo. And do a grunt/gulp job to recompile the scss files + your app.scss file at modification?
[16:43:30] <guilbep> I heard gulp was faster a compilation. don't know why.. maybe because no file involved.
[16:43:31] *** sneakertack has quit IRC
[16:43:45] <Lunchy> why do angularui bootstrap directives not use app.controller for their controllers and instead create global functions as controllers? (at least this is how all the examples I've seen are done.) I'd like to use app.controller() but it's not working for me
[16:43:47] *** Yahkob has quit IRC
[16:44:04] *** jk-5 has joined #angularjs
[16:44:06] *** Mr_Grim has quit IRC
[16:44:12] <okdamn> guilbep: why i need to download a new ionic repo? i already have the ionicframework repo that im using right now :/
[16:44:13] <guilbep> gnar_matix Not sure why you need configuration file for each clients. (you mean angular congiguartion>
[16:44:24] <okdamn> rly can't understand why a new repo inside the same repo at the end :D
[16:44:56] <elxa> okdamn: it says " if you haven't done so already", so if you have it you should not get it again :D
[16:44:58] <gnar_matix> guilbep Its app specific. The conf specifies API parameters, map locations, etc.
[16:44:59] <guilbep> okdamn yeah you're right it's all in www/lib/ionic/scss
[16:45:02] <sacho> Lunchy, huh? They don't
[16:45:17] <okdamn> elxa: but the repo its different i have no /release dir in my own
[16:45:22] <okdamn> sec i show you
[16:45:31] *** krawchyk has quit IRC
[16:45:52] *** stodan has quit IRC
[16:45:53] <sacho> Lunchy, also, "doesn't work" is not a program error
[16:45:54] <gnar_matix> can anyone actually explain waht the hype over gulp is? as far as I can see it accomplishes the same thing as grunt but all the hipsters of the world love it
[16:45:54] <guilbep> okdamn the doc is probably not up to date. I'm seeing all sass files into the www/lib/scss things. I generated the ionic things with their npm module
[16:46:04] <Lunchy> sacho: look at any js tab on this page: http://angular-ui.github.io/bootstrap/
[16:46:12] *** FIFOd[a] has quit IRC
[16:46:16] <Lunchy> var ModalDemoCtrl = function ($scope, $modal, $log) {
[16:46:17] *** momomomomo has joined #angularjs
[16:46:24] <guilbep> gnar_matix then how do you select what conf?
[16:46:26] *** peldan_ has quit IRC
[16:46:36] *** xaxisx has joined #angularjs
[16:46:42] <okdamn> guilbep: yep i mean its already in there but i cant get how to do uff anyway lets see i'll try using what they say putting the new repo as submodule
[16:46:43] <okdamn> :/
[16:46:44] <sacho> Lunchy, that's just the examples - none of the directives actually do this.
[16:46:46] *** krawchyk has joined #angularjs
[16:46:47] <gnar_matix> guilbep right now i'm serving it based on subdomain. kinda sketch
[16:46:56] *** edy has joined #angularjs
[16:46:57] <guilbep> gnar_matix think it's just because it's using node pipe and it looks cleaner.
[16:47:07] <sacho> Lunchy, so what error are you getting when you try to register controllers to a module?
[16:47:46] <gnar_matix> guilbep index.html does an $.get to 'config.json', then bootstraps angular, imports config.json to an angular constant
[16:48:09] *** thedodd has joined #angularjs
[16:48:13] <gnar_matix> guilbep `config/xxx/config.json` is served based on xxx.domain.com
[16:48:14] *** walden is now known as walden|brb
[16:48:56] <guilbep> gnar_matix neat, ok then yeah that's the way to do it. that's how I do it.
[16:49:05] <Lunchy> sacho: http://pastebin.com/3Wsmwrxi error: Error: [$injector:unpr] Unknown provider: NewSubJobDialogInstanceCtrlProvider <- NewSubJobDialogInstanceCtrl
[16:49:19] <guilbep> Maybe I'll do this in angular though not via the server conf.
[16:49:19] <Lunchy> (I've only been working with ng for several weeks so go easy on me :))
[16:49:27] *** Jae has quit IRC
[16:49:51] <sacho> why the longass names?
[16:49:56] <guilbep> I'd do this. Like some init script before bootstraping angular and select which conf in a big unique conf object base on the domain url
[16:50:00] <gnar_matix> guilbep is it possible without serving the app all the conf files
[16:50:00] *** jstroem has quit IRC
[16:50:02] <lewix> sacho, any idea to my issue?
[16:50:03] <sacho> and the window.app?
[16:50:17] *** kirfu has joined #angularjs
[16:50:24] <Lunchy> sacho: are those things going to cause my error?
[16:50:33] <guilbep> gnar_matix can you reformulate this sentence? sorry I didn't undertand it.
[16:50:35] *** kennbrodhagen has joined #angularjs
[16:50:40] *** jstroem has joined #angularjs
[16:50:45] <sacho> no
[16:50:49] <sacho> but they're silly things to do
[16:50:52] <gnar_matix> guilbep the only way i see that being possible is by loading all the conf files into the app
[16:51:20] <gnar_matix> guilbep then choosing which one to use based on url
[16:51:44] <sacho> Lunchy, I'm not getting the same error - http://plnkr.co/edit/E7G0WmlufZCVaCq1As6X?p=preview
[16:51:51] <gnar_matix> guilbep more config files = more load time, no benefit
[16:52:16] <guilbep> gnar_matix the $.get could be based on the domain url. then no server config needed.
[16:52:31] <Lunchy> I guess my main thought was that maybe the examples were written that way for a reason and that doing it how I want to just doesn't work for some reason
[16:52:32] <gnar_matix> right
[16:52:36] <Lunchy> but I'm guessing that's not the case
[16:52:40] <gnar_matix> guilbep right. that makes complete sense
[16:52:55] *** cmoneylulz has quit IRC
[16:53:09] *** FIFOd[a] has joined #angularjs
[16:53:11] <okdamn> guilbep: DONE! (sass www/lib/ionic/scss/ionic.scss:www/assets/css/index.css)
[16:53:38] <guilbep> gnar_matix I've got something similar on my thing. when using dev /pre-prod / prod environement to swithc between different internal related url I switched dynamicaly between dev /prod in the code itself.
[16:53:39] <okdamn> but this way i need to overried ionic variables probably i need something separated dunno
[16:53:48] <okdamn> at the end i can revert i use git who gives a f :D
[16:53:50] <okdamn> nope?
[16:54:18] *** raul782 has joined #angularjs
[16:54:24] <okdamn> lol
[16:54:29] <guilbep> okdamn :) nice! good job. overide them in your app.css maybe. change directly their variables.scss file no?
[16:54:39] <okdamn> thanks anyway guys sometimes its just a matter of trying things
[16:54:39] <guilbep> okdamn sure!
[16:54:59] <okdamn> guilbep: yeah changed in lib/ionic/scss :P
[16:55:02] *** carknard has quit IRC
[16:55:04] <sacho> Lunchy, oh, I see your error now
[16:55:10] <okdamn> then outputted to new dir but meh i dont like this way but it works lol
[16:55:11] *** kennbrodhagen has quit IRC
[16:55:11] <sacho> I kind of glanced over most of your code
[16:55:21] *** jstroem has quit IRC
[16:55:54] <guilbep> gnar_matix :) well sometimes you want to do things server side. because that's what we're used to do. But now.. It's wild!
[16:56:05] *** chrisbirk has quit IRC
[16:56:13] <sacho> hrm, or do I
[16:56:20] <sacho> oh wait
[16:56:21] <sacho> I'm a moron
[16:56:26] <sacho> Lunchy, you can't inject controllers
[16:56:31] *** tekky has joined #angularjs
[16:56:49] <sacho> Lunchy, you can pass a string instead of a function as the controller parameter, though
[16:56:58] <sacho> Lunchy, e.g. controller: 'NewSub...etc'
[16:56:59] <gnar_matix> guilbep yeah i'm having trouble convincing the guy i work with to do things the new way. he's a django guy and wants to do everything server-side.
[16:57:26] *** DerekPerkins has joined #angularjs
[16:57:46] *** krawek has joined #angularjs
[16:57:47] *** Milanito has joined #angularjs
[16:57:59] *** slimak has joined #angularjs
[16:58:14] *** jonasrosenlind has joined #angularjs
[16:58:22] <gnar_matix> guilbep browsers apps still aren't considered respectable applications haha
[16:58:25] *** sacho has quit IRC
[16:58:58] <lewix> whats the equivalent of $scope.form.$setPristine()
[16:58:58] *** jbourassa has quit IRC
[16:59:06] *** davek has quit IRC
[16:59:58] *** jbourassa has joined #angularjs
[17:00:15] *** Sgeo has quit IRC
[17:00:17] <lewix> it doesnt work on my case and i have the latest angular version
[17:00:19] <lewix> http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=preview line 248 to 259 of the controller.js
[17:00:27] *** HypnotiX has quit IRC
[17:00:34] *** ingshtrom has joined #angularjs
[17:00:42] *** jobney has quit IRC
[17:01:04] *** AlexAbraham has joined #angularjs
[17:01:06] *** davek has joined #angularjs
[17:01:07] *** jbourassa has quit IRC
[17:01:08] <AlexAbraham> hey
[17:01:13] *** lenswipe has joined #angularjs
[17:01:14] <AlexAbraham> anyone here use angular-strap?
[17:01:14] <AlexAbraham> https://github.com/mgcrea/angular-strap
[17:01:15] <Lunchy> sacho: thanks! do you think it'd be better to just move the instance controller inline inside the main controller?
[17:01:28] <lenswipe> hey guys, could someone tell me - is Angular an MVC framework or MVVM?
[17:01:29] <guilbep> gnar_matix :/ It's gonna change. but it takes time.
[17:01:42] <lenswipe> or is it design pattern agnostic and the design pattern is based on how you structure your app?
[17:01:47] *** quartzmo has joined #angularjs
[17:01:57] <guilbep> AlexAbraham I used to use it. and Then I switched to angular-ui
[17:02:08] *** aviraldg has quit IRC
[17:02:17] *** raju has joined #angularjs
[17:02:21] <raju> hiiiiiiiii guys
[17:02:34] <AlexAbraham> i will check out angular-ui
[17:02:35] <AlexAbraham> thanks :-)
[17:02:39] *** ericduran is now known as ericduran|mtg
[17:02:43] *** krawek has quit IRC
[17:02:49] <raju> i am facing big problem
[17:02:53] <raju> with angular js
[17:02:57] <raju> i need help.....
[17:03:02] *** ustunozgur has quit IRC
[17:03:05] <elxa> raju: ask
[17:03:09] *** jonasrosenlind has quit IRC
[17:03:16] *** krawek has joined #angularjs
[17:03:21] <raju> i am displaying ....... table data in one page getting data from service
[17:03:26] <AlexAbraham> guilbep
[17:03:28] <raju> it has some id
[17:03:37] *** gil has joined #angularjs
[17:03:38] <AlexAbraham> can angular-ui create a popup dialig with html inside it?
[17:03:47] <raju> i need to use same id after 3 pages ..
[17:04:12] <guilbep> AlexAbraham :) don't know.
[17:04:12] *** markalanevans has quit IRC
[17:04:22] <raju> i need to send same id
[17:04:30] *** pmurias has joined #angularjs
[17:04:32] *** mykz_ has joined #angularjs
[17:05:10] <guilbep> raju use sessionStorage/cookies/localStorage ? or maybe don't reload controller each time? keep the id in the route ? lot of way to do it.
[17:05:15] <pmurias> what's the correct way to bind to a part of the url (I want to bind $location.search)
[17:05:17] *** samhermes has joined #angularjs
[17:05:19] <pmurias> ?
[17:05:36] *** T_Hunt has joined #angularjs
[17:05:44] <guilbep> pmurias do a $scope.$location = $location ? and then bind $location.search ? not sure
[17:05:47] <raju> i need to use direcive
[17:05:53] <raju> may be ng-data like that
[17:06:04] <raju> do u have any syntax
[17:06:38] <pmurias> guilbep: I found what I want in the docs
[17:06:41] *** djam90 has quit IRC
[17:06:42] *** alinou has joined #angularjs
[17:06:43] *** walden|brb is now known as walden
[17:06:53] *** sonofdirt has joined #angularjs
[17:07:10] *** bphogan_afk is now known as bphogan
[17:07:12] *** eperez has joined #angularjs
[17:07:35] *** raju has quit IRC
[17:08:20] *** mchammer has quit IRC
[17:08:23] *** davek has quit IRC
[17:08:55] <guilbep> lenswipe more mvvm http://en.wikipedia.org/wiki/Model_View_ViewModel I guess
[17:09:08] *** amedia has quit IRC
[17:09:30] *** amedia has joined #angularjs
[17:09:38] *** Hounddog has quit IRC
[17:10:11] *** caitp has quit IRC
[17:10:25] *** davek has joined #angularjs
[17:10:38] *** amedia has quit IRC
[17:11:15] *** T_Hunt has quit IRC
[17:11:38] *** sharondio has quit IRC
[17:11:40] *** bkuberek has joined #angularjs
[17:12:29] *** squeakytoy has quit IRC
[17:12:36] *** arizzo_ has quit IRC
[17:13:04] *** arizzo has joined #angularjs
[17:13:34] *** ktiedt has joined #angularjs
[17:13:34] *** tekky has quit IRC
[17:13:46] *** ktiedt is now known as tekky
[17:15:06] *** hannesvdvreken has quit IRC
[17:16:38] *** jk-5 has quit IRC
[17:16:39] <chexxor> I'm using kendo ui grid - anyone know how to show the filter icon in the column headers?
[17:17:00] *** amedia has joined #angularjs
[17:17:02] <chexxor> most of the demos on their site have it, but my grid doesn't :-<
[17:17:33] *** subnl2 has joined #angularjs
[17:17:39] <trippo> Prob the wrong channel for that question chexxor
[17:17:53] <chexxor> yeah :-/ but I don't know where else to ask
[17:17:59] *** arizzo has quit IRC
[17:18:18] *** AlexAbraham has quit IRC
[17:18:33] *** mac_ified has quit IRC
[17:18:42] *** mykz_ has quit IRC
[17:18:47] *** mcreager has quit IRC
[17:18:47] <m1hael> hi, i don't know where to put that code. i want to put the focus on an input field on start up. any idea?
[17:19:01] <gnar_matix> How can I do a redirect before a view is rendered if some query string params aren't provided? I'm using ui.router. I'm running the redirect at the beginning of the controller, but the view is rendered for a split second before the redirect occurs.
[17:19:02] <m1hael> or rather after startup
[17:19:32] *** andrew9183 has quit IRC
[17:19:48] *** aviraldg has joined #angularjs
[17:19:50] *** cthrax has joined #angularjs
[17:19:56] <gnar_matix> m1hael beginning of the controller
[17:20:03] <da_wunde1> m1hael: angular.element('yourinput').focus(); ?
[17:21:00] *** lsiv568 has joined #angularjs
[17:21:10] *** jstroem has joined #angularjs
[17:21:13] *** bsmithgall has joined #angularjs
[17:21:19] *** Tidwell has quit IRC
[17:21:23] *** arizzo has joined #angularjs
[17:21:28] <m1hael> gnar_matix: ok. thanx
[17:22:07] *** jk-5 has joined #angularjs
[17:22:52] *** tomzx`afk is now known as tomzx
[17:22:55] *** HypnotiX has joined #angularjs
[17:23:25] *** nemothekid has joined #angularjs
[17:23:30] *** tomzx is now known as tomzx`afk
[17:23:34] *** obert has quit IRC
[17:23:43] *** patrickarlt has joined #angularjs
[17:23:44] *** ericduran|mtg is now known as ericduran
[17:24:28] *** tomzx`afk is now known as tomzx
[17:24:30] *** aviraldg has quit IRC
[17:24:32] *** lsiv568 has quit IRC
[17:25:12] *** moritzs has quit IRC
[17:25:30] *** danielpquinn has joined #angularjs
[17:25:47] *** jstroem has quit IRC
[17:26:22] *** eperez has quit IRC
[17:26:23] *** danielpquinn has quit IRC
[17:26:30] *** danielpquinn has joined #angularjs
[17:26:49] *** sonofdirt has quit IRC
[17:27:14] <lenswipe> hey guys
[17:27:18] *** Tidwell has joined #angularjs
[17:27:22] <lenswipe> wonder if someone could help me out with something
[17:27:28] *** mindlace has joined #angularjs
[17:27:35] <lenswipe> I'm working on this code: https://gist.github.com/73f478df9e2e9bdc06e8and _user is overwriting user
[17:27:40] *** apetro_ has joined #angularjs
[17:27:40] <lenswipe> should I be using .extend?
[17:27:42] *** DerekPerkins has quit IRC
[17:27:52] *** subnl2 has quit IRC
[17:28:03] *** mac_ified has joined #angularjs
[17:28:12] *** sonofdirt has joined #angularjs
[17:28:31] *** toin0u is now known as toin0u|away
[17:28:47] *** daryllxd_ has joined #angularjs
[17:30:36] *** apetro_ has quit IRC
[17:30:53] *** ckboii89 has joined #angularjs
[17:31:03] *** kirfu has quit IRC
[17:31:47] *** bbankes has quit IRC
[17:31:48] *** brianturgeon has joined #angularjs
[17:31:52] *** Milanito1 has joined #angularjs
[17:31:59] *** dbouwman has quit IRC
[17:32:04] *** daryllxd has quit IRC
[17:32:43] *** mrtoadsc has joined #angularjs
[17:33:08] *** Milanito has quit IRC
[17:33:32] *** jacuqesdancona has quit IRC
[17:33:35] *** mewm has quit IRC
[17:34:07] *** jacuqesdancona has joined #angularjs
[17:34:11] *** KimP has quit IRC
[17:34:34] *** ustunozgur has joined #angularjs
[17:34:57] *** sharondio has joined #angularjs
[17:35:08] *** ckboii89 has quit IRC
[17:35:24] *** wxo has joined #angularjs
[17:36:02] *** jacuqesdancona_ has joined #angularjs
[17:36:16] *** caitp has joined #angularjs
[17:36:34] *** richardbaker has joined #angularjs
[17:36:35] *** m1hael has left #angularjs
[17:36:57] *** slecuyer has joined #angularjs
[17:37:53] *** seydoggy has joined #angularjs
[17:38:20] *** brian__ has joined #angularjs
[17:38:29] *** jacuqesdancona has quit IRC
[17:38:30] *** aviraldg has joined #angularjs
[17:38:38] *** patrickc_ has joined #angularjs
[17:38:58] <lenswipe> guys?
[17:39:04] *** richardbaker has quit IRC
[17:39:09] *** aviraldg has quit IRC
[17:39:17] *** stevvooe has joined #angularjs
[17:39:29] *** richardbaker has joined #angularjs
[17:39:53] *** cmoneylulz has joined #angularjs
[17:40:08] *** aviraldg has joined #angularjs
[17:40:48] *** mcreager has joined #angularjs
[17:41:40] <davek> lenswipe, gist is inaccessible.
[17:41:52] <davek> Anyone else using direct-to-s3 upload in their angular app?
[17:42:35] *** caitp has quit IRC
[17:42:47] *** arizzo has quit IRC
[17:43:06] *** ajph_ has joined #angularjs
[17:43:12] *** Tidwell has quit IRC
[17:43:15] *** arizzo has joined #angularjs
[17:43:15] *** richardbaker has quit IRC
[17:44:12] *** Xliff has quit IRC
[17:44:12] *** arizzo has quit IRC
[17:44:30] *** arizzo has joined #angularjs
[17:44:59] *** brownbathrobe has joined #angularjs
[17:45:02] *** brian__ is now known as bgerami
[17:45:09] *** brownbathrobe has quit IRC
[17:45:33] *** snapwich has joined #angularjs
[17:45:40] *** LossFor has joined #angularjs
[17:45:47] *** dc_ has quit IRC
[17:45:58] *** janp has quit IRC
[17:46:17] *** tomzx is now known as tomzx`afk
[17:46:21] *** ajph has quit IRC
[17:47:10] *** jerev is now known as jerev_away
[17:47:10] *** _nikki_ has joined #angularjs
[17:47:30] *** artisangoose has joined #angularjs
[17:47:39] *** mrtoadsc has quit IRC
[17:47:41] <_nikki_> How do you restart the digest cycle in angularjs from the console?
[17:47:50] *** pdillinger1 has joined #angularjs
[17:49:07] *** arizzo has quit IRC
[17:49:12] *** selvait90 has quit IRC
[17:49:18] *** Tidwell has joined #angularjs
[17:49:31] *** foofoobar has joined #angularjs
[17:49:34] *** arizzo has joined #angularjs
[17:49:34] *** ustunozgur has quit IRC
[17:49:37] *** Anticom has joined #angularjs
[17:49:39] <Anticom> hi all
[17:50:02] *** foofoobar has quit IRC
[17:50:15] <Anticom> I'm still fairly new to angular and fiddling arround a bit with $watch / $watchCollection. Now i wanted to know, how i can keep track of an array of models. I just couldn't get that to work. http://jsfiddle.net/vPN2q/3/
[17:50:19] *** lsiv568 has joined #angularjs
[17:50:26] *** selvait90 has joined #angularjs
[17:50:32] <Anticom> http://jsfiddle.net/vPN2q/4/ *
[17:50:42] <Anticom> :O
[17:50:44] <Anticom> nvm
[17:50:57] *** tomzx`afk is now known as tomzx
[17:51:09] <selvait90> I have gone through couple of available popup directive
[17:51:19] *** foofoobar has joined #angularjs
[17:51:21] *** richardbaker has joined #angularjs
[17:51:26] *** chrisbirk has joined #angularjs
[17:51:29] *** Yahkob has joined #angularjs
[17:51:34] <selvait90> any recommend directives or documentation
[17:51:39] *** lite_ has joined #angularjs
[17:51:41] *** dc_ has joined #angularjs
[17:51:57] *** lite_ has quit IRC
[17:52:01] *** fbenoit has quit IRC
[17:52:22] <selvait90> I have planned to implement this http://adamalbrecht.com/2013/12/12/creating-a-simple-modal-dialog-directive-in-angular-js/
[17:52:33] *** msafi has quit IRC
[17:52:34] *** Pierre_N_ is now known as Pierre_N
[17:52:44] *** slimak has quit IRC
[17:52:57] *** arizzo_ has joined #angularjs
[17:53:13] <selvait90> looking for experts advice if there is any better angularjs popup method
[17:53:19] *** msafi has joined #angularjs
[17:53:34] *** GeertV has quit IRC
[17:53:45] *** duall has joined #angularjs
[17:53:57] *** arizzo has quit IRC
[17:54:06] *** GeertV has joined #angularjs
[17:54:20] *** cmoneylulz has quit IRC
[17:54:49] *** sk87 has quit IRC
[17:55:12] *** mkulke has quit IRC
[17:55:19] *** HypnotiX has quit IRC
[17:55:26] *** ustunozgur has joined #angularjs
[17:55:36] <lenswipe> davek, https://gist.github.com/5a43aea3a9beab3583da
[17:55:37] <lenswipe> try that one
[17:55:58] <duall> <div my-model="data.something"> how do i access this model in directive ? scope[attrs.myModel] creates scope['data.something'] = {} i want scope.data.something = {} any ideas?
[17:55:59] *** endash has joined #angularjs
[17:56:00] *** mikehaas763 has joined #angularjs
[17:56:39] <lenswipe> davek, the point is that _user doesn't seem to ever get the contents of res.data
[17:56:51] *** watsonkp has joined #angularjs
[17:57:20] *** enigmarm has joined #angularjs
[17:58:07] *** nikn has joined #angularjs
[17:58:13] *** GeertV has quit IRC
[17:58:13] <mikehaas763> Generally speaking, in any of your experiences, how does the total time of development building an spa compare to a traditional round-trip app with jquery spread around as necessary?
[17:58:14] *** sharondio has quit IRC
[17:58:30] *** rho has quit IRC
[17:58:45] <nikn> is angular js just for interfaces
[17:58:55] *** Yahkob has quit IRC
[17:59:19] <mikehaas763> nikn: what do you mean?
[17:59:43] *** combat has quit IRC
[17:59:51] *** mac_ified has quit IRC
[17:59:53] *** sharondio has joined #angularjs
[18:00:19] *** Yahkob has joined #angularjs
[18:00:20] *** wafflejock_ has quit IRC
[18:00:21] *** Bade has quit IRC
[18:00:57] *** arizzo_ has quit IRC
[18:01:05] *** nikn has quit IRC
[18:01:09] *** JuanDeag is now known as BullyStick
[18:01:23] *** jplussier has joined #angularjs
[18:01:30] *** arizzo has joined #angularjs
[18:02:30] *** drej_ has joined #angularjs
[18:02:44] *** VeeWee has quit IRC
[18:02:52] *** denny009 has joined #angularjs
[18:02:58] <\du> i have a directive that is a div and inside is a input, can i access from the div to the input model? http://pastebin.com/CiGLrxJg
[18:03:07] <denny009> hello all...how i can get the class of a div in my controller?
[18:03:11] *** nytrm has joined #angularjs
[18:03:27] *** lucasefe has quit IRC
[18:03:36] *** mikehaas763 has left #angularjs
[18:03:39] *** mikehaas763 has joined #angularjs
[18:04:48] *** bbankes has joined #angularjs
[18:04:59] *** brianturgeon has quit IRC
[18:05:32] *** arizzo has quit IRC
[18:05:37] *** drej has quit IRC
[18:05:41] <teslan> nikn angularjs is for everything that you want to do in a browser - ui, data, interfaces to servers, drawing and other things i am barely getting to read about
[18:05:43] *** Milanito1 has quit IRC
[18:05:49] *** krnflake has quit IRC
[18:05:51] *** disorder20 is now known as kkuno
[18:05:56] *** AndyFTP has quit IRC
[18:06:10] *** liang has joined #angularjs
[18:06:15] *** danethurber has joined #angularjs
[18:06:27] <denny009> hello all...how i can get the class of a div in my controller?
[18:06:30] <davek> lenswipe, what are you hoping $q.reject() will do?
[18:06:30] *** AndyFTP has joined #angularjs
[18:06:38] *** Tidwell has quit IRC
[18:07:02] *** richardbaker has quit IRC
[18:07:30] *** richardbaker has joined #angularjs
[18:07:32] *** subnl has joined #angularjs
[18:07:33] *** nytrm has quit IRC
[18:07:35] *** daryllxd_ has quit IRC
[18:08:00] *** xaxisx has quit IRC
[18:08:06] *** matiasow has quit IRC
[18:08:14] *** cmoneylulz has joined #angularjs
[18:08:25] <liang> hi denny009, I thank modify class should be in directive
[18:08:31] *** krnflake has joined #angularjs
[18:08:32] *** niftylettuce_ has joined #angularjs
[18:08:37] <liang> think
[18:08:45] *** tangorri has quit IRC
[18:08:51] <Zerot> denny009: that is the wrong question to be asking. You will never want to do that in a controller.(and even in a directive controller you most likely don't want to)
[18:08:53] <teslan> denny009 while i am a noob, it would seem the answer is either that you can not or not easily because of testability and all ... however, into a directive you can inject $element and if you must than you can save the class in $scope and access it that way
[18:08:56] *** ineedarobot has quit IRC
[18:09:06] *** richardbaker has quit IRC
[18:09:18] <davek> Is this actually inside a deferred? If it is, then you can't simply return the earlier promise.
[18:09:18] <davek> denny009, don't. Needing this indicates some logical oversight.
[18:09:24] *** IJNX has joined #angularjs
[18:09:27] *** Tidwell has joined #angularjs
[18:09:32] *** richardbaker has joined #angularjs
[18:09:39] *** ajph has joined #angularjs
[18:09:59] <denny009> thanks to all...so i describe my special case. In my controller i've a watch('state')
[18:10:07] <denny009> if the state == 3
[18:10:20] <denny009> i add a class to one element
[18:10:29] <Zerot> denny009: don't have the html control the data and logic, but have the data control the html and logic. So query the data, not the html
[18:10:29] *** mykz_ has joined #angularjs
[18:10:33] <denny009> end after 3000 ms i remove it
[18:10:38] *** hswolff has quit IRC
[18:11:05] <denny009> Zerot: sorry but i not understand
[18:11:09] <denny009> in my code i've
[18:11:11] <denny009> $scope.$watch('state', function(newValue, oldValue) {
[18:11:14] <liang> denny you can use directive to do it.
[18:11:17] *** AndyFTP has quit IRC
[18:11:20] *** Ethix has joined #angularjs
[18:11:23] *** waylon999 has joined #angularjs
[18:11:24] <denny009> case RouletteConst.STATE_NO_MORE_BETS:
[18:11:31] <denny009> add, remove class
[18:11:41] *** mchapman has quit IRC
[18:11:45] <teslan> denny009 instead of thinking it that way, think of conditionally setting a class, based on some $scope.value, which you manipulate in a service that is triggered from the controller
[18:11:46] <denny009> Zerot: i not understand what you suggest
[18:11:48] *** mennea has joined #angularjs
[18:11:52] <Zerot> denny009: you have data that controls if the class is on there, right?
[18:11:52] *** illume has quit IRC
[18:11:56] *** ajph_ has quit IRC
[18:12:15] <Zerot> denny009: so there is no need to look at the div to see if the class is on there. look at the data that determines if it is on there or not
[18:12:25] *** Yahkob has quit IRC
[18:12:48] <denny009> Zerot: but i want add the class in this state
[18:12:55] <liang> create a directive in the div as attr,so you can get dom element in this directive.
[18:13:15] <denny009> Zerot:
[18:13:16] <denny009> case RouletteConst.STATE_NO_MORE_BETS: $scope.localizedState = sgUserMessages.wheelStatus_NO_MORE_BETS; statusContainer.addClass('status-bar-zoom'); $timeout(function() { statusContainer.removeClass('status-bar-zoom'); }, 3000); break;
[18:13:21] <teslan> denny009 then you simply flip the $scope.logical from that state
[18:13:23] <Zerot> denny009: use directives to control that. e.g. use the ng-class directive to set the class or make your own directive
[18:13:28] *** mtsr has quit IRC
[18:13:42] *** JosephSilber has quit IRC
[18:14:13] *** sigurding has quit IRC
[18:14:19] <denny009> Zerot: so you suggest to add a controller inside the directive and move the code ?
[18:14:27] <Zerot> no
[18:14:35] <Zerot> where did I say that?
[18:14:41] *** tfennelly has quit IRC
[18:14:44] *** matiasow has joined #angularjs
[18:14:52] *** mewm has joined #angularjs
[18:15:12] *** davek has quit IRC
[18:15:16] *** seydoggy has quit IRC
[18:15:31] <denny009> Zerot: but i not understand where i can do it. I know only that i've a state where i add a class and after 3 sec i remove it
[18:15:34] <Zerot> denny009: have you looked at the ngClass directive?
[18:15:46] *** JosephSilber has joined #angularjs
[18:15:51] <denny009> Zerot: yes of course....but i've the timeout
[18:15:58] <Zerot> and?
[18:16:02] *** davek has joined #angularjs
[18:16:11] <Zerot> the timeout can still be in the controller
[18:16:19] <Zerot> (for now)
[18:16:20] <gnar_matix> denny009 just change the class after the timeout
[18:16:24] <denny009> Zerot: and how i can insert the setTimeout inside the ng-class?
[18:16:30] <Zerot> denny009: ....
[18:16:38] *** Yahkob has joined #angularjs
[18:16:46] <Zerot> again, have you looked at ng-class? read the docs about it?
[18:16:55] *** bejames has joined #angularjs
[18:16:57] *** da_wunder has joined #angularjs
[18:17:07] *** liang has quit IRC
[18:17:14] *** IJNX has quit IRC
[18:17:22] *** obert has joined #angularjs
[18:17:24] <denny009> Zerot: https://docs.angularjs.org/api/ng/directive/ngClass this?
[18:17:28] <LossFor> denny009: ng-class can take an object in the form {css_class: javascript_value}
[18:17:30] <Zerot> yes
[18:17:38] <LossFor> Zerot is suggesting that you use the controller to modify the javascript value.
[18:17:50] <LossFor> then when it’s true, it’ll have that class, and when it’s false, it won't.
[18:17:54] <gnar_matix> denny009 <div ng-class="{'class': includeClass}"> $scope.includeClass = true; setTimeout(function () { $scope.includeClass = false; }, 1000)
[18:17:54] *** DerekPerkins has joined #angularjs
[18:17:57] *** pdillinger1 has quit IRC
[18:18:08] *** krawek has quit IRC
[18:18:08] <davek> Anyone else doing direct-to-s3 uploading by chance?
[18:18:16] <Zerot> gnar_matix: $timeout instead of setTimout, but yes
[18:18:17] *** ustunozgur has quit IRC
[18:18:25] *** icfantv has joined #angularjs
[18:18:33] <gnar_matix> Zerot right. what's $timeout vs setTimeout
[18:18:45] *** da_wunde1 has quit IRC
[18:18:45] <denny009> ok so i've undertand before what he says...i've understand tha i can't insert the code in my controller
[18:18:53] <Zerot> gnar_matix: $timeout wraps setTimeout in a $scope.$apply
[18:19:08] <gnar_matix> Zerot ah gotcha.
[18:19:10] <Zerot> gnar_matix: meaning that the scope digest will run and that changes are picked up on
[18:19:21] <gnar_matix> denny009 what?
[18:19:23] *** seydoggy has joined #angularjs
[18:19:51] <jaawerth_> yeah, if you change things with just setTimeout, then the DOM won't automatically update until something else happens to trigger the digest, which (usually) isn't what you want to happen
[18:20:03] <Zerot> gnar_matix: just using setTimeout will not run the digest, so that scope change is not noticed until the next digest run(which can take a long time when there is no interaction)
[18:20:15] *** bade has joined #angularjs
[18:20:15] <gnar_matix> Zerot yeah i understand
[18:20:25] *** markalanevans has joined #angularjs
[18:20:53] <jaawerth_> $timeout also returns a promise, which can be pretty handy
[18:20:59] <Zerot> yep
[18:21:00] *** obert has quit IRC
[18:21:04] *** mykz_ has quit IRC
[18:21:11] *** jaawerth_ is now known as jaawerth
[18:21:38] <gnar_matix> do you guys know how to execute code before rendering a view?
[18:21:40] *** jstroem has joined #angularjs
[18:21:42] *** msafi has quit IRC
[18:21:49] *** obert has joined #angularjs
[18:21:54] <Zerot> gnar_matix: look at the resolve field you can set on routes/states
[18:22:11] *** zeroquake has joined #angularjs
[18:22:15] <gnar_matix> Zerot that applies to ui.router?
[18:22:19] <zeroquake> hello
[18:22:21] *** altious has quit IRC
[18:22:32] <Zerot> gnar_matix: to both ngRoute as well as ui-router
[18:22:42] <gnar_matix> Zerot cool thx
[18:22:55] *** AlexAbraham has joined #angularjs
[18:22:55] <zeroquake> what does this mean ? <a href="" ng-click="toggle = !toggle">Toggle nav</a>
[18:23:09] <AlexAbraham> hey
[18:23:10] *** squeakytoy has joined #angularjs
[18:23:17] *** enigmarm has quit IRC
[18:23:21] <Zerot> zeroquake: you know what "toggle = !toggle" means?
[18:23:23] <davek> zeroquake, when you click the element it toggles.
[18:23:24] *** Notte has joined #angularjs
[18:23:26] *** conan_the_destro has quit IRC
[18:23:26] <AlexAbraham> anyone have experience with modals in angular-strap?
[18:23:43] *** cthrax has quit IRC
[18:23:44] *** seydoggy has quit IRC
[18:23:45] <AlexAbraham> I keep getting an error that TypeError: Cannot read property 'insertBefore' of null
[18:23:57] *** bradmc has joined #angularjs
[18:24:04] *** juampy has quit IRC
[18:24:15] *** hswolff has joined #angularjs
[18:24:21] *** seydoggy has joined #angularjs
[18:24:21] *** juampy has joined #angularjs
[18:24:32] <zeroquake> <a href="" ng-click="toggle = !hello">Toggle nav</a> <ul ng-show="hello">
[18:24:33] *** conan_the_destro has joined #angularjs
[18:24:49] *** Nizumzen has quit IRC
[18:24:51] *** tylerjohnst has joined #angularjs
[18:24:54] <zeroquake> can i do that , will try it out in jsfiddle ...mybad
[18:24:54] *** cigarshark has joined #angularjs
[18:25:02] <Zerot> zeroquake: no
[18:25:16] *** Tidwell has quit IRC
[18:25:20] <Zerot> zeroquake: again, do you know what "toggle = !toggle" does/means?
[18:25:20] *** edy has quit IRC
[18:25:43] *** gnar_matix is now known as gnarMatix
[18:25:44] <zeroquake> nopes , i wanna know what is happening there
[18:25:45] *** cmoneylulz has quit IRC
[18:25:53] *** msafi has joined #angularjs
[18:25:57] *** jstroem has quit IRC
[18:25:57] <Zerot> zeroquake: ok. do you know what the ! operator does?
[18:26:02] <zeroquake> yes
[18:26:05] *** msafi has quit IRC
[18:26:06] <zeroquake> not
[18:26:11] *** OddDuck has joined #angularjs
[18:26:29] <jaawerth> zeroquake: I think the fact that it's called "toggle" is confusing the issue. that just means it's $scope.toggle (if referenced from a controller). You can just as easily do ng-click="foo = !foo" and it will negate the value of $scope.foo when clicked
[18:26:30] *** patrickc_ has quit IRC
[18:26:44] <Zerot> zeroquake: so, assign toggle to "not toggle".
[18:27:19] *** Milanito has joined #angularjs
[18:27:55] *** cthrax has joined #angularjs
[18:28:06] *** mven has quit IRC
[18:28:06] <mikehaas763> Does everyone else feel when dealing with their data models (generally assigned to the scope) that it is very procedural? I'm wondering if I'm missing out on some better patterns.
[18:28:11] *** Sna4x8 has joined #angularjs
[18:28:20] *** seydoggy has quit IRC
[18:28:37] *** azizur has quit IRC
[18:28:43] *** mven has joined #angularjs
[18:28:44] *** rho has joined #angularjs
[18:28:53] *** _nikki_ has quit IRC
[18:29:09] *** feelfine_ has quit IRC
[18:29:12] *** arabot has joined #angularjs
[18:29:18] <CptClever> Zerot: I prefer having the least amount of 'code' in my views, so i'd recommend calling controller-functions in ng-clicks :)
[18:29:19] *** arabot has quit IRC
[18:29:35] *** feelfine has joined #angularjs
[18:29:41] <mikehaas763> For example, I get list of recources, when the user selects one in the UI I assign it to an activated model property. Then as the user goes down the workflow fetch some other resources etc. However, if they close that initial selected resource then I find myself needing to clear out several other scope models
[18:30:03] *** ineedarobot has joined #angularjs
[18:30:08] *** Joulse has quit IRC
[18:30:15] *** Kismet010 has joined #angularjs
[18:30:17] <Zerot> CptClever: ?
[18:30:34] <Zerot> CptClever: I know what you mean, just wondering why you are telling me that
[18:30:47] <davek> This is the case for ui-states and nested states in applications.
[18:30:49] <jaawerth> zeroquake: http://plnkr.co/edit/moTlSgVhcCLtsuYJGwse?p=preview
[18:31:11] *** foofoobar has quit IRC
[18:31:27] *** xaxisx has joined #angularjs
[18:31:42] *** ckboii89 has joined #angularjs
[18:31:52] *** svycka has quit IRC
[18:32:37] <CptClever> Zerot: well just remarking that application-logic could be placed in the controller instead of the view
[18:32:48] *** feelfine_ has joined #angularjs
[18:32:54] *** Tidwell has joined #angularjs
[18:33:03] <BobbieBarker> you shouldn't have logic in your view
[18:33:13] <jedrek> Can anybody explain at what moment does angular look at variables for ng-class=""?
[18:33:25] <CptClever> well not at first, but the minute you need to make sure you've loaded stuff for your expanding nav ...
[18:33:28] <BobbieBarker> probably continously as apart of the digest loop
[18:33:29] *** Siecje has quit IRC
[18:33:42] *** feelfine has quit IRC
[18:33:49] <Zerot> CptClever: I agree. still wondering why you are explicitly telling me though
[18:33:55] <jedrek> i'm loading a view with variables set and they work fine on ng-show, but ng-class is not showing up right
[18:34:11] <jedrek> it works if i change the variables with user interaction in the view
[18:34:12] *** Gambit- has quit IRC
[18:34:13] <denny009> sorry...last question and if i want to change a property of a div? for example i want create a progress bar so i must change the width property
[18:34:26] <jaawerth> jedrek: both ng-show and ng-class will evaluate when the digest runs. How is it not showing up right?
[18:34:46] *** s3shs has quit IRC
[18:34:54] *** Malone has joined #angularjs
[18:35:01] <CptClever> Zerot: I'm biased, I work with 10 people on a angular project
[18:35:07] *** jstroem has joined #angularjs
[18:35:20] <CptClever> stuff gets confusing when stuff happens in the 'html' part of the app
[18:35:42] *** altious has joined #angularjs
[18:35:42] <duall> can i set ng model from a string ?? like ng-model="{{ modelString }}", cause i get is unexpected, expecting [:] at column 3
[18:35:49] <jedrek> jaawerth: well i have something like ng-show="(regForm.passwordValid == 2)" for a <span> and ng-class="{ 'ng-invalid-manual': (regForm.passwordValid == 2) }"
[18:35:56] *** ckboii89 has quit IRC
[18:36:03] <jedrek> and the span displays correctly while the class doesn't
[18:36:03] <zeroquake> jaawerth - thank you , i was confused on how to console out in angular :P
[18:36:08] <zeroquake> i understand now
[18:36:14] <Zerot> CptClever: ... I'm not confused about why you want it. I agree with that. I'm confused about why you are telling me that specifically?
[18:36:22] *** chevreuil has quit IRC
[18:36:35] *** jstroem has quit IRC
[18:36:47] *** jstroem has joined #angularjs
[18:36:52] *** d3wayne has quit IRC
[18:36:54] *** MmmmPie has joined #angularjs
[18:37:32] *** wxo has quit IRC
[18:37:38] *** momomomomo has quit IRC
[18:37:41] <CptClever> Zerot: no reason, just noticed two possible improvements on code
[18:38:01] <jaawerth> jedrek: is ng-invalid-manual a regular class or a directive?
[18:38:01] <CptClever> (the second being that href="" gets handled differently by different browsers btw) :p
[18:38:03] *** matiasow has quit IRC
[18:38:13] <Zerot> whose code? i didn't paste any code
[18:38:18] <jedrek> regular class
[18:38:27] *** liri has quit IRC
[18:38:40] <CptClever> ah you're right
[18:38:41] <jedrek> i'm going to make sure i didn't do anything stupid like order the classes the wrong way...
[18:38:54] <CptClever> Zerot: zeroquake posted that
[18:38:56] <CptClever> sorry :p
[18:39:13] *** jsoverson has joined #angularjs
[18:39:39] *** marcghorayeb has quit IRC
[18:40:04] <okdamn> hey what is <script id="home.html"> what is used for usually?
[18:40:09] *** bzitzow has joined #angularjs
[18:40:26] <okdamn> i mean <script id="page3.html" type="text/ng-template">
[18:40:38] <okdamn> why use it ?
[18:40:48] *** howitdo has quit IRC
[18:40:49] <snapwich> to cache templates in your page instead of loading them dynamically
[18:40:56] *** matiasow has joined #angularjs
[18:41:12] <snapwich> i usually use html2js instead though
[18:41:12] <okdamn> snapwich: cache… mmm…
[18:41:18] *** foo-bar- has quit IRC
[18:41:22] *** samana has joined #angularjs
[18:41:35] <Sna4x8> Looking for some help with this directive. I'd like the directive to be able to bind a change event when the model changes, like a normal <select> tag. http://plnkr.co/edit/F7cswvJ0GIZyf6Va3vul?p=preview
[18:41:39] <okdamn> im wondering in which cases this could help me
[18:42:07] <Sna4x8> What I have fires ngChange twice, plus I feel like I'm doing it wrong.
[18:42:13] <snapwich> cases in which you know all your ng-includes and such are going to be used anyways so you might as well preload them for performance
[18:42:15] <okdamn> ufff anybody here using ionicframework guys?
[18:42:16] *** newcode has joined #angularjs
[18:42:28] <okdamn> snapwich: ah o thanks
[18:42:29] <jaawerth> jedrek: nope, that should work http://plnkr.co/edit/Za3snlUflXcIlmPBs9LU
[18:42:30] *** s3shs has joined #angularjs
[18:42:31] <samana> How to highlight other div when hovering a div using angularjs?
[18:42:39] <newcode> anyone knows how I can pass an array as a param to ngResource?
[18:42:43] <okdamn> samana: ng-hover !?
[18:42:57] *** Yahkob has quit IRC
[18:43:04] *** mattwynne has quit IRC
[18:43:20] *** eperez has joined #angularjs
[18:43:23] <lenswipe> davek, how do you mean what do I hope $q.reject will do>?
[18:43:59] <newcode> right now I am only getting /api/objects?page=1&type=1&type=2
[18:44:10] <newcode> where type is a js array in reality
[18:44:13] <samana> okdamn: Lets say we have a 2 views for a model, smaller view and larger view. now, how to highlight larger view when hovering smaller view?
[18:44:19] <lenswipe> davek, reject the promise, surely?
[18:44:29] <AlexAbraham> hey
[18:44:41] <lenswipe> davek, in any case, the issue seems to be with angular.extend not working as I expect
[18:44:42] <AlexAbraham> anyone know how to fix an issue with using templates in angular-strap?
[18:44:51] <okdamn> samana: google for ng-hover , probably ng-hover="doSomething()" i guess :P
[18:44:59] *** Yahkob has joined #angularjs
[18:45:17] *** Nizumzen has joined #angularjs
[18:45:20] *** foo-bar- has joined #angularjs
[18:45:29] *** ajph is now known as ajph_
[18:45:41] *** elxa has quit IRC
[18:45:47] *** ajph_ is now known as ajph
[18:46:16] *** jonasrosenlind has joined #angularjs
[18:46:36] <samana> okdamn: i have googled and have a working example for div to highlight when mouse hover happens, my question is how can i highlight another view for the same model?
[18:46:41] *** dariocravero has joined #angularjs
[18:47:01] *** enapupe has quit IRC
[18:47:02] <okdamn> samana: define "highlight" pls
[18:47:06] *** elxa has joined #angularjs
[18:47:21] <jaawerth> Sna4x8: the path to salvation is hidden in your plunk ;-). That "control" parameter in your link function is ngModelController, which is where you can do all kinds of neat stuff with change events and input/ouput. The docs should help, plus it has a useful example: https://docs.angularjs.org/api/ng/type/ngModel.NgModelController
[18:47:44] *** Notte has quit IRC
[18:48:25] *** intellix has left #angularjs
[18:48:36] *** Tidwell has quit IRC
[18:48:44] <samana> okdamn: highlight means fading the div, changing opacity of the div
[18:48:56] *** CptClever has left #angularjs
[18:49:03] *** Gambit- has joined #angularjs
[18:49:07] *** nicoonee has quit IRC
[18:49:08] *** Ethix has quit IRC
[18:49:32] *** kkuno has quit IRC
[18:49:40] *** vbabiy has quit IRC
[18:49:46] <okdamn> samana: create css class then ng-class="{'less-opacity': var === 1}" ng-hover="putVarTo1();"
[18:49:47] *** drej_ is now known as drej
[18:49:49] <okdamn> just a guess
[18:49:52] *** drej has quit IRC
[18:49:52] *** drej has joined #angularjs
[18:49:53] *** RobinBAwesome has joined #angularjs
[18:50:01] *** pras has quit IRC
[18:50:07] <okdamn> just use controller to toggle a var nope?
[18:50:08] *** mnngfltg has quit IRC
[18:50:38] *** jonasrosenlind has quit IRC
[18:50:58] *** cmoneylulz has joined #angularjs
[18:51:25] *** kennbrodhagen has joined #angularjs
[18:51:39] *** Fishy__ has joined #angularjs
[18:51:40] *** Tidwell has joined #angularjs
[18:51:59] <samana> okdamn: ok, i got the point which u made, I will create a <div id="big{{model.id}}" ng-hover="hoverIt(model)"> and in controller { hoverId() { $("big"+model.id).addclass(".highligted") }
[18:52:10] *** arizzo has joined #angularjs
[18:52:14] *** mtsr has joined #angularjs
[18:52:19] *** msafi has joined #angularjs
[18:52:24] *** jerev_away is now known as jerev
[18:52:50] *** lite_ has joined #angularjs
[18:53:52] *** jerev is now known as jerev_away
[18:53:53] *** arizzo has quit IRC
[18:54:09] *** howitdo has joined #angularjs
[18:54:19] *** arizzo has joined #angularjs
[18:55:12] *** Fishy has quit IRC
[18:55:32] *** kennbrodhagen has quit IRC
[18:55:34] *** wilmoore has joined #angularjs
[18:56:24] <Sna4x8> jaawerth: Thanks for the help, but I still don't understand how to call the specified ngChange function. http://plnkr.co/edit/MWeahb63cR57UGebanWK?p=preview
[18:56:38] *** chrisbirk has quit IRC
[18:56:53] <Sna4x8> I don't really need to change the view value I don't think. I want to fire the ngChange function specified in the <test-select ...>.
[18:56:58] *** lite_ has quit IRC
[18:57:03] *** kayloos has quit IRC
[18:57:13] *** Nek has joined #angularjs
[18:57:31] *** cellofellow has joined #angularjs
[18:57:35] *** moritzs has joined #angularjs
[18:58:26] <jaawerth> Sna4x8: hm.. let's step back for a sec. Forgetting about ng-change and ng-model for a second, what is the desired behavior you're looking for?
[18:58:33] *** arizzo has quit IRC
[18:58:36] *** arizzo_ has joined #angularjs
[18:58:38] *** mtsr has quit IRC
[18:58:52] *** Siecje has joined #angularjs
[18:59:07] *** dylukes has joined #angularjs
[18:59:23] <jaawerth> Sna4x8: it sounds like you're looking for a change to happen on the view when something changes on the model, right?
[18:59:25] *** DrShoggoth has joined #angularjs
[18:59:33] *** Xethron has quit IRC
[19:00:01] <Sna4x8> I have a listbox that is populated using a resource (mocked in the plunk as scope.testList). The selected item in the listbox is often used as a filter. When the ngModel changes, I'd like the controller to optionally be notified of the change.
[19:00:07] *** evilaliv3 has joined #angularjs
[19:00:17] <Sna4x8> I don't really want anything in the view to be changed, no.
[19:00:30] *** tsalb has joined #angularjs
[19:00:43] *** raghunayyar has joined #angularjs
[19:00:47] *** wallerdev has joined #angularjs
[19:00:53] *** blueadept has joined #angularjs
[19:00:53] *** blueadept has joined #angularjs
[19:00:55] <blueadept> 2
[19:00:57] *** conan_the_destro is now known as conan_the_toady
[19:01:15] *** jpmcallister has joined #angularjs
[19:01:24] <jaawerth> Sna4x8: ah, in that case you shouldn't need to use ng-change for this - ng-change will trigger a function when something is changed in the view
[19:01:25] *** blueadept has quit IRC
[19:01:38] *** chexxor has quit IRC
[19:01:43] *** blueadept has joined #angularjs
[19:01:44] *** blueadept has joined #angularjs
[19:01:52] *** DevAntoine has quit IRC
[19:01:59] *** amedia has quit IRC
[19:02:06] *** nemothekid has quit IRC
[19:02:11] *** arizzo_ has quit IRC
[19:02:38] *** arizzo has joined #angularjs
[19:02:40] *** mtsr has joined #angularjs
[19:02:43] <Sna4x8> jaawerth: Hrm. So when the ngModel (testID in my example) changes, how do I notify the controller? In my example I'd like dumpTest() to be called.
[19:02:55] <jaawerth> Sna4x8: the two-way databinding should do fine for you, but you'll want to make sure you aren't assigning primitives directly to scope. that is, $scope.someObj.foo instead of $scope.foo. If you need to then trigger a function, you can use scope.$watch('someObj.foo', function() { do stuff }) when necessary
[19:03:01] *** jplussier has quit IRC
[19:03:40] <jaawerth> Sna4x8: you can also use $scope.$watch from a controller, but generally speaking this is not a recommended coding style and a lot of people in this channel will argue against it. Sometimes it's necessary, though.
[19:03:46] *** whunt has joined #angularjs
[19:04:39] <Sna4x8> So I have two-way databinding with ngModel. I want to $watch in the directive. What I don't know is how to fire the function in the controller's scope.
[19:04:55] *** lucasefe has joined #angularjs
[19:05:01] *** mtsr has quit IRC
[19:05:12] *** stevvooe has quit IRC
[19:05:17] <Sna4x8> http://plnkr.co/edit/F7cswvJ0GIZyf6Va3vul?p=preview My (failed) attempt on line 30 was to parse the change function. I wanted to call that when the model changes.
[19:05:22] *** AngularUI has joined #angularjs
[19:05:22] <AngularUI> [bootstrap] chrisirhc pushed 1 new commit to master: http://git.io/CYvdjA
[19:05:22] <AngularUI> bootstrap/master e62ab94 Michael Lilli: fix(modal): respect autofocus on child elements...
[19:05:22] *** AngularUI has left #angularjs
[19:05:28] *** AngularUI has joined #angularjs
[19:05:28] <AngularUI> [bootstrap] chrisirhc closed pull request #2273: Modal focus (master...modal-focus) http://git.io/2SYiQQ
[19:05:28] *** AngularUI has left #angularjs
[19:05:50] *** Anticom has quit IRC
[19:06:00] *** richard__ has joined #angularjs
[19:06:02] *** sigurding has joined #angularjs
[19:06:29] *** chrisbirk has joined #angularjs
[19:06:33] *** blueadept has quit IRC
[19:06:36] *** seydoggy has joined #angularjs
[19:06:48] *** richardbaker has quit IRC
[19:07:04] *** pranay has joined #angularjs
[19:07:12] *** stevvooe has joined #angularjs
[19:07:18] *** spencercarnage has joined #angularjs
[19:07:23] *** arizzo has quit IRC
[19:07:32] *** naquad has quit IRC
[19:07:38] *** jplussier has joined #angularjs
[19:07:58] *** schonert has joined #angularjs
[19:08:00] *** Ajans has quit IRC
[19:08:04] *** mtsr has joined #angularjs
[19:08:12] *** treeface has joined #angularjs
[19:08:25] *** blueadept has joined #angularjs
[19:08:33] <pranay> help me brothers i am using routeprovider and after routing an doing ajax call to bring data from server , i am able to bind the data but its not visible
[19:08:42] <pranay> wht is tht i am doing wrong
[19:08:45] *** cthrax has quit IRC
[19:08:55] *** naquad has joined #angularjs
[19:08:59] *** jareddlc has joined #angularjs
[19:09:05] <pranay> ??
[19:09:08] *** Click66___ has joined #angularjs
[19:09:24] *** blueadept has quit IRC
[19:09:55] <Sna4x8> jaawerth: http://plnkr.co/edit/F7cswvJ0GIZyf6Va3vul?p=preview Here's what I mean by watch and fire on change.
[19:09:58] *** arizzo has joined #angularjs
[19:10:03] *** blueadept has joined #angularjs
[19:10:03] *** blueadept has joined #angularjs
[19:10:03] *** vinhbach_ has quit IRC
[19:10:07] *** sigurding_ has joined #angularjs
[19:10:18] *** Click66___ has quit IRC
[19:10:28] *** denny009 has quit IRC
[19:10:37] <Sna4x8> attrs.ngChange === "dumpTest()" which is a valid function in the controller's scope. Do I call that on scope.$parent somehow?
[19:10:44] *** sigurding has quit IRC
[19:10:44] *** sigurding_ is now known as sigurding
[19:11:13] *** blueadept` has joined #angularjs
[19:11:16] <jaawerth> Sna4x8: well in your directive you've created an isolate scope with your scope: {} so the directive won't be able to access any functions on the controller. You could 1) create the function in the directive instead, 2) pass in the function using something like scope: { myFunction: '=' }, or change your directive's scope to an inherited one if applicable. Option 3 (often preferable, IMO): keep the utility function in a service (w
[19:11:21] *** p3rsist has joined #angularjs
[19:11:43] <jaawerth> Sna4x8: er, that is, option 4 (not 3) for the last one ;-)
[19:11:44] *** blueadept` has quit IRC
[19:11:50] *** orion1111 has quit IRC
[19:11:55] *** mcreager has quit IRC
[19:12:10] *** joshontheweb has quit IRC
[19:12:19] <jaawerth> Sna4x8: I'll be back in 10, but I'll check the backscroll to see how you're doing ;-)
[19:12:21] *** klaut_ has quit IRC
[19:12:43] *** m____s has joined #angularjs
[19:12:51] <jaawerth> Sna4x8: but to expand on the service thing, services are the best place to put universal data and functions that may need to be used across multiple parts of your app, since they exist as singletons
[19:13:28] *** blueadept` has joined #angularjs
[19:13:31] <Sna4x8> Right. In this case the "ngChange" business logic is not reusable, but the directive is.
[19:13:47] *** altious has quit IRC
[19:13:49] *** pranay has quit IRC
[19:13:56] *** arizzo has quit IRC
[19:14:14] *** ineedarobot has quit IRC
[19:14:16] *** nanoyak has joined #angularjs
[19:14:18] *** blueadept has quit IRC
[19:15:20] *** jsoverson has quit IRC
[19:15:26] *** dbouwman has joined #angularjs
[19:16:01] *** jsoverson has joined #angularjs
[19:16:17] *** mtsr has quit IRC
[19:16:26] *** vinhbachsy has joined #angularjs
[19:16:49] *** mrogne has joined #angularjs
[19:17:20] *** jsoverson has quit IRC
[19:17:23] *** msafi has quit IRC
[19:17:25] *** dbouwman has quit IRC
[19:17:31] *** motionman has quit IRC
[19:18:01] *** jsoverson has joined #angularjs
[19:18:06] *** msafi has joined #angularjs
[19:18:14] *** duall has quit IRC
[19:18:47] *** cthrax has joined #angularjs
[19:19:14] <mrogne> How would I go about making it so that an API call continues to try periodically if it fails? For context, I'm building an offline-capable application. If I have an internet connection, the API call will succeed and the remote DB wlil have latest data. But if my Internet connection drops, it's still in local storage, and I want to continue to try to update the API periodically until it
[19:19:14] <mrogne> succeeds. IE: once per minute.
[19:19:16] *** jsoverson has quit IRC
[19:19:19] *** SomeKittens has joined #angularjs
[19:19:57] *** jsoverson has joined #angularjs
[19:20:04] *** Natsu- has quit IRC
[19:20:57] *** vintik has joined #angularjs
[19:21:01] *** paddymahoney has joined #angularjs
[19:21:24] <Sna4x8> jaawerth: Okay, this works and has the desired behavior: http://plnkr.co/edit/ZajqpoSRYyQVuf0SBP84?p=preview Does this seem like the right way to do this?
[19:21:31] *** jsoverson has quit IRC
[19:21:47] *** amedia has joined #angularjs
[19:21:54] *** kkuno has joined #angularjs
[19:22:12] *** jsoverson has joined #angularjs
[19:22:16] *** thedodd has quit IRC
[19:22:45] *** InezK_away is now known as InezK
[19:22:46] *** nemothekid has joined #angularjs
[19:23:25] *** jsoverson has quit IRC
[19:24:01] <okdamn> guys please help me http://stackoverflow.com/questions/24637966/angular-js-ionicframework-views
[19:24:04] *** jsoverson has joined #angularjs
[19:24:16] *** arizzo has joined #angularjs
[19:24:24] *** lucasefe has quit IRC
[19:24:29] *** DrMabuse has joined #angularjs
[19:24:32] *** Ownix is now known as Lunchix
[19:24:45] *** slainer6_ has quit IRC
[19:25:49] *** jsoverson has quit IRC
[19:25:51] *** wallerdev has quit IRC
[19:26:00] *** lenswipe has quit IRC
[19:26:32] *** jsoverson has joined #angularjs
[19:26:36] *** Sijdesign has joined #angularjs
[19:26:36] *** aviraldg has quit IRC
[19:27:02] *** sigurding has quit IRC
[19:27:04] *** mdix has joined #angularjs
[19:27:14] *** jsoverson has quit IRC
[19:27:21] *** MacWinne_ has joined #angularjs
[19:27:27] *** patrickc_ has joined #angularjs
[19:27:56] *** jsoverson has joined #angularjs
[19:28:08] *** heidi has joined #angularjs
[19:28:11] *** RedOrangeZ has quit IRC
[19:28:31] *** Tidwell has quit IRC
[19:28:31] *** vereteran has joined #angularjs
[19:28:52] <\du> if i have a directive that have require (other directive controller) can i access to the scope of require directive via the controller?
[19:28:53] *** naquad has quit IRC
[19:29:01] *** arizzo has quit IRC
[19:29:10] *** jsoverson has quit IRC
[19:29:29] *** arizzo has joined #angularjs
[19:29:44] *** Aliks has joined #angularjs
[19:29:50] *** raibutera has quit IRC
[19:29:51] *** jsoverson has joined #angularjs
[19:30:02] *** cmoneylulz has quit IRC
[19:30:41] *** ngbot has joined #angularjs
[19:30:41] <ngbot> [angular.js] lgalfaso pushed 3 new commits to master: http://git.io/naeX9A
[19:30:41] <ngbot> angular.js/master 8bc2667 Lucas Galfasó: fix(select): auto-select new option that is marked as selected...
[19:30:42] <ngbot> angular.js/master c3a0bcc Lucas Galfaso: Merge branch 'master' into issue-6828...
[19:30:42] <ngbot> angular.js/master 14e3ba8 Lucas Galfasó: Merge pull request #7136 from lgalfaso/issue-6828...
[19:30:42] *** ngbot has left #angularjs
[19:30:42] *** Xethron has joined #angularjs
[19:30:46] <jaawerth> Sna4x8: That will work, though 1) I would avoid giving it the same name as an Angular directive like ng-change, and 2) passing the function in via an attribute that way could become difficult to maintain from an organization perspective, though it CAN be useful if, say, you wanted to be able to pass different functions into the directive in different situations (sort of like a callback for directives)
[19:30:48] *** DuelShark has joined #angularjs
[19:31:01] *** arkanciscan has quit IRC
[19:31:22] *** johnnyfive has joined #angularjs
[19:31:31] *** arkanciscan has joined #angularjs
[19:31:35] *** jsoverson has quit IRC
[19:31:42] *** patrickc_ has quit IRC
[19:31:52] <Sna4x8> jaawerth: On point 1, would you also avoid using ng-model in the directive?
[19:32:09] *** mac_ified has joined #angularjs
[19:32:16] *** jsoverson has joined #angularjs
[19:32:16] <Sna4x8> It seems like using ngModel and ngChange make it more intuitive for other developers.
[19:32:25] *** ckboii89 has joined #angularjs
[19:32:51] *** lucasefe has joined #angularjs
[19:33:09] *** jhulten has joined #angularjs
[19:33:16] *** dwayne has joined #angularjs
[19:33:20] *** mtsr has joined #angularjs
[19:33:28] <jaawerth> It's fine to use it as long as you're using it for built-in functionality, but you shouldn't have to then pass in ngModel that way unless you need to fiddle with its actual contents, since ngModel is itself a directive that binds the form values to values on the scope automatically (the ngModelController then exists for you to fiddle with HOW it does that)
[19:33:29] *** jsoverson has quit IRC
[19:33:33] *** arizzo has quit IRC
[19:33:42] *** senayar has quit IRC
[19:33:51] *** mac_ified has quit IRC
[19:33:57] *** momomomomo has joined #angularjs
[19:34:05] *** mennea has quit IRC
[19:34:09] <jaawerth> Sna4x8: so when you're defining a custom behavior, I'd use a different name, when you're taking advantage of the built in behavior, it's fine to mix directives like that. In the case of ng-change, that's meant to trigger things when the VIEW changes. If it happens to work in the opposite direction, it's probably a coincidence
[19:34:12] *** jsoverson has joined #angularjs
[19:34:15] *** tomzx is now known as tomzx`afk
[19:34:17] *** senayar has joined #angularjs
[19:34:18] *** mac_ified has joined #angularjs
[19:34:49] *** thebigredgeek has joined #angularjs
[19:34:51] <Sna4x8> So in this case the view did change. The user selected a different item in the select box, right?
[19:35:09] <thebigredgeek> hey
[19:35:10] <Sna4x8> In that case the controller should be notified of the change if so desired.
[19:35:13] *** intellix has joined #angularjs
[19:35:14] *** Nijikokun has joined #angularjs
[19:35:17] *** jkremser has quit IRC
[19:35:20] <thebigredgeek> Is angular going to be using the clojure compiler and ecma6
[19:35:23] <thebigredgeek> for 2.0?
[19:35:43] <jaawerth> yeah. So that's a situation where you'd use ng-change - when you're responding to something happening on the view - IE when the change is coming from the user. When the change comes from the model, you don't need/want it
[19:35:55] *** jsoverson has quit IRC
[19:35:59] <Sna4x8> Right, that makes perfect sense.
[19:36:10] <Sna4x8> Thanks for your help man, much appreciated.
[19:36:24] <jaawerth> But you don't need to pass ng-change in over the scope unless you need to make changes to the function you've assigned to it for whatever reason
[19:36:36] *** jsoverson has joined #angularjs
[19:36:44] *** ckboii89 has quit IRC
[19:36:46] *** jplussier has left #angularjs
[19:36:54] *** mcreager has joined #angularjs
[19:37:16] *** AlexAbraham has quit IRC
[19:37:20] *** jsoverson has quit IRC
[19:37:25] <jaawerth> so for example, if you did <my-directive my-function="someFunc"> on the directive, you could then do template: <select blahblah ng-change='someFunc()'>
[19:38:03] *** jsoverson has joined #angularjs
[19:38:10] *** TheAceOfHearts has joined #angularjs
[19:38:10] *** niall_obrien has quit IRC
[19:38:33] *** senayar has quit IRC
[19:38:44] *** caitp has joined #angularjs
[19:38:50] *** Nijikokun has quit IRC
[19:39:13] <okdamn> guys how can i get this to work without the <script> views? http://codepen.io/anon/pen/ilsHA
[19:39:15] *** jsoverson has quit IRC
[19:39:23] *** wallerdev has joined #angularjs
[19:39:34] <Sijdesign> any one using Gulp ?
[19:39:52] *** mennea has joined #angularjs
[19:39:56] *** jsoverson has joined #angularjs
[19:40:27] <davek> Of all the things, there appear to be absolutely zero guides on how to handle user avatar uploading with node...
[19:40:42] <Sna4x8> jaawerth: But then is someFunc hard coded in the directive?
[19:41:02] *** CptChaos has joined #angularjs
[19:41:07] *** Tidwell has joined #angularjs
[19:41:34] *** jsoverson has quit IRC
[19:41:57] *** ngbot has joined #angularjs
[19:41:57] <ngbot> [angular.js] IgorMinar force-pushed master from 14e3ba8 to 8bc2667: http://git.io/eb2NaA
[19:41:57] *** ngbot has left #angularjs
[19:42:00] <jaawerth> Sna4x8: well, if you want to change the actual function that runs dynamically during runtime that's going to be a slightly different can of worms, but in general I wouldn't code for that unless you knwo ahead of time that you HAVE to
[19:42:11] <\du> hey easy question, it is possible to access to the scope of a directive that i am using in other directive with require?
[19:42:15] *** jsoverson has joined #angularjs
[19:42:29] *** cmoneylulz has joined #angularjs
[19:42:30] *** mdix has quit IRC
[19:42:31] *** wafflejock_ has joined #angularjs
[19:43:30] *** jsoverson has quit IRC
[19:43:47] *** caitp has quit IRC
[19:43:56] <Sijdesign> should i load angularjs in the footer or header ?
[19:43:57] *** cctom has quit IRC
[19:44:09] *** jsoverson has joined #angularjs
[19:44:52] *** slobo_ is now known as slobo
[19:45:16] *** mdix has joined #angularjs
[19:45:24] *** da_wunde1 has joined #angularjs
[19:45:25] <thebigredgeek> Question: Does anyone know of a
[19:45:28] *** cctom has joined #angularjs
[19:45:29] <thebigredgeek> standard library in JS?
[19:45:41] <gnarMatix> Sijdesign http://stackoverflow.com/questions/16391348/why-put-javascript-in-the-footer-of-a-page
[19:45:55] *** jsoverson has quit IRC
[19:46:00] *** roolo has quit IRC
[19:46:00] *** djam90 has joined #angularjs
[19:46:18] <gnarMatix> thebigredgeek standard library for what
[19:46:32] <thebigredgeek> every other language has stdlib
[19:46:37] *** jsoverson has joined #angularjs
[19:46:40] <thebigredgeek> I am hoping there is an open source project for something like that in JS
[19:46:46] *** pdillinger1 has joined #angularjs
[19:46:52] <thebigredgeek> seems ridiculous that I have to manually do time zone conversions, etc
[19:47:04] *** eperez has quit IRC
[19:47:11] <Sijdesign> okay gnarMatix
[19:47:26] *** ngbot has joined #angularjs
[19:47:26] <ngbot> [angular.js] IgorMinar force-pushed master from 8bc2667 to 36831ec: http://git.io/eb2NaA
[19:47:26] <ngbot> angular.js/master cb42766 Caitlin Potter: fix(parseKeyValue): ignore properties in prototype chain....
[19:47:26] <ngbot> angular.js/master 0a51a05 Bill Neubauer: docs(tutorial/step-9): link to list of filters rather than filterProvider...
[19:47:26] <ngbot> angular.js/master af6f943 Kevin Brogan: fix(input): modify email validation regexp to match rfc1035...
[19:47:26] *** ngbot has left #angularjs
[19:47:29] *** snurfery has joined #angularjs
[19:47:42] *** da_wunder has quit IRC
[19:47:44] <Sijdesign> are you guys using chrome when coding angularjs ? because i see more error log in safari
[19:47:51] *** jsoverson has quit IRC
[19:47:55] <gnarMatix> thebigredgeek not really related to this channel
[19:48:12] *** Alina-malina has quit IRC
[19:48:16] <thebigredgeek> Lol I know this. I basically live in here. I was just asking
[19:48:28] *** Tomdarkness has quit IRC
[19:48:31] *** eperez has joined #angularjs
[19:48:32] *** jsoverson has joined #angularjs
[19:49:09] <gnarMatix> thebigredgeek aha k. have you looked at moment? http://stackoverflow.com/questions/15347589/moment-js-format-date-in-a-specific-timezone
[19:49:10] *** Serdar has joined #angularjs
[19:49:25] *** sharondio has quit IRC
[19:49:32] *** Schtive has quit IRC
[19:49:33] <thebigredgeek> Yes I have used that. But what I want is a standard library. It seems like this should have already been built for JS :(
[19:49:48] *** jsoverson has quit IRC
[19:49:50] <thebigredgeek> Every other mature language has a standard library. It seems like with modern web apps there should be one IMO
[19:50:24] <Sijdesign> http://cl.ly/image/2W3g0w3b2D3M if my folder structure is this, do i need to change my app.js to load the controller?
[19:50:30] *** jsoverson has joined #angularjs
[19:50:49] *** mmitchell has quit IRC
[19:50:51] *** mindlace has quit IRC
[19:51:02] *** pdillinger1 has quit IRC
[19:51:15] *** jsoverson has quit IRC
[19:51:26] <reduce> i have a problem where i need to keep another property in sync with the ngModel value inside my custom directive
[19:51:36] *** mmitchell has joined #angularjs
[19:51:38] <reduce> ive got this so far http://plnkr.co/edit/8FiNO7spCfcMz7migQEG
[19:51:52] *** jsoverson has joined #angularjs
[19:51:58] *** djam90_1 has joined #angularjs
[19:52:16] *** amedia has quit IRC
[19:52:19] *** tomzx`afk is now known as tomzx
[19:52:22] <reduce> before i made my custom directive the code simply was ng-change="otherProperty = propUsedByModel"
[19:52:28] *** tschundeee has quit IRC
[19:52:52] <gnarMatix> thebigredgeek meh, i like that you can pick and choose what you want to use. js is a jungle.
[19:53:03] *** tschundeee has joined #angularjs
[19:53:09] *** jsoverson has quit IRC
[19:53:19] <reduce> in my directive i could use the code ng-change="otherProperty = ngModel", BUT i dont want to run that code if no other property to sync to is specified by the user
[19:53:43] *** mdix has quit IRC
[19:53:46] *** jsoverson has joined #angularjs
[19:53:49] <reduce> so i wrote code in the link function as per plunkr, which syncs the values if the prop is present
[19:54:20] *** edzez_ has quit IRC
[19:54:30] *** rinceRepeat has joined #angularjs
[19:54:31] <reduce> the problem though is if the property doesnt actually exist, while angular creates it automatically when used in ngChange, my code doesnt create it
[19:54:36] *** Notte has joined #angularjs
[19:54:42] *** nemothekid has quit IRC
[19:54:55] <reduce> again, its clearer by looking at the plunkr
[19:55:09] *** Milanito has quit IRC
[19:55:27] *** jsoverson has quit IRC
[19:55:35] *** mindlace has joined #angularjs
[19:55:42] *** djam90 has quit IRC
[19:55:51] *** wxo has joined #angularjs
[19:56:06] *** jsoverson has joined #angularjs
[19:56:10] *** D-Boy has quit IRC
[19:56:15] *** Snugug has joined #angularjs
[19:56:26] *** Alina-malina has joined #angularjs
[19:56:29] <Sijdesign> http://cl.ly/image/2W3g0w3b2D3M if my folder structure is this, do i need to change my app.js to load the controller?
[19:56:36] *** conan_the_toady is now known as conan_the_destro
[19:56:37] <reduce> i think i could solve the issue by dynamically adding the ngModel attribute from the link function, but that would require compiling it within the link function, and that means my directive is compiled twice. This directive will be used a lot
[19:56:45] *** edzez has joined #angularjs
[19:56:47] *** seydoggy has quit IRC
[19:56:53] *** jsoverson has quit IRC
[19:56:54] *** okdamn has left #angularjs
[19:56:59] *** Lunchix is now known as Ownix
[19:57:20] *** seydoggy has joined #angularjs
[19:57:21] *** djam90_1 is now known as djam90
[19:57:25] *** kalusn has joined #angularjs
[19:57:34] *** tschundeee has quit IRC
[19:57:35] *** jsoverson has joined #angularjs
[19:57:39] *** Asiajey has joined #angularjs
[19:57:39] *** Asiajey has joined #angularjs
[19:57:54] *** eperez has quit IRC
[19:58:49] *** jsoverson has quit IRC
[19:58:55] *** markisonfire has joined #angularjs
[19:58:57] *** rho has quit IRC
[19:58:58] *** dbouwman has joined #angularjs
[19:59:28] *** jsoverson has joined #angularjs
[19:59:28] *** mrogne is now known as Morgon__
[20:00:09] *** Morgon__ is now known as grafi_
[20:00:17] *** AngularUI has joined #angularjs
[20:00:17] <AngularUI> [bootstrap] alukovenko opened pull request #2430: fix(dropdown): dropdown focus fix (master...master) http://git.io/04Ct5A
[20:00:17] *** AngularUI has left #angularjs
[20:00:23] *** jsoverson has quit IRC
[20:00:34] *** Snugug has quit IRC
[20:01:02] *** jsoverson has joined #angularjs
[20:01:21] *** grafi_ is now known as mrogne
[20:01:37] <mikehaas763> Is anyone familiar with any js frameworks that play well with angular for workflows?
[20:01:48] *** seydoggy has quit IRC
[20:02:10] *** hannesvdvreken has joined #angularjs
[20:02:19] *** jsoverson has quit IRC
[20:03:00] *** GeertV has joined #angularjs
[20:03:00] *** jsoverson has joined #angularjs
[20:03:14] <mikehaas763> When I say workflow, I'm saying for example, choose a option from A, enable B, choose option from B, enable C etc
[20:03:36] *** GeertV_ has joined #angularjs
[20:03:37] *** jpmcallister has quit IRC
[20:03:51] *** seydoggy has joined #angularjs
[20:03:59] *** sharondio has joined #angularjs
[20:04:15] *** jsoverson has quit IRC
[20:04:27] *** naquad has joined #angularjs
[20:04:34] *** vereteran has quit IRC
[20:04:41] *** Yahkob has quit IRC
[20:04:54] *** jsoverson has joined #angularjs
[20:05:37] *** intellix has quit IRC
[20:05:44] *** MistahKurtz has joined #angularjs
[20:06:02] *** Hackwar1 has quit IRC
[20:06:08] <ppppaul> this is something you are having trouble doing with vanila angular?
[20:06:08] *** Hackwar has joined #angularjs
[20:06:10] <ppppaul> mikehaas763,
[20:06:11] <Sijdesign> any one
[20:06:30] <Sijdesign> do i need to src="" my angularjs controller etc. ?
[20:06:35] <Sijdesign> or only the mainapp.js ?
[20:07:05] <ppppaul> Sijdesign, user grunt to concat all your stuff together
[20:07:12] <ppppaul> ng-boilerplate is what i use
[20:07:17] <ppppaul> i don't have to worry about that stuff anymore
[20:07:17] *** GeertV has quit IRC
[20:07:21] <davek> That is precisely what angular does, what are you looking for exactly?
[20:07:40] <Sijdesign> ahh thanks ppppaul i will see if i can find it to gul
[20:07:42] <Sijdesign> gulp
[20:08:19] *** seydoggy has quit IRC
[20:08:20] *** theogravity has joined #angularjs
[20:08:21] *** Johnny13371337 has joined #angularjs
[20:08:23] *** mdix has joined #angularjs
[20:08:30] *** Johnny13371337 has left #angularjs
[20:08:34] *** Yahkob has joined #angularjs
[20:08:55] <jaawerth> Sijdesign: I'm not super experience with gulp but it certainly has plugins for concat and minification/uglification (otherwise it'd be totally non-viable as an alternative to grunt)
[20:09:00] <jaawerth> experienced*
[20:09:13] <theogravity> Hi, I have a PR on Protractor and was wondering if there was someone who could look at it and let me know if it's pull-able or not/why?
[20:09:25] *** mikehaas763 has left #angularjs
[20:09:48] *** seydoggy has joined #angularjs
[20:11:07] *** Sijdesign has quit IRC
[20:12:35] *** sixr420 has quit IRC
[20:12:40] *** nicholaswyoung has joined #angularjs
[20:13:45] *** mfunkie has quit IRC
[20:13:59] *** zumba_addict has joined #angularjs
[20:14:05] <zumba_addict> anyone here using bootstrap datepicker?
[20:14:26] *** feelfine_ has quit IRC
[20:15:17] *** quantax- has quit IRC
[20:15:31] <ppppaul> i like grunt... declarative for the win, even if grunt has some failings...
[20:15:48] <ppppaul> ng-boilerplate is pretty nice, though
[20:15:57] <ppppaul> even though it's dead
[20:16:06] <reduce> can i compile arbitrary code within a link function and have it execute under the scope?
[20:16:10] *** mfunkie has joined #angularjs
[20:16:17] *** D-Boy has joined #angularjs
[20:16:19] <ppppaul> compile???
[20:16:31] <ppppaul> wrong language
[20:16:33] *** hannesvdvreken has quit IRC
[20:16:36] <reduce> ppppaul: are you familiar with angular?
[20:16:45] <ppppaul> %_%
[20:16:46] <reduce> it has a notion of compilation
[20:16:48] *** luisbug has joined #angularjs
[20:16:53] *** Snugug has joined #angularjs
[20:16:53] *** hannesvdvreken has joined #angularjs
[20:16:59] *** seydoggy has quit IRC
[20:16:59] <ppppaul> well, it has the compile service
[20:17:14] <ppppaul> but, that is dealing with template transformations
[20:17:47] *** luisbug has quit IRC
[20:17:55] <ppppaul> if you are using $compile in your link, then maybe it's easier to user the compile keyword for directives
[20:17:55] *** k-dawg has quit IRC
[20:18:17] *** seydoggy has joined #angularjs
[20:18:30] <ppppaul> however, yes you can do what you are saying
[20:18:37] *** ckboii89 has joined #angularjs
[20:18:41] *** alanp_ has joined #angularjs
[20:18:49] *** rbs has quit IRC
[20:18:53] *** pencilcheck has quit IRC
[20:18:54] <ppppaul> $compile gives back a function that accepts a scope? like $interpolate?
[20:19:23] *** arek_at_work has quit IRC
[20:19:26] *** pencilcheck has joined #angularjs
[20:19:44] *** bejames has quit IRC
[20:20:06] <reduce> hrm, that could solve my problem, let the rafactoring begin!
[20:20:08] *** mmitchell has quit IRC
[20:20:14] <reduce> *refactoring
[20:20:21] *** steff has quit IRC
[20:20:24] *** GeertV_ has quit IRC
[20:20:29] *** Sebastien-L has quit IRC
[20:20:32] <reduce> oh, before that, ppppaul, can you tell me about the compile keyword?
[20:21:19] <reduce> is this the one thats used as an attribute on the directive in html? I saw someone use that online, but could not find the docs for it
[20:21:35] *** alanp has quit IRC
[20:21:37] <reduce> i presumed they had used it incorrectly
[20:21:44] <ppppaul> https://docs.angularjs.org/api/ng/service/$compile?_escaped_fragment_=
[20:21:57] *** mmitchell has joined #angularjs
[20:21:59] <ppppaul> https://docs.angularjs.org/api/ng/service/$compile
[20:22:16] <ppppaul> in this doc they ask not to use $compile directly
[20:22:24] *** cctom has quit IRC
[20:22:38] *** alanp_ is now known as alanp
[20:22:41] <ppppaul> the compile keyword on the directive can return a link function(s)
[20:23:01] <reduce> oh yes i know that one
[20:23:59] *** pencilcheck has quit IRC
[20:24:13] *** Nijikokun has joined #angularjs
[20:24:35] *** DoubleAW has quit IRC
[20:24:40] <reduce> using that would in theory would nearly solve my issue, i could modify the dom (adding the appropriate ng-change with expression), but i read that doesnt work within ngrepeat
[20:24:58] *** DoubleAW has joined #angularjs
[20:24:59] *** foofoobar has joined #angularjs
[20:25:02] <reduce> sorry that comment wasnt very clear
[20:25:10] *** patrickc_ has joined #angularjs
[20:25:48] <reduce> basically, sometimes i may want to use my directive within an ngrepeat block
[20:25:49] <ppppaul> you may want to look at the source code for ng-change
[20:25:53] <ppppaul> it's like 1 line
[20:25:56] *** bsmithgall has quit IRC
[20:25:57] *** nemothekid has joined #angularjs
[20:26:03] *** cctom_ has joined #angularjs
[20:26:05] <TheAceOfHearts> oh wow, did you guys see angular material? so sexy
[20:26:15] <ppppaul> link me
[20:26:16] *** marthinal has joined #angularjs
[20:26:21] <TheAceOfHearts> https://material.angularjs.org/#/component/material.components.button
[20:26:33] <reduce> ppppaul: i need the functionality where it creates referenced properties if they are undefined
[20:26:34] *** \du has quit IRC
[20:26:50] <trippo> TheAceOfHearts: Oh my - is that production ready ?
[20:26:57] <TheAceOfHearts> not yet, no
[20:27:05] *** pheze has joined #angularjs
[20:27:07] <TheAceOfHearts> well, it depends on what you consider production ready :P
[20:27:12] <trippo> hehe
[20:27:14] <Foxandxss> TheAceOfHearts: that is cool
[20:27:50] <TheAceOfHearts> indeed
[20:28:11] <Foxandxss> uh wait
[20:28:12] <trippo> I wonder what the device compatibility will be.
[20:28:13] <Foxandxss> offical
[20:28:14] <pheze> Hi! Is there a way to return a promise always fullfilling? I.e. .then(function() { if (something) { return $http...; } else { return ???; } } and ??? would just be always succeeding
[20:28:16] <Foxandxss> official*
[20:28:23] <Foxandxss> not third party
[20:28:28] * Foxandxss really happy
[20:28:30] <pheze> Is $q.when() the right way for this?
[20:28:41] <reduce> ahhh, scope.eval may be what i want
[20:29:56] <Zerot> pheze: you can just return a value there
[20:30:22] <pheze> oh.. sweet
[20:30:27] <pheze> thanks
[20:30:27] <trippo> So why can't I even have a loading screen in my app without having a lot of delay between user interaction (click) and the loading overlay shows?
[20:30:34] *** tilgovi has joined #angularjs
[20:30:52] <trippo> I can't help but feel there is something fundamentally wrong with my app that makes it behave like shit on iphone 4 etc (older mobile devices)
[20:30:57] <Zerot> trippo: depends on your code
[20:30:59] *** mglvl has joined #angularjs
[20:31:09] <trippo> Zerot: Ofcourse hehe - I was just throwing out my frustration.
[20:31:17] <reduce> or parse
[20:31:29] <ppppaul> material looks cool
[20:31:48] <trippo> Can't show any of the code without breaking confidentiality agreements.. but I could try to explain what I'm doing.
[20:32:33] *** pencilcheck has joined #angularjs
[20:32:34] <Foxandxss> this material thingy is a good stab to angular-strap ui-bootstrap imho
[20:32:38] <trippo> So, basically - I'm building an app based on Onsen UI (angularjs, topcoat, fastclick, modernizr etc). I'm using the built in navigation in Onsen. I get really bad responsiveness from clicks (taps) in.
[20:32:46] <zumba_addict> has anyone configured datetimepicker to only display month and not the dates?
[20:32:47] *** tschundeee has joined #angularjs
[20:33:08] <ppppaul> trippo, make a plunker... you can write everything from scratch to convey your problem
[20:33:11] <trippo> Some views (without containing anything complex - for what I can see) take like 1-2 sec to render.
[20:33:34] *** ceephax has joined #angularjs
[20:33:41] *** chexxor has joined #angularjs
[20:34:23] *** InezK is now known as InezK_away
[20:35:20] <trippo> ppppaul: I'll try that - but the issue only appears on older android devices and like iphone 4.
[20:35:20] *** seydoggy has quit IRC
[20:35:34] *** InezK_away is now known as InezK
[20:35:54] *** seydoggy has joined #angularjs
[20:36:12] *** wallerdev has quit IRC
[20:36:22] <slecuyer> is there a way to get protractor to run more than one config file in a job?
[20:36:29] *** iateadonut has joined #angularjs
[20:36:34] *** foofoobar has quit IRC
[20:36:52] *** nfroidure_ has quit IRC
[20:37:04] *** apetro_ has joined #angularjs
[20:37:13] *** lsiv568 has quit IRC
[20:37:37] <gnarMatix> where can i configure rootscope?
[20:38:03] <gnarMatix> the only place i've seen so far is angular.module(...).run( )
[20:38:29] *** xaxisx has quit IRC
[20:38:46] <lewix> $scope.$watch('foo', function(newVal, oldVal) {
[20:38:46] <lewix> console.log(newVal, oldVal);
[20:38:46] <lewix> });
[20:38:49] *** wallerdev has joined #angularjs
[20:38:57] *** vbabiy has joined #angularjs
[20:39:06] *** mmitchell has quit IRC
[20:39:20] <lewix> how to set the model value through watch
[20:39:27] <trippo> Being a angularjs noob - but does this seem bad - https://www.dropbox.com/s/vyvsljzx5fwdxa2/Screenshot%202014-07-08%2020.39.16.png ?
[20:39:34] <lewix> i tried oldVal.value = something
[20:39:35] *** caitp has joined #angularjs
[20:39:36] <trippo> Service dependencies.
[20:39:42] *** cmoneylulz has quit IRC
[20:39:45] *** Daven_ has joined #angularjs
[20:39:50] <Foxandxss> gnarMatix: configure $rootScope?
[20:40:17] <gnarMatix> Foxandxss https://github.com/angular-ui/ui-router/wiki#state-change-events
[20:40:21] *** seydoggy has quit IRC
[20:40:34] <gnarMatix> Foxandxss I want to put them in a config-like file.. I have all my configs in /config
[20:40:43] *** tschundeee has quit IRC
[20:40:48] <Foxandxss> you can put those events where you want
[20:40:53] <Foxandxss> normally a .run is the best place
[20:41:00] <davek> Has anyone at all had any success setting up user image uploads with angular+node?
[20:41:15] <gnarMatix> Foxandxss are you familiar with ui.router? Do you know if I can validate query string params in states?
[20:41:15] *** thedodd has joined #angularjs
[20:41:24] <Foxandxss> not much
[20:41:29] *** cmoneylulz has joined #angularjs
[20:42:08] *** nemothekid has quit IRC
[20:42:52] *** Schtive has joined #angularjs
[20:42:57] *** cthrax has quit IRC
[20:43:04] *** mehlah has quit IRC
[20:43:43] <lewix> Foxandxss, ?
[20:44:23] *** caitp has quit IRC
[20:44:25] <Foxandxss> ?
[20:44:40] *** mmitchell has joined #angularjs
[20:45:22] *** _SjG_ has joined #angularjs
[20:45:38] *** Fishy__ has quit IRC
[20:45:39] *** Nizumzen has quit IRC
[20:46:02] *** Fishy has joined #angularjs
[20:46:10] *** foofoobar has joined #angularjs
[20:46:47] <TheAceOfHearts> gnarMatix: yes
[20:47:06] <gnarMatix> TheAceOfHearts: YES!
[20:47:11] <gnarMatix> TheAceOfHearts: yes what?
[20:47:15] *** sixr420 has joined #angularjs
[20:47:17] <TheAceOfHearts> just do it in the resolve function
[20:47:22] <TheAceOfHearts> validating query strings
[20:47:27] <gnarMatix> TheAceOfHearts: I'm trying right now
[20:47:33] <gnarMatix> TheAceOfHearts: it's not working
[20:47:48] <gnarMatix> TheAceOfHearts: like.. the validation is. But i've also injected $state, and $state.go fires but does nothing?
[20:47:50] *** pdillinger1 has joined #angularjs
[20:47:50] <TheAceOfHearts> just return a rejected promise
[20:48:14] <gnarMatix> TheAceOfHearts: can you explain what that will do?
[20:48:27] <TheAceOfHearts> it will cause the state transition to fail
[20:48:28] *** lordkryss has quit IRC
[20:48:32] <TheAceOfHearts> so you can do something else
[20:48:49] *** msafi has quit IRC
[20:48:54] <gnarMatix> TheAceOfHearts: Okay so if it fails, will it fall back to the default?
[20:48:54] *** schonert has quit IRC
[20:49:01] <TheAceOfHearts> uhhh
[20:49:03] *** chrisbirk has quit IRC
[20:49:03] *** patrickc_ has quit IRC
[20:49:04] <TheAceOfHearts> no
[20:49:07] <TheAceOfHearts> you need to handle that
[20:49:19] <TheAceOfHearts> just set a listener to stateChangeFailure or w/e
[20:49:23] *** lordkryss has joined #angularjs
[20:49:30] *** bsmithgall has joined #angularjs
[20:49:31] <gnarMatix> TheAceOfHearts: Ah alright
[20:49:31] <TheAceOfHearts> and do the according state change
[20:49:43] *** JosephSilber has quit IRC
[20:49:43] *** msafi has joined #angularjs
[20:49:44] *** patrickc_ has joined #angularjs
[20:50:01] <gnarMatix> TheAceOfHearts: Well maybe I could just do the validation in a $rootScope.on('stateChagneStart')
[20:50:11] <gnarMatix> TheAceOfHearts: Is there no regex validation of query strings?
[20:50:15] <TheAceOfHearts> I'm gonna go scavenge for food
[20:50:34] <TheAceOfHearts> I'd do it in the resolve function because it's part of a specific route
[20:50:38] <gnarMatix> TheAceOfHearts: i.e. similar to url param validation?
[20:50:41] <TheAceOfHearts> I dunno
[20:50:46] *** juampy has quit IRC
[20:50:50] <gnarMatix> TheAceOfHearts: ight. i'm gonna go scratch my nuts some more
[20:50:53] <TheAceOfHearts> brb food
[20:50:55] <gnarMatix> TheAceOfHearts: thx for the help <3
[20:50:57] <TheAceOfHearts> <3
[20:52:00] *** nagappan has quit IRC
[20:52:05] *** pdillinger1 has quit IRC
[20:52:14] <davek> How about image cropping, has anyone handled image cropping via angular successfully? I feel like I'm in completely uncharted territory.
[20:52:19] *** kennbrodhagen has joined #angularjs
[20:52:30] *** schonert has joined #angularjs
[20:52:31] *** nagappan has joined #angularjs
[20:52:41] <_SjG_> I'm trying to wrap a $routeProvider resolve in a function that adds another promise to the list that need to be resolved. http://jsfiddle.net/Bn3hb/ can someone show me the error of my ways?
[20:53:14] *** Ymesio has quit IRC
[20:53:24] *** krawchyk_ has joined #angularjs
[20:53:54] *** JmZ_ is now known as JmZ
[20:53:57] *** patrickc_ has quit IRC
[20:54:15] *** Yahkob has quit IRC
[20:54:34] <_SjG_> sorry, fixed some typos in that. http://jsfiddle.net/Bn3hb/2/
[20:54:45] *** krawchyk has quit IRC
[20:54:54] *** MacWinne_ has quit IRC
[20:55:23] *** superplu_ has quit IRC
[20:55:52] *** superplussed has joined #angularjs
[20:56:39] *** Yahkob has joined #angularjs
[20:56:44] *** kennbrodhagen has quit IRC
[20:56:49] *** xaxisx has joined #angularjs
[20:57:41] *** terrykfwong has joined #angularjs
[20:58:06] *** lsiv568 has joined #angularjs
[20:58:30] *** pushpak has joined #angularjs
[20:59:21] *** LossFor has quit IRC
[20:59:50] *** LossFor has joined #angularjs
[20:59:57] *** Dalsass_mobi has quit IRC
[21:00:14] *** danizord has quit IRC
[21:00:27] *** Milanito has joined #angularjs
[21:00:35] *** superplussed has quit IRC
[21:00:49] *** mmitchell has quit IRC
[21:00:50] *** LossFor has quit IRC
[21:01:27] *** wxo has quit IRC
[21:01:38] *** mennea has quit IRC
[21:01:42] *** daslicht has quit IRC
[21:02:57] *** lsiv568 has quit IRC
[21:03:09] *** seydoggy has joined #angularjs
[21:03:20] *** nanoyak has quit IRC
[21:04:20] *** eperez has joined #angularjs
[21:05:03] *** naneau has quit IRC
[21:05:20] *** dutis has joined #angularjs
[21:05:26] <gnarMatix> TheAceOfHearts: how do you return a rejected promise?
[21:05:32] *** eperez has joined #angularjs
[21:05:32] *** dorable has left #angularjs
[21:05:41] *** whunt has quit IRC
[21:05:55] *** Nek has quit IRC
[21:06:04] <gnarMatix> TheAceOfHearts: return $q.reject('blah')
[21:06:31] <Foxandxss> you reject the promise
[21:06:33] <Foxandxss> errr
[21:06:35] <Foxandxss> return the promise
[21:06:44] *** nihi|ist has quit IRC
[21:06:47] *** mmitchell has joined #angularjs
[21:06:53] *** racicot has quit IRC
[21:07:05] <gnarMatix> Foxandxss: reject the returned promise?
[21:07:10] <gnarMatix> Foxandxss: return the promised rejection?
[21:07:20] *** chexxor_ has joined #angularjs
[21:07:24] *** cmoneylulz has quit IRC
[21:07:30] *** hubertus_ has joined #angularjs
[21:07:33] *** richard__ has quit IRC
[21:07:45] *** momomomomo has quit IRC
[21:07:56] *** nihi|ist has joined #angularjs
[21:08:08] *** Milanito has quit IRC
[21:08:19] <Foxandxss> you create a defer
[21:08:20] *** kcccccc has quit IRC
[21:08:22] <Foxandxss> and you return it
[21:08:33] <Foxandxss> errr
[21:08:34] *** The_HunterT has quit IRC
[21:08:39] <Foxandxss> you create a defer and return its promise
[21:08:43] <gnarMatix> Foxandxss: errrrrr does that reject itt though?
[21:08:47] <Foxandxss> you can reject it
[21:08:48] <gnarMatix> Foxandxss: I want rejection
[21:08:50] *** hswolff has quit IRC
[21:08:55] *** Milanito has joined #angularjs
[21:08:58] <gnarMatix> Foxandxss: this is for $state.resolve
[21:09:01] *** Milanito has quit IRC
[21:09:05] <gnarMatix> Foxandxss: I want to reject the state transition
[21:09:06] <Foxandxss> var defer = $q.defer();
[21:09:08] *** racicot has joined #angularjs
[21:09:08] <Foxandxss> defer.reject();
[21:09:11] <Foxandxss> return defer.promise;
[21:09:13] *** racicot has left #angularjs
[21:09:20] *** JoshGlzBrk has joined #angularjs
[21:09:25] <gnarMatix> Foxandxss: mercyyy
[21:09:27] <gnarMatix> Foxandxss: merci*
[21:10:29] *** The_HunterT has joined #angularjs
[21:10:32] *** vinhbachsy has quit IRC
[21:10:40] *** terrykfwong has quit IRC
[21:11:06] *** superplussed has joined #angularjs
[21:11:13] *** Willow has joined #angularjs
[21:11:41] *** hubertus_ has quit IRC
[21:12:31] *** arizzo has joined #angularjs
[21:12:34] *** CptChaos has quit IRC
[21:12:43] *** ehynds has quit IRC
[21:14:29] *** niftylettuce_ has quit IRC
[21:14:44] *** Aliks has quit IRC
[21:14:53] *** scmx has joined #angularjs
[21:15:04] *** superplussed has quit IRC
[21:15:09] *** The_HunterT has quit IRC
[21:15:48] *** richardbaker has joined #angularjs
[21:15:54] *** jbourassa has joined #angularjs
[21:16:04] *** hswolff has joined #angularjs
[21:16:13] *** mennea has joined #angularjs
[21:16:20] *** thebigredgeek has quit IRC
[21:16:24] *** Aliks has joined #angularjs
[21:16:40] *** vianch has joined #angularjs
[21:16:44] *** newcode has quit IRC
[21:16:46] *** The_HunterT has joined #angularjs
[21:17:00] *** dariocravero has quit IRC
[21:17:09] *** vianch has quit IRC
[21:17:24] *** markisonfire has quit IRC
[21:19:02] <reduce> so the solution to my problem was simple
[21:19:12] <reduce> super duper duper simple
[21:19:43] <gnarMatix> reduce: the simplest?
[21:19:58] <reduce> i have an isolated scope: { prop: '=' }
[21:20:07] *** superplussed has joined #angularjs
[21:20:20] *** Notte has quit IRC
[21:20:37] <reduce> i was doing an if (scope.prop === undefined) check to see if the user had supplied a bound property
[21:21:00] *** Aliks has quit IRC
[21:21:10] <reduce> only that was returning true both when the user didnt supply the attribute and when the property the user supplied was undefined
[21:21:38] <reduce> it makes me wonder what kind of magic is going on in angular that that can be
[21:22:21] *** cmoneylulz has joined #angularjs
[21:22:45] *** mmitchell has quit IRC
[21:23:13] <gnarMatix> ?
[21:23:15] <gnarMatix> how is that magic
[21:23:35] <gnarMatix> undefined === undefined --> true
[21:24:02] <reduce> but there are 2 kinds of undefined
[21:24:03] *** eperez has quit IRC
[21:24:08] *** encryptd_fractl has quit IRC
[21:24:26] <reduce> 1 where the user didnt supply a value, and one where the property the user supplied is undefined
[21:24:27] <ojacobson> The other kind is where scope has no field named prop
[21:24:36] *** superplussed has quit IRC
[21:24:36] *** moritzs has quit IRC
[21:24:47] <reduce> *bound property
[21:25:35] *** encryptd_fractl has joined #angularjs
[21:25:46] *** subnl has quit IRC
[21:25:53] *** nihi|ist has quit IRC
[21:26:01] *** nakkor has joined #angularjs
[21:27:21] *** Ymesio has joined #angularjs
[21:27:22] <nakkor> Could anyone take a look at this plunkr of a callback on a directive? It is like 10 lines, but I can't get it to work. http://plnkr.co/edit/LCiNNRbNv6eTXd7BQcFp?p=preview
[21:27:52] *** newcode has joined #angularjs
[21:27:53] <reduce> i presume javascript objects have a means to handle events for arbitrary property lookup, adding and setting
[21:28:26] *** jstroem has quit IRC
[21:28:31] *** Daven_ has quit IRC
[21:28:32] *** nihi|ist has joined #angularjs
[21:28:55] *** apetro__ has joined #angularjs
[21:29:17] *** harshitladdha93 has joined #angularjs
[21:29:42] <harshitladdha93> is there a way to bypass the $routeProvider
[21:30:09] *** mdix has quit IRC
[21:30:11] *** foofoobar has quit IRC
[21:30:29] *** fedenunez has quit IRC
[21:30:46] <harshitladdha93> like on my node server I have a couple of routes for which a new view has to be loaded, but if I have $routeProvider it changes the default template for that route and the actual new view is not loaded for that route
[21:30:56] <harshitladdha93> can anyone help me with this here
[21:31:10] *** RobinBAwesome has quit IRC
[21:31:22] *** schonert has quit IRC
[21:31:38] *** subnl has joined #angularjs
[21:32:03] *** beckyconning__ has quit IRC
[21:32:12] *** newcode has quit IRC
[21:32:20] *** apetro_ has quit IRC
[21:33:03] *** nihi|ist has quit IRC
[21:33:06] *** shacklef_ has quit IRC
[21:33:07] *** jsoverson has quit IRC
[21:33:07] *** olveraricardo72 has joined #angularjs
[21:33:08] *** rho has joined #angularjs
[21:33:08] *** rho has joined #angularjs
[21:33:22] <reduce> nakkor: camel case scope properties need to be supplied in snake case when used as an attribute
[21:33:39] <reduce> try <hello-world on-load-callback="myCallback(arg1)"></hello-world>
[21:33:42] *** encryptd_fractl has quit IRC
[21:33:47] *** sharondio has quit IRC
[21:34:08] *** encryptd_fractl has joined #angularjs
[21:34:09] *** lsiv568 has joined #angularjs
[21:35:03] *** nihi|ist has joined #angularjs
[21:35:39] *** DrMabuse has quit IRC
[21:35:48] <ckboii89> can someone explain to me definig a service a in angular?
[21:35:57] <ckboii89> *sorry for bad grammar
[21:36:18] *** harshitladdha93 has quit IRC
[21:36:18] *** DrMabuse has joined #angularjs
[21:36:20] <ckboii89> the benefit/point of defining a service
[21:36:31] <snapwich> code reuse
[21:36:37] <snapwich> that was easy
[21:36:37] <nakkor> reduce: thanks! that worked. Any idea why the method arg is still not coming back?
[21:36:38] <reduce> it helps make your app modular
[21:36:41] *** tschundeee has joined #angularjs
[21:36:42] *** jkremser has joined #angularjs
[21:36:42] *** jkremser has joined #angularjs
[21:37:03] <reduce> nakkor: where have you set arg1?
[21:37:08] *** shackleford has joined #angularjs
[21:37:17] <reduce> nakkor: did you mean to pass 'arg1'
[21:37:18] <reduce> ?
[21:37:27] *** elxa has quit IRC
[21:38:35] <nakkor> reduce: isn't it passed in on line 20 of script.js?
[21:39:05] <reduce> nakkor: on line 20 you pass a variable called arg1
[21:39:29] <reduce> you have not defined that variable from what i can see
[21:39:50] *** jstroem has joined #angularjs
[21:39:53] <nakkor> reduce: isn't arg1 the signature, not the variable? Obviously I must be missing something
[21:40:08] *** Yahkob has quit IRC
[21:40:31] *** caitp has joined #angularjs
[21:40:33] <reduce> nakkor: sorry i had closed the tab
[21:40:42] *** DrMabuse has quit IRC
[21:41:03] *** superplussed has joined #angularjs
[21:41:06] *** Yahkob has joined #angularjs
[21:41:24] <ckboii89> ooooh ok i get it now thnkas
[21:41:26] *** slainer68_ftw has joined #angularjs
[21:41:41] <nakkor> reduce: I am embarressed by how long I have been battling why the argument isn't coming through
[21:41:42] *** ppppaul has quit IRC
[21:42:12] *** marthinal has quit IRC
[21:42:32] <reduce> nakkor: its takin gthe argument you supplied on the html page, which is a variable called arg1, if you replace it with 'wtf', it will output 'wtf'
[21:43:19] *** Yahkob has quit IRC
[21:43:30] *** bphogan is now known as bphogan_afk
[21:43:31] *** Click66___ has joined #angularjs
[21:43:45] *** jcalonso has joined #angularjs
[21:43:47] *** lsiv568 has quit IRC
[21:43:47] <nakkor> reduce: I must be so think today, could you edit that plunkr? I am just not getting it
[21:43:54] <nakkor> heh, thick*
[21:43:56] *** richardbaker has quit IRC
[21:43:58] *** jtimon has quit IRC
[21:44:19] *** mmitchell has joined #angularjs
[21:44:52] *** sharondio has joined #angularjs
[21:45:12] *** superplussed has quit IRC
[21:45:30] *** parmstig has joined #angularjs
[21:45:56] *** Zesty has joined #angularjs
[21:46:08] *** nanoyak has joined #angularjs
[21:46:16] <Zesty> What is the easiest way to make a service which is only called once? Its supposed to be for all the account settings of the current logged in user (their base currency, name, etc... stuff that only needs to load a single time when the app loads)
[21:46:23] <Zesty> it needs to fetch via $resource. im not sure where i put it though
[21:46:29] *** nanoyak has quit IRC
[21:46:30] *** eperez has joined #angularjs
[21:46:47] <Zesty> it does need to be injected into all the controllers though, because they will use the information in there in the HTML output in a controller
[21:46:49] *** nanoyak has joined #angularjs
[21:46:52] <Zesty> many different controllers*
[21:46:52] *** pencilcheck has quit IRC
[21:47:10] <parmstig> <p>{{news.PublishingPageContent}}</p> want to carve out src="http://....png" any ideas?
[21:47:23] *** caitp has quit IRC
[21:48:20] *** mzehrer_ has quit IRC
[21:48:31] <reduce> nakkor: http://plnkr.co/edit/Qu9gJXjxzX9DdSuWDeLf?p=preview
[21:48:43] *** Daven_ has joined #angularjs
[21:48:57] *** artisangoose has quit IRC
[21:49:06] *** amedia has joined #angularjs
[21:49:09] *** Efrem has quit IRC
[21:49:13] *** bphogan_afk is now known as bphogan
[21:49:26] *** Daven_ has quit IRC
[21:49:40] *** Daven_ has joined #angularjs
[21:50:05] *** superplussed has joined #angularjs
[21:51:19] <nakkor> reduce: awesome possum, progress! How would you pass a var defined in the directive link (or it's controller in a more complex example)
[21:52:01] <nakkor> ie on line 20 of script.js pass in a var there
[21:52:02] *** msafi has quit IRC
[21:53:08] *** msafi has joined #angularjs
[21:54:13] *** kalusn has quit IRC
[21:54:29] *** superplussed has quit IRC
[21:54:32] *** conner_ has joined #angularjs
[21:54:41] <reduce> nakkor: i think this is what you want http://plnkr.co/edit/zvqNaqUbLsOWGJip5RNB?p=preview
[21:55:17] <nakkor> reduce: OMG! YES!
[21:55:20] <reduce> nakkor: and thank you, ive learnt something new with that :)
[21:55:20] *** vbabiy has quit IRC
[21:55:30] *** vbabiy has joined #angularjs
[21:55:45] * reduce started angular a week and a half ago
[21:55:46] <nakkor> reduce: seriously, I spent way way too long trying to figure that out. How did you!? I couldn't find any docs on it
[21:55:46] *** markisonfire has joined #angularjs
[21:55:56] *** wilmoore has quit IRC
[21:56:03] *** tschundeee has quit IRC
[21:56:07] <nakkor> wow, congrats man! I am a mean 3 days in myself :)
[21:56:19] <reduce> lol
[21:56:47] <conner_> anyone have a favorite functional fork of batarang they can recommend? :D
[21:56:52] *** msafi has quit IRC
[21:56:53] <nakkor> that was seriously so frustrating, thanks a ton for the help brother
[21:56:54] <reduce> nakkor: i google for 'angular isolated scope &'
[21:57:09] *** da_wunder has joined #angularjs
[21:57:27] <reduce> setting the scope to an object like that creates an isolated scope for your directive
[21:57:31] *** tommmied has quit IRC
[21:57:39] *** cthrax has joined #angularjs
[21:57:53] *** msafi has joined #angularjs
[21:58:09] <reduce> when you create an isolated scope, you define what gets brought in from the parent scope as properties of the scope
[21:58:34] <ckboii89> i'm trying to use ng-grid, and i have a service that gets my json data from a rails api call. How would insert the json data into my array so my table can be built?
[21:58:42] <reduce> ie you added the property onLoadCallback: '&'
[21:59:11] *** superplussed has joined #angularjs
[21:59:13] *** Zesty has quit IRC
[21:59:17] <nakkor> *researching more*
[21:59:22] *** RobinBAwesome has joined #angularjs
[21:59:24] <gnarMatix> how does everyone manage page dependencies (i.e. build tools for js scripts) ?
[21:59:24] <reduce> now the ampersand is important too, there are 3 ways you can bring in values, and the apersand defines 1 of them
[21:59:34] <reduce> others are defined by = and @
[21:59:38] *** da_wunde1 has quit IRC
[21:59:46] *** josh-k has joined #angularjs
[22:00:29] *** krawchyk_ has quit IRC
[22:00:31] <sal1191> im using a bootstrap navbar to provide links handled via ui-router.y my <a ui-sref> tags are being scattered outside of the <ul> they are supposed to be nested in
[22:00:42] <sal1191> the result is this: http://ecdesign.co:1337
[22:00:42] *** Click66___ has quit IRC
[22:01:17] *** Click66___ has joined #angularjs
[22:01:20] <sal1191> the <a> tags are outside of the <ul>
[22:01:25] *** bade has quit IRC
[22:01:43] <sal1191> and this is not how it is in the view, for some reason the html that is rendered is very different from the view i wrote
[22:01:48] *** mac_ified has quit IRC
[22:01:48] *** arizzo has quit IRC
[22:01:54] *** whunt has joined #angularjs
[22:02:01] *** cmoneylulz has quit IRC
[22:02:23] *** arizzo has joined #angularjs
[22:02:28] *** jsoverson has joined #angularjs
[22:02:31] *** msafi has quit IRC
[22:02:49] <sal1191> the code for the view is here http://ecdesign.co:1337/index.ejs
[22:02:58] *** nihi|ist has quit IRC
[22:03:07] *** mitvok has quit IRC
[22:03:16] <gnarMatix> anyone? I'm looking for a good build process. I want to have unconcatenated, unminified dependencies & src during dev. Then for prod, have a concatenated minified src, and ideally use CDN, fallback to local minified for dependencies. Any thoughts?
[22:03:27] *** nanoyak has quit IRC
[22:03:42] *** superplussed has quit IRC
[22:03:45] *** mitvok has joined #angularjs
[22:04:01] *** arizzo_ has joined #angularjs
[22:04:04] *** mitvok has quit IRC
[22:04:05] *** nanoyak has joined #angularjs
[22:04:20] *** mmitchell has quit IRC
[22:04:32] *** spencercarnage has quit IRC
[22:04:40] *** arizzo_ has quit IRC
[22:04:59] *** arizzo_ has joined #angularjs
[22:05:05] *** mmitchell has joined #angularjs
[22:05:07] *** bealtine has quit IRC
[22:05:40] *** nakkor has quit IRC
[22:06:06] *** caitp has joined #angularjs
[22:06:37] *** pencilcheck has joined #angularjs
[22:06:39] *** DrMabuse has joined #angularjs
[22:06:43] *** parmstig has quit IRC
[22:06:45] *** arizzo has quit IRC
[22:07:02] *** lsiv568 has joined #angularjs
[22:07:12] *** whunt has quit IRC
[22:08:25] *** superplussed has joined #angularjs
[22:09:08] *** zymogens has joined #angularjs
[22:09:17] *** ingsoc has quit IRC
[22:09:57] *** Johnny- has quit IRC
[22:10:01] *** thedodd has quit IRC
[22:10:21] *** ingshtrom has quit IRC
[22:10:44] *** Daven_ has quit IRC
[22:10:58] *** TorchDragon has quit IRC
[22:11:00] *** eperez has quit IRC
[22:11:03] *** senayar has joined #angularjs
[22:11:03] *** DrMabuse has quit IRC
[22:11:04] *** lsiv568 has quit IRC
[22:11:06] *** Fishy has quit IRC
[22:11:08] *** diana has joined #angularjs
[22:11:44] *** richardbaker has joined #angularjs
[22:12:18] *** krawchyk has joined #angularjs
[22:12:27] *** Click66___ has quit IRC
[22:12:35] *** lsiv568 has joined #angularjs
[22:12:38] *** superplussed has quit IRC
[22:12:38] *** lite_ has joined #angularjs
[22:12:40] *** MuffinMan` has joined #angularjs
[22:13:02] *** Click66___ has joined #angularjs
[22:13:26] *** diana has quit IRC
[22:14:55] *** Aliks has joined #angularjs
[22:15:31] *** jstimm has quit IRC
[22:15:31] *** corban has quit IRC
[22:15:58] *** richardbaker has quit IRC
[22:16:06] *** jstimm has joined #angularjs
[22:16:17] *** Click66___ has quit IRC
[22:16:22] *** Johnny- has joined #angularjs
[22:16:36] *** thedodd has joined #angularjs
[22:16:39] *** Fishy has joined #angularjs
[22:17:12] *** tekky has quit IRC
[22:17:13] *** lsiv568 has quit IRC
[22:17:34] *** superplussed has joined #angularjs
[22:18:45] *** spencercarnage has joined #angularjs
[22:18:48] *** Daven_ has joined #angularjs
[22:18:55] *** fedenunez has joined #angularjs
[22:18:58] *** MmmmPie has quit IRC
[22:19:12] *** heidi has quit IRC
[22:19:25] *** lite_ has quit IRC
[22:19:48] *** tekky has joined #angularjs
[22:20:24] *** Fishy has quit IRC
[22:21:42] *** lordkryss has quit IRC
[22:22:11] *** superplussed has quit IRC
[22:22:42] *** RonyRun|2 has joined #angularjs
[22:22:45] *** MistahKurtz has quit IRC
[22:23:25] *** Nizumzen has joined #angularjs
[22:23:40] *** tschundeee has joined #angularjs
[22:23:47] *** waylon999 has quit IRC
[22:24:01] *** LossFor has joined #angularjs
[22:24:16] *** waylon999 has joined #angularjs
[22:24:23] *** waylon999 has quit IRC
[22:24:46] *** kalusn has joined #angularjs
[22:24:52] *** lite_ has joined #angularjs
[22:24:55] <sal1191> can anyone tell me why my ui-sref links dont work?
[22:24:58] <sal1191> trying to get ui-router to work
[22:25:01] <sal1191> http://ecdesign.co:1337
[22:25:12] *** jtimon has joined #angularjs
[22:25:37] *** btyne has quit IRC
[22:25:47] *** Ronyrun has quit IRC
[22:25:54] *** waylon999 has joined #angularjs
[22:26:35] *** Qalqi has joined #angularjs
[22:26:41] *** superplussed has joined #angularjs
[22:26:44] *** Qalqi has quit IRC
[22:27:02] *** pluma has joined #angularjs
[22:27:03] *** pluma has joined #angularjs
[22:27:08] *** RonyRun|2 has quit IRC
[22:27:36] *** apetro_ has joined #angularjs
[22:27:56] <spencercarnage> gnarMatix Grunt works great for a lot of people.
[22:28:23] <gnarMatix> spencercarnage: I'm looking for a specific build process. I use Grunt already. thx tho!
[22:28:57] *** conner_ has quit IRC
[22:29:12] *** kalusn has quit IRC
[22:29:17] <spencercarnage> So you want suggestions for how to do dev and prod tasks?
[22:29:26] *** klaut has joined #angularjs
[22:29:29] *** faviouz has joined #angularjs
[22:29:47] <gnarMatix> spencercarnage: Yes, specifically how to build index.html
[22:29:48] <gnarMatix> spencercarnage:
[22:30:01] <spencercarnage> The tasks themselves are fairly easy. It’s setting up your environment so that you serve the files you want, where you want them.
[22:30:04] *** Yahkob has joined #angularjs
[22:30:17] *** wilmoore has joined #angularjs
[22:30:18] *** xaxisx has quit IRC
[22:30:37] <gnarMatix> spencercarnage: Yeah I've got a messy build process set up right now
[22:30:45] <spencercarnage> It depends on how you create your index.html.
[22:30:57] <gnarMatix> spencercarnage: I want the following:
[22:31:04] *** tschundeee has quit IRC
[22:31:13] *** apetro__ has quit IRC
[22:31:17] *** superplussed has quit IRC
[22:31:38] <gnarMatix> spencercarnage: DEV: App src is loaded unconcatenated, unminified. Vendor js is loaded from local, unminified.
[22:31:43] *** Daven_ has quit IRC
[22:31:57] *** xaxisx has joined #angularjs
[22:32:14] <gnarMatix> spencercarnage: PROD: App src is loaded concatenated, minified. Vendor js is loaded from CDN, falling back to local minified if CDN is down
[22:32:29] *** hannesvdvreken has quit IRC
[22:32:37] *** jsoverson has quit IRC
[22:32:41] <gnarMatix> spencercarnage: Additionally, it would be nice to load vendor js files into karma conf..
[22:32:53] <gnarMatix> So obviously src is easy enough to deal with ..
[22:32:54] *** Yahkob has quit IRC
[22:33:10] *** hannesvdvreken has joined #angularjs
[22:33:16] *** jsoverson has joined #angularjs
[22:33:18] <gnarMatix> The problem is with the vendor JS
[22:33:18] *** mewm has quit IRC
[22:33:19] *** conner_ has joined #angularjs
[22:33:19] *** sharondio has quit IRC
[22:34:20] *** jsoverson has quit IRC
[22:34:58] <spencercarnage> What exactly is the problem with vendor js?
[22:35:01] *** jsoverson has joined #angularjs
[22:35:03] *** discipolo has joined #angularjs
[22:35:09] *** alinou has quit IRC
[22:35:38] *** BillCriswell has quit IRC
[22:35:54] *** superplussed has joined #angularjs
[22:36:16] *** jsoverson has quit IRC
[22:36:22] *** Daven_ has joined #angularjs
[22:36:31] *** Daven_ has quit IRC
[22:36:57] *** jsoverson has joined #angularjs
[22:37:38] *** btyne has joined #angularjs
[22:37:52] *** jsoverson has quit IRC
[22:38:03] <sal1191> can anyone tell me why the html rendered is so different from the source view
[22:38:10] <sal1191> http://ecdesign.co:1337
[22:38:18] <sal1191> view code is at http://ecdesign.co:1337/index.ejs
[22:38:24] *** sharondio has joined #angularjs
[22:38:30] <sal1191> its very simple, but for some reason the <a> tags are getting repeated outside the <li>
[22:38:32] *** jsoverson has joined #angularjs
[22:38:35] <gnarMatix> sal1191 lol you're making a game called husky hunt?
[22:38:45] <sal1191> yes haha its for my job
[22:39:05] <sal1191> the working PHP version is at
[22:39:12] *** djam90 has quit IRC
[22:39:18] <sal1191> err cant link it requires school login
[22:39:26] <gnarMatix> hahaha
[22:39:29] <gnarMatix> it's for a school???
[22:39:30] <sal1191> its a super simple internet safety trivia game :P
[22:39:36] <sal1191> yup
[22:39:37] <gnarMatix> hunting huskies
[22:39:44] <sal1191> its a scavenger hunt
[22:39:47] *** jsoverson has quit IRC
[22:39:49] <sal1191> sort of thing
[22:39:50] <gnarMatix> who in their fucking right mind would kill a husky
[22:39:53] <quan__> does this game have a lot of gore
[22:39:54] <gnarMatix> oh
[22:39:54] <gnarMatix> aha
[22:40:01] <gnarMatix> better not
[22:40:07] <sal1191> yes the rating is pending
[22:40:12] <gnarMatix> killing huskies tisk tisk
[22:40:12] *** superplussed has quit IRC
[22:40:14] *** mehlah has joined #angularjs
[22:40:15] *** Aliks has quit IRC
[22:40:17] <quan__> im assuming the huskies are hostages
[22:40:29] *** jsoverson has joined #angularjs
[22:40:33] <gnarMatix> oh
[22:40:34] <sal1191> the plot twist is
[22:40:37] <sal1191> halfway through the time
[22:40:38] <quan__> screw up and a huskie gets it
[22:40:39] <sal1191> *game
[22:40:43] <sal1191> the huskies are hunting YOU
[22:40:46] <quan__> lol
[22:40:48] <gnarMatix> hahaha
[22:41:08] *** rho has quit IRC
[22:41:10] <sal1191> but see the view gets garbled once its done rendering
[22:41:17] <sal1191> and <a ui-sref> does not work to switch the views
[22:41:26] <sal1191> so i know i am doing something wrong with ui-router altogether
[22:41:29] *** dc_ has quit IRC
[22:41:40] <sal1191> but for the time being I just want to know why my <a> tags appear outside the <li> tags like they are in teh view
[22:41:59] *** jsoverson has quit IRC
[22:42:19] <sal1191> like if you go to Inspect Element you can see what im talkin about
[22:42:29] <sal1191> some tags are repeated
[22:42:34] *** Aliks has joined #angularjs
[22:42:39] *** jsoverson has joined #angularjs
[22:43:03] *** nectarys has joined #angularjs
[22:43:24] *** jsoverson has quit IRC
[22:43:32] *** zymogens has left #angularjs
[22:43:51] *** RandomStranger has joined #angularjs
[22:44:05] *** jsoverson has joined #angularjs
[22:44:44] *** andrew9183 has joined #angularjs
[22:44:56] <andrew9183> any recommendations on how to do languages in angular
[22:44:59] *** sharondio has quit IRC
[22:45:01] *** superplussed has joined #angularjs
[22:45:05] *** nectarys has quit IRC
[22:45:20] *** jsoverson has quit IRC
[22:45:38] *** pdillinger1 has joined #angularjs
[22:45:47] *** Emperor_Earth has joined #angularjs
[22:45:59] *** jsoverson has joined #angularjs
[22:46:02] *** nemothekid has joined #angularjs
[22:46:30] *** RandomStranger- has quit IRC
[22:47:34] *** jsoverson has quit IRC
[22:47:42] *** sgnl has joined #angularjs
[22:47:46] *** sgnl has quit IRC
[22:47:49] *** lite_ has quit IRC
[22:47:58] <davek> andrew9183, do you mean i18n?
[22:48:04] *** Yahkob has joined #angularjs
[22:48:12] <sal1191> does anyone have any experience with ui-router?
[22:48:15] *** sgnl has joined #angularjs
[22:48:15] *** jsoverson has joined #angularjs
[22:48:16] <andrew9183> not exactly, moreso languages than i18n
[22:48:25] <andrew9183> i.e. header title can be in 5 different languages
[22:48:35] *** Rebirth has quit IRC
[22:48:38] <gnarMatix> andrew9183 http://angular-gettext.rocketeer.be/
[22:49:01] *** MistahKurtz has joined #angularjs
[22:49:03] <andrew9183> thanks ill check it out
[22:49:15] *** vintik has quit IRC
[22:49:29] *** jdj_dk has joined #angularjs
[22:49:30] *** jsoverson has quit IRC
[22:49:34] *** squeakytoy has quit IRC
[22:49:39] *** xaxisx has quit IRC
[22:49:47] *** superplussed has quit IRC
[22:50:00] *** tilgovi has quit IRC
[22:50:09] *** jsoverson has joined #angularjs
[22:50:21] *** patrickc_ has joined #angularjs
[22:50:29] <gnarMatix> andrew9183 it's an implementation of a standard translation tool gettext. You put the translate directive on everything you want to translate, ( <div translate>Blah blah blah</div> ) then run a grunt tool to generate .po files. .po files are standard translation files that can be used with translation software. Then, the translation software generates .po files for other languages, and they get put back into your app.
[22:50:41] *** xaxisx has joined #angularjs
[22:50:52] <gnarMatix> andrew9183 or that's my understanding of it :P I'm just learning it
[22:51:19] *** patricka_ has joined #angularjs
[22:51:55] *** jsoverson has quit IRC
[22:52:09] *** Serdar has quit IRC
[22:52:33] *** jsoverson has joined #angularjs
[22:52:52] *** MistahKurtz has quit IRC
[22:52:52] *** heidi has joined #angularjs
[22:53:03] *** Daven_ has joined #angularjs
[22:53:03] *** edrocks has joined #angularjs
[22:53:12] *** kennbrodhagen has joined #angularjs
[22:53:13] *** Rebirth has joined #angularjs
[22:53:20] *** jsoverson has quit IRC
[22:53:23] *** MistahKurtz has joined #angularjs
[22:53:36] *** theogravity has left #angularjs
[22:53:43] <edrocks> anyone using webpack with angularjs?
[22:53:57] *** jdj_dk has quit IRC
[22:53:59] *** jsoverson has joined #angularjs
[22:54:08] *** superplussed has joined #angularjs
[22:54:25] *** rho has joined #angularjs
[22:54:26] *** whunt has joined #angularjs
[22:54:43] *** harvey203 has quit IRC
[22:54:45] *** patrickc_ has quit IRC
[22:55:11] *** patrickarlt has quit IRC
[22:55:16] *** jsoverson has quit IRC
[22:55:55] *** jsoverson has joined #angularjs
[22:56:02] *** richardbaker has joined #angularjs
[22:56:07] *** cctom_ has quit IRC
[22:56:59] *** snapwich has quit IRC
[22:58:01] *** kennbrodhagen has quit IRC
[22:58:29] *** superplussed has quit IRC
[22:59:41] *** bphogan is now known as bphogan_afk
[22:59:54] *** darrin_ has quit IRC
[23:01:58] *** rabaznaz has joined #angularjs
[23:01:59] *** drej has quit IRC
[23:02:01] *** Xliff has joined #angularjs
[23:02:25] *** Tidwell has quit IRC
[23:02:30] *** eddiemonge has joined #angularjs
[23:02:56] *** jcalonso has quit IRC
[23:02:58] *** [n0b0dy] has quit IRC
[23:02:58] *** umib0zu has joined #angularjs
[23:03:08] *** [n0b0dy] has joined #angularjs
[23:03:17] *** jeffszusz has quit IRC
[23:03:19] *** superplussed has joined #angularjs
[23:03:21] *** Daven_ has quit IRC
[23:03:40] *** mewm has joined #angularjs
[23:03:41] *** Snugug has quit IRC
[23:03:49] *** rho has quit IRC
[23:04:03] *** juanlas has quit IRC
[23:04:05] *** dc_ has joined #angularjs
[23:05:42] *** pluma has quit IRC
[23:05:47] *** dc_ has quit IRC
[23:06:13] *** evilaliv3 has quit IRC
[23:06:22] *** lsiv568 has joined #angularjs
[23:07:30] *** faviouz has quit IRC
[23:07:44] *** bphogan_afk is now known as bphogan
[23:07:47] *** superplussed has quit IRC
[23:08:18] *** Gambit- has quit IRC
[23:08:29] *** mrogne has quit IRC
[23:08:59] *** zanea|away is now known as zanea
[23:09:11] *** Siecje has quit IRC
[23:09:21] *** Gambit- has joined #angularjs
[23:09:33] *** FIFOd[a] has quit IRC
[23:09:51] *** evilaliv3 has joined #angularjs
[23:09:56] *** subnl has quit IRC
[23:10:10] *** lordkryss has joined #angularjs
[23:10:16] *** bphogan is now known as bphogan_afk
[23:10:40] *** seydoggy has quit IRC
[23:11:02] *** sixr420 has quit IRC
[23:11:16] *** seydoggy has joined #angularjs
[23:12:25] *** superplussed has joined #angularjs
[23:12:49] *** patricka_ has quit IRC
[23:13:07] *** cthrax has quit IRC
[23:13:26] *** dc_ has joined #angularjs
[23:14:02] *** Tidwell has joined #angularjs
[23:14:12] *** cboden has quit IRC
[23:14:23] *** vbabiy has quit IRC
[23:15:23] *** fedenunez has quit IRC
[23:15:29] *** fedenunez has joined #angularjs
[23:15:44] *** mfunkie has quit IRC
[23:15:45] *** seydoggy has quit IRC
[23:15:57] *** dc_ has quit IRC
[23:16:05] *** edrocks has quit IRC
[23:16:25] *** patricka_ has joined #angularjs
[23:16:25] *** bphogan_afk is now known as bphogan
[23:16:42] *** superplussed has quit IRC
[23:16:45] *** JosephSilber has joined #angularjs
[23:16:56] *** iksik has quit IRC
[23:18:07] *** cigarshark has quit IRC
[23:18:24] *** mrogne has joined #angularjs
[23:18:35] *** Yahkob has quit IRC
[23:18:42] *** pdillinger1 has quit IRC
[23:18:43] <mrogne> Has anyone successfully used ononline/onoffline events? I'm having zero luck. They aren't doing crap :P
[23:18:57] *** bphogan is now known as bphogan_afk
[23:19:05] *** iksik has joined #angularjs
[23:19:17] *** evilaliv3 has quit IRC
[23:19:42] *** DuelShark has quit IRC
[23:20:30] *** rho has joined #angularjs
[23:21:00] *** vintik has joined #angularjs
[23:21:29] *** Yahkob has joined #angularjs
[23:21:37] *** superplussed has joined #angularjs
[23:22:02] *** lsiv568 has quit IRC
[23:22:21] *** bphogan_afk is now known as bphogan
[23:22:40] *** AnthonyC has quit IRC
[23:23:18] *** davek has quit IRC
[23:23:23] *** jk-5 has quit IRC
[23:23:26] *** SomeKittens has quit IRC
[23:24:35] *** bbankes has quit IRC
[23:24:44] *** jsoverson has quit IRC
[23:25:03] *** faddah has joined #angularjs
[23:25:20] *** LossFor has quit IRC
[23:25:32] *** davek has joined #angularjs
[23:25:39] *** mrogne is now known as mrogne_afk
[23:25:42] *** superplussed has quit IRC
[23:26:00] *** arkanciscan has quit IRC
[23:26:06] *** mamian has joined #angularjs
[23:26:18] *** dc_ has joined #angularjs
[23:27:01] *** dc_ has quit IRC
[23:27:17] *** dc_ has joined #angularjs
[23:27:22] *** jsoverson has joined #angularjs
[23:28:02] *** jk-5 has joined #angularjs
[23:28:08] *** shinnya has quit IRC
[23:28:21] *** balboah has quit IRC
[23:28:29] *** LossFor has joined #angularjs
[23:28:52] *** amedia has quit IRC
[23:28:56] *** morenoh149 has joined #angularjs
[23:29:10] *** davek has quit IRC
[23:29:32] *** JoshGlzBrk has quit IRC
[23:31:26] *** djam90 has joined #angularjs
[23:32:37] *** tylerjohnst has quit IRC
[23:33:01] *** xaxisx has left #angularjs
[23:33:35] *** elrabin has quit IRC
[23:34:15] *** dylukes has quit IRC
[23:34:51] *** scmx has quit IRC
[23:34:54] *** arizzo_ has quit IRC
[23:34:55] *** nicholaswyoung has quit IRC
[23:35:24] *** tilgovi has joined #angularjs
[23:35:27] *** arizzo has joined #angularjs
[23:36:00] *** shinnya has joined #angularjs
[23:36:04] *** Strues has joined #angularjs
[23:36:36] *** AnthonyC has joined #angularjs
[23:38:42] *** lewix has quit IRC
[23:38:45] *** cthrax has joined #angularjs
[23:39:04] *** mccarrontr1ck has quit IRC
[23:39:14] <Strues> I'm having some troubles trying to get my form to post to Mongodb. The actual form is posting, but its only posting the id and __v without the rest of the model schema being saved. Any ideas? I'm fairly new to learning angular
[23:39:20] *** bgerami has quit IRC
[23:39:43] *** \du has joined #angularjs
[23:39:46] *** \du has joined #angularjs
[23:40:05] *** arizzo has quit IRC
[23:40:06] *** Ethix has joined #angularjs
[23:40:30] *** TorchDragon has joined #angularjs
[23:40:47] *** Mouzi has quit IRC
[23:41:30] *** drej has joined #angularjs
[23:42:09] *** imehesz has quit IRC
[23:42:13] *** livingstn has quit IRC
[23:42:22] *** sharondio has joined #angularjs
[23:43:08] *** sigurding has joined #angularjs
[23:43:44] <gnarMatix> Strues: are you using $http ?
[23:43:49] *** yoshokatana has quit IRC
[23:44:15] <Strues> Yes I am gnar
[23:44:52] *** pdillinger1 has joined #angularjs
[23:45:12] *** MistahKurtz has quit IRC
[23:45:21] <gnarMatix> Strues: $http.post has some issues, you might have to do something hacky on mongo with it. I had to do this for Sinatra http://stackoverflow.com/questions/18228530/angularjs-posts-empty-requests
[23:46:14] <gnarMatix> Strues: Use postman to make sure the correct data is being posted https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en
[23:46:16] <Strues> Appreciate it. All Im getting it to post is "_id" : ObjectId("53bc63ed47a114fd048389f1"),
[23:46:17] <Strues> "__v" : 0
[23:46:44] *** selvait90 has quit IRC
[23:46:59] <gnarMatix> Strues: What's your code?
[23:47:01] *** Nizumzen has quit IRC
[23:47:28] *** night-owl-MBP has joined #angularjs
[23:48:02] *** hswolff has quit IRC
[23:48:03] *** AnthonyC has quit IRC
[23:48:10] *** feelfine has joined #angularjs
[23:48:52] *** vbabiy has joined #angularjs
[23:48:57] *** jtimon has quit IRC
[23:49:12] *** superplussed has joined #angularjs
[23:49:12] *** bphogan is now known as bphogan_afk
[23:49:16] <BobbieBarker> hey if you have a directive that is restricted to E, and then uses a template URL can you then target a specific piece of the template in the link function to change the clases on it?
[23:49:16] *** bsmithgall has quit IRC
[23:49:28] <BobbieBarker> or do you need a child directive to do that
[23:49:33] <gnarMatix> Strues: I've gotta run but.. check to see whether it is an issue with your usage of $http or whether its an issue of express receiving the post. In my case, it was an issue of Sinatra (the equivalent of express) receiving the POST request, because $http does it a bit weirdly. Good luck!
[23:49:35] *** Nizumzen has joined #angularjs
[23:49:46] <Strues> Thanks :D
[23:49:57] *** richardbaker has quit IRC
[23:49:58] *** mewm has quit IRC
[23:49:59] *** gnarMatix has quit IRC
[23:50:07] *** nanoyak has quit IRC
[23:50:24] *** MistahKurtz has joined #angularjs
[23:50:31] *** superplussed has quit IRC
[23:51:07] *** superplussed has joined #angularjs
[23:52:03] <BobbieBarker> anyone?
[23:52:36] *** snapwich has joined #angularjs
[23:52:39] *** pdillinger1 has quit IRC
[23:52:56] *** zumba_addict has quit IRC
[23:53:21] *** Willow has quit IRC
[23:53:47] *** Willow has joined #angularjs
[23:55:03] *** superplussed has quit IRC
[23:55:10] *** tekky has quit IRC
[23:55:12] *** mennea has quit IRC
[23:55:17] *** superplussed has joined #angularjs
[23:55:35] *** jbourassa has quit IRC
[23:55:47] *** FunnyLookinHat has quit IRC
[23:55:53] *** nemothekid has quit IRC
[23:55:54] *** InezK is now known as InezK_away
[23:55:55] *** zeroquake has quit IRC
[23:56:30] *** ojacobson has quit IRC
[23:56:36] *** jbourassa has joined #angularjs
[23:56:59] *** vbabiy has quit IRC
[23:57:07] *** Yahkob has quit IRC
[23:57:26] *** InezK_away is now known as InezK
[23:57:28] *** samana has quit IRC
[23:57:38] *** nemothekid has joined #angularjs
[23:57:59] *** schliesse has joined #angularjs
[23:58:30] *** Willow has quit IRC
[23:58:35] *** chexxor_ has quit IRC
[23:58:54] *** annlewis has quit IRC
[23:59:07] *** Yahkob has joined #angularjs
[23:59:08] *** wilmoore has quit IRC
[23:59:09] *** samhermes has quit IRC
[23:59:17] *** shacklef_ has joined #angularjs
[23:59:29] *** night-owl has quit IRC
[23:59:37] *** pluma has joined #angularjs
[23:59:38] *** arizzo has joined #angularjs
[23:59:43] *** superplussed has quit IRC
[23:59:46] *** pluma has quit IRC
[23:59:46] *** pluma has joined #angularjs
[23:59:48] *** night-owl has joined #angularjs
top

   July 8, 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 | >