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

Toggle Join/Part | bottom
[00:00:04] <dweave> davek_ i can broadcast events easily i just do’nt know how to do the timer part in an efficient manner
[00:00:10] <Grokling> Foxandxss: Not you too.. It'd be pretty easy to get disillusioned with the entire web stack by hanging around these channels. Angular is going to crap, sails is ratshit. Javascript isn't a real language. 95% chance that someones' going to hate on your browser of choice..
[00:00:12] *** Oxynum has joined #angularjs
[00:00:30] <jaawerth> all programming and programs are bad
[00:00:35] <jaawerth> because they were made by programmers
[00:00:37] <areologist> dweave: node + socket.io, maybe
[00:00:40] <jaawerth> and programmers are terrible people ;-)
[00:00:55] <Grokling> Actually, it's the customers that are the problem. No customers = no problems.
[00:00:55] <Foxandxss> Grokling: you can't avoid the fact that everyone has an opinion
[00:01:14] <Foxandxss> sails is an awesome idea
[00:01:16] <dweave> yeah i know how to do the actual communication between the clients I’m literally just trying to figure out how to do the timer part
[00:01:18] <Foxandxss> but green
[00:01:23] <Foxandxss> koa is wonderful
[00:01:25] <dweave> like something has to send that message
[00:01:32] *** seriema has quit IRC
[00:01:35] <Foxandxss> I am starting to like this "whitelist" idea of frameworks
[00:01:40] <Foxandxss> just adding what you need
[00:01:42] <Grokling> dweave: cron?
[00:01:46] *** zz_night-owl is now known as night-owl
[00:01:52] *** hell_razer has quit IRC
[00:01:53] <dweave> node-cron?
[00:02:05] <jaawerth> depends
[00:02:07] <jaawerth> what kind of timer is it?
[00:02:22] <jaawerth> are you just doing a simple timout, does it have to recur, do things have to happen at a specific time?
[00:02:22] *** bmac has quit IRC
[00:02:25] <dweave> it’s a countdown timer that is given an epoch
[00:02:43] <jaawerth> and it's global?
[00:02:46] <dweave> it has to have the ability to be canceled
[00:02:47] <jaawerth> for your app?
[00:02:51] <dweave> yes
[00:02:53] <dweave> well
[00:02:57] <dweave> global to a “room”
[00:02:58] <dweave> i guess
[00:03:03] *** baweaver has quit IRC
[00:03:06] <dweave> if that’s what u mean
[00:03:20] <dweave> yeah from a user’s perspective it’s global
[00:03:52] *** andypham has quit IRC
[00:03:53] <dweave> so i was imagining a rest endpoint to establish the timer then i want my clients to be notified when that time has expired
[00:04:37] <davek_> dweave, are you asking how to implement the actual timing? Use a worker queue or somthing.
[00:04:38] <jaawerth> well how many timers, max, would you theoretically have going at once?
[00:04:44] <dweave> yes
[00:04:52] <jaawerth> it sounds like something you'd be better off doing in code rather than using cron
[00:05:02] <jaawerth> cron is for scheduling
[00:05:03] <dweave> jaawerth possibly very many
[00:05:04] *** dacuca has quit IRC
[00:05:09] <dweave> yeah that’s what i kinda thought
[00:05:14] <davek_> Most useful background task queues have a scheduling feature.
[00:05:16] *** Johnny13371337 has quit IRC
[00:05:22] *** sonicparke|bradm has quit IRC
[00:05:35] <jaawerth> you may want to do some kind of multithreading, it's hard to say
[00:05:36] *** Sawbones has quit IRC
[00:05:40] *** dannyc has quit IRC
[00:05:53] <jaawerth> you might be fine just establishing a collection of timeouts associated with a user/group/room
[00:05:54] <dweave> do you know anything about redis time events?
[00:06:00] *** doginal has quit IRC
[00:06:00] <davek_> Or a TASK QUEUE.
[00:06:01] *** TyrfingMjolnir has joined #angularjs
[00:06:04] <jaawerth> or that
[00:06:05] <dweave> seems like that might be a good solution
[00:06:18] <dweave> trying to find a balance between overkill and shitty
[00:06:24] <davek_> dweave, yes though you'd probably have more luck using a task queue that wraps that functionality like kue.
[00:06:35] <dweave> ok will check that out
[00:07:09] *** vdiaz has quit IRC
[00:07:18] <dweave> yeah kue might be exactly what i want
[00:07:23] <dweave> thanks!
[00:08:29] *** phuh has quit IRC
[00:08:56] *** phuh has joined #angularjs
[00:09:01] *** AlexZanf has joined #angularjs
[00:10:00] *** ngbot has joined #angularjs
[00:10:00] <ngbot> [angular.js] lgalfaso pushed 1 new commit to master: http://git.io/3DXMiA
[00:10:00] <ngbot> angular.js/master 9474ec1 Lucas Galfaso: docs(CHANGELOG): add v1.3.4 changes
[00:10:00] *** ngbot has left #angularjs
[00:10:21] *** dman777_alter has quit IRC
[00:10:26] *** elrabin has quit IRC
[00:11:09] <Grokling> jaawerth: If I search the ionic source for stop-event or stopEvent and come up empty, that means the directive is missing right?
[00:11:39] *** danecando has joined #angularjs
[00:12:03] <jaawerth> Grokling: probably? I'm not a huge ionic guy, I've played with it but I don't need to do much in mobile with my current job
[00:12:18] *** boxmein is now known as [boxmein]
[00:12:23] *** AlexZan has quit IRC
[00:12:36] <jaawerth> Grokling: but yeah, generally speaking if you search for stopEvent and come up blank, it's probably not there
[00:12:52] <jaawerth> that's what I do every time I want to find the source for a directive (search for the camelCase version)
[00:13:44] <Grokling> jaawerth: I'm on the verge of flipping it and shifting to ng-material instead.. But have to demonstrate MVP next week, so it's going to have to wait. Just searched github repo, and the only hit I can find is a comment saying that a directive was created. Can't seem to find the actual directive though. Odd.
[00:15:05] <Foxandxss> ng-material should end on ionic, eventually
[00:15:06] <jaawerth> Grokling: that IS strange. Try grepping your local source?
[00:15:07] *** brandon_ has quit IRC
[00:15:19] <Grokling> Okay, found it in the commit. But not in master..
[00:15:28] <jaawerth> yeah, I imagine ionic will eventually incorporate ng-material, once it's stable
[00:16:04] <Foxandxss> yeah, both ng-material and ionic :P
[00:16:33] <Grokling> Ionic is stuck at ng 1.2, and ui-router 0.2.10 which are both inconveniences I can live without.
[00:16:45] <Foxandxss> ionic nightly is using 1.3
[00:17:03] <Foxandxss> with a couple of goood stuff
[00:17:16] *** vonnegut has joined #angularjs
[00:17:38] *** laurensclaessen has quit IRC
[00:17:51] *** delight has quit IRC
[00:17:59] *** Sky[x] has quit IRC
[00:18:00] *** doginal has joined #angularjs
[00:18:07] *** jeffbalboni has quit IRC
[00:18:09] *** evotuned has joined #angularjs
[00:18:10] <Grokling> I'm experimenting at the moment with unbundled ionic, and using a more up to date ui-router. So far so good.
[00:18:33] <Foxandxss> yeah, shouldn't be problematic
[00:18:39] *** H1FuelCell has quit IRC
[00:18:50] <Grokling> Still can't find that stop-event directive anywhere useful though!
[00:18:58] *** Beatzebub has quit IRC
[00:19:20] <jaawerth> probably wasn't merged into master yet, then?
[00:19:23] *** Beatzebub has joined #angularjs
[00:19:40] <Grokling> I'll just take the code and make my own directive in the meantime.
[00:19:42] *** oste has quit IRC
[00:20:07] *** [boxmein] has quit IRC
[00:20:44] *** JoshGlzBrk has quit IRC
[00:20:47] *** Fishy__ has quit IRC
[00:21:02] *** ron1 has quit IRC
[00:21:12] *** cakirke has joined #angularjs
[00:21:22] *** Luser has joined #angularjs
[00:21:26] *** jasonp has quit IRC
[00:21:53] <Luser> Hello, do you guys know any sites dedicated for javascript/angular job offers? I am looking for a job atm and am not sure where to look besides linkedin.
[00:22:05] *** ciro_nunes has quit IRC
[00:22:32] <jaawerth> Grokling: that's what I do!
[00:22:41] *** evotuned has quit IRC
[00:22:46] <atomiccc> Luser: dice.com
[00:22:47] *** Geertje123_ has quit IRC
[00:22:48] <Grokling> On a related, but slightly divergent note, can anyone recommend a tutorial on deployment? Thinking nginx, node+express, linux.
[00:22:57] <jaawerth> Luser: dice, indeed, the usual techie job sites
[00:22:59] <atomiccc> oh, you're in poland? i have no idea
[00:23:03] *** juanpablo_ has quit IRC
[00:23:26] <jaawerth> I don't know if there are unified tutorials, per se
[00:23:28] *** Geertje123_ has joined #angularjs
[00:23:31] *** juanpablo_ has joined #angularjs
[00:23:33] <jaawerth> but most of my deployment stacks involve nginx if I have any say in it
[00:23:34] <Luser> atomiccc: doesn't really matter, I can look for a remote opportunities, or relocate.
[00:23:37] *** Fishy has joined #angularjs
[00:23:42] <Luser> Didn't know dice, thx.
[00:24:06] <atomiccc> word, good luck!
[00:24:16] *** MaxV has joined #angularjs
[00:24:34] *** sajt has quit IRC
[00:24:35] <Grokling> jaawerth: I haven't played with nginx yet. I have some apache stuff running, reverse dns etc, but it's been ages since I messed with that stuff.
[00:24:51] <Grokling> reverse proxy I mean.
[00:24:53] <jaawerth> Grokling: nginx is way easier than apache, and works way better for static content and reverse proxying
[00:25:06] *** nanozer2 has quit IRC
[00:25:06] <jaawerth> reverse proxying with nginx is dead simple
[00:25:16] *** nairys has quit IRC
[00:25:36] <jaawerth> Grokling: http://nginx.com/resources/admin-guide/reverse-proxy/
[00:25:38] *** Greed` has joined #angularjs
[00:25:41] <jaawerth> anyway, I gotta head out - later all!
[00:25:42] *** slashroot_ has joined #angularjs
[00:25:45] <Grokling> I'm really starting from scratch with this stack, so any pointers are welcome!
[00:25:55] <Grokling> Thanks jaawerth. Catch you next time.
[00:26:13] <jaawerth> sure thing - check out that link, it has some examples and things
[00:26:32] <bahoo> Is there any way to have dynamic directive names?
[00:27:18] <Foxandxss> searching for angular in dice
[00:27:19] <Foxandxss> http://puu.sh/d4ghH/482d409b4b.png
[00:27:21] <Foxandxss> that is kinda sad
[00:27:38] <bahoo> Could I set an (Angular) constant or a value in maybe run() or config(), and use that value as a directive name?
[00:27:42] *** Foxandxss sets mode: -o Foxandxss
[00:27:47] *** juanpablo_ has quit IRC
[00:28:08] *** jlambert121 has quit IRC
[00:28:11] <Foxandxss> I can't think in any good use case for that bahoo
[00:28:36] *** jMyles has quit IRC
[00:28:52] *** Greed has quit IRC
[00:29:01] <bahoo> Don’t mind the use-case ;)
[00:29:22] *** glassir has quit IRC
[00:29:23] *** afuggini has quit IRC
[00:30:17] *** Oxynum has quit IRC
[00:30:18] *** jlambert121 has joined #angularjs
[00:30:33] <Grokling> I really intensely dislike the angular black screen of nothingness. No console messages, no screen. Nothing.
[00:30:47] *** elrabin has joined #angularjs
[00:30:52] <Foxandxss> Grokling: where?
[00:30:53] *** dnewkerk has quit IRC
[00:30:54] <Foxandxss> ionic?
[00:31:11] *** AlexZan has joined #angularjs
[00:31:16] *** baweaver has joined #angularjs
[00:31:28] *** thedodd has quit IRC
[00:31:41] <Grokling> Yeah, ionic at the moment, but I saw it before ionic a few times too. Really hard to troubleshoot with no clues at all!
[00:31:57] <s3shs> Foxandxss, sad. I only hire telecommuters.
[00:32:05] *** sonofdirt has quit IRC
[00:32:08] <Foxandxss> that is really nice
[00:32:12] *** robdubya has joined #angularjs
[00:32:24] <Foxandxss> Grokling: that is an issue in ionic iirc, that is not happening on nightly
[00:32:28] *** bkuberek_ has quit IRC
[00:32:43] *** crunch-choco has quit IRC
[00:32:44] *** nanozer2 has joined #angularjs
[00:32:44] *** sonofdirt has joined #angularjs
[00:32:57] *** bkuberek has joined #angularjs
[00:33:12] *** AlexZanf has quit IRC
[00:33:20] *** josh3336 has quit IRC
[00:33:33] <Grokling> It's happening to me right now, and I'm on 1.0.0-beta.13-nightly-790 as of 30 minutes ago.
[00:33:44] *** artisangoose has quit IRC
[00:33:49] <Foxandxss> weird
[00:34:20] *** Greed` is now known as Greed
[00:34:42] *** morenoh149 has quit IRC
[00:35:14] <Grokling> We should get $1M each as recognition of our sheer dogged determination and persistence in the face of constant and unrelenting adversity.
[00:35:20] <robdubya> agreed
[00:35:22] <s3shs> I've never seen thta.
[00:35:28] *** dacuca has joined #angularjs
[00:35:28] *** josh-k_ has quit IRC
[00:35:34] <robdubya> ctanga you about?
[00:35:34] <s3shs> robdubya? That you?
[00:35:41] <robdubya> indeed it is
[00:35:43] <ctanga> ay
[00:35:55] <s3shs> Happy Thanksgiving
[00:35:55] *** josh-k has joined #angularjs
[00:35:59] <robdubya> and to you
[00:36:00] <s3shs> Soon.
[00:36:20] <robdubya> ctanga could you explain for my dazed brain what the deal is with resolve + DI notation?
[00:36:25] <Foxandxss> and it is thanks to whom?
[00:36:38] <ctanga> robdubya: what deal?
[00:36:41] <Foxandxss> real question
[00:36:47] <Foxandxss> we don't have that thanksgiving in spain
[00:36:50] <robdubya> ctanga what's the correct syntax
[00:36:53] *** bkuberek has quit IRC
[00:36:54] *** richiebkr has quit IRC
[00:37:04] <robdubya> Foxandxss thanks to the indians for the land they generously donated to america
[00:37:09] *** sonofdirt has quit IRC
[00:37:10] *** richiebkr has joined #angularjs
[00:37:18] <Foxandxss> hah, sounds like true tho
[00:37:22] <ctanga> resolve: { myResolve: function(InjectedService, InjectedParentResolve, $http) { return $http.get(“foo.json”); } }
[00:37:46] *** evotuned has joined #angularjs
[00:37:51] <s3shs> Unfortunately nobody's willing to give their land back. So we all just eat turkey and ignore the issue.
[00:37:55] <ctanga> controller: function(myResolve, $scope) { $scope.resolved = myResolve; }
[00:38:14] <robdubya> ctanga right, but it appears to blow the fuck up w/ array notation
[00:38:29] <robdubya> is that known/expected?
[00:38:31] <ctanga> nope
[00:38:55] <robdubya> so it should work
[00:38:56] *** threesixes has joined #angularjs
[00:38:57] <ctanga> resolve: { myResolve: [‘InjectedService’, ‘InjectedParentResolve’, ‘$http’, function(InjectedService, InjectedParentResolve, $http) { return $http.get(“foo.json”); } ] }
[00:38:58] *** ytsejam has quit IRC
[00:39:01] <ctanga> totally
[00:39:02] *** MaxV has quit IRC
[00:39:19] <robdubya> roger
[00:39:23] <robdubya> just needed a sanity check
[00:39:38] <Grokling> I can confirm that notation is working for me.. and I'm a 'shit blowing up' magnet.
[00:40:17] *** dweave has quit IRC
[00:40:32] <robdubya> noted
[00:40:54] *** josh-k has quit IRC
[00:41:38] *** whitebook has joined #angularjs
[00:42:53] *** devinandrews has quit IRC
[00:43:17] *** darrin has joined #angularjs
[00:43:37] *** richardlitt has joined #angularjs
[00:43:43] *** AngularUI has joined #angularjs
[00:43:44] <AngularUI> [ng-grid] russell-miller opened pull request #2218: New option: sectionHeaders - display column headers within section labels (master...enh-section-headers) http://git.io/k6WVtQ
[00:43:44] *** AngularUI has left #angularjs
[00:43:47] *** PercolatorLa has quit IRC
[00:44:33] <Grokling> Hah. Foxandxss Just reverted Ionic from nightly to stable, and my black screen of frustration has gone magically away, and stuff works again.
[00:45:31] *** ngbot has joined #angularjs
[00:45:31] <ngbot> [angular.js] chimney-sweeper tagged v1.3.4 at 45219d4: http://git.io/VgE2Dg
[00:45:32] *** ngbot has left #angularjs
[00:47:58] *** b1rkh0ff has quit IRC
[00:48:01] *** Luser has quit IRC
[00:48:43] *** macabre has quit IRC
[00:49:01] *** iamjmw has joined #angularjs
[00:49:19] *** GPH|work has quit IRC
[00:50:05] *** dweave has joined #angularjs
[00:50:19] *** MaxV has joined #angularjs
[00:50:23] *** jdcasey has quit IRC
[00:51:33] *** tschundeee has quit IRC
[00:52:05] *** Fishy__ has joined #angularjs
[00:52:06] *** TommyO has joined #angularjs
[00:53:37] *** iamjmw has quit IRC
[00:53:52] *** tschundeee has joined #angularjs
[00:54:32] *** Beatzebub has quit IRC
[00:54:51] *** supermas1iv is now known as supermassiv
[00:54:52] *** zwischenzug has joined #angularjs
[00:56:52] *** jeffisabelle has joined #angularjs
[00:56:57] *** Geertje123_ has quit IRC
[00:57:09] *** areologist has quit IRC
[00:57:14] *** chrisbirk has quit IRC
[00:57:25] *** seriema has joined #angularjs
[00:57:56] *** disorder20 has quit IRC
[00:58:26] *** whitebook has quit IRC
[00:58:36] *** nemothek_ has joined #angularjs
[00:58:37] *** AlexZanf has joined #angularjs
[00:58:37] <zwischenzug> hello, i'm trying to send a post request to a cross origin domain. while this request fails to return data, the post is still made to the server, which is what counts. everything works correctly with jquery's $.post method, but it fails with angular's $http.post method. reason being, $http.post sends an OPTIONS request with "Access-Control-Request-Method:POST". anyone know how I can get this to send a regular post re
[00:58:38] <zwischenzug> quest?
[00:59:19] *** arathunku has quit IRC
[00:59:35] *** tomengland_mbp has quit IRC
[00:59:47] <s3shs> Someone else was having issues with $http.post yesterday too. And $.post worked. I don't know what's going on. Check options on $http.
[01:00:10] *** huggler has joined #angularjs
[01:00:13] *** snapwich has quit IRC
[01:00:16] <s3shs> Because the $http stuff handles xsrf too. And that's important.
[01:01:08] *** huggler has quit IRC
[01:01:12] *** AlexZan has quit IRC
[01:01:13] *** nemothekid has quit IRC
[01:01:38] *** Beatzebub has joined #angularjs
[01:01:47] *** jonr22 has joined #angularjs
[01:02:10] *** seriema has quit IRC
[01:02:28] *** rho has quit IRC
[01:03:02] *** Lewix has joined #angularjs
[01:03:02] *** Lewix has joined #angularjs
[01:03:07] *** simiographics has quit IRC
[01:03:19] *** ayesian has joined #angularjs
[01:04:14] *** emmesswhy has joined #angularjs
[01:04:23] *** tfennelly has quit IRC
[01:04:41] *** richiebkr has quit IRC
[01:04:50] <snurfery> damn I just walked through a demo of a MVP some random contractor is building
[01:04:59] <snurfery> I forgot how simple most site requirements are
[01:05:34] <snurfery> I could whip that out in like 2 days... maybe I should take more freelance work
[01:05:45] *** TheAceOfHearts has quit IRC
[01:05:54] <Foxandxss> hah, that happens
[01:05:57] <Grokling> site vs app?
[01:06:08] *** Lewix has quit IRC
[01:06:11] *** dannyc has joined #angularjs
[01:06:13] *** matisoffn has quit IRC
[01:06:25] *** tfennelly has joined #angularjs
[01:06:30] *** jonr22 has quit IRC
[01:06:35] *** mmealling has quit IRC
[01:06:51] *** millr|wrk has quit IRC
[01:06:59] *** asher^ has joined #angularjs
[01:07:01] *** shinnya has joined #angularjs
[01:07:02] *** mclenithan has quit IRC
[01:07:37] <moogey> snurfery: I think that, then I go to clientFromHell and revel in the fact that I don't have to talk to clients
[01:08:30] *** phuh has quit IRC
[01:08:31] *** dowgiallo has joined #angularjs
[01:08:57] *** phuh has joined #angularjs
[01:09:16] <Grokling> The most annoying part of client interaction is shaving off the neck-beard.
[01:09:42] <bahoo> Angular smart people: I need some good ideas
[01:10:03] <zwischenzug> s3shs, read through the docs, and didn't find anything. i'll take a quick look through the source, but if i have to use jquery, i'd need to call "apply" to trigger the bindings....correct?
[01:10:07] <bahoo> I’ve built a cool thing in jQuery and would like to migrate it to using AngularJS
[01:10:20] <Foxandxss> zwischenzug: yes
[01:10:37] <bahoo> the trouble is, it’s a Chrome extension, designed to run in other people’s web sites, so I don’t have control over the markup, or how it might change
[01:10:52] *** dannyc has quit IRC
[01:11:01] *** kwaledesign has quit IRC
[01:11:22] <bahoo> let’s say this thing enhances Google results
[01:11:34] *** fatty1380 has joined #angularjs
[01:11:37] <bahoo> I can write a simple directive to append each result with a little widget or whatever
[01:12:02] <bahoo> but how can I make it so that directive gets re-applied when the user clicks “next” and a new page loads in via AJAX?
[01:12:52] *** richardlitt has quit IRC
[01:13:14] *** mcastro has joined #angularjs
[01:13:33] *** elrabin has quit IRC
[01:13:48] <bahoo> Is there any sane way of approaching this or should I stick to my old pal jQuery?
[01:14:28] *** mansoormb has quit IRC
[01:15:34] *** uru is now known as uru|away
[01:15:36] <s3shs> zwischenzug, yes, apply upon result. however, cross site scripting attacks are very very real and you should defend against them by using angular's built in stuff.
[01:16:05] *** baweaver has quit IRC
[01:16:56] <zwischenzug> Foxandxss, thanks. s3shs i understand that risks, thanks.
[01:17:09] *** dejanr has quit IRC
[01:17:15] <zwischenzug> totally unrelated.....is there a timeline for when angular 2.0 comes out?
[01:18:26] *** chrisshattuck has quit IRC
[01:18:38] *** oste has joined #angularjs
[01:18:39] <moogey> late late 2015
[01:18:47] *** Luser has joined #angularjs
[01:19:37] *** cacts has quit IRC
[01:19:54] *** darrin has quit IRC
[01:20:17] <Grokling> 'comes out' and 'ready for production use' are two different things. Apparently it's already 'out' in google labs..
[01:20:23] *** ElysiumNet has quit IRC
[01:20:35] <snurfery> moogey: yeah some clients are the worst
[01:20:37] *** Luser has quit IRC
[01:20:40] *** Luser_ has joined #angularjs
[01:20:47] *** punch has quit IRC
[01:20:51] <snurfery> I've had to deal with some decent ones and some pretty bad ones
[01:21:01] <Grokling> snurfery: almost half of your clients are below average.
[01:21:14] <bahoo> OK you all aren’t very good at doing my work for me
[01:21:40] <Foxandxss> it is hard to do free work
[01:21:45] <Grokling> bahoo: You, likewise, are not very good at paying us ;-)
[01:21:54] <moogey> Grokling++
[01:21:56] <UniBot> Grokling Karma: 2
[01:22:45] * Grokling thanks moogey whether he deserved that or not.
[01:22:49] <snurfery> bahoo: sounds like mostly dom traversal/manip stuff... and it's a browser extension? jquery's fine for that if you're more comfy with it
[01:22:59] <moogey> it made me laugh, so, you know
[01:23:04] *** mclenithan has joined #angularjs
[01:23:37] *** evilaliv3 has quit IRC
[01:23:44] *** simiographics has joined #angularjs
[01:24:49] *** night-owl is now known as zz_night-owl
[01:24:53] <Grokling> Foxandxss: Why is this soo hard to make work.. I got rid of the black screen of intense frustration, but now I can't click on most of the stuff in my child state. Well, I can click on it, but it never fires the ng-click events.
[01:24:56] *** tschundeee has quit IRC
[01:24:57] *** Luser_ has quit IRC
[01:25:04] <bahoo> snurfery: You’re quite right; jQuery seems better suited for basic DOM manipulation & Angular for more app-like behavior. I guess what I’m building is somewhere in the middle.
[01:25:28] <bahoo> Grokling: I will happily PayPal funds for good ideas :D though seems like you’ve earned the karma regardless.
[01:25:34] <Foxandxss> Grokling: maybe you should get a break :P
[01:25:46] <Foxandxss> damn karma
[01:25:51] <Foxandxss> !karma foxandxss
[01:25:51] <UniBot> foxandxss Karma: 0
[01:25:56] <Foxandxss> UniBot: I hate you
[01:25:57] *** prbc has joined #angularjs
[01:26:21] <Foxandxss> will kick someday
[01:26:27] <Grokling> Ionic is walking a fine line with me at the moment. I'd love to get a break, but I just had one, and when I came back, it still wasn't working :-(
[01:26:27] <Foxandxss> kick you* :P
[01:26:41] <moogey> Grokling: try a kit-kat?
[01:26:41] <Grokling> !karma Foxandxss
[01:26:42] <UniBot> Foxandxss Karma: 4
[01:26:49] *** chizbang has joined #angularjs
[01:26:53] <Grokling> Hey.. that's better!
[01:26:56] <Foxandxss> ah, case sensitive
[01:27:03] <Foxandxss> bot will live
[01:27:07] *** mkusher has quit IRC
[01:27:16] *** Fuzzier has joined #angularjs
[01:27:21] <Grokling> A couple more bad jokes, and I'm going to catch you up..
[01:27:35] *** seriema has joined #angularjs
[01:27:38] *** patrickarlt has quit IRC
[01:27:57] *** deear has joined #angularjs
[01:27:58] <Foxandxss> give me a break, 1:30am, I can't barely make good jokes when I am fully awake
[01:28:03] *** patrickarlt has joined #angularjs
[01:28:04] *** Sadi has quit IRC
[01:28:15] <Grokling> This is just weird though.. how/why would ionic just silently swallow my clicks?
[01:28:23] *** Fuzzy has quit IRC
[01:28:42] <Foxandxss> not an ionic user myself, but that sounds weird
[01:28:57] <moogey> Do you have something receiving the click first then not propagating it?
[01:29:18] *** zz_night-owl is now known as night-owl
[01:29:20] *** caitp has joined #angularjs
[01:30:09] *** juanpablo_ has joined #angularjs
[01:30:46] *** tschundeee has joined #angularjs
[01:30:53] <Grokling> Something is seriously screwed here. I have nested states, and now evidently can't click on stuff that isn't in the childmost state, and even then, only some of it.
[01:30:56] *** baweaver has joined #angularjs
[01:32:12] *** dundonian has joined #angularjs
[01:32:28] *** seriema has quit IRC
[01:32:39] *** nycdevgirl has quit IRC
[01:32:42] <moogey> Grokling do you have a plnkr or something?
[01:33:00] *** memento is now known as Guest43936
[01:33:37] *** Ansikt has joined #angularjs
[01:33:46] <Grokling> I've got heaps of plunkers.. but I'd have to know what was causing this in order to isolate it enough to make a plunk.. and I have no idea at the moment!
[01:34:17] <moogey> good point
[01:34:42] *** juanpablo_ has quit IRC
[01:34:45] *** startupality has quit IRC
[01:35:28] <Grokling> It's an ionic problem.. I just reverted back to a much earlier version, and it's working again. Sometimes frameworks are good, other times they are a fantastic way to waste hours achieving nothing..
[01:36:22] *** juampy has joined #angularjs
[01:36:23] *** juampy has quit IRC
[01:37:24] *** bundledavid has joined #angularjs
[01:37:27] *** soee has quit IRC
[01:37:43] *** dnewkerk has joined #angularjs
[01:38:07] *** caitp has quit IRC
[01:38:28] *** adpirz has joined #angularjs
[01:38:33] *** dundonian has quit IRC
[01:39:05] *** doginal has quit IRC
[01:40:31] <nathanic> i've got an angular app here, not written by me, and i've found that it's putting quotes around a $http.post() request body when it's trying to send a string as the body. any ideas where i should look to figure out why?
[01:41:34] <nathanic> that is, i expect it to send "foo" and see "\"foo\"" arriving on the server side
[01:41:36] *** dweave has quit IRC
[01:41:53] *** dejanr has joined #angularjs
[01:41:54] *** bundledavid has quit IRC
[01:42:01] *** emmesswhy has quit IRC
[01:42:05] *** sgnl has joined #angularjs
[01:42:29] <moogey> nathanic: put a breakpoint on XHR having "foo" in it, then try and step backwards?
[01:42:47] *** adpirz has quit IRC
[01:44:10] <nathanic> moogey: i do have a breakpoint on the $http.post() call, and can tell that the string does not have quotes inserted into it at that point
[01:44:22] <nathanic> so it gets changed somewhere in deep angular voodoo land
[01:44:41] *** edzez_ has joined #angularjs
[01:44:47] *** Sgeo has quit IRC
[01:44:58] *** antons_ has quit IRC
[01:45:06] <nathanic> but yes, perhaps i should just bite the bullet and wade into the angular code to see where it changes
[01:45:41] *** Luser has joined #angularjs
[01:45:47] *** night-owl is now known as zz_night-owl
[01:45:49] *** ctanga has quit IRC
[01:45:49] <moogey> I've had to do that a couple times. I feel like I come out a better person. Just a little more tired each time.
[01:45:55] *** Sontakey has quit IRC
[01:46:04] *** doginal has joined #angularjs
[01:46:32] *** k-dawg has joined #angularjs
[01:46:40] <Foxandxss> reading the source is always good
[01:46:41] *** Sgeo has joined #angularjs
[01:47:04] *** jeffisabelle has quit IRC
[01:47:19] *** abosama has quit IRC
[01:47:23] *** dejanr_ has joined #angularjs
[01:47:25] *** J_A_X has joined #angularjs
[01:47:46] *** edzez has quit IRC
[01:47:47] *** emmesswhy has joined #angularjs
[01:47:52] <J_A_X> hey people.I'm trying to implement this: https://github.com/angular/angular.js/pull/2163
[01:47:56] *** dejanr_ has quit IRC
[01:48:01] *** emmesswhy has quit IRC
[01:48:03] *** robdubya has quit IRC
[01:48:04] <J_A_X> and I'm stuck as to where do I set the config variable
[01:48:18] <J_A_X> I could set it in the $sniffer service, but it doesn't seem like the appropriate place
[01:48:24] *** robdubya has joined #angularjs
[01:48:37] *** damoncasale has joined #angularjs
[01:49:02] *** dacuca has quit IRC
[01:49:13] *** mven has quit IRC
[01:49:20] *** fatty1380 has quit IRC
[01:49:57] *** Luser has quit IRC
[01:50:00] *** dejanr has quit IRC
[01:50:38] <damoncasale> Quick question. I've been trying to use a filter to filter an array of objects, but is there any way to do pattern-matching without a function?
[01:50:52] <damoncasale> e.g., using "*" to represent matching one or more characters?
[01:51:08] <moogey> just a blank string
[01:51:36] <moogey> i believe it filters for all items containing the filter value
[01:51:39] *** Sontakey has joined #angularjs
[01:51:43] *** mcastro has quit IRC
[01:51:48] <damoncasale> Okay. A blank string will just return everything?
[01:51:50] *** emmesswhy has joined #angularjs
[01:51:50] *** ayesian has quit IRC
[01:51:58] *** sgnl has quit IRC
[01:52:11] *** motionman has joined #angularjs
[01:52:26] <moogey> I would check on that, it depends on what you're iterating, but that has been my experience
[01:52:27] *** meltdown has quit IRC
[01:52:31] <damoncasale> Thanks!
[01:55:05] *** ayesian has joined #angularjs
[01:55:12] *** deanclkclk has quit IRC
[01:55:57] *** SpotSec has quit IRC
[01:57:26] *** whunt has quit IRC
[01:57:27] *** k-dawg has quit IRC
[01:58:20] *** woah has quit IRC
[01:58:24] *** richiebkr has joined #angularjs
[01:58:46] *** richiebkr has quit IRC
[02:01:01] *** josh3336 has joined #angularjs
[02:01:10] *** cacts has joined #angularjs
[02:01:32] *** \du has quit IRC
[02:02:48] *** TheAceOfHearts has joined #angularjs
[02:04:28] *** jolts has quit IRC
[02:04:51] *** mven has joined #angularjs
[02:04:58] *** baweaver has quit IRC
[02:05:01] *** mven has quit IRC
[02:05:55] *** moritzschaefer has quit IRC
[02:06:17] *** MaxV has quit IRC
[02:07:19] *** jonathanpglick has quit IRC
[02:07:38] *** dannyc has joined #angularjs
[02:07:42] *** jas- has joined #angularjs
[02:08:30] *** tschundeee has quit IRC
[02:08:31] *** phuh has quit IRC
[02:08:57] *** Foxandxss has quit IRC
[02:08:59] *** phuh has joined #angularjs
[02:09:04] *** omolin4 has joined #angularjs
[02:09:07] *** prbc has quit IRC
[02:09:54] *** junmin has quit IRC
[02:10:18] *** amatecha_ is now known as amatecha
[02:10:37] *** ctanga has joined #angularjs
[02:11:10] *** ererasfasdfdfd has joined #angularjs
[02:11:20] <ererasfasdfdfd> hi all
[02:12:02] *** dannyc has quit IRC
[02:12:04] *** phzon has joined #angularjs
[02:12:47] *** ererasfasdfdfd has quit IRC
[02:13:01] *** prbc has joined #angularjs
[02:13:39] *** TyrfingMjolnir has quit IRC
[02:14:46] *** moogey has quit IRC
[02:16:22] *** phzon has quit IRC
[02:17:04] *** marr has quit IRC
[02:17:18] *** baweaver has joined #angularjs
[02:17:58] *** macksfield has quit IRC
[02:18:32] *** AciD`` has quit IRC
[02:18:47] *** dweave has joined #angularjs
[02:19:49] *** jolts has joined #angularjs
[02:20:07] *** richiebkr has joined #angularjs
[02:20:22] *** bkuberek has joined #angularjs
[02:21:13] *** whunt has joined #angularjs
[02:22:02] *** Particle_Mare has joined #angularjs
[02:22:06] *** jas- has quit IRC
[02:22:37] *** merobertsjr has quit IRC
[02:24:00] *** {DV8} has joined #angularjs
[02:24:37] *** doginal has quit IRC
[02:26:00] *** rchavik has joined #angularjs
[02:26:44] *** snapwich has joined #angularjs
[02:27:04] *** MistahKurtz has quit IRC
[02:27:05] *** snapwich has quit IRC
[02:27:06] *** Lewix has joined #angularjs
[02:28:26] *** seriema has joined #angularjs
[02:29:20] *** cakirke has quit IRC
[02:30:34] *** shinnya has quit IRC
[02:30:40] *** elrabin has joined #angularjs
[02:30:57] <dweave> how are node’s webworker’s implemented? separate process? https://www.npmjs.org/package/webworker-threads
[02:31:12] *** Fuzzy has joined #angularjs
[02:31:42] *** Fuzzier has quit IRC
[02:31:53] <dweave> or are they really “threads”
[02:32:46] *** darrin has joined #angularjs
[02:33:02] *** cswelin has joined #angularjs
[02:33:16] *** robksawyer has quit IRC
[02:33:26] *** tschundeee has joined #angularjs
[02:33:48] *** seriema has quit IRC
[02:34:04] <dweave> jaawerth: remember i was asking about my timer problem before? Would a worker be a good place to put all those setTimeouts? or can I put them right in the already running node process. I imagine there would be a lot of performance issues if there were a great many of them.
[02:34:40] *** evotuned has quit IRC
[02:35:04] *** Ansikt has quit IRC
[02:35:52] *** devinandrews has joined #angularjs
[02:36:39] *** mven has joined #angularjs
[02:37:00] *** MistahKurtz has joined #angularjs
[02:37:04] *** SpotSec has joined #angularjs
[02:37:08] *** motionman has quit IRC
[02:37:41] *** jmichaelward has joined #angularjs
[02:39:47] *** Luser has joined #angularjs
[02:39:59] *** Oddman has quit IRC
[02:40:13] *** joelwallis has quit IRC
[02:40:15] *** afuggini has joined #angularjs
[02:40:15] *** busticated has quit IRC
[02:41:25] *** richiebk_ has joined #angularjs
[02:41:33] *** bkuberek_ has joined #angularjs
[02:41:53] *** jmichaelward has quit IRC
[02:42:16] *** slashroot_ has quit IRC
[02:42:36] *** jMyles has joined #angularjs
[02:43:06] *** Ansikt has joined #angularjs
[02:43:15] *** mmealling has joined #angularjs
[02:43:18] *** Ansikt has quit IRC
[02:43:38] *** bkuberek has quit IRC
[02:44:01] *** Particle_Mare has left #angularjs
[02:44:06] *** Luser has quit IRC
[02:44:41] *** richiebkr has quit IRC
[02:45:52] *** mclenithan has quit IRC
[02:45:58] *** zilla_ has quit IRC
[02:46:05] *** pen has joined #angularjs
[02:46:18] *** SergioFilhow_ has joined #angularjs
[02:46:28] *** SergioFilhow has quit IRC
[02:47:29] *** punch has joined #angularjs
[02:47:40] *** tschundeee has quit IRC
[02:47:47] *** elrabin has quit IRC
[02:47:48] *** say2joe has quit IRC
[02:48:17] *** il has joined #angularjs
[02:48:23] *** robksawyer has joined #angularjs
[02:48:54] *** dreadpiratepeter has quit IRC
[02:49:47] *** P1RATEZ has joined #angularjs
[02:49:49] *** mdel has joined #angularjs
[02:50:22] *** Aliks has quit IRC
[02:50:39] *** mven has quit IRC
[02:50:54] *** jonr22 has joined #angularjs
[02:51:58] *** punch has quit IRC
[02:52:04] *** robdubya has quit IRC
[02:52:44] *** Beatzebub has quit IRC
[02:53:06] *** motionman has joined #angularjs
[02:53:13] *** Beatzebub has joined #angularjs
[02:54:27] *** il is now known as Audioburn
[02:55:42] *** jonr22 has quit IRC
[02:56:22] *** prbc has quit IRC
[02:57:42] *** cthrax_ has quit IRC
[02:57:59] *** bayousoft has joined #angularjs
[02:58:26] *** simiographics has quit IRC
[02:58:38] *** josh3336 has quit IRC
[02:58:42] *** afuggini has quit IRC
[02:58:57] *** mclenithan has joined #angularjs
[02:59:00] <oste> FML just now getting the news of V2
[02:59:16] <oste> is there going to be a support group set up?
[02:59:54] *** prbc has joined #angularjs
[03:00:00] *** rburns has joined #angularjs
[03:00:04] <oste> atleast we have plenty of warning
[03:00:14] <oste> i suppose V1 will live on as well...
[03:00:41] *** junmin has joined #angularjs
[03:00:49] *** afuggini has joined #angularjs
[03:01:04] *** jgladwill_ has joined #angularjs
[03:01:39] *** afuggini has quit IRC
[03:02:12] *** MuffinMan` has quit IRC
[03:02:17] *** plushy has quit IRC
[03:02:47] *** kotyy has joined #angularjs
[03:03:15] *** plushy has joined #angularjs
[03:03:22] *** ctanga has quit IRC
[03:03:53] *** jgladwill has quit IRC
[03:05:17] *** RobinBAwesome has quit IRC
[03:05:20] *** jareddlc has quit IRC
[03:05:57] *** dc_ has quit IRC
[03:05:59] *** doginal has joined #angularjs
[03:06:54] *** asher^ has quit IRC
[03:07:04] *** MaxV has joined #angularjs
[03:07:57] *** kirfu has joined #angularjs
[03:08:34] *** phuh has quit IRC
[03:08:57] *** mmealling has quit IRC
[03:09:00] *** phuh has joined #angularjs
[03:09:08] *** mven has joined #angularjs
[03:09:20] *** knownasilya has quit IRC
[03:09:21] *** doginal has quit IRC
[03:09:24] *** mmealling has joined #angularjs
[03:09:40] *** hapiwondrr has joined #angularjs
[03:09:58] *** omolin4 has quit IRC
[03:10:01] *** hapiwondrr has quit IRC
[03:10:11] *** hapiwondrr has joined #angularjs
[03:11:24] *** frkout has joined #angularjs
[03:11:34] *** juanpablo_ has joined #angularjs
[03:12:04] *** MaxV has quit IRC
[03:12:25] *** s00pcan has quit IRC
[03:13:26] *** gunn has quit IRC
[03:13:36] *** VinceZa has joined #angularjs
[03:14:12] *** atomiccc has quit IRC
[03:14:19] *** doginal has joined #angularjs
[03:14:41] *** KernelCurry has quit IRC
[03:14:47] *** damoncasale has quit IRC
[03:15:23] <dsdeiz> if my ng-model="$parent.subscriptions.monthly".. how do i set an initial value to it? e.g. $scope.subscriptions.monthly = 1 doesn't seem to work on my end
[03:16:10] *** gunn has joined #angularjs
[03:16:29] *** freelyfred has joined #angularjs
[03:17:02] *** juanpablo_ has quit IRC
[03:17:18] *** macabre has joined #angularjs
[03:18:02] *** MistahKurtz has quit IRC
[03:18:17] *** numenor has joined #angularjs
[03:18:57] *** ctanga has joined #angularjs
[03:20:13] *** adpirz has joined #angularjs
[03:20:37] *** kirfu has quit IRC
[03:20:54] <dsdeiz> oh, nvm
[03:21:07] *** JR___ has joined #angularjs
[03:21:10] *** asher^ has joined #angularjs
[03:21:30] <numenor> Hello , I want to have something as a global route to show a modal. What I have is a page with a common nabar (added in the index page) with a ui-view sibling tag. The navbar hosts a login link, on its click, a state is activated with a modal popup.
[03:21:39] *** macabre has quit IRC
[03:22:21] <numenor> Since the nav-bar is common to all states, how can I show the login modal on all pages ?
[03:22:38] *** RobinBAwesome has joined #angularjs
[03:22:53] *** TyrfingMjolnir has joined #angularjs
[03:22:58] <numenor> I mean #/home/loginModal #/about/loginModal , without rewriting the same in the route config
[03:23:08] *** RobinBAwesome has quit IRC
[03:23:20] *** Iravan has joined #angularjs
[03:23:49] *** richiebk_ has quit IRC
[03:24:04] *** freelyfred has quit IRC
[03:24:36] *** newUser1234 has joined #angularjs
[03:24:53] *** newUser1234 has quit IRC
[03:25:26] <numenor> anyone?
[03:25:28] *** JR___ has quit IRC
[03:25:45] *** Maelstro has joined #angularjs
[03:25:50] *** jweaver__ has quit IRC
[03:26:18] *** bundledavid has joined #angularjs
[03:26:46] *** woah has joined #angularjs
[03:26:46] *** eamonn has quit IRC
[03:27:18] *** eamonn has joined #angularjs
[03:27:34] *** omolin4 has joined #angularjs
[03:28:37] *** Beatzebub has quit IRC
[03:28:40] *** threesixes has quit IRC
[03:28:48] <dsdeiz> hm nope.. mine didnt' work for some reason
[03:29:23] *** seriema has joined #angularjs
[03:30:35] *** frkout_ has joined #angularjs
[03:30:35] *** rburns has quit IRC
[03:30:40] *** josh3336 has joined #angularjs
[03:30:45] *** bundledavid has quit IRC
[03:31:00] *** rburns has joined #angularjs
[03:31:33] *** dc_ has joined #angularjs
[03:31:50] *** eamonn has quit IRC
[03:32:59] *** Leika has quit IRC
[03:33:39] *** frkout has quit IRC
[03:33:39] *** wolfman2000 has joined #angularjs
[03:33:56] *** Luser has joined #angularjs
[03:33:56] *** wsmoak_ has joined #angularjs
[03:33:56] *** wsmoak_ has joined #angularjs
[03:34:06] *** baweaver has quit IRC
[03:34:30] *** wallerdev has quit IRC
[03:34:42] *** wsmoak has quit IRC
[03:34:42] *** wsmoak_ is now known as wsmoak
[03:34:53] *** seriema has quit IRC
[03:35:52] <wafflej0ck> numenor: the whole mix of modals and states issue is a problem, you may want to just use a query string instead of a particular state name to determine if you should show the modal or not, this way you can probably handle it by listening for the routeChange events and not have to define a bunch of sub-states
[03:35:55] *** junmin has quit IRC
[03:36:10] *** wsmoak has quit IRC
[03:36:14] *** evotuned has joined #angularjs
[03:36:30] *** xdissent has quit IRC
[03:36:38] <numenor> wafflej0ck hi.. I found a solution (or not) here :http://stackoverflow.com/questions/25107382/angularjs-ui-router-shared-nested-routes-states
[03:37:02] *** baweaver has joined #angularjs
[03:37:10] <wafflej0ck> yeah figured something like that is an option too
[03:37:12] *** mclenithan has quit IRC
[03:37:56] <numenor> I tried the route change, But there are too many modals, and the client needs that they should be url accessible.. As in paste a url and the modal should be visible
[03:38:14] <wafflej0ck> dsdeiz: you get that sorted? typically you don't want to be using $parent since it couples your component to it's parent context tightly
[03:38:29] <wafflej0ck> numenor: yeah using the query string portion I think you could pull that off but haven't tried
[03:38:46] <wafflej0ck> numenor: like #/about?loginModal=showing
[03:39:02] *** Luser has quit IRC
[03:39:05] <numenor> No, I thought about it initially, But never tried.
[03:39:06] *** doginal has quit IRC
[03:39:06] *** Una has joined #angularjs
[03:39:08] <dsdeiz> not yet. still trying to figure it out. clues would be awesome :D
[03:39:25] <wafflej0ck> dsdeiz: you paste some code I just came back to the chat for a bit?
[03:39:29] <numenor> Query string looks good
[03:39:43] <numenor> Will save me major changes
[03:39:57] <wafflej0ck> numenor: yea let me know how it goes, another trick for the bag :)
[03:40:21] <numenor> Sure, As always you are pretty cool :)
[03:40:46] *** evotuned has quit IRC
[03:41:10] *** mogaj has joined #angularjs
[03:41:46] *** chrisbirk has joined #angularjs
[03:41:59] *** dberry37388 has joined #angularjs
[03:41:59] *** d10n-work has quit IRC
[03:42:50] *** wsmoak has joined #angularjs
[03:43:32] *** bayousoft has quit IRC
[03:44:07] *** bahoo has quit IRC
[03:44:10] *** TheAceOfHearts has quit IRC
[03:44:18] *** numenor has quit IRC
[03:44:44] <lebster> hmm is this the correct syntax to read and set headers $http.defaults.headers.common.authenticationToken = headers('authenticationToken');
[03:45:25] *** TyrfingMjolnir has quit IRC
[03:46:20] <lebster> it keeps giving me null and im not sure why
[03:46:47] *** adpirz has quit IRC
[03:46:49] *** motionman has quit IRC
[03:46:49] <lebster> i see the header in fiddler
[03:47:47] <wafflej0ck> where's the headers function come from?
[03:48:48] <lebster> https://www.irccloud.com/pastebin/xqbWKmmh
[03:49:00] *** whitebook has joined #angularjs
[03:49:02] <lebster> $http.post
[03:49:23] *** sirkitree|afk is now known as sirkitree|afk|af
[03:49:44] *** tfennelly has quit IRC
[03:49:48] <wafflej0ck> lebster: think you want headers.authenticationToken
[03:49:51] *** Fire-Dragon-DoL has quit IRC
[03:50:16] *** justind has joined #angularjs
[03:50:42] *** cotko has quit IRC
[03:51:46] <lebster> hmmm that gives undefined
[03:51:57] <lebster> the way i had gave null
[03:52:13] <wafflej0ck> lebster: try console.log(headers) to check out the object
[03:52:31] *** ome has joined #angularjs
[03:52:33] <wafflej0ck> er drop a debugger; point in there
[03:52:36] *** oliver___ has joined #angularjs
[03:52:36] <wafflej0ck> either way
[03:52:58] <lebster> debugger? lol i didnt know there was one
[03:53:25] <lebster> oh like browser debug break point
[03:53:37] <wafflej0ck> lebster: yup my most upvoted answer on SO :) http://stackoverflow.com/questions/19460046/how-to-debug-the-js-in-jsfiddle/19460060#19460060
[03:53:42] *** jonathanpglick has joined #angularjs
[03:53:53] <wafflej0ck> apparently lots of people don't know about that, pretty simple though
[03:54:09] <lebster> https://www.irccloud.com/pastebin/tuwB4I3G
[03:54:21] <lebster> thats what console.log(headers) returns
[03:54:39] <wafflej0ck> ah okay
[03:54:49] <wafflej0ck> well guess it does take a string of the name and looks up the property for you
[03:55:21] *** zilla_ has joined #angularjs
[03:55:25] *** whitebook has quit IRC
[03:55:41] *** jonathanpglick has quit IRC
[03:55:52] <wafflej0ck> figured based on the docs and the fact that headers is an object when you supply it to the options it would be an object here too but that would just be too consistent
[03:55:56] *** vonnegut has quit IRC
[03:56:53] <wafflej0ck> well apparently it can't find the property on the headersObj internally there though and is returning null
[03:56:54] *** chrisbirk has quit IRC
[03:57:46] *** tsalb has quit IRC
[03:58:07] <lebster> hmmm
[03:58:38] *** Fishy__ has quit IRC
[03:58:42] <wafflej0ck> if you have a debugger; line before the header('authenticationToken') line you can step into that function call and see what headersObj has on it but not sure if it's going to help
[03:59:29] *** zz_night-owl is now known as night-owl
[03:59:34] *** helen_ has quit IRC
[03:59:56] *** metasansana has quit IRC
[04:00:38] *** baweaver has quit IRC
[04:01:18] *** wsmoak has quit IRC
[04:01:18] *** rburns has quit IRC
[04:01:31] *** robdubya has joined #angularjs
[04:01:38] *** rburns has joined #angularjs
[04:02:32] *** kuadrosx has quit IRC
[04:02:42] *** adpirz has joined #angularjs
[04:03:14] <lebster> seems to only get the Cache headers
[04:03:19] *** plushy has quit IRC
[04:03:21] <lebster> or see them
[04:03:25] <lebster> https://www.irccloud.com/pastebin/EHPhYdXq
[04:03:51] <jaawerth> dweave: just saw your worker question - you all set or do you still need input?
[04:04:16] *** plushy has joined #angularjs
[04:04:50] *** ctanga has quit IRC
[04:05:50] *** bmac has joined #angularjs
[04:05:52] <lebster> maybe this has to do something with cors
[04:06:00] <dsdeiz> what should i use instead of $parent btw?
[04:06:24] *** Hackwar has joined #angularjs
[04:06:58] <jaawerth> dsdeiz: a better question: why are you using $parent? what's the use-case?
[04:07:15] *** reynierpm has joined #angularjs
[04:07:19] *** reynierpm has left #angularjs
[04:07:20] *** ctanga has joined #angularjs
[04:07:51] *** VinceZa has quit IRC
[04:08:16] <dsdeiz> trying to do this: http://stackoverflow.com/questions/15326053/setting-the-default-value-for-a-radio-inside-of-ng-repeat-angular-js
[04:08:36] *** phuh has quit IRC
[04:08:37] *** JoshGlzBrk has joined #angularjs
[04:08:54] *** Hackwar1 has quit IRC
[04:09:03] <jaawerth> so.. oConfigTerminal is a string?
[04:09:04] *** chrisbirk has joined #angularjs
[04:09:10] *** dannyc has joined #angularjs
[04:09:11] *** phuh has joined #angularjs
[04:09:17] *** freelyfred has joined #angularjs
[04:09:28] *** boneskul_ has quit IRC
[04:09:47] <jaawerth> dsdeiz: is that correrct?
[04:09:51] <dsdeiz> that's not mine exactly. but basically that's what i'm trying to replicate. i got the $parent part working but was wondering why i should avoid it
[04:10:19] <lebster> wafflej0ck: yeah it was my webapi cors thing. i had to specifically expose that header
[04:10:40] <jaawerth> well, it's kind of spaghetti code
[04:10:59] *** whitebook has joined #angularjs
[04:11:27] *** NoNMaDDeN has quit IRC
[04:11:38] *** doginal has joined #angularjs
[04:11:48] <jaawerth> and you don't need it, because you can just use scope inheritance. if you avoid putting primitives on scope, that is - the reason they're probably using the $parent there is because it was the only way they could get it to work, due to the primitive. If they'd simply wrapped that in an object, then they could access oConfigTerminal (and change it, with binding intact) right through the inherited object
[04:12:17] *** dweave has left #angularjs
[04:12:21] *** boneskull has joined #angularjs
[04:12:26] *** mven has quit IRC
[04:13:00] *** omolin4 has quit IRC
[04:13:16] <jaawerth> using an inherited object makes your code more portable and reusable AND easier to debug
[04:13:37] *** omolin4 has joined #angularjs
[04:13:38] *** dannyc has quit IRC
[04:13:41] <jaawerth> (as compared to using $parent, which could easily break if you ever put in an intermediate directive that creates a new scope)
[04:13:56] <jaawerth> it's.. yeah, I'll stick with spaghetti code
[04:14:41] <dsdeiz> hm, happen to have an article i can read about? :D
[04:14:53] *** trustyhank has joined #angularjs
[04:14:56] *** motionman has joined #angularjs
[04:14:59] *** motionman has joined #angularjs
[04:15:35] <s3shs> Why is $upload so retarded? Instead of making an array of objects they do multiple arrays at an index for each field. Ugh.
[04:15:38] *** chaohuanghong1 has quit IRC
[04:15:58] <s3shs> They're messing with my mojo.
[04:16:17] *** nesquerra has joined #angularjs
[04:16:40] <robdubya> the fuck is $upload?
[04:16:52] <s3shs> I said "retarded".
[04:17:04] *** boneskull has quit IRC
[04:17:05] <wafflej0ck> lebster: ah cool glad you got it sorted
[04:17:15] <jaawerth> dsdeiz: No, because I haven't written it yet
[04:17:16] <s3shs> It comes with ng-file-select.
[04:17:22] *** whunt has quit IRC
[04:17:32] <jaawerth> unless someone's beaten me to it and written an awesome MOAR DOTS article
[04:17:53] *** omolin4 has quit IRC
[04:18:20] <jaawerth> robdubya, wafflej0ck: oh hey, you guys know that perf hack of using $scope.$digest? I've been thinking about it lately..
[04:18:27] *** boneskull has joined #angularjs
[04:19:24] <wafflej0ck> dsdeiz: yeah main problem as far as I see it is basically by saying $parent.something you have assumed from in your directive that the $parent has .something on it, and when it doesn't your component is going to mess up, better to have a scope in the directive that you pass things into than to make an assumption about your context/usage
[04:19:29] *** mkc has joined #angularjs
[04:19:41] <zilla_> hi experts...i have a ques....can we write expression in ng-model?
[04:19:43] <jaawerth> or worse, you could change the wrong parent value if you aren't careful
[04:19:54] <s3shs> zilla_, yeah
[04:20:03] <jaawerth> and either way, using $parent is really a patchy quick fix around the fact that you're using primitives on scope, and it could just as easily come back to bite you later
[04:20:08] <s3shs> So long as it resolves to an L value.
[04:20:09] <dsdeiz> yeah i'm using directives.. should i use isolated scopes instead?
[04:20:19] *** tfennelly has joined #angularjs
[04:20:46] <robdubya> you just shouldn't use primitives
[04:20:48] <robdubya> simple.
[04:20:52] <jaawerth> ^
[04:20:56] <jaawerth> primitives bad
[04:20:58] <jaawerth> well, not bad
[04:21:05] <zilla_> s3shs but it does not work like ng-model="camp.{{value.id}}.{{attribute.value}}"
[04:21:16] <robdubya> ugh, no
[04:21:19] <robdubya> dont do that
[04:21:23] <s3shs> ^ robdubya
[04:21:26] <jaawerth> it's time for one of my "primitives BAD" plunks
[04:21:50] <robdubya> jaawerth have this one for free http://plnkr.co/edit/qWUnm57Q5n4MRLaZdcyO
[04:21:58] <wafflej0ck> zilla_: would be good if you show some context around your code
[04:22:19] <robdubya> zilla_ ng-model="camp[value.id][attribute.value]"
[04:22:27] <robdubya> still straight up terrible, but at least its valid JS
[04:22:29] <wafflej0ck> zilla_: you can do camp[value.id][attribute.value] but like others are saying almost certainly not the best idea
[04:22:37] *** JERE has quit IRC
[04:22:52] *** narutimateum has joined #angularjs
[04:23:03] <jaawerth> robdubya: I see you that one and raise you THIS one (which is basically the same thing, but with poorly-written explanatory text) http://plnkr.co/edit/CN42evQ41rmoDxVhjJN8?p=preview
[04:23:27] <robdubya> documentation ftw
[04:23:42] *** Aliks has joined #angularjs
[04:24:06] <s3shs> That is some serious angular bullshit goin' on there.
[04:24:16] *** TheAceOfHearts has joined #angularjs
[04:24:20] <zilla_> i am getting form data from service and i want to bind it to ng-model....so that in last once user fill all the forms i will send this camp object...how do i do that any good approach?
[04:24:35] *** emmesswhy has quit IRC
[04:24:39] <s3shs> No. Assign the service to the $scope and bind right to it through that.
[04:25:10] <s3shs> $scope.myBoundValues = MyServiceObject; <thing ng-bind="myBoundValues.sex" />
[04:25:17] *** conan_the_destro has quit IRC
[04:25:19] *** mven has joined #angularjs
[04:25:41] <lebster> wafflej0ck: yeah, thanks for helping though.
[04:25:53] <s3shs> ^ zilla_
[04:25:54] <wafflej0ck> zilla_: so you have multiple camp objects and each camp has a set of attributes right? typically you would iterate over the camp objects for each one you would iterate over the attributes then you would be able to use that innermost iterant (attribute in camp.attributes) something like that
[04:25:55] <wafflej0ck> lebster: sure thing
[04:26:24] <zilla_> s3shs and then how i will get the filled data...
[04:26:26] <wafflej0ck> zilla_: and would be like ng-model="attribute.value" or something of that nature, not so much going on in the one line
[04:26:38] *** jmichaelward has joined #angularjs
[04:26:57] <robdubya> holy shitballs somebody fixed the sample plunker
[04:27:02] <robdubya> nice job
[04:27:03] *** tristanp has joined #angularjs
[04:27:04] <s3shs> zilla_, magic. That's what angular does. (Actually I meant ng-model, not ng-bind.) Your service object will suddenly contain the data the user entered.
[04:27:06] *** tfennelly has quit IRC
[04:27:37] <dsdeiz> ah so basically i just need to remove $parent? right now i have $parent.subscriptions.monthly so i guess i should just use subscriptions.monthly and declare $scope.subscriptions = {}?
[04:27:59] <zilla_> waffle actually i am using nested ng-repeat for that....so the values coming in ng-model is dynamic value...thats why i have to use expression in ng-model
[04:28:03] <jaawerth> dsdeiz: bingo
[04:28:07] <s3shs> dsdeiz, Yes, try to avoid $parent. Angular will search up through nested controllers for subscriptions.
[04:28:08] *** Luser has joined #angularjs
[04:28:11] *** bmac has quit IRC
[04:28:21] <wafflej0ck> zilla_: ng-repeat='(key, camp) in camps' > ng-repeat='(attr,value) in camp > input ng-model="value"
[04:28:26] *** davesidious_ has joined #angularjs
[04:28:27] <dsdeiz> got it. i'll give that a try. thx guys!
[04:28:33] <s3shs> zilla_, that's fine.
[04:28:40] <jaawerth> dsdeiz: since I was digging through my old plunks, I will give you this one, my "snatch the pebble from my hand" plunk. If you find the bug in this code, grasshopper, then your MOAR DOTS training is complete. http://plnkr.co/edit/lLBZ99
[04:29:15] <wafflej0ck> zilla_: something like this seems more reasonable perhaps you would need to use camp[attr] in the ng-model but either way seems like there should be a cleaner solution than what you've got there
[04:29:24] <dsdeiz> i shall do training after lunch, sensei
[04:29:30] <jaawerth> (that came out more arrogant than I meant it, I just wanted to make a Kung Fu reference)
[04:29:34] <Lewix> hey guys
[04:29:43] <Lewix> I don't understand transclude:element
[04:29:49] <robdubya> nobody does!
[04:29:49] <s3shs> jaawerth, no arrogance allowed. This is he internet.
[04:29:54] *** josh3336 has quit IRC
[04:30:07] <s3shs> Framework authors should not make up words with that many syllables.
[04:30:10] <wafflej0ck> Lewix: yeah welcome to the club :P
[04:30:10] <zilla_> ok thanks s3shs and wafflej0ck
[04:30:16] <s3shs> np
[04:30:37] *** seriema has joined #angularjs
[04:30:38] <jaawerth> robdubya: good answer!
[04:30:48] <s3shs> The whole directive thing is cool, but needs to be made simpler.
[04:30:57] *** jmichaelward has quit IRC
[04:30:58] <robdubya> see : web components
[04:31:00] *** SergioFilhow_ has quit IRC
[04:31:02] <jaawerth> they're simplifying it in 2.0. So, you know, give it 10 years
[04:31:04] <Lewix> wafflej0ck: they say it transcludes the element inside the directive template..
[04:31:07] <jaawerth> (IS JOKE)
[04:31:23] <wafflej0ck> Lewix: yeah allows you to pass some stuff inside your directive and it maintains it's original scope
[04:31:47] <wafflej0ck> Lewix: you have to use a ng-include in your template where you want the transcluded items or else have to do some wizardry in the link function
[04:31:48] *** rburns has quit IRC
[04:31:50] <robdubya> Lewix https://www.youtube.com/watch?v=UMkd0nYmLzY#t=1670
[04:31:53] *** davesidious has quit IRC
[04:31:55] <wafflej0ck> er ng-transclude not ng-include
[04:32:01] <s3shs> Pfft.
[04:32:01] <robdubya> good little talk on transclude
[04:32:04] <s3shs> :-)
[04:32:04] *** rburns has joined #angularjs
[04:32:10] <s3shs> ng-transclude. I love it.
[04:32:14] *** Luser has quit IRC
[04:32:30] <s3shs> Is it wrong of me to not want to validate an idiotic structure?
[04:32:33] <robdubya> its actually not that complicated, but he essplains it better
[04:32:49] <s3shs> It's one of those things you do once and then duplicate for future use.
[04:33:51] *** TyrfingMjolnir has joined #angularjs
[04:33:58] *** SergioFilhow_ has joined #angularjs
[04:34:01] <jaawerth> Lewix: this is a pretty good explanation http://blog.omkarpatil.com/2012/11/transclude-in-angularjs.html
[04:34:22] <jaawerth> with code examples and such
[04:35:05] *** snurfery has quit IRC
[04:35:32] <jaawerth> er, that code may be out of date
[04:35:42] <jaawerth> a quick glance shows that it isn't since the March 2013 updated, but I may have missed something
[04:35:56] <robdubya> dont think its changed much tbh
[04:36:04] *** seriema has quit IRC
[04:36:04] <jaawerth> me neither, other than what's mentioned in the update
[04:36:06] *** chizbang has quit IRC
[04:36:18] *** UnderSampled has left #angularjs
[04:36:26] <jaawerth> s3shs: it isn't idiotic. crazy, but not idiotic - it does solve a use-case you otherwise wouldn't be able to provide with directives
[04:36:47] <s3shs> I'm not saying unnecessary. I'm saying "should be easier".
[04:36:49] *** evotuned has joined #angularjs
[04:36:50] <wafflej0ck> yeah I definitely like it but it's confusing
[04:37:04] <Lewix> jaawerth: thanks but i already found a better explanation -
[04:37:04] <robdubya> get your bunghole ready for web components
[04:37:12] <jaawerth> lol
[04:37:15] <jaawerth> when?
[04:37:15] <s3shs> heh
[04:37:16] <robdubya> fuck your explanation jaawerth
[04:37:19] <wafflej0ck> haha
[04:37:19] <jaawerth> haha
[04:37:26] <jaawerth> OH YEAH WELL, YOUR OTHER EXPLANATION IS A JERK
[04:37:46] <jaawerth> So anyway, $scope.$digest perf hack - familiar with it?
[04:37:49] <Lewix> do you guys have a link for the best practices
[04:37:57] <robdubya> write code that doesn't suck.
[04:38:06] <robdubya> and doesn't use god damned events everywhere
[04:38:23] <wafflej0ck> Lewix: I just go generally by the best practices video and the best practiced project structure from Googes
[04:38:26] *** TyrfingMjolnir has quit IRC
[04:38:30] <Lewix> robdubya: take a step back , drink some water and come back. i think you're drunk
[04:38:41] <robdubya> i only wish i was drunk
[04:38:43] <jaawerth> yes, start here http://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html
[04:38:52] * jaawerth pours some whiskey
[04:38:56] *** F1LT3R has joined #angularjs
[04:39:01] <Lewix> robdubya: that's funny a team member argued that event driven was better than controller and i was convinced
[04:39:20] <wafflej0ck> Lewix: yeah ask that guy how he's doing 6 months or a year from now :)
[04:39:26] <robdubya> well, my new job is entirely event powered and i'm literally in hell
[04:39:32] <F1LT3R> yikes, this room is crazy big
[04:39:44] <wafflej0ck> we came for brains
[04:39:47] *** jonr22 has joined #angularjs
[04:39:47] <jaawerth> Actually this ties into what I was thinking about
[04:39:54] <Lewix> robdubya: do you have links for me that can convince us otherwise
[04:40:02] <Lewix> i need the pros/cons
[04:40:07] <Lewix> jaawerth: thanks buddy
[04:40:10] <robdubya> angular = data driven
[04:40:14] <robdubya> not event driven
[04:40:25] <robdubya> normally i'd go on an hour long rant and convince you
[04:40:33] <Lewix> i need facts man
[04:40:35] <robdubya> but i do that for a living now, so i'm not doing it for free :(
[04:40:35] <Lewix> you are drunk
[04:40:52] <wafflej0ck> Lewix: broadcasting/emitting events is basically like sending a message in a bottle, putting together a coherent stack trace of what occurred becomes a nightmare
[04:40:54] *** ron1 has joined #angularjs
[04:41:06] *** frkout_ has quit IRC
[04:41:23] <zomg> robdubya: but..but...events rule
[04:41:24] <wafflej0ck> Lewix: having data models makes debugging issues much easier since you have a central location and things can be done synchronously to the model
[04:41:32] <robdubya> shut your face zomg
[04:41:33] *** frkout has joined #angularjs
[04:41:34] <zomg> lol
[04:41:43] *** evotuned has quit IRC
[04:41:53] <s3shs> Events can be useful in really little tight-knit spaces. But this idea of collecting a value and broadcasting it 4 controllers away... is impossible to debug and unpredictable.
[04:42:00] <Lewix> wafflej0ck: provide me with links to convince the boss
[04:42:13] <robdubya> s3shs our entire. fucking. codebase. is built that way.
[04:42:16] <zomg> I'm feeling completely discouraged because I need to add a collection to our mongodb and we don't have a migration system in place..
[04:42:19] <jaawerth> events are fine in context, node has plenty of examples of where they work. However, they make it very easy to turn your code into spaghetti if you aren't careful, and angular's sytem of $scope, digest, services, and data binding make them wholly unnecessary
[04:42:26] <s3shs> robdubya, probably easier to rewrite.
[04:42:52] <wafflej0ck> Lewix: eh not my problem :) I'm just speaking from experience, really though as others said event have their place but they shouldn't be your primary way to communicate data changes between controllers and such
[04:43:09] <Lewix> i see
[04:43:15] <wafflej0ck> Lewix: for things like growl messages or login events, or state change events, these kinds of things make sense, but it can get bad
[04:43:22] <themime> wafflej0ck: just hopped on love your "why broadcast overall bad" explanation of message in bottle haha
[04:43:34] <Lewix> unfortunately your opinion don't hold much weight =). I'm the only one who believes you
[04:43:39] <oste> how can i listen to an animation ending with 1.3?
[04:43:40] <jaawerth> yeah. they DO have their place, but usually as a truly global event (like a state change), a performance workaround (which should not be done prematurely), or something very specific (like the $destroy event on scopes)
[04:43:53] <Lewix> wafflej0ck: my question is why and why not
[04:43:56] <oste> is it possible with css animations?
[04:43:58] <Lewix> why does it make sense
[04:44:11] <zomg> I hope angular 2.0 gives some sort of event emitting mechanism that isn't tied to scopes or something
[04:44:12] <robdubya> Lewix god i wish i could show you our codebase and how unintelligible some of it is.
[04:44:29] <zomg> our codebase uses scopes and watches a lot because it was more convenient than having to think about event emitters
[04:44:32] <jaawerth> zomg: there are modules that have that via services if you want them
[04:44:34] *** jonr22 has quit IRC
[04:44:50] <zomg> it's not too bad but sometimes the logic is quite hard to track with the pile of watches happening as a result of something
[04:45:09] <jaawerth> yeah, and having too many watches can really hit your performance on a digest
[04:45:12] <zomg> jaawerth: yeah I'm thinking of just browserifying node's EventEmitter
[04:45:24] <jaawerth> via a service I hope!
[04:45:26] <robdubya> lololololol
[04:45:32] <jaawerth> but also: don't do that
[04:45:45] <wafflej0ck> Lewix: it makes sense when they are app wide events that components can react to independently it doesn't make sense when you're using events to trigger other events in most cases, you can do some research though I'm sure you'll come up with some more concrete pros and cons lists but I just know from having been there a few times, I end up refactoring things to use services/factories and debugging goes from being impossible to
[04:45:45] <wafflej0ck> being a breeze (I realize this is anecodotal but I don't have time or desire to make up a report)
[04:45:56] <zomg> well it wouldn't be used as a global event bus
[04:46:14] <jaawerth> I can see the use-case as a performance tweak
[04:46:16] <zomg> but rather subscribing to events on services
[04:46:27] <jaawerth> yeah
[04:46:37] <jaawerth> I see what you're saying
[04:46:47] <jaawerth> so you can, say, "watch" something without it getting checked on every digest
[04:46:55] <zomg> yeah something like that
[04:46:55] *** omolin4 has joined #angularjs
[04:46:55] *** rburns has quit IRC
[04:47:04] <robdubya> that's how angularSails works
[04:47:11] <jaawerth> I thought it might!
[04:47:13] <robdubya> works pretty OK
[04:47:15] <zomg> also easier to tell when something is getting triggered from an event emitter that you call yourself
[04:47:18] *** omolin4 has quit IRC
[04:47:21] <zomg> instead of it getting triggered by a watch
[04:47:24] <Lewix> I think their train of thoughts were along those lines - angular 2 will get rid of controllers so we might as well be event driven, this is the future like node
[04:47:26] *** rburns has joined #angularjs
[04:47:40] <robdubya> ermm
[04:47:45] <jaawerth> robdubya: I was gonna ask you about that. I was thinking earlier today about how websockets could give you a serious performance issue (which you may or may not be able to solve with throttling your $apply) if you get hit with a bunch of incoming subscribe events
[04:47:48] <robdubya> web components are about... data binding
[04:47:50] *** SpotSec has quit IRC
[04:47:51] *** omolin4 has joined #angularjs
[04:47:54] <robdubya> angular 2.0 is about web components
[04:47:55] <zomg> it would be interesting to see some FRP-based system becoming more popular
[04:47:57] *** snurfery has joined #angularjs
[04:47:57] <robdubya> LETS USE EVENTS
[04:48:03] <zomg> it's an interesting concept but I think it isn't being used so much yet
[04:48:11] <zomg> not in JS-land anyway
[04:48:21] <robdubya> Object.observe = the hottest shit out there
[04:48:32] <Lewix> ok I'm gonna do some research on google trying to find some material to substantiate your argument
[04:48:49] *** Iravan_ has joined #angularjs
[04:48:55] <jaawerth> robdubya: and the three solutions I could think of were the $scope.$digest hack (which really shouldn't be a global solution), a service-based event bus, or a throttle on your $apply while still triggering the actions wrappedi n the $apply
[04:48:58] *** ron1 has quit IRC
[04:49:09] *** JoshGlzBrk has quit IRC
[04:49:10] *** zilla_ has quit IRC
[04:49:12] *** mzabriskie has joined #angularjs
[04:49:15] *** ron1 has joined #angularjs
[04:49:24] <jaawerth> or, really, a combination of 2 and 3
[04:49:49] <Lewix> wafflej0ck: events that trigger events ey. i think theyre mostly using app wide events
[04:50:25] *** DoubleAW has quit IRC
[04:50:25] *** mary5030 has joined #angularjs
[04:50:38] <jaawerth> then I really went off the deep end and started picturing what it would look like if I coded up a namespaced-based $apply that let you run digests on certain namespaced scopes (wrapped in the stuff that $apply normally wraps around the $digest). It got a little messy in my head
[04:50:42] <robdubya> jaawerth so websockets are out the loop anyway
[04:51:11] <robdubya> (they dont trigger digests, so a/s has to do $digest or something that will cause it (i use $timeout cuz its easy)
[04:51:13] <jaawerth> yeah, I was just getting creative/destructive in thinking about how I would work them into the loop
[04:51:30] *** Iravan has quit IRC
[04:51:39] <jaawerth> the simplest solution is a $timeout that you can cancel and restart if another one comes in before your last one has completed
[04:51:43] *** mmealling has quit IRC
[04:51:47] <robdubya> presumably you cuold just debounce / throttle some sort of doDigest() method
[04:51:52] *** prbc has quit IRC
[04:51:52] <jaawerth> yeah
[04:51:57] *** omolin4 has quit IRC
[04:52:03] <jaawerth> but I wanted to generalize the problem
[04:52:40] <jaawerth> say you DID want to rapidly update certain aspects of your app without running a global $apply every time. Or if you wanted a bunch of listeners that didn't get triggered on every digest
[04:53:02] *** johnnyfive has quit IRC
[04:53:08] <jaawerth> just a thought experiment, and probably not a very useful one unless I can come up with specific use-cases that don't have obvious solutions (like websockets do)
[04:53:16] *** prbc has joined #angularjs
[04:53:52] <robdubya> https://github.com/balderdashy/angularSails/blob/master/src/socketBackend.js#L21-L28
[04:54:21] <robdubya> that would trigger on every single one, so not uberperformant
[04:54:37] <jaawerth> but useful for incremental stuff
[04:54:39] <robdubya> it would be relatively trivial to throttle/debounce that call
[04:54:47] *** {DV8} has quit IRC
[04:54:51] *** mmeallin_ has joined #angularjs
[04:55:01] *** Milkweed has quit IRC
[04:55:02] *** johnnyfive has joined #angularjs
[04:55:05] <robdubya> could pass it in as an option to the .subscribe method i spose
[04:55:12] <jaawerth> yeah, I know. you could also easily separate the throttled digest from the executed handler so the handler still executes when you're throttling the digest
[04:55:15] *** beckyconning_ has joined #angularjs
[04:55:43] <jaawerth> the context here is I've been pondering using that ShareJS lib to make a concurrent editing angular thing
[04:55:44] * robdubya makes a note to spike angular-sails-model-options
[04:55:49] <jaawerth> hehe
[04:55:54] *** Mugo has joined #angularjs
[04:56:06] <robdubya> you should try out the google drive one too, pretty slick
[04:56:28] <jaawerth> and that's basically the solution I came up with (more or less what you're doing there, but with a handler that you can decouple while throttling the digest)
[04:56:43] <jaawerth> robdubya: wait, there's an open source google drive lib? just client, or server too?
[04:56:46] *** whitebook has quit IRC
[04:56:52] <wafflej0ck> jaawerth: not directly on topic with the whole websockets conversation but regarding having watches or digests that occur for specific properties this is how AS3/Flex handled it http://blog.flexuous.com/2011/03/07/what-does-bindable-mean-in-actionscript/
[04:56:59] <robdubya> https://developers.google.com/drive/realtime/
[04:57:01] <robdubya> jaawerth ^
[04:57:20] <jaawerth> yessss
[04:57:25] <oste> can anyone point me to an example of listening to a CSS animation complete
[04:57:30] <s3shs> wafflej0ck, frameworks need to explain that stuff in a paragraph or else it'll be too complex in practice.
[04:57:46] <oste> i am seeing this https://docs.angularjs.org/api/ngAnimate/service/$animate
[04:57:51] *** Left_Turn has quit IRC
[04:57:52] <jaawerth> that's awesome! ShareJS is cool but not mature. When did this come out?
[04:57:58] *** jrajaratnam has joined #angularjs
[04:57:59] <oste> but i have no idea what this is $animate.enter(element, container).then(function() {
[04:58:21] <robdubya> a while, afaik. i suppose its been around longer than its been public, since its what powers google Docs
[04:58:49] <jaawerth> wafflej0ck: yeah I like this - totally on topic! the websockets thing was just a for-instance
[04:59:00] <themime> does element.addClass not update the dom if done in a $watch?
[04:59:04] <jaawerth> yeah, I just didn't realize they'd released it
[04:59:19] <jaawerth> themime: it most certainly does ;-)0
[04:59:29] <robdubya> it does all that mad Operational Transform business
[04:59:51] <wafflej0ck> yeah interesting robdubya have you seen Apache Wave? you know how this compares at all?
[04:59:51] <jaawerth> yeah, which is something I'd probably enjoy coding if someone was paying me to reinvent the wheel, but such is life
[04:59:54] <themime> ng-class nor addClass are working, but when i made a plunker it did work. such a frustrating issue
[04:59:55] *** ayesian has quit IRC
[05:00:06] <jaawerth> why won't anyone pay me to reinvent the wheel? :(
[05:00:07] *** Mugo has quit IRC
[05:00:16] <robdubya> wafflej0ck you could build wave on it pretty trivially i reckon
[05:00:33] <Greed> because they already pay an entire team to do that
[05:00:35] <robdubya> themime got nganimate included?
[05:00:35] <themime> it shows it with the class rightafter i add when i print element with $log but after the block runs and i inspect element or check with jquery in the console it doesn't show OR have the expected behavior (transition/display from css, etc)
[05:00:38] <jaawerth> 9 times out of 10 if it works in your plunker but not in your app, you've got something going on in your app that's ruining it
[05:00:41] *** juanpablo_ has joined #angularjs
[05:00:50] *** punch has joined #angularjs
[05:01:19] <themime> robdubya: sorta, its custom. for reasons out of my control its custom classes but similar purpose. totally out of my control, i tried multiple times to move to ng-animate :(
[05:01:30] *** doginal has quit IRC
[05:01:32] <jaawerth> robdubya: have they released any of the actual document editing code? I'm expecting "no" since this isn't fantasyland, but now you've got my hopes up
[05:01:54] *** ayesian has joined #angularjs
[05:02:22] *** gnu_d has quit IRC
[05:03:02] <wafflej0ck> jaawerth: it seems like with this JS library you've got it all in the box would just need a rich text editor like QuillJS or something
[05:03:27] <wafflej0ck> just watching the intro video though
[05:03:38] <jaawerth> wafflej0ck: yeah, I mean the magic that makes it compatible with proprietary formats. And like I said, I'm expecting "no" since this isn't fantasyland. I'm checking anywayy, though
[05:04:36] *** doginal has joined #angularjs
[05:05:22] *** juanpablo_ has quit IRC
[05:06:23] <robdubya> oh, no, its just the realtimey bit
[05:06:43] <robdubya> https://developers.google.com/drive/web/examples/
[05:06:50] <robdubya> they do have a dr edit demo so...
[05:07:12] <jaawerth> yeah I just saw that
[05:07:19] <jaawerth> https://github.com/googledrive they've open-sourced an awful lot
[05:07:22] *** rosieres has joined #angularjs
[05:08:35] *** duellsy has joined #angularjs
[05:08:37] *** phuh has quit IRC
[05:09:02] *** phuh has joined #angularjs
[05:09:14] <jaawerth> lol, the they have a github pages site for it but it's just the auto-generated page
[05:09:36] *** omsmith has quit IRC
[05:09:39] <jaawerth> still, I love google. by far my favorite giant multinational corporate with its fingers in all of our lives
[05:09:44] *** omsmith has joined #angularjs
[05:09:55] *** wa5ted_away has joined #angularjs
[05:09:57] *** corehook has joined #angularjs
[05:10:14] *** blake_r-vacation has quit IRC
[05:10:34] *** dannyc has joined #angularjs
[05:11:21] *** blake_r has joined #angularjs
[05:11:38] *** mmeallin_ has quit IRC
[05:11:53] *** nemothek_ has quit IRC
[05:12:29] <wafflej0ck> yeah only thing I'm not liking about this is it seems to require your users to sign in with a Gmail/G+ account
[05:12:56] <robdubya> yep, thats true
[05:13:06] <jaawerth> oh, that's.. hmm
[05:13:06] <robdubya> their servers = their auth i suppose
[05:13:13] <jaawerth> so it still relies on their backend
[05:13:17] <wafflej0ck> yeah entirely
[05:13:21] <s3shs> Doesn't everybody already use gmail and G+?
[05:13:26] <wafflej0ck> the security stuff there sketches me out a bit
[05:13:26] <jaawerth> excitement quelled
[05:14:08] <wafflej0ck> s3shs: I do already use them in a CRM I have for calendars cause of notifications and stuff but is just an unattractive point to an otherwise compelling product
[05:14:09] <jaawerth> it doesn't surprise me that they'd offer that part - it just means more ways to get access to what they really make money off of: analytics
[05:14:38] *** nesquerra has quit IRC
[05:14:57] *** Fuzzy has quit IRC
[05:15:12] *** bundledavid has joined #angularjs
[05:15:12] *** dannyc has quit IRC
[05:15:37] *** adpirz has quit IRC
[05:16:02] <jaawerth> there's still sharejs though!
[05:16:08] <wafflej0ck> yeah seems like I should be able to just have a drive account associated with a Google Application/Credentials for API access and have a drive account associated with that and supply the user info (unique id), but like you said more sign ups more analytics
[05:16:11] *** mary5030 has quit IRC
[05:16:12] *** adpirz has joined #angularjs
[05:16:46] *** mary5030 has joined #angularjs
[05:17:05] *** DoubleAW has joined #angularjs
[05:17:58] *** whitebook has joined #angularjs
[05:18:37] <jaawerth> yeah, and I understand why they wouldn't just release the code to let people go and build their own google drive (even though that's more of what I want)
[05:18:45] *** mzabriskie has quit IRC
[05:19:01] *** macabre has joined #angularjs
[05:19:06] <jaawerth> but ShareJS is pretty cool, and built by the ex-google dev who made google wave
[05:19:12] *** doginal has quit IRC
[05:19:19] <wafflej0ck> yeah totally but they could also just have API limits like most of the other stuff and charge crazy licensing fees to anyone who needs more than 100,000 requests a day or something
[05:19:22] <jaawerth> (whose code almost certainly went into google docs/drive)
[05:19:23] *** bundledavid has quit IRC
[05:19:28] <robdubya> god knows what you need on the backend for that
[05:19:34] <wafflej0ck> says NodeJS
[05:19:45] <wafflej0ck> no idea beyond that though
[05:19:46] <robdubya> i mean to run your own google drive
[05:19:59] <robdubya> java as far as the eye can see, prob
[05:20:06] <jaawerth> I don't want all of it, just the concurrent editing parts
[05:20:15] *** mven has quit IRC
[05:20:16] *** edzez_ has quit IRC
[05:20:17] <jaawerth> also: I bet they're using something a bit more optimized than java
[05:20:20] *** punch has quit IRC
[05:20:21] <wafflej0ck> robdubya: yeah hear it's mostly Python and Java
[05:20:30] <jaawerth> well, I guess a crazily-tuned jvm
[05:20:40] *** adpirz has quit IRC
[05:20:57] *** mary5030 has quit IRC
[05:21:19] <jaawerth> I wonder what kinds of server-side stuff they're using Dart for
[05:21:24] *** asher^ has quit IRC
[05:21:27] *** edzez_ has joined #angularjs
[05:22:05] <jaawerth> (if any)
[05:22:16] *** Luser has joined #angularjs
[05:22:29] *** sinequanon has joined #angularjs
[05:22:52] *** gH05t has joined #angularjs
[05:22:53] *** vassagus has quit IRC
[05:23:06] *** burzum2 has joined #angularjs
[05:23:08] *** bmac has joined #angularjs
[05:23:21] <wafflej0ck> dunno had one buddy who worked there and did python dev a fair amount though he ended up leaving to work for the gov which I tried to tell him not to do but eh it is what it is, he's a big open source guy so he's doing some things to try and open some of the gov code up where possible
[05:24:12] <jaawerth> gov is opening up from what I've heard
[05:24:20] <jaawerth> using a lot of Chef, for example
[05:24:36] *** dberry37388 has quit IRC
[05:24:45] <gH05t> when we use express.js, can we use the object passed to ejs file as data for angular.js
[05:24:59] *** mary5030 has joined #angularjs
[05:25:07] <jaawerth> angular is client-side
[05:25:07] *** asher^ has joined #angularjs
[05:25:08] <wafflej0ck> yeah there's a fair amount of government supplied public data too which is pretty nice (though some of the APIs could use some help)
[05:25:18] *** burzum has quit IRC
[05:25:21] *** mary5030 has quit IRC
[05:25:25] <robdubya> gH05t you can, but you shouldn't, just write API endpoints
[05:25:34] *** doginal has joined #angularjs
[05:25:39] <jaawerth> you can do codesharing with angular but data itself you should pass via ^ what robdubya said
[05:25:53] *** mary5030 has joined #angularjs
[05:26:11] *** johnnyfive has quit IRC
[05:26:17] <jaawerth> I know it's counterintuitive to make an extra HTTP call but you'll probably make up for it by being able to cache your static resources on the server
[05:26:36] *** Luser has quit IRC
[05:26:38] <jaawerth> which you can't do if you're mixing in server-side rendering to inject the data
[05:26:41] *** bmac has quit IRC
[05:27:04] *** sinequanon has quit IRC
[05:27:23] <gH05t> robdubya: but anybody can seen that data with get request. right?
[05:27:54] *** corehook has quit IRC
[05:27:58] <jaawerth> not if you use webtokens
[05:28:02] <robdubya> SSL
[05:28:09] <jaawerth> also that
[05:28:09] <robdubya> which you should be using anyway
[05:28:32] *** johnnyfive has joined #angularjs
[05:28:43] <wafflej0ck> so stupid question, when you all are actually running a node server in production or whatever are you using ngnix (or something else) to handle the rewrites and virtual named server config and proxying to Node or?
[05:28:47] <jaawerth> I mean, you could use cookies too but then you have to worry about XSS exploits and crap
[05:29:00] <robdubya> wafflej0ck node is good at APIs, crap at static stuff
[05:29:08] *** NoNMaDDeN has joined #angularjs
[05:29:10] <jaawerth> wafflej0ck: that's what I do, yes.
[05:29:13] *** AlexZanf has quit IRC
[05:29:27] <robdubya> so nginx or some CDN/statically tuned thing
[05:29:30] <wafflej0ck> okay thx
[05:29:32] <jaawerth> nginx for reverse-proxy (which also makes it more DoS-resistant), static file caching, microcaching if applicable, etc
[05:29:33] *** Yufei has joined #angularjs
[05:29:37] *** mzabriskie has joined #angularjs
[05:29:39] <s3shs> fyi, URL arguments are visible with SSL.
[05:29:48] *** devhoag has joined #angularjs
[05:29:53] <jaawerth> they are not
[05:30:24] <jaawerth> but truly secure stuff shouldn't be done with URL args anyway, there are too many other ways (including human error - link sharing, for example) that they could get out
[05:30:49] <jaawerth> though it's not as bad with AJAX requests
[05:31:11] *** \du has joined #angularjs
[05:31:17] <s3shs> Ahh: "These fields are stripped off of the URL when creating the
[05:31:18] <s3shs> routing information in the https packaging process by the browser and
[05:31:18] <s3shs> are included in the encrypted data block."
[05:31:22] <s3shs> (whoops)
[05:31:47] *** seriema has joined #angularjs
[05:31:57] *** bhuvanaurora has joined #angularjs
[05:32:04] <oste> anyone know how to add an event to css animation complete?
[05:32:24] *** diegoviola has joined #angularjs
[05:32:46] <jaawerth> s3shs: the LENGTH of the url & params can be seen, though, which could theoretically be exploitable
[05:32:53] <wafflej0ck> s3shs: hmm I did not know that, always assumed the URL was unsafe too cause of logging in routers/switches and whatnot still don't think I'd trust it
[05:33:06] <s3shs> Do you trust IE to get that right? ;-)
[05:33:34] *** lemur has joined #angularjs
[05:33:44] *** asdf_ has joined #angularjs
[05:33:58] *** nemothekid has joined #angularjs
[05:34:32] <jcool> how can we set min value for a calendar based on what user inputs in 1st calendar?
[05:34:35] *** asdf_ has left #angularjs
[05:34:49] *** gH05t has quit IRC
[05:35:12] *** gH05t has joined #angularjs
[05:35:13] <jcool> mind-date = {{my1stcalendar}}. something like this?
[05:35:39] *** prbc has quit IRC
[05:35:43] *** JohnBat26 has joined #angularjs
[05:35:57] *** JohnBat26 has quit IRC
[05:36:04] *** macabre has quit IRC
[05:36:05] *** JohnBat26 has joined #angularjs
[05:36:34] *** bhuvanaurora has quit IRC
[05:36:40] *** macabre has joined #angularjs
[05:36:47] *** Fuzzy has joined #angularjs
[05:36:48] *** seriema has quit IRC
[05:37:33] *** evotuned has joined #angularjs
[05:37:49] <gH05t> how does AngularJS contribute in mean stack.
[05:38:02] <wafflej0ck> the A
[05:38:09] <robdubya> lol
[05:38:27] * jaawerth applauds
[05:38:54] *** prbc has joined #angularjs
[05:39:11] *** bkuberek_ has quit IRC
[05:39:14] *** nesquerra has joined #angularjs
[05:39:16] <s3shs> heh
[05:39:25] <jaawerth> oste: what do you mean? like, how to register a listener for a custom css event?
[05:39:39] *** bkuberek has joined #angularjs
[05:39:54] <oste> when the css animation ends i would ilke to fire some javascript
[05:40:07] <wafflej0ck> jcool: you using ui-bootstrap date-picker?
[05:40:15] <jcool> wafflej0ck, yep
[05:40:28] *** qwerty_ has joined #angularjs
[05:40:49] <wafflej0ck> jcool: think I had to hack around in the source to get it to read the disabledDates don't recall if there was a min-date separately let me take a gander at the current source
[05:40:50] *** josh3336 has joined #angularjs
[05:40:53] *** macabre has quit IRC
[05:41:17] <wafflej0ck> to read them async I mean it expected them to be available up front I'm pretty sure
[05:41:42] <oste> it looks like this is what i am after https://github.com/angular/angular.js/issues/5685
[05:41:46] <jcool> wafflej0ck, I need to disabled dates of 2nd picker based on value of first picker
[05:41:50] *** ProLoser has joined #angularjs
[05:41:50] <oste> but i am only seeing examples that don’t really make sense
[05:41:53] *** evotuned has quit IRC
[05:41:56] *** justind has quit IRC
[05:42:00] <jcool> wafflej0ck, if you select 1st december in first, the 2nd one should start with 2nd decemeber
[05:42:05] *** qwerty_ has quit IRC
[05:42:11] <wafflej0ck> jcool: yeah I had to do that plus had some async already reserved dates I had to block out
[05:42:12] <oste> like the ones under Callback Promises here https://docs.angularjs.org/api/ngAnimate/service/$animate
[05:42:25] *** seanmacd3nald has joined #angularjs
[05:42:34] *** querty_ has joined #angularjs
[05:42:44] <oste> i am not sure if those are for css or js animation
[05:42:53] *** oliver___ has quit IRC
[05:43:01] <wafflej0ck> jcool: haven't had time to go back to that code and clean it up to put in a PR looks like it is watching for changes to minDate/maxDate though so those should be okay
[05:43:15] <jcool> wafflej0ck, that should help :)
[05:43:35] <jcool> wafflej0ck, it will be great if you can share that change
[05:43:57] *** nesquerra has quit IRC
[05:43:58] *** prbc has quit IRC
[05:44:08] <oste> https://github.com/angular/angular.js/pull/5940
[05:44:19] <oste> looks like someone else is wondering the same 4 days ago :/
[05:44:26] *** snurfery has quit IRC
[05:44:40] *** doginal has quit IRC
[05:45:04] *** querty_ has quit IRC
[05:45:04] <wafflej0ck> jcool: eh really it was for a slightly older version and not the cleanest solution in the world iirc looks like here you could do a watch on the object you bind for the ng-model but I don't see a change event or callback as is
[05:45:18] *** chrisbirk has quit IRC
[05:45:54] <jaawerth> oste: in a directive, you can do element.on('$animate:close')
[05:46:00] <jcool> wafflej0ck, yeah. I thought to keep watch and then do it, may be not a clean solution but will help in this case
[05:46:30] <oste> jaawerth would that work for $animate.enter?
[05:46:40] *** doginal has joined #angularjs
[05:46:51] <oste> $(‘#element’).on(‘$animate:enter’);
[05:46:53] <oste> hrrrm
[05:47:25] *** josh3336 has quit IRC
[05:47:35] *** dberry37388 has joined #angularjs
[05:47:39] *** eyebraus_ has joined #angularjs
[05:47:41] *** kp666 has joined #angularjs
[05:47:42] <wafflej0ck> jcool: yeah other option would be you tweak the source or override the directive definition using https://github.com/angular-ui/bootstrap/blob/master/src/datepicker/datepicker.js#L180 but you'd also need to change https://github.com/angular-ui/bootstrap/blob/master/src/datepicker/datepicker.js#L20 to trigger the callback if it's provided
[05:48:16] <wafflej0ck> jcool: problem there is upgrading you'd have to reapply said patching
[05:48:17] *** rburns has quit IRC
[05:48:25] <wafflej0ck> jcool: or get it in a PR that gets accepted
[05:48:31] *** mkc has quit IRC
[05:48:55] <jcool> wafflej0ck, there seems to be minDate watch variable
[05:48:59] *** darrin has quit IRC
[05:49:16] *** micks_9093 has joined #angularjs
[05:49:16] <wafflej0ck> jcool: yeah it's watching minDate but you have no way to know when the selected date changed on the first one
[05:49:25] <oste> https://github.com/juliemr/angular.js/blob/42fadf8e9620d4a26a0f92c03b3d98330a2b14c8/test/ngAnimate/animateSpec.js#L29
[05:49:32] <oste> lost.
[05:49:51] <jcool> wafflej0ck, yeah agreed.
[05:50:13] *** phzon has joined #angularjs
[05:50:26] <jcool> wafflej0ck, that seems to be nice direction. I will work around from here. a quick question. how can we change value that is being passed to backend?
[05:50:45] <jcool> wafflej0ck, I have changed view in frontend but backend recieves same old value in json. the longone.
[05:51:15] *** Aliks_ has joined #angularjs
[05:51:41] *** tristanp has quit IRC
[05:51:56] *** seanmacd3nald has left #angularjs
[05:51:57] <jaawerth> oste: off the top of my head, I think so? that stuff isn't super well-documented though
[05:52:00] <wafflej0ck> jcool: not sure I follow really, typically I do any sort of tranformations in a service or a factory (I usually use services for my API calls and sometimes make factory objects for manipulating the data on the way in or out) you could also use $httpInterceptor if it's something you can generically apply across all the calls
[05:52:17] *** tristanp has joined #angularjs
[05:52:35] <jaawerth> oste: if you're calling $animate.enter, you can also add a callback right there, or use the returned promise to trigger a function. but if you're trying to just listen for the CSS then that won't work
[05:52:54] <jaawerth> if you aren't using ng-animate. you can of course just use .on to listen for WHATEVER the event is in a native CSS animation
[05:52:57] *** Aliks has quit IRC
[05:53:00] <jcool> wafflej0ck, thanks for that information. It will help to get me code at right places.
[05:53:02] *** gH05t has quit IRC
[05:53:27] <oste> this does not work $('#element').on('$animate.enter', function() {
[05:53:46] <jaawerth> it would be '$animate:enter'
[05:54:23] *** phzon has quit IRC
[05:54:25] *** rburns has joined #angularjs
[05:55:37] *** deear has quit IRC
[05:56:12] <oste> http://plnkr.co/edit/iWHBNyKfwiSUUFKrMQff?p=preview
[05:56:19] <oste> that looks promising
[05:56:19] <chovy2> howdy
[05:56:23] <wafflej0ck> jcool: np, regarding the services/factories how I use them is more a preference thing than a rule, both are singletons service is just instantiated with the "new" keyword whereas factories the function is just called and the result is injected wherever it's needed (due to this you can use "this" keyword if you use a .service but not a .factory though I personally still use the factory style syntax when defining either just to
[05:56:23] <wafflej0ck> keep it simpler), both are different syntactic sugar for defining a $provider (check docs on that for details)
[05:56:44] *** tristanp has quit IRC
[05:56:46] <oste> jaawerth i was not able to get the .on(‘$animate:enter’… to work
[05:57:01] *** P1RATEZ has quit IRC
[05:57:44] <jcool> wafflej0ck, that information will help me when I develop. I am new and looking ways to keep my code clean. right now code is repetated across controllers
[05:57:54] <jcool> may be that will help me to keep my code clean
[05:58:07] *** J_A_X has quit IRC
[05:58:10] <wafflej0ck> jcool: yeah typically you want small controllers pointing to factories/services and you'll avoid repeating yourself so much
[05:58:13] *** kapil_ has joined #angularjs
[05:58:19] <jcool> wafflej0ck, yeah
[05:58:38] *** doginal has quit IRC
[05:59:03] *** frkout_ has joined #angularjs
[06:00:10] *** JoshGlzBrk has joined #angularjs
[06:00:11] *** nycdevgirl has joined #angularjs
[06:00:51] <wafflej0ck> jcool: ah one more thing you might want to check out, $parsers/$formatters with ngModel work to transform the data shown vs the data stored in the model though tbh haven't really done much with this yet, it might be another alternative
[06:01:23] *** JoshGlzBrk has quit IRC
[06:01:25] *** nesquerra has joined #angularjs
[06:01:32] <jcool> wafflej0ck, sounds good. May help me to get my task done. But I am little worried the way ui calendar does binding
[06:01:51] <jcool> as I am looking to store only in DD.MM.YYYY format
[06:02:02] *** whitebook has quit IRC
[06:02:11] <jcool> and I dont know if I manipulate and save it , while editing will it load that value
[06:02:51] *** grindmodeon has joined #angularjs
[06:03:03] *** frkout has quit IRC
[06:03:11] *** JR___ has joined #angularjs
[06:03:34] <grindmodeon> Hey, I have a problem, not sure how to approach it. I want my login page to look different than my dashboard, list users etc. So like, I dont want to show the navbar or footer etc on the login page. How do I do that?
[06:03:36] <grindmodeon> What do I use?
[06:03:55] *** punch has joined #angularjs
[06:04:07] <wafflej0ck> grindmodeon: ui-router
[06:04:42] <wafflej0ck> jcool: yeah not sure would have to see it in action and play around with it I think
[06:05:08] <jcool> wafflej0ck, yeah.
[06:05:29] *** chrisbirk has joined #angularjs
[06:05:37] *** bhuvanaurora has joined #angularjs
[06:06:06] *** gH05t has joined #angularjs
[06:06:32] *** oste has quit IRC
[06:06:38] *** MaxV has joined #angularjs
[06:06:44] *** gH05t has left #angularjs
[06:06:56] *** chrisshattuck has joined #angularjs
[06:06:56] <wafflej0ck> grindmodeon: you could also just use ng-show ng-hide and hack it but if you expect to keep working on this project using ui-router is probably gonna be the way to go unless the routing/views are dead simple and you can't benefit from sibling/nested views
[06:07:46] *** ludkiller has quit IRC
[06:08:12] *** sinequanon has joined #angularjs
[06:08:20] <grindmodeon> wafflej0ck: what is a "state"?
[06:08:26] <grindmodeon> the url?
[06:08:36] *** phuh has quit IRC
[06:08:45] *** gnu_d has joined #angularjs
[06:08:50] <wafflej0ck> grindmodeon: no actually states are just an abstract object that are part of a state tree, not necessarily tied to a URL but can be associated with one
[06:09:03] *** phuh has joined #angularjs
[06:09:17] <wafflej0ck> grindmodeon: but you can have abstract states that can't themselves be navigated to but are the parents of other states (so when going to the child of an abstract state you trigger the abstract state too)
[06:09:27] *** bkuberek_ has joined #angularjs
[06:09:31] <wafflej0ck> grindmodeon: the real thing I think you'll want to take advantage of though is nested views
[06:10:05] <wafflej0ck> grindmodeon: so your application can have two main states loggedIn and loggedOut and each of those can have 1 or more child states which tie templates to parts of the display
[06:10:14] *** ludkille- has joined #angularjs
[06:10:31] *** TyrfingMjolnir has joined #angularjs
[06:11:40] *** MaxV has quit IRC
[06:11:59] <wafflej0ck> so you have one main ui-view (like how you have ng-view right now to tell it where to place stuff) then in the template for the loggedOut state you have the login-form in the loggedIn state (could be abstract) it would have templates that fill in the ui-view, but here's the ringer, those templates can include ui-views and the state can define which template goes into which particular ui-view (you can name the ui-view parts as
[06:11:59] <wafflej0ck> opposed to ng-view that only exists in 1 place)
[06:12:31] *** snurfery has joined #angularjs
[06:12:32] *** richardlitt has joined #angularjs
[06:12:47] <wafflej0ck> so you can have one state that shows just the login form and another state that includes sub-ui-views that have the footer header body areas
[06:12:47] *** bkuberek has quit IRC
[06:13:27] *** threesixes has joined #angularjs
[06:13:45] *** {DV8} has joined #angularjs
[06:13:57] *** charlenopires has joined #angularjs
[06:14:48] *** rosieres has quit IRC
[06:15:05] *** grindmodeon has quit IRC
[06:15:12] *** jmichaelward has joined #angularjs
[06:16:28] <hotnikks_> for those of you that follow papa john's style/layout guide, where do you keep your tests?
[06:16:45] <wafflej0ck> mmm I want pizza
[06:16:45] <hotnikks_> within the folder-by-feature folder?
[06:16:48] *** chrissha_ has joined #angularjs
[06:17:11] *** chrisshattuck has quit IRC
[06:17:11] <hotnikks_> like if this is the default layout: https://github.com/johnpapa/angularjs-styleguide#style-y152
[06:17:18] *** vdiaz has joined #angularjs
[06:18:00] <wafflej0ck> hotnikks_: typically have test folder at the same level as the app folder and just try to reflect the folder structure of the scripts being tested, that said have only recently started writing tests
[06:18:31] *** joker666 has joined #angularjs
[06:18:39] <hotnikks_> got it
[06:18:44] <wafflej0ck> hotnikks_: grunt test:coverage with karma is pretty cool for getting an HTML output (uses Istanbul) of the code your tests touch vs what's not tested
[06:18:48] <hotnikks_> so if you have app/people/foo.controller.js
[06:18:54] <hotnikks_> youd have test/people/foo.controller.js ?
[06:18:59] <wafflej0ck> yup
[06:19:03] <hotnikks_> k
[06:19:34] <hotnikks_> do you follow his recommendation of keeping services in their own dir too? seems to violate the folder-by-feature though i guess services may span several features
[06:19:42] *** jmichaelward has quit IRC
[06:21:13] <wafflej0ck> hotnikks_: yeah typically I actually have the services and controllers together, actually my layout differs from this a bit more in that I have views/partials in their own structure too but again it's just a reflection of the scripts structure typically, personally for my workflow having a related service and the controllers that use it in one file until that file becomes unmanageable seems much easier since I'm always
[06:21:14] <wafflej0ck> referencing things in the service while working on the controllers
[06:21:56] *** JoshGlzBrk has joined #angularjs
[06:22:15] <hotnikks_> while ive got your attention: thoughts on npm wrapping bower install calls and whatnot?
[06:22:17] <wafflej0ck> if the combined services/controller file gets unwieldy (like say 500 lines of code) then I'll break out the service usually (since that's typically the big part) and keep the controllers together still
[06:22:21] <hotnikks_> trying to streamline stuff as much as possible
[06:22:32] <hotnikks_> papa john seems to like "npm foo" calling bower, etc.
[06:22:57] <wafflej0ck> hmm yeah not sure I have an opinion about that, typically I just use bower but not sure what the proposed advantage is
[06:23:15] *** vassagus has joined #angularjs
[06:23:28] <wafflej0ck> on my projects I have bash scripts that initialize the bare repo on the server and a mirror on the client and automatically runs npm install && bower install after setting up a new local copy
[06:23:49] *** TheAceOfHearts has quit IRC
[06:24:15] *** oliver___ has joined #angularjs
[06:24:16] <hotnikks_> it's just nice to "grunt" and have it do everything -- while developing i mean
[06:24:17] *** Luke88 has joined #angularjs
[06:24:22] *** tomengland_mbp has joined #angularjs
[06:24:22] <hotnikks_> like having the default grunt task do it all
[06:24:30] <wafflej0ck> use Jenkins for doing my CI/CD work and it all goes pretty smooth
[06:24:33] <hotnikks_> though i guess you have to install grunt to begin with
[06:24:43] *** Lewix has quit IRC
[06:24:50] *** mennea has joined #angularjs
[06:24:52] <wafflej0ck> yeah I have to type grunt serve, after my two bash scripts are run
[06:25:00] <hotnikks_> http://stackoverflow.com/questions/14166591/automate-npm-and-bower-install-with-grunt
[06:25:04] <hotnikks_> the second answer is quite nice here
[06:25:04] *** frkout_ has quit IRC
[06:25:10] <hotnikks_> the postinstall i mean
[06:25:31] *** frkout has joined #angularjs
[06:26:00] <ish> I'm using ng-repeat to build a table for tabular data, then I'd like to scroll to a predetermined point.. How can I know when ng-repeat is done? I have to set a timeout for up to a second or more for it to work, but some sort of event would be better.
[06:26:47] <wafflej0ck> hotnikks_: ah yeah I mean I just have npm install && bower install in my bash script so not really an issue for me but nice to know about the postinstall
[06:28:12] *** zanea is now known as zanea|away
[06:28:42] *** vassagus has quit IRC
[06:28:53] *** jonr22 has joined #angularjs
[06:28:55] <devhoag> ish: you could attach a directive to the ng-repeat that looks for $last in the scope and then fire an event
[06:29:16] *** charlenopires has quit IRC
[06:29:20] *** dnewkerk has quit IRC
[06:29:49] <devhoag> ish: http://stackoverflow.com/questions/13471129/angularjs-ng-repeat-finish-event
[06:30:06] *** nycdevgirl has quit IRC
[06:31:54] *** Aerospark has joined #angularjs
[06:31:59] <devhoag> ish: this is actually quite elegant ng-init="$last ? doSomething() : null"
[06:32:00] *** kotyy has quit IRC
[06:32:01] <devhoag> ish: https://docs.angularjs.org/api/ng/directive/ngInit
[06:32:28] *** bkuberek_ has quit IRC
[06:32:51] *** seriema has joined #angularjs
[06:33:37] *** jonr22 has quit IRC
[06:33:39] <ish> thanks, I was slightly wrong, ended up having an event fire on every element. Your first link solved that.
[06:34:36] *** charlenopires has joined #angularjs
[06:35:41] *** grindmodeon has joined #angularjs
[06:36:56] *** night-owl is now known as zz_night-owl
[06:37:23] *** seriema has quit IRC
[06:38:18] *** evotuned has joined #angularjs
[06:38:47] *** grindmodeon has quit IRC
[06:40:58] *** richardlitt has quit IRC
[06:40:59] *** Aliks_ has quit IRC
[06:41:06] *** mennea_ has joined #angularjs
[06:41:24] *** tomengla_ has joined #angularjs
[06:41:47] *** ProLoser has quit IRC
[06:41:52] *** JoshGlzBrk has quit IRC
[06:42:10] *** johnnyfive has quit IRC
[06:42:22] *** ProLoser has joined #angularjs
[06:42:26] *** mennea has quit IRC
[06:42:32] *** johnnyfive has joined #angularjs
[06:42:36] *** marshall has joined #angularjs
[06:42:59] *** ProLoser has quit IRC
[06:43:06] *** evotuned has quit IRC
[06:43:06] *** richardlitt has joined #angularjs
[06:43:14] *** ProLoser has joined #angularjs
[06:43:41] *** peterp_ has joined #angularjs
[06:43:53] *** tomengland_mbp has quit IRC
[06:44:17] <peterp_> Is it possible to query a unit in an array of objects?
[06:44:37] *** ron1 has quit IRC
[06:44:39] <peterp_> err, query by value
[06:44:59] <peterp_> so each item has a name, title, id -> can I query by name, title or id? This is in terms of query parameters
[06:45:01] *** tomengla_ has quit IRC
[06:46:30] *** tomengland_mbp has joined #angularjs
[06:47:14] *** NoNMaDDeN has quit IRC
[06:47:40] *** exp10r3r has joined #angularjs
[06:47:40] *** jaydubya has quit IRC
[06:47:55] <peterp_> Holy cow. That was much easier than I thought!
[06:48:29] *** mary5030 has quit IRC
[06:49:04] *** mary5030 has joined #angularjs
[06:49:27] *** juanpablo_ has joined #angularjs
[06:50:28] *** ron1 has joined #angularjs
[06:50:45] *** junmin has joined #angularjs
[06:51:06] *** JoshGlzBrk has joined #angularjs
[06:53:38] *** mary5030 has quit IRC
[06:54:02] *** juanpablo_ has quit IRC
[06:54:33] *** chrisbirk has quit IRC
[06:54:34] *** rburns has quit IRC
[06:54:45] *** rburns has joined #angularjs
[06:55:03] *** F1LT3R has quit IRC
[06:55:16] *** tomengland_mbp has quit IRC
[06:55:42] *** NormySan has joined #angularjs
[06:55:45] *** emmesswhy has joined #angularjs
[06:56:27] <hotnikks_> anyone know if usemin is well supported now (for angular apps)?
[06:57:00] *** tomengland_mbp has joined #angularjs
[06:57:36] *** {DV8} has quit IRC
[06:58:00] *** JR___ has quit IRC
[06:58:28] <wafflej0ck> hotnikks_: never really had a problem with it so long as I use ngAnnotate or annotate stuff for minification
[06:59:17] <hotnikks_> oof
[06:59:27] <hotnikks_> annotation for minification is a pain
[06:59:36] <wafflej0ck> yeah I use ngAnnotate
[06:59:38] <hotnikks_> ngmin doesnt seem to require
[06:59:41] *** ali4ever4_ has joined #angularjs
[06:59:50] *** VeeWee has joined #angularjs
[06:59:58] <hotnikks_> oh hmm it's deprecated in favor of ngannotate :)
[07:00:29] <wafflej0ck> yeah ngAnnotate works almost all the time but good to have CI or be running builds periodically to be sure all is well
[07:03:37] <hotnikks_> do you explicitly list dozens of js files with <script> tags in your index.html? obviously for dev it's not an issue and usemin will concat for you into a single foo.js, but seems like it's a pain in the ass vs. simply having your dev version just slurp up every .js file under a particular path
[07:03:40] *** richardlitt has quit IRC
[07:03:55] <hotnikks_> i can see index.html growing super long due to the <script>'s, though i suppose that'swhere requirejs comes in
[07:04:01] *** xxMatiasFCxx has joined #angularjs
[07:04:05] *** bundledavid has joined #angularjs
[07:04:45] *** adpirz has joined #angularjs
[07:04:57] *** shiju has joined #angularjs
[07:04:59] <shiju> hi
[07:05:09] *** xxMatiasFxx has quit IRC
[07:05:21] <shiju> is there anyway to reload page using angular?
[07:05:51] *** tomengland_mbp has joined #angularjs
[07:06:26] <wafflej0ck> hotnikks_: you can use grunt wire-dep personally I don't mind the scripts in the index.html it usually doesn't really do much else
[07:06:37] *** dseitz has joined #angularjs
[07:06:43] *** Aliks has joined #angularjs
[07:06:45] <zomg> shiju: I don't think the $location service has reload, so you could probably just use $window.location.reload()
[07:07:11] <hotnikks_> shiju: *why* are you trying to reload?
[07:07:14] <hotnikks_> let's answer that q first
[07:07:19] <zomg> Yeah that might also be a good idea =)
[07:07:25] *** junmin has quit IRC
[07:08:02] <ali4ever4_> Hello , i was wondering using Angularjs with cordova (in mobile hybrid development) will that make the apps slower than other hybrid html5 js applications ?!
[07:08:09] <shiju> $window.location.reload() is loading twice
[07:08:25] *** bundledavid has quit IRC
[07:08:28] *** NoNMaDDeN has joined #angularjs
[07:08:37] *** phuh has quit IRC
[07:08:37] <wafflej0ck> ali4ever4_: check the app store for demos, there's some sluggishness from what I've seen but it's not bad for basic controls
[07:08:44] *** diegoaguilar has joined #angularjs
[07:08:56] <wafflej0ck> ali4ever4_: er the play store rather not sure about apple but imagine devs have released ionic demos there too
[07:08:59] *** rhp has quit IRC
[07:09:00] <shiju> i have three user types and each one has diferent dashbord
[07:09:04] *** phuh has joined #angularjs
[07:09:18] *** doug64k has quit IRC
[07:09:18] *** adpirz has quit IRC
[07:09:41] <shiju> i need to populate navigation and related things based on the user type
[07:10:08] *** ron1 has quit IRC
[07:10:36] *** Luser has joined #angularjs
[07:10:37] *** mennea_ has quit IRC
[07:10:45] <ali4ever4_> wafflej0ck: well i am asking cause i had worked with telerik appbuilder ( icenium previously) which makes the mvvm through kendo ui framework and it is after having 10 + screens in the app it gets really very slow , so i was wondering if ionic can be better
[07:11:12] *** mennea has joined #angularjs
[07:11:42] *** dsdeiz_ has joined #angularjs
[07:11:43] *** rhp has joined #angularjs
[07:12:06] *** bhuvanaurora has quit IRC
[07:12:26] <wafflej0ck> ali4ever4_: in terms of being faster or slower than without AngularJS it's all about how the code is optimized in the end, you could write super optimal code or extremely sub-optimal code with or without Angular, like I said check out the demos, if you already have ADT android dev tools installed then getting the demo apps up and running on a dev machine only takes about 15 minutes then adding things to test it out isn't too bad
[07:12:26] <wafflej0ck> really, I did a simple POC in a couple of hours and was pretty happy with the performance (even used a calendar UI in one of the screens)
[07:12:38] *** charlenopires has quit IRC
[07:13:23] *** dsdeiz has quit IRC
[07:14:05] <wafflej0ck> ali4ever4_: in particular 1.3 brings bind-once which should help with the issue of creating too many $watchers which is a typical performance pitfall in angular unfortunately I don't think Ionic currently supports 1.3 but I imagine it would come pretty soon
[07:14:30] *** chrisbirk has joined #angularjs
[07:14:47] <robdubya> its in the nightlies
[07:14:56] *** Luser has quit IRC
[07:15:07] *** TheAceOfHearts has joined #angularjs
[07:15:17] *** andrewdee has quit IRC
[07:15:32] *** bhuvanaurora has joined #angularjs
[07:16:25] *** patrickarlt has quit IRC
[07:17:18] *** ayesian has left #angularjs
[07:17:24] *** mzabriskie has quit IRC
[07:18:27] <ali4ever4_> shiju: i think you should look into updating the user interface or sending the user to differnts routs and views depending on the user type data you are getting within android controller instead of fully reloading the page
[07:18:39] <ali4ever4_> wafflej0ck: thanks a lot will check the demos
[07:20:15] *** mary5030 has joined #angularjs
[07:20:48] *** NormySan has quit IRC
[07:20:59] *** mtsr has joined #angularjs
[07:21:43] *** ome has quit IRC
[07:22:20] *** andrewdee has joined #angularjs
[07:22:50] *** shiju has quit IRC
[07:24:19] <ProLoser> anyone here?
[07:24:45] *** devians has joined #angularjs
[07:24:56] <ProLoser> anyone use slate?
[07:25:01] *** asher^ has quit IRC
[07:25:35] *** asher^ has joined #angularjs
[07:25:41] *** Sontakey has quit IRC
[07:25:49] *** ali4ever4_ is now known as ali4ver4
[07:25:49] <devians> I thought, when you made a controller, it inherited a new $scope object. I'm finding two controllers that reference the same variable $scope.someVar are stepping on each others toes, even though they're not nested.
[07:26:40] *** Sontakey has joined #angularjs
[07:26:57] *** sp00x has quit IRC
[07:28:41] *** sp00x has joined #angularjs
[07:30:11] *** chrisbirk has quit IRC
[07:30:27] *** ali4ver4 is now known as ali4ever4
[07:30:40] *** larsgk has joined #angularjs
[07:31:31] *** enaqx has quit IRC
[07:31:34] *** d4rklit3 has quit IRC
[07:33:18] *** e0ipso|away is now known as e0ipso
[07:33:19] *** bkuberek has joined #angularjs
[07:33:49] *** seriema has joined #angularjs
[07:34:02] *** dowgiallo has quit IRC
[07:34:05] *** NoNMaDDeN has quit IRC
[07:35:19] <hotnikks_> wafflej0ck: does grunt-wiredep jack up your index.html with ALL files in bower.sjon?
[07:35:22] <hotnikks_> *bower.json?
[07:35:32] <hotnikks_> all bower installed components i mean
[07:35:38] <hotnikks_> or just ones that it detects are being used
[07:36:39] *** diegoviola has quit IRC
[07:37:13] *** steimle has joined #angularjs
[07:37:27] <hotnikks_> also, could you use wiredep to inject your OWN scripts? not just the bower ones?
[07:37:30] <wafflej0ck> hotnikks_: it uses your bower.json to look for dependencies in the bower_components folder, then looks at the bower.json in those dependencies folders and has to find a "main" property in the bower.json that indicates which files should actually be used (js and/or css from the dist folder of the dependency typically)
[07:38:00] *** bkuberek has quit IRC
[07:38:05] <wafflej0ck> so the problem with that is it depends on the people who maintain the bower package to include that main section, in most projects though it's taken care of
[07:38:27] <wafflej0ck> hotnikks_: regarding your own scripts I'm not aware of one but it's certainly possible
[07:38:53] *** seriema has quit IRC
[07:38:56] <hotnikks_> http://stackoverflow.com/questions/21232889/how-to-include-scripts-automatically-in-a-yeoman-grunt-project
[07:39:00] <hotnikks_> looks like there is
[07:39:02] *** mtsr has quit IRC
[07:39:08] *** evotuned has joined #angularjs
[07:39:08] *** bhuvanaurora has quit IRC
[07:39:10] <hotnikks_> grunt-include-source
[07:39:25] *** sinequanon has quit IRC
[07:39:25] *** bhuvanaurora has joined #angularjs
[07:39:53] *** bhuvanaurora has quit IRC
[07:40:41] <wafflej0ck> hotnikks_: nice
[07:40:41] *** mennea has quit IRC
[07:41:16] *** mennea has joined #angularjs
[07:42:33] <wafflej0ck> hotnikks_: really though I like to be able to run the files off a static server too, but maybe I'll switch over to using wiredep and grunt-include-source stuff here eventually
[07:42:42] *** prettymuchbryce has joined #angularjs
[07:43:12] *** nemothekid has quit IRC
[07:43:12] <hotnikks_> right i was thinking it does thake that away
[07:43:15] <jrajaratnam> hello all… stuck on geolocation..
[07:43:21] <hotnikks_> altho youve got origin issues then in any ase
[07:43:21] *** HACKING-FACEBOOK has joined #angularjs
[07:43:23] *** evotuned has quit IRC
[07:43:25] <hotnikks_> if just file://
[07:43:28] <jrajaratnam> i’ve added the following to my app.js:
[07:43:28] <jrajaratnam> .config(function ($routeProvider, $locationProvider) {
[07:43:29] <jrajaratnam> $locationProvider.html5Mode(true);
[07:43:34] <hotnikks_> btw, i think "dist" and "server" were such stupid default names
[07:43:42] <hotnikks_> for the yeoman tasks
[07:43:52] *** ProLoser has quit IRC
[07:43:53] <hotnikks_> like "server"(?) really?
[07:43:56] <jrajaratnam> then I created a service:
[07:44:15] <jrajaratnam> .factory('userLocationService', function() {
[07:44:15] <jrajaratnam> userLocation.getUserLocation = function() {
[07:44:17] <jrajaratnam> window.navigator.geolocation.getCurrentPosition(function(pos){
[07:44:18] <jrajaratnam> userLocation = pos;
[07:44:19] <jrajaratnam> });
[07:44:20] <jrajaratnam> };
[07:44:58] *** niop has joined #angularjs
[07:45:17] <jrajaratnam> then my controller calls that service.. but I get an empty object
[07:45:20] <jrajaratnam> controller('StoresCtrl', function ($scope, sailsAPIservice, userLocationService) {
[07:45:28] <jrajaratnam> userLocationService.getUserLocation(function (response) {
[07:45:29] <jrajaratnam> $scope.userLocation = response;
[07:45:29] <jrajaratnam> });
[07:46:11] <jrajaratnam> thoughts?
[07:46:51] <wafflej0ck> hotnikks_: really plan on switching to gulp though I imagine all the same tasks can be found as plugins (for the most part at least)
[07:47:18] *** larsgk has quit IRC
[07:47:41] <wafflej0ck> jrajaratnam: use plunkr instead of pasting into the IRC
[07:47:58] *** sinequanon has joined #angularjs
[07:48:00] <jrajaratnam> ok thanks.. I was wondering about that...
[07:48:02] *** peterp_ has quit IRC
[07:48:10] *** sinequanon has quit IRC
[07:48:10] <jrajaratnam> seemed rather rude..
[07:48:48] *** sinequanon has joined #angularjs
[07:48:51] *** vdiaz has quit IRC
[07:48:53] *** nemothekid has joined #angularjs
[07:49:02] <wafflej0ck> jrajaratnam: yeah well major problem IMO is peoples conversations cut it up, plus use the IRC topic link /topic and you have angular already loaded so can actually test it by stripping out unnecessary parts or substiting mock parts
[07:49:27] <wafflej0ck> jrajaratnam: also pastebin and the like will do some syntax highlighting usually which can be helpful if nothing else
[07:50:05] *** sinequan_ has joined #angularjs
[07:50:14] <jrajaratnam> jsfiddle as well?
[07:50:21] <jrajaratnam> that’s the other one I started using
[07:50:31] *** sp00x has quit IRC
[07:50:32] *** test____ has joined #angularjs
[07:50:33] *** chrisbirk has joined #angularjs
[07:50:36] <wafflej0ck> jrajaratnam: basically looks like you've got your factory definition a little messed up, jsfiddle isn't as flexible as plunkr with loading libraries and extra files
[07:50:58] *** chrisbirk has quit IRC
[07:51:12] <wafflej0ck> jrajaratnam: jsfiddle is better than nothing and fine for testing JS specific problems or questions you have but plunkr works much better for angular specific problems (assuming it's running :P)
[07:51:24] *** mary5030 has quit IRC
[07:51:25] *** test____ has quit IRC
[07:51:35] *** platonic has quit IRC
[07:51:49] *** sinequan_ has quit IRC
[07:51:55] <wafflej0ck> jrajaratnam: but yeah just use this http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[07:51:57] *** mary5030 has joined #angularjs
[07:52:16] *** ProLoser has joined #angularjs
[07:52:30] *** squeakytoy has quit IRC
[07:52:45] *** Leon has joined #angularjs
[07:53:16] *** sinequanon has quit IRC
[07:53:16] *** HACKING-FACEBOOK has quit IRC
[07:53:36] *** tfennelly has joined #angularjs
[07:53:39] *** HACKING-FACEBOOK has joined #angularjs
[07:53:54] *** \du has quit IRC
[07:54:00] *** HACKING-FACEBOOK has joined #angularjs
[07:54:22] *** HACKING-FACEBOOK has joined #angularjs
[07:54:43] *** sinequanon has joined #angularjs
[07:54:46] *** HACKING-FACEBOOK has joined #angularjs
[07:55:06] *** HACKING-FACEBOOK has joined #angularjs
[07:55:06] *** rburns has quit IRC
[07:55:07] *** HACKING-FACEBOOK has quit IRC
[07:55:24] *** tech2 has joined #angularjs
[07:55:36] *** HACKING-FACEBOOK has joined #angularjs
[07:55:46] *** F1LT3R has joined #angularjs
[07:55:54] *** rburns has joined #angularjs
[07:56:13] *** HACKING-FACEBOOK has joined #angularjs
[07:56:43] *** mary5030 has quit IRC
[07:57:02] *** HACKING-FACEBOOK has joined #angularjs
[07:57:08] <jrajaratnam> @wafflej0ck: ok saved the plnkr
[07:57:30] <wafflej0ck> jrajaratnam: url should update shortly after just copy and paste it here
[07:57:41] *** HACKING-FACEBOOK has joined #angularjs
[07:57:49] <jrajaratnam> http://plnkr.co/edit/mxyPdLYHeVjmUwvN98NP?p=info
[07:58:06] <jrajaratnam> just copied in the relevant parts
[07:58:15] *** HACKING-FACEBOOK has joined #angularjs
[07:58:24] *** tfennelly has quit IRC
[07:58:36] *** HACKING-FACEBOOK has joined #angularjs
[07:58:56] *** HACKING-FACEBOOK has joined #angularjs
[07:59:13] *** HACKING-FACEBOOK has joined #angularjs
[07:59:31] *** HACKING-FACEBOOK has joined #angularjs
[07:59:56] *** HACKING-FACEBOOK has joined #angularjs
[08:00:00] *** F1LT3R has quit IRC
[08:00:05] *** speaking1ode has joined #angularjs
[08:00:15] *** speakingcode has quit IRC
[08:00:21] *** HACKING-FACEBOOK has joined #angularjs
[08:00:37] *** jonr22 has joined #angularjs
[08:00:41] *** HACKING-FACEBOOK has joined #angularjs
[08:01:01] *** heizkessel has joined #angularjs
[08:01:04] *** HACKING-FACEBOOK has joined #angularjs
[08:01:24] *** HACKING-FACEBOOK has joined #angularjs
[08:01:47] *** HACKING-FACEBOOK has joined #angularjs
[08:02:14] *** ggrzybek has joined #angularjs
[08:02:18] *** jonr22 has quit IRC
[08:02:18] <jrajaratnam> so basically the $scope.userLocation returns null..
[08:02:25] <jrajaratnam> from the stores.js controller
[08:02:40] *** jonr22 has joined #angularjs
[08:02:53] *** motionman has quit IRC
[08:03:34] *** bkuberek has joined #angularjs
[08:03:57] *** jmichaelward has joined #angularjs
[08:04:20] *** nemothekid has quit IRC
[08:04:28] *** heizkessel is now known as motionman
[08:04:34] *** jonr22 has quit IRC
[08:04:43] *** jonr22 has joined #angularjs
[08:04:44] *** Luser has joined #angularjs
[08:05:42] <wafflej0ck> jrajaratnam: alright actually doesn't look as bad as I thought from the original paste in the IRC you just need to make use of a promise here
[08:06:14] <jrajaratnam> ok I’ll have to look up what that is.. haven’t run into that yet
[08:06:54] *** Aerospark has quit IRC
[08:08:24] <wafflej0ck> jrajaratnam: http://plnkr.co/edit/f3bZThZerLkan3P4bROw?p=preview
[08:08:36] *** bkuberek has quit IRC
[08:08:38] *** phuh has quit IRC
[08:08:46] *** mennea has quit IRC
[08:08:51] <wafflej0ck> jrajaratnam: you might also consider just having a reference to the service from the scope and directly referencing the data in the service from the view instead
[08:08:54] *** jmichaelward has quit IRC
[08:09:02] *** tomengland_mbp has quit IRC
[08:09:05] *** phuh has joined #angularjs
[08:09:07] <jrajaratnam> instead of using a service?
[08:09:12] <wafflej0ck> jrajaratnam: but good to be familiar with and use promises $q for async stuff
[08:09:20] <jrajaratnam> yea I just got finished putting the geolocation code right in the controller and worked like a charm
[08:09:25] *** Luser has quit IRC
[08:09:32] <jrajaratnam> i was trying to get into “best practices” as best as possible
[08:09:41] <wafflej0ck> jrajaratnam: no I mean use the service but you can have a reference to the service directly
[08:09:45] <jrajaratnam> but I guess I was just assuming using a service was “best practice"
[08:09:51] *** uru|away is now known as uru
[08:10:19] <jrajaratnam> oh ok...
[08:10:25] <jrajaratnam> by using $rootScope?
[08:10:38] <jrajaratnam> scopes are new to me so still wrapping my head around that
[08:10:40] *** jonr2219 has joined #angularjs
[08:10:47] <wafflej0ck> jrajaratnam: no not using $rootScope see the updated plunk http://plnkr.co/edit/f3bZThZerLkan3P4bROw?p=preview
[08:11:00] *** jonr22 has quit IRC
[08:11:07] *** Luke88 has quit IRC
[08:11:09] *** zz_night-owl is now known as night-owl
[08:11:17] <jrajaratnam> yup looking at it now..
[08:12:08] *** jimvideo has quit IRC
[08:12:15] *** jonr2219 has quit IRC
[08:12:21] *** svycka has joined #angularjs
[08:12:34] *** Orbitrix has quit IRC
[08:12:44] *** jonr22 has joined #angularjs
[08:12:52] *** Orbitrix has joined #angularjs
[08:13:35] *** chrissha_ has quit IRC
[08:13:41] *** Aerospark has joined #angularjs
[08:13:47] *** at0mat has joined #angularjs
[08:14:38] *** \du has joined #angularjs
[08:14:38] *** jonr22 has quit IRC
[08:14:45] *** jonr2219 has joined #angularjs
[08:15:10] <wafflej0ck> jrajaratnam: actually give it one more refresh I cleaned it up to show the second way just referencing the service directly without the other stuff
[08:15:34] <jrajaratnam> ok
[08:16:18] *** jonr2219 has quit IRC
[08:16:19] <wafflej0ck> jrajaratnam: I sort of lied I did use $rootScope but just to trigger the apply call after updating the data/model
[08:16:25] *** one0one has quit IRC
[08:16:31] *** soee has joined #angularjs
[08:16:46] *** charlenopires has joined #angularjs
[08:16:47] *** jonr22 has joined #angularjs
[08:17:07] <jrajaratnam> well i think it makes sense for me to have userLocation as $rootScope since I will be using it everywhere
[08:17:59] *** evotuned has joined #angularjs
[08:18:11] *** Aerospark has quit IRC
[08:18:24] <wafflej0ck> jrajaratnam: problem is other developers down the line are probably going to think putting other stuff in global space is a good idea too and tends to make for more fragility when you use global scopes since the more properties you have in a model the more states it can be in (generally speaking)
[08:18:43] <wafflej0ck> jrajaratnam: injecting it wherever you need it and referencing it isn't that difficult and keeps things cleaner
[08:20:04] <jrajaratnam> ok that makes sense
[08:20:11] <jrajaratnam> question.. so in the stores.js:
[08:20:12] *** grindmodeon has joined #angularjs
[08:20:13] <jrajaratnam> $scope.userLocationService = userLocationService;
[08:20:14] *** shpoont has joined #angularjs
[08:20:14] <jrajaratnam>
[08:20:15] <jrajaratnam> userLocationService.getUserLocation();
[08:20:23] *** jonr22 has quit IRC
[08:20:40] *** HACKING-FACEBOOK has quit IRC
[08:20:53] <jrajaratnam> does the order of those need to be flipped?
[08:21:04] <jrajaratnam> or do all functions run first (for order of operations)
[08:21:18] <wafflej0ck> jrajaratnam: no but really you can call userLocationService where defining the factory before it's returned if you want that right away when the factory is injected somewhere
[08:21:19] *** jonr22 has joined #angularjs
[08:21:40] *** duellsy has quit IRC
[08:21:45] <jrajaratnam> oh ok
[08:22:22] <wafflej0ck> jrajaratnam: the reason you can call the function is cause that's the name of the injected thing, "variable hoisting" is a thing that happens in JS and can throw people off and lead to devs thinking it's a good idea to write goofy code but it's another issue
[08:22:24] *** jonr22 has quit IRC
[08:22:28] *** cacts has quit IRC
[08:22:53] *** jonr22 has joined #angularjs
[08:23:08] *** Evanion has joined #angularjs
[08:23:09] <jrajaratnam> haha ok.. yea I wish i understood the concepts a little better.. just trying to hack together an MVP
[08:23:42] <jrajaratnam> thanks a lot for your help! working on putting in the changes now
[08:23:44] *** tripu has joined #angularjs
[08:23:52] <wafflej0ck> jrajaratnam: np
[08:24:28] *** jonr22 has quit IRC
[08:25:05] *** jonr22 has joined #angularjs
[08:25:51] *** platonic has joined #angularjs
[08:26:16] <jrajaratnam> wafflej0ck: I’m assuming your a NodeJS guy?
[08:26:16] *** rburns has quit IRC
[08:26:21] <jrajaratnam> have you explored SailsJS at all?
[08:26:33] *** rburns has joined #angularjs
[08:26:36] *** jonr22 has quit IRC
[08:26:37] *** platonic has quit IRC
[08:26:54] *** platonic has joined #angularjs
[08:26:57] *** jonr22 has joined #angularjs
[08:27:08] *** HACKING-FACEBOOK has joined #angularjs
[08:27:13] *** evotuned_ has joined #angularjs
[08:27:27] *** HACKING-FACEBOOK has joined #angularjs
[08:27:48] *** HACKING-FACEBOOK has joined #angularjs
[08:27:52] <wafflej0ck> jrajaratnam: ah actually nope and nope
[08:28:08] *** HACKING-FACEBOOK has joined #angularjs
[08:28:19] *** punch has quit IRC
[08:28:23] *** ahtik has joined #angularjs
[08:28:24] <jrajaratnam> ha.. you just solely a front-end guy that injests APIs?
[08:28:28] *** HACKING-FACEBOOK has joined #angularjs
[08:28:32] *** jonr22 has quit IRC
[08:28:36] <jrajaratnam> ingests
[08:28:38] <wafflej0ck> jrajaratnam: I have an AS3/Flex/Java/Teradata background and doing PHP/MySQL/Angular stuff now
[08:28:40] *** robdubya has quit IRC
[08:28:46] *** dberry37388 has quit IRC
[08:28:50] *** HACKING-FACEBOOK has joined #angularjs
[08:29:01] *** jonr22 has joined #angularjs
[08:29:10] *** HACKING-FACEBOOK has joined #angularjs
[08:29:20] <jcool> How can we make edit and delete work in ui grid? I have got buttons but I am unsure how to make http calls from them
[08:29:21] <wafflej0ck> plan to probably start transitioning over to some more node based stuff but as is the PHP side I just handle with Eloquent ORM and Slim for doing the routing, simple enough
[08:29:32] *** HACKING-FACEBOOK has joined #angularjs
[08:29:47] <jrajaratnam> huh.. very cool.. well the Terradata dates you a little bit :-)
[08:29:51] *** HACKING-FACEBOOK has joined #angularjs
[08:29:52] <davek_> This guy is hacking so hard.
[08:29:55] *** TheWhiteOx has quit IRC
[08:29:55] <wafflej0ck> jrajaratnam: heh well the system I worked on
[08:30:04] <davek_> How does he hack so hard?
[08:30:09] *** HACKING-FACEBOOK has joined #angularjs
[08:30:17] *** evotuned has quit IRC
[08:30:27] *** HACKING-FACEBOOK has joined #angularjs
[08:30:29] <jrajaratnam> must have been in the finance/insurance industry
[08:30:31] *** marshall has quit IRC
[08:30:32] *** jonr22 has quit IRC
[08:30:41] <wafflej0ck> jrajaratnam: gov contractors
[08:30:46] *** HACKING-FACEBOOK has joined #angularjs
[08:30:49] <jrajaratnam> ah ok.. that was my second guess
[08:30:53] <jrajaratnam> very cool
[08:30:55] *** svycka has quit IRC
[08:30:59] *** marshall has joined #angularjs
[08:31:01] *** jonr22 has joined #angularjs
[08:31:04] *** HACKING-FACEBOOK has joined #angularjs
[08:31:25] *** HACKING-FACEBOOK has joined #angularjs
[08:31:45] *** HACKING-FACEBOOK has joined #angularjs
[08:32:04] *** HACKING-FACEBOOK has joined #angularjs
[08:32:18] *** \du has quit IRC
[08:32:26] *** HACKING-FACEBOOK has joined #angularjs
[08:32:48] *** HACKING-FACEBOOK has joined #angularjs
[08:32:52] *** ivaldi has quit IRC
[08:32:57] *** jonr22 has quit IRC
[08:33:10] *** HACKING-FACEBOOK has joined #angularjs
[08:33:10] *** DrMabuse has joined #angularjs
[08:33:11] *** HACKING-FACEBOOK has quit IRC
[08:33:16] *** bhuvanaurora has joined #angularjs
[08:33:18] *** jonr22 has joined #angularjs
[08:33:18] *** marshall_ has joined #angularjs
[08:33:24] <jrajaratnam> wafflej0ck: awesome.. your changes worked
[08:33:28] *** HACKING-FACEBOOK has joined #angularjs
[08:33:29] <jrajaratnam> obviously..
[08:33:29] *** HACKING-FACEBOOK has quit IRC
[08:33:37] *** JoshGlzBrk has quit IRC
[08:33:40] <jrajaratnam> so do I even need that code in the controller?
[08:33:45] *** JoshGlzBrk has joined #angularjs
[08:33:47] *** HACKING-FACEBOOK has joined #angularjs
[08:34:06] *** rhp has quit IRC
[08:34:08] *** HACKING-FACEBOOK has joined #angularjs
[08:34:16] <jrajaratnam> or can the code in the .html access the factory service directly
[08:34:27] <wafflej0ck> jrajaratnam: nope not unless you need to do some extra transformation for a particular controller
[08:34:28] *** HACKING-FACEBOOK has joined #angularjs
[08:34:37] *** jonr22 has quit IRC
[08:34:40] <wafflej0ck> then you'd want the $q promise stuff back though
[08:34:48] <wafflej0ck> and both parts can work side by side
[08:34:50] *** seriema has joined #angularjs
[08:34:53] <wafflej0ck> I just didn't want to complicate it
[08:34:55] <ProLoser> anyone want to help me with some layout logic i'm having trouble with?
[08:34:59] <jrajaratnam> ok awesome
[08:35:01] *** platonic has quit IRC
[08:35:06] *** jonr22 has joined #angularjs
[08:35:16] *** lemur has quit IRC
[08:35:31] <jrajaratnam> wafflej0ck: thanks again! gotta get some sleep I suppose before taking my a$$ back to The MAN tomorrow
[08:35:45] <wafflej0ck> jrajaratnam: heh yup gotta do the same here
[08:35:51] *** lite_ has joined #angularjs
[08:35:52] *** lemur has joined #angularjs
[08:36:04] *** marshall has quit IRC
[08:36:07] *** Raging_Hog has joined #angularjs
[08:36:11] *** jaydubya has joined #angularjs
[08:36:41] *** jonr22 has quit IRC
[08:36:43] *** duellsy has joined #angularjs
[08:36:58] *** SahanH has joined #angularjs
[08:37:07] *** larsgk has joined #angularjs
[08:37:30] *** jonr22 has joined #angularjs
[08:38:14] *** juanpablo_ has joined #angularjs
[08:38:34] *** jrajaratnam has quit IRC
[08:38:44] *** sinequanon has quit IRC
[08:39:13] *** jonr2219 has joined #angularjs
[08:39:23] *** jonr22 has quit IRC
[08:39:35] *** sajt has joined #angularjs
[08:40:18] *** lemur has quit IRC
[08:40:28] *** dannyc_ has joined #angularjs
[08:40:30] *** seriema has quit IRC
[08:40:41] *** delight has joined #angularjs
[08:40:52] *** Una has quit IRC
[08:41:23] *** jaydubya has quit IRC
[08:41:42] *** jonr22 has joined #angularjs
[08:41:45] *** jonr2219 has quit IRC
[08:41:46] *** MetaCosm has quit IRC
[08:42:16] *** MetaCosm has joined #angularjs
[08:42:33] *** MetaCosm has joined #angularjs
[08:42:42] *** sp00x has joined #angularjs
[08:42:43] *** juanpablo_ has quit IRC
[08:42:46] *** foofoobar has joined #angularjs
[08:43:45] *** jonr2219 has joined #angularjs
[08:43:46] *** jonr22 has quit IRC
[08:43:53] *** seriema has joined #angularjs
[08:44:14] *** MetaCosm has quit IRC
[08:44:26] *** MetaCosm has joined #angularjs
[08:45:12] *** platonic has joined #angularjs
[08:45:46] *** jonr22 has joined #angularjs
[08:45:50] *** jonr2219 has quit IRC
[08:46:25] *** ali4ever4 has left #angularjs
[08:46:46] *** larsgk has quit IRC
[08:46:55] *** ivaldi has joined #angularjs
[08:47:04] *** hell_razer has joined #angularjs
[08:47:34] *** Guest43936 has quit IRC
[08:47:43] *** RobertMeta has quit IRC
[08:47:48] *** hell_razer has quit IRC
[08:47:48] *** jonr2219 has joined #angularjs
[08:47:54] *** RobertMeta has joined #angularjs
[08:47:54] *** jonr22 has quit IRC
[08:47:54] *** RobertMeta has quit IRC
[08:47:54] *** RobertMeta has joined #angularjs
[08:48:06] *** seriema has quit IRC
[08:48:32] *** hell_razer has joined #angularjs
[08:48:59] *** RobertMeta has quit IRC
[08:49:12] *** RobertMeta has joined #angularjs
[08:49:17] *** platonic has quit IRC
[08:49:32] *** jonr2219 has quit IRC
[08:50:05] *** jonr22 has joined #angularjs
[08:50:28] *** plekplek has joined #angularjs
[08:51:22] *** jonr22 has quit IRC
[08:51:38] *** Audioburn is now known as il
[08:51:51] *** jonr22 has joined #angularjs
[08:52:33] *** shpoont has quit IRC
[08:52:56] *** josh-k has joined #angularjs
[08:52:56] *** bundledavid has joined #angularjs
[08:53:06] *** shpoont has joined #angularjs
[08:53:28] *** josh-k_ has joined #angularjs
[08:53:38] *** tfennelly has joined #angularjs
[08:53:38] *** adpirz has joined #angularjs
[08:53:48] *** NoNMaDDeN has joined #angularjs
[08:53:54] *** jonr2219 has joined #angularjs
[08:54:00] *** jonr22 has quit IRC
[08:54:31] *** Artagan has joined #angularjs
[08:54:52] *** charuru has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:36] *** jonr2219 has quit IRC
[08:55:54] *** ahtik has quit IRC
[08:55:56] *** jonr22 has joined #angularjs
[08:56:15] *** frobs has joined #angularjs
[08:56:17] *** dannyc_ has quit IRC
[08:56:49] *** evilaliv3 has joined #angularjs
[08:56:49] *** rburns has quit IRC
[08:56:49] *** charlenopires has quit IRC
[08:57:04] *** rburns has joined #angularjs
[08:57:04] *** e0ipso is now known as e0ipso|away
[08:57:13] *** dannyc_ has joined #angularjs
[08:57:17] *** josh-k has quit IRC
[08:57:22] *** bundledavid has quit IRC
[08:57:31] *** jonr22 has quit IRC
[08:57:46] *** shpoont has quit IRC
[08:58:00] *** jonr22 has joined #angularjs
[08:58:03] *** tfennelly has quit IRC
[08:58:03] *** adpirz has quit IRC
[08:58:13] *** trustyhank has quit IRC
[08:58:59] *** Luser has joined #angularjs
[08:59:13] *** larsgk has joined #angularjs
[08:59:26] *** cheef has joined #angularjs
[08:59:31] *** jonr22 has quit IRC
[08:59:55] *** bhuvanaurora has quit IRC
[09:00:04] *** nfroidure has joined #angularjs
[09:00:05] *** jonr22 has joined #angularjs
[09:00:28] *** IJNX has joined #angularjs
[09:02:36] *** tech2 has quit IRC
[09:02:44] *** mary5030 has joined #angularjs
[09:02:45] *** tfennelly has joined #angularjs
[09:03:23] *** Luser has quit IRC
[09:04:00] <soee> good morning
[09:04:31] <frobs> hi
[09:05:05] *** mtsr has joined #angularjs
[09:05:33] *** il is now known as il-audioburn
[09:06:07] *** jonr2219 has joined #angularjs
[09:06:09] *** jonr22 has quit IRC
[09:06:11] *** Nijikokun has quit IRC
[09:07:10] *** IJNX has quit IRC
[09:07:15] *** mary5030 has quit IRC
[09:07:56] *** jonr2219 has quit IRC
[09:07:56] *** Click66 has joined #angularjs
[09:08:06] *** night-owl is now known as zz_night-owl
[09:08:07] *** jonr22 has joined #angularjs
[09:08:22] *** aortmann has quit IRC
[09:08:36] *** IJNX has joined #angularjs
[09:08:37] *** Shrooms has joined #angularjs
[09:08:40] *** phuh has quit IRC
[09:09:06] *** phuh has joined #angularjs
[09:09:34] *** Aliks has quit IRC
[09:09:41] *** jonr22 has quit IRC
[09:10:10] *** jonr22 has joined #angularjs
[09:11:10] *** mennea has joined #angularjs
[09:11:32] *** Circlefusion has quit IRC
[09:11:58] *** jonr22 has quit IRC
[09:12:01] *** aaa_ has joined #angularjs
[09:12:11] *** jonr22 has joined #angularjs
[09:12:25] *** aaa_ is now known as Guest74591
[09:12:47] *** larsgk has quit IRC
[09:13:14] *** Akufen has quit IRC
[09:13:29] *** Geertje123_ has joined #angularjs
[09:13:56] *** arpu has joined #angularjs
[09:14:05] *** jonr22 has quit IRC
[09:14:13] *** devhoag has quit IRC
[09:14:48] *** jonr22 has joined #angularjs
[09:14:57] *** TyrfingMjolnir has quit IRC
[09:15:13] <gnu_d> hi, does someone knows how the angular-cms (https://github.com/jonniespratley/angular-cms) works ? - Cause I'm having trouble setting up the database data or something, no pages can be added, some settings don't work and kind of stuff, I don't whether the thing is complete or just frontend that waits to be customized for someones needs ?
[09:16:08] <zomg> you installed it without knowing what it is?
[09:16:13] *** guilbep has joined #angularjs
[09:17:51] *** jonr22 has quit IRC
[09:17:54] *** doginal has joined #angularjs
[09:18:20] *** jonr22 has joined #angularjs
[09:18:25] *** jagga has joined #angularjs
[09:19:06] *** DrMabuse has quit IRC
[09:19:13] <gnu_d> zomg: I read the docs only, didn't read the code entirely :D, it says CMS :)
[09:19:22] *** Ch4rAss has joined #angularjs
[09:19:43] *** DrMabuse has joined #angularjs
[09:19:52] *** jonr22 has quit IRC
[09:20:07] *** arpu has quit IRC
[09:20:21] *** jonr22 has joined #angularjs
[09:20:27] *** arpu has joined #angularjs
[09:20:33] *** Maelstro has quit IRC
[09:20:53] *** cornerma1 has joined #angularjs
[09:20:56] *** Duc has joined #angularjs
[09:21:19] <Duc> Start something new
[09:21:34] *** Juanchito has joined #angularjs
[09:22:11] <Duc> Hi Juanchito
[09:22:20] *** jonr22 has quit IRC
[09:22:20] *** galdorvardamir has joined #angularjs
[09:22:23] <Juanchito> hi
[09:22:25] *** jonr2219 has joined #angularjs
[09:22:56] *** galdorvardamir has quit IRC
[09:23:09] *** galdorvardamir has joined #angularjs
[09:23:10] <Duc> I have just started with Angularjs. Do you have experience on this?
[09:23:24] <Juanchito> nou
[09:24:09] *** cornerman has quit IRC
[09:24:13] *** cornerma1 is now known as cornerman
[09:24:20] *** StryKaizer has joined #angularjs
[09:24:24] *** jonr22 has joined #angularjs
[09:24:40] *** jonr2219 has quit IRC
[09:25:29] *** asher^ has quit IRC
[09:25:40] *** shpoont has joined #angularjs
[09:25:43] *** sk87 has joined #angularjs
[09:25:44] *** boxmein has joined #angularjs
[09:26:03] *** IJNX has quit IRC
[09:26:07] *** zfmf has joined #angularjs
[09:26:23] *** thomastuts has joined #angularjs
[09:26:24] *** jonr22 has quit IRC
[09:26:29] *** jonr2219 has joined #angularjs
[09:26:36] *** il-audioburn is now known as il
[09:26:47] *** dnewkerk has joined #angularjs
[09:26:47] <zfmf> he guys, ng-click is called multiple times on ie8 , anyone an idea how i can stop this??
[09:26:49] *** Circlefusion has joined #angularjs
[09:28:00] *** jonr2219 has quit IRC
[09:28:17] *** HACKING-FACEBOOK has quit IRC
[09:28:21] <ProLoser> i need help from a programming guru
[09:28:29] *** jonr22 has joined #angularjs
[09:29:27] *** phzon has joined #angularjs
[09:29:30] *** mdedetrich has quit IRC
[09:30:05] *** zz_night-owl is now known as night-owl
[09:30:20] *** evotuned_ has quit IRC
[09:30:27] *** chrisbirk has joined #angularjs
[09:30:28] *** NoNMaDDe_ has joined #angularjs
[09:30:33] *** jonr2219 has joined #angularjs
[09:30:35] *** ahtik has joined #angularjs
[09:30:36] *** jonr22 has quit IRC
[09:31:18] *** chrisbirk has quit IRC
[09:31:25] *** larsgk has joined #angularjs
[09:32:35] *** jonr22 has joined #angularjs
[09:32:37] *** bhuvanaurora has joined #angularjs
[09:32:53] *** NoNMaDDeN has quit IRC
[09:32:56] *** jonr2219 has quit IRC
[09:33:18] *** fixl has joined #angularjs
[09:34:01] *** steimle has quit IRC
[09:34:08] *** jonr22 has quit IRC
[09:34:27] *** dannyc_ has quit IRC
[09:34:37] *** jonr22 has joined #angularjs
[09:36:31] *** peterp has joined #angularjs
[09:36:39] *** jonr2219 has joined #angularjs
[09:36:50] *** jonr22 has quit IRC
[09:37:11] *** walkers has joined #angularjs
[09:37:38] *** babadofar has joined #angularjs
[09:38:12] *** jonr2219 has quit IRC
[09:38:53] *** jonr22 has joined #angularjs
[09:40:20] *** tfennelly has quit IRC
[09:40:43] *** Prjio has quit IRC
[09:40:43] *** jonr22 has quit IRC
[09:40:43] *** jonr2219 has joined #angularjs
[09:41:20] *** lw has joined #angularjs
[09:41:28] *** peterp has quit IRC
[09:41:42] *** Prjio has joined #angularjs
[09:42:07] *** lw has quit IRC
[09:42:33] *** HACKING-FACEBOOK has joined #angularjs
[09:42:45] *** jonr22 has joined #angularjs
[09:42:58] *** josh-k has joined #angularjs
[09:43:04] *** jonr2219 has quit IRC
[09:43:14] *** AndreasLutro has joined #angularjs
[09:43:31] *** JERE has joined #angularjs
[09:43:50] *** Akufen has joined #angularjs
[09:44:00] *** kedar has joined #angularjs
[09:44:36] *** F1LT3R has joined #angularjs
[09:45:20] *** josh-k_ has quit IRC
[09:45:21] *** jonr2219 has joined #angularjs
[09:45:32] *** jonr22 has quit IRC
[09:45:51] *** Prjio has quit IRC
[09:46:29] *** tschundeee has joined #angularjs
[09:46:53] *** aks has joined #angularjs
[09:47:20] *** milka has joined #angularjs
[09:49:11] *** chrisbirk has joined #angularjs
[09:49:29] *** Shrooms has quit IRC
[09:49:42] *** F1LT3R has quit IRC
[09:49:43] <freelyfred> Hey, just a quick question, I'm using Browserify for dependency injection, but currently I'm just requiring all my services and factories in my main.js file, is there a better way I should be doing this?
[09:50:28] *** mennea has quit IRC
[09:50:57] *** micks_9093 has quit IRC
[09:51:18] *** mennea has joined #angularjs
[09:51:20] *** jonr22 has joined #angularjs
[09:51:39] *** jonr2219 has quit IRC
[09:51:42] *** kas84 has joined #angularjs
[09:51:46] *** cakirke has joined #angularjs
[09:51:47] *** kas84 has left #angularjs
[09:52:30] *** bkuberek has joined #angularjs
[09:52:52] *** jmichaelward has joined #angularjs
[09:53:05] *** Luser has joined #angularjs
[09:53:22] *** jonr2219 has joined #angularjs
[09:53:35] *** jonr22 has quit IRC
[09:53:39] *** tschunde_ has joined #angularjs
[09:54:57] *** jonr2219 has quit IRC
[09:55:05] *** mennea_ has joined #angularjs
[09:55:05] *** bhuvanaurora has quit IRC
[09:55:26] *** jonr22 has joined #angularjs
[09:56:42] *** tschundeee has quit IRC
[09:56:57] *** bkuberek has quit IRC
[09:57:21] *** x3 has joined #angularjs
[09:57:26] *** jmichaelward has quit IRC
[09:57:28] *** jonr2219 has joined #angularjs
[09:57:48] *** bhuvanaurora has joined #angularjs
[09:57:56] *** jonr22 has quit IRC
[09:58:06] *** Luser has quit IRC
[09:58:19] *** mennea has quit IRC
[09:58:20] *** rburns has quit IRC
[09:58:21] *** NoNMaDDeN has joined #angularjs
[09:59:03] *** rburns has joined #angularjs
[09:59:13] *** IJNX has joined #angularjs
[09:59:29] *** jonr2219 has quit IRC
[09:59:30] *** x3 is now known as iksikk
[09:59:31] *** jonr22 has joined #angularjs
[09:59:36] <iksikk> good morning ;-)
[09:59:38] *** kedar has quit IRC
[10:00:10] <lite_> fuck!
[10:00:16] <iksikk> really...
[10:00:21] <lite_> protractor + manually bootstrapped angular apps = pain
[10:00:24] *** motionman has quit IRC
[10:00:33] *** iksikk has quit IRC
[10:00:34] *** iksik has quit IRC
[10:00:58] *** oliver___ has quit IRC
[10:00:59] *** jlebrech has joined #angularjs
[10:01:05] <zomg> ProLoser: sup? :P
[10:01:16] <zomg> ProLoser: oh is it still about the layout? =)
[10:01:22] <ProLoser> writing some complex layout logic
[10:01:23] <ProLoser> yeah
[10:01:30] *** jonr22 has quit IRC
[10:01:33] *** jonr2219 has joined #angularjs
[10:01:37] *** MaxV has joined #angularjs
[10:01:55] *** NoNMaDDe_ has quit IRC
[10:02:23] *** dannyc_ has joined #angularjs
[10:03:06] *** jonr2219 has quit IRC
[10:03:16] *** delight has quit IRC
[10:03:31] *** laurensclaessen has joined #angularjs
[10:03:44] *** jonr22 has joined #angularjs
[10:03:51] *** bundledavid has joined #angularjs
[10:03:56] *** ahtik has quit IRC
[10:04:00] *** Warly has joined #angularjs
[10:04:08] *** tangorri has joined #angularjs
[10:04:47] *** mityaz has joined #angularjs
[10:04:57] *** marshall_ has quit IRC
[10:05:31] *** Warly has quit IRC
[10:05:33] *** marshall_ has joined #angularjs
[10:05:34] *** jonr22 has quit IRC
[10:05:36] *** jonr2219 has joined #angularjs
[10:05:50] *** woah has quit IRC
[10:08:18] *** larsgk has quit IRC
[10:08:40] *** phuh has quit IRC
[10:09:06] *** phuh has joined #angularjs
[10:09:20] *** iksik has joined #angularjs
[10:09:34] *** Sky[x] has joined #angularjs
[10:09:41] *** jonr22 has joined #angularjs
[10:09:42] <ko3t> Hi! I need to make an angular form that has 200 pages (it's a survey). But does it mean that I have to make a route config with 200 entries? Can I assign partials to an array and loop through it?
[10:10:07] *** marshall_ has quit IRC
[10:10:12] *** jonr2219 has quit IRC
[10:10:39] *** prettymuchbryce has quit IRC
[10:10:44] <zomg> it sounds more like you should probably have a controller/view which can render a question
[10:10:46] *** ron1 has joined #angularjs
[10:10:48] <Grokling> ko3t: Abstraction is the key to happiness..
[10:10:55] *** tech2 has joined #angularjs
[10:11:02] <zomg> and then just define questions as an array for that, and there you go one route only =)
[10:11:15] *** jonr22 has quit IRC
[10:11:20] *** sajt has quit IRC
[10:11:21] *** DrMabuse has quit IRC
[10:11:31] *** Duc has quit IRC
[10:11:49] *** jonr22 has joined #angularjs
[10:12:40] <ko3t> So I can have 200 partials, their URLs in an array and call them one by one?
[10:12:44] <Grokling> Yeah, one route which consumes a 'survey' object, containing an array of 'pages' each containing an array of 'questions'. One 'tab' for each page, ng-repeats will sort out the rest, and a directive that knows how to display your question(s)
[10:13:00] *** tfennelly has joined #angularjs
[10:13:15] *** jonr22 has quit IRC
[10:13:32] <Grokling> ko3t: Let angular build the html - you probably don't need partials at all.
[10:13:44] *** jonr22 has joined #angularjs
[10:13:47] *** DrMabuse has joined #angularjs
[10:14:14] *** mennea_ has quit IRC
[10:14:14] *** boxmein has quit IRC
[10:14:14] *** blackkbo- has joined #angularjs
[10:14:22] *** blackkbo- is now known as blackkbot
[10:14:26] <ko3t> Do you know of an example of similar setup?
[10:14:31] *** chrisbirk has quit IRC
[10:14:37] *** HACKING-FACEBOOK has quit IRC
[10:14:49] <ko3t> a plank or jsfiddle? I am not sure how survey object would work
[10:14:57] *** ron1 has quit IRC
[10:15:17] *** plato has quit IRC
[10:15:18] *** jonr22 has quit IRC
[10:15:19] <Grokling> My app is quite similar conceptually.. I can't share it directly though - that would confuse you more than anything anyway!
[10:15:46] *** sahbeewah has joined #angularjs
[10:15:48] *** jonr22 has joined #angularjs
[10:15:49] <zomg> ko3t: think of it this way, you have a { question: 'Yes or not?', answers: ['Yes', 'No'] }, and you just have a list of these. Now you only need to make a controller and some html to display it
[10:16:02] <zomg> should be reasonably straightforward
[10:16:14] <zomg> you don't necessarily even need any routes or anything for it =)
[10:16:22] *** HACKING-FACEBOOK has joined #angularjs
[10:16:25] *** jaznow has joined #angularjs
[10:16:30] <Grokling> ko3t: How are you feeding the app with your questions etc? Are they coming from some backend server, or are they static?
[10:16:42] *** mennea has joined #angularjs
[10:17:13] <ko3t> I was thinking json file, but i have 30 types of formatting
[10:18:21] *** aks has quit IRC
[10:18:29] <ko3t> i could read json from the backend, and then have 30 directives or partials/templates
[10:18:48] *** doginal has quit IRC
[10:18:50] <Grokling> survey:{pages:[{questions:[{id:1,question:"Are you a potato",type:2},{...},{...}...]},{...}...]}
[10:19:21] *** jonr22 has quit IRC
[10:19:37] <Grokling> One directive that knows how to interpret your question.type and which partial to spit out in each case.
[10:20:04] *** jonr22 has joined #angularjs
[10:20:36] *** aks has joined #angularjs
[10:21:11] *** niklasmodess has joined #angularjs
[10:21:23] *** kapil_ has quit IRC
[10:21:23] *** jonr22 has quit IRC
[10:21:44] *** sacho has joined #angularjs
[10:21:52] *** jonr22 has joined #angularjs
[10:22:47] *** larsgk has joined #angularjs
[10:23:15] *** eamonn has joined #angularjs
[10:23:57] *** jonr2219 has joined #angularjs
[10:24:06] *** jonr22 has quit IRC
[10:24:34] *** areologist has joined #angularjs
[10:24:59] *** emmesswhy has quit IRC
[10:25:12] *** jaydubya has joined #angularjs
[10:25:28] *** jonr2219 has quit IRC
[10:25:57] *** jonr22 has joined #angularjs
[10:26:27] *** JoshGlzBrk has quit IRC
[10:26:58] *** juanpablo_ has joined #angularjs
[10:27:01] <freelyfred> Is there any reason why requiring a controller outside of a $stateProvider makes it work, when it doesn't work when required directly?
[10:27:05] *** bhuvanaurora has quit IRC
[10:27:39] *** jonr22 has quit IRC
[10:28:01] *** jonr22 has joined #angularjs
[10:29:49] *** jonr22 has quit IRC
[10:30:05] *** jonr22 has joined #angularjs
[10:30:21] *** morenoh149 has joined #angularjs
[10:30:34] *** jaydubya has quit IRC
[10:31:08] *** evotuned has joined #angularjs
[10:31:16] *** boonkerz- has quit IRC
[10:32:01] *** juanpablo_ has quit IRC
[10:32:20] *** cheef1 has joined #angularjs
[10:32:50] *** AlSquire has joined #angularjs
[10:32:50] *** VitalyV has joined #angularjs
[10:33:04] <cheef1> morning guys, can anyone explain to me why im using a future state resolver (ui router extras) and my dependencies arent available in the thenable
[10:33:20] *** jae has joined #angularjs
[10:33:20] <cheef1> var futureStateResolve = function($rootScope, $injector, api) {
[10:33:20] <cheef1> api.getFactfind()
[10:33:20] <cheef1> .then(function() { ... }) })
[10:33:40] <cheef1> api is available before the .getFactfind(), but not available in then()
[10:33:50] *** VitalyV has quit IRC
[10:33:53] <cheef1> its not a problem, im just not understanding where the reference went
[10:34:36] *** cheef has quit IRC
[10:35:09] *** bengillies has joined #angularjs
[10:35:13] *** jonr22 has quit IRC
[10:35:27] <sahbeewah> how did you determine it was missing
[10:35:43] *** HACKING-FACEBOOK has quit IRC
[10:36:06] <cheef1> watch expr
[10:36:14] <cheef1> broke before and inside thenable
[10:36:23] *** evotuned has quit IRC
[10:36:25] <cheef1> all three available, then only $rootScope and $injector
[10:36:26] *** Oddman has joined #angularjs
[10:37:48] *** aks has quit IRC
[10:37:58] *** peterp has joined #angularjs
[10:38:33] <cheef1> thought it might be the order in which angular was exectuing config blocks and when registering modules
[10:38:50] *** okdamn has joined #angularjs
[10:38:52] <cheef1> as the resolver will get executed in the run phase eventhough its in the config block
[10:38:55] <okdamn> yo hey
[10:39:15] <okdamn> is it possible to unbind a directive from angular? like to disable it or overwrite it ?
[10:39:17] *** Hackwar has quit IRC
[10:39:32] <ProLoser> yay i finished it!
[10:39:51] <sahbeewah> cheef1: no, it is available if you use it. try console logging the value and then watch the expression
[10:40:05] <ProLoser> zomg: you should see what i did
[10:40:17] *** jaznow has quit IRC
[10:40:41] * iivvoo has just read https://www.codementor.io/angularjs-tutorial/how-angular-directive-scope-work
[10:40:46] *** Nivag has quit IRC
[10:41:01] <okdamn> if i have directive('yo').directive('yo')
[10:41:08] <okdamn> what will happen? which of them wins?
[10:41:08] <iivvoo> quite clear but (imho) shows that directives don't make things easier/more readable
[10:41:14] <okdamn> does the second extends the first one?
[10:41:17] <okdamn> cant understand
[10:41:17] *** Sontakey has quit IRC
[10:41:20] <cheef1> no, overwrites it
[10:41:33] <iivvoo> (and I would have expected the template to define the click behaviour, not jquery-like element binding)
[10:42:11] *** Prjio has joined #angularjs
[10:42:30] *** peterp has quit IRC
[10:42:30] <okdamn> cheef1: the second overwrites the first?
[10:42:34] *** adpirz has joined #angularjs
[10:42:43] <okdamn> so the first is actually 100% awful ?
[10:42:46] <cheef1> sahbeewah: I've added some watches and broke inside the resolver fn (before I invoke fn that returns a promise). All of my deps are available. When i break in the then(), only the angular deps are in scope
[10:42:52] <okdamn> disabled i mean
[10:43:06] *** boonkerz- has joined #angularjs
[10:43:47] *** tarnus has joined #angularjs
[10:43:56] <lite_> ElementNotVisibleError: element not visible
[10:44:02] <lite_> for the 10000th time
[10:44:20] <lite_> this testing framework is effectively working against me
[10:44:23] *** TheAceOfHearts has quit IRC
[10:45:50] *** aks has joined #angularjs
[10:45:53] *** jae has quit IRC
[10:45:55] <areologist> lite_: which testing framework? just curious.
[10:46:07] <lite_> protractor
[10:46:18] *** Prjio has quit IRC
[10:46:18] <sahbeewah> cheef1: adding watches and breakpoints aren’t good enough, developer tools only observe variables from the outside. if you don’t use the variable, the javascript parser won’t make the closure. any variable from an inner scope always has access to the outer variables (except in the case of variable shadowing)
[10:46:28] *** startupality has joined #angularjs
[10:46:52] <cheef1> that was my understanding as well, hence the odd question ;p
[10:46:53] *** adpirz has quit IRC
[10:47:09] *** Sky[x] has quit IRC
[10:47:17] *** Luser has joined #angularjs
[10:48:43] *** tarnus has quit IRC
[10:50:12] *** cakirke has quit IRC
[10:50:17] *** josh-k has quit IRC
[10:50:29] <okdamn> :) no one knows for sure what happens if 2 directives has the same name?
[10:50:45] *** robksawyer has quit IRC
[10:50:58] *** Luser has quit IRC
[10:51:27] <areologist> okdamn: i've never tried it, but afaik angular modules don't provide namespacing so it wouldn't be a good thing
[10:52:23] <okdamn> ah ok :(
[10:52:25] <okdamn> dunno uff
[10:52:25] *** jae has joined #angularjs
[10:52:47] *** Sebastien-L has joined #angularjs
[10:53:00] <areologist> I guess the prefix convention serves a namespacing role.
[10:53:29] *** SahanH has quit IRC
[10:54:02] *** jaznow has joined #angularjs
[10:54:24] *** test___ has joined #angularjs
[10:54:33] <test___> test
[10:54:35] <veturi> anyone got some versatile angular modal service to recommend?
[10:55:28] *** joker666 has quit IRC
[10:56:10] *** joker666 has joined #angularjs
[10:56:41] <areologist> veturi: someone asked that the other day and ngDialog was recommended.
[10:56:49] <areologist> http://likeastore.github.io/ngDialog/
[10:57:07] <Evanion> I use UIkit, and have an angular service to easily contruct a uikit based modal http://getuikit.com/docs/modal.html
[10:57:26] <soee> what is the best way to pass some data that is not entered through input field but for example picked by clicking on some image ?
[10:58:15] <Grokling> soee: ng-click
[11:00:01] <soee> Grokling: thanks will try that :)
[11:00:24] *** rburns has quit IRC
[11:01:29] *** edy has joined #angularjs
[11:01:29] *** davek_ has quit IRC
[11:01:34] *** morenoh149 has quit IRC
[11:02:10] *** test___ has quit IRC
[11:02:19] *** delight has joined #angularjs
[11:02:59] *** Luser has joined #angularjs
[11:03:49] *** kevinxu has joined #angularjs
[11:03:59] *** kapil_ has joined #angularjs
[11:04:13] *** kevinxu is now known as Guest89124
[11:05:00] *** Sebastien-L has quit IRC
[11:05:22] *** ingsoc has joined #angularjs
[11:05:28] *** NoNMaDDeN has quit IRC
[11:05:38] *** dnewkerk has quit IRC
[11:05:49] *** marshall_ has joined #angularjs
[11:05:51] *** bhuvanaurora has joined #angularjs
[11:07:30] *** minimoo1 has joined #angularjs
[11:07:42] *** Luser has quit IRC
[11:07:47] *** nesquerra has quit IRC
[11:08:02] *** Sebastien-L has joined #angularjs
[11:08:16] <minimoo1> hey, is the controller in a directive used for all the instances of the directive?
[11:08:44] *** phuh has quit IRC
[11:08:46] <ProLoser> it's 1 controller per instance
[11:08:51] <ProLoser> just like the ng-model controller
[11:09:08] *** phuh has joined #angularjs
[11:09:22] <minimoo1> ermm
[11:09:25] *** sinclair_ has joined #angularjs
[11:09:38] <minimoo1> thanks
[11:09:42] *** tomengland_mbp has joined #angularjs
[11:10:04] *** tschunde_ has quit IRC
[11:11:04] *** marshall_ has quit IRC
[11:12:06] <soee> someon familiar with ngResource ?
[11:12:15] <ProLoser> soee: !ask
[11:12:15] <UniBot> soee, Don't ask to ask. Just state your question (with a !bin code sample) and wait for an answer
[11:12:31] <Helzibah> oh, that's handy
[11:12:34] *** b1rkh0ff has joined #angularjs
[11:12:45] <ProLoser> Helzibah: !ask!
[11:12:46] <UniBot> Ask forth your question to the all-knowing channel and we shall bestow upon you the answer of correctitude.
[11:13:16] *** DLSteve has quit IRC
[11:13:16] *** ssawickik has joined #angularjs
[11:13:26] *** IJNX has quit IRC
[11:13:28] *** sandelius has joined #angularjs
[11:13:30] <minimoo1> ProLoser is there a way to share a controller between the same directive instances?
[11:13:38] *** NoNMaDDeN has joined #angularjs
[11:13:45] *** julian`` has quit IRC
[11:13:46] <ProLoser> sorta
[11:13:54] <Helzibah> ProLoser: heheheh
[11:13:56] <ProLoser> you can 'require' a related directive's controller
[11:14:02] <Helzibah> I think i need this functionality in another channel
[11:14:11] <ssawickik> There is any way to refresh/load again loaded template? I am working on case where there is mixed angularjs and jquery and when angular model is changed its need to refresh template
[11:14:13] *** mkusher has joined #angularjs
[11:14:15] <minimoo1> how?
[11:14:15] <ProLoser> Helzibah: what channel?
[11:14:25] <ProLoser> minimoo1: read up about require
[11:14:29] *** tech2 has quit IRC
[11:14:30] <ProLoser> minimoo1: !ddo
[11:14:30] <UniBot> The Directive Definition Object: http://docs.angularjs.org/api/ng/service/$compile
[11:14:31] *** tomengland_mbp has quit IRC
[11:14:31] <Helzibah> ProLoser: oh, not one that needs a new bot, we have 3!
[11:14:46] <ProLoser> Helzibah: i wrote unibot to be a multi channel bot
[11:14:51] <ProLoser> 1 bot, multiple rooms
[11:14:56] <ProLoser> also, it's pluggable
[11:15:04] <ProLoser> like.... ridiculously easily pluggable
[11:15:04] <Helzibah> ProLoser: sure, and I'm sure it's a great bot
[11:15:17] <Helzibah> ProLoser: but we have 3 bots already and don't need any more, I might just patch one of ours
[11:15:24] *** F1LT3R has joined #angularjs
[11:15:24] <ProLoser> all you gotta do is register the channel with the bot and tell it what plugins to turn on
[11:15:38] <ProLoser> Helzibah: i am open to merging bot-dev efforts lol
[11:15:48] <ProLoser> Helzibah: !help
[11:15:49] <UniBot> Issue commands by doing !command [arguments] [@nick], See http://unibot.jit.su/#/channel/526a2e9eb6230d1090000001 for the full list
[11:15:59] <ProLoser> in case you're just looking for some useful commands
[11:16:46] *** areologist has quit IRC
[11:16:57] *** Crippy has joined #angularjs
[11:17:31] <Helzibah> ProLoser: nah, I just liked the idea of having the bot spit out the standard 'don't ask to ask'
[11:18:01] <ProLoser> do you hardcode your commands?
[11:18:35] *** marr has joined #angularjs
[11:18:57] *** sk87 has quit IRC
[11:19:15] <ProLoser> okay this gif is taking WAY too long to compile, i'm going to bed
[11:19:34] *** azizur has joined #angularjs
[11:19:42] *** tangorri has quit IRC
[11:19:57] *** AndreasLutro has quit IRC
[11:20:02] *** ProLoser has quit IRC
[11:20:09] *** sk87 has joined #angularjs
[11:20:18] *** F1LT3R has quit IRC
[11:21:27] *** raj___ has joined #angularjs
[11:23:52] *** Guest89124 has quit IRC
[11:26:24] *** micks_9093 has joined #angularjs
[11:26:34] *** joroc has joined #angularjs
[11:26:45] *** ahtik has joined #angularjs
[11:26:58] *** shpoont has quit IRC
[11:27:16] *** foofoobar has quit IRC
[11:27:34] *** tech2 has joined #angularjs
[11:27:58] *** davesidious_ is now known as davesidious
[11:28:03] *** beckyconning_ has quit IRC
[11:28:13] *** shpoont has joined #angularjs
[11:28:28] *** shpoont has quit IRC
[11:28:51] <davesidious> Hey folks - does anyone know if, using UI Router, one can block a state transition from an onExit callback until some asynchronous task has completed?
[11:29:13] *** punch has joined #angularjs
[11:29:18] *** minimoo1 has quit IRC
[11:29:52] *** arpu has quit IRC
[11:30:00] *** grindmodeon has quit IRC
[11:30:25] *** Iravan_ has quit IRC
[11:30:43] *** Sky[x] has joined #angularjs
[11:30:49] *** k-dawg has joined #angularjs
[11:30:59] *** Ch4rAss has quit IRC
[11:31:01] *** Iravan has joined #angularjs
[11:31:02] *** nemothekid has joined #angularjs
[11:31:52] *** evotuned has joined #angularjs
[11:32:27] *** ansu has quit IRC
[11:32:30] *** dan2k3k4 has joined #angularjs
[11:32:46] *** ansu has joined #angularjs
[11:33:23] *** babadofar has quit IRC
[11:33:41] *** punch has quit IRC
[11:34:15] *** decached has joined #angularjs
[11:34:16] *** dan2k3k4 has quit IRC
[11:34:28] *** abzde has quit IRC
[11:34:29] *** abzde has joined #angularjs
[11:35:17] *** Iravan has quit IRC
[11:35:20] *** decached has quit IRC
[11:35:22] *** jlebrech has quit IRC
[11:35:32] *** sk87 has quit IRC
[11:36:14] *** evotuned has quit IRC
[11:36:34] *** babadofar has joined #angularjs
[11:36:40] *** corehook has joined #angularjs
[11:37:24] *** Somatt_wrk has joined #angularjs
[11:38:38] <Leon> yes
[11:39:08] <Leon> davesidious I think if you return false from it it will block
[11:39:18] *** tangorri has joined #angularjs
[11:39:48] <davesidious> Thanks! But then how do you cause the transition to start again?
[11:40:46] *** NoNMaDDeN has quit IRC
[11:40:49] <Leon> davesidious try returning a promise
[11:41:05] <Leon> then the onExit will wait until the promise is complete
[11:41:11] *** tschundeee has joined #angularjs
[11:41:29] *** bkuberek has joined #angularjs
[11:41:40] *** jmichaelward has joined #angularjs
[11:42:16] <davesidious> which promise?
[11:42:25] <Leon> what every promise you want
[11:42:33] <Leon> either from a $http
[11:42:40] <Leon> or create your own via $q.defer()
[11:42:54] *** jlebrech has joined #angularjs
[11:42:57] *** Prjio has joined #angularjs
[11:43:13] *** DLSteve has joined #angularjs
[11:43:24] <Leon> the request itself is a promise
[11:43:32] *** glontu has joined #angularjs
[11:43:33] <glontu> hi
[11:43:35] <Leon> so you can return that directly
[11:44:35] <glontu> i want to build my app with webpack. i want it to make a bundle out of all my local files but use asynchronous loading for the libs such as angular, jquery and so on
[11:44:40] <glontu> any help with this ?
[11:45:07] <davesidious> But you said to return false
[11:45:08] *** bhuvanaurora has quit IRC
[11:45:15] <davesidious> it can't return false and a promise at the same time :)
[11:45:28] <davesidious> or are you saying it should return a promise?
[11:46:12] *** bkuberek has quit IRC
[11:46:19] *** jmichaelward has quit IRC
[11:46:20] *** Luser has joined #angularjs
[11:46:42] *** tschundeee has quit IRC
[11:47:03] *** Luser has joined #angularjs
[11:47:12] *** Geertje123_ has quit IRC
[11:47:20] *** Prjio has quit IRC
[11:48:26] *** Luser has quit IRC
[11:48:32] *** sk87 has joined #angularjs
[11:48:33] *** EricWeb has joined #angularjs
[11:48:35] <cheef1> in ui-router given app.state1 and app.state2, should $stage.go('^.sibling') take me from state1 to state2?
[11:48:44] *** sahbeewah has quit IRC
[11:48:47] *** Luser has joined #angularjs
[11:49:28] *** Ajans has joined #angularjs
[11:49:28] *** Luser has quit IRC
[11:49:37] *** Luser has joined #angularjs
[11:50:10] *** vassagus has joined #angularjs
[11:50:32] *** sheplu has quit IRC
[11:51:06] *** wsmoak has joined #angularjs
[11:51:06] *** wsmoak has joined #angularjs
[11:51:06] *** cotko has joined #angularjs
[11:51:28] *** Luser_ has joined #angularjs
[11:52:07] *** Geertje123_ has joined #angularjs
[11:52:08] *** Luser_ has quit IRC
[11:52:21] *** Luser_ has joined #angularjs
[11:52:36] *** Geertje123_ has quit IRC
[11:52:42] *** mkusher has quit IRC
[11:53:45] *** Luser_ has quit IRC
[11:53:59] *** Luser has quit IRC
[11:54:08] *** Luser has joined #angularjs
[11:54:58] *** Luser_ has joined #angularjs
[11:54:59] *** Luser has quit IRC
[11:55:01] *** vassagus has quit IRC
[11:55:06] *** Geertje123_ has joined #angularjs
[11:55:24] *** mnngfltg has joined #angularjs
[11:55:25] *** foofoobar has joined #angularjs
[11:56:05] *** roven has joined #angularjs
[11:56:07] *** Sky[x] has quit IRC
[11:56:30] <jlebrech> I have a Title that I want the user to be able to change if they want, are there any directives that'll give me a dashed Title that I can click on which turns into a form?
[11:56:37] *** Luser_ has quit IRC
[11:56:43] *** minimoo1 has joined #angularjs
[11:56:45] <jlebrech> otherwise i can make it myself.
[11:56:49] *** Luser has joined #angularjs
[11:57:32] *** sandelius has quit IRC
[11:57:32] *** Luser has quit IRC
[11:57:41] *** Luser has joined #angularjs
[11:58:03] *** pls_respond has joined #angularjs
[11:58:08] <bd-> jlebrech: maybe the angular-contenteditable is what you are after
[11:58:11] *** Geertje123_ has joined #angularjs
[11:58:28] *** pls_respond has left #angularjs
[11:58:28] *** Geertje123_ has quit IRC
[11:58:30] <bd-> there's also an example in the docs for ngmodelcontroller of how to do your own contenteditable directive
[11:58:55] *** Luser has quit IRC
[11:59:01] <jlebrech> great :)
[11:59:14] *** manideep has joined #angularjs
[11:59:28] *** Luser has joined #angularjs
[11:59:32] <manideep> hi
[11:59:39] *** bq has joined #angularjs
[11:59:41] <EricWeb> Hi manideep
[11:59:45] <manideep> i have a small doubt in angular js
[11:59:49] *** Luser has quit IRC
[11:59:53] *** joroc has quit IRC
[11:59:54] *** dseitz has quit IRC
[12:00:08] <manideep> Hi Eric
[12:00:15] *** tschundeee has joined #angularjs
[12:00:18] *** Luser has joined #angularjs
[12:00:34] *** mdedetrich has joined #angularjs
[12:00:55] *** Geertje123_ has joined #angularjs
[12:00:56] <bq> is angularjs good for rendering text editor in browser?
[12:00:59] <manideep> is there any way that we can call a function that was defined inside a directive's controller from another controller
[12:01:13] <cheef1> in ui-router given app.state1 and app.state2, should $stage.go('^.sibling') take me from state1 to state2?
[12:01:13] <manideep> ?
[12:01:27] *** jeffisabelle has joined #angularjs
[12:01:29] <EricWeb> manideep, I just joined and am new to AngularJS so I can't answer. :(
[12:01:36] <manideep> oh
[12:01:37] *** Geertje123_ has quit IRC
[12:01:44] *** Luser has quit IRC
[12:01:45] <manideep> thankyou Eric
[12:02:05] *** Luser has joined #angularjs
[12:02:10] *** dannyc__ has joined #angularjs
[12:02:24] <davesidious> So you can return a promise from an onExit, which delays the state transition, but doesn't delay the resolution of the state being transitioned to.
[12:02:27] <manideep> Is there any one else. who can help with this "
[12:02:29] *** Luser has quit IRC
[12:02:30] <manideep> is there any way that we can call a function that was defined inside a directive's controller from another controller
[12:02:32] <manideep> ???
[12:02:38] *** ShivsharanRahul has joined #angularjs
[12:02:55] <davesidious> manideep - it would make sense to move the functionality into a service
[12:03:01] *** Luser has joined #angularjs
[12:03:34] <davesidious> although if you have your heart set on this, you can create a service, add a function to it from your one controller, then call that function from a second controller. It doesn't sound like the most sane thing to do, however :)
[12:03:54] *** corehook has quit IRC
[12:03:55] *** ElysiumNet has joined #angularjs
[12:04:07] *** Geertje123_ has joined #angularjs
[12:04:21] *** Luser has quit IRC
[12:04:45] *** Luser has joined #angularjs
[12:05:08] *** Luser has quit IRC
[12:05:13] <manideep> i have gone through some examples on stack overflow.. They are using a factory service inorder to communicate between directive and controleer
[12:05:38] *** Luser has joined #angularjs
[12:05:44] <davesidious> That is usually the way, yes.
[12:05:46] <manideep> is it will be the only one option we have @davesidious
[12:05:57] <manideep> "i have gone through some examples on stack overflow.. They are using a factory service inorder to communicate between directive and controleer"
[12:06:04] *** dannyc_ has quit IRC
[12:06:45] <davesidious> Then I'd stick with that. It's usually a good idea to communicate using services, or if the communication is generic enough, using events.
[12:07:01] *** marshall_ has joined #angularjs
[12:07:28] <manideep> oh okay thankyou dude @davesidious
[12:07:29] *** Luser has quit IRC
[12:07:32] *** Luser_ has joined #angularjs
[12:07:56] *** Luser_ has quit IRC
[12:07:56] *** Geertje123_ has quit IRC
[12:07:59] *** zfmf has quit IRC
[12:08:04] <davesidious> any time - good luck!
[12:08:18] <manideep> what you do @davesidious
[12:08:24] *** Luser has joined #angularjs
[12:08:43] *** phuh has quit IRC
[12:09:12] *** phuh has joined #angularjs
[12:10:02] *** Luser has quit IRC
[12:10:08] *** Geertje123_ has joined #angularjs
[12:10:13] *** Luser has joined #angularjs
[12:10:33] *** Geertje123_ has quit IRC
[12:11:02] *** Luser has joined #angularjs
[12:11:14] *** Left_Turn has joined #angularjs
[12:11:38] *** marshall_ has quit IRC
[12:11:51] *** Ch4rAss has joined #angularjs
[12:12:11] *** jaznow has quit IRC
[12:12:12] *** sahbeewah has joined #angularjs
[12:12:20] *** kevinxu has joined #angularjs
[12:12:39] *** Luser has quit IRC
[12:12:45] *** kevinxu is now known as Guest19302
[12:12:55] *** Luser has joined #angularjs
[12:13:05] *** Geertje123_ has joined #angularjs
[12:13:13] *** Luser has quit IRC
[12:13:35] *** NoNMaDDeN has joined #angularjs
[12:13:47] *** Luser has joined #angularjs
[12:14:15] *** jaydubya has joined #angularjs
[12:15:11] *** Luser has quit IRC
[12:15:12] *** omnish has joined #angularjs
[12:15:30] *** Luser has joined #angularjs
[12:15:48] *** juanpablo_ has joined #angularjs
[12:15:51] *** Luser has quit IRC
[12:16:24] *** Luser has joined #angularjs
[12:17:42] *** Luser has quit IRC
[12:18:12] *** Luser has joined #angularjs
[12:18:56] *** Aerospark has joined #angularjs
[12:19:00] *** laurensclaessen has quit IRC
[12:19:03] *** jonr22 has joined #angularjs
[12:19:05] *** Luser has joined #angularjs
[12:19:38] *** jaydubya has quit IRC
[12:20:23] *** juanpablo_ has quit IRC
[12:20:50] *** laurensclaessen has joined #angularjs
[12:20:52] *** Luser_ has joined #angularjs
[12:20:55] *** akash_k has joined #angularjs
[12:21:02] *** decached has joined #angularjs
[12:21:17] *** Luser has quit IRC
[12:22:12] *** sandelius has joined #angularjs
[12:22:12] *** laurensclaessen has quit IRC
[12:22:15] <foofoobar> So I have a list with items. Each item has a status, either ‚open‘ oder ‚closed‘. I created a timeline which shows all of this events.
[12:22:26] <foofoobar> Now I want to display items only if they differ from the status before
[12:22:36] <foofoobar> How can I do this?
[12:23:07] *** bb6xt has joined #angularjs
[12:23:18] *** Aerospark has quit IRC
[12:23:54] *** jonr22 has quit IRC
[12:23:55] *** Guest19302 has quit IRC
[12:24:10] *** laurensclaessen has joined #angularjs
[12:25:09] *** Nivag has joined #angularjs
[12:25:26] *** mennea has quit IRC
[12:25:55] *** manideep has quit IRC
[12:26:21] <foofoobar> Nevermind, got it with mycontent[$index - 1]
[12:26:45] *** joroc has joined #angularjs
[12:26:54] *** apertoire has quit IRC
[12:27:39] *** mennea has joined #angularjs
[12:28:42] *** jgladwill_ has quit IRC
[12:29:29] <okdamn> hey off-topic question sorry :D but do you know if i can check if someone is subscribed to my RSS updates? :P
[12:29:41] <okdamn> always wondered if its possible or not to check it
[12:29:44] *** philipd has joined #angularjs
[12:29:55] *** jaznow has joined #angularjs
[12:29:58] *** Click66 has quit IRC
[12:30:06] *** herpless has joined #angularjs
[12:30:29] *** minimoo1 has quit IRC
[12:31:11] *** F1LT3R has joined #angularjs
[12:31:12] *** roven has quit IRC
[12:31:25] *** roven has joined #angularjs
[12:31:33] *** adpirz has joined #angularjs
[12:32:38] *** evotuned has joined #angularjs
[12:32:46] *** tarnus has joined #angularjs
[12:33:37] *** elyssonmr has joined #angularjs
[12:34:02] *** b1rkh0ff has quit IRC
[12:35:17] *** F1LT3R has quit IRC
[12:36:00] *** DrMabuse has quit IRC
[12:36:16] *** adpirz has quit IRC
[12:36:57] *** evotuned has quit IRC
[12:37:22] *** tarnus has quit IRC
[12:38:21] *** aks has quit IRC
[12:38:31] *** sajt has joined #angularjs
[12:39:42] *** IvailoStoianov has joined #angularjs
[12:39:48] *** mennea has quit IRC
[12:40:09] *** freelyfred has quit IRC
[12:41:05] *** bagya has joined #angularjs
[12:41:06] *** mennea has joined #angularjs
[12:41:17] <bagya> hi
[12:41:44] <bagya> Hi Guys
[12:42:28] <bagya> I am exploring the MVVM Design Pattern for AngularJS but I'm not able to find any related document for that, Most of the document based on KnockoutJS and Silverlight.
[12:42:37] *** PrinceAMD has joined #angularjs
[12:42:54] *** mennea has quit IRC
[12:43:19] *** glassir has joined #angularjs
[12:43:34] <bagya> MVVM Pros: The only advantage of MVVM that it helps in the loading the view faster in case of two-way binding. Cons: We can't make the service call . If we want make call we have to include third party library like jQuery or knockoutJS. For MVC we have both the advantages here. Which means two way binding is also there not as faster in MVVM and we can make service calls also without having the third party library. We use controll
[12:43:40] *** Prjio has joined #angularjs
[12:44:22] <bagya> anyone reply
[12:44:29] *** mennea has joined #angularjs
[12:47:47] *** Prjio has quit IRC
[12:48:28] *** bhuvanaurora has joined #angularjs
[12:49:08] *** grindmodeon has joined #angularjs
[12:49:49] *** juampy has joined #angularjs
[12:49:59] *** aks has joined #angularjs
[12:50:31] *** aks has quit IRC
[12:50:38] *** RangerRick has quit IRC
[12:50:58] *** RangerRick has joined #angularjs
[12:51:27] *** bagya has quit IRC
[12:52:06] *** Sky[x] has joined #angularjs
[12:53:00] *** kayoone has joined #angularjs
[12:53:23] *** ShivsharanRahul has quit IRC
[12:53:38] *** cheef1 has quit IRC
[12:54:36] *** plato has joined #angularjs
[12:56:40] *** minimoo1 has joined #angularjs
[12:57:32] *** dsdeiz_ has quit IRC
[12:58:24] *** Artagan has quit IRC
[12:59:26] *** joroc has quit IRC
[12:59:52] *** bhuvanaurora has quit IRC
[13:00:14] *** grindmodeon has quit IRC
[13:02:12] *** toad-br has joined #angularjs
[13:03:03] *** mmealling has joined #angularjs
[13:03:14] *** phuh has quit IRC
[13:04:39] *** ShivsharanRahul has joined #angularjs
[13:04:39] *** Geertje123_ has quit IRC
[13:04:45] *** cheef1 has joined #angularjs
[13:04:57] *** omnish has quit IRC
[13:05:05] *** toad-br_ has joined #angularjs
[13:05:18] *** toad-br_ has quit IRC
[13:05:37] *** toad-br_ has joined #angularjs
[13:06:31] *** Geertje123_ has joined #angularjs
[13:07:08] *** Squarepy has joined #angularjs
[13:07:31] *** okdamn has quit IRC
[13:07:32] *** minimoo1 has quit IRC
[13:07:33] *** toad-br has quit IRC
[13:07:45] *** toad-br_ is now known as toad-br
[13:07:46] *** Geertje123_ has quit IRC
[13:07:46] *** marshall_ has joined #angularjs
[13:08:26] *** ProLoser has joined #angularjs
[13:08:27] *** moritzs has joined #angularjs
[13:08:38] *** omolin4 has joined #angularjs
[13:09:20] *** scrooge_mcduck has joined #angularjs
[13:09:27] *** minimoo1 has joined #angularjs
[13:09:53] <scrooge_mcduck> Does anyone have an example how to make a custom directive for use in a form? I want to make own time picker but would ike to mangle with the value for ngModel
[13:10:09] *** Geertje123_ has joined #angularjs
[13:10:16] *** quantax- has quit IRC
[13:10:58] *** dannyc__ has quit IRC
[13:11:10] *** mdedetrich has quit IRC
[13:11:31] *** dannyc_ has joined #angularjs
[13:11:47] *** minimoo1 has quit IRC
[13:12:12] *** marshall_ has quit IRC
[13:12:21] *** kevinxu has joined #angularjs
[13:12:45] *** kevinxu is now known as Guest2740
[13:13:02] *** ivaldi has quit IRC
[13:13:02] *** ProLoser has quit IRC
[13:13:50] *** minimoo1 has joined #angularjs
[13:14:44] *** ShivsharanRahul has quit IRC
[13:15:30] *** ivaldi has joined #angularjs
[13:17:18] *** roven has quit IRC
[13:17:27] *** ShivsharanRahul has joined #angularjs
[13:18:00] *** ibbu has joined #angularjs
[13:19:17] *** Luser_ has quit IRC
[13:20:00] *** Luser has joined #angularjs
[13:20:53] *** elyssonmr has quit IRC
[13:21:43] *** sheplu has joined #angularjs
[13:23:36] *** azizur has quit IRC
[13:23:36] *** omolin4 has quit IRC
[13:23:56] *** Luser_ has joined #angularjs
[13:24:02] *** omolin4 has joined #angularjs
[13:24:24] *** Luser has quit IRC
[13:24:28] *** areologist has joined #angularjs
[13:24:48] <areologist> anyone here use firebase with angular?
[13:25:22] *** JohnBat26 has quit IRC
[13:25:52] *** bq has quit IRC
[13:25:59] *** Fishy has quit IRC
[13:27:05] *** joroc has joined #angularjs
[13:27:12] *** JERE has quit IRC
[13:27:24] *** fixl has quit IRC
[13:27:58] *** ciwolsey has joined #angularjs
[13:28:55] *** omolin4 has quit IRC
[13:29:22] *** Artagan has joined #angularjs
[13:30:21] *** bkuberek has joined #angularjs
[13:30:23] *** minimoo1 has quit IRC
[13:30:54] *** DrMabuse has joined #angularjs
[13:31:48] *** nemothekid has quit IRC
[13:33:22] *** evotuned has joined #angularjs
[13:33:25] *** qdk has quit IRC
[13:34:33] *** ninkotech_ has joined #angularjs
[13:34:46] *** omolin4 has joined #angularjs
[13:34:53] *** bkuberek has quit IRC
[13:34:59] *** sigurding has joined #angularjs
[13:35:17] *** micks_9093 has quit IRC
[13:35:17] *** Geertje123_ has quit IRC
[13:36:39] *** Geertje123_ has joined #angularjs
[13:36:41] *** Akufen has quit IRC
[13:37:05] *** arpu has joined #angularjs
[13:37:42] *** elyssonmr has joined #angularjs
[13:37:45] *** cakirke has joined #angularjs
[13:37:50] *** evotuned has quit IRC
[13:37:51] *** JohnBat26 has joined #angularjs
[13:38:35] *** ali4ever4 has joined #angularjs
[13:39:13] *** Luser_ has quit IRC
[13:39:18] *** mmealling has quit IRC
[13:39:49] *** Luser has joined #angularjs
[13:40:04] *** mmealling has joined #angularjs
[13:40:06] *** a3gis has joined #angularjs
[13:40:13] *** TyrfingMjolnir has joined #angularjs
[13:40:34] *** mmealling has quit IRC
[13:41:06] *** Guest74591 has quit IRC
[13:41:06] *** DrMabuse_ has joined #angularjs
[13:42:04] *** kirfu has joined #angularjs
[13:42:26] *** DrMabuse_ has quit IRC
[13:42:41] *** toad-br has quit IRC
[13:43:51] *** babadofar has quit IRC
[13:43:52] *** glassir has quit IRC
[13:44:02] *** DrMabuse has quit IRC
[13:44:19] *** glassir has joined #angularjs
[13:44:31] *** rburns has joined #angularjs
[13:44:38] *** Luser has quit IRC
[13:44:48] *** Prjio has joined #angularjs
[13:44:53] *** JohnBat26 has quit IRC
[13:45:19] *** MetaCosm_ has joined #angularjs
[13:45:23] *** sigurding has quit IRC
[13:46:08] *** juristr has quit IRC
[13:46:51] *** laurensclaessen has quit IRC
[13:46:54] *** F1LT3R has joined #angularjs
[13:47:02] *** borvoh has joined #angularjs
[13:47:17] *** charlenopires has joined #angularjs
[13:47:22] *** JohnBat26 has joined #angularjs
[13:48:03] *** IJNX has joined #angularjs
[13:48:41] *** sheplu has quit IRC
[13:48:59] *** Luser has joined #angularjs
[13:49:02] *** JERE has joined #angularjs
[13:49:04] *** laurensclaessen has joined #angularjs
[13:49:12] *** Prjio has quit IRC
[13:49:41] *** c00ljs has quit IRC
[13:49:44] *** ShivsharanRahul has quit IRC
[13:50:05] *** DrMabuse has joined #angularjs
[13:50:16] *** phzon has quit IRC
[13:50:29] *** Evanion has quit IRC
[13:50:47] *** aks has joined #angularjs
[13:51:05] *** storresi has joined #angularjs
[13:51:29] *** laurensclaessen has quit IRC
[13:51:41] *** F1LT3R has quit IRC
[13:52:24] *** AciD`` has joined #angularjs
[13:53:37] *** omolin4 has quit IRC
[13:54:04] *** omolin4 has joined #angularjs
[13:54:08] *** juampy is now known as juampy_brb
[13:54:08] *** sigurding has joined #angularjs
[13:55:03] *** rcdev has joined #angularjs
[13:55:08] *** c00ljs has joined #angularjs
[13:56:59] *** Sky[x] has quit IRC
[13:57:02] *** sk87 has quit IRC
[13:57:03] *** minimoo1 has joined #angularjs
[13:57:16] *** simplyshipley has joined #angularjs
[13:57:30] *** Angulario has quit IRC
[13:57:40] *** Angulario has joined #angularjs
[13:58:01] *** Aswebb has joined #angularjs
[13:58:22] *** omolin4 has quit IRC
[13:58:31] *** rcdev has quit IRC
[13:58:46] *** numenor has joined #angularjs
[13:59:12] <sandelius> how long will 1.3 be supported once 2.0 comes out?
[13:59:22] *** joroc has quit IRC
[14:00:03] <lite_> 24-36months
[14:00:03] *** sheplu has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:01:10] *** gregc2_ has joined #angularjs
[14:01:46] *** lite_ has quit IRC
[14:01:57] *** ioudas has quit IRC
[14:02:06] *** bayousoft has joined #angularjs
[14:03:15] *** jaydubya has joined #angularjs
[14:03:40] *** Akufen has joined #angularjs
[14:03:43] *** bundledavid has quit IRC
[14:04:17] *** whitebook has joined #angularjs
[14:04:32] *** omolin4 has joined #angularjs
[14:04:35] *** bundledavid has joined #angularjs
[14:04:43] *** rchavik has quit IRC
[14:05:07] *** juanpablo_ has joined #angularjs
[14:05:13] *** LunarLanding has quit IRC
[14:05:40] *** burzum2 has quit IRC
[14:05:42] *** juanpablo_ has joined #angularjs
[14:07:47] *** threesixes has quit IRC
[14:07:56] *** jaydubya has quit IRC
[14:08:03] *** jonr22 has joined #angularjs
[14:08:12] *** raj___ has quit IRC
[14:08:32] *** marshall_ has joined #angularjs
[14:09:04] *** whitebook has quit IRC
[14:09:52] *** juanpablo_ has quit IRC
[14:10:17] *** charlenopires has quit IRC
[14:10:28] *** pnode has joined #angularjs
[14:10:37] *** IvailoStoianov has quit IRC
[14:10:42] *** TyrfingMjolnir has quit IRC
[14:10:51] *** rikkus has quit IRC
[14:10:58] *** TyrfingMjolnir has joined #angularjs
[14:11:59] *** azizur has joined #angularjs
[14:12:03] *** bundledavid has quit IRC
[14:12:09] *** rikkus has joined #angularjs
[14:12:34] *** ansu has quit IRC
[14:12:55] *** ansu has joined #angularjs
[14:12:58] *** jonr22 has quit IRC
[14:13:09] *** marshall_ has quit IRC
[14:13:18] *** cannap has joined #angularjs
[14:13:55] *** pnade has quit IRC
[14:13:58] *** Milkweed has joined #angularjs
[14:14:18] *** kirfu has quit IRC
[14:14:41] *** narutimateum2 has joined #angularjs
[14:15:09] *** DrMabuse has quit IRC
[14:15:22] *** numenor has quit IRC
[14:15:22] *** peterp_ has joined #angularjs
[14:15:35] *** Ragn has joined #angularjs
[14:16:12] *** jheady has joined #angularjs
[14:16:22] *** jheady has left #angularjs
[14:16:27] <Ragn> Hi guys, I'm running through the AngularJS tutorial which uses the Angular seed project on GitHub. I'm wondering whether you know of a good place to set up a similar project from scratch?
[14:16:38] <Ragn> good place to learn how to set up a similar project I should say
[14:16:43] *** ccbmx has joined #angularjs
[14:17:19] *** remysharp has joined #angularjs
[14:17:22] *** narutimateum has quit IRC
[14:18:03] *** AngularUI has joined #angularjs
[14:18:03] <AngularUI> [ui-router] homerjam opened pull request #1580: fix(ui-sref): fixes not working with ng-click (angular-touch) if used without jQuery #827 (master...patch-1) http://git.io/3ed6Xg
[14:18:03] *** AngularUI has left #angularjs
[14:18:25] *** sebhoss has joined #angularjs
[14:18:52] *** jaydubya has joined #angularjs
[14:18:56] *** cojack has joined #angularjs
[14:19:02] *** laurensclaessen has joined #angularjs
[14:19:04] *** loverajoel has joined #angularjs
[14:19:10] *** DLSteve has quit IRC
[14:19:17] *** fatshark has quit IRC
[14:19:28] *** dhrami has joined #angularjs
[14:19:34] *** oncenull has joined #angularjs
[14:19:36] *** quantax- has joined #angularjs
[14:19:52] *** peterp_ has quit IRC
[14:20:26] *** adpirz has joined #angularjs
[14:20:31] *** threesixes has joined #angularjs
[14:20:47] *** cakirke has quit IRC
[14:21:04] *** juanpablo_ has joined #angularjs
[14:21:12] *** sheplu has quit IRC
[14:21:37] *** qdk has joined #angularjs
[14:21:51] *** juanpablo_ has quit IRC
[14:22:15] *** sheplu has joined #angularjs
[14:23:08] *** devinandrews has quit IRC
[14:23:24] *** Ragn has quit IRC
[14:24:19] *** charlenopires has joined #angularjs
[14:24:30] *** juristr has joined #angularjs
[14:24:39] *** sk87 has joined #angularjs
[14:24:52] *** adpirz has quit IRC
[14:25:45] *** mcastro has joined #angularjs
[14:26:28] *** Hackwar has joined #angularjs
[14:27:20] *** tristanp has joined #angularjs
[14:28:26] <TweedleDee> Anyone used ui.mask with a placeholder?
[14:28:46] <TweedleDee> I would love to be able to display Example: 402-991-9999 and then have the mask also mask the input...
[14:29:13] *** oncenull has quit IRC
[14:29:55] *** phzon has joined #angularjs
[14:29:57] *** IvailoStoianov has joined #angularjs
[14:30:22] *** ciwolsey has quit IRC
[14:31:10] *** oncenull has joined #angularjs
[14:31:50] *** Raging_Hog has quit IRC
[14:32:50] *** htmelvis has joined #angularjs
[14:32:52] <juristr> Interesting, when unit testing $watch expressions it makes a difference whether you used the "controller as" syntax or not. http://plnkr.co/edit/MVOgfmXVG1MzUg6nfM6W?p=preview
[14:34:01] <sacho> of course - watch expressions watch on the scope.
[14:34:10] *** evotuned has joined #angularjs
[14:36:46] <juristr> sacho: yep, but by executing $scope.$digest() in the tests I'd expect that the $watch expression is executed...which, btw it is, but not with the correct values
[14:37:17] <juristr> sacho: Instead, it seems that in that case you have to do something like $scope.$apply('someScopeVar = "some new value"');
[14:37:26] <juristr> then it fires as well, but with the passed new value
[14:37:35] <juristr> that's kinda odd..
[14:38:09] <juristr> while, when using the $scope syntax, I can simply call $scope.$digest() and everything works as expected...
[14:38:13] <sacho> huh?
[14:38:22] *** jamal has joined #angularjs
[14:38:38] <sacho> in your plunker it's the $digests that are failing
[14:38:43] *** jamal has quit IRC
[14:38:45] *** evotuned has quit IRC
[14:38:47] *** berdin has joined #angularjs
[14:38:49] *** danecando has quit IRC
[14:38:56] <berdin> Hi all
[14:39:15] <berdin> Does anybody works with angular and socket.io
[14:39:21] <berdin> I have one question
[14:39:34] *** juampy_brb is now known as juampy
[14:40:10] *** azizur has quit IRC
[14:41:04] <wsmoak> hmm… my <input type=number … >s are too big (wide) and setting size=“5” does not make them smaller. what will do it?
[14:41:58] *** DrMabuse has joined #angularjs
[14:42:16] <berdin> Does anybody work with angular and socket.io?
[14:42:17] *** DrMabuse has joined #angularjs
[14:42:29] <wsmoak> berdin: just ask. if someone knows, they’ll answer.
[14:42:47] <berdin> It is very big question
[14:42:49] <juristr> sacho: What do you mean by "failing"?
[14:42:59] <sacho> literally.
[14:43:00] *** mmealling has joined #angularjs
[14:43:04] *** jeffbalboni has joined #angularjs
[14:43:10] <berdin> I'm suing both angular and socket.io for little chat application
[14:43:13] *** sahbeewah has quit IRC
[14:43:14] <sacho> "Testing a Hello World controller test using $digest" "Expected undefined to equal 'Hi'."
[14:43:18] <berdin> but I have some trouble
[14:43:20] *** dannyc__ has joined #angularjs
[14:43:40] <juristr> oh...could u refresh
[14:43:52] *** Sky[x] has joined #angularjs
[14:44:02] <sacho> same thing
[14:44:09] <sacho> except now you have 4 tests
[14:44:12] *** dsdeiz has joined #angularjs
[14:44:16] <wsmoak> berdin: if it’s long and you have code snippets you can put it on a gist and link to it
[14:44:24] <juristr> yea, but they pass, other than one of them which as the strange issue
[14:44:36] <sacho> the *first* one doesn't pass.
[14:44:41] <juristr> exactly
[14:44:44] *** azizur has joined #angularjs
[14:44:47] *** Geertje123_ has quit IRC
[14:45:05] <juristr> but that's exactly the issue I'm describing. In that case I'm using the "controller as" syntax, but using $scope.$digest() to execute the dirty checking
[14:45:16] <berdin> I have an array for messages and Form with input and button^ and div with <p> elements that I use as template for my messages in ng-repeat
[14:45:19] *** babadofar has joined #angularjs
[14:45:22] <juristr> which calls the $watch expression, but with no new/old value
[14:45:31] *** Prjio has joined #angularjs
[14:45:58] <berdin> And I can send messages and other person put I can see this messages after start typing at input field
[14:46:08] <sacho> juristr, well, you're not placing the controller on the scope, anywhere.
[14:46:26] <sacho> so you're not using controllerAs.
[14:46:49] <berdin> My messages I can see immediately but messages of other users after start typing at input field
[14:46:53] *** dannyc_ has quit IRC
[14:47:05] <berdin> where is the mistake?
[14:47:09] *** night-owl is now known as zz_night-owl
[14:47:16] <berdin> what amI doing wrong?
[14:47:20] *** Geertje123_ has joined #angularjs
[14:47:53] <juristr> sacho: hmm...you mean the beforeEach where the new $scope is created and passed to the controller doesn't do that?
[14:48:01] <juristr> sacho: (sorry for stupid questions...I'm quite new to Angular)
[14:48:02] <sacho> juristr, http://plnkr.co/edit/lNTihYm8nOjCj7kXsUm7?p=preview
[14:48:08] *** omolin4 has quit IRC
[14:48:28] <sacho> juristr, yes, you're not specifying anywhere a controllerAs
[14:48:30] <juristr> sacho: oh.....damn it...
[14:48:40] <juristr> sacho: Obvious... thx :)
[14:48:57] *** diffalot has quit IRC
[14:49:13] <sacho> this is a really shitty problem
[14:49:22] <juristr> sacho: Indeed..
[14:49:25] <sacho> now your tests are tied to what you use in controllerAs
[14:49:37] <sacho> not even just that, but also your controller is
[14:49:45] <juristr> sacho: Yep.. but that's nasty, and easy to forget. Thx a lot!
[14:49:48] *** Prjio has quit IRC
[14:49:51] <jcool> can we use external filters with ui-grid?
[14:49:56] *** SergioFilhow_ has quit IRC
[14:50:00] *** diffalot has joined #angularjs
[14:50:12] *** tristanp has quit IRC
[14:50:14] <jcool> as in something like multiple select which can change data in ui grid as per selection
[14:50:57] *** kp666 has quit IRC
[14:51:05] *** rburns has quit IRC
[14:51:22] *** josh-k has joined #angularjs
[14:51:49] *** kwaledesign has joined #angularjs
[14:52:20] *** SergioFilhow_ has joined #angularjs
[14:53:16] *** DrMabuse has quit IRC
[14:53:33] <juristr> sacho: It's interesting though that with $scope.$apply('vm.currentSelection="Hi"'); it works.
[14:53:45] *** josh-k_ has joined #angularjs
[14:53:49] <sacho> sure, why wouldn't it
[14:54:09] <sacho> there's a watch expression for vm.currentSelection, and you're also setting vm.currentSelection on the scope.
[14:54:26] *** juampy has quit IRC
[14:54:35] <sacho> angular probably creates an object in its place.
[14:54:36] *** Geertje123_ has quit IRC
[14:54:57] *** DrMabuse has joined #angularjs
[14:55:04] *** bundledavid has joined #angularjs
[14:55:19] *** cswelin has quit IRC
[14:55:30] <sacho> hmm.
[14:55:40] *** juampy has joined #angularjs
[14:56:17] *** bundledavid has quit IRC
[14:56:50] *** c00ljs has quit IRC
[14:56:53] *** josh-k has quit IRC
[14:57:04] *** Geertje123_ has joined #angularjs
[14:57:10] <sacho> juristr, http://plnkr.co/edit/4oGC9YKvTAhbzKPBNyPF?p=preview
[14:57:23] <sacho> note that $scope.vm is just a plain object angular created, it's not the controller
[14:57:40] *** ProLoser has joined #angularjs
[14:57:54] <wsmoak> berdin: you’ll need to post some code if you want help with it
[14:58:05] *** tristanp has joined #angularjs
[14:58:11] *** Evanion has joined #angularjs
[14:58:11] <berdin> plunker or how?
[14:59:19] <juristr> sacho: Not sure I get what you mean
[14:59:30] *** Geertje123_ has quit IRC
[14:59:40] *** cswelin has joined #angularjs
[14:59:40] *** c00ljs has joined #angularjs
[15:00:05] <wsmoak> berdin: there’s a link in /topic
[15:01:03] *** lexek_ has joined #angularjs
[15:01:25] *** bundledavid has joined #angularjs
[15:01:41] *** ehalas has joined #angularjs
[15:01:41] <juristr> sacho: oh, missed your response "angular probably creates an object in its place."... Yea, that's probably true
[15:02:03] *** ProLoser has quit IRC
[15:02:04] *** Geertje123_ has joined #angularjs
[15:02:51] *** mivv has joined #angularjs
[15:03:43] <berdin> Can anybody help me with this part?
[15:03:44] <berdin> https://gist.githubusercontent.com/anonymous/872bc030190a991cf74b/raw/1e1f8c497bf712f69c9966e6d1d19c5f361afa40/gistfile1.txt
[15:04:04] *** cleme1mp_ has joined #angularjs
[15:04:08] *** Milkweed has quit IRC
[15:04:10] *** Geertje123_ has quit IRC
[15:04:12] <berdin> I have to make scope reloads dynamicaly
[15:04:24] *** rburns has joined #angularjs
[15:04:26] *** nerder has joined #angularjs
[15:04:33] <nerder> hello
[15:04:40] *** cleme1mp has quit IRC
[15:04:43] *** Fishy has joined #angularjs
[15:04:55] <nerder> anybody have a good Django + Angularjs video course to share?
[15:06:41] *** Geertje123_ has joined #angularjs
[15:07:00] *** mccarrontr1ck has joined #angularjs
[15:07:00] *** rileylark has joined #angularjs
[15:07:05] *** kwaledesign has quit IRC
[15:07:12] *** DLSteve has joined #angularjs
[15:07:15] *** ssawickik has quit IRC
[15:08:01] *** sirkitree|afk|af is now known as sirkitree
[15:08:06] *** rileylark has quit IRC
[15:08:16] *** zz_night-owl is now known as night-owl
[15:08:26] *** prosper_ has joined #angularjs
[15:08:29] *** SergioFilhow_ has quit IRC
[15:08:49] *** dberry37388 has joined #angularjs
[15:09:02] *** Jker has joined #angularjs
[15:09:07] <Jker> someone here is a programmer ?
[15:09:07] *** FIFOd[a] has joined #angularjs
[15:09:10] *** Geertje123_ has quit IRC
[15:09:15] *** rileylark has joined #angularjs
[15:09:20] *** marshall_ has joined #angularjs
[15:10:10] <BahamutWC> JKer: nah, we're all just recruiters :)
[15:10:46] *** berdin has quit IRC
[15:11:22] <Jker> someone here is a unity 3d programmer ?
[15:11:38] *** Geertje123_ has joined #angularjs
[15:11:51] *** Jker has quit IRC
[15:13:10] *** SergioFilhow has joined #angularjs
[15:13:39] *** anapitupulu has joined #angularjs
[15:13:43] *** marshall_ has quit IRC
[15:14:26] *** a3gis has quit IRC
[15:14:36] *** darrin has joined #angularjs
[15:14:36] *** laurensclaessen has quit IRC
[15:15:05] *** dsdeiz has quit IRC
[15:15:52] *** Siecje has joined #angularjs
[15:15:58] *** boxmein has joined #angularjs
[15:16:28] *** caitp has joined #angularjs
[15:16:44] *** ron1 has joined #angularjs
[15:16:58] <areologist> Jker: there is a #unity3d channel if u have a registered sn
[15:17:00] *** niop has quit IRC
[15:17:05] *** bhuvanaurora has joined #angularjs
[15:17:09] <wsmoak> and berdin left after all that :/
[15:17:23] *** bmac has joined #angularjs
[15:18:01] *** prbc has joined #angularjs
[15:18:09] *** GeneralChoomin has quit IRC
[15:18:11] *** roven has joined #angularjs
[15:18:18] *** ShivsharanRahul has joined #angularjs
[15:18:28] *** juanpablo_ has joined #angularjs
[15:18:39] *** elrabin has joined #angularjs
[15:18:58] *** jmichaelward has joined #angularjs
[15:19:03] *** japhar81 has joined #angularjs
[15:19:42] *** bhuvanaurora has quit IRC
[15:20:37] *** rburns has quit IRC
[15:20:38] *** Luser has quit IRC
[15:20:59] *** azizur3 has joined #angularjs
[15:20:59] *** sk87 has quit IRC
[15:21:15] *** azizur has quit IRC
[15:21:56] *** VeeWee has quit IRC
[15:21:56] *** omolin4 has joined #angularjs
[15:22:17] *** rcdev has joined #angularjs
[15:22:30] *** anderskristo has quit IRC
[15:22:41] *** cboden has joined #angularjs
[15:22:43] *** Mattias has quit IRC
[15:22:45] *** dman777_alter has joined #angularjs
[15:22:52] *** rcdev has quit IRC
[15:22:55] *** roven has quit IRC
[15:23:32] *** Jkerzz has joined #angularjs
[15:23:41] *** jmichaelward has quit IRC
[15:24:19] <Crippy> what is the best way to edit a date Time via the front end in Angular?
[15:24:31] *** sk87 has joined #angularjs
[15:24:34] *** laurensclaessen has joined #angularjs
[15:24:59] <blackkbot> where is the front end in angular
[15:25:53] <sacho> Crippy, your question is really vague. Have you looked at datepicker components?
[15:26:04] <Crippy> ie 2013-04-16T13:00:00 ... html using directives
[15:26:08] *** rcdev has joined #angularjs
[15:26:14] *** fedenunez has joined #angularjs
[15:26:18] <Crippy> yea Im using the timepicker
[15:26:20] *** ShivsharanRahul1 has joined #angularjs
[15:26:27] <Crippy> but have that format coming from my scope
[15:26:29] <blackkbot> moment?
[15:26:33] <Jkerzz> Some+one here is - unity 3d programmer+ ?
[15:26:35] <BahamutWC> there is a date filter in angular
[15:26:56] *** toad-br has joined #angularjs
[15:27:03] <Crippy> yea
[15:27:09] <Crippy> tried and getting 13:00
[15:27:11] <Crippy> buy
[15:27:17] <nerder> Jkerzz: go on #unity3d
[15:27:21] *** philipd has quit IRC
[15:27:24] <Crippy> but it wont inject into my $scope.StartTime
[15:27:29] <nerder> you are in the wrong place
[15:28:23] *** mak`` has quit IRC
[15:28:39] *** devinandrews has joined #angularjs
[15:28:52] *** F1LT3R has joined #angularjs
[15:28:54] *** kuadrosx has joined #angularjs
[15:29:03] *** ShivsharanRahul has quit IRC
[15:29:38] *** anderskristo has joined #angularjs
[15:29:45] *** IJNX has quit IRC
[15:29:58] *** Luser has joined #angularjs
[15:30:08] *** mcastro has quit IRC
[15:30:44] *** kotyy has joined #angularjs
[15:30:45] *** tfennelly has quit IRC
[15:30:46] *** Mattias has joined #angularjs
[15:31:03] *** GeneralChoomin has joined #angularjs
[15:31:06] *** philipd has joined #angularjs
[15:31:07] *** mcastro has joined #angularjs
[15:31:15] <cheef1> anyone know how to show-hide a named view using ui-router via state params?
[15:31:21] *** babadofar has quit IRC
[15:31:42] <ctanga> should a simple gulpfile take about 3 seconds to start up before running a task? I’m requiring about 12 plugins
[15:32:50] *** Dave has joined #angularjs
[15:32:52] <Dave> whatsup
[15:33:14] *** Dave is now known as Guest67839
[15:33:23] *** rcdev has quit IRC
[15:33:23] *** plekplek has quit IRC
[15:33:52] *** GPH|work has joined #angularjs
[15:33:54] *** BillCriswell has joined #angularjs
[15:34:28] *** Lewix has joined #angularjs
[15:34:28] *** Lewix has joined #angularjs
[15:34:41] *** Guest67839 has quit IRC
[15:34:48] *** Hackwar has quit IRC
[15:34:52] *** evotuned has joined #angularjs
[15:36:21] *** evotuned has quit IRC
[15:36:30] *** mkc_ has joined #angularjs
[15:36:43] *** evotuned has joined #angularjs
[15:36:56] *** Jkerzz has quit IRC
[15:37:11] *** Yankie has joined #angularjs
[15:37:47] *** duall has joined #angularjs
[15:37:57] <duall> Hello
[15:37:59] *** vonnegut has joined #angularjs
[15:38:10] *** a3gis has joined #angularjs
[15:38:23] *** oste has joined #angularjs
[15:39:02] *** Geertje123_ has quit IRC
[15:39:46] *** caitp has quit IRC
[15:40:18] *** josh3336 has joined #angularjs
[15:40:45] *** multi_io has joined #angularjs
[15:41:27] <arkin> when a promise is completed, what happens to the variable... would if ( variable ) return true/false?
[15:41:40] *** evotuned has quit IRC
[15:41:40] *** danecando has joined #angularjs
[15:41:59] *** Una has joined #angularjs
[15:42:03] *** a3gis has quit IRC
[15:43:12] *** mkusher has joined #angularjs
[15:43:43] *** edy has quit IRC
[15:43:52] *** dannyc__ has quit IRC
[15:44:47] *** dcherman has joined #angularjs
[15:44:49] *** kotyy has quit IRC
[15:45:43] *** beckyconning_ has joined #angularjs
[15:45:59] *** bkuberek has joined #angularjs
[15:46:18] *** Prjio has joined #angularjs
[15:46:21] *** mven has joined #angularjs
[15:46:28] *** Una has quit IRC
[15:47:26] *** sk87 has quit IRC
[15:47:27] *** vassagus has joined #angularjs
[15:48:25] *** SergioFilhow has quit IRC
[15:48:44] *** elyssonmr has quit IRC
[15:49:10] *** elyssonmr has joined #angularjs
[15:49:36] *** ShivsharanRahul has joined #angularjs
[15:49:42] *** ShivsharanRahul has left #angularjs
[15:49:52] *** ShivsharanRahul1 has quit IRC
[15:50:00] <sacho> no
[15:50:04] *** dannyc_ has joined #angularjs
[15:50:15] *** kwaledesign has joined #angularjs
[15:50:26] *** cleme1mp_ has quit IRC
[15:51:07] *** dannyc_ has quit IRC
[15:51:12] *** toad-br has quit IRC
[15:51:25] *** dannyc_ has joined #angularjs
[15:51:28] *** juampy has quit IRC
[15:51:56] <soee> every time if i change page that is called with state like #foo/bar to a page without any state i have this error: http://errors.angularjs.org/1.3.4/$rootScope/infdig?p0=10&p1=%5B%5D any idea why ?
[15:52:41] <sacho> arkin, you could check the promise's $$state property, although you shouldn't really need to do that
[15:53:00] <arkin> sacho: I'm going to be testing myself in a sec just wondered if there was any insight
[15:53:04] *** Prjio has quit IRC
[15:53:13] <arkin> I'm hoping !!promise will == false
[15:53:53] *** delphicokami has quit IRC
[15:53:56] *** juampy has joined #angularjs
[15:54:27] <sacho> it won't.
[15:54:34] <arkin> basically...
[15:54:42] *** _magus has joined #angularjs
[15:54:48] <arkin> if the promise is already running I want it to return the promise
[15:54:50] *** instence has joined #angularjs
[15:54:56] *** instence_ has quit IRC
[15:55:12] <duall> Why angular wants me to use $window instead of window ?
[15:55:15] *** Luser has quit IRC
[15:55:34] *** cleme1mp has joined #angularjs
[15:55:50] *** Luser has joined #angularjs
[15:56:04] <sacho> arkin, var myPromise; if (!myPromise) { myPromise = getPromise} return myPromise
[15:56:13] *** soee has quit IRC
[15:56:18] *** twelverobots has quit IRC
[15:56:59] *** Aerospark has joined #angularjs
[15:57:04] *** jonr22 has joined #angularjs
[15:57:23] *** cacts has joined #angularjs
[15:57:35] *** DelphicOkami has joined #angularjs
[15:57:51] *** sheplu has quit IRC
[15:57:55] *** Hackwar has joined #angularjs
[15:57:57] *** scriptThis has quit IRC
[15:58:27] *** doodlehaus has joined #angularjs
[15:58:35] *** decached has quit IRC
[15:58:51] *** burzum has joined #angularjs
[16:00:19] *** Aswebb has quit IRC
[16:00:19] *** mcastro has quit IRC
[16:00:28] *** twelverobots has joined #angularjs
[16:00:30] *** Luser has quit IRC
[16:00:49] *** omolin4 has quit IRC
[16:01:18] *** caitp has joined #angularjs
[16:01:19] *** pspfolio has joined #angularjs
[16:01:40] *** anapitupulu_ has joined #angularjs
[16:01:47] <burzum> If I structure my app in a way that every single directive, filter and controller gets its own file, how can I deal with that the best in my development environment? I don't want to include hundreds of files in my app. :)
[16:02:08] *** jonr22 has quit IRC
[16:02:27] *** azizur3 has quit IRC
[16:02:32] *** omolin4 has joined #angularjs
[16:02:36] *** shackleford has joined #angularjs
[16:03:20] *** jeffbalboni has quit IRC
[16:03:24] *** ries has quit IRC
[16:04:00] *** azizur has joined #angularjs
[16:04:42] *** anapitupulu has quit IRC
[16:04:52] *** macabre has joined #angularjs
[16:04:58] *** macabre has quit IRC
[16:04:59] *** macabre has joined #angularjs
[16:05:09] *** cojack has quit IRC
[16:05:21] *** jdcasey has joined #angularjs
[16:05:53] *** icarus75 has quit IRC
[16:05:59] *** folippi has joined #angularjs
[16:06:20] *** dacuca has joined #angularjs
[16:06:26] <dannyc_> burzum: all taken care of in your build process. set up a task to concat and minify all js files into one file. look at Gulp or Grunt.
[16:06:58] <burzum> dannyc_ thats what we're discussing here right now, but i dont want to run the build process every time manually ive made a change?
[16:06:58] *** mary5030 has joined #angularjs
[16:07:14] <areologist> burzum: many ppl recommend structuring your app by feature so that when you're working on something you don't have to waste a lot of time switching around between folders
[16:07:29] <areologist> i.e., navigating folder structure to find the pieces
[16:07:40] *** caitp has quit IRC
[16:07:43] *** mary5030 has joined #angularjs
[16:07:46] *** tech2 has quit IRC
[16:07:55] <burzum> Ive tried to find a standard but there is none, so I guess its a matter of taste and preference per project areologist
[16:08:14] *** whitebook has joined #angularjs
[16:09:05] <areologist> definitely do what works best for your and your team, but there are some good styleguides. check out the one maintained by John Papa
[16:09:10] <dannyc_> burzum: so you have a different build process for each env. the angular yeoman set up does that for you.
[16:09:23] *** adpirz has joined #angularjs
[16:09:29] *** toin0u|away is now known as toin0u
[16:09:36] <areologist> this is probably the most popular styleguide: https://github.com/johnpapa/angularjs-styleguide
[16:09:51] <dannyc_> areologist: +1
[16:10:03] *** marshall_ has joined #angularjs
[16:10:05] *** prbc has quit IRC
[16:10:08] <burzum> dannyc_ im less concerned about the differences but more about that i dont want to include 50 files in my html page, even if its just for development nor do i want to trigger a build process manually each time ive made a change.
[16:10:39] *** prbc has joined #angularjs
[16:10:41] *** vdiaz has joined #angularjs
[16:10:46] *** foofoobar has quit IRC
[16:11:15] *** SpotSec has joined #angularjs
[16:11:17] <burzum> that style guide is nice thanks areologist
[16:11:20] *** Geertje123_ has joined #angularjs
[16:11:24] *** toin0u is now known as toin0u|away
[16:11:25] <areologist> burzum: have you tried grunt-contrib-watch (or the gulp equivalent)?
[16:11:33] <burzum> not yet, let me check it out
[16:12:08] *** mkusher has quit IRC
[16:12:27] <areologist> I'll typically create three configs: full production build, debug build, and a fast refresh
[16:12:31] <burzum> so I set up a watcher on /app/js/angular/services/someservice.js for example and when it gets changed the watcher detects it and triggers a build?
[16:12:32] *** Oddman_ has joined #angularjs
[16:12:50] *** Oddman has quit IRC
[16:13:00] <areologist> anyway, my debug config will include watches so it refreshes automatically when I save changes
[16:13:28] <areologist> you can configure the watch task to look at *.js, or whatever.
[16:13:51] *** richardlitt has joined #angularjs
[16:13:58] *** mennea has quit IRC
[16:14:04] <areologist> you can get pretty sophisticated with it if you want to
[16:14:13] *** adpirz has quit IRC
[16:14:40] *** marshall_ has quit IRC
[16:14:53] *** prbc has quit IRC
[16:15:09] *** glassir has quit IRC
[16:15:20] *** dacuca has quit IRC
[16:15:24] <nerder> anybody can help me with this? http://plnkr.co/edit/7y1oEWtmt1HMjiKIZ2rj?p=preview
[16:15:44] *** shackleford has quit IRC
[16:15:54] *** glassir has joined #angularjs
[16:15:54] *** HACKING-FACEBOOK has joined #angularjs
[16:16:05] <nerder> it's hard to explain the real issue, anyway i dnt get the value that i expect
[16:16:20] *** shackleford has joined #angularjs
[16:16:50] <nerder> the first form (with the light-blue button) is always present inside of my single-page application
[16:16:54] <areologist> for example, you might want your debug build to use explicit references to unminified vendor javascript in your html files, and build source maps for your app code
[16:17:19] <nerder> the second one is inside of a view
[16:17:20] <areologist> that's how I like to do it anyway
[16:17:49] <nerder> i have to let them work togheter when the view is called
[16:18:29] *** whitebook has quit IRC
[16:19:34] *** m_rc has joined #angularjs
[16:20:23] *** ali4ever4 has quit IRC
[16:21:01] *** rcdev has joined #angularjs
[16:21:43] *** digisky has joined #angularjs
[16:22:17] <dman777_alter> I have a fooService...and I return bar from it and use it such as fooService.bar = 7; is this going to be pass by reference or pass by value?
[16:23:45] *** Trow has joined #angularjs
[16:23:51] *** caitp has joined #angularjs
[16:23:54] *** HACKING-FACEBOOK has quit IRC
[16:24:46] *** davidreis has joined #angularjs
[16:24:51] *** HACKING-FACEBOOK has joined #angularjs
[16:25:01] *** knownasilya has joined #angularjs
[16:25:42] *** prosper_ has quit IRC
[16:25:49] *** Oddman_ has quit IRC
[16:26:03] <nerder> dman777_alter: http://stackoverflow.com/questions/518000/is-javascript-a-pass-by-reference-or-pass-by-value-language
[16:26:26] *** kotyy has joined #angularjs
[16:26:40] *** Luser has joined #angularjs
[16:26:41] <m_rc> If anyone has a minute to look at this Plnkr, I don't understand why I can see a value for $state.current.name when I log $state, but when I log $state.current.name, I get an empty string: http://plnkr.co/edit/H8YHR0GzsZNftIzqFpcw?p=preview
[16:26:53] *** scrooge_mcduck has quit IRC
[16:26:58] <dman777_alter> nerder: no, I understand that...my question is specific to Angular Services...since I am not sure what is going on on a lower level
[16:27:06] *** Luser has quit IRC
[16:27:36] *** Luser has joined #angularjs
[16:27:48] <dman777_alter> Well, I guess now that I think about it a service is just a singleton object, so it should.
[16:27:58] *** whitebook has joined #angularjs
[16:28:24] *** SahanH has joined #angularjs
[16:28:54] *** Luser has quit IRC
[16:29:22] *** Luser has joined #angularjs
[16:29:25] *** scrooge_mcduck has joined #angularjs
[16:29:26] <nerder> acutally a service is a Singleton object
[16:29:32] *** chrisbirk has joined #angularjs
[16:29:45] *** AngularUI has joined #angularjs
[16:29:45] <AngularUI> [ui-router] ramoncaldeira opened pull request #1581: Update README.md (master...master) http://git.io/9vKAwA
[16:29:45] *** AngularUI has left #angularjs
[16:29:48] *** Luser has quit IRC
[16:29:56] <nerder> dman777_alter: http://stackoverflow.com/questions/21496331/angularjs-are-service-singleton
[16:30:18] *** Luser has joined #angularjs
[16:30:43] *** chrisbirk has quit IRC
[16:31:01] *** sheplu has joined #angularjs
[16:31:05] *** frankblizzar has joined #angularjs
[16:31:14] *** bkuberek has quit IRC
[16:31:48] <nerder> dman777_alter: if you start working with services,factory,provider i'll advise you to read this to get more clear: http://stackoverflow.com/questions/15666048/service-vs-provider-vs-factory
[16:31:57] *** anderskristo has quit IRC
[16:31:58] *** Luser has quit IRC
[16:32:06] *** Luser has joined #angularjs
[16:32:12] *** larsgk has quit IRC
[16:32:25] *** Luser has quit IRC
[16:32:48] *** Mattias has quit IRC
[16:32:58] *** Luser has joined #angularjs
[16:33:09] *** bkuberek has joined #angularjs
[16:33:20] *** conan_the_destro has joined #angularjs
[16:33:38] *** DrMabuse_ has joined #angularjs
[16:33:57] *** tech2 has joined #angularjs
[16:34:17] *** moritzs has quit IRC
[16:34:38] *** anderskristo has joined #angularjs
[16:34:39] *** Luser has quit IRC
[16:34:43] *** Luser_ has joined #angularjs
[16:34:46] *** jmichaelward has joined #angularjs
[16:35:09] *** Luser_ has quit IRC
[16:35:41] *** Luser has joined #angularjs
[16:36:13] *** richardlitt has quit IRC
[16:36:20] *** frobs has quit IRC
[16:36:41] *** plato has quit IRC
[16:37:07] *** DrMabuse has quit IRC
[16:37:29] *** evotuned has joined #angularjs
[16:37:32] *** Luser_ has joined #angularjs
[16:37:48] *** Luser_ has quit IRC
[16:37:50] *** sheplu has quit IRC
[16:37:56] *** chrisbirk has joined #angularjs
[16:38:07] *** bb6xt has quit IRC
[16:38:12] *** DrMabuse_ has quit IRC
[16:38:22] *** Luser_ has joined #angularjs
[16:38:23] *** Mattias has joined #angularjs
[16:38:46] *** DrMabuse has joined #angularjs
[16:39:18] *** sandelius has quit IRC
[16:39:41] *** jmichaelward has quit IRC
[16:39:54] *** Luser_ has quit IRC
[16:40:12] *** Luser_ has joined #angularjs
[16:40:15] *** Luser has quit IRC
[16:40:30] *** Luser_ has quit IRC
[16:40:33] *** Eric__ has joined #angularjs
[16:40:34] <_magus> morning from Oklahoma
[16:40:51] *** Lewix has quit IRC
[16:40:58] *** Luser has joined #angularjs
[16:40:59] <_magus> tech capital of the us
[16:41:03] <_magus> in the heart of america
[16:41:09] <_magus> ;0
[16:41:13] *** bengillies has quit IRC
[16:41:32] *** Fire-Dragon-DoL has joined #angularjs
[16:41:37] *** HACKING-FACEBOOK has quit IRC
[16:41:39] <BahamutWC> I'll pass on the midwest winters :P
[16:42:10] *** evotuned has quit IRC
[16:42:50] *** Luser_ has joined #angularjs
[16:42:54] *** Luser has quit IRC
[16:42:59] *** dannyc_ has quit IRC
[16:43:02] *** elyssonmr has quit IRC
[16:43:10] *** Luser_ has quit IRC
[16:43:40] *** Luser has joined #angularjs
[16:43:51] *** EricWeb has quit IRC
[16:44:40] *** dannyc_ has joined #angularjs
[16:45:00] *** juampy is now known as juampy_lunch
[16:45:29] *** Luser_ has joined #angularjs
[16:45:30] *** Luser has quit IRC
[16:45:55] *** Luser_ has quit IRC
[16:46:17] *** Yankie has quit IRC
[16:46:23] *** Luser has joined #angularjs
[16:46:26] *** shackleford has quit IRC
[16:46:33] *** ProLoser has joined #angularjs
[16:46:41] *** jaznow has quit IRC
[16:47:00] *** e0ipso|away is now known as e0ipso
[16:47:49] *** s3shs has quit IRC
[16:47:50] *** bengillies has joined #angularjs
[16:47:50] *** shackleford has joined #angularjs
[16:47:50] *** Luser has quit IRC
[16:48:12] *** Luser has joined #angularjs
[16:48:35] *** Luser has quit IRC
[16:48:50] *** Prjio has joined #angularjs
[16:49:08] *** Luser has joined #angularjs
[16:49:28] *** night-owl is now known as zz_night-owl
[16:50:40] *** joker666 has quit IRC
[16:50:46] *** wolfman2000 has quit IRC
[16:50:49] *** Luser_ has joined #angularjs
[16:50:51] *** dannyc__ has joined #angularjs
[16:50:53] *** Luser has quit IRC
[16:51:04] *** ProLoser has quit IRC
[16:51:16] *** Luser_ has quit IRC
[16:51:23] *** kapil_ has quit IRC
[16:51:28] *** dcherman2 has joined #angularjs
[16:51:45] *** Luser has joined #angularjs
[16:51:59] *** gnu_d has left #angularjs
[16:52:49] *** ctanga has quit IRC
[16:53:08] *** ansu has quit IRC
[16:53:09] *** mdel has quit IRC
[16:53:29] *** ansu has joined #angularjs
[16:53:31] *** Luser_ has joined #angularjs
[16:53:31] *** Luser has quit IRC
[16:53:36] <duall> Probably a css question.. Is it possible to change the input so it does not follow the carrot when you type ? For example [ Some tex ] should be visible instead of [ xt some| ] when you type ( STAYS ON THE LEFT )
[16:53:49] *** rboyd has joined #angularjs
[16:53:52] *** Prjio has quit IRC
[16:53:53] *** Luser_ has quit IRC
[16:54:22] *** Luser has joined #angularjs
[16:54:41] *** Ch4rAss has quit IRC
[16:54:44] *** dcherman has quit IRC
[16:54:51] <m_rc> duall: what's the use casE?
[16:54:56] *** sheplu has joined #angularjs
[16:55:31] <duall> m_rc i automatically increase the width of the input as you type, so it no longer needs to follow the carret. ( would avoid unnescasary jumping effect )
[16:56:10] *** Luser_ has joined #angularjs
[16:56:20] *** cthrax_ has joined #angularjs
[16:56:21] <m_rc> duall: how about just hiding the caret?
[16:56:22] *** Luser has quit IRC
[16:56:27] *** prbc has joined #angularjs
[16:56:33] *** ctanga has joined #angularjs
[16:56:39] *** Luser_ has quit IRC
[16:56:42] <duall> m_rc the problem is not the carret, but the text scrolling to the right as you type
[16:56:52] *** k-dawg has quit IRC
[16:57:01] *** joroc has joined #angularjs
[16:57:04] *** Luser has joined #angularjs
[16:57:22] <m_rc> but if you're dynamically increasing the width of the input as you go, isn't this still desired behaviour?
[16:57:31] *** ron1 has quit IRC
[16:58:07] <duall> it has this glitchy jumping effect
[16:58:18] *** caitp has quit IRC
[16:58:19] <duall> text jumps to the right and then back again ( when new width applies )
[16:58:23] <m_rc> hmm. I dunno.
[16:58:30] <wsmoak> duall: how are you changing the width at all? I need that for an <input type=“number> that’s too wide.
[16:58:37] *** Luser has quit IRC
[16:58:50] *** Luser has joined #angularjs
[16:58:53] <duall> 1sec
[16:59:15] *** Luser has quit IRC
[16:59:16] *** ggrzybek is now known as ggrzybek_afk
[16:59:43] *** Luser has joined #angularjs
[17:00:42] *** minimoo1 has quit IRC
[17:00:55] *** k-dawg has joined #angularjs
[17:01:16] *** Luser has quit IRC
[17:01:31] *** Luser has joined #angularjs
[17:01:39] *** Guest2740 has quit IRC
[17:02:02] *** Luser has quit IRC
[17:02:19] *** ggrzybek_afk has quit IRC
[17:02:26] *** Luser has joined #angularjs
[17:02:44] *** startupality has quit IRC
[17:03:00] *** thomastuts has quit IRC
[17:03:01] *** startupality has joined #angularjs
[17:03:23] <duall> http://plnkr.co/edit/MlnYjUbao7bwZxA3WSav?p=preview something like this
[17:03:29] *** startupality has quit IRC
[17:03:34] *** busticated has joined #angularjs
[17:03:55] <duall> wsmoak*
[17:04:00] *** rcdev has quit IRC
[17:04:00] *** josh3336 has left #angularjs
[17:04:15] *** Luser_ has joined #angularjs
[17:04:34] *** Luser_ has quit IRC
[17:04:36] *** tfennelly has joined #angularjs
[17:04:37] *** Luser has quit IRC
[17:04:51] <nerder> guys i have this bug, and i dnt know how to fix it because i dnt understand this behavior: behavior
[17:05:04] <nerder> lol
[17:05:11] *** Luser has joined #angularjs
[17:05:46] <nerder> http://plnkr.co/edit/7y1oEWtmt1HMjiKIZ2rj?p=info
[17:06:23] *** Luser has quit IRC
[17:06:30] *** Luser has joined #angularjs
[17:06:31] *** DLSteve has quit IRC
[17:07:06] *** Expi1 has joined #angularjs
[17:07:13] *** s00pcan has joined #angularjs
[17:07:27] <nerder> i guess that the problem is with the view... i have a question the ui-view work as an include?
[17:07:47] *** ibbu has quit IRC
[17:08:20] *** tech2 has quit IRC
[17:08:31] *** F1LT3R has quit IRC
[17:09:10] *** snapwich has joined #angularjs
[17:09:15] <nerder> i test my code put just the html 2gheter and works perfectly, i move the code of the 1st form in a directive and still work good
[17:09:40] *** k-dawg has quit IRC
[17:10:00] *** plato has joined #angularjs
[17:10:12] <nerder> but if i put the second form inside of another file and i use ui-view to "recall" that view the object that i will pass to the controller looks undefined
[17:10:17] *** milka has quit IRC
[17:10:42] *** _45kb has joined #angularjs
[17:10:43] *** mkusher has joined #angularjs
[17:10:44] *** chrisshattuck has joined #angularjs
[17:10:51] *** marshall_ has joined #angularjs
[17:10:58] <_45kb> hi guys can someone help me fixing this issue https://github.com/720kb/angular-datepicker/issues/7
[17:11:05] *** omolin4 has quit IRC
[17:11:10] <_45kb> actually it wont work on firefox and safari but on chrome is working
[17:11:42] *** plato has quit IRC
[17:11:48] <_45kb> i tryed with tabindex but doesnt works
[17:12:36] *** rcdev has joined #angularjs
[17:13:09] *** Milkweed has joined #angularjs
[17:13:31] *** omolin4 has joined #angularjs
[17:13:59] *** caitp has joined #angularjs
[17:15:14] *** marshall_ has quit IRC
[17:15:23] *** sebhoss has quit IRC
[17:15:23] *** davek_ has joined #angularjs
[17:15:27] *** ryst has joined #angularjs
[17:15:47] *** jae has joined #angularjs
[17:16:29] <elmcrest> Hi again. Is it possible to have a delay for ng-mouseleave, including a "cancel" when a ng-mouseover comes in before the delay has ended?
[17:16:35] <elmcrest> and hi _45kb ;)
[17:17:07] <_45kb> elmcrest: hi :) nice to see you
[17:17:51] <elmcrest> _45kb: sadly I didn't use your library :) ... but it did give me some inspiration :) ... If I had seen that before I started the project I'd probably used it
[17:18:01] *** omolin4 has quit IRC
[17:18:39] *** loverajoel has quit IRC
[17:18:42] <_45kb> elmcrest: hey no problems ;) sure do what you want with it
[17:18:46] *** spatialbrew has joined #angularjs
[17:18:55] *** safani has joined #angularjs
[17:18:57] <wsmoak> thank you duall
[17:18:58] *** caitp has quit IRC
[17:19:02] <safani> Allo Allo!
[17:19:10] *** roven has joined #angularjs
[17:19:28] *** Aerospark has quit IRC
[17:19:45] *** charlenopires has left #angularjs
[17:20:11] *** plato has joined #angularjs
[17:20:26] <safani> I have a question about angular, I am trying to have a completely different page for the homepage of my app. but I do not want to place my navbar inside of every template. I'm using ngRoute
[17:20:38] <safani> How might I go about this
[17:21:29] *** loverajoel has joined #angularjs
[17:21:54] <m_rc> in your controller, check if the current route is /home, if so, ng-hide your nav bar.
[17:22:24] *** jae has left #angularjs
[17:23:41] *** niklasmodess has quit IRC
[17:23:42] *** Joe_knock has joined #angularjs
[17:24:05] *** roven has quit IRC
[17:25:00] *** Trow1 has joined #angularjs
[17:25:14] *** juristr has quit IRC
[17:25:21] <safani> m_rc: That's how I would do in an app that has a normal navigation. re there any other ways to two this though, is there any way to have a completely different main template on a different page
[17:25:45] *** mooru has joined #angularjs
[17:26:07] *** conan_the_destro has quit IRC
[17:26:36] *** cheef1 has quit IRC
[17:27:01] *** conan_the_destro has joined #angularjs
[17:27:01] *** mityaz has quit IRC
[17:27:05] *** minimoo1 has joined #angularjs
[17:27:11] *** cacts|wtf has joined #angularjs
[17:27:12] *** arabot has joined #angularjs
[17:27:18] *** ctanga has quit IRC
[17:27:35] <m_rc> not sure I understand what you're going for ....
[17:28:07] <jaydubya> I am using Foxandxss' Gulp workflow to scaffold a new project. I was wondering about the bower.json file -- is it proper to change the author or do I append my name since the workflow is his but the project is mine. Also, what is the homepage attribute in that file and what should I put there?
[17:28:21] *** aks has quit IRC
[17:28:37] *** Trow has quit IRC
[17:29:20] *** aks has joined #angularjs
[17:29:20] <safani> m_rc: There is a lot that is on the front page that will be changed... I don't want to have if statements everywhere if I can just run a different master template for the homepage youknow?
[17:29:45] *** mgolawala has joined #angularjs
[17:30:20] *** joroc has quit IRC
[17:30:27] <duall> safani, use ui-router
[17:30:37] <duall> and have templates on parent views
[17:31:00] <jaydubya> safani: +1 to duall's suggestion
[17:31:07] <safani> duall: I'm trying so hard to rap my head around ui-router and how it can do that. I have seen that that is the way to do it.
[17:31:25] <safani> wrap*
[17:31:39] <duall> takes time to get used to, but worth
[17:32:24] *** azizur has quit IRC
[17:32:59] <safani> duall: what exactly do you mean templates on parent views. I swear I almost grasp it but not quite. Maybe a link?
[17:32:59] *** ctanga has joined #angularjs
[17:33:52] *** sigurding has quit IRC
[17:33:55] *** marshall_ has joined #angularjs
[17:33:58] *** ctanga has quit IRC
[17:33:59] *** rho has joined #angularjs
[17:34:14] *** ehalas has quit IRC
[17:34:21] *** shinnya has joined #angularjs
[17:34:23] *** aton` has joined #angularjs
[17:34:28] *** elyssonmr has joined #angularjs
[17:34:39] *** mmealling has quit IRC
[17:35:03] *** dacuca has joined #angularjs
[17:35:06] *** tech2 has joined #angularjs
[17:35:53] <duall> safani, try googling abstract states for ui-router, here's something that might help you: http://stackoverflow.com/a/24401473
[17:36:20] <jaydubya> safani: also, this was the resource I used to get started with ui-router -- http://scotch.io/tutorials/javascript/angular-routing-using-ui-router
[17:36:46] *** omnish has joined #angularjs
[17:36:46] *** babadofar has joined #angularjs
[17:36:55] *** sigurding has joined #angularjs
[17:36:55] *** dcherman2 has quit IRC
[17:36:58] *** gurke_ has joined #angularjs
[17:37:00] <jaydubya> safani: the sample app there is a nice place to experiment
[17:37:05] *** gurke_ has quit IRC
[17:37:18] *** dcherman2 has joined #angularjs
[17:37:36] *** aks has quit IRC
[17:37:37] *** gurke_ has joined #angularjs
[17:37:39] *** oncenull has quit IRC
[17:37:47] *** aks has joined #angularjs
[17:38:08] *** oncenull has joined #angularjs
[17:38:08] *** aks has quit IRC
[17:38:10] *** evotuned has joined #angularjs
[17:38:32] *** antons_ has joined #angularjs
[17:38:45] *** mdel has joined #angularjs
[17:39:21] <kostiak> I published some code on github for the first time, any chance anyone wants to take a look at it? Maybe tell me if I did anything really wrong or something?
[17:40:10] *** richardlitt has joined #angularjs
[17:40:17] *** elyssonmr has quit IRC
[17:40:28] *** aks has joined #angularjs
[17:40:51] <jaydubya> safani: however, it should be noted that in that sample app -- The Glenlivet should have been mentioned in the Fine Scotches section
[17:41:12] <gurke_> hi@all :)
[17:42:01] <kostiak> no? nobody?
[17:42:10] <m_rc> kostiak: sure
[17:42:24] <kostiak> m_rc: https://github.com/kostiak/dionysus
[17:42:27] <kostiak> thanks! :)
[17:42:50] *** evotuned has quit IRC
[17:43:04] <tristanp> If I'm in a directive's link function (and thus have a reference to the directive element), how can I search for a certain dom element inside of the directive?
[17:43:16] *** oncenull has quit IRC
[17:43:17] *** mtsr has quit IRC
[17:43:35] *** omnish has quit IRC
[17:43:35] *** omnish has joined #angularjs
[17:43:39] *** azizur has joined #angularjs
[17:44:10] *** scrooge_mcduck has left #angularjs
[17:44:35] *** sonofdirt has joined #angularjs
[17:44:39] <m_rc> kostik: shouldn't user.login use the success callback first? https://github.com/kostiak/dionysus/blob/master/src/js/controllers/login.js#L7
[17:45:30] <kostiak> m_rc: a lot of the stuff I used had a func(errCall, succCall) structure
[17:45:33] <kostiak> so i went with it
[17:45:44] <tristanp> horrifying -,-
[17:45:50] *** juampy_lunch is now known as juampy_
[17:45:52] *** juampy_ is now known as juampy
[17:45:54] *** gjaldon has joined #angularjs
[17:46:18] <m_rc> kostiak: is that consistent through your app?
[17:46:35] <kostiak> I would like to say yes, but I would need to double check
[17:46:37] *** angularjs305 has joined #angularjs
[17:46:41] *** moogey has joined #angularjs
[17:46:48] <angularjs305> hey guys i have a problem with ui-router
[17:46:57] *** dcherman2 has quit IRC
[17:47:03] <angularjs305> it will load the next view before the previous one unloads
[17:47:07] <angularjs305> how do i fix this?
[17:47:08] *** aks has quit IRC
[17:47:32] <nickeddy> angularjs305: hard to say without seeing your states
[17:47:41] <safani> jaydubya: duall: Thanks a bunch guys
[17:48:54] <angularjs305> nickeddy http://jsfiddle.net/1eychurq/
[17:48:59] <angularjs305> hopefully thats what you needed
[17:49:13] <kostiak> m_rc: anything else
[17:49:15] <kostiak> ?
[17:49:16] <oniijin> ew fiddle
[17:49:34] *** Prjio has joined #angularjs
[17:49:38] *** zz_night-owl is now known as night-owl
[17:49:42] <duall> go plunk yourself
[17:49:58] *** galdorvardamir has quit IRC
[17:50:01] *** StryKaizer has quit IRC
[17:50:02] <kostiak> plunk off
[17:50:10] <arkin> chill out guys, have a pastie
[17:50:17] *** mlpug has joined #angularjs
[17:50:30] *** jmichaelward has joined #angularjs
[17:50:31] *** Aerospark has joined #angularjs
[17:50:33] *** numenor has joined #angularjs
[17:50:34] *** marcjs has joined #angularjs
[17:50:36] <angularjs305> this is the ui-view element
[17:50:36] <angularjs305> <div ui-view id="page-content-wrapper" class="container container-custom"></div>
[17:50:49] *** richiebkr has joined #angularjs
[17:50:54] *** moritzs has joined #angularjs
[17:51:12] *** AWAW has joined #angularjs
[17:51:18] *** areologist has quit IRC
[17:51:31] *** DrMabuse has quit IRC
[17:51:37] *** cacts has quit IRC
[17:51:39] *** PGTips has joined #angularjs
[17:51:45] <m_rc> kostiak: why are you listening for routechange success to get Todos? https://github.com/kostiak/dionysus/blob/master/src/js/controllers/main.js#L26
[17:51:50] *** merobertsjr has joined #angularjs
[17:52:08] *** thedodd has joined #angularjs
[17:52:16] <m_rc> why is that listener needed at all
[17:52:23] <kostiak> you can refresh the page to get newly added todos
[17:52:30] *** DrMabuse has joined #angularjs
[17:52:36] *** aks has joined #angularjs
[17:52:39] *** richiebkr has joined #angularjs
[17:52:42] <m_rc> wouldn't the same be accomplished without that listener
[17:52:47] *** Oddman has joined #angularjs
[17:53:00] *** bayousoft has quit IRC
[17:53:09] *** sigurding has quit IRC
[17:53:18] *** nfroidure has quit IRC
[17:53:29] *** ctanga has joined #angularjs
[17:53:32] *** bayousoft has joined #angularjs
[17:53:37] *** Prjio has quit IRC
[17:53:41] *** omnish has quit IRC
[17:53:50] *** ron1 has joined #angularjs
[17:53:56] *** omnish has joined #angularjs
[17:54:06] *** omnish has joined #angularjs
[17:54:12] <jlebrech> with Restangular how can I change .customPOST({}, 'command'). to .command({}). i've tried extendModel up to now, am I along the right lines?
[17:54:20] *** Aerospark has quit IRC
[17:54:30] *** DoubleAW has quit IRC
[17:55:02] *** bayousoft has quit IRC
[17:55:03] <kostiak> something wasn't working without it, I can't remember what exactly tbh =\
[17:55:08] *** jmichaelward has quit IRC
[17:55:29] *** saucey has joined #angularjs
[17:55:43] *** bayousoft has joined #angularjs
[17:55:44] *** Cache_Money has joined #angularjs
[17:56:12] *** tfennelly has quit IRC
[17:56:21] <m_rc> gotcha. yea i dunno looks pretty good to me. there are some conventions that i haven't but not necessarily wrong
[17:56:37] *** DrMabuse has quit IRC
[17:56:56] *** elyssonmr has joined #angularjs
[17:57:09] *** joroc has joined #angularjs
[17:57:27] <kostiak> m_rc: but all in all, nothing horribly wrong?
[17:57:40] <angularjs305> nickeddy i found the problem
[17:58:02] <angularjs305> it was that i had the view element set to the container
[17:58:07] <angularjs305> as the container
[17:58:09] <m_rc> kostiak: not at all
[17:58:15] <angularjs305> i'm not sure how that affects it but
[17:58:18] *** annlewis has joined #angularjs
[17:58:18] *** adpirz has joined #angularjs
[17:58:19] <kostiak> ok, thanks a LOT! :)
[17:59:21] <m_rc> i would comb through it and try to create consistency (i.e. success callback being first) but looks lik ea good start
[17:59:44] *** minimoo1 has quit IRC
[18:00:11] *** bhuvanaurora has joined #angularjs
[18:00:11] <kostiak> i put that on the list of things i need to check/fix
[18:00:14] *** threesixes has quit IRC
[18:00:23] *** devinandrews has quit IRC
[18:00:26] *** Aliks has joined #angularjs
[18:00:44] *** a3gis has joined #angularjs
[18:00:49] *** richardlitt has quit IRC
[18:00:56] *** jgladwill has joined #angularjs
[18:01:06] *** Cache_Money has quit IRC
[18:01:29] *** richiebkr has quit IRC
[18:02:26] *** DrMabuse has joined #angularjs
[18:02:32] *** richiebkr has joined #angularjs
[18:02:54] *** canthugeverycat has quit IRC
[18:02:58] *** adpirz has quit IRC
[18:03:07] *** caitp has joined #angularjs
[18:03:32] *** moritzs has quit IRC
[18:03:42] *** juampy_ has joined #angularjs
[18:03:44] *** ron1 has quit IRC
[18:04:22] *** Sky[x] has quit IRC
[18:04:26] *** babadofar has quit IRC
[18:04:38] *** babadofar has joined #angularjs
[18:05:04] *** snurfery has quit IRC
[18:06:07] *** vassagus has quit IRC
[18:06:25] *** nya_ has quit IRC
[18:06:25] *** juampy_ has quit IRC
[18:06:36] *** Sky[x] has joined #angularjs
[18:06:37] *** s3shs has joined #angularjs
[18:06:47] *** juampy_ has joined #angularjs
[18:07:22] *** juampy has quit IRC
[18:07:30] *** juampy_ is now known as juampy
[18:09:03] *** Aliks has quit IRC
[18:09:15] *** loverajoel has quit IRC
[18:09:30] *** rhp has joined #angularjs
[18:09:36] *** caitp has quit IRC
[18:09:48] *** Fuzzy has quit IRC
[18:10:19] *** kevinxu has joined #angularjs
[18:10:30] *** j0z has quit IRC
[18:10:43] *** kevinxu is now known as Guest44586
[18:11:13] *** Expi1 has quit IRC
[18:11:17] *** maraneta has joined #angularjs
[18:11:18] *** prbc has quit IRC
[18:11:25] *** richardlitt has joined #angularjs
[18:11:57] <maraneta> i'm trying to find some sort of loading bar/spinner to use for my view. any suggestions?
[18:13:13] *** lexek_ has quit IRC
[18:13:16] *** evanjs has joined #angularjs
[18:13:46] *** Sky[x] has quit IRC
[18:14:02] <moogey> maraneta: I just wrap fontAwesomes spinner into a small directive
[18:14:11] *** prbc has joined #angularjs
[18:14:50] *** omolin4 has joined #angularjs
[18:15:14] <maraneta> moogey: looks good, thanks
[18:15:32] *** mmealling has joined #angularjs
[18:16:36] *** AlexZan has joined #angularjs
[18:16:43] *** folippi has quit IRC
[18:16:46] *** IvailoStoianov has quit IRC
[18:18:23] *** PGTips has quit IRC
[18:18:29] *** PrinceAMD has quit IRC
[18:19:17] *** babadofar has quit IRC
[18:19:25] *** evilaliv3 has quit IRC
[18:19:33] *** boxmein_ has joined #angularjs
[18:19:42] *** omolin4 has quit IRC
[18:20:24] *** cacts|wtf has quit IRC
[18:20:29] *** cactauz has joined #angularjs
[18:21:22] *** evotuned has joined #angularjs
[18:21:58] *** tfennelly has joined #angularjs
[18:22:09] *** miezis has joined #angularjs
[18:22:42] *** boxmein has quit IRC
[18:23:03] *** Fuzzy has joined #angularjs
[18:23:13] *** oncenull has joined #angularjs
[18:23:22] *** PrinceAMD has joined #angularjs
[18:23:24] *** j0z has joined #angularjs
[18:23:37] *** StryKaizer has joined #angularjs
[18:23:56] *** IvailoStoianov has joined #angularjs
[18:24:17] *** boxmein_ has quit IRC
[18:24:56] *** patrickarlt has joined #angularjs
[18:24:57] *** thebigredgeek has joined #angularjs
[18:24:58] <safani> Ok duall: So no matter what I do with ui-router and abstract it always loads my index.html anyway
[18:25:26] *** tfennell_ has joined #angularjs
[18:25:33] *** macabre has quit IRC
[18:25:33] <duall> safani, yes but it does not load other abstracts
[18:25:43] *** macabre has joined #angularjs
[18:26:01] <duall> keep your index html empty and have templates in abstracts
[18:26:17] *** jonathanpglick has joined #angularjs
[18:26:42] *** opiates has quit IRC
[18:26:44] *** annlewis has quit IRC
[18:27:07] *** minimoo1 has joined #angularjs
[18:27:20] *** m_rc has quit IRC
[18:27:46] *** Hackwar has quit IRC
[18:28:38] *** il is now known as il-audioburn
[18:29:06] *** davek_ has quit IRC
[18:29:14] *** tfennelly has quit IRC
[18:29:38] *** joroc has quit IRC
[18:29:41] *** vassagus has joined #angularjs
[18:29:49] *** joshontheweb has joined #angularjs
[18:30:25] *** Sky[x] has joined #angularjs
[18:30:31] *** omnish has quit IRC
[18:30:31] *** tfennell_ has quit IRC
[18:30:39] <moogey> With ui-router, if I load the page with no hash url, it appends one for me. But then I have to hit the back button twice to get off the page. Is that supposed to be a thing?
[18:31:20] *** tfennelly has joined #angularjs
[18:31:23] *** robdubya has joined #angularjs
[18:31:24] *** sheplu has quit IRC
[18:31:28] *** Oxynum has joined #angularjs
[18:31:34] *** annlewis has joined #angularjs
[18:32:12] *** ko3t has quit IRC
[18:32:26] <safani> duall: Geez, ok so the way I'd have to set it up would be completly custom. I'm using yeoman angular-generator
[18:33:27] *** bhuvanaurora has quit IRC
[18:33:58] *** ahtik has quit IRC
[18:34:00] *** bhuvanaurora has joined #angularjs
[18:34:32] *** Sijdesign has joined #angularjs
[18:34:37] <duall> safani, :(
[18:34:39] *** jlebrech has quit IRC
[18:34:46] <Sijdesign> if i need to get /posts/2 how can i get that ID with angularjs ?
[18:34:54] <Sijdesign> jaydubya
[18:34:58] <duall> I don't know, never liked yeoman
[18:35:09] *** ron1 has joined #angularjs
[18:35:25] *** ProLoser has joined #angularjs
[18:35:27] *** ChadStrat has joined #angularjs
[18:35:29] <safani> how do you feel about it....I am working for a company and they are using it...they said I can remove yeoman if I want...
[18:35:37] <jaydubya> Sijdesign: what router are you using?
[18:35:40] *** ehalas has joined #angularjs
[18:35:43] <safani> It just feels a bit restrictive when I really want to customer
[18:35:47] <safani> customeize
[18:35:59] <Sijdesign> jaydubya laravels Route::resource('posts', 'PostsController');
[18:36:03] <duall> safani, yeah i guess that's why i never liked it
[18:36:11] *** dannyc__ has quit IRC
[18:36:14] *** bhuvanaurora has quit IRC
[18:36:20] <jaydubya> Sijdesign: in Angular
[18:36:26] <duall> it does however point to some good practices
[18:36:38] *** dannyc_ has quit IRC
[18:36:41] *** bhuvanaurora has joined #angularjs
[18:36:42] *** dannyc__ has joined #angularjs
[18:37:08] *** bayousoft has quit IRC
[18:37:12] *** dannyc_ has joined #angularjs
[18:37:24] <Sijdesign> jaydubya http://laravel.io/bin/Kkdn9
[18:37:45] *** bayousoft has joined #angularjs
[18:37:55] <Sijdesign> jaydubya can i grab the ID in my laravel controller with some segment URL ?
[18:38:00] *** evotuned has quit IRC
[18:38:13] <Sijdesign> jaydubya or do i have to let angularjs send the ID to my Laravel controller?
[18:38:42] *** roven has joined #angularjs
[18:39:12] *** Johnny13371337 has joined #angularjs
[18:39:17] *** DoubleAW has joined #angularjs
[18:39:36] *** saucey has quit IRC
[18:39:42] *** StryKaizer has quit IRC
[18:39:52] *** ProLoser has quit IRC
[18:40:20] <jaydubya> Sijdesign: I would think that since you made Posts.getPost() singular that you only want one post. If so, you have to pass an id into that line Posts.getPost($scope.post_id)
[18:40:38] *** dacuca has quit IRC
[18:40:39] *** moritzs has joined #angularjs
[18:40:55] <jaydubya> Sijdesign: Where you get that id is kinda up to your application ... it could be a button or a link
[18:41:07] *** dannyc__ has quit IRC
[18:41:15] *** rapdev has joined #angularjs
[18:41:29] *** AWAW has quit IRC
[18:41:38] *** dannyc_ has quit IRC
[18:41:39] <Sijdesign> jaydubya i have the ID in my URL, so i need to find a angularjs function that grab my ID from my URL
[18:42:19] <jaydubya> Sijdesign: OK, then back to my original question ... are you using ngRoute or ui-router in your Angular app
[18:42:23] *** a3gis has quit IRC
[18:42:30] *** numenor has quit IRC
[18:42:35] *** jheady has joined #angularjs
[18:42:50] <Sijdesign> im using laravels route none angularjs route right now
[18:42:56] <nickeddy> :|
[18:43:07] <jaydubya> Sijdesign: because they each harvest parameters slightly different
[18:43:12] *** bayousoft has quit IRC
[18:43:13] *** jheady has left #angularjs
[18:43:14] <rapdev> can anyone tell me about $resource support for WCF Data Services and whether there are any sample apps available?
[18:43:23] *** opiates has joined #angularjs
[18:43:32] <nickeddy> wcf?
[18:44:01] *** bayousoft has joined #angularjs
[18:44:06] <rhp> windows communication foundation
[18:44:12] <moogey> Just curious. Do most people here use angular with a PHP backend/
[18:44:14] *** joshontheweb has quit IRC
[18:44:16] <moogey> Just curious. Do most people here use angular with a PHP backend?
[18:44:23] <Sijdesign> moogey yes
[18:44:24] <Sijdesign> moogey yes
[18:44:31] *** laurensclaessen has quit IRC
[18:44:34] *** Leon has quit IRC
[18:44:40] <moogey> interesting
[18:44:58] <rapdev> There seem to be lots of documentation using web api but I have not found anything using WCF Data Services REST
[18:45:24] <nickeddy> that's because it's MS
[18:45:26] <jaydubya> Sijdesign: ui-router uses $stateParams
[18:45:31] <rhp> Don't have first-hand experience rapdev, I don't think it should matter as long as its rest
[18:45:41] *** boxmein has joined #angularjs
[18:45:47] *** RobinBAwesome has joined #angularjs
[18:45:57] *** plato has quit IRC
[18:46:13] *** bayousoft has quit IRC
[18:46:14] *** phzon has quit IRC
[18:46:19] <rapdev> Are the url conventions the same?
[18:46:35] <rhp> what do you mean?
[18:46:42] *** plato has joined #angularjs
[18:47:03] *** bayousoft has joined #angularjs
[18:47:08] <ctanga> my arm is twitching :-/
[18:47:08] <Sijdesign> is there a CDN for that jaydubya
[18:47:17] <jaydubya> Sijdesign: if you inject $stateParams into your controller, you can harvest the parameter like $stateParams.postId is you defined your route as /posts/:postId
[18:47:32] <Sijdesign> ahh sweet
[18:47:40] *** omolin4 has joined #angularjs
[18:47:53] <jaydubya> ^ is = if
[18:47:54] <tangorri> any way to do some relative path for directive templateUrl ? :S
[18:48:04] *** mcastro has joined #angularjs
[18:48:05] *** mnngfltg has quit IRC
[18:48:27] <rapdev> The Angular documentation for $resource shows url's that look like this /api/people/:Id whereas in WCFDS the urls look like this /svc/people(:Id)
[18:48:45] *** despai has joined #angularjs
[18:48:55] *** rcdev has quit IRC
[18:49:09] *** tripu has quit IRC
[18:49:23] <rhp> I'm pretty sure you can decide for yourself what's in the url
[18:49:26] <ish> Not sure if this is angular specific, but I have a directive that sets a scrollpoint in a table build with ng-repeat. It works on a refresh, but when I click to a new route, then click back it won't scroll (logging verifies the scroll code actually runs)
[18:49:37] <rhp> Check the uritemplate, e.g. in http://www.codeproject.com/Articles/571813/A-Beginners-Tutorial-on-Creating-WCF-REST-Services
[18:49:58] *** robdubya has quit IRC
[18:50:14] *** Trow2 has joined #angularjs
[18:50:16] *** Prjio has joined #angularjs
[18:50:55] *** nerder has quit IRC
[18:51:03] *** speaking1ode is now known as speakingcode
[18:51:11] *** cohitre has joined #angularjs
[18:51:14] <moogey> tangorri: yes. just reference them the same way you would statics
[18:51:48] <rapdev> rhp thanks for the info, but that's not where my issue is. Jus trying to understand the url template concept in Angular.
[18:52:09] <tangorri> moogey using variable ?
[18:53:13] *** knolan has joined #angularjs
[18:53:20] *** rapdev has left #angularjs
[18:53:38] <moogey> tangorri: I make a constant with my static_url in it, then inject that into directives that need it and prepend it to my templateUrls
[18:53:54] *** Trow1 has quit IRC
[18:54:34] <tangorri> moogey : I think I got it
[18:54:35] <tangorri> thanks
[18:55:05] *** startupality has joined #angularjs
[18:55:10] *** Prjio has quit IRC
[18:55:11] *** Aerospark has joined #angularjs
[18:55:33] *** P1RATEZ has joined #angularjs
[18:55:39] *** merobertsjr has quit IRC
[18:55:47] *** caitp has joined #angularjs
[18:56:26] *** doginal has joined #angularjs
[18:56:27] *** robdubya has joined #angularjs
[18:57:10] *** wallerdev has joined #angularjs
[18:57:11] *** joroc has joined #angularjs
[18:57:52] <Sijdesign> jaydubya if my url is demo.app:8000/posts/4 how can i grab that 4 number?
[18:58:09] *** ciro_nunes has joined #angularjs
[18:58:14] <Sijdesign> jaydubya console.log($stateParams.params.posts); ?
[18:58:16] *** bayousoft has quit IRC
[18:58:21] *** ytsejam has joined #angularjs
[18:58:34] *** bundledavid has quit IRC
[18:58:43] <Siecje> Sijdesign: routeParams
[18:58:58] *** bayousoft has joined #angularjs
[18:59:05] <ytsejam> Does anyone use wordpress as api backend and angularjs as frontend framework?
[18:59:06] <Siecje> Sijdesign: What does your state look like?
[18:59:22] *** anapitupulu has joined #angularjs
[18:59:24] <Sijdesign> my state?
[18:59:26] *** Sawbones has joined #angularjs
[18:59:32] *** minimoo1 has quit IRC
[18:59:32] <Sijdesign> my url ?
[18:59:40] *** Aerospark has quit IRC
[18:59:52] *** punch has joined #angularjs
[19:00:05] *** greengriminal has joined #angularjs
[19:00:17] *** anapitupulu_ has quit IRC
[19:00:40] *** opioids has joined #angularjs
[19:00:54] *** rcdev has joined #angularjs
[19:01:40] *** duall has quit IRC
[19:01:43] *** dan2k3k4 has joined #angularjs
[19:02:19] *** azizur has quit IRC
[19:03:34] <Sijdesign> jaydubya are you using laravel blade files or just clean HTML in your assets folder?
[19:03:54] *** blackkbot has quit IRC
[19:03:57] <jaydubya> Sijdesign: both
[19:04:19] *** bayousoft has quit IRC
[19:04:21] *** digisky has quit IRC
[19:04:50] <jaydubya> Sijdesign: my authentication pages is blade ... once logged in, it goes to a bladeless view which is where I start Angular
[19:05:00] *** exp10r3r has quit IRC
[19:05:07] *** bayousoft has joined #angularjs
[19:05:27] *** rcdev has quit IRC
[19:05:31] *** jimvideo has joined #angularjs
[19:05:44] *** devinandrews has joined #angularjs
[19:06:06] *** xxMatiasFxx has joined #angularjs
[19:06:11] <Sijdesign> jaydubya do you have your project on github
[19:06:36] <jaydubya> Sijdesign: one of the admins here has a nice article about L4 & Angular: http://angular-tips.com/blog/2014/10/working-with-a-laravel-4-plus-angular-application/
[19:06:43] *** xxMatiasFCxx has quit IRC
[19:07:17] *** Oxynum has quit IRC
[19:07:23] *** bayousoft has quit IRC
[19:07:23] *** larsgk has joined #angularjs
[19:07:33] *** glassir has quit IRC
[19:07:38] <Sijdesign> jaydubya https://github.com/SimonJ/fitnessmakker/tree/develop this is my project im working on :)
[19:07:40] *** chrisbirk has quit IRC
[19:07:55] <Sijdesign> wow thanks for the link will check that out
[19:08:00] <jaydubya> Sijdesign: I do have my project on Github but I hesitate to share because it is crap because I am just learning ... I don't want to teach you bad habits but I will share the link if you like. It's just that there are so many better resources in this room than me
[19:08:04] *** _magus has quit IRC
[19:08:08] *** bayousoft has joined #angularjs
[19:08:20] *** eamonn has quit IRC
[19:08:24] *** richiebkr has quit IRC
[19:08:32] *** Luser has quit IRC
[19:08:38] *** Geertje123_ has quit IRC
[19:08:38] *** whunt has joined #angularjs
[19:08:40] *** MaxV has quit IRC
[19:08:43] *** tangorri has quit IRC
[19:08:49] <Sijdesign> i would love to see for inspiration
[19:09:06] *** Luser has joined #angularjs
[19:09:06] <jaydubya> Sijdesign: nickeddy uses Slim (which is kinda like Laravel) as his backend and he is 100,500% better than I am
[19:09:12] *** richardlitt has quit IRC
[19:09:23] *** Prjio has joined #angularjs
[19:09:43] *** sacho has quit IRC
[19:09:43] *** woah has joined #angularjs
[19:09:44] *** loverajoel has joined #angularjs
[19:09:46] <Sijdesign> jaydubya nickeddy are you on github Nick
[19:09:59] *** Joe_knock has left #angularjs
[19:10:15] <jaydubya> Sijdesign: https://github.com/jongravois/lending but I think your proper word choice should be disgust not inspiration
[19:10:21] *** kentcdodds has joined #angularjs
[19:10:37] <Sijdesign> but jaydubya do you think you can see what im doing wrong here https://github.com/SimonJ/fitnessmakker/blob/develop/assets/js/controllers/threadCtrl.js i just cant get the ID from my URL
[19:10:51] <kentcdodds> UI-Router: Can you put the resolve object on a controller function?
[19:10:52] <jaydubya> Sijdesign: hold on
[19:10:57] *** mooru has quit IRC
[19:10:57] *** richardlitt has joined #angularjs
[19:10:58] *** mzabriskie has joined #angularjs
[19:10:59] *** richiebkr has joined #angularjs
[19:11:00] *** tripu has joined #angularjs
[19:11:04] <ctanga> kentcdodds: yes, that’s the point of resolves
[19:11:13] *** oncenull has quit IRC
[19:11:45] <Sijdesign> jaydubya wow you have lots of Angularjs stuff
[19:11:52] *** mcastro has quit IRC
[19:12:07] *** knolan has quit IRC
[19:12:09] *** dseitz has joined #angularjs
[19:12:18] *** shackleford has quit IRC
[19:12:23] *** babadofar has joined #angularjs
[19:12:33] *** doginal has quit IRC
[19:13:07] *** Aerospark has joined #angularjs
[19:13:19] *** davek_ has joined #angularjs
[19:13:19] *** davek_ has joined #angularjs
[19:13:22] *** bayousoft has quit IRC
[19:13:26] <jaydubya> Sijdesign: where is your app.js or main.js in /public to start the Angular app?
[19:13:40] *** Luser has quit IRC
[19:13:49] *** ctanga has left #angularjs
[19:13:53] *** ctanga has joined #angularjs
[19:14:02] *** devinandrews has quit IRC
[19:14:02] <Sijdesign> https://github.com/SimonJ/fitnessmakker/tree/develop/assets/js
[19:14:17] <Sijdesign> it will all be bundled when i compile
[19:14:24] *** bayousoft has joined #angularjs
[19:14:24] *** devinandrews has joined #angularjs
[19:14:26] *** loverajoel has quit IRC
[19:14:54] *** Aliks has joined #angularjs
[19:15:08] *** prettiestPony11 has joined #angularjs
[19:15:12] *** loverajoel has joined #angularjs
[19:15:14] *** prettiestPony11 has quit IRC
[19:15:15] *** wolfman2000 has joined #angularjs
[19:15:18] <jaydubya> Sijdesign: I was looking for your config where you declare your Angular routes
[19:15:19] *** anivemin has joined #angularjs
[19:15:30] *** jareddlc has joined #angularjs
[19:15:48] *** nemothekid has joined #angularjs
[19:15:50] *** prettiestPony11 has joined #angularjs
[19:16:02] *** a_ghost_irl has joined #angularjs
[19:16:30] *** dylang has joined #angularjs
[19:17:23] <jaydubya> Sijdesign: I have to run ... I am meeting someone for lunch in 15 minutes ... read that article by Foxandxss and I should be back in an hour or so. I am happy to try to help but I just don't know if I am good enough to be of any assistance
[19:17:32] <kentcdodds> ctanga, I've always declared them in my routes, so you're saying that I can put it on my controller function like so: function FooCtrl() {} FooCtrl.resolve = {}
[19:17:32] *** night-owl is now known as zz_night-owl
[19:17:46] <ctanga> nope, I’m saying you can inject them into your controller
[19:17:47] <kentcdodds> Because I tried that and the resolves didn't run.
[19:17:50] <Sijdesign> okay thanks so much jaydubya ! :)
[19:17:57] *** opioids has quit IRC
[19:17:57] <kentcdodds> Yeah, that's not what I'm asking
[19:18:04] <ctanga> ah
[19:18:39] <kentcdodds> Would be awesome if this were possible. Separation of concerns a bit I think...
[19:19:04] <ctanga> resolves generally belong to the state, not the controller
[19:19:11] *** mennea has joined #angularjs
[19:19:17] <ctanga> controller belongs to one of ’n’ views on a state
[19:19:24] <kentcdodds> But they're implicitly coupled
[19:19:25] *** Sadi has joined #angularjs
[19:19:27] *** oncenull has joined #angularjs
[19:19:45] <kentcdodds> would be nice to decouple the controller from the route I think
[19:19:54] <ctanga> O_o
[19:19:59] <kentcdodds> Though, they're still implicitely coupled because the route defines the template
[19:20:08] <kentcdodds> as well as the controllerAs
[19:20:10] <ctanga> the view defines the template and the controller
[19:20:18] *** ngbot has joined #angularjs
[19:20:18] <ngbot> [angular.js] pkozlowski-opensource pushed 2 new commits to master: http://git.io/GeYs1w
[19:20:19] <ngbot> angular.js/master 266da34 Guillaume Pannatier: test($httpBackend): use browser.defer mock instead of fakeTimeout
[19:20:19] <ngbot> angular.js/master 719d5c5 Guillaume Pannatier: fix($httpBackend): allow canceling request with falsy timeoutId...
[19:20:19] *** ngbot has left #angularjs
[19:20:19] *** Sebastien-L has quit IRC
[19:20:35] *** mcastro has joined #angularjs
[19:20:37] <kentcdodds> .......... you mean the *route* defines the template and the controller right?
[19:20:47] <ctanga> no, the view does
[19:21:04] <ctanga> are we talking about ngRoute or ui-router?
[19:21:08] <kentcdodds> ui-router
[19:21:09] *** mcastro has quit IRC
[19:21:17] <ctanga> yea, the view defines the template and controller
[19:21:23] <kentcdodds> but I don't use the view property, I just specify the templateUrl and the controller
[19:21:33] <kentcdodds> I rarely/never use the view property
[19:21:44] <kentcdodds> so I think we're talking about similar things :-)
[19:21:49] <ctanga> that’s the same as “views: { ‘@‘: { template: blah, controller: blah } }"
[19:21:58] <ctanga> not using views: is just syntax sugar for ^^
[19:22:20] *** merobertsjr has joined #angularjs
[19:22:21] <kentcdodds> Right
[19:22:23] <ctanga> where ‘@‘ is the unnamed view on the current state
[19:22:24] *** bayousoft has quit IRC
[19:22:31] *** kotyy has quit IRC
[19:22:35] *** aks has quit IRC
[19:22:36] *** mtsr has joined #angularjs
[19:22:50] <ctanga> but that’s all a tangent
[19:22:51] <kentcdodds> I think I've only needed to use the views property a few times to specify multiple views in a state
[19:23:05] *** bayousoft has joined #angularjs
[19:23:19] <ctanga> the point is, generally resolves belong to the state, while template/controller belongs to the view
[19:23:21] *** Sijdesign has quit IRC
[19:23:36] <kentcdodds> Yeah, that makes sense.
[19:23:40] *** whitebook has quit IRC
[19:23:43] <kentcdodds> Thanks for the chat ctanga! :-)
[19:23:50] <ctanga> that said, views can also have their own resolve:
[19:23:56] <ctanga> but I don’t like that, it feels weird to me
[19:24:12] *** mtsr has quit IRC
[19:24:19] <nickeddy> well resolves on views don't like you either ctanga
[19:24:33] <ctanga> well they can go take a walk
[19:24:52] <kentcdodds> lol
[19:24:57] *** plato has quit IRC
[19:25:14] <nickeddy> :P i agree though. resolves should stay on state
[19:25:16] *** doginal has joined #angularjs
[19:25:17] *** IJNX has joined #angularjs
[19:25:18] <ctanga> resolves are getting a bit of a makeover for 1.0
[19:25:26] *** bayousoft has quit IRC
[19:25:43] <nickeddy> is there 1.0 code out there?
[19:25:45] *** wallerdev has quit IRC
[19:25:46] <nickeddy> must see
[19:25:47] *** mica has joined #angularjs
[19:25:48] <ctanga> yeah
[19:26:00] <ctanga> its in here https://github.com/nateabele/ui-router/tree/new
[19:26:20] *** jaznow has joined #angularjs
[19:26:22] *** RobinBAwesome has quit IRC
[19:26:27] *** bayousoft has joined #angularjs
[19:26:35] <ctanga> if nate would ever commit his state->view sync code we could release a preview
[19:26:54] <nickeddy> damnit nate
[19:27:03] *** mzabriskie has quit IRC
[19:27:10] *** Foxandxss has joined #angularjs
[19:27:11] *** minimoo1 has joined #angularjs
[19:27:16] <ctanga> in 1.0 resolves for a transition can be eager (like current resolve system), lazy (they resolve just before the state is “entered”), or just-in-time where they don’t resolve unless they’re injected somewhere
[19:27:16] *** aks has joined #angularjs
[19:28:20] *** mcastro has joined #angularjs
[19:28:24] <nickeddy> oooo JIT
[19:28:25] <nickeddy> want
[19:28:36] <nickeddy> all of it
[19:29:14] *** SahanH has quit IRC
[19:29:15] *** AimerPaddle has joined #angularjs
[19:29:18] *** mica has left #angularjs
[19:29:21] <ctanga> you can also add resolves dynamically, while a transition is in process
[19:29:23] *** whunt has quit IRC
[19:29:25] <ctanga> think about that one
[19:29:32] <nickeddy> it's written in typescript and compiled down to ecmascript 5?
[19:29:39] <ctanga> no?
[19:29:45] <nickeddy> https://github.com/nateabele/ui-router/blob/new/api/angular-ui-router.d.ts
[19:29:52] *** elyssonmr has quit IRC
[19:29:57] <ctanga> that’s from a user-contributed PR
[19:30:02] <ctanga> neither of us use TS
[19:30:02] *** tskaggs has joined #angularjs
[19:30:05] *** RobinBAwesome has joined #angularjs
[19:30:06] <nickeddy> ah
[19:30:14] *** sigurding has joined #angularjs
[19:30:19] *** whunt has joined #angularjs
[19:30:21] *** elyssonmr has joined #angularjs
[19:30:23] *** wallerdev has joined #angularjs
[19:30:25] <ctanga> eventually we’re going to port to ES6
[19:30:39] <ctanga> assuming the angular 2.0 router doesnt blow ui-router out of the water
[19:30:48] *** joroc has quit IRC
[19:30:57] <ctanga> also, long-term plans are ui-router being more agnostic to angular
[19:30:57] *** snurfery has joined #angularjs
[19:31:10] <nickeddy> how so?
[19:31:12] <ctanga> i.e., ui-router + react could be a thing
[19:31:15] <nickeddy> ah
[19:32:18] *** storresi has quit IRC
[19:32:21] *** davidreis has quit IRC
[19:32:49] <Foxandxss> that sounds nice ctanga
[19:33:02] *** tomengland_mbp has joined #angularjs
[19:33:05] <ctanga> long term :)
[19:33:07] <snurfery> sup yall
[19:33:17] <Foxandxss> ctanga: btw, where is nate? long time since I spoke to him
[19:33:52] *** sinequanon has joined #angularjs
[19:33:52] <ctanga> hes been busy with php and stuff
[19:34:04] <ctanga> been doing a bunch of conferences
[19:34:07] <Foxandxss> his framework I guess
[19:34:11] <ctanga> yeah
[19:34:28] *** bayousoft has quit IRC
[19:35:04] *** balr0g has joined #angularjs
[19:35:07] *** jonr22 has joined #angularjs
[19:35:17] <Foxandxss> I will need to send him an email to say hi
[19:35:19] <Foxandxss> heh
[19:35:23] *** whunt has quit IRC
[19:35:24] *** bayousoft has joined #angularjs
[19:35:25] *** soee has joined #angularjs
[19:35:38] <ctanga> tell him to commit his view sync code ;)
[19:36:01] *** whunt has joined #angularjs
[19:36:51] *** kuadrosx has quit IRC
[19:37:00] *** kuadrosx has joined #angularjs
[19:37:43] *** vassagus has quit IRC
[19:37:46] *** dannyc_ has joined #angularjs
[19:38:17] <Foxandxss> reading a buggy packt book is a gold mine
[19:38:21] <Foxandxss> every errata == a free book
[19:38:24] *** d4rklit3 has joined #angularjs
[19:38:34] <Foxandxss> ebook*
[19:38:48] *** kotyy has joined #angularjs
[19:38:49] *** rileylark has quit IRC
[19:38:59] *** sinequanon has quit IRC
[19:39:05] *** whitebook has joined #angularjs
[19:39:18] <ish> Is there a way around this: I have a long page of links. When I click on one, its just a new route/view. It tries to keep the scroll position which is mid page. autoscroll=true fixes this. But when I go back, autoscroll now pushes my long page up to the top again, instead of keeping it in the middle..
[19:39:26] *** jmichaelward has joined #angularjs
[19:39:33] <ish> Can autoscroll be enabled on a per view basis?
[19:39:48] *** jonr22 has quit IRC
[19:40:31] *** bayousoft has quit IRC
[19:40:50] *** KernelCurry has joined #angularjs
[19:41:00] *** Guest44586 has quit IRC
[19:41:04] *** plato has joined #angularjs
[19:41:07] *** bayousoft has joined #angularjs
[19:41:12] *** xxMatiasFxx has quit IRC
[19:41:58] *** dannyc_ has quit IRC
[19:42:01] *** AlSquirrel has joined #angularjs
[19:42:35] *** xxMatiasFxx has joined #angularjs
[19:43:16] *** Sky[x] has quit IRC
[19:43:40] *** johnnyfive has quit IRC
[19:43:46] *** despai has quit IRC
[19:43:58] *** jmichaelward has quit IRC
[19:44:38] *** MistahKurtz has joined #angularjs
[19:45:11] *** AlSquire has quit IRC
[19:45:35] *** johnnyfive has joined #angularjs
[19:45:42] *** caitp has quit IRC
[19:45:47] *** punch has quit IRC
[19:46:09] *** diegoaguilar has quit IRC
[19:46:36] *** _magus has joined #angularjs
[19:46:40] *** punch has joined #angularjs
[19:46:42] *** DLSteve has joined #angularjs
[19:47:14] *** adpirz has joined #angularjs
[19:47:39] *** Luser has joined #angularjs
[19:48:57] *** Fuzzy has quit IRC
[19:48:59] *** mennea has quit IRC
[19:49:08] *** kuadrosx_ has joined #angularjs
[19:49:13] *** mennea has joined #angularjs
[19:49:17] *** hapiwondrr has quit IRC
[19:49:34] *** bayousoft has quit IRC
[19:50:00] *** omolin4 has quit IRC
[19:50:01] *** Sna4x8 has quit IRC
[19:50:04] *** bayousoft has joined #angularjs
[19:50:12] *** whitebook has quit IRC
[19:50:13] *** Fuzzy has joined #angularjs
[19:51:54] *** adpirz has quit IRC
[19:52:06] *** aks has quit IRC
[19:52:18] *** edy has joined #angularjs
[19:52:34] *** omolin4 has joined #angularjs
[19:52:34] *** opiates has quit IRC
[19:52:49] *** omolin4 has quit IRC
[19:52:50] *** caitp has joined #angularjs
[19:52:50] *** umib0zu has joined #angularjs
[19:52:51] *** mennea_ has joined #angularjs
[19:52:53] *** ngbot has joined #angularjs
[19:52:53] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/Gsu_6w
[19:52:53] <ngbot> angular.js/master 5d36353 Mathew Foscarini: docs($compile): fix grammar...
[19:52:53] *** ngbot has left #angularjs
[19:53:06] *** kuadrosx has quit IRC
[19:53:15] *** omolin4 has joined #angularjs
[19:53:46] *** richardlitt has quit IRC
[19:53:57] *** jdj_dk has joined #angularjs
[19:54:29] *** mennea has quit IRC
[19:54:30] *** sigurding has quit IRC
[19:54:33] *** tsalb has joined #angularjs
[19:54:38] *** aks has joined #angularjs
[19:54:40] *** abram has quit IRC
[19:55:04] *** macabre has quit IRC
[19:55:26] *** digisky has joined #angularjs
[19:55:43] *** _45kb has quit IRC
[19:56:17] *** JBreit has quit IRC
[19:56:29] *** mahdimatrix has joined #angularjs
[19:56:45] *** jdcasey has quit IRC
[19:56:56] *** jMyles has quit IRC
[19:56:57] *** jdcasey has joined #angularjs
[19:57:00] *** elyssonmr has quit IRC
[19:57:04] *** a_ghost_irl has quit IRC
[19:57:10] *** joroc has joined #angularjs
[19:57:17] *** omolin4 has quit IRC
[19:57:37] *** elyssonmr has joined #angularjs
[19:57:39] <mahdimatrix> hi room
[19:57:46] *** ctanga has quit IRC
[19:58:02] *** Somatt_wrk_ has joined #angularjs
[19:58:06] *** cohitre has quit IRC
[19:58:06] *** sigurding has joined #angularjs
[19:58:23] *** MaxV has joined #angularjs
[19:58:24] *** mcastro has quit IRC
[19:58:25] *** mahdimatrix has quit IRC
[19:58:36] *** bayousoft has quit IRC
[19:58:48] *** moritzs has quit IRC
[19:58:55] *** chrisbirk has joined #angularjs
[19:59:10] *** whitebook has joined #angularjs
[19:59:17] *** bayousoft has joined #angularjs
[19:59:18] *** mcastro has joined #angularjs
[19:59:28] *** omolin4 has joined #angularjs
[19:59:39] *** marr has quit IRC
[20:00:08] *** cohitre has joined #angularjs
[20:00:21] *** baweaver has joined #angularjs
[20:00:30] *** tech2 has quit IRC
[20:00:44] *** lite_ has joined #angularjs
[20:01:13] *** kas187 has joined #angularjs
[20:01:24] *** Somatt_wrk has quit IRC
[20:01:24] *** minimoo1 has quit IRC
[20:01:38] *** bayousoft has quit IRC
[20:02:16] *** bayousoft has joined #angularjs
[20:02:43] *** cohitre has quit IRC
[20:02:43] *** Hackwar has joined #angularjs
[20:02:54] *** shackleford has joined #angularjs
[20:03:01] *** Nijikokun has joined #angularjs
[20:03:04] *** shackleford has quit IRC
[20:03:08] *** elyssonmr has quit IRC
[20:03:31] *** sigurding has quit IRC
[20:03:40] *** shackleford has joined #angularjs
[20:04:19] *** icarus75 has joined #angularjs
[20:04:29] *** bhuvanaurora has quit IRC
[20:04:41] *** sinequanon has joined #angularjs
[20:05:29] *** anapitupulu_ has joined #angularjs
[20:05:33] *** gjaldon has quit IRC
[20:05:48] *** nairys has joined #angularjs
[20:06:04] <hotnikks_> is it possible to tell wiredep to wrap certain bower modules with <!--[if lt IE 9]>
[20:06:04] *** startupality has quit IRC
[20:06:08] <hotnikks_> ?
[20:06:14] *** atomical has quit IRC
[20:06:23] *** sheplu has joined #angularjs
[20:06:27] *** startupality has joined #angularjs
[20:06:31] *** vassagus has joined #angularjs
[20:06:52] *** startupality has quit IRC
[20:06:53] *** anapitupulu has quit IRC
[20:06:59] *** punch has quit IRC
[20:07:07] *** eighty4 has quit IRC
[20:07:08] *** platonic has joined #angularjs
[20:07:36] *** FrankH_ has joined #angularjs
[20:07:37] *** elyssonmr has joined #angularjs
[20:07:37] *** punch has joined #angularjs
[20:07:43] <hotnikks_> hmm guess it's ok to let it give every browser es5-shim (http://stackoverflow.com/questions/8732846/how-to-provide-ecmascript-5-es-5-shim), but the question in general still remains if anyone knows!
[20:08:24] *** Aerospark has quit IRC
[20:08:52] *** ron1 has quit IRC
[20:09:00] *** robbyt has joined #angularjs
[20:09:08] *** macabre has joined #angularjs
[20:09:09] *** despai has joined #angularjs
[20:09:49] *** AlexZan has quit IRC
[20:10:02] *** mary5030 has quit IRC
[20:10:37] *** mary5030 has joined #angularjs
[20:11:09] *** sajt has quit IRC
[20:11:10] *** simonett has joined #angularjs
[20:11:11] *** iksik has quit IRC
[20:12:09] *** gjaldon has joined #angularjs
[20:12:12] *** saucey has joined #angularjs
[20:12:21] <simonett> hola
[20:12:24] *** tristanp has quit IRC
[20:12:26] *** AlSquirrel has quit IRC
[20:12:44] *** rileylark has joined #angularjs
[20:12:48] *** Sontakey has joined #angularjs
[20:12:52] *** braidn has quit IRC
[20:12:58] *** mclenithan has joined #angularjs
[20:14:00] *** braidn has joined #angularjs
[20:14:41] *** mivv has quit IRC
[20:15:00] *** doginal has quit IRC
[20:15:12] *** Geertje123_ has joined #angularjs
[20:15:15] *** ggrzybek has joined #angularjs
[20:15:16] *** mary5030 has quit IRC
[20:15:33] *** iksik has joined #angularjs
[20:17:10] *** metamul has joined #angularjs
[20:17:14] *** rikkipitt has joined #angularjs
[20:17:46] *** Sadi has quit IRC
[20:17:54] <nickeddy> anyone familiar with sails middleware?
[20:17:58] <hotnikks_> como estas
[20:18:14] *** braidn has quit IRC
[20:18:37] *** Aerospark has joined #angularjs
[20:18:37] *** cheef1 has joined #angularjs
[20:20:44] *** AimerPaddle has quit IRC
[20:21:01] *** metamul has quit IRC
[20:21:01] *** MaxV has quit IRC
[20:21:01] *** mary5030 has joined #angularjs
[20:21:02] *** _AimerPaddle_ has joined #angularjs
[20:21:02] *** mary5030 has quit IRC
[20:21:02] *** g3funk has joined #angularjs
[20:21:02] *** baweaver has quit IRC
[20:21:02] *** pspfolio_ has joined #angularjs
[20:21:03] *** weeyum has joined #angularjs
[20:21:03] *** frkout_ has joined #angularjs
[20:21:03] *** mary5030 has joined #angularjs
[20:21:03] *** metamul has joined #angularjs
[20:21:04] *** Crippy has quit IRC
[20:21:04] *** chrisbirk has quit IRC
[20:21:21] *** enigmarm has joined #angularjs
[20:21:32] *** Sam_ has joined #angularjs
[20:21:50] <Sam_> hi there
[20:21:56] *** scythe__ has joined #angularjs
[20:22:17] *** pspfolio has quit IRC
[20:22:30] *** mennea_ has quit IRC
[20:22:33] *** ron1 has joined #angularjs
[20:22:37] *** frkout has quit IRC
[20:22:37] *** kborchers has quit IRC
[20:22:49] *** kborchers has joined #angularjs
[20:22:50] <Sam_> i am facing an error Error: error:modulerr Module Error
[20:22:51] *** guilbep has quit IRC
[20:22:55] <Sam_> does anyone know about it?
[20:22:57] *** bade has quit IRC
[20:23:05] *** mennea has joined #angularjs
[20:23:10] *** voltagex has quit IRC
[20:23:17] *** bkuberek has quit IRC
[20:23:18] *** doginal has joined #angularjs
[20:23:22] *** mtsr has joined #angularjs
[20:23:36] *** xuu has quit IRC
[20:24:18] *** ProLoser has joined #angularjs
[20:24:19] *** lite_ has quit IRC
[20:24:22] *** shackleford has quit IRC
[20:24:48] *** chrisbirk has joined #angularjs
[20:25:12] *** marcjs has quit IRC
[20:25:18] *** Alina-malina has quit IRC
[20:25:19] *** TheAceOfHearts has joined #angularjs
[20:25:25] <_magus> syntax problem?
[20:25:42] *** kuadrosx_ has quit IRC
[20:25:42] *** cthrax_ has quit IRC
[20:25:48] *** sinequanon has quit IRC
[20:26:52] *** xuu has joined #angularjs
[20:27:11] *** minimoo1 has joined #angularjs
[20:27:30] *** Sam_ has left #angularjs
[20:28:08] *** JBreit has joined #angularjs
[20:28:25] *** richardlitt has joined #angularjs
[20:28:49] *** cthrax_ has joined #angularjs
[20:28:51] *** sk87 has joined #angularjs
[20:28:51] *** ProLoser has quit IRC
[20:29:01] <caitp> i am in intense pain
[20:29:08] <caitp> it is not fun :(
[20:29:17] *** Mattias has quit IRC
[20:29:31] *** Alina-malina has joined #angularjs
[20:29:48] <_magus> caitp: just $scope.$apply() to fix the pain. The digestion process will make you new again.
[20:29:48] *** Mattias has joined #angularjs
[20:29:50] *** joroc has quit IRC
[20:29:57] *** _AimerPaddle_ has quit IRC
[20:30:14] *** AimerPaddle has joined #angularjs
[20:30:22] *** Trow2 has quit IRC
[20:30:45] *** sk87 has quit IRC
[20:30:46] <caitp> sadly scope.$apply() doesn't fix physical pain :( but hopefully it'll be good soon
[20:31:41] *** despai has quit IRC
[20:32:09] *** kuadrosx_ has joined #angularjs
[20:32:10] *** simonett has left #angularjs
[20:32:30] *** StryKaizer has joined #angularjs
[20:32:56] *** shackleford has joined #angularjs
[20:33:14] *** despai has joined #angularjs
[20:34:02] *** walkers has quit IRC
[20:34:45] *** phzon has joined #angularjs
[20:34:46] *** Fuzzier has joined #angularjs
[20:34:54] *** tellijo has quit IRC
[20:34:57] *** Fuzzy has quit IRC
[20:35:05] *** baweaver has joined #angularjs
[20:35:33] *** japhar81 has quit IRC
[20:35:49] <_magus> :(
[20:35:57] <hotnikks_> caitp: self.eat($oxycodone.30mg);
[20:36:14] <_magus> is oxycodone on github? lol
[20:36:38] <hotnikks_> is it possible to have grunt-contrib-compass "share" options between two different tasks? e.g., between compass:prod and compass:dev? many of hte options are the same it feels un-DRY to have to copy+paste a half dozen of the same options
[20:36:47] <hotnikks_> _magus: i wish, id have cloned teh fuck out of it
[20:36:50] *** cleme1mp has quit IRC
[20:37:02] *** larsgk has quit IRC
[20:37:29] *** M8M has joined #angularjs
[20:37:34] *** Fuzzy has joined #angularjs
[20:37:46] <nickeddy> heh heh casual opiate drug abuse references!
[20:38:12] <caitp> yeah ive been on a lot of those the past few days heh
[20:38:13] *** tfennelly has quit IRC
[20:38:32] <nickeddy> caitp: what happened?
[20:38:45] *** basiclaser_ has joined #angularjs
[20:38:51] <caitp> stuff to fix my sinuses
[20:38:54] <caitp> not very comfortable
[20:38:58] <nickeddy> ahhh
[20:39:02] <hotnikks_> opioid, not opiate
[20:39:04] <hotnikks_> but yeh
[20:39:14] <nickeddy> i had a sinus infection a couple weeks ago. was miserable
[20:39:16] <hotnikks_> anyone know my grunt answer :/
[20:39:26] *** phzon has quit IRC
[20:39:30] *** Fuzzier has quit IRC
[20:40:58] *** tech2 has joined #angularjs
[20:41:00] *** prbc_ has joined #angularjs
[20:41:33] *** katsh has joined #angularjs
[20:42:15] *** phishy has joined #angularjs
[20:42:18] *** tomengland_mbp has quit IRC
[20:42:30] *** prbc has quit IRC
[20:42:35] *** Slowintrepid has joined #angularjs
[20:42:53] *** tristanp has joined #angularjs
[20:42:59] *** dylang has quit IRC
[20:43:30] <nickeddy> robdubya: help, i keep bashing my head against sails and it's hurting
[20:43:42] *** bayousoft has quit IRC
[20:44:21] <_magus> I've seen sails at a developer conference
[20:44:23] *** bayousoft has joined #angularjs
[20:44:39] <_magus> I don't know much
[20:44:56] <nickeddy> trying to do some middleware stuff that should be happening but is not :P
[20:45:52] *** mclenithan has quit IRC
[20:46:03] *** Fuzzier has joined #angularjs
[20:46:44] *** bayousoft has quit IRC
[20:46:53] *** Fuzzy has quit IRC
[20:47:06] *** bundledavid has joined #angularjs
[20:47:11] *** bayousoft has joined #angularjs
[20:47:24] *** metamul has quit IRC
[20:48:46] *** emeve89 has joined #angularjs
[20:49:00] *** richiebkr has quit IRC
[20:49:15] *** plazm has joined #angularjs
[20:49:15] <Siecje> Can you manually trigger $stateChangeStart
[20:49:51] <nickeddy> Siecje: i guess you could emit/broadcast that but why would you want to do that?
[20:49:53] *** tristanp has quit IRC
[20:49:58] *** dsdeiz has joined #angularjs
[20:50:01] *** juampy is now known as juampy_backlater
[20:50:44] <Siecje> nickeddy: I have a loading directive shown on start and hidden on Success or Error, But my login view is waiting for a promise before it changes state.
[20:51:04] *** IJNX has quit IRC
[20:51:15] <nickeddy> would need to see code
[20:51:33] *** dbsr has joined #angularjs
[20:51:35] *** TheAceOfHearts has quit IRC
[20:51:40] <dbsr> hi all
[20:51:59] *** SonikBoom has joined #angularjs
[20:52:09] <Siecje> nickeddy: https://dpaste.de/Khs7
[20:52:28] *** bundledavid has quit IRC
[20:52:31] *** mennea has quit IRC
[20:52:39] *** htmelvis has quit IRC
[20:52:52] <plazm> Hi, I have create this fiddle http://jsfiddle.net/7a05qkrc/1/ - how to I achieve the wanted output? I have tried creating two filters, one that identifies the unique loads and one that identifies the objects with that specific load, however when I remove items from the data it, angular has lost the reference (as it is not actual the looped data) and hence does not clean up the DOM correctly.
[20:53:05] <nickeddy> Siecje: scope.$on('$stateChangeSuccess', SuccehideElement) ?
[20:53:10] *** mennea has joined #angularjs
[20:53:16] <vonnegut> for this:
[20:53:16] <nickeddy> i don't see that function
[20:53:17] <vonnegut> .when('/checkout/:id', {
[20:53:18] <vonnegut> templateUrl: 'views/secure/checkout.html',
[20:53:18] <vonnegut> controller: 'ProductListCtrl'
[20:53:18] <vonnegut> })
[20:53:20] *** kuadrosx_ is now known as kuadrosx
[20:53:24] <vonnegut> how do i send :id to it?
[20:53:44] <nickeddy> Siecje: are you using $http?
[20:53:49] <Siecje> nickeddy: miss type. Should be hideElement
[20:53:54] <Siecje> nickeddy: Yeah
[20:54:03] <M8M> does anyone have a few minutes to help me with this - https://gist.github.com/middle8media/94c5d9984eafca074e47
[20:54:17] <M8M> my comment explains my issue
[20:54:25] *** icarus75 has quit IRC
[20:54:30] <nickeddy> Siecje: don't use .success/.error. $http returns promises so you can do AuthRequests.getToken().then(function(response) {}, function(error) {});
[20:54:48] <Siecje> nickeddy: new paste with AuthRequests https://dpaste.de/XUqc2
[20:54:51] <nickeddy> i see you're already doing it with the .authenticate
[20:56:03] *** charlenopires has joined #angularjs
[20:56:46] *** evilaliv3 has joined #angularjs
[20:56:57] *** mclenithan has joined #angularjs
[20:56:58] *** whunt has quit IRC
[20:56:59] *** doug64k has joined #angularjs
[20:57:08] *** whiteboo_ has joined #angularjs
[20:57:12] *** joroc has joined #angularjs
[20:57:36] *** wallerdev has quit IRC
[20:57:47] *** josh-k_ has quit IRC
[20:57:52] *** ahtik has joined #angularjs
[20:58:13] <vonnegut> oh.. i see. i needed to inject '$routeParams'
[20:58:14] *** gjaldon has quit IRC
[20:58:16] *** baweaver has quit IRC
[20:58:21] *** tripu has quit IRC
[20:58:23] *** doginal has quit IRC
[20:58:24] *** josh-k has joined #angularjs
[20:59:16] *** richardlitt has quit IRC
[21:00:01] *** safani has quit IRC
[21:00:12] *** bubo has quit IRC
[21:00:24] *** whitebook has quit IRC
[21:00:26] *** ryst has quit IRC
[21:00:31] *** whunt has joined #angularjs
[21:00:41] *** minimoo1 has quit IRC
[21:01:19] *** mrf3000 has joined #angularjs
[21:01:22] *** howitdo has quit IRC
[21:02:01] *** ehalas has quit IRC
[21:02:17] *** dacuca has joined #angularjs
[21:02:41] *** caitp has quit IRC
[21:02:57] *** charlenopires has quit IRC
[21:02:58] *** josh-k has quit IRC
[21:03:18] *** ctanga has joined #angularjs
[21:03:23] *** IvailoStoianov has quit IRC
[21:03:48] *** charlenopires has joined #angularjs
[21:04:53] *** despai has quit IRC
[21:04:56] *** whiteboo_ has quit IRC
[21:04:57] *** JmZ_ is now known as JmZ
[21:04:57] *** whitebook has joined #angularjs
[21:05:43] *** doginal has joined #angularjs
[21:05:43] *** whunt has quit IRC
[21:07:10] *** DrMabuse_ has joined #angularjs
[21:07:24] *** mkusher has quit IRC
[21:07:35] *** disorder20 has joined #angularjs
[21:07:37] *** zanea|away is now known as zanea
[21:07:39] *** ggrzybek has quit IRC
[21:08:20] *** charlenopires has quit IRC
[21:08:46] *** katsh has quit IRC
[21:08:55] *** tfennelly has joined #angularjs
[21:09:12] *** djam90 has joined #angularjs
[21:10:09] *** rikkipitt has quit IRC
[21:10:29] <wafflej0ck> anyone know about using any credit card readers in web apps?
[21:10:35] *** instence_ has joined #angularjs
[21:10:37] *** ytsejam has quit IRC
[21:10:37] *** DrMabuse has quit IRC
[21:11:11] <wafflej0ck> like perhaps ionic or phonegap extensions to allow me to get the digits/expiration/security code if possible or whatever info can be read automatically?
[21:11:16] *** DrMabuse_ has quit IRC
[21:11:17] *** instence has quit IRC
[21:11:24] *** cthrax_ has quit IRC
[21:11:40] *** mkusher has joined #angularjs
[21:11:59] *** opiates has joined #angularjs
[21:13:10] *** busticated has quit IRC
[21:13:14] *** gregc2_ is now known as ioudas
[21:13:24] *** saucey has quit IRC
[21:13:44] <Grokling> wafflej0ck: Seems like there are a few cordova plugins with that goal. I have no experience though.
[21:14:03] *** htmelvis has joined #angularjs
[21:14:04] *** RobinBAwesome has quit IRC
[21:14:05] *** kevrom has joined #angularjs
[21:14:22] *** kevrom has left #angularjs
[21:14:30] *** mogaj has quit IRC
[21:15:20] *** tfennelly has quit IRC
[21:15:27] <wafflej0ck> hmm search on the cordova plugins site is doing something crazy inifite looping changing the URL
[21:16:00] <Grokling> https://github.com/rodenis/reader-plugin
[21:16:03] *** loverajo_ has joined #angularjs
[21:16:04] *** one0one has joined #angularjs
[21:17:20] *** miezis_ has joined #angularjs
[21:17:48] <wafflej0ck> Grokling: thx looks like only Android support on this one, saw some stuff about card.io integration too but only on the iOS side really one or the other would be okay for now though I imagine just a church/daycare program looking for a way to take payments in person as well as through their site
[21:17:58] *** loverajoel has quit IRC
[21:18:14] *** e0ipso is now known as e0ipso|away
[21:18:30] *** dbsr has quit IRC
[21:18:49] *** ColKurtz has joined #angularjs
[21:19:10] *** JERE has quit IRC
[21:20:10] *** miezis has quit IRC
[21:21:27] *** uru is now known as uru|away
[21:21:33] *** NoNMaDDeN has quit IRC
[21:21:49] *** hapiwondrr has joined #angularjs
[21:22:32] *** jacuqesdancona_ has quit IRC
[21:22:33] *** howitdo has joined #angularjs
[21:22:33] *** mchapman has joined #angularjs
[21:22:35] *** mennea has quit IRC
[21:23:06] *** ytsejam has joined #angularjs
[21:23:07] *** jacuqesdancona_ has joined #angularjs
[21:23:11] *** mennea has joined #angularjs
[21:23:16] *** bkuberek has joined #angularjs
[21:23:23] *** mchapman has quit IRC
[21:23:37] *** simplyshipley has quit IRC
[21:23:39] *** mchapman has joined #angularjs
[21:23:47] *** bayousoft has quit IRC
[21:24:04] *** jonr22 has joined #angularjs
[21:24:28] *** bayousoft has joined #angularjs
[21:24:35] *** hell_razer has quit IRC
[21:25:40] <s3shs> What $scope do you get when you inject a service? The same one that's injected next to the service?
[21:25:59] *** marr has joined #angularjs
[21:26:05] <wafflej0ck> s3shs: you should just get an error not a $scope injected
[21:26:12] <wafflej0ck> s3shs: you can inject $rootScope into a service
[21:26:23] *** sinequanon has joined #angularjs
[21:26:28] <robdubya> nickeddy sup
[21:26:28] <robdubya> wafflej0ck like teh square reader?
[21:26:33] *** ytsejam has quit IRC
[21:27:02] *** ytsejam has joined #angularjs
[21:27:09] <s3shs> wafflej0ck, right. See what happens when I step away for a month? Ugh.
[21:27:13] <wafflej0ck> robdubya: yeah I'm using a service called BluePay for the transaction processing and they have their own card reader, but I need it so someone fills in a form then I use the card reader just to get the card info and submit it with the form data like usual, if possible
[21:27:18] *** minimoo1 has joined #angularjs
[21:27:19] <wafflej0ck> s3shs: heh
[21:27:23] *** jacuqesdancona_ has quit IRC
[21:27:23] *** digisky has quit IRC
[21:27:36] <robdubya> wafflej0ck doable, just depends how insane you have to get :D
[21:27:44] *** Luser has quit IRC
[21:27:47] <nickeddy> robdubya: sails' middleware does some odd stuff after hitting router. seems anything custom doesn't get run after that
[21:27:54] <s3shs> I'm in the mood for a pretzel.
[21:27:54] <robdubya> does their reader interface via the dock connector or the headphone jack?
[21:28:01] <robdubya> nickeddy sounds like you're not next()'ing somehwere
[21:28:03] <nickeddy> robdubya: but i think i can do it in a policy instead anyways
[21:28:10] *** iamjmw has joined #angularjs
[21:28:12] *** ytsejam has quit IRC
[21:28:13] <nickeddy> robdubya: no i am. router isn't nexting
[21:28:17] *** Luser has joined #angularjs
[21:28:23] <wafflej0ck> robdubya: yeah I don't want to be writing the cordova parts for iOS and Android, what Grokling posted so far is probably good enough, think if I supported one they would be more than happy with it, it's just a pain having to key in card numbers on a tablet/phone
[21:28:37] *** jonr22 has quit IRC
[21:29:08] <nickeddy> robdubya: http://pastebin.com/6UE6XbCt
[21:29:14] *** MaxV has joined #angularjs
[21:29:23] *** joroc has quit IRC
[21:29:31] *** punch has quit IRC
[21:29:41] <nickeddy> robdubya: if i put my 'updateLastUserModified' middleware before 'router' it works. after, it doesn't
[21:29:56] <nickeddy> or maybe the console.log is being directed elsewhere
[21:30:05] *** hell_razer has joined #angularjs
[21:30:18] *** _magus has quit IRC
[21:30:48] *** tomengland_mbp has joined #angularjs
[21:31:18] *** sinequanon has quit IRC
[21:31:40] *** thomastuts has joined #angularjs
[21:31:43] *** digisky has joined #angularjs
[21:32:30] *** iamjmw has quit IRC
[21:32:37] *** Luser has quit IRC
[21:32:50] *** mogaj has joined #angularjs
[21:32:55] *** chrisshattuck has quit IRC
[21:33:26] <robdubya> nickeddy do that in a policy i reckon
[21:33:49] <nickeddy> yeah, that's what i've moved to in the mean time
[21:33:55] <robdubya> and the 404/500 etc routes should (usually) be last
[21:34:00] <robdubya> because they're "catch alls"
[21:34:13] <nickeddy> putting it before those doesn't change anything though
[21:34:22] *** TheAceOfHearts has joined #angularjs
[21:34:25] <robdubya> wafflej0ck the basic idea would be JS side, register a callback for "scans"
[21:34:31] <nickeddy> which is kind of odd behavior but i can live with it
[21:34:49] <robdubya> its relatively trivial assuming the java/objc end exists (and they usually do)
[21:34:54] <robdubya> i rolled one for BLE that was ~~ similar
[21:35:03] *** seriema has joined #angularjs
[21:35:36] <wafflej0ck> robdubya: is source available for your plugin by chance would love to use it as an example (I'm 100% objective C/Swift ignorant so I'm sure that part would be a challenge)
[21:35:47] *** cornerman has quit IRC
[21:35:57] *** cornerman has joined #angularjs
[21:35:58] *** dsdeiz has quit IRC
[21:36:11] <robdubya> wafflej0ck yeah, 2 secs
[21:36:12] *** adpirz has joined #angularjs
[21:36:18] <wafflej0ck> robdubya: awesome thanks a ton
[21:36:36] *** josh3336 has joined #angularjs
[21:36:48] *** josh3336 has left #angularjs
[21:36:51] *** MuffinMan` has joined #angularjs
[21:37:40] *** tfennelly has joined #angularjs
[21:37:45] *** plazm has quit IRC
[21:38:51] *** doginal has quit IRC
[21:38:55] *** dc_ has quit IRC
[21:39:04] *** wallerdev has joined #angularjs
[21:39:19] *** tomengland_mbp has quit IRC
[21:39:30] *** seriema has quit IRC
[21:39:41] *** dannyc_ has joined #angularjs
[21:40:46] *** adpirz has quit IRC
[21:42:31] *** PrinceAMD has quit IRC
[21:42:31] *** platonic has quit IRC
[21:42:37] *** jMyles has joined #angularjs
[21:42:39] *** helen_ has joined #angularjs
[21:42:51] <robdubya> wafflej0ck whats your github username
[21:43:20] <robdubya> actually
[21:43:22] <robdubya> nevermind
[21:43:39] <wafflej0ck> actually found one that does already support iOS+Android at least, for one particular reader but $80 one time for the reader+integration costs, looks like it was updated 4 days ago http://plugreg.com/plugin/eGood/CardReaderPlugin, I'm shusain on github
[21:43:53] *** dannyc_ has quit IRC
[21:43:58] <robdubya> https://github.com/evothings/cordova-ble that was the BLE end
[21:45:38] *** arathunku has joined #angularjs
[21:45:48] *** Squarepy has quit IRC
[21:46:10] *** carbonrobot has joined #angularjs
[21:46:34] *** devinandrews has left #angularjs
[21:46:43] *** pushbyte has joined #angularjs
[21:46:43] <robdubya> wafflej0ck https://gist.github.com/robwormald/cc93a6c74f1c837b4d98
[21:46:58] *** whunt has joined #angularjs
[21:47:23] *** thedodd has quit IRC
[21:47:38] <pushbyte> how do I use ng-options within a custom directive? If I want my template to include ng-options="name in firstNames", where firstNames is in my directive's scope
[21:47:50] <ish> When using $http, is the benefit of using .than instead of .success is that you can chain transformations of the result data?
[21:48:10] <robdubya> wafflej0ck https://gist.github.com/robwormald/cc93a6c74f1c837b4d98#file-fitdevicemanager-js-L405-L420 that's the relevant bit to you, most likely
[21:48:15] <carbonrobot> then returns a NEW promise, success returns the original
[21:48:33] <robdubya> JS -> asks native layer to call back when new notifications come in (eg scan from reader events)
[21:48:38] <robdubya> you register listener
[21:50:18] *** Fishy has quit IRC
[21:50:25] <robdubya> wafflej0ck if that magtec plugin works, you'd basically just want to angularize the JS code here https://github.com/eGood/CardReaderPlugin/blob/master/www/js/magtek_udynamo.js
[21:50:46] <robdubya> which would be pretty trivial, feel free to hollar at me if you do it
[21:51:06] *** bengillies has quit IRC
[21:51:11] *** mlpug has quit IRC
[21:51:28] *** MaxV has quit IRC
[21:51:33] *** bengillies has joined #angularjs
[21:51:45] *** sahbeewah has joined #angularjs
[21:51:51] *** Aerospark has quit IRC
[21:51:54] *** whitebook has quit IRC
[21:52:18] *** ytsejam has joined #angularjs
[21:52:32] *** MistahKurtz has quit IRC
[21:52:35] *** mennea has quit IRC
[21:52:43] <wafflej0ck> robdubya: cool yea might give this a go but will probably wait to hear back from them before putting a serious effort into it, think I only have a PayPal card reader and a USB one here (acts as HID device) to test things out but maybe could just setup a trivial sample project for hooking up the callbacks and whatnot
[21:52:52] *** stylemistake has quit IRC
[21:53:14] *** mennea has joined #angularjs
[21:53:15] <robdubya> eveything works through that one cordova.exec method
[21:53:16] <wafflej0ck> robdubya: where in the JS are you registering the callback with to get info from the native side?
[21:53:55] <wafflej0ck> ah I see
[21:54:04] <robdubya> https://gist.github.com/robwormald/cc93a6c74f1c837b4d98#file-fitdevicemanager-js-L703-L708
[21:54:40] <robdubya> that's exec( listener, listenerFail, nameOfPlugin, nameofPluginMethod, options )
[21:55:05] <wafflej0ck> cool options are basically plugin method arguments?
[21:55:20] *** pen has quit IRC
[21:55:24] *** phuh has joined #angularjs
[21:55:33] *** wallerdev has quit IRC
[21:55:55] *** pen has joined #angularjs
[21:56:27] *** dannyc_ has joined #angularjs
[21:57:18] *** joroc has joined #angularjs
[21:57:25] *** mclenithan has quit IRC
[21:57:31] *** frankblizzar has quit IRC
[21:57:49] *** cs44 has joined #angularjs
[21:57:56] <cs44> hello room
[21:58:14] <themime> ish: yes that is a benefit of using then(). also .then() is standard "promise" behavior so its somewhat more consistent among JS applications
[21:58:15] *** niftylettuce has joined #angularjs
[21:58:22] <themime> sup cs44
[21:58:35] <cs44> themime: just working, same ole same ole
[21:58:40] <cs44> wanted to run something by ya though
[21:58:45] <cs44> lemme get a gist ready
[21:58:56] *** jonathanpglick has quit IRC
[21:59:34] *** bundledavid has joined #angularjs
[21:59:40] *** spion has left #angularjs
[22:00:04] *** frankblizzar has joined #angularjs
[22:00:17] *** babadofar has quit IRC
[22:00:26] *** pen has quit IRC
[22:00:39] *** whunt_ has joined #angularjs
[22:01:22] *** doc|mobile has joined #angularjs
[22:01:24] *** minimoo1 has quit IRC
[22:01:29] <cs44> so for this code
[22:01:31] <cs44> https://gist.github.com/cseeger/74f8b49e3caab9f5514e
[22:01:42] <cs44> note the function definition inside
[22:01:44] <cs44> $scope.init
[22:01:51] *** fedenunez1 has joined #angularjs
[22:01:52] <cs44> is that a familiar pattern?
[22:02:03] *** josh has joined #angularjs
[22:02:26] *** jonathanpglick has joined #angularjs
[22:03:06] <ColKurtz> cs44 we've done similar stuff before
[22:03:17] *** larsgk has joined #angularjs
[22:03:25] <ColKurtz> but only if it's a method that needs to be called again
[22:03:50] <cs44> what benefit does wrapping the func's in $scope.init have?
[22:04:01] <cs44> over, say - just defining them directly on $scope
[22:04:09] <ColKurtz> you can call init()
[22:04:10] *** whunt has quit IRC
[22:04:11] <ColKurtz> if you need to.
[22:04:17] *** bundledavid has quit IRC
[22:04:37] *** fedenunez has quit IRC
[22:04:42] <ColKurtz> And I feel like this example isn't doing it for that purpose..
[22:04:57] <ColKurtz> no, it's not
[22:05:00] <cs44> actually
[22:05:01] <cs44> i left that out
[22:05:05] <cs44> here, take a look again
[22:05:06] *** richiebkr has joined #angularjs
[22:05:06] <ColKurtz> I would reject a PR written like this
[22:05:06] <doc|mobile> anyone have an example of updating a directive based on a service change in a controller?
[22:05:19] *** Poppabear has quit IRC
[22:05:46] <doc|mobile> i.e. I have two controllers. One controller updates the service object, and the other controller doesn't recognise it
[22:05:58] *** sinequanon has joined #angularjs
[22:06:04] <doc|mobile> or rather another directive doesn't
[22:06:39] *** thomastuts has quit IRC
[22:06:46] *** pen has joined #angularjs
[22:06:51] <cs44> ColKurtz: I suppose I'm just trying to determine the inherent benefit to defining the functions within the $scope.init()
[22:06:57] <ColKurtz> I would just define each method as `$scope.clearErrors = ->` and so on. If you're using controllerAs syntax, then defining each method like `@clearErrors = ->` would be acceptable
[22:07:08] <cs44> ColKurtz: ok, gotcha
[22:07:25] <ColKurtz> It seems like it's doing that because inside the init method, `@ === $scope`
[22:07:31] <cs44> well, at least -- there's an example of when to use @clearErrors vs $scope.clearErrors
[22:07:43] <cs44> this === $scope?
[22:07:50] <ColKurtz> yeah
[22:07:53] <ColKurtz> inside the .init
[22:07:54] <cs44> i see.
[22:07:55] <ColKurtz> because it's a method of $Scope
[22:08:05] <ColKurtz> there's a lack of clarity, there
[22:08:16] <ColKurtz> well, i mean, it could trip up somebody who's not familiar
[22:08:27] <ColKurtz> better to just be more explicit and define each method as $scope.doStuff imho
[22:08:34] <cs44> right. i've looked for examples of this controller syntax on the web, doesn't seem to be prevalent
[22:08:38] <wafflej0ck> ColKurtz: yeah problem is functions can be invoked with something else for "this"
[22:08:54] *** carbonrobot has quit IRC
[22:08:55] <cs44> ColKurtz: that's how i've been writing controller code for almost a year
[22:09:01] *** threesixes has joined #angularjs
[22:09:02] <cs44> just trying to make sense of this new syntax
[22:09:03] <cs44> =)
[22:09:08] *** phuh has quit IRC
[22:09:12] *** D-Boy has quit IRC
[22:09:19] *** D-Boy has joined #angularjs
[22:09:20] *** platonic has joined #angularjs
[22:09:21] <cs44> wafflej0ck: so you've used $scope.init() in the wild?
[22:09:26] <wafflej0ck> cs44: the controllerAs syntax that lets you use "this" instead of $scope within your controller but typically I've seen others and have preferred it myself to still do something like var ctrl = this; at the top of the controller
[22:09:34] *** phuh has joined #angularjs
[22:09:38] <ColKurtz> having initialization code inside a method can be useful if you need to manually reset state (e.g., like for a form with a reset button)
[22:09:43] <wafflej0ck> cs44: yeah really in most cases though I have my services just initialize themselves
[22:09:44] *** jasonp has joined #angularjs
[22:09:50] <ColKurtz> but that's not what's happening in this example...there's only method definitions inside the init
[22:09:51] <cs44> gotcha
[22:10:03] *** charlenopires has joined #angularjs
[22:10:16] <cs44> ColKurtz: right, init() for reseting state vars makes sense
[22:10:19] *** Poppabear has joined #angularjs
[22:10:25] <ColKurtz> yeah, and we've used it for that purpose.
[22:10:25] <wafflej0ck> robdubya: cool started reading some of the cordova plugin docs it really doesn't look too bad
[22:10:37] <cs44> wafflej0ck, ColKurtz -- thanks for taking a look
[22:10:42] <cs44> appreciate it
[22:10:45] <ColKurtz> sure np
[22:10:46] <wafflej0ck> robdubya: think the Objective C hurdle is the only thing that might trip me up
[22:10:47] <wafflej0ck> yup np
[22:10:49] *** danecando has quit IRC
[22:10:53] *** cs44 has quit IRC
[22:11:00] *** MaxV has joined #angularjs
[22:11:21] *** raj___ has joined #angularjs
[22:11:30] *** mclenithan has joined #angularjs
[22:12:30] *** baweaver has joined #angularjs
[22:13:51] <wafflej0ck> robdubya: so you wrote the JS side but hooked into this existing plugin right? https://github.com/evothings/cordova-ble
[22:14:06] *** encryptd_fractl has quit IRC
[22:14:24] *** cheef1 has quit IRC
[22:15:37] *** charlenopires has quit IRC
[22:15:41] *** MaxV has quit IRC
[22:15:46] *** dc_ has joined #angularjs
[22:16:00] *** doginal has joined #angularjs
[22:16:26] *** busticated has joined #angularjs
[22:16:45] *** tristanp has joined #angularjs
[22:17:01] *** doginal has quit IRC
[22:17:17] *** s00pcan has quit IRC
[22:17:29] <doc|mobile> hey, can someone tell me why http://pastebin.com/S0Nqdhcc how I can have a directive notice when a change happens to userProfile.loggedin at line 67? This is where I'm at now and it's not recognising it with "<div style="border-right: 1px solid #777" class="col-md-3" ng-show="loggedin">" in the directive.
[22:17:29] *** emmesswhy has joined #angularjs
[22:17:46] *** tsalb has quit IRC
[22:17:51] *** saucey has joined #angularjs
[22:17:59] *** Slowintrepid has quit IRC
[22:18:11] *** Poppabear has quit IRC
[22:18:24] *** shackleford has quit IRC
[22:18:39] *** bkuberek has quit IRC
[22:18:53] *** stormbytes has joined #angularjs
[22:19:09] *** voltagex has joined #angularjs
[22:19:21] *** cthrax_ has joined #angularjs
[22:19:29] *** bealtine has joined #angularjs
[22:19:35] *** bkuberek has joined #angularjs
[22:20:02] *** oncenull has quit IRC
[22:20:19] <wafflej0ck> doc|mobile: probably better to do $scope.userProfile = userProfile; on line 67
[22:20:28] <wafflej0ck> doc|mobile: then userProfile.loggedIn in the ng-show
[22:20:52] <wafflej0ck> doc|mobile: otherwise you are copying the primitive into a property of the scope not having a reference to an object with a property whos value changes
[22:21:01] * doc|mobile tries
[22:21:14] *** miezis__ has joined #angularjs
[22:21:18] *** emmesswhy has quit IRC
[22:21:33] *** raj___ has quit IRC
[22:21:57] *** kentcdodds has quit IRC
[22:22:08] <Weezey> new to the angularjs, I put on ng-submit="func()" in my form and it works great when I press enter but when you press the only button in the form it doesn't.
[22:22:18] <doc|mobile> wafflej0ck: no change :/
[22:22:19] <Weezey> I've read I shouldn't put in both the ng-click and ng-submit
[22:22:33] <Weezey> (when I do that, the button works)
[22:22:35] <wafflej0ck> doc|mobile: put {{userProfile}} in the view to see what you see
[22:22:37] *** mennea has quit IRC
[22:23:02] <wafflej0ck> doc|mobile: also if you can get some of this code working in a plunkr (just remove dependencies not needed to recreate the problem) then I can just poke at it
[22:23:16] *** mennea has joined #angularjs
[22:23:41] <wafflej0ck> doc|mobile: see the IRC topic for a link to a plunkr template with angular loaded, most of your code here you should be able to just copy/paste into there
[22:23:51] *** s00pcan has joined #angularjs
[22:23:55] <doc|mobile> will do, thanks
[22:23:58] *** jeffisabelle has quit IRC
[22:24:01] <wafflej0ck> doc|mobile: np
[22:24:20] <wafflej0ck> Weezey: you should only need one or the other if the button has type="button" and is in a form with ng-submit and no action set
[22:24:25] *** miezis_ has quit IRC
[22:24:26] <doc|mobile> wth
[22:24:29] <wafflej0ck> er sorry type="submit"
[22:24:29] <doc|mobile> now it's working...
[22:24:47] <doc|mobile> wafflej0ck: weird, that fixed it, but not the first couple of times I looked at it... :D
[22:24:48] <doc|mobile> thanks!
[22:24:51] <wafflej0ck> doc|mobile: np
[22:24:55] <Weezey> wafflej0ck: ah, it's a <button>
[22:24:58] <doc|mobile> so changes don't work on primitives?
[22:25:11] <Weezey> wafflej0ck: do those not work in that syntax?
[22:25:17] <wafflej0ck> Weezey: if you want to be sure it calls submit do <button type="submit">
[22:25:24] *** tskaggs has quit IRC
[22:25:30] <wafflej0ck> Weezey: if it's one button in a form by default it should be a submit type button
[22:25:31] *** JERE has joined #angularjs
[22:25:38] <wafflej0ck> Weezey: but you can be more explicit, might help
[22:25:39] *** Luser has joined #angularjs
[22:25:51] *** DuelShark has joined #angularjs
[22:25:54] *** mmealling has quit IRC
[22:25:57] <wafflej0ck> doc|mobile: yeah well the problem is you assign a primitive and the value is copied not a reference to an object
[22:25:59] *** Luser has quit IRC
[22:26:05] <wafflej0ck> doc|mobile: so really the $scope.loggedIn never changed
[22:26:08] <Weezey> wafflej0ck: awesome, thanks, works.
[22:26:08] *** marcjs has joined #angularjs
[22:26:11] *** TyrfingMjolnir has quit IRC
[22:26:12] <wafflej0ck> it was always what it was set to initially
[22:26:17] <wafflej0ck> Weezey: np
[22:26:28] *** Luser has joined #angularjs
[22:26:35] <doc|mobile> wafflej0ck: thought it might be something like that. So it's a reference when you set a variable to an object. Thanks!
[22:26:41] *** tskaggs has joined #angularjs
[22:26:41] *** mtsr has quit IRC
[22:26:42] <wafflej0ck> indeed
[22:26:43] <Weezey> wafflej0ck: if I wanted multiple buttons to do multiple things, do I use the ngClick on each?
[22:26:49] <Foxandxss> as a offtopic discussion (allow me), do you mock your database on node tests or you use the real deal?
[22:26:55] <wafflej0ck> Weezey: yeah use type="button" and ng-click on each then
[22:27:05] *** emmesswhy has joined #angularjs
[22:27:10] <Grokling> oniijin isn't paying attention, so I'll say it doc|mobile: MOAR dots
[22:27:20] <Weezey> wafflej0ck: perfect! thanks!
[22:27:24] <doc|mobile> Grokling: moar dots? :)
[22:27:28] *** Poppabear has joined #angularjs
[22:27:44] <doc|mobile> I've spent the best part of two days on this! :D
[22:28:15] *** StryKaizer has quit IRC
[22:28:20] <Grokling> doc|mobile: Yeah, in your view, if you see something like {{thing}} that's usually bad. {{some.thing}} is good. More dots. If you haven't got a dot in the binding, you're probably doing it wrong.
[22:28:22] *** Luser_ has joined #angularjs
[22:28:23] <wafflej0ck> Weezey: yup np ng-submit just has the advantage of catching enter key presses when the form has focus
[22:28:34] <doc|mobile> Grokling: interesting concept :) thanks
[22:28:38] *** Luser_ has quit IRC
[22:28:45] *** mmealling has joined #angularjs
[22:28:45] *** Shrooms has joined #angularjs
[22:29:11] *** Luser_ has joined #angularjs
[22:29:14] *** platonic has quit IRC
[22:29:32] *** Obelich has joined #angularjs
[22:29:37] <Obelich> hiyas
[22:29:43] <Foxandxss> so, no ones tests here :P
[22:29:52] <oste> i am trying to decipher this plunker http://plnkr.co/edit/iWHBNyKfwiSUUFKrMQff?p=preview
[22:29:56] *** Shrooms has quit IRC
[22:30:04] <oste> and firing events at the end of css animations in general
[22:30:07] <wafflej0ck> Foxandxss: I write some unit tests isn't that enough :)
[22:30:09] *** Fuzzy has joined #angularjs
[22:30:19] <oste> what is parent and element for?
[22:30:26] <Obelich> im newbie in Angularjs and i try to use $Http and push a json data to show in view in Rails app
[22:30:26] <TheAceOfHearts> Foxandxss: I live edit my code in production, yolo~
[22:30:26] <Foxandxss> wafflej0ck: yeah, but real db or not?
[22:30:27] *** frankblizzar has quit IRC
[22:30:29] *** RobinBAwesome has joined #angularjs
[22:30:31] <oste> does it matter what those are? I was trying to get this working outside of a directive
[22:30:39] <Foxandxss> TheAceOfHearts: I would expect anything from you :P
[22:30:44] *** Shrooms has joined #angularjs
[22:30:45] *** Shrooms has joined #angularjs
[22:30:54] <Obelich> but for some reazon it duplicate the information here are the gist https://gist.github.com/obelich/fb6e6907e2dcacbd421b
[22:30:57] *** kayoone has quit IRC
[22:31:02] *** Luser has quit IRC
[22:31:11] *** charuru has joined #angularjs
[22:31:17] *** Fuzzier has quit IRC
[22:31:52] <nickeddy> TheAceOfHearts: pls no
[22:31:53] *** emmesswhy has quit IRC
[22:32:03] <wafflej0ck> Foxandxss: with the unit tests I've typically just used the $httpBackend to setup expectations for requests but no E2E in terms of how I would imagine approaching that, I'd probably want a script for setup/teardown of the DB but not sure how exactly those scripts would be invoked with regard to protracter or whatever test runner execution is going on
[22:32:06] *** htmelvis has quit IRC
[22:32:17] <Grokling> Foxandxss: I like the idea of testing. I don't like actually writing tests. Mostly because I don't really know what I'm going to do until I've already done it, and by then I'm ready to move onto the next thing.
[22:32:18] <Foxandxss> wafflej0ck: I meant in backend
[22:32:25] <nickeddy> robdubya: want to help me implement generic foreign keys in waterline? :P
[22:32:28] <TheAceOfHearts> wafflej0ck: I have advice
[22:32:28] *** platonic has joined #angularjs
[22:32:28] <Foxandxss> not angular in the question
[22:32:43] <TheAceOfHearts> just create a seed file for your backend
[22:32:45] <stormbytes> afternoon folks
[22:32:45] <TheAceOfHearts> and you load that *once*
[22:32:50] <TheAceOfHearts> e2e tests are slow
[22:32:56] <TheAceOfHearts> you don't wanna be building up and tearing down the db each time
[22:32:58] <stormbytes> anyone know anything about setting up a config.ru file for deployment on heroku? I've got this https://gist.github.com/c0046d44c0b5db3f4a81
[22:33:00] <TheAceOfHearts> it'll make your tests slow as fuck
[22:33:03] <stormbytes> doesn't work though.. ugh
[22:33:09] <wafflej0ck> TheAceOfHearts: yeah makes sense
[22:33:11] *** diosney has joined #angularjs
[22:33:16] <TheAceOfHearts> I have some extra advice
[22:33:18] <Foxandxss> Grokling: you can always test after, not THAT good, but better than nothing
[22:33:19] <wafflej0ck> TheAceOfHearts: probably want the DB to be able to deal with junk as well
[22:33:33] <TheAceOfHearts> create two suites
[22:33:41] *** Luser_ has quit IRC
[22:33:43] *** jacuqesdancona_ has joined #angularjs
[22:33:43] <TheAceOfHearts> 1. make tests idempotent if possible, and this is all gonna be in one suite
[22:33:43] *** MaxV has joined #angularjs
[22:33:47] *** loverajo_ has quit IRC
[22:33:50] <Foxandxss> TheAceOfHearts: the issue of *once* is that if one test modifies the fixtures, the others will see that
[22:33:58] <TheAceOfHearts> 2. the second suite has tests that are not idempotent
[22:34:08] <TheAceOfHearts> Foxandxss: it really depends on your application
[22:34:14] <nickeddy> oh god
[22:34:15] <wafflej0ck> good info
[22:34:19] <Foxandxss> I don't share that thought
[22:34:20] <TheAceOfHearts> what I do I just create one account per test
[22:34:37] <nickeddy> does anyone here use slush?
[22:34:40] <Foxandxss> yeah, but test one modifies the account
[22:34:49] <Foxandxss> the other tests will have that custom account
[22:34:53] <Obelich> some one can helo a newbie one :) please, alguien habla espanol ?
[22:35:07] *** rikkipitt has joined #angularjs
[22:35:08] *** emmesswhy has joined #angularjs
[22:35:12] <TheAceOfHearts> Foxandxss: e2e tests should try to be idempotent :p
[22:35:16] <TheAceOfHearts> it'll save you a lot of hassle
[22:35:24] *** glassir has joined #angularjs
[22:35:25] <Foxandxss> all of them should be
[22:35:30] <Foxandxss> makes them slower, that is true tho
[22:35:36] <TheAceOfHearts> if it's not idempotent, put it in your second suite
[22:35:44] <TheAceOfHearts> sometimes it's impossible to make tests idempotent
[22:35:57] <Foxandxss> never saw that possibility
[22:36:07] *** Oxynum has joined #angularjs
[22:36:13] *** stylemistake has joined #angularjs
[22:36:14] <Grokling> !ask @Obelich
[22:36:14] <UniBot> Grokling, Don't ask to ask. Just state your question (with a !bin code sample) and wait for an answer
[22:36:14] *** danecando has joined #angularjs
[22:36:27] <wafflej0ck> Obelich: un poquito pero es mas facil si tu hace un ejemplo en plnkr.co
[22:36:39] <TheAceOfHearts> Foxandxss: for example, if you're testing account deletion functionality :p, that's impossible to be done idempotently
[22:36:45] <wafflej0ck> !pregunta
[22:36:49] <wafflej0ck> unibot is racist
[22:36:51] *** jdj_dk has quit IRC
[22:37:02] <Obelich> wafflej0ck: the json are in the gist :) https://gist.github.com/obelich/fb6e6907e2dcacbd421b
[22:37:08] <Foxandxss> TheAceOfHearts: how so? you create one account, check it is there, delete it, check it is not there
[22:37:30] *** platonic has quit IRC
[22:37:31] *** cotko has quit IRC
[22:37:39] <TheAceOfHearts> Foxandxss: that's slow :p, I went that route at one point and ended up with a 30 minute test suite
[22:37:47] *** Fuzzier has joined #angularjs
[22:37:47] *** rikkipitt has quit IRC
[22:37:51] <Foxandxss> slow != impossible :P
[22:37:55] *** bayousoft has quit IRC
[22:37:56] *** jacuqesdancona_ has quit IRC
[22:38:08] <TheAceOfHearts> well, another example
[22:38:08] *** sajt has joined #angularjs
[22:38:08] <Foxandxss> rails is pretty fast in test tho (weird but true)
[22:38:21] <TheAceOfHearts> Rails is fast, yeah
[22:38:25] *** bayousoft has joined #angularjs
[22:38:30] <wafflej0ck> have to second that
[22:38:40] <TheAceOfHearts> but with e2e tests you don't wanna be calling into your rails code to build up stuff
[22:38:50] *** jeffisabelle has joined #angularjs
[22:39:01] <TheAceOfHearts> at least with protractor and angular
[22:39:04] <nickeddy> i do e2e with my dev server running... is that not how everyone does it?
[22:39:11] <Foxandxss> from angular I would NEVER hit the backend tho
[22:39:12] <josh> Foxandxss: Is your angular toast impl the best?
[22:39:22] <TheAceOfHearts> nickeddy: yeah
[22:39:23] <TheAceOfHearts> I meant
[22:39:29] <Foxandxss> josh: what answer do you expect?
[22:39:35] *** icarus75 has joined #angularjs
[22:39:38] *** SpotSec has quit IRC
[22:39:39] <wafflej0ck> of course
[22:39:40] <TheAceOfHearts> in the e2e tests themselves you don't wanna be running scripts to setup fixtures and stuff on the database
[22:39:44] <TheAceOfHearts> you should just try to do it once
[22:39:47] <nickeddy> i thought that is the whole point of e2e... hitting the actual server and testing the response
[22:39:50] <nickeddy> yeah
[22:39:51] <TheAceOfHearts> with a seed database
[22:39:53] *** emmesswhy has quit IRC
[22:39:53] *** Fuzzy has quit IRC
[22:39:59] <TheAceOfHearts> otherwise it's unbearable slow D:
[22:39:59] <Foxandxss> nickeddy: I see that more personal preference tho
[22:40:00] *** glassir has quit IRC
[22:40:16] *** Fuzzy has joined #angularjs
[22:40:17] <josh> Foxandxss: Figured you would know best
[22:40:17] <nickeddy> Foxandxss: well, i'd rather test the actual API is working instead of some mocked thing
[22:40:35] *** dannyc has joined #angularjs
[22:40:39] <Foxandxss> nickeddy: I would test that on the API tests (on the backend)
[22:40:45] *** emmesswhy has joined #angularjs
[22:40:46] <Foxandxss> to see if they work
[22:40:50] <helen_> Foxandxss: when i had to test db stuff in the back end i did unit tests on mock csv databases xD, but honestly theyre a pain to maintain lol
[22:40:50] <TheAceOfHearts> it depends on what your goal is
[22:41:00] <TheAceOfHearts> if you want to have real end-to-end tests, you'll do actual requests.
[22:41:03] <nickeddy> yeah that's a separate test
[22:41:05] <TheAceOfHearts> hence: end to end.
[22:41:08] <nickeddy> ^
[22:41:10] <Foxandxss> josh: what can I say? I wouldn't say that the competence is better
[22:41:20] <nickeddy> ^ x 100 @TheAceOfHearts
[22:41:27] <TheAceOfHearts> gonna get coffee now~
[22:41:32] <Foxandxss> helen_: sounds like so :P
[22:41:34] <TheAceOfHearts> and keep writing terrible code~
[22:41:51] <Foxandxss> nickeddy: still personal preference
[22:42:00] *** Fishy__ has joined #angularjs
[22:42:03] *** Fuzzier has quit IRC
[22:42:18] <Obelich> wafflej0ck where i can add a json to get it wit htp ?
[22:42:19] *** Yankie has joined #angularjs
[22:42:20] <Obelich> http ?
[22:42:31] <nickeddy> i thought that was pretty much in the definition of "end to end"
[22:42:31] <helen_> Foxandxss: really nice bc u get a clean test case to start with and its really easy to setup, but then everytime u change the schema or need new test cases u have to add the new data urself ;p
[22:42:32] *** Shrooms has quit IRC
[22:42:35] *** bigorangemachine has joined #angularjs
[22:42:44] *** Evanion has quit IRC
[22:42:49] <Foxandxss> yeah, I need to explore more
[22:43:04] <Foxandxss> I used to test rails which well, does all the ugly job for you behind the scenes
[22:43:05] <bigorangemachine> Hey guys.... can I get some help with mobile-angular-ui
[22:43:08] <Foxandxss> express is more manual
[22:43:10] *** rikkipitt has joined #angularjs
[22:43:15] *** despai has joined #angularjs
[22:43:18] <wafflej0ck> Obelich: you can make a New File with the link on the left in Plunkr
[22:43:26] <wafflej0ck> Obelich: just drop your json data in there for testing purposes
[22:43:49] <bigorangemachine> How do you get mobile-angular-ui and a scrolling fixed-position div to scroll!?
[22:43:51] *** emeve89 has quit IRC
[22:44:03] *** elyssonmr has quit IRC
[22:44:04] <wafflej0ck> Obelich: load it up like $http.get("data.json").then(function(resp){/*...*/})
[22:44:13] *** FrankH_ has quit IRC
[22:44:26] *** GeneralChoomin has quit IRC
[22:44:38] *** mcastro has quit IRC
[22:44:44] <wafflej0ck> bigorangemachine: fixed position elements aren't effected by the scroll from what I've seen
[22:44:53] *** rileylar_ has joined #angularjs
[22:45:14] *** dannyc has quit IRC
[22:45:56] *** Sky[x] has joined #angularjs
[22:46:01] *** Shrooms has joined #angularjs
[22:46:14] <bigorangemachine> wafflej0ck, its using bootstrap modal UIs
[22:46:30] *** Slowintrepid has joined #angularjs
[22:46:33] *** M8M has quit IRC
[22:46:35] <bigorangemachine> wafflej0ck, on a phone.... it does..
[22:47:08] *** doginal has joined #angularjs
[22:47:23] <wafflej0ck> bigorangemachine: ah yea I am vaguely familiar with what you're talking about there, didn't know the modal was using fixed position but I have seen how it moves on mobile devices
[22:47:29] *** rileylark has quit IRC
[22:47:31] <josh> Foxandxss: Might want to update your Readme about installing from bower, I just about didn't use it because of that.
[22:48:01] <Foxandxss> josh: uh, true
[22:48:02] <TheAceOfHearts> Foxandxss: when testing node APIs I just do a lot of request tests
[22:48:04] *** sahbeewah has quit IRC
[22:48:06] <TheAceOfHearts> supertest is great for those
[22:48:07] <Foxandxss> damn bower, hate you hard
[22:48:08] *** rikkipitt has quit IRC
[22:48:10] <wafflej0ck> hehe
[22:48:21] <TheAceOfHearts> 3 types of tests: Model, Request, unit
[22:48:24] <bigorangemachine> wafflejack could be my changes that need fixed... I think there is some fixed elements
[22:49:06] *** emmesswhy has quit IRC
[22:49:24] *** dsdeiz has joined #angularjs
[22:49:33] <Foxandxss> josh: fixed
[22:49:35] <Foxandxss> thanks
[22:49:37] *** ColKurtz has quit IRC
[22:49:38] *** jaznow has quit IRC
[22:49:49] <Foxandxss> TheAceOfHearts: supertest is awesome sauce
[22:50:01] <TheAceOfHearts> oh
[22:50:04] <TheAceOfHearts> you should use koa
[22:50:06] <bigorangemachine> wafflej0ck could be my changes that need fixed... I think there is some fixed elements, any idea how to get the 2 to play nice?
[22:50:09] *** dannyc_ has quit IRC
[22:50:09] <TheAceOfHearts> then you can use generators everywhere
[22:50:10] <Foxandxss> it was more about people dropping & recreating on before ANY instead of before EACH
[22:50:13] <TheAceOfHearts> so your code is super simple~
[22:50:16] *** baweaver has quit IRC
[22:50:18] <Foxandxss> koa is awesome yes
[22:50:30] <TheAceOfHearts> if you're testing
[22:50:33] <TheAceOfHearts> you can use co-mocha too
[22:50:36] *** dannyc has joined #angularjs
[22:50:37] <TheAceOfHearts> so you can use generators in your tests :D
[22:50:39] <wafflej0ck> bigorangemachine: sorry not something I'm intamitely familiar with would have to poke at it
[22:50:42] <Foxandxss> uh, that is cool
[22:50:48] <TheAceOfHearts> I use that in my request tests to create model instances :p
[22:50:57] *** dseitz has quit IRC
[22:50:57] <Foxandxss> TheAceOfHearts: anything good for mongoose?
[22:51:19] *** stormbytes has quit IRC
[22:51:25] *** aks has quit IRC
[22:51:33] <TheAceOfHearts> https://www.dropbox.com/s/xwlfi1yo3yi41lb/Screenshot%202014-11-25%2013.51.27.png?dl=0 here's an example, I use Sequelize
[22:51:33] *** mokush has joined #angularjs
[22:51:48] <TheAceOfHearts> well, you can just load your models in a helper
[22:51:50] <TheAceOfHearts> and pass em in
[22:51:52] *** DuelShark has quit IRC
[22:51:57] *** spatialbrew has quit IRC
[22:52:02] <Foxandxss> fuck, that is cool
[22:52:11] <TheAceOfHearts> :)
[22:52:11] <wafflej0ck> bigorangemachine: google has some results when searching about fixed elements and mobile though probably worth a gander http://bradfrost.com/blog/mobile/fixed-position/
[22:52:14] *** larsgk has quit IRC
[22:52:20] <TheAceOfHearts> I'm experimenting with a lot of ideas
[22:52:22] <Foxandxss> TheAceOfHearts: and afterEach you do nothing?
[22:52:36] <TheAceOfHearts> nope, cuz create only creates an instance, it's not persisted
[22:52:39] *** moritzs has joined #angularjs
[22:52:44] <TheAceOfHearts> but for request tests
[22:52:45] *** livingstn has joined #angularjs
[22:52:46] <TheAceOfHearts> I just have this
[22:52:50] *** jaydubya has quit IRC
[22:52:52] <Foxandxss> ah, sure
[22:52:54] *** vonnegut has quit IRC
[22:53:03] <TheAceOfHearts> oh actually, I don't have any in this current iteration
[22:53:05] <TheAceOfHearts> but well
[22:53:11] <TheAceOfHearts> I just have something like this in my helper:
[22:53:15] <Slowintrepid> I'm building an app using two ui-router named views. I need to be able to drag and drop from one view to another. On a broad level how would you accomplish something like this?
[22:53:19] *** mennea_ has joined #angularjs
[22:53:31] <TheAceOfHearts> https://www.dropbox.com/s/oupyqg3btyv1h1p/Screenshot%202014-11-25%2013.53.27.png?dl=0 for request tests
[22:53:41] <TheAceOfHearts> I just have an init method on my server
[22:53:51] *** mennea has quit IRC
[22:53:54] <TheAceOfHearts> for request tests you could clean up the database if you wanted
[22:54:05] *** larsgk has joined #angularjs
[22:54:06] <TheAceOfHearts> I just use randomly generated values for my instance values
[22:54:10] <Foxandxss> yeah, after all is fast, after each, slower
[22:54:18] <Foxandxss> oh, show me that fixtures
[22:54:31] *** baweaver has joined #angularjs
[22:54:40] <moogey> Has anyone ever experienced this? http://i.imgur.com/XFTSKPL.png
[22:54:43] <TheAceOfHearts> I don't have any fixtures of this in its current form :(, I need to make a model wrapper for that
[22:54:58] <TheAceOfHearts> oh wait
[22:55:01] <TheAceOfHearts> I have a public one I think
[22:55:22] *** chrisbirk has quit IRC
[22:55:29] <TheAceOfHearts> https://github.com/cesarandreu/chain-check/blob/master/test/server/requests/Audio.spec.js @Foxandxss
[22:55:37] *** dnewkerk has joined #angularjs
[22:55:39] <TheAceOfHearts> that was last month
[22:55:43] <TheAceOfHearts> I'm still exploring ideas
[22:55:48] *** mzabriskie has joined #angularjs
[22:55:57] *** Fuzzier has joined #angularjs
[22:56:01] *** mmealling has quit IRC
[22:56:18] *** Siecje has left #angularjs
[22:56:33] <Foxandxss> TheAceOfHearts: so there are drops after each
[22:56:33] <Foxandxss> :P
[22:56:56] <TheAceOfHearts> well, in that one ,yeah
[22:56:57] *** baweaver has quit IRC
[22:56:57] *** Fuzzy has quit IRC
[22:57:01] *** omolin4 has quit IRC
[22:57:02] <TheAceOfHearts> but not in this new one I'm doing
[22:57:11] <Foxandxss> for different purpose or slowness?
[22:57:16] *** tech2 has quit IRC
[22:57:18] *** minimoo1 has joined #angularjs
[22:57:31] <TheAceOfHearts> it's just not needed :p, if you use randomly generated values
[22:57:48] <Foxandxss> not sure if I follow, but not a problem
[22:57:51] <Foxandxss> how good is comongo?
[22:57:53] <Obelich> wafflej0ck: no work :(
[22:57:54] <Obelich> http://plnkr.co/edit/27u5ipw9ufSzzO21lYbD?p=info
[22:58:16] *** xxtjaxx has joined #angularjs
[22:58:41] <bigorangemachine> Thanks wafflej0ck but I have to fix this one thing and hte project is done... don't want to take that big of a step back right now
[22:58:46] *** jmichaelward has joined #angularjs
[22:58:48] <TheAceOfHearts> Foxandxss: in your request texts ,you can just create random values: for example, if you require a name and a date, you can use Chance.js to generate em, and store em in a variable if you wanna check their values; so you don't need to dump the database
[22:58:52] *** scriptThis has joined #angularjs
[22:59:05] *** boxmein has quit IRC
[22:59:13] <TheAceOfHearts> Foxandxss: comongo is kinda shitty. But I'm not a fan of mongo as a whole :(. I like Sequelize a lot, because I like Postgres~
[22:59:16] *** say2joe has joined #angularjs
[22:59:29] <Foxandxss> and for sequelize, saw the yield to create stuff
[22:59:29] *** joroc has quit IRC
[22:59:36] <TheAceOfHearts> yup
[22:59:37] <wafflej0ck> bigorangemachine: perhaps ngDialog solves the problem I haven't used it yet but it seems a bit more comprehensive for a pop up solution
[22:59:39] <Foxandxss> is that a thunkized sequelize?
[22:59:39] <TheAceOfHearts> it's really sexy
[22:59:41] <TheAceOfHearts> nope
[22:59:46] <TheAceOfHearts> Sequelize returns promises :PO
[22:59:50] <TheAceOfHearts> so you can yield directly
[22:59:57] <Foxandxss> oh, nice
[23:00:01] *** melter has quit IRC
[23:00:08] <TheAceOfHearts> so, this new project i'm doing
[23:00:12] *** adam- is now known as adam12
[23:00:22] *** tsalb has joined #angularjs
[23:00:22] <TheAceOfHearts> I'm hoping to be able to show it to people as an example of how you *could* do a full koa app
[23:00:34] <TheAceOfHearts> but I'm only doing like 20 mins a day
[23:00:36] <TheAceOfHearts> so it'll take a while haha
[23:00:44] <Foxandxss> that sounds good
[23:00:45] *** DLSteve has quit IRC
[23:00:50] <Foxandxss> I am learning node (never really liked it)
[23:00:51] <Foxandxss> but koa is cool
[23:01:03] <Foxandxss> so let's say you have a supertest test for GET /foo
[23:01:11] <Foxandxss> you want to see if the foo you got is the one saved
[23:01:18] <Foxandxss> you still need one real data on your db
[23:01:22] <TheAceOfHearts> yeah
[23:01:29] <TheAceOfHearts> so in that case you would save it
[23:01:30] <Obelich> some one can give a help to make a correct http.get and push :) please here are my gist https://gist.github.com/obelich/fb6e6907e2dcacbd421b here are my plunk but it no work :( http://embed.plnkr.co/27u5ipw9ufSzzO21lYbD/preview
[23:02:00] *** Slowintrepid has quit IRC
[23:02:12] *** dannyc has quit IRC
[23:02:26] *** mogaj has quit IRC
[23:02:44] <TheAceOfHearts> but if you use a Factory, you can just do: var model = generateModel('type'); and then in your test: get '/model/' + model.id => response.model === model.to_json or something like that
[23:02:48] *** despai has quit IRC
[23:02:51] <TheAceOfHearts> then you don't have to tear down the database after each test
[23:02:56] *** yts has joined #angularjs
[23:03:00] *** loverajoel has joined #angularjs
[23:03:00] <TheAceOfHearts> does that make sense ?
[23:03:02] <Grokling> Obelich: I'm almost there - hold on a second or two..
[23:03:08] *** tech2 has joined #angularjs
[23:03:10] <TheAceOfHearts> terrible pseudo-code haha
[23:03:22] <dsdeiz> hey guys, i'm back again with my noob questions :D
[23:03:23] *** jmichaelward has quit IRC
[23:03:26] <Obelich> Grokling: thank you very very very much i wait :)
[23:03:29] <Obelich> ^_^
[23:04:43] <wafflej0ck> Obelich: material is missing http://plnkr.co/edit/045KH1Aqmpp9z3Yi8fMu?p=preview
[23:04:50] <wafflej0ck> Grokling: oh didn't see you were working on it too
[23:05:05] <wafflej0ck> Obelich: also missing call to $scope.getDetalles(); I just added in
[23:05:23] <wafflej0ck> Obelich: look at the console
[23:05:24] *** Yankie has quit IRC
[23:05:32] <wsmoak> I have return $http.get('/api/item’).then( successfn, errorfn ) … how do I set a timeout in case the http request never returns?
[23:05:37] *** omolin4 has joined #angularjs
[23:05:45] *** Embassy has joined #angularjs
[23:05:50] <wsmoak> the angular docs for ‘timeout’ are about deferring something
[23:05:53] *** diosney has quit IRC
[23:05:54] *** katsh has joined #angularjs
[23:06:02] *** Sontakey has quit IRC
[23:06:07] <wafflej0ck> Obelich: currently it cannot find "codigo" of "material" because there is no "material" object on "value"
[23:06:27] *** doginal has quit IRC
[23:06:55] *** omolin4 has quit IRC
[23:06:57] *** anivemin has quit IRC
[23:07:10] <helen_> curious, does sequelize work for only node or can it work in browsers too (like for sqllite on mobile)
[23:07:12] <wsmoak> what happens now is just … nothing (browser is responsive) and then when I reload the page, I finally see what I console.log()’d in the errorfn. presumably it gives up on the request as part of cleaning up / unloading the page.
[23:07:13] *** P1RATEZ has quit IRC
[23:07:20] <wafflej0ck> wsmoak: that's the same thing you want to do, $timeout(function(){$scope.timedOut = true}, 10000)
[23:08:33] *** melter has joined #angularjs
[23:08:45] <Obelich> wafflej0ck: ignore that rename for other sample text :P
[23:08:56] <wafflej0ck> wsmoak: don't literally store primitives on the scope by the way this is just for the sake of brevity
[23:09:08] *** BillCriswell has quit IRC
[23:09:10] *** phuh has quit IRC
[23:09:24] *** icarus75 has quit IRC
[23:09:36] *** phuh has joined #angularjs
[23:10:05] *** FIFOd[a] has quit IRC
[23:10:21] *** chrisbirk has joined #angularjs
[23:11:22] *** hell_razer has quit IRC
[23:11:26] *** tristanp has quit IRC
[23:11:36] <wsmoak> wafflej0ck: I haven’t used $scope yet. not sure how to apply your suggestion… the relevant bit is 53-63 on https://github.com/wsmoak/geojson-example/blob/master/public/client.js
[23:12:02] *** umib0zu has quit IRC
[23:12:08] <wafflej0ck> wsmoak: okay no worries what I meant by $scope is just going to be "this" since you're using the controllerAs syntax
[23:12:14] <wafflej0ck> or self here
[23:12:24] *** loverajoel has quit IRC
[23:12:39] *** FrankH_ has joined #angularjs
[23:12:44] *** evanjs has quit IRC
[23:13:06] *** JMZ_DMZ has joined #angularjs
[23:13:15] *** jonr22 has joined #angularjs
[23:13:17] *** arpu has quit IRC
[23:13:31] <JMZ_DMZ> just put a favicon in root dir of app/ and dists/ ... Any ideas why it isn't showing up? emptied my browser cache...
[23:13:34] <bigorangemachine> wafflej0ck ya I will check that out
[23:13:47] <Grokling> Obelich: People keep calling me.. anyway: http://plnkr.co/edit/3jn75RH1Np6ALAMdzrNf?p=preview
[23:13:57] <wafflej0ck> wsmoak: the controllerAs syntax and using "this" to reference the "scope" is relatively new in Angular so I haven't totally made the switch yet.... before using controllerAs like MainCtrl as main, you would inject $scope like you are $http and that's what you would add your methods and a reference to your model from
[23:13:58] *** cactauz is now known as cacts
[23:14:10] <ish> hmm.. While I more or less like the controllerAs syntax, I was already putting my model in an object. So now I've got 2 dots.. vm.mode.whatever..
[23:14:17] <ish> s/mode/model
[23:14:25] *** rileylar_ has quit IRC
[23:14:28] <dsdeiz> anyone can suggest on how i can implement access control on directives? i'm using directives as a form of widgets
[23:14:42] <wafflej0ck> JMZ_DMZ: the way you specify these across various browsers seems to vary a bit I end up with a chunk of tags for various file types for favicons
[23:15:08] *** caitp has joined #angularjs
[23:15:16] <wsmoak> wafflej0ck: I still don’t get it. docs for $timeout say fn is “A function, whose execution should be delayed.” I don’t want to delay my http call…
[23:15:40] <JMZ_DMZ> wafflej0ck: I didn't see any examples on google so I thought it was considered straightforward
[23:15:44] <wafflej0ck> wsmoak: no but you do want to delay doing something else like notifying the user the request has timed out
[23:15:57] *** encryptd_fractl has joined #angularjs
[23:16:37] <Obelich> Grokling: let me see to adapt in Rails and see what happen thanks :)
[23:16:42] *** Sontakey has joined #angularjs
[23:17:03] <wafflej0ck> JMZ_DMZ: my config looks like this http://paste.ubuntu.com/9239474/
[23:17:08] <JMZ_DMZ> tnx
[23:17:27] *** dberry37388 has quit IRC
[23:17:51] <wafflej0ck> wsmoak: you don't want to delay calling the $http but you do want to delay setting some boolean or triggering some UI to show to let the user know something timed out or what they can do, if anything
[23:17:53] *** jonr22 has quit IRC
[23:18:05] *** AlfredH__ has joined #angularjs
[23:18:11] <wsmoak> yes. thanks :) just trying to work out the syntax.
[23:18:16] <wafflej0ck> wsmoak: ideally you want to get to the root of the timeout itself and solve that but if there is some user action you would want to let them know at that point
[23:18:39] <wafflej0ck> wsmoak: yeah basically should just be like what I wrote except you probably also need a boolean or data or something you check to see if the http completed before saying it timed out
[23:18:39] *** hell_razer has joined #angularjs
[23:18:42] <wsmoak> it’s just my misbehaving api that never returns if someone shut down the databse. oops :)
[23:18:42] *** miezis__ has quit IRC
[23:18:57] <wafflej0ck> heh
[23:19:09] *** cthrax_ has quit IRC
[23:19:13] <wsmoak> but, I figured, it could happen, so I ought to deal with it.
[23:19:31] *** areologist has joined #angularjs
[23:20:01] *** KernelCurry has quit IRC
[23:20:08] *** juanpablo_ has quit IRC
[23:20:21] <wafflej0ck> wsmoak: yeah mixed bag on that, good to be defensive to a degree but not good to program for every possible scenario when those scenarios don't exist, typically more code = more bugs = larger security vulnerability surface
[23:20:27] *** KernelCurry has joined #angularjs
[23:20:36] *** juanpablo_ has joined #angularjs
[23:20:50] *** darrin has quit IRC
[23:21:01] *** ingsoc has quit IRC
[23:21:02] *** juanpablo_ has quit IRC
[23:21:04] <wsmoak> I should probably fix it in the api so it returns an error if it can’t talk to the database...
[23:21:28] *** prbc_ has quit IRC
[23:21:34] *** avjaz has joined #angularjs
[23:21:54] *** disgrntld has joined #angularjs
[23:22:03] *** prbc has joined #angularjs
[23:22:09] *** jaydubya has joined #angularjs
[23:22:31] *** emmesswhy has joined #angularjs
[23:22:33] *** AlfredH__ has quit IRC
[23:23:17] *** Luser has joined #angularjs
[23:23:19] *** mennea has joined #angularjs
[23:23:19] *** juampy_backlater has quit IRC
[23:23:22] *** hell_razer has quit IRC
[23:23:34] *** mennea_ has quit IRC
[23:23:43] *** Luser has quit IRC
[23:24:09] *** Fuzzy has joined #angularjs
[23:24:12] *** Luser has joined #angularjs
[23:25:09] *** adpirz has joined #angularjs
[23:25:48] *** Fuzzier has quit IRC
[23:26:36] *** prbc has quit IRC
[23:27:11] *** JohnBat26 has quit IRC
[23:27:14] *** joroc has joined #angularjs
[23:27:22] *** cotko has joined #angularjs
[23:27:48] *** MaxV has quit IRC
[23:27:52] *** baweaver has joined #angularjs
[23:28:03] *** doodlehaus has quit IRC
[23:28:05] *** beckyconning_ has quit IRC
[23:28:09] *** dc_ has quit IRC
[23:28:19] *** dan2k3k4 has quit IRC
[23:28:28] *** bigorangemachine has quit IRC
[23:28:38] *** Luser has quit IRC
[23:28:46] *** dc_ has joined #angularjs
[23:28:53] *** sonofdirt has quit IRC
[23:28:59] *** emmesswhy has quit IRC
[23:29:28] *** sonofdirt has joined #angularjs
[23:29:45] *** adpirz has quit IRC
[23:30:05] *** cthrax_ has joined #angularjs
[23:30:27] *** minimoo1 has quit IRC
[23:30:45] *** Sky[x] has quit IRC
[23:31:14] *** JmZ is now known as JmZ_
[23:31:53] *** Schrodinger`Cat has quit IRC
[23:32:22] *** mrf3000_ has joined #angularjs
[23:32:22] *** baweaver has quit IRC
[23:32:27] *** rikkipitt has joined #angularjs
[23:32:28] *** mrf3000 has quit IRC
[23:32:42] *** Oxynum has quit IRC
[23:32:57] *** adarshaj has quit IRC
[23:33:05] *** jagga has quit IRC
[23:33:06] *** kwaledesign has quit IRC
[23:33:07] *** mariusz has quit IRC
[23:33:13] *** platonic has joined #angularjs
[23:33:37] *** sonofdirt has quit IRC
[23:33:47] *** baweaver has joined #angularjs
[23:33:51] *** brownish has joined #angularjs
[23:34:21] *** KernelCurry has quit IRC
[23:34:47] *** tomengland_mbp has joined #angularjs
[23:35:06] *** KernelCurry has joined #angularjs
[23:35:49] *** chrisbirk has quit IRC
[23:36:05] *** livingstn has quit IRC
[23:36:19] *** Oxynum has joined #angularjs
[23:36:20] *** arathunku has quit IRC
[23:36:26] *** saucey has quit IRC
[23:36:52] *** rikkipitt has quit IRC
[23:37:05] *** baweaver has quit IRC
[23:37:47] *** a3gis has joined #angularjs
[23:37:50] <ish> So I got rows of data back from a service and am rendering it. Whats most common, do some preformatting of the text in the controller, or calling some formatting functions from the template?
[23:37:55] *** platonic has quit IRC
[23:38:12] *** whunt_ is now known as whunt
[23:38:13] <wafflej0ck> ish: filters are nice for this kind of thing
[23:38:27] *** mdedetrich has joined #angularjs
[23:38:27] <wafflej0ck> ish: if you just want to transform some data for display
[23:38:30] *** mennea has quit IRC
[23:38:31] *** chrisbirk has joined #angularjs
[23:39:20] *** tjsail33_ has joined #angularjs
[23:39:33] *** mzabriskie has quit IRC
[23:39:49] *** baweaver has joined #angularjs
[23:39:53] *** xxtjaxx has quit IRC
[23:39:57] <wafflej0ck> ish: define like, module.filter('myFilter', function(){return function(input){return input.toLowerCase(); /*transform input and return result*/}}); usage is like {{myThing.prop | myFilter}}
[23:40:27] *** elrabin has quit IRC
[23:40:35] <ish> oh, yeah.. Thats a bit cleaner than what I've been doing.
[23:40:59] <tjsail33_> hey guys, question for you angular wizards out there.
[23:41:18] <wafflej0ck> ish: only "down side" is it doesn't work out for ng-model since that needs a writeable value, there you have to use $formatters/$parsers I believe along with ngModelController
[23:41:39] <wafflej0ck> ish: or transform the data elsewhere
[23:41:40] <tjsail33_> i have an input as follows, that isnt "covered" by any other elements, but i cant modify the text in it. input.file-rename(type="text", ng-model="selectedFile.name", ng-show="selectedFile && selectedFile._id === file._id && renamingFile", ng-blur="commitRename()",ng-click="$event.stopPropagation()")
[23:41:51] *** wa5ted_away is now known as wa5ted
[23:41:54] *** adarshaj has joined #angularjs
[23:41:54] *** say2joe has quit IRC
[23:42:29] *** FrankH_ has quit IRC
[23:42:38] *** KernelCurry has quit IRC
[23:43:10] *** moritzs has quit IRC
[23:43:22] *** getn_outchea has quit IRC
[23:43:29] *** KernelCurry has joined #angularjs
[23:44:09] <ish> wafflej0ck: Thanks for that example. I'm do a little more than uppercase, but not much more, so its perfect.
[23:45:15] *** say2joe has joined #angularjs
[23:45:33] <nickeddy> robdubya: thanks again for the help
[23:45:41] *** shpoont has joined #angularjs
[23:46:09] *** roven has quit IRC
[23:46:19] *** JMZ_DMZ has quit IRC
[23:47:14] *** say2joe has quit IRC
[23:47:37] *** MaxV has joined #angularjs
[23:47:41] *** tomengland_mbp has quit IRC
[23:48:18] *** bundledavid has joined #angularjs
[23:48:42] *** cilkay has quit IRC
[23:48:49] *** plato1 has joined #angularjs
[23:49:11] *** Fishy__ is now known as Fishy_
[23:49:18] *** pushbyte has quit IRC
[23:49:26] *** Fishy_ is now known as Fishy
[23:49:52] *** ahtik has quit IRC
[23:49:55] *** plato has quit IRC
[23:50:52] *** MaxV_ has joined #angularjs
[23:51:04] *** tomengland_mbp has joined #angularjs
[23:51:17] *** MaxV has quit IRC
[23:51:21] *** startupality has joined #angularjs
[23:51:48] *** codeman has joined #angularjs
[23:52:33] *** kotyy has quit IRC
[23:53:07] *** bundledavid has quit IRC
[23:53:23] *** ron1 has quit IRC
[23:54:08] *** doginal has joined #angularjs
[23:54:26] *** josh-k has joined #angularjs
[23:54:30] *** larsgk has quit IRC
[23:54:39] *** KernelCurry has quit IRC
[23:55:02] <wafflej0ck> tjsail33_: dunno what you mean by can't modify the text in it showing a running example in plunkr helps, also from the looks of what you've got you might want to take a look at angular-x-editable since it helps with the cancellation/restoration of the stored value and some other nice things
[23:55:45] <tjsail33_> like i cant focus the input, change the text in it, etc. thanks for the module rec, i'll check it out
[23:56:09] *** oncenull has joined #angularjs
[23:56:18] *** oste has quit IRC
[23:56:56] *** scriptThis has quit IRC
[23:57:10] *** avjaz has quit IRC
[23:57:18] *** bayousoft has quit IRC
[23:57:35] <wafflej0ck> tsalb: yeah never seen that behavior really got a running example somewhere?
[23:57:57] *** hapiwondrr has quit IRC
[23:58:06] *** rhp has quit IRC
[23:58:18] <Grokling> wafflej0ck: custom filters. i.e. ng-repeat = "thing in collectionOfThings | myCustomFilter" I had thought that the filter was called for each 'thing'. (I still think it is), but when I interrogate the incoming value in the filter, I see the collectionOfThings array.
[23:58:33] <tjsail33_> i dont unfortunately. we were toying with changing the ui so the rename action occurred elsewhere, so i'll likely push for that harder
[23:58:35] <tjsail33_> thanks
[23:58:41] <wafflej0ck> Grokling: think it passes the array then the elment then the index or something
[23:58:55] *** ciwolsey has joined #angularjs
[23:59:01] <wafflej0ck> Grokling: dunno if I ever found the docs on that though just through experimentation and digging through the source or others code
[23:59:23] <wafflej0ck> oh wait
[23:59:30] *** JSONB has joined #angularjs
[23:59:31] <wafflej0ck> no it expects you to just return a new array
[23:59:41] *** onc3null has joined #angularjs
[23:59:45] <wafflej0ck> so you process all the elements in the incoming array and return the result array
[23:59:56] <wafflej0ck> it's not really like a forEach thing
top

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