Switch to DuckDuckGo Search
   November 13, 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:11] *** AngularUI has joined #angularjs
[00:00:11] <AngularUI> [ng-grid] c0bra pushed 4 new commits to rewrite-cellnav: http://git.io/W04ZFQ
[00:00:12] <AngularUI> ng-grid/rewrite-cellnav c0951d2 c0bra: Remove debugger statement
[00:00:12] <AngularUI> ng-grid/rewrite-cellnav b8f8d3f c0bra: fix(uiGridMenu): Only run applyHide when not shown...
[00:00:12] <AngularUI> ng-grid/rewrite-cellnav f67ee9b c0bra: fix(Grid): Avoid too-early header height calc...
[00:00:12] *** AngularUI has left #angularjs
[00:00:25] <derickf> ok I’ll try <ng-show=“..”> … </ng-show>
[00:00:34] *** shredjs has quit IRC
[00:00:38] <Foxandxss> no
[00:00:47] <Foxandxss> he means that if you want to hide let's say a button
[00:00:51] <Grokling> yeah. no.
[00:00:52] <Foxandxss> you don't need to wrap it n a div
[00:00:57] <Foxandxss> you can put the ng-show on the button
[00:01:11] <jaawerth> eslaron: that isn't enough info to debug it. But angular 1.3 does work with restangular 1.4 so you've probably got another failure going on. Did you include lodash before restangular?
[00:01:11] <Grokling> <button ng-show="whatever"></button>
[00:01:23] <derickf> right, in this case I have more than one item i want to hide and I want to just put it under one ng-show rather than putting it on all the elements
[00:01:36] <eslaron> jaawerth, no, I didn't
[00:01:47] <Grokling> And you don't have an element around all of those elements you can use?
[00:01:52] *** kirfu has quit IRC
[00:02:01] <derickf> I do, but there are two groups of things in it
[00:02:12] <derickf> some are common to both
[00:02:37] *** mdedetri_ has quit IRC
[00:02:40] <jaawerth> well you gotta wrap it in SOMETHING. The ng-show directive is restricted to being used as an attribute, so you'd need to use some sort of parent element
[00:02:47] *** Linell has quit IRC
[00:02:49] *** mdedetri_ has joined #angularjs
[00:02:57] *** juanpablo_ has quit IRC
[00:02:59] <jaawerth> you could write your own version that lets you use comment directives I guess, but those are weird
[00:03:08] *** mdedetrich has quit IRC
[00:03:23] <derickf> Ok, I guess I’ll have to fiddle with the form layout, thanks!
[00:03:27] <Grokling> Either wrap the elements in something, or put ng-show on each element (or group?)
[00:04:01] *** digisky1 has joined #angularjs
[00:04:07] *** frankblizzar has joined #angularjs
[00:04:10] *** eamonn has quit IRC
[00:04:18] <eslaron> jaawerth, is lodash required?
[00:04:19] *** yelvert has quit IRC
[00:04:41] *** thomastuts has quit IRC
[00:05:23] *** bmac has quit IRC
[00:05:23] <jaawerth> eslaron: you'll have to check the docs. All I know is when I clicked to add restangular in plunkr, it also added lodash automatically, which would suggest that it probably is.
[00:05:26] <TheAceOfHearts> yes
[00:05:33] <jaawerth> and given what restangular does
[00:05:42] <jaawerth> yeah, gotta be required
[00:06:02] *** Guest68630 has joined #angularjs
[00:07:06] *** SergioFilhow_ has joined #angularjs
[00:07:22] *** eamonn has joined #angularjs
[00:07:28] *** Shilon has quit IRC
[00:07:38] *** digisky has quit IRC
[00:07:40] *** ChadStrat has quit IRC
[00:07:54] *** patrickarlt has joined #angularjs
[00:08:19] <eslaron> jaawerth, I got the cause. I switched to noncompressed angular and It says that _ is undefined so probably as you said. It needs lodash
[00:08:26] *** mmealling has quit IRC
[00:09:19] *** panda__ has quit IRC
[00:09:25] *** trend has quit IRC
[00:09:30] *** Sgeo_ has quit IRC
[00:10:17] <jaawerth> figured as much
[00:10:42] *** dman777_alter has quit IRC
[00:11:12] *** Snugug has joined #angularjs
[00:11:17] *** SergioFilhow_ has quit IRC
[00:11:26] *** sugarcane has quit IRC
[00:11:42] *** freeman42 has quit IRC
[00:11:46] *** DigitallyBrn has quit IRC
[00:11:58] *** freeman42 has joined #angularjs
[00:12:30] *** ChadStrat has joined #angularjs
[00:12:50] *** nagappan_ has quit IRC
[00:12:55] *** dylang has quit IRC
[00:12:57] *** trend has joined #angularjs
[00:13:17] *** Sgeo has joined #angularjs
[00:13:21] *** derickf has quit IRC
[00:13:38] *** nagappan_ has joined #angularjs
[00:13:45] <eslaron> Anyway thanks ^^
[00:14:18] <jaawerth> sure thing
[00:14:25] *** josh-k has quit IRC
[00:14:45] *** SergioFilhow has joined #angularjs
[00:15:00] *** SergioFilhow has joined #angularjs
[00:15:43] *** cthrax has joined #angularjs
[00:15:51] *** baweaver has joined #angularjs
[00:16:03] *** greengriminal has quit IRC
[00:16:13] *** Sky[x] has joined #angularjs
[00:16:18] *** Snugug has quit IRC
[00:16:29] *** adpirz has joined #angularjs
[00:17:15] *** rtpg has joined #angularjs
[00:17:52] *** Snugug has joined #angularjs
[00:17:57] *** jasonp has quit IRC
[00:18:07] *** iribarne has joined #angularjs
[00:19:23] *** Slowintrepid has joined #angularjs
[00:19:29] *** tomzx is now known as tomzx`afk
[00:19:48] *** joelwallis has joined #angularjs
[00:19:52] *** vassagus has quit IRC
[00:20:10] *** mjs2600 has joined #angularjs
[00:20:28] *** TripTastic has quit IRC
[00:20:35] *** Snugug has quit IRC
[00:20:44] *** faddah has joined #angularjs
[00:20:53] *** adpirz has quit IRC
[00:21:08] *** doginal_ has joined #angularjs
[00:21:31] *** mven has quit IRC
[00:21:48] *** uru is now known as uru|away
[00:21:52] *** doginal has quit IRC
[00:21:52] *** doginal_ is now known as doginal
[00:22:37] *** hnomad has joined #angularjs
[00:22:51] *** woah has quit IRC
[00:22:58] *** jasperridge has joined #angularjs
[00:23:13] *** jdcasey has quit IRC
[00:24:16] *** tskaggs has joined #angularjs
[00:24:26] *** xuu has quit IRC
[00:24:53] *** patrickarlt has quit IRC
[00:24:56] *** xuu has joined #angularjs
[00:25:58] *** AimerPaddle has joined #angularjs
[00:26:01] *** patrick99e99 has joined #angularjs
[00:26:46] *** marcjs has quit IRC
[00:27:10] *** crakrjak has joined #angularjs
[00:27:19] *** cbeacock1 has quit IRC
[00:27:58] *** niklasmodess has quit IRC
[00:28:27] <Guest57752> how can i retrieve a local path with angularjs?
[00:28:41] *** zlalanne has quit IRC
[00:28:53] *** xuu has quit IRC
[00:29:00] *** xuu has joined #angularjs
[00:29:16] <Guest57752> like upload a file, if the guy doens't upload any file, put a default file
[00:30:08] *** shackleford has quit IRC
[00:30:25] *** Aswebb has quit IRC
[00:30:26] *** _ritchie_ has quit IRC
[00:31:06] *** mdedetri_ has quit IRC
[00:31:41] *** patrick99e99 has quit IRC
[00:32:10] *** dcherman has quit IRC
[00:32:12] *** dhcar is now known as dhcar_AFK
[00:32:29] *** tschundeee has joined #angularjs
[00:32:30] *** MistahKurtz has quit IRC
[00:32:32] *** patrickarlt has joined #angularjs
[00:32:55] *** w1s3b0y has joined #angularjs
[00:33:33] *** discgo has quit IRC
[00:33:48] *** Shilon has joined #angularjs
[00:33:52] *** preben_ has quit IRC
[00:33:56] *** P1RATEZ has quit IRC
[00:34:42] *** desp has quit IRC
[00:35:26] *** MistahKurtz has joined #angularjs
[00:35:31] *** Wiseboy has quit IRC
[00:35:57] *** patrickarlt has joined #angularjs
[00:36:36] <kba> j expressjs
[00:36:40] <kba> woups.
[00:37:19] *** thumpba has joined #angularjs
[00:37:30] *** dhcar_AFK is now known as dhcar
[00:37:54] *** thumpba has quit IRC
[00:38:15] *** evilaliv3 has quit IRC
[00:38:26] *** thumpba has joined #angularjs
[00:40:06] *** mdedetrich has joined #angularjs
[00:40:07] *** crakrjak has quit IRC
[00:40:22] *** auser has joined #angularjs
[00:40:42] <Foxandxss> kba: hey hey hey no cheat on us
[00:40:51] *** yts has quit IRC
[00:41:25] *** sonofdirt has quit IRC
[00:41:30] *** rtpg has quit IRC
[00:41:42] <kba> Foxandxss: Hah, I don't think express.js is cheating on you, is it? ;)
[00:41:47] <kba> I hear the MEAN stack is pretty popular
[00:41:51] <Foxandxss> nah, no one talks on there ;(
[00:41:57] *** bkuberek_ is now known as bkuberek
[00:42:03] <Foxandxss> yeah, it is
[00:42:05] *** sonofdirt has joined #angularjs
[00:42:07] *** Shilon has quit IRC
[00:42:26] <kba> I've for a long time used some PHP backend, but I'm getting tired of it
[00:42:31] <kba> do you have any other suggestions? :)
[00:42:34] <kba> instead of MEAN
[00:42:35] *** patrickarlt has quit IRC
[00:43:00] <Foxandxss> everyone have their own preferences
[00:43:08] *** patrickarlt has joined #angularjs
[00:43:11] <Foxandxss> someone likes node, other doesn't, other are PHP, other rails
[00:43:18] <Foxandxss> make your own ideas, you will be happier
[00:43:26] *** caitp has quit IRC
[00:43:34] <SergioFilhow> Node.JS is the best IMHO
[00:43:37] <kba> then my idea is to try out MEAN
[00:43:44] <Foxandxss> go ahead
[00:43:48] <kba> yeah, I can imagine the synergy between a back- and frontend in JS
[00:43:51] <Grokling> kba: I'm using sailsjs. I like it a lot more than I liked PHP.
[00:43:54] <kba> and a database that supports JSON
[00:43:56] <Foxandxss> if possible not with those mean.io or alike
[00:44:11] <kba> Grokling: have you tried Express?
[00:44:19] <Grokling> sails uses express.
[00:44:21] <SergioFilhow> I'm not using MongoDB, I'm currently using MySQL with Sequelize as ORM
[00:44:24] <kba> Okay
[00:44:37] <Foxandxss> SergioFilhow: how's sequelize?
[00:44:48] <kba> well, for my current project, a relational database has just been so much trouble
[00:45:10] <kba> I was hoping MongoDB would make it easier, but I honestly don't have much experience with it
[00:45:10] *** zzing has joined #angularjs
[00:45:13] *** shampine has joined #angularjs
[00:45:21] *** Guest68630 has quit IRC
[00:45:41] <GreenJello> kba, mongo's easier to use and easier but harder to track down bugs
[00:45:47] <kba> but the idea that if I in my UI have the possibility to create a variable amount of "concepts" with lists (of varying length) and a bunch of fields
[00:45:49] <kuadrosx> Foxandxss: other go
[00:45:51] *** kirfu|work has joined #angularjs
[00:45:55] <Grokling> kba: Usually that's because nobody has been in charge of normalising things - mongo takes away that need, but you still need to understand how your data is related, otherwise great pain will ensue.
[00:45:57] <kba> I have to do a whole lot of stuff with that data to get it into a relational database
[00:46:09] *** michaelSharpe has joined #angularjs
[00:46:09] <Foxandxss> kuadrosx: what you mean?
[00:46:10] <kba> split it up into 3 tables and there's like 50 lines of conversion code both back and forth
[00:46:22] <Grokling> kba sounds like you need an ORM.
[00:46:24] <kba> GreenJello: why harder to track down bugs?
[00:46:34] <GreenJello> kba, that sounds like mongo would be a good choice then
[00:46:35] *** nesquerra has joined #angularjs
[00:46:42] *** sonofdirt has quit IRC
[00:46:46] *** mspier is now known as mspier|away
[00:46:54] <Grokling> sails has waterline for that job (works on relational, and/or mongodb)
[00:46:59] <kba> Grokling: how would an ORM help? I mean, okay, it would help some, but I would still have a lot of fiddling to do with the data
[00:47:09] <kba> where as with mongodb, I expect I can more or less just throw in my blob
[00:47:15] <kuadrosx> Foxandxss: just adding other option to your list of "languages"
[00:47:16] <GreenJello> kba, it's rare that a call to mongo fails, so you can easily do silly things that appear to work, like make typos in table names, or put a string where a number belongs, etc.
[00:47:35] *** Fishy has quit IRC
[00:47:38] <Foxandxss> kuadrosx: ah, but why you say that? I don't follow
[00:47:38] <GreenJello> s/table/collection
[00:47:47] <kba> ah, right
[00:47:51] *** patrickarlt has quit IRC
[00:47:54] *** mven has joined #angularjs
[00:48:03] <kba> yeah, I understand that mongodb just queues the operation
[00:48:09] <kba> and doesn't actually perform it right away
[00:48:17] <kba> which is why it performs so well
[00:48:39] <kba> but I assume it's still reliable enough for non-mission-critical systems
[00:49:01] <Grokling> kba: sure, you can use it as blob storage if you want. I come from a relational dba background, so I think relationally, and that totally skews my perspective on things.
[00:49:04] *** mspier|away is now known as mspier
[00:49:12] *** night-owl is now known as zz_night-owl
[00:49:36] <kba> so do I, but here the relationel model just seems like so much work
[00:49:40] *** fultonbyrne has joined #angularjs
[00:49:40] *** fultonbyrne is now known as dogsy
[00:50:11] <dogsy> can someone take a look at this gist for me? I'm having trouble injecting my controller into a jasmine test spec.
[00:50:11] *** eBureau has joined #angularjs
[00:50:17] <dogsy> https://gist.github.com/Freyert/f849000859c9ba3e7a74
[00:50:23] *** disorder20 has quit IRC
[00:50:24] *** shinnya has joined #angularjs
[00:50:26] <Grokling> Totally depends what you're doing. I can't get away from it with my current project - it would make no sense at all to be non-relational.
[00:50:42] <kba> yeah
[00:50:47] <kba> that's usually the case
[00:50:53] *** nesquerra has quit IRC
[00:50:56] <Foxandxss> dogsy: what's the error? (apart from having the important bits commented out)
[00:51:14] *** Cryode has joined #angularjs
[00:51:23] *** livingstn has joined #angularjs
[00:51:35] <dogsy> [ng:areq] http://errors.angularjs.org/1.2.26/ng/areq?p0=DashboardCtrl&p1=not%20a%20function%2C%20got%20undefined
[00:51:35] <kba> but to put it simply... I have some "Observations" and they can have a number of concepts associated with them. For now, modelled as a one-to-many in two tables.
[00:51:46] *** snapwich has quit IRC
[00:52:00] <Foxandxss> dogsy: oh, on line 4, you just need to
[00:52:04] <Foxandxss> module('dashboard')
[00:52:10] <kba> Each concept then has a lot of options (about 20 checkboxes) which are also in their own table, many-to-many.
[00:52:10] <Foxandxss> to use angular mock's module function
[00:52:12] <Foxandxss> not angular one
[00:52:27] *** Efrem has quit IRC
[00:52:46] <kba> But on top of that, each concept has these 8 categories of "things". And each category can consist of a variable number of "things".
[00:52:49] *** Cryode has quit IRC
[00:53:00] <kba> And the things aren't all alike, so I can't just show all the 8 categories of "things" into a table.
[00:53:24] <kba> So I have 4 more table here for different things and a few association tables.
[00:53:33] <kba> Oh, and also I have files. So there's a file table, too, associated with each concept.
[00:53:38] <dogsy> Foxandxss: I still get the error
[00:53:40] <kba> It's hell for RDB.
[00:53:52] <Foxandxss> dogsy: is that controller living on that module?
[00:53:56] *** c00ljs has joined #angularjs
[00:54:38] <Foxandxss> and is your real file also loaded with the test ? (the file with the module initialization and the one where the controller is defined)
[00:54:39] <dogsy> Foxandxss: Sure is
[00:55:05] <dogsy> Foxandxss: Modue initialization?
[00:55:09] <dogsy> *Module
[00:55:12] *** patricka_ has joined #angularjs
[00:55:18] <Guest57752> hmmm How can I use Filereader to read a file from my os.path?
[00:55:19] <Grokling> kba sounds fun. Sounds initially like it needs some further abstraction in a few places. My thing is complex like that too, and I've had several people look at it at not understand the why until we get down into the detail, so I hear you!
[00:55:24] <Foxandxss> yes, where yo do the angular.module('dashboard', [])
[00:55:26] <dogsy> as in angular.module(oasis.dashboard, [])?
[00:55:38] <Foxandxss> yeah
[00:55:44] <dogsy> Yeah the controllers are hanging off it. I even looked in the invoke queue and could see them.
[00:56:00] <Foxandxss> there is nothing else
[00:56:07] *** patricka_ has quit IRC
[00:56:07] <Foxandxss> uhm, same angular and angular-mocks version?
[00:56:08] *** Cryode has joined #angularjs
[00:56:38] <kba> Grokling: well, I'm not sure how I could create further abstractions. But I also simplified the explanation here a bit. Either way, there's lots of different data, so it's a bit of a hassle with an RDBM at least :)
[00:56:40] *** tfennelly has quit IRC
[00:56:42] *** hnomad has quit IRC
[00:56:51] <Grokling> kba: Definitely worth checking out sailsjs - it's database agnostic, so you can use mongo, or even the new postgres JSON support stuff. Sails lets you query across adapters too, so if you wanted some relational, and some mongo, then you can do that too.
[00:56:56] <kba> but I think I'll start to read up on Express... I assume I shouldn't jump straight to sails without knowing Express
[00:56:58] *** Oddman has joined #angularjs
[00:57:04] <dogsy> Foxandxss: 1.2.26
[00:57:26] <Foxandxss> show me the updated spec
[00:57:30] <Grokling> kba: I'd go straight to sails - they've wrapped express up, so you basically never need to directly touch it.
[00:57:50] <Foxandxss> sails is cool, little bit green, but cool (that is just imho)
[00:58:08] <dogsy> Foxandxss: holy cow, I think it just worked.
[00:58:08] *** tfennelly has joined #angularjs
[00:58:10] *** baweaver has quit IRC
[00:58:12] <SergioFilhow> Foxandxss: Sequelize is a ORM Framework that works with Postgres, MySQL and MsSQL
[00:58:22] <Grokling> really low barriers to entry, and you can get something simple up and going pretty quick.
[00:58:28] *** baweaver has joined #angularjs
[00:58:29] <kba> Ah, cool. I have a common user/group system which I assume is fine in an RDBMS, but I'm just not sure how I like mixing the two, using both mongo and MySQL
[00:58:29] <Foxandxss> SergioFilhow: yes, I ask "how" not "what" :P
[00:58:30] *** rafaelabreu has joined #angularjs
[00:58:32] <Foxandxss> I mean, how good it is
[00:58:49] <kba> Grokling: cool, I'll do that that
[00:58:52] <kba> that then*
[00:58:52] *** charsoft has joined #angularjs
[00:58:55] *** rafaelabreu has left #angularjs
[00:59:04] *** bkuberek has quit IRC
[00:59:16] <kba> how big is the community of sails? I don't think I've heard of it before
[00:59:29] *** Slowintrepid has quit IRC
[00:59:29] <Grokling> Sequelize is a bit ahead of waterline in many areas.
[00:59:34] <Guest57752> how can i reach /home/user/file.txt from a directive ?
[00:59:47] <kba> Grokling: I don't know those words ;)
[00:59:59] <Grokling> sails is pretty well supported #sailsjs here among other things.
[01:00:01] <SergioFilhow> Foxandxss: It's easy to configure, create models and to manage queries, because it works full on promises
[01:00:17] <SergioFilhow> Foxandxss: It's easy to manage transactions too
[01:00:24] *** _ritchie_ has joined #angularjs
[01:00:28] <dogsy> Foxandxss: Thank you so much! However if I try to use the commented out area it doesn't work.
[01:00:30] <Foxandxss> I see
[01:00:32] <Grokling> waterline is the ORM layer that sailsjs uses.
[01:00:47] <kba> Okay
[01:00:50] <Foxandxss> dogsy: yeah, forget about that, you're instantiating that below
[01:00:57] <SergioFilhow> But for some complex queries I use another module: squel
[01:01:06] <SergioFilhow> in addition to Sequelize
[01:01:10] <Foxandxss> dogsy: http://angular-tips.com/blog/2014/02/introduction-to-unit-test-toc/
[01:01:22] <Foxandxss> I see, thanks
[01:01:25] *** Guest68630 has joined #angularjs
[01:01:30] <kba> is the ORM for both SQL and noSQL?
[01:01:33] <Foxandxss> I am very ignorant on the node stuff
[01:01:35] <Grokling> SergioFilhow: Yeah, the complex queries are a killer for sequelize.. The syntax goes a bit nuts.
[01:01:36] <Foxandxss> kba: yes
[01:01:48] <Foxandxss> kba: you can have relations between a mongo document and a mysql table
[01:01:56] <kba> ohh
[01:01:57] <SergioFilhow> Grokling: exactly
[01:01:59] <kba> that's cute
[01:02:03] <deweydb> so $http auto parses json responses into objects, correct? how do i handle a json parse error when i malformed json?
[01:02:26] *** JoshGlzBrk has quit IRC
[01:02:34] <Foxandxss> kba: sails is a bit ahead in ideas and features, but needs work, but that is what the community is for
[01:02:38] <kba> And if I pull something from a database, relational or otherwise, I just get a blob of JSON?
[01:02:43] *** dogsy has quit IRC
[01:02:44] <kba> I guess this is more a Node.JS question
[01:02:51] <Foxandxss> you send back json
[01:02:58] <Foxandxss> from the source you want
[01:03:04] <Foxandxss> but that happens in every backend on the world :P
[01:03:16] *** {DV8} has joined #angularjs
[01:03:19] <kba> uh, whaT?
[01:03:26] <kba> yeah, I know I send JSON through my API to AngularJS
[01:03:30] <Foxandxss> except that one someone made for batch script :P
[01:03:37] *** bade has quit IRC
[01:03:41] <Foxandxss> kba: ah sorry
[01:03:44] <kba> but in PHP (as I use now, for instance), I don't work with JSON at all
[01:03:45] *** CitizenKane has joined #angularjs
[01:03:48] <Foxandxss> quite asleep
[01:03:51] <kba> until I do json_encode() in the end
[01:03:55] *** christianbking has quit IRC
[01:03:57] <kba> and send it out
[01:04:05] <kba> well, I don't really do that, my framework does, but yeah
[01:04:06] <Foxandxss> you get an object and I believe it will do the json stuff for you
[01:04:25] *** Sontakey has joined #angularjs
[01:04:37] <Foxandxss> that squel is col
[01:04:38] *** JoshGlzBrk has joined #angularjs
[01:04:43] <kba> Neat. Do these Node.JS frameworks supply some validation schemes for more complex data structures?
[01:04:44] <Foxandxss> cool*
[01:04:46] *** ProLoser has joined #angularjs
[01:04:56] <Foxandxss> I think that that belongs to the ORM
[01:05:05] <kba> Hmm...
[01:05:07] *** whunt has quit IRC
[01:05:08] <Foxandxss> so normally yes, you have that
[01:05:09] *** Reskp has quit IRC
[01:05:14] *** tomzx`afk is now known as tomzx
[01:05:14] *** apertoire has joined #angularjs
[01:05:26] *** KernelCu_ has joined #angularjs
[01:06:02] *** caitp has joined #angularjs
[01:06:07] *** Reskp has joined #angularjs
[01:06:14] <kba> It's just... The data structure I have:Like a list of concepts, each concepts has 8 lists of things, and the things in the different lists don't have the same structure. E.g. in list A, it's (dropdown value, numeric value, string) and other places it might be (string, string, numeric value)
[01:06:29] *** KernelCurry has quit IRC
[01:06:31] <ProLoser> has anyone used angular-once?
[01:06:31] <kba> because right now it's so tedious to check all of this and transform it into something relational
[01:06:47] *** rtpg has joined #angularjs
[01:06:56] *** dogsy has joined #angularjs
[01:06:58] *** Oxynum has joined #angularjs
[01:07:03] *** Johnny13371337 has quit IRC
[01:07:06] <kba> I was hoping maybe I could just give it a (admitedly, rather complex) model and ask "does this input match the model?" if yes, send it to mongo
[01:07:22] <Foxandxss> that is too much for my headspace sorry
[01:07:32] *** dogsy has quit IRC
[01:07:35] *** trend has quit IRC
[01:07:40] <kba> that's the point :p
[01:07:52] *** rho has quit IRC
[01:07:54] <Foxandxss> heh, looking for node 0.12 info, I almost went to posts from the civil war
[01:07:59] <Foxandxss> damn, it is taking quite a bit
[01:08:25] *** mary5030 has quit IRC
[01:08:31] <kba> my keyboard is metal and my headphones make a buzzing sound unless I touch the metal
[01:09:05] <kba> maybe I should like ground my computer
[01:09:08] <wafflej0ck> kba: taking wired in to a whole new level
[01:09:17] *** apertoire has quit IRC
[01:09:19] <kba> indeed!
[01:09:34] *** FunnyLookinHat has quit IRC
[01:09:36] *** nycdevgirl has quit IRC
[01:09:42] *** frankblizzar has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:13] <monokrome> Hmm... I have a directive that is being compiled, but during compile/link/transclude callbacks it seems like the element's children don't exist. In this case, I need to find some children using the DOM. Where is the proper place to do this?
[01:10:19] <GeneralChoomin> i got a pace maker
[01:10:28] <GeneralChoomin> Ouch my computer is hurting me
[01:10:35] <GeneralChoomin> Halp!
[01:10:39] <Foxandxss> monokrome: link
[01:10:44] <Foxandxss> normally you don't need outside link
[01:10:58] *** Reskp has quit IRC
[01:11:13] *** davecap has joined #angularjs
[01:11:20] <monokrome> Foxandxss: The children don't exist in the compile, pre-link, post-link, or transclude handlers
[01:11:30] *** dnull has joined #angularjs
[01:11:49] <Foxandxss> sorry, can't have this chat now, 1am
[01:11:51] <Foxandxss> going to bed
[01:11:58] <Foxandxss> tomorrow will help if needed
[01:11:58] <Foxandxss> nn
[01:12:02] *** Foxandxss has quit IRC
[01:12:22] *** Oxynum has quit IRC
[01:12:58] *** tfennelly has quit IRC
[01:13:07] *** Oxynum has joined #angularjs
[01:13:33] *** trend has joined #angularjs
[01:14:35] *** davecap has quit IRC
[01:14:52] *** conan_the_destro has quit IRC
[01:16:07] *** KernelCu_ has quit IRC
[01:16:35] *** asher^ has joined #angularjs
[01:17:21] *** rtpg has quit IRC
[01:17:43] *** CitizenKane has quit IRC
[01:18:01] *** artisangoose has quit IRC
[01:18:33] *** fairuz has quit IRC
[01:18:43] *** KernelCurry has joined #angularjs
[01:18:58] *** kalehv has joined #angularjs
[01:19:12] *** rburns has joined #angularjs
[01:19:14] *** TheAceOfHearts has quit IRC
[01:19:16] *** AlSquirrel has quit IRC
[01:19:23] *** macabre has quit IRC
[01:20:26] *** doginal has quit IRC
[01:20:33] <kba> that Intro to Sails.js on the frontpage is really confusing.
[01:20:33] *** conan_the_destro has joined #angularjs
[01:20:37] *** Oddman has quit IRC
[01:20:48] *** doginal has joined #angularjs
[01:22:09] *** mary5030_ has joined #angularjs
[01:22:41] *** cellofellow has joined #angularjs
[01:22:45] *** whunt has joined #angularjs
[01:22:58] *** zz_night-owl is now known as night-owl
[01:23:28] *** Trow has joined #angularjs
[01:23:37] *** joelwallis has quit IRC
[01:24:56] *** BillCriswell has joined #angularjs
[01:25:31] *** rburns has quit IRC
[01:27:30] *** TheAceOfHearts has joined #angularjs
[01:28:09] *** stirlingw has quit IRC
[01:29:28] *** tkimmel has quit IRC
[01:29:43] *** annlewis has quit IRC
[01:30:35] *** plato|wtf has joined #angularjs
[01:31:15] *** fedenunez has joined #angularjs
[01:31:36] *** doginal has quit IRC
[01:31:57] *** a_ghost_irl has joined #angularjs
[01:32:22] *** artisangoose has joined #angularjs
[01:32:32] <Guest57752> can i empty data from app.value('name', {}) ?
[01:33:07] *** mdel has quit IRC
[01:33:44] <kba> Guest57752: you can set it to undefined
[01:33:52] *** Akufen has quit IRC
[01:33:57] *** doug64k has quit IRC
[01:35:04] *** josh-k has joined #angularjs
[01:36:10] <Guest57752> kba: i see, thank you
[01:36:20] *** dhcar is now known as dhcar_AFK
[01:37:33] *** seriema has quit IRC
[01:38:00] *** night-owl is now known as zz_night-owl
[01:38:02] *** josh-k has quit IRC
[01:38:05] *** seriema has joined #angularjs
[01:38:12] *** qdk has quit IRC
[01:38:15] *** marr has quit IRC
[01:38:20] *** dogsy has joined #angularjs
[01:38:40] *** chrisbirk has joined #angularjs
[01:39:10] *** cotko has joined #angularjs
[01:39:45] *** caitp has quit IRC
[01:39:57] *** kalehv has quit IRC
[01:40:03] *** pootpoot has quit IRC
[01:40:40] <Guest68630> If i put in img tags linking out to large pictures, but i style it to 200 by 200, is it still the same load time as the large photo, and if so whats some good techniques to load lower quality versions of it
[01:41:28] <kba> Guest68630: Yes, the client just sends a request to the web server for the image. It doesn't tell the server what proportions it wants the imagine in, that isn't the server's responsibility
[01:41:59] <kba> If you want to save on bandwidt, you'll have to make the server convert the image to a smaller size before it sends it to you. You can't do any of this client side.
[01:42:05] <Guest68630> so if im getting images from imgur, theres nothing i can do unless imgur provides thumnail versions
[01:42:12] <kba> Correct.
[01:42:32] *** seriema has quit IRC
[01:42:42] <Guest68630> ok thanks man
[01:42:44] <kba> It only makes sense--imgur stores the image. How could your client make the image smaller if it doesn't have the image?
[01:43:05] <Guest57752> kba: hm how can i set to undefined in strict mode
[01:43:30] *** tfennelly has joined #angularjs
[01:43:33] <kba> You can't do app.value('foo', undefined); ?
[01:43:49] *** rchavik has joined #angularjs
[01:43:56] *** _ritchie_ has quit IRC
[01:44:25] *** crakrjak has joined #angularjs
[01:44:28] *** ChadStrat has quit IRC
[01:44:49] *** Rejected has quit IRC
[01:44:51] <Guest57752> kba: woot it works :d
[01:45:45] *** nuizzy has quit IRC
[01:46:21] <kba> in regards to making images smaller--and a lot of people may disagree here--I'm usually fine with loading a bigger image than what the UI shows
[01:46:47] *** zzing has quit IRC
[01:46:47] <kba> more and more people are using scaled resolutions, and in that case the browsers are clever enough to not upscale the image, but instead use the full size
[01:47:03] *** icfantv has quit IRC
[01:47:52] *** eamonn has quit IRC
[01:48:01] <kba> for instance, if I have a MacBook Retina with 2560x1600 running in scaled mode, the screen estate is only 1280x800, so if you load an image and show it in a "whole" that's 200x200 on the website
[01:48:09] <kba> the area will actually be 400x400
[01:48:23] <kba> In that case, if you serve a 200x200 image, it'll be upscaled and ugly abd blurry
[01:48:38] <kba> whereas if you serve a 400x400 image, it'll look oh so pretty
[01:48:43] *** crakrjak has quit IRC
[01:48:51] *** crackerzNcheez has quit IRC
[01:49:16] *** freeman42 has quit IRC
[01:49:17] <kba> s/whole/hole
[01:49:54] *** tfennelly has quit IRC
[01:50:19] *** cacts|works has quit IRC
[01:50:44] *** cacts|works has joined #angularjs
[01:51:08] *** gnrlbzik has joined #angularjs
[01:51:12] *** richiebkr has quit IRC
[01:51:30] *** dhcar_AFK is now known as dhcar
[01:51:54] *** cohitre has quit IRC
[01:52:01] *** Akufen has joined #angularjs
[01:52:32] *** dhcar is now known as dhcar_AFK
[01:52:45] *** zwacky has quit IRC
[01:53:14] *** Darall has joined #angularjs
[01:54:14] *** Darall has quit IRC
[01:55:55] <Guest57752> anynoe has a simple image fallback tutorial?
[01:56:12] *** elrabin has joined #angularjs
[01:56:28] *** doginal has joined #angularjs
[01:57:10] <zomg> what exactly would that be?
[01:57:10] *** gishmel has joined #angularjs
[01:57:42] <Guest57752> like hm, for a file upload, if a user doesn't upload his avatar for example
[01:57:49] <Guest57752> i would like to set him a default one
[01:58:01] *** a_ghost_irl has quit IRC
[01:58:54] *** trend has quit IRC
[01:58:57] *** gnrlbzik has quit IRC
[01:59:01] *** thumpba has quit IRC
[01:59:07] *** michaelSharpe has quit IRC
[01:59:12] *** gnrlbzik has joined #angularjs
[01:59:14] <zomg> One simple way to do it would simply be to check if the user has an avatar and if not, then display some other content
[01:59:47] *** trend has joined #angularjs
[02:00:03] *** baweaver has quit IRC
[02:00:12] *** svycka has joined #angularjs
[02:00:41] *** darrin has joined #angularjs
[02:01:57] *** grantfunke_ has quit IRC
[02:02:27] *** ChadStrat has joined #angularjs
[02:02:57] <dsdeiz> hey all so i recently replaced gulp-rimraf with the del module and followed this https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md watch doesn't seem to recognize that the files in the directory were deleted anymore
[02:03:27] *** bmac has joined #angularjs
[02:03:34] *** d4rklit3 has quit IRC
[02:05:27] *** adpirz has joined #angularjs
[02:05:32] *** d4rklit3 has joined #angularjs
[02:05:34] *** mary5030_ has quit IRC
[02:05:49] *** mspier is now known as mspier|away
[02:06:02] *** Shilon has joined #angularjs
[02:07:20] *** hotnikks has left #angularjs
[02:08:15] *** ry-f has joined #angularjs
[02:08:26] *** ry-f has quit IRC
[02:08:56] *** zz_night-owl is now known as night-owl
[02:09:23] *** mot0rola has quit IRC
[02:09:42] *** {DV8} has quit IRC
[02:09:52] *** adpirz has quit IRC
[02:10:05] *** cacts|works has quit IRC
[02:10:09] *** mot0rola has joined #angularjs
[02:10:25] *** trend has quit IRC
[02:11:32] *** junmin_ has quit IRC
[02:12:11] *** cacts|works has joined #angularjs
[02:12:23] *** JR_ has joined #angularjs
[02:12:31] <JR_> hi angular.
[02:12:44] <JR_> i'm thinking of getting myself a macbook
[02:12:53] *** Ramkumar has joined #angularjs
[02:12:54] <JR_> air or mbp 13"?
[02:13:04] *** wallerdev has quit IRC
[02:13:15] *** AimerPaddle has quit IRC
[02:13:22] *** bmac has quit IRC
[02:13:27] <toad-br> +1 MBP
[02:13:34] *** tschundeee has quit IRC
[02:14:10] *** tschundeee has joined #angularjs
[02:14:32] *** slopjong has quit IRC
[02:14:56] <BahamutWC|Work> Macbook Air is good enough for dev I think for frontend at least
[02:15:02] *** dylang has joined #angularjs
[02:15:05] <BahamutWC|Work> it’s a very great portable laptop
[02:15:13] *** dhcar_AFK is now known as dhcar
[02:15:17] *** AciD`` has quit IRC
[02:15:22] <BahamutWC|Work> (have had one for about 1 1/2 years now)
[02:15:31] *** Shilon has quit IRC
[02:15:36] *** Sky[x] has quit IRC
[02:16:03] *** Ix-xitan has quit IRC
[02:17:07] *** Sky[x] has joined #angularjs
[02:17:21] *** hekep has quit IRC
[02:17:22] *** zivester has joined #angularjs
[02:17:22] *** mguillec_ has quit IRC
[02:17:40] <Grokling> Screen real-estate is good. Jumping from my 4 21" screens to a 15" laptop screen is rough. A single 13" would make me want to hurt something. That said, if I'm just slamming out code, I don't even notice what I'm working on.
[02:17:40] *** wallerdev has joined #angularjs
[02:18:31] *** trend_ has joined #angularjs
[02:18:57] *** tschundeee has quit IRC
[02:19:06] *** krawek has quit IRC
[02:20:25] *** greg5green has joined #angularjs
[02:22:38] *** doug64k has joined #angularjs
[02:23:07] *** elrabin has quit IRC
[02:23:50] *** JBreit has joined #angularjs
[02:24:11] *** Guest57752 has quit IRC
[02:24:29] *** shinnya has quit IRC
[02:25:02] *** bbankes has joined #angularjs
[02:25:18] *** Sontakey1 has joined #angularjs
[02:25:44] <wafflej0ck> eh screen real estate is still nice for testing that said external displays are an option
[02:26:46] *** Sontakey has quit IRC
[02:27:25] *** cs44 has quit IRC
[02:27:25] *** doginal_ has joined #angularjs
[02:27:31] *** patrick99e99 has joined #angularjs
[02:28:08] *** recidive has quit IRC
[02:28:09] *** caitp has joined #angularjs
[02:28:19] *** Sontakey has joined #angularjs
[02:28:46] *** {DV8} has joined #angularjs
[02:28:57] *** michaelS_ has joined #angularjs
[02:29:00] <JR_> I have a dvi monitor
[02:29:08] <JR_> i can hook that on when i'm at home
[02:29:26] <JR_> 13" and 15" has a huge price difference.
[02:29:33] <JR_> I can't afford the 15"
[02:29:34] *** Shilon has joined #angularjs
[02:29:45] *** Sontakey1 has quit IRC
[02:29:45] <JR_> btw, is 8gb enough?
[02:29:54] *** michaelS_ has quit IRC
[02:29:57] *** doginal has quit IRC
[02:29:57] *** doginal_ is now known as doginal
[02:30:09] <JR_> was thinking if i should upgrade to 16gb. but the price tag. ouch. apple is really rippers.
[02:30:10] *** rtpg has joined #angularjs
[02:30:17] *** phzon has joined #angularjs
[02:30:48] <Grokling> JR_: Does it have to be apple?
[02:30:53] *** ctanga has quit IRC
[02:30:55] <Fifty5Plus> wafflej0ck hi ... so you done ;?)
[02:31:03] *** crakrjak has joined #angularjs
[02:31:48] *** vbabiy has quit IRC
[02:32:00] *** patrick99e99 has quit IRC
[02:32:45] <wafflej0ck> Fifty5Plus: actually pretty close now, had to take a few steps back to work on some CSS modification stuff but that seems to be working so just doing calulations now for that.. there is some funkiness while it dynamically builds the stylesheet with the UI but will probably just hide everything till that stuff is done
[02:32:58] *** kuadrosx has quit IRC
[02:33:02] <JR_> yes, i have a samsung intel core i7-317u cpu @ 1.9ghz
[02:33:08] <JR_> 8gb ram
[02:33:10] <JR_> 64bit
[02:33:15] *** bbankes has quit IRC
[02:33:19] <JR_> but it's no good for web development.
[02:33:30] <JR_> only good for nitriousio/cloud9/codio
[02:33:38] <wafflej0ck> Fifty5Plus: on the plus side this CSS service thing I made should be good for other stuff too like theming related things
[02:34:03] <Fifty5Plus> wafflej0ck: can angularjs be told to hang on and not show ui changes until they are fully rendered
[02:34:07] <JR_> ever since i didn't need a windows for c# programming, i hated windows for "not having a terminal"
[02:34:19] *** motionman has joined #angularjs
[02:34:24] *** phzon has quit IRC
[02:34:26] <dnull> How can I get moment("YYYY-MM-DD HH:mm:ss").startOf('day')
[02:34:48] *** bbankes has joined #angularjs
[02:34:50] <Grokling> I have 16GB in my laptop (dell inspiron 7000 series). Use 6 on a busy day.. it's aways running a couple of SublimeTexts, node, Mysql, postgres. It's barely even awake while I'm doing web-dev.
[02:34:50] *** crakrjak has quit IRC
[02:35:16] *** junmin has joined #angularjs
[02:35:22] *** Sontakey has quit IRC
[02:35:40] <Grokling> Linux. It's a lot like Mac, only without the pricetag (or the super super fancy mega expensive software)
[02:36:12] <Grokling> ps.. windows has a terminal. Always has done.
[02:36:44] <wafflej0ck> Fifty5Plus: well I can just toggle the display property to none to hide it via the styles, that's basically the same thing ng-show or ng-hide directives do
[02:36:59] *** trend_ has quit IRC
[02:37:24] *** svycka has quit IRC
[02:38:21] *** seriema has joined #angularjs
[02:38:36] <wafflej0ck> Fifty5Plus: angular is bound by what info is available in JS itself and CSS/JS stuff is still lots of proposals and suggestions but various implementations with various degrees of control depending on the browser still
[02:38:56] *** bmac has joined #angularjs
[02:38:57] <wafflej0ck> Fifty5Plus: but through element.style.display = "none" I can at least hide things
[02:39:12] *** connix has joined #angularjs
[02:39:24] *** cakirke has joined #angularjs
[02:40:29] *** Scathen^C has joined #angularjs
[02:40:53] <JR_> a linux bash shell and the shitty windows command prompt is so different.
[02:41:12] <JR_> installing linux technologies into my windows is a pita
[02:41:26] <JR_> i was using linux but i can't really get a hang of it
[02:41:26] *** Dead_Thinker has joined #angularjs
[02:41:28] *** xuu has quit IRC
[02:41:35] <JR_> too much self-customization to be done
[02:41:40] <JR_> very little software support.
[02:41:47] <wafflej0ck> JR_: yeah I ended up just buying a System76 computer preloaded with Ubuntu so far no problems
[02:42:00] <wafflej0ck> JR_: I did burn through a lot of time messing with desktop environments but I have fun with that stuff too
[02:42:12] *** fairuz has joined #angularjs
[02:42:16] <wafflej0ck> have settled on Gnome for now
[02:42:35] *** whitebook has joined #angularjs
[02:42:44] *** Dead_Thinker has left #angularjs
[02:42:49] *** antons has joined #angularjs
[02:43:25] *** seriema has quit IRC
[02:43:39] *** bmac has quit IRC
[02:43:41] *** cornerma1 has joined #angularjs
[02:44:01] *** antons__ has quit IRC
[02:44:08] <wafflej0ck> windows in a virtual box if I need it on my laptop and have a desktop rig for gaming that is dual boot (also OS X drive I can pop in there if I need it for testing or packaging or whatever)
[02:44:34] *** tfennelly has joined #angularjs
[02:44:35] *** RedOrangeZ has joined #angularjs
[02:44:40] <JR_> what does gnome do
[02:44:42] *** merobertsjr has quit IRC
[02:44:57] <JR_> one problem with ubuntu is that i can't install applications properly
[02:45:04] *** tschundeee has joined #angularjs
[02:45:13] <JR_> there isn't a doubleclick installer.exe and a nice gui shortcut on my desktop
[02:45:18] <wafflej0ck> JR_: it's just the desktop environment, draws all the application launcher parts and desktop
[02:45:43] <Grokling> I run linux mint on my systems. It's got an installer you can click if that's how you roll..
[02:45:43] <wafflej0ck> JR_: once you get used to using a package manager like apt-get then using "installers" kind of seems ridiculous but I hear ya it's a double edged sword
[02:46:02] <wafflej0ck> having binaries that could just be installed across linux systems would make that easier for people new to it
[02:46:24] *** motionman has quit IRC
[02:46:30] <wafflej0ck> how OS X handles that packaging all the stuff in a single file is a pretty nice approach but I imagine not very space efficient
[02:46:32] *** CiE has quit IRC
[02:46:33] *** IJNX has joined #angularjs
[02:46:50] <JR_> can i get a mac experience with gnome?
[02:46:53] *** cornerman has quit IRC
[02:47:03] *** cornerma1 is now known as cornerman
[02:47:06] *** CiE has joined #angularjs
[02:47:08] <wafflej0ck> JR_: Elementary OS is the closest desktop experience to OS X from what i hear
[02:47:08] *** Owner__ has joined #angularjs
[02:47:19] <wafflej0ck> haven't tried that one myself though, I've tried KDE, Unity and Gnome recently
[02:47:21] *** whitebook has quit IRC
[02:47:32] *** Owner__ is now known as Guest81373
[02:47:45] *** fedenunez has quit IRC
[02:48:09] *** xuu has joined #angularjs
[02:48:23] <JR_> wow elementary os looks awesome
[02:48:54] <wafflej0ck> JR_: yeah here's a breakdown sheet http://www.renewablepcs.com/about-linux/kde-gnome-or-xfce
[02:48:55] *** beachandbytes has quit IRC
[02:49:06] *** tfennelly has quit IRC
[02:49:09] <wafflej0ck> there's a pretty good set of DEs to pick from though
[02:49:20] *** mspier|away is now known as mspier
[02:49:30] <JR_> which desktop environment does ubuntu 14.04 out of the box uses?
[02:49:31] <wafflej0ck> and in Ubuntu it's not too hard to switch but good to start with a distro that has what you want by default so you don't have to fiddle
[02:49:35] <wafflej0ck> Unity
[02:49:45] <wafflej0ck> I downloaded Ubuntu Gnome edition though
[02:49:50] <wafflej0ck> so had Gnome by default in this one
[02:49:50] *** beachandbytes has joined #angularjs
[02:50:22] *** nesquerra has joined #angularjs
[02:50:53] <JR_> which are the more popular desktop environments?
[02:50:58] <JR_> that's user friendl
[02:50:59] <JR_> y
[02:51:13] <wafflej0ck> dunno hard to say everything we talked about so far is pretty popular
[02:51:21] <wafflej0ck> think RedHat uses Gnome now by default
[02:51:27] *** tschundeee has quit IRC
[02:51:29] <JR_> can i install apps on elementary os
[02:51:33] <JR_> and have it on my desktop?
[02:51:39] <s3shs_> The problem I have with package managers like apt_get or the others is there's no single package manager that has everything I need.
[02:51:39] <wafflej0ck> KDE still has a pretty big following and is being redone with Qt5
[02:51:48] *** japhar81 has joined #angularjs
[02:51:59] *** ProLoser has quit IRC
[02:52:03] <wafflej0ck> s3shs_: I typically find most things and if not can usually find a PPA to add to the repos to get newer stuff or whatever
[02:52:13] <wafflej0ck> s3shs_: rarely have to compile things from source
[02:52:32] *** ProLoser has joined #angularjs
[02:52:40] <s3shs_> I just don't install many packages. I've been lucky that the stuff I need usually has a double-clickable installer.
[02:52:48] <s3shs_> e.g.: Xcode, MySQL, Node, etc.
[02:52:57] *** angularius_ has quit IRC
[02:53:28] <wafflej0ck> JR_: regarding the desktop not sure in Gnome it doesn't show them by default but GUI called gnome-tweak-tool takes care of that with a checkbox if you want desktop icons
[02:53:30] *** gekido has joined #angularjs
[02:53:32] *** gnrlbzik has quit IRC
[02:53:55] <JR_> alright (: thanks.
[02:54:05] <JR_> do i have to reinstall ubuntu to install gnome or elementary os?
[02:54:05] <wafflej0ck> sure always good to check out the options
[02:54:30] <wafflej0ck> base Ubuntu you can install gnome pretty easily not sure about elementary I think it's still pretty new and better to use the one packaged together
[02:54:43] <wafflej0ck> like if you have Ubuntu they have kde-desktop or gnome-desktop packages to install those
[02:54:46] <wafflej0ck> not sure about elementary
[02:55:30] *** mspier is now known as mspier|away
[02:55:30] *** ezakimak has joined #angularjs
[02:56:06] *** rho has joined #angularjs
[02:56:06] *** rho has joined #angularjs
[02:56:11] *** jareddlc has quit IRC
[02:56:22] *** Sontakey has joined #angularjs
[02:56:23] <ezakimak> is there any obvious reason for what might cause an ng-input-tags keywords to be displayed *outside* the input? (i'm not giving it any parameter to cause this)
[02:56:27] <wafflej0ck> I started with base Ubuntu and tried, kde-desktop package, then reinstalled so I could just have a purer Kubuntu experience to see what its like without any Unity stuff around (also saves space on a small SSD) but you can have multiple ones and you choose during login which DE to load
[02:56:43] <wafflej0ck> ezakimak: make sure you load the CSS with it
[02:56:51] <ezakimak> have it
[02:57:03] <ezakimak> it works fine in a different place on the same site
[02:57:07] *** ProLoser has quit IRC
[02:57:12] <ezakimak> the only difference is there it is using autocomplete also
[02:57:24] <wafflej0ck> ezakimak: yeah not sure bout hta
[02:57:25] <ezakimak> but all the examples show the keywords being inside the input
[02:57:25] <wafflej0ck> that*
[02:58:17] *** optikalmouse has quit IRC
[02:58:18] *** motionman has joined #angularjs
[02:58:27] *** eamonn has joined #angularjs
[02:58:36] <wafflej0ck> JR_: after I played with KDE for a while I got too caught up in adding widgets and customizing the desktop and realized I was wasting a lot of time messing with things and Gnome 3 was looking so nice and clean, really happy with it
[02:58:53] *** SergioFilhow has quit IRC
[02:59:08] <wafflej0ck> JR_: you can just download the ISOs/boot image and try them out in a live environment before you install anything
[03:00:00] *** mven_ has joined #angularjs
[03:00:02] *** nairys has quit IRC
[03:00:26] <zomg> or just use Virtualbox if you don't care to mess around with bootable media and such =)
[03:00:35] <wafflej0ck> true
[03:00:37] *** rburns has joined #angularjs
[03:00:56] *** cotko has quit IRC
[03:01:01] <zomg> connix is sending porn spam links
[03:01:09] *** cthrax has quit IRC
[03:01:10] *** mven has quit IRC
[03:01:10] <wafflej0ck> I usually just go with DVDs cause it's been reliable but recently switched to using USBs most of the USB installers seem to work fine on my systems
[03:01:33] <wafflej0ck> but can have either USB creation or boot problems so DVD is less hassle, but VB even moreso
[03:01:52] *** neoadventist has quit IRC
[03:02:04] <wafflej0ck> that said can have graphics problems or other stuff in VB you don't deal with when you run the live CD
[03:02:05] *** Sky[x] has quit IRC
[03:02:21] <wafflej0ck> er DVD rather... mostly don't fit on CDs anymore unfortunately
[03:02:29] *** DrMabuse_ has joined #angularjs
[03:02:43] *** ChanServ sets mode: +o caitp
[03:03:04] *** jonr22 has joined #angularjs
[03:03:11] *** eamonn has quit IRC
[03:03:24] *** caitp sets mode: +b *!*@84.78.20.247
[03:03:25] *** rtpg has quit IRC
[03:03:31] *** connix was kicked by caitp (don't do that plz)
[03:03:36] *** ChanServ sets mode: -o caitp
[03:03:40] <caitp> that was the right guy right
[03:03:43] <zomg> yeah
[03:04:20] *** kreiggers has quit IRC
[03:04:20] <zomg> seemed to be some bot that triggered from chatting, I hadn't talked here today but as soon as I said something, got a PM from him :P
[03:04:31] *** Scathen^C has quit IRC
[03:05:10] *** crakrjak has joined #angularjs
[03:06:02] *** DrMabuse has quit IRC
[03:06:11] *** BillCriswell has quit IRC
[03:06:29] *** laserbeak43 has quit IRC
[03:06:47] <wafflej0ck> ezakimak: just though, why would you have autocomplete and ng-tags input on the same element?
[03:06:51] <wafflej0ck> ezakimak: isn't that redundant?
[03:06:52] *** mven_ has quit IRC
[03:06:57] *** DrMabuse_ has quit IRC
[03:07:15] <wafflej0ck> thought*
[03:07:24] *** mmealling has joined #angularjs
[03:07:29] *** mven has joined #angularjs
[03:07:34] *** gnrlbzik has joined #angularjs
[03:07:53] *** adamdbradley has joined #angularjs
[03:07:59] *** tskaggs has quit IRC
[03:08:08] *** crakrjak has quit IRC
[03:08:10] *** frem has quit IRC
[03:08:24] *** artisangoose has quit IRC
[03:08:32] *** seriema has joined #angularjs
[03:08:47] *** nemothekid has quit IRC
[03:09:02] <ezakimak> i dunno, not my code, but it seems to work
[03:09:24] *** wallerdev has quit IRC
[03:10:21] *** Una has joined #angularjs
[03:10:54] *** markalanevans has quit IRC
[03:10:56] *** nesquerra has quit IRC
[03:11:20] <wafflej0ck> ezakimak: well sayin the ng-tags-input creates a dropdown with typeahead based on predefined tags and auto complete directives do the same thing but typically list the elements instead of having the "tag display"
[03:11:23] <deweydb> I have a problem, and i need a bit of advice. My application relies on an api that is behind an authentication wall. the authentication times out if a user stops using the application for a while. When the user returns to their computer and the applicatin is still open, and they attempt to navigate to another page, the application makes a whole bunch of api requests, which all fail, and i detect the failure of the fi
[03:11:23] <deweydb> rst, and redirect back to the login portal. But even after i do the window.location.replace() the other requests keep running for the brief moment before the browser redirects, and cause a lot of errors due to empty api responses. Is there a way to stop all pending $http requests, or immediately kill all javascript execution and redirect to another page?
[03:11:23] *** mven has quit IRC
[03:11:50] *** rtpg has joined #angularjs
[03:11:51] *** mjs2600 has quit IRC
[03:11:52] *** TheAceOfHearts has quit IRC
[03:12:06] *** mven has joined #angularjs
[03:13:00] <ezakimak> why not set an inactivity timer, and after it goes off, don't send all those requests. send *one* to see if they need to login again, if not, clear the flag and continue as normal
[03:13:16] <deweydb> hmmm that sounds like a really good idea
[03:13:17] <deweydb> thanks
[03:13:30] *** seriema has quit IRC
[03:13:33] <ezakimak> every successful api call response would reset the timer
[03:14:01] *** ProLoser has joined #angularjs
[03:14:16] <GeneralChoomin> no shit ezakimak
[03:14:22] *** mguillech has joined #angularjs
[03:14:22] <JR_> hi any ides to recommend for ubuntu?
[03:14:27] <JR_> i don't like webstorm
[03:14:30] <GeneralChoomin> redhat
[03:14:41] *** firelinks has joined #angularjs
[03:14:47] <toad-br> no ide, I like sublibe
[03:14:47] <GeneralChoomin> cuz its got red which i like.. and a hat which seals the deal
[03:14:49] <wafflej0ck> JR_: I just use SublimeText myself not a full blown IDE more an E
[03:15:04] *** mven has quit IRC
[03:15:04] *** mven_ has joined #angularjs
[03:15:04] <ezakimak> GeneralChoomin, "inactivity timer" is ambiguous--could be watching user inputs
[03:15:12] <GeneralChoomin> ubuntu: red hhat
[03:15:15] <JR_> alright
[03:15:21] *** woah has joined #angularjs
[03:15:22] <GeneralChoomin> its biguous.. trust me
[03:15:51] *** phix has quit IRC
[03:16:08] <ezakimak> i don't trust trolls. i only feed them scraps occasionally.
[03:16:08] *** phix has joined #angularjs
[03:16:13] <wafflej0ck> JR_: alright nuff talking up Linux back go coding :) join the #ubuntu chat if you have support questions though or #ubuntu-offtopic if you just want more info from a general group
[03:16:14] *** toad-br has quit IRC
[03:16:30] *** asher^ has quit IRC
[03:16:33] <ezakimak> #gentoo is quite supportive
[03:16:50] *** mclenithan has quit IRC
[03:16:55] *** bzitzow_ has quit IRC
[03:17:29] *** dylang has quit IRC
[03:17:58] <GeneralChoomin> how am i a troll?
[03:17:58] <JR_> hehe thanks (:
[03:18:00] *** tkimmel has joined #angularjs
[03:18:32] *** patrickarlt has joined #angularjs
[03:18:35] *** markalanevans has joined #angularjs
[03:18:37] *** mguillech has quit IRC
[03:18:53] *** mven_ has quit IRC
[03:19:03] *** crakrjak has joined #angularjs
[03:19:08] <ezakimak> ah darn. all out of scraps.
[03:20:11] <GeneralChoomin> ezakimak hows the input errors going?
[03:20:33] *** mven has joined #angularjs
[03:20:53] <eslaron> I have a problem with using a restangular request in a Angular service. http://pastebin.com/PqdjeTpB Does anyone know what I am doing wrong?
[03:21:14] <ezakimak> i don't have any input errors
[03:21:53] *** crakrjak has quit IRC
[03:21:58] <GeneralChoomin> have you tried rerouting power from the warp drive to life support?
[03:22:11] *** Sontakey has quit IRC
[03:22:15] *** macabre has joined #angularjs
[03:22:20] *** asher^ has joined #angularjs
[03:22:21] *** tkimmel has quit IRC
[03:23:14] *** ZGirl has joined #angularjs
[03:24:07] <wafflej0ck> just use your socks and some duct tape
[03:24:10] <ZGirl> With angular ui router, is there any way I can inject a bit of logic iinto a state that would have access to the controller’s $scope so I can listen for an event and transition to a different state in that case? I don’t want to include $state.go() in my controller to keep it decoupled
[03:24:22] *** crakrjak has joined #angularjs
[03:24:23] *** jrist has quit IRC
[03:24:54] *** brantje is now known as brantje`away
[03:25:07] *** BillCriswell has joined #angularjs
[03:25:14] *** nesquerra has joined #angularjs
[03:26:11] *** Trow has quit IRC
[03:26:19] *** grantfunke_ has joined #angularjs
[03:26:21] *** crakrjak has quit IRC
[03:27:04] <eslaron> I have a problem with using a restangular request in a Angular service. http://pastebin.com/PqdjeTpB Does anyone know what I am doing wrong?
[03:27:55] *** ctanga has joined #angularjs
[03:28:33] *** kirfu has joined #angularjs
[03:28:35] *** firelinks has quit IRC
[03:29:38] *** doginal_ has joined #angularjs
[03:29:40] *** doginal has quit IRC
[03:29:40] *** doginal_ is now known as doginal
[03:30:10] *** crakrjak has joined #angularjs
[03:30:49] *** shampine has quit IRC
[03:30:49] *** rburns has quit IRC
[03:31:15] *** rburns has joined #angularjs
[03:31:16] *** crakrjak has quit IRC
[03:32:02] *** Cryode has quit IRC
[03:32:23] *** crakrjak has joined #angularjs
[03:32:33] *** auser has quit IRC
[03:32:54] *** busticated has quit IRC
[03:33:08] *** HEx2 has quit IRC
[03:33:13] *** HEx1 has joined #angularjs
[03:33:37] *** rho has quit IRC
[03:33:37] *** greatdex has joined #angularjs
[03:36:10] *** Latros-OS has joined #angularjs
[03:36:13] *** AlexZan has quit IRC
[03:36:27] *** firelinks has joined #angularjs
[03:36:37] *** crakrjak has quit IRC
[03:36:42] *** cacts|works has quit IRC
[03:36:47] *** ZGirl has quit IRC
[03:36:51] *** SergioFilhow has joined #angularjs
[03:37:19] *** trend has joined #angularjs
[03:38:00] *** jonr22 has quit IRC
[03:38:56] *** whunt has quit IRC
[03:40:17] <fairuz> eslaron: Any error?
[03:41:18] *** JoshGlzBrk has quit IRC
[03:41:46] *** Ramkumar has quit IRC
[03:41:51] *** gnrlbzik has quit IRC
[03:42:17] *** trend has quit IRC
[03:42:24] *** mdel has joined #angularjs
[03:42:28] *** JoshGlzBrk has joined #angularjs
[03:42:33] *** crakrjak has joined #angularjs
[03:42:34] *** JoshGlzBrk has quit IRC
[03:42:48] *** SergioFilhow has quit IRC
[03:42:53] *** Guest81373 has quit IRC
[03:42:57] *** TheAceOfHearts has joined #angularjs
[03:42:57] *** damain has joined #angularjs
[03:43:19] *** JoshGlzBrk has joined #angularjs
[03:43:43] *** jordandotdev has joined #angularjs
[03:44:31] *** crakrjak has quit IRC
[03:44:35] *** tfennelly has joined #angularjs
[03:44:43] <eslaron> fairuz
[03:44:46] *** Skrypter has joined #angularjs
[03:45:03] <eslaron> firebug doesn't display any arror
[03:45:17] <eslaron> in fact all other requests stop working
[03:45:23] *** JR_ has quit IRC
[03:46:14] <fairuz> eslaron: Did you try to put the reject callback to the then()? To see if the promise is rejected?
[03:46:54] <eslaron> no
[03:47:01] <eslaron> how to do it?
[03:47:17] *** Sontakey has joined #angularjs
[03:47:20] *** Sontakey has left #angularjs
[03:47:22] *** jrist has joined #angularjs
[03:47:53] *** damain has quit IRC
[03:48:26] *** tschundeee has joined #angularjs
[03:48:35] <fairuz> in the then(), add another function
[03:48:36] *** whitebook has joined #angularjs
[03:48:57] <fairuz> something like this then(function(){ .... }, function(error){ ... })
[03:49:14] <fairuz> the first one will be called if the promise is resolved, while the latter if the promise is rejected
[03:49:56] *** gunn has quit IRC
[03:50:01] *** gunn_ has joined #angularjs
[03:50:04] *** tripu has joined #angularjs
[03:50:19] *** edzez has quit IRC
[03:50:32] *** damain has joined #angularjs
[03:50:33] <eslaron> The problem is that no request is started.
[03:50:37] *** tfennelly has quit IRC
[03:50:56] <eslaron> Firebug doesn't see even 1 request
[03:51:10] <eslaron> So I even can't get a promise reject
[03:51:13] <syzygy__> I’m retrieving an object to edit in my angularjs app, but when I try to change the value on any of my models, I recieve a: TypeError: Cannot assign to read only property
[03:51:18] <syzygy__> is there something I’m missing here?
[03:51:50] *** lvegerano-home has joined #angularjs
[03:52:25] *** markalanevans has quit IRC
[03:53:03] *** jrist has quit IRC
[03:53:03] <eslaron> In my controllers it works fine. But it doesnt't when I wrap it in a service
[03:53:08] *** tschundeee has quit IRC
[03:53:47] *** gnrlbzik has joined #angularjs
[03:54:04] <dogsy> Can someone point me to a good example of someone writing a Resource that POSTS data in the request body and not in the url?
[03:54:24] *** adpirz has joined #angularjs
[03:54:47] *** dcherman has joined #angularjs
[03:55:39] *** cakirke has quit IRC
[03:56:39] *** BillCriswell has quit IRC
[03:57:43] *** nemothekid has joined #angularjs
[03:57:44] <fairuz> dogsy: $http.post('abc.com/api/xxx', { data1: value1, data2: value2 }); :D
[03:58:16] <dogsy> fairuz: Jah, but with ngResource
[03:58:19] *** MistahKurtz has quit IRC
[03:58:34] *** adpirz has quit IRC
[03:58:48] <dogsy> fairuz: { 'customMethod': 'POST', data:{}}?
[03:59:00] <dogsy> and then how would I actually consume it
[03:59:23] <dogsy> dog.customMethod({data: { hi: "hello"})?
[04:01:04] *** snurfery has quit IRC
[04:01:41] *** doginal has quit IRC
[04:01:41] *** rburns has quit IRC
[04:02:03] *** bmac has joined #angularjs
[04:02:13] *** rburns has joined #angularjs
[04:02:25] *** eslaron has quit IRC
[04:02:41] *** bradmaxs has quit IRC
[04:02:59] *** DrMabuse has joined #angularjs
[04:04:16] *** shredjs has joined #angularjs
[04:05:03] *** anjumkaiser has joined #angularjs
[04:05:14] *** Guest68630 has quit IRC
[04:06:04] <shredjs> HEy its a stupid question but simple way in html to split the page in two and showing a diferent external website on each
[04:06:12] *** crakrjak has joined #angularjs
[04:06:33] *** howtoi18n has joined #angularjs
[04:07:37] *** w1s3b0y has quit IRC
[04:08:13] *** kevinxu_ has joined #angularjs
[04:08:17] *** jharbaugh has quit IRC
[04:08:17] *** DrMabuse has quit IRC
[04:08:21] *** one0one has joined #angularjs
[04:08:24] *** jharbaugh has joined #angularjs
[04:09:22] *** seriema has joined #angularjs
[04:09:55] <s3shs_> shredjs, look at iframes
[04:10:00] <s3shs_> Or just frames.
[04:10:08] <s3shs_> (iframes probably easier)
[04:10:23] *** Underbyte has joined #angularjs
[04:10:25] *** tschundeee has joined #angularjs
[04:10:48] *** ChadStrat has quit IRC
[04:10:57] <howtoi18n> Hello, I'm trying translate date filter on my page. Is there a way to load angular i18n script according to browser preferred language?
[04:12:05] *** crakrjak has quit IRC
[04:12:42] *** ChadStrat has joined #angularjs
[04:12:53] <zomg> howtoi18n: you can look at navigator.language to detect the browser's language configuration
[04:12:58] *** crakrjak has joined #angularjs
[04:13:30] *** Asiajey has joined #angularjs
[04:13:31] *** Asiajey has joined #angularjs
[04:13:51] <fairuz> howtoi18n: $window.navigator.userLanguage
[04:14:14] *** mary5030 has joined #angularjs
[04:14:14] *** anjumkaiser has quit IRC
[04:14:42] <shredjs> s3shs_: The one in the question almost works : http://stackoverflow.com/questions/21169081/bootstrap-3-pull-right-button-cut-off-from-bottom
[04:14:52] *** seriema has quit IRC
[04:15:08] <shredjs> but the thing is.. the links do not work... theres a 404 error but when i click on the google icon it redirects me to google and i search for the website but then it doesnt show
[04:15:26] *** tschundeee has quit IRC
[04:15:51] <s3shs_> shredjs, what does that have to do with iframes?
[04:16:32] <deweydb> is it possible to have wildcards in a state name like /task-4/introduction
[04:16:44] <deweydb> and then pull that 4 out to be available in the controller/service
[04:16:57] <deweydb> this is in referece to ui-router
[04:17:03] <howtoi18n> fairuz, zomg: Thanks guys. There's no angular builtin function to do that right?
[04:17:04] <deweydb> sorry should have mentioned that.
[04:17:25] *** gekido has quit IRC
[04:17:40] <shredjs> seems like its the wrong question
[04:17:42] *** Una has quit IRC
[04:17:44] <shredjs> s3shs_:
[04:17:59] <shredjs> http://stackoverflow.com/questions/8381195/html-load-two-urls-in-two-frames-in-one-page
[04:18:03] <fairuz> $window is angular's reference to the global window
[04:18:14] <shredjs> but its just some website doesnt load when they noticed they are in aframe
[04:18:56] *** mogaj has joined #angularjs
[04:19:03] <s3shs_> If the site you're trying to load in an iframe doesn't want to be loaded in an iframe you may be out of luck.
[04:19:42] <s3shs_> shredjs, http://stackoverflow.com/questions/12265298/why-does-google-com-not-load-in-an-iframe
[04:20:02] *** RobinBAwesome has quit IRC
[04:20:17] *** Hackwar1 has joined #angularjs
[04:20:25] *** anjumkaiser has joined #angularjs
[04:20:53] *** Hackwar has quit IRC
[04:21:08] *** zivester has quit IRC
[04:22:16] *** adamdbradley has quit IRC
[04:23:17] *** gekido has joined #angularjs
[04:23:30] *** nachinius has quit IRC
[04:23:42] *** gekido has quit IRC
[04:24:02] *** Lingo__ has joined #angularjs
[04:24:07] *** gekido has joined #angularjs
[04:24:57] *** ryst has quit IRC
[04:25:14] <shredjs> arghhh
[04:25:23] <Underbyte> if i wanted to figure out *why* a MEAN webapp was returning a 404 for a given URL request, where would i look?
[04:25:31] *** rtpg has quit IRC
[04:25:41] <Underbyte> (this would be equivelent to, say, /var/log/nginx/fart.access.log)
[04:25:42] <shredjs> The goal is that im broadcasting my chrome tab on my chromcast but i want one frame to play music and the other one to browse or show videos...
[04:25:45] <shredjs> s3shs_:
[04:26:03] *** stirlingw has joined #angularjs
[04:26:03] <s3shs_> I'm not sure how this is an angular question
[04:26:32] *** whiteboo_ has joined #angularjs
[04:26:50] <Lingo__> Utter newbie question if anyone has the time: is ng-bind supposed to work dynamically i.e., if I change the scope property's value? The naive version:
[04:27:00] <s3shs_> Lingo__, yes.
[04:27:47] <s3shs_> If you have <span ng-bind="someScopeVar"></span>, changing $scope.someScopeVar to something should reveal the new value in the dom.
[04:28:02] <s3shs_> Lingo__, however, if it's an input, you want to use ng-model instead of ng-bind because it's two way.
[04:28:18] *** nycdevgirl has joined #angularjs
[04:28:19] *** patrick99e99 has joined #angularjs
[04:28:31] <Lingo__> My example: <span ng-bind='hello'></span> and then in the controller: xyz.controller('xyzCtrl', function($scope) { $scope.hello = "Hello World"; setTimeout(function() { $scope.hello = "Hello again"; }, 3000); });
[04:28:35] <Lingo__> The first works.
[04:28:39] <Lingo__> So I get Hello World.
[04:28:52] *** IJNX has quit IRC
[04:28:54] <Lingo__> But then the setTimeout() change of value does not.
[04:28:57] *** greatdex has quit IRC
[04:29:05] <Lingo__> I assumed the closure would hold, but maybe not?
[04:29:11] *** whitebook has quit IRC
[04:29:12] <s3shs_> Lingo__, you're correct, but not.
[04:29:18] <s3shs_> This is because that's not how angular works.
[04:29:36] <s3shs_> Angular does a thing where it re-executes your controller until there are no more changes.
[04:29:48] <s3shs_> It does this in response to user input, load completions, etc.
[04:30:03] <s3shs_> It *doesn't* do it in setTimeout because that's not an angular function and angular doesn't know you've changed the scope.
[04:30:06] <s3shs_> So you have two choices:
[04:30:14] *** stirlingw has quit IRC
[04:30:19] <wafflej0ck> Fifty5Plus: super close... got all the figured out of the CSS and being parsed in the JS but just got some errors in the calculations I need to fix
[04:30:47] <wafflej0ck> numeric figures I mean
[04:30:47] <Lingo__> s3shs_ thanks for the comment, I am following along as you post...
[04:30:51] <s3shs_> 1) You can inject $timeout in to your controller and use that instead of setTimeout. Or 2) you can use $scope.apply(). I recommend 1. (Apply is the function I talked about that re-evaluates the scope. Angular calls this internally.)
[04:31:16] <Fifty5Plus> wafflej0ck: you are the man!
[04:31:31] <s3shs_> There is a place where your code is allowed to call setTimeout and modify the DOM manually: and that's in a directive.
[04:31:47] <s3shs_> In all other angular code you should use only angular equivalents.
[04:31:48] <Lingo__> Ah in the view?
[04:32:31] <s3shs_> The view's html. Stuff like jquery and other JS functions can modify the html.
[04:32:32] *** rburns has quit IRC
[04:32:42] *** coopaloop has joined #angularjs
[04:32:52] *** rburns has joined #angularjs
[04:32:53] *** patrick99e99 has quit IRC
[04:33:08] *** AimerPaddle has joined #angularjs
[04:33:39] <s3shs_> Lingo__, I hope I'm not scaring you.
[04:33:42] <Lingo__> #2 looks like the easier option as a newbie :-) but I'll read up on inject(ion) since you think #1 is better. I should also probably describe my use case since I might be doing this all wrong: I am simply trying to update some text based on a change in value on the server-side. So the page shows, say, current HTTP sessions, and I sample that every 5 seconds, and I want to
[04:33:43] <Lingo__> change the number when that changes.
[04:34:21] *** gekido has quit IRC
[04:34:21] <s3shs_> Lingo, it's very easy. You already have function($scope). So just change that to function($scope, $timeout). That's it.
[04:34:21] <Lingo__> :-) Not scared yet, though I confess Angular is a lot of concepts to swallow in one shot!
[04:34:36] <Lingo__> Aha, okay, that looks easy
[04:34:42] *** fatshark has quit IRC
[04:34:46] <s3shs_> I just threw out a lot of stuff. Do the $timeout version. That's the proper way. Apply is a feature of last-resort.
[04:34:54] <ProLoser> anyone work with sublime?
[04:34:56] <Lingo__> Got it!
[04:35:18] <ProLoser> or the linter?
[04:35:21] <s3shs_> Angular actually looks at the names of arguments to controllers and plops in the right thing for you. $scope, $timeout, $http, dozens/hundreds of others.
[04:35:22] <Lingo__> s2shs_ thanks a million. Appreciate your encouragement. Going to give it a shot.
[04:35:31] <s3shs_> Have fun.
[04:35:36] <Lingo__> That's the dependency injection stuff, isn't it?
[04:35:39] *** gekido has joined #angularjs
[04:35:55] <s3shs_> Or you can simply call it "awesome". :-)
[04:36:16] <s3shs_> But yes. There's a concept called Services where you can create your own in a few lines of code. Also awesome.
[04:36:32] <Underbyte> grr, i can't figure out why this is serving a 404
[04:36:34] *** ctanga has quit IRC
[04:36:50] <s3shs_> Underbyte, because it can't find the data at the URL you're fetching? Just a guess. ;-)
[04:37:03] *** zivester has joined #angularjs
[04:37:16] <Lingo__> :-)
[04:37:25] <fairuz> s3shs_: Regarding this discussion about re-evaluating the scope, http://pastebin.com/UnY7z9xt . Is this why for the same event but not originating from the angular's related function, I need to call $apply?
[04:37:40] <Underbyte> okay, so http://localhost:9000/thing works jsut fine, but thing?searchPos=40.7860162,-96.70445769999999 returns a 404
[04:37:58] <Underbyte> and the thing is that its just the searchPos GET param thats causing the 404
[04:38:12] *** ryst has joined #angularjs
[04:38:29] <Underbyte> but i can't figure out whats causing the 404
[04:38:38] <s3shs_> fairuz, broadcasting for just a button?
[04:38:42] <s3shs_> Underbyte, whats erver?
[04:38:46] <s3shs_> Underbyte, what server?
[04:39:08] <Underbyte> what do you mean?
[04:39:15] *** damain has quit IRC
[04:39:23] <s3shs_> Your server is running on your local machine. Is it node, apache, what?
[04:39:28] <Underbyte> MEAN stack
[04:39:43] <Underbyte> 'grunt serve' to run the frontend webapp
[04:40:00] <s3shs_> I don't know mean stack. But somehow it's not liking your URL. It doesn't appear to have anything to do with angular.
[04:40:11] *** vbabiy has joined #angularjs
[04:40:19] <fairuz> s3shs_: Yes, since both buttons (the physical button and the html button) are global to the whole app. Each controller can customize the behavior of these buttons.
[04:40:22] <Underbyte> should i try for a different room?
[04:40:35] <s3shs_> Underbyte, I guess.
[04:41:04] <fairuz> Trying to understand why I need $apply for the event coming from the physical button
[04:42:05] <Underbyte> #node.js is dead :(
[04:42:30] <s3shs_> fairuz, are you trying to use controller inheritance?
[04:42:38] *** davesidious__ has joined #angularjs
[04:43:05] <s3shs_> Underbyte, is your server running in node?
[04:43:11] <Underbyte> yes
[04:43:18] <Underbyte> we use grunt
[04:43:24] <s3shs_> So you need to debug inside of node.
[04:43:38] <fairuz> s3shs_: No
[04:43:42] *** SergioFilhow has joined #angularjs
[04:43:49] *** threesixes has joined #angularjs
[04:43:58] *** technickul has joined #angularjs
[04:44:36] *** tfennelly has joined #angularjs
[04:45:03] *** petey has joined #angularjs
[04:45:06] *** benschaaf has joined #angularjs
[04:45:18] <mystronyx> I'm getting a parse error on this line: item in toplys.items track by $index | filter:search as filteredItems
[04:45:23] <s3shs_> fairuz, alright... I don't know why you have to call apply there. From your code I would think it would work. But maybe ionic is playing tricks.
[04:45:34] <mystronyx> When I remove the | and everything to the right, I no longer receive an error
[04:45:53] <petey> If I need data to be pushed into an array in certain order, how would I go about that?
[04:45:57] *** davesidious_ has quit IRC
[04:46:03] <petey> I have 7 http.get's im running, and i need to push them in
[04:46:07] <benschaaf> jaawerth: I never did figure out how to use ngModelOptions :/
[04:46:13] <mystronyx> Any suggestion on how to get that line to work?
[04:46:22] *** jmichaelward has joined #angularjs
[04:46:41] *** obto has quit IRC
[04:46:54] <s3shs_> petey, is each http.get returning a different piece of data?
[04:47:03] *** obto has joined #angularjs
[04:47:12] <petey> Yes, each http.get is returning a different piece of data
[04:47:12] <fairuz> s3shs_: That's what make me ask this question. If the apply is not there, the scope will not be re-evaluate if the event is coming from the hard button. Plus, if I just put the apply without the if, it will fail for soft button since angular will smack me in the head saying evaluation already in progress
[04:47:21] <petey> I thought about using broadcast but that just seemed redundant
[04:47:33] <s3shs_> fairuz, it appears there's an issue with ionic.
[04:47:41] *** patrickarlt has quit IRC
[04:47:41] *** dogsy has quit IRC
[04:48:03] *** kreiggers has joined #angularjs
[04:48:07] <fairuz> s3shs_: What can cause this kind of thing?
[04:48:08] <s3shs_> petey, so basically you have 7 gets. Each running in parallel. When they complete you add them to their results to the array. That right?
[04:48:13] *** SergioFilhow has quit IRC
[04:48:15] <s3shs_> fairuz, A BUG IN IONIC.
[04:48:19] <fairuz> heh
[04:48:20] <petey> s3shs_ yes, but I need them added in a certain order
[04:48:37] *** cwill747 has quit IRC
[04:48:42] <s3shs_> petey, and all 7 are natuarlly returning out of order.
[04:48:44] <petey> What I'm pulling is SVG map paths and I need them stacking a certain way
[04:48:44] <petey> Otherwise it looks like dog poo
[04:48:48] <petey> s3shs_, yes
[04:48:51] *** tfennelly has quit IRC
[04:48:54] <wafflej0ck> Fifty5Plus: k just posted the updated version to the repo take a look and let me know if you see problems (aside from the initial load thing I'm aware of) https://github.com/shusain/itHolyGrail/tree/develop
[04:49:08] <petey> s3shs_ is there anyway I can make sure I have received all the data, then call a certain function
[04:49:14] <s3shs_> So, petey, you basically want to wait until all 7 arrive and then you want to append them to the array. And I assume you don't know how big each of the 7 will be so you don't know what offset to assign them to. That right?
[04:49:15] *** gekido has quit IRC
[04:49:17] *** MistahKurtz has joined #angularjs
[04:49:35] <wafflej0ck> Fifty5Plus: still gonna do some code cleanup and need to read the config from outside the directive (currently have it defined inside) and then just clean up stuff to show an example and merge over to the master branch
[04:50:04] <petey> s3shs_ I suppose I know the sizes of each and can *guess* their order, but I would prefer something more bug proof
[04:50:17] *** tripu has quit IRC
[04:50:27] <petey> I thought about broadcasting an event once every $scope variable has been assigned
[04:50:46] <s3shs_> petey, yuk.
[04:50:50] <mystronyx> anyone know how to get around an ng-repeat: dupes error?
[04:50:55] *** corehook has joined #angularjs
[04:50:57] <petey> s3shs_ I know :(
[04:51:09] <s3shs_> So if you know the sizes all 7 will return... why not just create an array with all null values and when each returns assign the return value to the proper index?
[04:51:31] *** benschaaf has quit IRC
[04:51:36] <s3shs_> Or is it more complex than that? (I can give you a trick, but I don't know if you need it yet.)
[04:52:05] <petey> s3shs_ I see what you mean, but it might be a little more complicated
[04:52:16] *** corehook has quit IRC
[04:52:19] <petey> Although I know what they are right now, these values can change in the future and when I'm not around that could be a problem
[04:52:19] *** anjumkaiser has quit IRC
[04:52:32] <s3shs_> Ok... so what you want is: "dear angular, please execute these 7 http.get calls and then call this completion function when I'm done." Is that right?
[04:52:41] <petey> Yes
[04:52:50] <petey> Once the data has been returned for all 7, call this function
[04:53:02] <s3shs_> you want to inject $q. Have you heard of that?
[04:53:07] *** shifteleven has joined #angularjs
[04:53:15] <petey> promises
[04:53:22] <petey> doesnt $http.get use promises?
[04:53:28] <s3shs_> This is awesome...
[04:53:30] <wafflej0ck> mystronyx: use track by usually
[04:53:48] <s3shs_> It just so happens $http.get returns a promise. So... you simply do:
[04:53:49] *** bmac has quit IRC
[04:53:53] <mystronyx> wafflej0ck yeah that didn't solve it, I must have made an error elsewhere.
[04:53:58] <s3shs_> 1) Create functions for each fetch.
[04:54:01] *** zivester has quit IRC
[04:54:10] <wafflej0ck> mystronyx: yeah must be that the thing it's tracking by isn't unique too in that case
[04:54:19] <s3shs_> 2) Call $q.([f1, f2, ... f7], function completion() { stuff here; })
[04:54:53] <mystronyx> also, wafflej0ck, I'm getting a parse error for this line: ng-repeat="item in toplys.items track by $index | filter:search as filteredItems"
[04:55:03] <mystronyx> Is there a correct syntax for that?
[04:55:16] <s3shs_> Crap I screwed that up. petey , $q(f1, f2, ... f7).then(function completion() { do stuff; })
[04:55:20] <wafflej0ck> mystronyx: think you might need the track by at the end but not sure
[04:55:26] *** Fishy has joined #angularjs
[04:55:27] <mystronyx> wafflej0ck ok thanks
[04:55:46] *** Skrypter has quit IRC
[04:56:15] *** NoNMaDDeN has joined #angularjs
[04:56:28] *** whiteboo_ has quit IRC
[04:56:53] <s3shs_> petey, I screwed up again. Probably time to stop my 12 hour day: $q.all(f1, f2, ... f7).then(function completion() { do stuff; })
[04:56:54] <petey> s3shs_ do I call $q as its own separate function outside the $http.get?
[04:57:12] *** corehook has joined #angularjs
[04:57:17] *** cellofellow has quit IRC
[04:57:22] <s3shs_> No, $scope.f1 = function() { return $http.get(url, data)...; } etc.
[04:57:31] *** whitebook has joined #angularjs
[04:57:31] <wafflej0ck> Fifty5Plus: unfortunately I did bring in a dependency for lodash here but just makes stepping through objects/arrays so much easier (particularly needed something like the _.forOwn function)
[04:57:45] <s3shs_> And there are lots of tricks with $q if all f1...f7 take different args.
[04:57:58] <s3shs_> $http.get returns the promise that $q.all knows how to deal with.
[04:58:43] *** reavengrey has joined #angularjs
[04:59:03] <Fifty5Plus> wafflej0ck: that's so lo[w]
[05:00:54] <wafflej0ck> Fifty5Plus: ah just realized I gotta move some code around cause on resize it doesn't recalc everything it needs to as is
[05:01:07] *** kreiggers has quit IRC
[05:01:07] <petey> s3shs_, hm. .then is called too early, it doesn't wait for it to be completed
[05:02:12] *** ishan1604 has joined #angularjs
[05:02:28] *** _ritchie_ has joined #angularjs
[05:02:31] <Fifty5Plus> wafflej0ck: so the issues are initial loading and resizing
[05:03:11] <wafflej0ck> Fifty5Plus: yeah those are known problems at the moment anything else I'm not aware of yet but shouldn't be too bad to get those fixed
[05:03:29] <s3shs_> petey, then one of them is returning an error or something.
[05:03:33] <Fifty5Plus> wafflej0ck: im looking
[05:03:43] <petey> Ah so I am not using an array of promises s3shs_
[05:03:55] <reavengrey> Hey, I am using ng-href="{{myFunction()}}" on a link
[05:04:14] <reavengrey> myFunction() will return a different value depending on some conditions
[05:04:15] <s3shs_> Yeah, all takes an array. Wow, one example, 12 typos. I am so sorry, petey.
[05:04:27] *** mmealling has quit IRC
[05:04:43] *** restless_being has quit IRC
[05:04:44] *** CiE has quit IRC
[05:04:51] *** restless_being has joined #angularjs
[05:04:58] <reavengrey> However, what actually happens is that the value from {{myFunction()}} seems to only bind once
[05:05:04] *** mmealling has joined #angularjs
[05:05:09] *** CiE has joined #angularjs
[05:05:12] *** darrin has quit IRC
[05:05:18] <reavengrey> Or something, so the href ends up being blank
[05:05:20] *** Aerospark has joined #angularjs
[05:05:28] <s3shs_> reavengrey, why the {{}} inside the ng-href?
[05:05:32] *** Immutef has quit IRC
[05:05:42] <s3shs_> 99% of the time there are no {{}} inside any ng-* attribute.
[05:05:47] <reavengrey> Well, that's what ng-href is for, afaik
[05:05:48] *** xyNNN has quit IRC
[05:05:50] <s3shs_> {{}} is a shorthand for the dom.
[05:05:51] <reavengrey> https://docs.angularjs.org/api/ng/directive/ngHref
[05:05:53] *** Immutef_ has joined #angularjs
[05:05:54] *** maxikon has quit IRC
[05:05:55] *** TrevDev has quit IRC
[05:05:56] *** Floyd_ has quit IRC
[05:05:56] *** adhipg has quit IRC
[05:05:56] *** darrin has joined #angularjs
[05:05:58] *** bremnes_ has joined #angularjs
[05:06:01] *** maxikon has joined #angularjs
[05:06:07] *** digitalfiz_ has quit IRC
[05:06:08] *** alphonse23_ has quit IRC
[05:06:08] *** octarine has quit IRC
[05:06:09] *** magnars has quit IRC
[05:06:10] *** amatecha has quit IRC
[05:06:10] *** elijah has quit IRC
[05:06:10] *** felipesabino has quit IRC
[05:06:11] *** xyNNN has joined #angularjs
[05:06:24] *** siovene_ has joined #angularjs
[05:06:27] *** adhipg has joined #angularjs
[05:06:32] <reavengrey> Basically the {{}} binding isn't updating
[05:06:32] <s3shs_> So if you put {{myFunction()}} in to the DOM as a string does it have the right value?
[05:06:35] *** darrin has quit IRC
[05:06:45] <reavengrey> Lemme check
[05:06:46] *** octarine has joined #angularjs
[05:06:47] *** alphonse23_ has joined #angularjs
[05:06:49] *** magnars has joined #angularjs
[05:06:50] *** digitalfiz_ has joined #angularjs
[05:06:56] *** darrin has joined #angularjs
[05:06:57] *** snurfery has joined #angularjs
[05:07:02] *** glamb__ has joined #angularjs
[05:07:05] *** darrin has quit IRC
[05:07:17] *** livingstn has quit IRC
[05:07:18] *** amatecha_ has joined #angularjs
[05:07:18] *** elijah has joined #angularjs
[05:07:21] *** robbiethz has joined #angularjs
[05:07:27] *** tsalb_ has joined #angularjs
[05:07:32] <reavengrey> K, oddly, apparently not
[05:07:32] *** wycats_ has joined #angularjs
[05:07:38] <reavengrey> Thanks, I can prolly handle it from here
[05:07:45] *** robbiethz is now known as robbiethegeek
[05:07:54] <s3shs_> I wonder if ng-href is clearing the href attr if there's an error with the binding.
[05:07:56] *** wolf2k_huh has joined #angularjs
[05:08:00] *** felipesabino has joined #angularjs
[05:08:01] <s3shs_> Have fun.
[05:08:03] *** BahamutWC|Lapt-1 has joined #angularjs
[05:08:11] *** TrevDev has joined #angularjs
[05:08:12] *** nycdevgirl has quit IRC
[05:08:25] *** encrypt__ has joined #angularjs
[05:08:33] *** fbe has joined #angularjs
[05:09:03] *** oyvinmar___ has joined #angularjs
[05:09:04] *** prikk___ has joined #angularjs
[05:09:04] *** eribeiro_ has joined #angularjs
[05:09:10] *** Templarian__ has joined #angularjs
[05:09:13] *** kudos_ has joined #angularjs
[05:09:13] *** raytiley_ has joined #angularjs
[05:09:14] *** thanpolas_ has joined #angularjs
[05:09:14] *** tomdale__ has joined #angularjs
[05:09:17] *** Ownix_ has joined #angularjs
[05:09:22] *** JonathanNeal_ has joined #angularjs
[05:09:24] *** mdel_ has joined #angularjs
[05:09:28] *** joevandy1 has joined #angularjs
[05:09:34] *** zivester has joined #angularjs
[05:09:37] *** ChuckOckstarter has joined #angularjs
[05:09:39] *** NullSoldier_ has joined #angularjs
[05:09:40] *** imanc_ has joined #angularjs
[05:10:06] *** crakrjak has quit IRC
[05:10:12] *** contradictioned_ has joined #angularjs
[05:10:13] *** hguux_ has joined #angularjs
[05:10:21] *** Xorlev_ has joined #angularjs
[05:10:24] *** jga_ has joined #angularjs
[05:10:28] *** crakrjak has joined #angularjs
[05:10:32] *** seriema has joined #angularjs
[05:10:42] *** Asiajey has quit IRC
[05:10:42] *** Asiajey_ has joined #angularjs
[05:10:48] *** anger has joined #angularjs
[05:11:34] *** samuelharden_ has joined #angularjs
[05:11:39] *** bitnumus_ has joined #angularjs
[05:11:41] *** roachiep- has joined #angularjs
[05:11:45] *** TwinkleH1od has joined #angularjs
[05:11:46] *** tschundeee has joined #angularjs
[05:11:47] *** noord_ has joined #angularjs
[05:11:49] *** Marsup` has joined #angularjs
[05:11:50] *** Left_Turn has quit IRC
[05:11:50] *** codydashdash has joined #angularjs
[05:11:55] *** teegee543_ has joined #angularjs
[05:12:03] *** mdedetri_ has joined #angularjs
[05:12:06] <Fifty5Plus> wafflej0ck: #3 vertical positioning
[05:12:15] *** d3wayne has joined #angularjs
[05:12:20] *** vinnix_ has joined #angularjs
[05:12:22] *** olli-- has joined #angularjs
[05:12:25] *** mrpj has quit IRC
[05:12:26] *** wycats has quit IRC
[05:12:26] *** glamb_ has quit IRC
[05:12:27] *** kcjones has quit IRC
[05:12:28] *** robbie-away has quit IRC
[05:12:28] *** Latros-OS has quit IRC
[05:12:28] *** siovene has quit IRC
[05:12:29] *** joshtau has quit IRC
[05:12:29] *** rtucker88 has quit IRC
[05:12:29] *** bremnes has quit IRC
[05:12:30] *** comma8 has quit IRC
[05:12:30] *** tsalb has quit IRC
[05:12:30] *** lahwran has quit IRC
[05:12:31] *** renstrm has quit IRC
[05:12:31] *** Lorth`BNC has quit IRC
[05:12:32] *** teegee543 has quit IRC
[05:12:32] *** cody-- has quit IRC
[05:12:33] *** olli- has quit IRC
[05:12:33] *** vbabiy has quit IRC
[05:12:34] *** Seich has quit IRC
[05:12:35] *** paolo has quit IRC
[05:12:36] *** diffalot has quit IRC
[05:12:36] *** thanpolas has quit IRC
[05:12:37] *** kudos has quit IRC
[05:12:38] *** bitnumus has quit IRC
[05:12:38] *** imanc has quit IRC
[05:12:39] *** universa1 has quit IRC
[05:12:39] *** fbe_ has quit IRC
[05:12:39] *** eribeiro has quit IRC
[05:12:40] *** NullSoldier has quit IRC
[05:12:40] *** raytiley has quit IRC
[05:12:40] *** Templarian_ has quit IRC
[05:12:41] *** Marsup has quit IRC
[05:12:41] *** JonathanNeal has quit IRC
[05:12:42] *** kwd has quit IRC
[05:12:43] *** jcool has quit IRC
[05:12:43] *** swalberg has quit IRC
[05:12:44] *** matthew_r has quit IRC
[05:12:44] *** prikk__ has quit IRC
[05:12:45] *** hguux has quit IRC
[05:12:45] *** newton has quit IRC
[05:12:45] *** quicksnap has quit IRC
[05:12:47] *** Veejay has quit IRC
[05:12:47] *** tomdale_ has quit IRC
[05:12:48] *** joevandyk has quit IRC
[05:12:48] *** mdel has quit IRC
[05:12:49] *** roachiepoopoo has quit IRC
[05:12:50] *** jga has quit IRC
[05:12:50] *** cmenscher has quit IRC
[05:12:51] *** Chepra has quit IRC
[05:12:51] *** oyvinmar__ has quit IRC
[05:12:52] *** noord has quit IRC
[05:12:52] *** Xorlev has quit IRC
[05:12:53] *** BahamutWC|Laptop has quit IRC
[05:12:53] *** jerev has quit IRC
[05:12:54] *** encryptd_fractl has quit IRC
[05:12:54] *** wolfman2000 has quit IRC
[05:12:54] *** jlfama has quit IRC
[05:12:55] *** BackEndCoder has quit IRC
[05:12:55] *** anger_ has quit IRC
[05:12:56] *** iivvoo has quit IRC
[05:12:57] *** Ownix has quit IRC
[05:12:57] *** conan_the_destro has quit IRC
[05:12:57] *** dnull has quit IRC
[05:12:58] *** mdedetrich has quit IRC
[05:12:58] *** iksik has quit IRC
[05:12:59] *** EMPZ has quit IRC
[05:13:00] *** L0j1k has quit IRC
[05:13:02] *** samuelharden has quit IRC
[05:13:03] *** johnnyfive has quit IRC
[05:13:04] *** Circlefusion has quit IRC
[05:13:04] *** seanmarcia has quit IRC
[05:13:04] *** kd` has quit IRC
[05:13:05] *** TrafficMan has quit IRC
[05:13:06] *** dwayne has quit IRC
[05:13:08] *** GitNick has quit IRC
[05:13:09] *** scav has quit IRC
[05:13:10] *** kStolen has quit IRC
[05:13:11] *** TwinkleHood has quit IRC
[05:13:11] *** thomasvs has quit IRC
[05:13:12] *** vinnix has quit IRC
[05:13:12] *** contradictioned has quit IRC
[05:13:13] *** motionman has quit IRC
[05:13:14] *** joshfinnie has quit IRC
[05:13:14] *** drew2 has quit IRC
[05:13:15] *** youngnico has quit IRC
[05:13:16] *** EMPZ has joined #angularjs
[05:13:17] *** kd`_ has joined #angularjs
[05:13:17] <wafflej0ck> Fifty5Plus: you mean the vertical inside border?
[05:13:18] *** teegee543_ is now known as teegee543
[05:13:20] *** Marsup` is now known as Marsup
[05:13:20] *** olli-- is now known as olli-
[05:13:21] *** vbabiy_ has joined #angularjs
[05:13:21] *** noord_ is now known as noord
[05:13:21] *** Circlefusion1 has joined #angularjs
[05:13:22] *** paolo_ has joined #angularjs
[05:13:22] *** universaL has joined #angularjs
[05:13:22] *** lahwran_ has joined #angularjs
[05:13:23] *** Lorthirk has joined #angularjs
[05:13:23] *** universaL is now known as universa1
[05:13:24] *** glamb__ is now known as glamb_
[05:13:24] *** bremnes_ is now known as bremnes
[05:13:25] *** rtucker88_ has joined #angularjs
[05:13:26] *** tsalb_ is now known as tsalb
[05:13:27] *** wycats_ is now known as wycats
[05:13:28] *** cythrawll has quit IRC
[05:13:29] *** motionman has joined #angularjs
[05:13:29] *** kStolen has joined #angularjs
[05:13:30] *** Templarian__ is now known as Templarian_
[05:13:30] *** quicksnap has joined #angularjs
[05:13:30] *** kcjones has joined #angularjs
[05:13:30] *** Veejay has joined #angularjs
[05:13:31] *** siovene_ is now known as siovene
[05:13:31] *** Floyd_ has joined #angularjs
[05:13:32] <wafflej0ck> Fifty5Plus: er rather the horizontal lines between the panels
[05:13:34] *** matthew_r has joined #angularjs
[05:13:35] *** macabre has quit IRC
[05:13:35] *** prikk___ is now known as prikk__
[05:13:39] *** seanmarcia has joined #angularjs
[05:13:39] *** NullSoldier_ is now known as NullSoldier
[05:13:40] *** youngnico has joined #angularjs
[05:13:42] *** thomasvs has joined #angularjs
[05:13:43] *** thomasvs has joined #angularjs
[05:13:43] *** ChuckOckstarter is now known as cmenscher
[05:13:44] *** raytiley_ is now known as raytiley
[05:13:45] *** thanpolas_ is now known as thanpolas
[05:13:49] *** oyvinmar___ is now known as oyvinmar__
[05:13:52] *** L0j1k has joined #angularjs
[05:13:54] *** scav has joined #angularjs
[05:13:55] *** L0j1k is now known as Guest20465
[05:13:57] *** Shadeness has quit IRC
[05:14:02] *** tomdale__ is now known as tomdale_
[05:14:03] *** cythrawll has joined #angularjs
[05:14:03] *** imanc_ is now known as imanc
[05:14:04] *** Sgeo has quit IRC
[05:14:06] *** eribeiro_ is now known as eribeiro
[05:14:06] *** joshtau has joined #angularjs
[05:14:08] *** JonathanNeal_ is now known as JonathanNeal
[05:14:11] *** joshfinnie has joined #angularjs
[05:14:16] *** kudos_ is now known as kudos
[05:14:21] *** GitNick has joined #angularjs
[05:14:22] *** crakrjak has quit IRC
[05:14:33] *** renstrm has joined #angularjs
[05:14:39] *** mary5030 has quit IRC
[05:14:39] *** jcool has joined #angularjs
[05:14:53] *** swalberg has joined #angularjs
[05:15:07] *** Seich has joined #angularjs
[05:15:17] *** jonathanpglick has quit IRC
[05:15:22] *** iivvoo has joined #angularjs
[05:15:24] *** jerev has joined #angularjs
[05:15:24] *** jerev has joined #angularjs
[05:15:29] *** Shadeness has joined #angularjs
[05:15:39] *** BackEndCoder has joined #angularjs
[05:15:50] *** seriema has quit IRC
[05:16:07] *** motionman has quit IRC
[05:16:11] *** Ownix_ is now known as Ownix
[05:16:15] *** tschundeee has quit IRC
[05:16:23] *** jga_ is now known as jga
[05:16:28] *** motionman has joined #angularjs
[05:16:37] *** Xorlev_ is now known as Xorlev
[05:16:48] *** mdel_ is now known as mdel
[05:17:05] *** JR___ has joined #angularjs
[05:17:14] *** TrafficMan has joined #angularjs
[05:17:16] *** Skrypter has joined #angularjs
[05:17:22] *** comma8 has joined #angularjs
[05:17:59] *** zivester has quit IRC
[05:18:27] <Fifty5Plus> wafflej0ck: first make the changes you have in mind to get the math right and then we need to look at all of the sizes that need to be set on individual basis ... we should make all the attributes for all 9 boxes "congruent" such that you could use "west" and/or "east" as an "index" to config data
[05:18:28] *** tripu has joined #angularjs
[05:18:32] *** crakrjak has joined #angularjs
[05:18:53] *** zivester has joined #angularjs
[05:18:54] *** johnnyfive has joined #angularjs
[05:18:57] <Fifty5Plus> wafflej0ck: i mean the 82px being auto calculated
[05:19:06] *** rtpg has joined #angularjs
[05:19:14] *** crakrjak has quit IRC
[05:19:20] *** rtpg has joined #angularjs
[05:19:25] *** thomasvs has quit IRC
[05:19:25] <wafflej0ck> Fifty5Plus: ah yeah saw that as something I'll fix while fixing things for resize
[05:19:55] *** thomasvs has joined #angularjs
[05:20:11] *** crakrjak has joined #angularjs
[05:20:20] <Fifty5Plus> wafflej0ck: unfortunately i have to get up at 4:30 EST so will have to look at this tomorrow day time and then will come up with a class with all the params that need to be set up and then we'll compare notes
[05:20:47] <wafflej0ck> Fifty5Plus: yeah agree need to come up with what will be changeable there cool ping me tomorrow
[05:20:56] *** advy has joined #angularjs
[05:21:08] *** zivester has quit IRC
[05:21:34] *** dogsy has joined #angularjs
[05:22:05] *** zivester has joined #angularjs
[05:22:06] *** Chepra has joined #angularjs
[05:22:16] *** IJNX has joined #angularjs
[05:22:24] *** asher^ has quit IRC
[05:22:31] *** Sontakey1 has joined #angularjs
[05:22:43] *** gnrlbzik has quit IRC
[05:23:27] *** JR___ has quit IRC
[05:23:43] *** kreiggers has joined #angularjs
[05:23:46] *** JR___ has joined #angularjs
[05:23:58] *** tfennelly has joined #angularjs
[05:24:34] *** patrickarlt has joined #angularjs
[05:24:34] <deweydb> so if i have child states in ui-router that match a pattern such as /task-1/pagename and the parent state is task and the child state is pagename. so i can do $state.go('task.pagename') and be taken to /task-1/pagename, how do i do $state.go(task-2/pagename) ?
[05:26:04] *** kwd has joined #angularjs
[05:26:25] *** gekido has joined #angularjs
[05:26:32] *** corehook has quit IRC
[05:26:35] <deweydb> oh, toParams
[05:26:36] <deweydb> i see
[05:26:37] <deweydb> nevermind
[05:26:54] *** dcherman has quit IRC
[05:26:59] *** Sgeo has joined #angularjs
[05:27:57] <jaydubya> This pasted function is wired to an ng-click and the blank record gets inserted onto scope but the state doesn't change (the edit form doesn't open). <-- https://gist.github.com/anonymous/5394af396781b732aecf
[05:28:23] *** tfennelly has quit IRC
[05:28:31] *** newton has joined #angularjs
[05:29:06] *** asher^ has joined #angularjs
[05:29:25] *** patricka_ has joined #angularjs
[05:29:27] *** patrickarlt has quit IRC
[05:29:34] *** darrin has joined #angularjs
[05:29:37] <Fifty5Plus> wafflej0ck good night all
[05:29:39] *** cacts has joined #angularjs
[05:30:10] *** Skrypter has quit IRC
[05:30:31] <wafflej0ck> jaydubya: think you just want $state.go("admin.users.edit", {userId: $scope.inserted.id}); or the like
[05:30:45] <wafflej0ck> Fifty5Plus: g'night
[05:30:46] *** Guest68630 has joined #angularjs
[05:31:09] <kirfu> Hey why is it recommended to return a promise instead of just $http?
[05:31:22] <deweydb> weird, jaydubya asked almost the same thing as i did
[05:31:23] *** whitebook has quit IRC
[05:31:35] *** kuadrosx has joined #angularjs
[05:31:48] <wafflej0ck> kirfu: it's not necessarily but can be easier to just setup your $q.deferred() and always return the same promise from a function to keep things a bit simpler
[05:31:53] *** flyingducks has joined #angularjs
[05:32:16] <wafflej0ck> kirfu: that way not conditionally returning an HTTPPromise vs a regular promise or anything like that
[05:32:18] *** AlexZan has joined #angularjs
[05:32:20] <wafflej0ck> basically consistency
[05:32:44] *** rud has joined #angularjs
[05:32:53] *** zivester has quit IRC
[05:33:41] <kirfu> so just return $http({...}) is still valid? I always got the feeling it was bad practice vs using $1
[05:33:44] <kirfu> $q
[05:34:42] *** nesquerra has quit IRC
[05:35:04] *** burzum2 has joined #angularjs
[05:35:47] *** kreiggers has quit IRC
[05:35:57] *** gishmel has quit IRC
[05:36:16] *** narutimateum has joined #angularjs
[05:36:27] *** zivester has joined #angularjs
[05:36:47] *** DrJae has joined #angularjs
[05:37:22] *** burzum has quit IRC
[05:37:43] *** patricka_ has quit IRC
[05:38:34] *** Jae has quit IRC
[05:39:19] *** busticated has joined #angularjs
[05:39:19] *** _ritchie_ has quit IRC
[05:39:38] <wafflej0ck> kirfu: no nothing wrong with returning the $http promise but like I said if you're doing caching of data and are going to return a $q deferred object/promise then it is a bit nicer to keep the object being returned a consistent type but it's not really a big deal since HTTPPromise extends from the regular promise
[05:41:10] *** Nguyen_ has joined #angularjs
[05:41:25] *** thepro4ever has joined #angularjs
[05:41:30] <Nguyen_> hello
[05:41:35] *** thepro4ever has left #angularjs
[05:41:42] *** dharmit has joined #angularjs
[05:42:22] <kirfu> thanks wafflej0ck
[05:42:24] *** corehook has joined #angularjs
[05:42:29] *** Nguyen_ has quit IRC
[05:42:37] <wafflej0ck> mmm hmm sure thing
[05:42:56] *** petey has quit IRC
[05:42:57] *** rburns has quit IRC
[05:43:10] *** rburns has joined #angularjs
[05:43:20] *** adpirz has joined #angularjs
[05:44:34] *** lvegerano-home has quit IRC
[05:45:18] *** ChadStrat has quit IRC
[05:45:39] *** lvegerano-home has joined #angularjs
[05:46:19] *** mennea has joined #angularjs
[05:46:36] *** flyingducks has quit IRC
[05:47:30] *** Skrypter has joined #angularjs
[05:47:44] *** tsalb has quit IRC
[05:47:44] *** nemothekid has quit IRC
[05:47:54] *** adpirz has quit IRC
[05:48:12] *** Latros-OS has joined #angularjs
[05:49:33] *** dogsy has quit IRC
[05:49:33] *** defaultdict has quit IRC
[05:50:56] *** darrin has quit IRC
[05:52:04] *** DrMabuse has joined #angularjs
[05:52:06] *** Aliks has quit IRC
[05:52:29] *** jrist has joined #angularjs
[05:52:36] *** _ritchie_ has joined #angularjs
[05:52:41] *** Aliks has joined #angularjs
[05:53:04] *** JoshGlzBrk has joined #angularjs
[05:53:21] *** scythe__ has quit IRC
[05:54:25] *** nima_ has quit IRC
[05:54:31] *** jrist has joined #angularjs
[05:55:39] *** thumpba has joined #angularjs
[05:56:28] *** DrMabuse has quit IRC
[05:56:37] <jaydubya> LOLOL, I just did FUp 101 -- on the server side, I did return Users::delete($id); instead of return Users::where('id', $id)->delete();. I guess there is reseeding in my future!
[05:56:49] *** Lingo__ has quit IRC
[05:57:13] *** Aliks has quit IRC
[05:58:01] *** JR___ has quit IRC
[05:58:16] *** ChanServ sets mode: +o caitp
[05:58:46] *** caitp changes topic to "http://angularjs.org/ | Docs: http://docs.angularjs.org/ | Latest release: 1.2.26 / 1.3.2 | Be respectful! Code Of Conduct: http://goo.gl/m7MHxk | Paste your code here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f | #ionic for Ionic questions | The channel is being logged at: http://goo.gl/8Wwttq | Be polite! ☃"
[05:58:51] *** ChanServ sets mode: -o caitp
[05:58:52] *** JohnBat26 has joined #angularjs
[05:59:52] *** kuadrosx has quit IRC
[06:00:00] *** Skrypter has quit IRC
[06:00:16] *** jrist has quit IRC
[06:01:20] *** nesquerra has joined #angularjs
[06:01:55] *** whitebook has joined #angularjs
[06:02:26] *** corehook has quit IRC
[06:02:58] *** corehook has joined #angularjs
[06:03:08] <reavengrey> CodeIgniter's ion_auth plugin wasted a lot of my time just now
[06:03:11] *** corehook has quit IRC
[06:03:22] *** jlambert_ has joined #angularjs
[06:03:42] *** mguillech has joined #angularjs
[06:03:55] *** doginal has joined #angularjs
[06:03:57] *** jlambert121 has quit IRC
[06:04:02] *** MistahKurtz has quit IRC
[06:04:08] *** lvegerano-home has quit IRC
[06:04:13] *** Cache_Money has left #angularjs
[06:04:32] *** pikapp has joined #angularjs
[06:05:42] *** nesquerra has quit IRC
[06:05:49] *** corehook has joined #angularjs
[06:06:26] *** mjs2600 has joined #angularjs
[06:07:57] *** jlambert_ has quit IRC
[06:08:09] *** mguillech has quit IRC
[06:09:01] *** nesquerra has joined #angularjs
[06:09:40] *** whitebook has quit IRC
[06:10:05] *** technickul has quit IRC
[06:10:19] *** advy has quit IRC
[06:10:24] *** sinequanon has joined #angularjs
[06:10:36] <pikapp> I have a factory which uses $http.get to GET a file called config.json from the server to retrieve configuration data. All of my factory’s methods and properties are dependent upon this JSON. Is there a way to make sure this happens which using something like configPromise.then for all of my factory methods?
[06:11:04] <pikapp> *without using
[06:11:15] *** lahwran_ is now known as lahwran
[06:11:31] *** jrist has joined #angularjs
[06:11:50] *** seriema has joined #angularjs
[06:12:12] *** advy has joined #angularjs
[06:12:23] *** tschundeee has joined #angularjs
[06:12:31] *** ehalas3 has joined #angularjs
[06:12:38] <BahamutWC|Lapt-1> pikapp: there’s probably several ways to accomplish what you want
[06:12:38] *** mdedetrich has joined #angularjs
[06:12:43] *** ehalas3 has quit IRC
[06:12:48] <BahamutWC|Lapt-1> you can do $http.get(…, { cache: true })
[06:12:58] *** BahamutWC|Lapt-1 is now known as BahamutWC|Laptop
[06:13:19] <pikapp> but i can’t specify my methods and return inside the success block?
[06:13:22] <BahamutWC|Laptop> you could also fetch the json in the module.run block
[06:13:29] <pikapp> ah
[06:13:38] <BahamutWC|Laptop> $http.get(…).then(function (response) { … })
[06:13:50] *** willeponken has quit IRC
[06:14:00] *** Skrypter has joined #angularjs
[06:14:20] *** mdedetr__ has joined #angularjs
[06:14:36] *** shifteleven has quit IRC
[06:14:51] *** mdedetri_ has quit IRC
[06:15:35] <pikapp> I essentially want to retrieve this JSON only once when the application is loaded and before any controllers and services are loaded and store the object in a Singleton-like location that my services and controllers can access
[06:15:38] *** mdedetrich has quit IRC
[06:15:40] *** gunn_ has quit IRC
[06:15:54] <wafflej0ck> pikapp: yeah have done similar things for checking login
[06:16:15] <wafflej0ck> pikapp: you can have a promise that you store a reference to on one of the services then reference that from the other ones
[06:16:33] <wafflej0ck> it's not a real extensible solution though since you can run into circular dependencies in the services then
[06:16:54] *** seriema has quit IRC
[06:17:10] *** tschundeee has quit IRC
[06:18:17] *** mdedetrich has joined #angularjs
[06:18:18] <pikapp> yeah i have gotten it working as i want with promises, i actually created a service called ConfigService that returns a promise in the $http.get and caches the result. The problems with that are every single method in all of my factories have to be wrapped in a .then block
[06:18:20] *** doginal has quit IRC
[06:18:34] <BahamutWC|Laptop> pikapp: you could do angular.injector([‘ng’]).invoke(function ($http) { $http.get(…).then(function (response) { var data = response.data; angular.bootstrap(document, [‘myApp’]); })
[06:18:37] <BahamutWC|Laptop> kinda ugly though
[06:18:59] *** jmichaelward has quit IRC
[06:19:02] *** tkimmel has joined #angularjs
[06:19:29] *** NormySan has joined #angularjs
[06:19:46] <mystronyx> any of you have an issue where a second directive overrides the first one? my code looks like this: <div class="item" sortable draggable> . Draggable directive triggers, but sortable does not.
[06:19:46] *** doginal has joined #angularjs
[06:20:07] *** patrickarlt has joined #angularjs
[06:20:17] *** greatdex has joined #angularjs
[06:20:55] *** tomzx is now known as tomzx`afk
[06:21:14] *** zoeycakes has joined #angularjs
[06:21:49] <mystronyx> Maybe this is an issue with draggable conflicting with sortable.
[06:22:02] *** emmesswhy has joined #angularjs
[06:22:06] *** mdedetr__ has quit IRC
[06:23:17] *** tkimmel has quit IRC
[06:23:36] *** gnrlbzik has joined #angularjs
[06:24:15] *** nemothekid has joined #angularjs
[06:24:39] *** patricka_ has joined #angularjs
[06:24:44] *** patrickarlt has quit IRC
[06:25:04] *** ChadStrat has joined #angularjs
[06:25:55] *** zivester has quit IRC
[06:27:11] *** mennea has quit IRC
[06:27:32] *** _ritchie_ has quit IRC
[06:27:48] *** mennea has joined #angularjs
[06:28:05] *** doginal has quit IRC
[06:28:40] *** Sontakey1 has quit IRC
[06:28:52] *** patricka_ has quit IRC
[06:28:56] *** johnkevinmbasco has joined #angularjs
[06:29:19] *** Latros-OS has quit IRC
[06:29:22] *** zoeycakes has quit IRC
[06:29:38] *** Latros-OS has joined #angularjs
[06:32:23] *** SergioFilhow has joined #angularjs
[06:33:09] *** kkthxbye has quit IRC
[06:34:09] *** Latros-OS has quit IRC
[06:34:25] *** slobo has quit IRC
[06:34:42] *** doginal has joined #angularjs
[06:34:49] *** krawek has joined #angularjs
[06:34:54] *** Underbyte has quit IRC
[06:35:01] *** dhcar is now known as dhcar_AFK
[06:35:04] *** krawek has quit IRC
[06:35:04] *** krawek has joined #angularjs
[06:35:39] *** LossFor has quit IRC
[06:35:41] *** ChadStrat has quit IRC
[06:36:37] *** SergioFilhow has quit IRC
[06:36:53] *** _ritchie_ has joined #angularjs
[06:37:00] *** Rebirth has joined #angularjs
[06:37:17] *** zB0hs has joined #angularjs
[06:37:31] *** talnti has joined #angularjs
[06:37:57] *** zivester has joined #angularjs
[06:38:04] *** mjs2600 has quit IRC
[06:39:12] *** doginal has quit IRC
[06:39:47] *** emmesswhy has quit IRC
[06:39:53] *** talntid has quit IRC
[06:39:56] *** rabbi1 has joined #angularjs
[06:41:17] *** doginal has joined #angularjs
[06:41:36] *** mjs2600 has joined #angularjs
[06:41:49] *** AlexZan has quit IRC
[06:41:50] *** zivester has quit IRC
[06:41:58] *** Underbyte has joined #angularjs
[06:42:10] *** mdedetri_ has joined #angularjs
[06:42:17] *** doginal has quit IRC
[06:42:42] *** gnrlbzik has quit IRC
[06:42:48] <pikapp> BahamutWC|Laptop: in your solution above with injector, where can i store the response.data so i can access it in my controllers/services?
[06:42:56] *** gnrlbzik has joined #angularjs
[06:43:19] *** mdedetrich has quit IRC
[06:43:19] *** rburns has quit IRC
[06:43:41] *** rburns has joined #angularjs
[06:43:47] *** whunt has joined #angularjs
[06:44:04] <rabbi1> How can i do this ? {{item.length + "no." || '---'}} to achieve '10 no.' ?
[06:44:08] *** zivester has joined #angularjs
[06:46:12] *** ProLoser has quit IRC
[06:47:24] *** doug16k has joined #angularjs
[06:48:13] *** simiographics has joined #angularjs
[06:48:37] *** glosoli has joined #angularjs
[06:49:24] *** glosoli has quit IRC
[06:49:27] *** _ritchie_ has quit IRC
[06:49:52] *** corehook has quit IRC
[06:49:54] *** doug64k has quit IRC
[06:50:18] *** emmesswhy has joined #angularjs
[06:50:28] *** slobo has joined #angularjs
[06:50:53] *** ProLoser has joined #angularjs
[06:52:19] *** corehook has joined #angularjs
[06:52:50] *** DrMabuse has joined #angularjs
[06:53:07] *** NoNMaDDeN has quit IRC
[06:54:12] *** Owner__ has joined #angularjs
[06:54:28] *** mjs2600 has quit IRC
[06:54:35] *** Owner__ is now known as Guest24243
[06:54:44] *** mjs2600 has joined #angularjs
[06:54:51] *** gunn has joined #angularjs
[06:55:13] *** mjs2600 has quit IRC
[06:56:26] *** Xethron has joined #angularjs
[06:57:02] *** corehook has quit IRC
[06:57:14] *** mennea has quit IRC
[06:57:23] *** DrMabuse has quit IRC
[06:57:51] *** mennea has joined #angularjs
[06:58:09] *** NoNMaDDeN has joined #angularjs
[06:58:56] *** NoNMaDDeN has quit IRC
[06:59:06] *** doginal has joined #angularjs
[06:59:18] *** knownasilya has quit IRC
[06:59:20] *** syzygy__ has quit IRC
[06:59:26] *** jstimm has joined #angularjs
[07:00:07] *** shredjs_ has joined #angularjs
[07:00:09] *** corehook has joined #angularjs
[07:00:10] *** VeeWee has joined #angularjs
[07:00:11] *** jstimm has joined #angularjs
[07:00:13] *** emmesswhy has quit IRC
[07:00:49] *** doginal has quit IRC
[07:01:03] *** e0ipso|away has quit IRC
[07:01:03] *** sirkitree|afk|af has quit IRC
[07:01:17] *** zivester has quit IRC
[07:01:55] *** h3ndr1ks has joined #angularjs
[07:02:16] *** doginal has joined #angularjs
[07:02:25] *** zivester has joined #angularjs
[07:03:22] *** shredjs has quit IRC
[07:03:46] *** neoadventist has joined #angularjs
[07:04:30] *** Hackwar1 has quit IRC
[07:05:15] *** Hackwar has joined #angularjs
[07:05:36] <wafflej0ck> rabbi1: try {{ (item.length + "no.") || '---'}}
[07:05:45] <wafflej0ck> rabbi1: usually in expressions more parens help
[07:06:20] *** VeeWee has quit IRC
[07:06:50] <BahamutWC|Laptop> or even better, use a filter or function on $scope - that’s a bunch of logic for the view
[07:07:24] *** slobo has quit IRC
[07:07:41] <rabbi1> wafflej0ck: nope, din't work
[07:08:22] <rabbi1> right now using data-ng-show :( which looks bad too
[07:08:48] *** pikapp has quit IRC
[07:08:59] *** slobo has joined #angularjs
[07:09:30] *** pikapp has joined #angularjs
[07:09:59] *** bjtitus has quit IRC
[07:10:33] *** VeeWee has joined #angularjs
[07:10:42] <rabbi1> wafflej0ck: works, but when the length is '0' it shows '0no'. where i wanted —
[07:10:53] *** drew2 has joined #angularjs
[07:11:00] <wafflej0ck> oh right
[07:11:24] <wafflej0ck> yea cause if the first part evaluates it's going to stop.... you may want to just do it in a function instead
[07:11:31] <wafflej0ck> er a filter rather
[07:12:29] *** NormySan has quit IRC
[07:12:39] <wafflej0ck> mod.filter('myFilter', function(){return function(input){if(input.length==0)return '---';else return input.length+'no.'}})
[07:13:06] *** simiographics has quit IRC
[07:13:07] *** mdel has quit IRC
[07:13:07] *** seriema has joined #angularjs
[07:13:14] *** tschundeee has joined #angularjs
[07:13:14] *** gnrlbzik has quit IRC
[07:13:38] *** zivester has quit IRC
[07:13:56] *** rburns has quit IRC
[07:14:06] *** ahmetkapikiran has quit IRC
[07:14:19] *** rburns has joined #angularjs
[07:14:52] *** zivester has joined #angularjs
[07:15:31] *** trend has joined #angularjs
[07:16:07] *** NoNMaDDeN has joined #angularjs
[07:17:40] *** seriema has quit IRC
[07:18:01] *** kreiggers has joined #angularjs
[07:18:07] *** tschundeee has quit IRC
[07:18:41] *** mennea has quit IRC
[07:19:15] *** soee has quit IRC
[07:20:02] *** burglin has joined #angularjs
[07:20:16] *** trend has quit IRC
[07:20:17] *** thumpba has quit IRC
[07:20:32] *** bjtitus has joined #angularjs
[07:20:34] *** gekido has quit IRC
[07:20:53] *** mdedetri_ has quit IRC
[07:21:54] *** {DV8} has quit IRC
[07:21:57] *** Shrooms has quit IRC
[07:22:30] *** IJNX has quit IRC
[07:22:34] *** thumpba has joined #angularjs
[07:22:50] *** NormySan has joined #angularjs
[07:24:39] *** patrickarlt has joined #angularjs
[07:25:19] *** MistahKurtz has joined #angularjs
[07:25:28] *** derrick13 has quit IRC
[07:25:57] *** IJNX has joined #angularjs
[07:26:05] *** mdedetrich has joined #angularjs
[07:26:32] *** corehook has quit IRC
[07:26:50] *** mmealling has quit IRC
[07:26:51] *** patricka_ has joined #angularjs
[07:27:01] *** ChadStrat has joined #angularjs
[07:27:19] *** zivester has quit IRC
[07:27:23] *** surreal has quit IRC
[07:28:57] *** krawek has quit IRC
[07:29:00] *** asher^ has quit IRC
[07:29:15] *** patrickarlt has quit IRC
[07:29:41] *** junmin has quit IRC
[07:29:50] *** favetelinguis has joined #angularjs
[07:30:59] *** patricka_ has quit IRC
[07:32:14] *** adpirz has joined #angularjs
[07:33:32] *** ggrzybek has joined #angularjs
[07:33:35] *** asher^ has joined #angularjs
[07:33:53] *** Guest20465 is now known as L0j1k
[07:34:00] *** L0j1k has joined #angularjs
[07:34:02] *** burglin has quit IRC
[07:34:03] <oniMaker> Does $resource not have a default PUT method?
[07:34:06] *** corehook has joined #angularjs
[07:34:11] *** L0j1k is now known as Genitals
[07:34:17] *** gunn has quit IRC
[07:34:21] *** Genitals is now known as L0j1k
[07:35:02] <shredjs_> Is it possible to pass trough ui-route a scope that does not appear in the state url
[07:35:49] *** IJNX has quit IRC
[07:36:29] *** adpirz has quit IRC
[07:36:55] *** ackison has joined #angularjs
[07:36:59] *** gunn has joined #angularjs
[07:37:01] *** Ch4rAss has joined #angularjs
[07:37:06] *** gunn has quit IRC
[07:37:41] *** gunn has joined #angularjs
[07:37:55] *** Aerospark has quit IRC
[07:39:00] *** ChadStrat has quit IRC
[07:39:28] *** simiographics has joined #angularjs
[07:40:00] *** busticated has quit IRC
[07:41:44] *** Orbitrix has joined #angularjs
[07:41:50] *** favetelinguis has quit IRC
[07:41:57] *** whunt has quit IRC
[07:43:21] *** ProLoser has quit IRC
[07:43:30] *** emmesswhy has joined #angularjs
[07:44:17] *** MattWelch has quit IRC
[07:44:18] *** rburns has quit IRC
[07:44:23] *** DrJae is now known as Jae
[07:44:25] *** Jae has joined #angularjs
[07:44:56] *** ChadStrat has joined #angularjs
[07:44:56] *** rburns has joined #angularjs
[07:45:08] *** gurke_ has joined #angularjs
[07:45:19] *** joshontheweb has quit IRC
[07:45:23] *** threesixes has quit IRC
[07:45:53] <gurke_> good morning. :)
[07:45:56] *** hekep has joined #angularjs
[07:46:08] *** AimerPaddle has quit IRC
[07:46:12] *** mistermjtek has joined #angularjs
[07:46:35] *** rhp has quit IRC
[07:46:52] <mistermjtek> hi, i’m curious if anyone has implemented a loading splash screen for an SPA without using ng-show
[07:48:06] *** pikapp has quit IRC
[07:48:13] <mistermjtek> and if splash screens can be made in a separate state and be told to just $state.go to the next state
[07:48:46] <howtoi18n> How to lazy load a angular-locale script? I try to load the locale script in my app.run after I get the browser language, it doesn't work.
[07:49:43] *** joshontheweb has joined #angularjs
[07:49:53] *** sgnl has joined #angularjs
[07:49:57] *** Guest68630 has quit IRC
[07:50:10] *** lite has joined #angularjs
[07:50:59] *** doginal has quit IRC
[07:51:03] *** zoeycakes has joined #angularjs
[07:51:46] *** zoeycakes has quit IRC
[07:52:28] *** corehook has quit IRC
[07:52:41] *** speaking1ode has joined #angularjs
[07:52:44] *** dnull has joined #angularjs
[07:53:45] *** speakingcode has quit IRC
[07:54:55] *** AngularUI has joined #angularjs
[07:54:55] <AngularUI> [ng-grid] novice3030 opened pull request #2081: added selectionRowHeaderWidth option (master...master) http://git.io/qsUSeg
[07:54:55] *** AngularUI has left #angularjs
[07:55:54] *** mjs2600 has joined #angularjs
[07:56:14] *** IJNX has joined #angularjs
[07:57:15] *** phzon has joined #angularjs
[07:57:35] *** Underbyte has quit IRC
[08:00:00] *** dnull has quit IRC
[08:00:18] *** Skrypter has quit IRC
[08:00:27] *** thumpba has quit IRC
[08:00:42] *** mjs2600 has quit IRC
[08:01:46] *** phzon has quit IRC
[08:02:44] *** ishan1604 has quit IRC
[08:02:50] *** doginal has joined #angularjs
[08:03:24] *** ishan1604 has joined #angularjs
[08:03:28] *** kp666 has joined #angularjs
[08:03:59] *** ProLoser has joined #angularjs
[08:04:06] *** Shai-Tan has quit IRC
[08:06:37] <shredjs_> hey can you do something like.... patient in patientList | filter: patient.Date < todaysDate
[08:06:42] *** spazbite has joined #angularjs
[08:07:47] *** ishan1604 has quit IRC
[08:08:01] *** ChadStrat has quit IRC
[08:08:14] *** tkimmel has joined #angularjs
[08:08:34] *** DrMabuse has joined #angularjs
[08:10:32] *** AndreasLutro has joined #angularjs
[08:10:33] *** bc_ has quit IRC
[08:10:34] *** bc_ has joined #angularjs
[08:10:34] *** merobertsjr has joined #angularjs
[08:10:34] *** Chexel has joined #angularjs
[08:10:42] *** Chexel has left #angularjs
[08:10:58] *** Alina-malina has quit IRC
[08:11:14] *** pnade has joined #angularjs
[08:11:32] *** Alina-malina has joined #angularjs
[08:12:39] *** pnode has quit IRC
[08:12:44] *** tkimmel has quit IRC
[08:12:45] *** mzabriskie has joined #angularjs
[08:13:14] *** DrMabuse has quit IRC
[08:13:36] *** diffalot has joined #angularjs
[08:13:38] *** mrpj has joined #angularjs
[08:13:44] *** tfennelly has joined #angularjs
[08:13:59] *** seriema has joined #angularjs
[08:14:18] *** soee has joined #angularjs
[08:14:18] *** gnrlbzik has joined #angularjs
[08:14:54] <oniMaker> How can I tell what the old value of an ng-model was before it changed?
[08:14:55] *** rburns has quit IRC
[08:14:58] *** Shrooms has joined #angularjs
[08:15:04] *** Shrooms has joined #angularjs
[08:15:18] *** rburns has joined #angularjs
[08:16:06] *** zwacky has joined #angularjs
[08:16:27] *** waverider has joined #angularjs
[08:16:43] <dsdeiz> anyone happen to know how to create tests using cucumber and protractor?
[08:17:57] *** mtsr has joined #angularjs
[08:17:58] *** tfennelly has quit IRC
[08:18:02] *** emmesswhy has quit IRC
[08:18:03] *** samuel02 has joined #angularjs
[08:18:15] *** slobo has quit IRC
[08:18:25] <soee> good morning
[08:18:30] *** samuel02 has quit IRC
[08:18:58] *** samuel02 has joined #angularjs
[08:19:23] *** seriema has quit IRC
[08:20:12] *** KernelCurry has quit IRC
[08:20:16] *** slobo has joined #angularjs
[08:20:44] *** thomastuts has joined #angularjs
[08:20:53] *** doginal_ has joined #angularjs
[08:20:57] *** uru|away is now known as uru
[08:21:09] *** SergioFilhow has joined #angularjs
[08:22:05] *** doginal has quit IRC
[08:22:06] *** doginal_ is now known as doginal
[08:22:11] <oniMaker> How can I tell if a scope variable has changed since I last retrieved it from a $request?
[08:22:16] <oniMaker> it's being used as an ng-model
[08:22:33] <oniMaker> and, when it's saved, I only want to update the attributes that were actually changed, not the whole thing
[08:22:36] *** MattWelch has joined #angularjs
[08:22:38] *** Daemonik has joined #angularjs
[08:23:42] <Daemonik> "As a person who understands front to back end web development down to the minute details, I don't like making a bigger mess [by using a framework like AngularJS] than than the minimum it will take [with only "vanilla javascript" I wrote myself]." Hey #AngularJS, what are your thoughts on the quoted statement?
[08:23:47] *** seriema has joined #angularjs
[08:24:39] <sacho> ok
[08:25:03] *** eBureau has quit IRC
[08:25:17] *** SergioFilhow has quit IRC
[08:25:25] <Inge-> Daemonik: If you can manage and roll your own framework - and either a) don't have other people to maintain the code or b) They grok your stuff. More power to you!
[08:27:23] *** Trow has joined #angularjs
[08:27:57] *** seriema has quit IRC
[08:28:26] *** tech2_ has joined #angularjs
[08:28:31] <Daemonik> Inge-, What do you think of people who say "people should be able to read my code, and should take the time to read my code, and that will work great because I'm an excellent programmer"
[08:28:56] *** emmesswhy has joined #angularjs
[08:28:58] <Daemonik> "all I have to do is comply with EcmaScript 5, no maintenance on my personal framework I want everyone else to use will be necessary"
[08:29:03] <sacho> Daemonik, ok
[08:29:19] <Inge-> the proof of the pudding is in the eating.
[08:29:39] *** patrick99e99 has joined #angularjs
[08:29:47] *** waverider has quit IRC
[08:30:51] *** ItsAllGood has joined #angularjs
[08:31:10] <ItsAllGood> Hello. Is it possible to have multiple functions within the same factory? And if so how can I call one function from another?
[08:31:13] *** crocket has joined #angularjs
[08:31:14] <crocket> hi
[08:31:45] *** coopaloop has quit IRC
[08:31:51] <fairuz> ItsAllGood: of course. You can call it like MyFactory.functionA() and MyFactory.functionB()
[08:32:19] *** Aliks has joined #angularjs
[08:32:22] *** Oxynum has quit IRC
[08:32:34] *** Shrooms has quit IRC
[08:32:40] *** waverider has joined #angularjs
[08:33:07] <waverider> this channel is used for angularjs development as well?
[08:33:14] *** chrisbirk has quit IRC
[08:33:15] *** pikapp has joined #angularjs
[08:33:17] *** think4D has joined #angularjs
[08:34:09] <ItsAllGood> fairuz, I tried that, it said ReferenceError: myFactory is not defined
[08:34:17] *** patrick99e99 has quit IRC
[08:34:24] <think4D> What are the benefits of using Angular.js over Vanilla JavaScript after having read JavaScript: The Good Parts by Douglas Crockford?
[08:34:27] <ItsAllGood> Asumming it was called .factory('myFactory', function... of course
[08:34:40] <ItsAllGood> Do I need to pass in the insance of myFactory from the controller?
[08:35:31] <ItsAllGood> ie.... .controller('MyController', function($log, $scope, myFactory) { .......... where I call myFactory.getData(), should it really be myFactory.getData(myFactory) ?
[08:35:44] <ItsAllGood> And then from in getData(), I can call myFactory.otherFunction()
[08:36:14] *** jdj_dk has joined #angularjs
[08:36:51] <sacho> paste your factory's code on plnkr
[08:37:47] *** mistermjtek has quit IRC
[08:38:07] *** one0one has quit IRC
[08:38:14] <fairuz> ItsAllGood: ^^ yeah, a sample code will be good
[08:38:36] <fairuz> think4D: imo, lots of benefits. It provides structure.
[08:38:37] <ItsAllGood> I want to do something like this: http://plnkr.co/edit/vmdSeKPLVLtIbbwJc6o0?p=catalogue
[08:38:40] *** thomastuts has quit IRC
[08:39:36] <ItsAllGood> I just want to know how I can call funcB from funcA
[08:39:50] <think4D> fairuz: I see. Does Angular.js provide structure or does the programmer?
[08:39:52] *** jmonay has quit IRC
[08:40:03] <sacho> ItsAllGood, well, give your object a name.
[08:40:12] <sacho> I would even prefer to not use function expressions, but whatever.
[08:40:19] *** svycka has joined #angularjs
[08:40:38] <ItsAllGood> sacho, what do you mean?
[08:40:59] <think4D> EcmaScript 5 provides the grounding.
[08:41:01] <ItsAllGood> What is the object in there that you are referring to?
[08:41:07] <sacho> var factory = { .... }; return factory;
[08:41:09] <sacho> the object you're returning.
[08:41:15] <fairuz> think4D: they way angulars works, naturally it provides structure. You need to define modules and controllers inside your app
[08:41:23] <ItsAllGood> oh, well above that I have controllers and a "angular.module('application', [])"
[08:41:30] <think4D> I see.
[08:41:36] <ItsAllGood> That bit i pasted is just an example of the factory area
[08:41:49] <sacho> ok?
[08:42:19] <think4D> So by using Angular.js I must use modules and controllers?
[08:42:34] *** Evanion has joined #angularjs
[08:42:36] <ItsAllGood> Okay, so after I give the object a name
[08:42:40] <sacho> think4D, sure.
[08:42:46] *** mtsr has quit IRC
[08:42:50] <ItsAllGood> How can I call funcB() from funcA()?
[08:43:00] <think4D> Does sure mean yes?
[08:43:01] <sacho> ItsAllGood, name.funcB()
[08:43:06] <sacho> think4D, sure.
[08:43:17] <think4D> Sure means sure, which means you don't really know.
[08:43:26] <oniMaker> Why is my custom 'update': { 'method': 'PUT' } not showing up on my resource?
[08:43:40] <oniMaker> I can get the resource fine... but $update is not an available function
[08:43:45] *** dan2k3k4 has joined #angularjs
[08:43:46] <kirfu> is it possible to call a controller of another module?
[08:43:55] <kirfu> in ngRoute?
[08:43:59] *** macobo has joined #angularjs
[08:44:20] <sacho> think4D, your question is silly.
[08:44:32] *** Raging_Hog has joined #angularjs
[08:44:36] *** cacts has quit IRC
[08:44:49] <think4D> With Vanilla JS, I provide my own structure, my own controllers, and my own modules, while being allotted the freedom to move in and out of any boundaries limited by the standards (we'll say Ecmascript 5)
[08:44:52] <sacho> kirfu, sure, just provide the name, as with any other.
[08:44:59] <sacho> think4D, that's nice.
[08:45:00] *** doginal has quit IRC
[08:45:08] *** mot0rola has quit IRC
[08:45:13] <kirfu> sacho: for some reason it's not registering :(
[08:45:20] <think4D> Yes. It's very nice.
[08:45:44] *** niklasmodess has joined #angularjs
[08:45:45] *** rburns has quit IRC
[08:45:48] <think4D> I also know that when there's an error, it was my fault.
[08:45:51] *** crunch-choco has joined #angularjs
[08:45:53] <ItsAllGood> sacho, so if I refactor that code and return... var factory = {func1, func2}; return factory;
[08:46:06] <ItsAllGood> and have var func1 = function { ... }; and likewise for func2
[08:46:12] <ItsAllGood> how do I call func2 from func1
[08:46:15] *** crunch-choco is now known as Guest42588
[08:46:39] <think4D> That way I don't have to see a channel filled with error messages.
[08:46:48] <sacho> think4D, ok.
[08:46:52] <think4D> mhmmm
[08:47:40] <sacho> ItsAllGood, you don't have to define separate variables for the functions, all you needed was to name the factory object. Then you could access the functions via factory.funcA(), and so on.
[08:47:42] <think4D> sacho, Is there something in particular that makes Angular.js very attractive to you?
[08:48:04] <sacho> It's very cromulent.
[08:48:21] <Daemonik> One of my buddies works remote out of Japan. He uses AngularJS, so does the dev in Germany, and I look at AngularJS code on occasion, makes it easy for us to all know what we're expecting our code to be doing.
[08:48:28] *** chrisbirk has joined #angularjs
[08:48:59] <think4D> Daemonik, so you are saying Angular.js makes collaboration easier?
[08:49:18] <think4D> sacho, acceptable doesn't beat out freedom.
[08:49:23] <Daemonik> think4D, Using frameworks can make collaboration easier. Are there other frameworks you would recommend over AngularJS?
[08:49:26] *** doginal has joined #angularjs
[08:49:43] *** snurfery has quit IRC
[08:49:44] <sacho> think4D, ok.
[08:49:49] *** rosieres has joined #angularjs
[08:49:56] <think4D> Daemonik, I don't recommend frameworks, I recommend learning the language - JavaScript.
[08:49:59] <ItsAllGood> sacho, thanks
[08:50:19] <think4D> Daemonik, JavaScript: The Good Parts by Douglas Crockford
[08:51:02] <Daemonik> think4D, People who have learned the language use frameworks to work together quickly, think of the work, "frame-work"
[08:51:19] *** nfroidure has joined #angularjs
[08:51:21] *** slopjong has joined #angularjs
[08:51:53] <Daemonik> think4D, I don't think the person you are quoting intended to convey "frameworks are for plebs"
[08:52:20] *** Greed has joined #angularjs
[08:52:53] <think4D> Daemonik, frames create boundaries; boundaries are okay as long as they do not limit creativity. Most of the time, using frameworks will abstract you from the real problem.
[08:53:01] *** rburns has joined #angularjs
[08:53:01] *** corehook has joined #angularjs
[08:53:10] <Daemonik> think4D, What is "real problem"?
[08:53:27] *** paolo_ is now known as paolo
[08:53:28] *** paolo has joined #angularjs
[08:53:34] <think4D> Daemonik, the "real problem" is site-specific.
[08:54:58] *** tarnus has quit IRC
[08:54:59] <think4D> I don't always create one page web apps, but when I do, I use WebSockets and JSON.
[08:55:05] <Daemonik> think4D, What kind of "boundary" do you mean? I don't see any reason why I can't use AngularJS + my own code...
[08:55:16] *** okdamn has joined #angularjs
[08:55:39] <think4D> If your solution is to add more code to more code, sounds like a waste of your time.
[08:55:39] <okdamn> hey, is here anybody who got angularjs SEO working?
[08:55:55] *** edy has joined #angularjs
[08:56:46] <Daemonik> think4D, Yeah but my code may be specific to what I'm doing, so writing my own code is useful for me and is a good use of my time, in addition to whatever AngularJS code I used. I think you're speaking subjectively.
[08:56:48] *** evilaliv3 has joined #angularjs
[08:56:54] <Daemonik> think4D, What do you mean by "frames create boundaries"?
[08:57:06] *** gunn has quit IRC
[08:58:09] <fairuz> think4D: Even if you create your own structure, you are creating this so called boundary as well. If you say you can modify it as you like, we can do the same thing with Angular. It's easily extendable.
[08:58:12] *** gunn has joined #angularjs
[08:58:18] <think4D> Daemonik, frames create abstraction, and abstraction is a boundary. Abstraction may lift you up over a mess . .
[08:58:24] *** damain has joined #angularjs
[08:58:39] <Daemonik> wut
[08:58:40] <ItsAllGood> Is there a way with $q.all to determine what sort of data I am getting back?
[08:58:52] *** rtpg has quit IRC
[08:58:57] <ItsAllGood> For example, I make 10 api calls - let's say 5 are "type 1" and 5 are "type 2"
[08:59:03] <Daemonik> think4D, Would it be more efficient to code my web-app in C than JS?
[08:59:07] <think4D> I don't see why I should use a framework to begin with? What makes Angular attractive?
[08:59:12] <ItsAllGood> Can I append "1" and "2" to certain calls, such that when it's returned I can easily sort them?
[08:59:18] *** corehook has quit IRC
[08:59:32] <ItsAllGood> Because I am finding function(results) { deferred.resolve(results); just lumps them all together
[08:59:38] <think4D> Do all developers who can write Angular, write Vanilla?
[09:00:18] <think4D> What parts of Angular make my life as a web developer easier?
[09:00:21] <fairuz> think4D: People learn ABC before they learn how to write a novel. imo
[09:00:36] <think4D> fairuz, I hope so.
[09:00:58] <fairuz> think4D: personally, I found the controller and the 2 way binding help me a lot seperating concerns between the view and the logic
[09:01:04] <Daemonik> think4D, Some developers already knew Javascript before using any framework, some use a framework and that works for them.
[09:01:19] <think4D> Daemonik, that's cool.
[09:02:05] *** Guest42588 has quit IRC
[09:02:13] <Daemonik> Usually teams of developers use frameworks and then add their own code for whatever they're building.
[09:02:15] *** simiographics has quit IRC
[09:02:16] *** DrMabuse has joined #angularjs
[09:02:35] <think4D> fairuz, Does Angular handle the model, view, and controller?
[09:03:08] <think4D> Daemonik, teams of developers should learn vanilla JS.
[09:03:14] <wafflej0ck> think4D: yea
[09:03:30] <okdamn> Guys do you know if angular SEO works for real ?
[09:03:34] <wafflej0ck> think4D: typically you want other stuff to help out with the view part if you're doing anything complex
[09:03:42] <wafflej0ck> okdamn: prerender.io
[09:03:50] <think4D> Daemonik, all you are saying is there is now JavaScript code to be written and sifted through, only now it's a new API.
[09:04:00] <Daemonik> think4D, What is "vanilla JS", is that another framework? Most web-dev dev-teams probably already know JavaScript pretty well...
[09:04:14] *** chrisbirk has quit IRC
[09:04:16] *** trend has joined #angularjs
[09:04:18] <sahbeewah> think4D: the reason behind using a framework is to piggyback off optimized modules of code for the purpose of saving development time and reducing bugs
[09:04:31] <wafflej0ck> well and not reinventing the MVC wheel
[09:04:41] *** jagga has joined #angularjs
[09:04:50] <Daemonik> think4D, "only now it's a new API" what's a new API? Yeah it's not uncommon for devs to write new APIs where necessary if they're building an SOA platform but "new code" doesn't exactly translate to "new API"...
[09:04:55] <okdamn> wafflej0ck: you tryed that? :)
[09:05:08] <wafflej0ck> okdamn: I have not but it's the solution
[09:05:14] *** rtpg has joined #angularjs
[09:05:25] <think4D> Daemonik, vanilla JS is an application programming interface, am I wrong?
[09:05:40] <wafflej0ck> okdamn: basically when the bots are crawling and they see the hashbang URL they'll make another request for the rendered version of that page
[09:06:00] <Daemonik> "there is now JavaScript code to be written and sifted through" "sift"?, you mean like code-review?
[09:06:01] <think4D> Daemonik, No, I'm not
[09:06:02] *** sgnl has quit IRC
[09:06:07] <okdamn> wafflej0ck: ah ok but is this only for google or for all the search engines?
[09:06:09] <wafflej0ck> okdamn: prerender.io uses phantomjs to get a built version of your page with the requests completed so it can serve those up
[09:06:20] <wafflej0ck> okdamn: should work for bing and any popular one
[09:06:26] <okdamn> awesome
[09:06:27] *** DrMabuse has quit IRC
[09:07:03] <okdamn> i just would like some feedback from anyone who tryed stuffs like that, im not sure if i will get penalized on SEO side having a pure onepage app instead of a old-shitty php one :D
[09:07:10] <think4D> I understand the purpose of frameworks; I don't understand their use in practice.
[09:07:49] <wafflej0ck> okdamn: yeah it is a bit more work and I think Google does some work to resolve issues for AJAX based sites but it's not perfect and better to be able to control it I think anyhow
[09:07:51] <think4D> If I wanted to make 30 websites with a certain feature. I'd write the feature one time.
[09:08:07] <think4D> feature,*
[09:08:11] <okdamn> think4D: their use in practice is simple, less code, more re-usability, scalability, more readable code etc :D
[09:08:21] *** L0u1s has joined #angularjs
[09:08:21] *** jstroem has joined #angularjs
[09:08:37] <think4D> From what I've seen, using Angular.js still requires me to write code.
[09:08:39] <okdamn> wafflej0ck: would u suggest php for a public services website?
[09:08:46] <wafflej0ck> think4D: yeah once you've used an MVC framework you understand, I came from a Flex background (also toyed around with WPF/XAML)
[09:08:47] *** trend has quit IRC
[09:08:53] <okdamn> wafflej0ck: like "government" websites u know that shit i guess
[09:08:53] *** grantfunke_ has quit IRC
[09:08:59] *** Usuario has joined #angularjs
[09:09:20] <okdamn> Municipality website for public services im cant choose if php or angular :(
[09:09:27] *** gekido has joined #angularjs
[09:09:29] <fairuz> think4D: to add to those list, patterns, I mean useful patterns like promises and such
[09:09:29] <okdamn> they want SEO first of all
[09:09:32] <think4D> I don't use MVC frameworks; I understand what MVC is and exercise strict model-view separation noted here http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CDIQFjAD&url=http%3A%2F%2Fwww.cs.usfca.edu%2F~parrt%2Fpapers%2Fmvc.templates.pdf&ei=MmdkVPybMIirogSq04LgBw&usg=AFQjCNFeU5U1F3IlCU8EPoiQrD4-jSbFJQ&bvm=bv.79400599,d.cGU
[09:09:36] *** chung has joined #angularjs
[09:09:36] *** doginal has quit IRC
[09:09:45] <think4D> err uhh, here http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf
[09:10:17] *** Usuario is now known as frobs
[09:10:19] <wafflej0ck> think4D: right so writing the two way data binding and parts to parse templates and parts to do events is a PITA
[09:10:30] <wafflej0ck> think4D: and if everyone rewrites them you have to learn it 1000 times
[09:10:41] *** lgk has joined #angularjs
[09:10:49] <wafflej0ck> so nice to have a framework with a lot of developers behind it using the same conventions
[09:10:51] *** lgk is now known as larsgk
[09:10:51] <Daemonik> wafflej0ck, and AngularJS has already written that wheel and sorted out all sorts of edge-cases and bugs?
[09:10:52] <think4D> The server should parse the templates.
[09:10:55] *** favetelinguis has joined #angularjs
[09:10:58] *** mzabriskie has quit IRC
[09:11:04] <wafflej0ck> Daemonik: pretty much
[09:11:20] <wafflej0ck> Daemonik: I mean 2.0 will change things a lot and as browsers get better Angular will do less of it
[09:11:24] <Daemonik> think4D, Are you saying that template-parsing should only happen server-side?
[09:11:37] *** tomzx`afk is now known as tomzx
[09:11:39] <wafflej0ck> Daemonik: but for now it's one of the best solutions and very widely adopted
[09:11:41] <think4D> Daemonik, I'm saying you should read this http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf
[09:12:03] <Daemonik> think4D, Should template-parsing only happen server-side???
[09:12:10] <think4D> Daemonik, http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf
[09:12:14] *** mennea has joined #angularjs
[09:12:14] *** fixl has joined #angularjs
[09:12:20] <Daemonik> You don't know?
[09:12:28] <think4D> I know.
[09:12:29] <think4D> http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf
[09:12:42] *** jstroem has quit IRC
[09:12:45] *** thomastuts has joined #angularjs
[09:12:56] <Daemonik> Why would I write my own MVC when AngularJS has a good one though?
[09:13:05] <think4D> Don't write your own MVC.
[09:13:09] *** jstroem has joined #angularjs
[09:13:18] *** shpoont has joined #angularjs
[09:13:23] <think4D> MVC is a concept.
[09:14:30] <wafflej0ck> okdamn: regarding PHP vs Angular I don't see it as one or the other, I use PHP to create RESTful APIs that use JSON incoming and outgoing and build the frontend with AngularJS, the only problem as you already have determined is SEO but prerender.io should solve that if you don't want to pay they have the code on github to DIY
[09:14:30] *** Sky[x] has joined #angularjs
[09:14:30] *** VeeWee has quit IRC
[09:14:31] <think4D> You can't write your own MVC, you can build systems that model the MVC.
[09:14:31] *** gekido has quit IRC
[09:14:31] *** cliluw has quit IRC
[09:14:32] *** cboden has quit IRC
[09:14:32] <Daemonik> think4D, Yeah sure but why not use AngularJS for that?
[09:14:32] <wafflej0ck> think4D: yeah I understand design patterns too, Angular gives you two way data binding which is a key element for any MVC based system
[09:14:32] *** cboden has joined #angularjs
[09:14:32] <wafflej0ck> right what Daemonik said
[09:14:32] *** cliluw has joined #angularjs
[09:14:35] <think4D> I'm asking the same question, only, why should I use Angular?
[09:14:37] *** Ajans has quit IRC
[09:14:49] <think4D> MVC is inherent.
[09:14:51] <wafflej0ck> you can use any other MVC system that fits your needs or you can roll your own
[09:14:56] <Daemonik> wafflej0ck, If I start a project with three other people, we should use AngularJS rather than try to handle MVC etc on our own private framework/codebase yeah?
[09:14:57] <wafflej0ck> no one is forcing you to use anything
[09:15:01] *** VeeWee has joined #angularjs
[09:15:04] *** tschundeee has joined #angularjs
[09:15:08] *** rtpg has quit IRC
[09:15:38] <wafflej0ck> if you're interested in the components available from the angular community or taking advantage of an existing framework that's been tested by 1000s of developers and backed by unit tests then you can try out Angular
[09:15:39] <okdamn> wafflej0ck: sure thanks m8, im just afraid about also javascript support, cause you know when we start talking about public services websites it a hell, its full of ancient people using IE6 lol
[09:15:51] <wafflej0ck> okdamn: ah true
[09:15:55] <wafflej0ck> okdamn: old IE be damend
[09:15:58] <wafflej0ck> damned*
[09:16:12] <Daemonik> wafflej0ck, with those unit tests I can modify the AngularJS codebase and know that whatever I did is still intact / functional ?
[09:16:24] <okdamn> yes so i dunno actually cause php will work everywhere in browsers mmm
[09:16:27] <wafflej0ck> Daemonik: yup that's a big part of it
[09:16:32] <Daemonik> wafflej0ck, That's amazingly useful.
[09:16:45] <wafflej0ck> Daemonik: open source projects without good testing behind them don't really invite changes at all
[09:17:00] <think4D> Daemonik, if you have three JavaScript developers on one project, you're wasting resources already.
[09:17:06] <Daemonik> wafflej0ck, I like how CyanogenMod has a public-facing Jenkins server.
[09:17:07] *** pnade has quit IRC
[09:17:08] *** ackison has quit IRC
[09:17:25] *** L0u1s has quit IRC
[09:17:36] <Daemonik> think4D, What do you mean? Are you saying that having four people work together on something is inherently wasteful?
[09:17:48] <wafflej0ck> Daemonik: yeah think they use TravisCI for angular, the commits show up here by bot but dunno about the CI being public
[09:17:53] *** pnade has joined #angularjs
[09:18:01] <think4D> Daemonik, yeah, because working together requires communication, and communication takes time.
[09:18:26] *** sinequanon has quit IRC
[09:18:35] <Daemonik> wafflej0ck, Is TravisCI open-source? Having Salt States to deploy a Jenkins instance on something like CentOS that builds a codebase is great =)
[09:18:40] <think4D> Daemonik, I only said having three JavaScript developers on one project is wasteful.
[09:19:01] <Daemonik> think4D, Generally when three or four people work on a project they have a daily stand-up and do Agile or something.
[09:19:08] <think4D> Daemonik, don't generalize.
[09:19:11] <wafflej0ck> think4D: have you ever worked for a professional web development company? do you think there's one JS developer at Facebook? or Google? what are you considering a project?
[09:19:22] *** tschundeee has quit IRC
[09:19:47] <wafflej0ck> from where I've worked and places I've interviewed and asked about team structure what Daemonik said is about right usually a few devs a couple of designers and a project manager on a small team
[09:19:55] <think4D> Facebook wasn't built all at once.
[09:20:01] *** papineau has joined #angularjs
[09:20:37] *** frankblizzar has joined #angularjs
[09:20:47] <think4D> I'd start any project using Vanilla and end it with Vanilla, because from my understanding, most JS developers can write Vanilla.
[09:20:52] <sacho> <think4D> Daemonik, don't generalize. <think4D> Daemonik, if you have three JavaScript developers on one project, you're wasting resources already.
[09:20:53] *** greatdex has quit IRC
[09:20:53] <sacho> :)
[09:21:04] *** mennea_ has joined #angularjs
[09:21:05] *** merobertsjr has quit IRC
[09:21:05] *** tomzx is now known as tomzx`afk
[09:21:11] *** adpirz has joined #angularjs
[09:21:12] <Daemonik> sacho makes a good point
[09:21:25] *** guilbep has joined #angularjs
[09:21:36] <think4D> I'm not generalizing.
[09:21:38] *** jmoney has joined #angularjs
[09:21:55] <think4D> Yes, sacho makes a great point.
[09:22:18] *** larsgk has quit IRC
[09:22:24] <frobs> sacho you can use a node js server with express on server side and angular in your front or use meteor... and all the code will be javascript
[09:22:51] <think4D> Daemonik, Documentation will solve any "group" problems.
[09:22:57] <frobs> in this case is all your developers know javascript is a good skill
[09:23:05] <sacho> think4D, oh, you're talking about a specific project?
[09:23:06] *** rburns has quit IRC
[09:23:13] <think4D> sacho, no.
[09:23:18] *** rburns has joined #angularjs
[09:23:18] <sacho> then you're generalizing.
[09:23:21] <think4D> No.
[09:23:31] <think4D> I'm not generalizing.
[09:23:35] <sacho> sure. :)
[09:23:39] <think4D> Yeup.
[09:23:54] *** jstroem has quit IRC
[09:23:55] *** Alina-malina has quit IRC
[09:23:55] *** larsgk has joined #angularjs
[09:23:59] *** mennea has quit IRC
[09:24:12] <sacho> Would you like to explain why your general statement isn't generalizing?
[09:24:20] <think4D> Daemonik, using the "#" and "//" are great starts to collaborative efforts when using JS.
[09:24:21] *** jstroem has joined #angularjs
[09:24:21] *** josh-k has joined #angularjs
[09:24:57] <think4D> sacho, I can't explain paradoxes.
[09:25:04] *** josh-k_ has joined #angularjs
[09:25:15] <sacho> so you agree that you were generalizing?
[09:25:20] <think4D> sacho, I can explain paradoxes when your premise is wrong.
[09:25:28] <think4D> sacho, your premise is wrong.
[09:25:33] *** adpirz has quit IRC
[09:25:36] <sacho> So your statement wasn't general? It was specific? Specific to what project?
[09:25:37] <Daemonik> think4D, code comments are great but generally when people work together they have a standup meeting over web-cam at least if not in person.
[09:25:38] <jagga> generalising* (join the master race)
[09:25:44] *** damain has quit IRC
[09:25:45] <Daemonik> jagga, +1
[09:25:45] <wafflej0ck> Daemonik: yeah regarding TravisCI don't think it's open source I also use Jenkins for CI and CD love it haven't used salt state looks something like vagrant maybe?
[09:25:49] *** contradictioned_ is now known as contradictioned
[09:25:59] <think4D> Daemonik, you've lost sight of the developer.
[09:26:15] <Daemonik> wafflej0ck, I strongly prefer SaltStack to Chef/Ansible/Puppet/CFEngine -- SaltStack seems to be winning out with the best DevOps guys I know.
[09:26:28] <sacho> jagga, I'm not american.
[09:26:33] *** Ajans has joined #angularjs
[09:26:48] <Daemonik> think4D, What developer are you talking about? Devs generally do stand-up meetings when they work together....
[09:26:51] *** doug16k is now known as doug64k
[09:27:06] <jagga> sacho, who says americans are the master race
[09:27:17] *** folippi has joined #angularjs
[09:27:17] <jagga> americans spell it was z
[09:27:24] <jagga> the brits spell it with 's' :p
[09:27:24] *** Sontakey has joined #angularjs
[09:27:26] <sacho> is the master race "people who misspell generalizing"?
[09:27:27] <think4D> Vanilla JS does not require meetings to read or write
[09:27:41] <jagga> who spell it right!
[09:27:56] <sacho> jagga, http://en.wiktionary.org/wiki/generalise
[09:28:21] <jagga> SUPPORT THE CAUSE, stop being a hater
[09:28:22] <think4D> Daemonik, you've lost site of the writing of the code, you're only seeing the overall architecture, and yes, that is half the battle.
[09:28:30] *** StryKaizer has joined #angularjs
[09:28:34] <sacho> *sight
[09:28:46] <think4D> ye
[09:28:48] <think4D> yes*
[09:28:50] <think4D> thank you
[09:29:03] *** josh-k has quit IRC
[09:29:25] <pikapp> If I want to hide my footer on a certain route what is the best way to accomplish this? I have tried setting a $rootScope property and this hides it when I navigate to that route but does not reactivate when I go to another route without reloading
[09:29:43] <think4D> lol
[09:29:44] *** jlambert121 has joined #angularjs
[09:30:32] *** tangorri has joined #angularjs
[09:30:43] *** crunch-c1oco has joined #angularjs
[09:30:43] *** instence_ has joined #angularjs
[09:30:52] <fairuz> "..think4D: Vanilla JS does not require meetings to read or write. .." Hmm so people will just know how to structure/architecture their code without talking to their teammates? Sounds like magic.
[09:31:03] <pikapp> In my view I have ng-hide="hideFooterLogin" and then in the controller I set $rootScope.hideFooterLogin = false; but I do not want to have to explicitly set it to true in all of my other controllers
[09:31:07] *** instence has quit IRC
[09:31:24] *** Asiajey has joined #angularjs
[09:31:24] *** Asiajey has joined #angularjs
[09:31:24] *** Asiajey_ has quit IRC
[09:31:29] <sacho> pikapp, you could have a routeChangeSuccess handler which sets it to true.
[09:31:33] *** mityaz has joined #angularjs
[09:31:41] *** eamonn has joined #angularjs
[09:31:41] *** Sontakey1 has joined #angularjs
[09:31:48] *** greatdex has joined #angularjs
[09:31:53] *** Sontakey has quit IRC
[09:31:55] *** jaydubya has quit IRC
[09:31:57] <think4D> fairuz, well, JS is an prototypal language, and can also be seen as object-oriented; JS is inherently modular.
[09:32:04] <think4D> a prototypal*
[09:32:05] <sacho> also, the truthiness is wrong in your example
[09:32:33] *** jaydubya has joined #angularjs
[09:32:35] *** corehook has joined #angularjs
[09:32:43] <think4D> fairuz, magic indeed.
[09:32:54] *** samuel02 has quit IRC
[09:33:09] *** samuel02 has joined #angularjs
[09:33:28] <frobs> magic...magic everywhere
[09:33:31] *** asher^ has quit IRC
[09:33:31] <think4D> fairuz, structure and code formatting/best practices are two different things, I'm sure you understand.
[09:33:45] <Evanion> Morning everyone
[09:34:02] *** papineau has quit IRC
[09:34:06] <fairuz> think4D: No really. I don't understand.
[09:34:28] *** Oxynum has joined #angularjs
[09:35:09] <fairuz> I don't really see how it's easier to dev using vanilla js
[09:35:21] <fairuz> Unless you want to micro manage every single line of code
[09:35:37] <Daemonik> fairuz, f___ that
[09:35:44] <think4D> fairuz, I happen to know vanilla JS like the back of my hand, and I type using the Dvorak keyboard layout.
[09:36:08] <think4D> I don't micro manage.
[09:36:21] <think4D> fairuz, I don't micro manage, there's not much to manage on a web page.
[09:36:26] *** tangorri has quit IRC
[09:36:53] *** obrein has joined #angularjs
[09:36:56] *** guilbep has quit IRC
[09:37:04] *** jaydubya has quit IRC
[09:37:07] *** Aliks has quit IRC
[09:37:08] <think4D> fairuz, I don't like creating more complexity.
[09:37:13] *** guilbep has joined #angularjs
[09:37:51] *** desp has joined #angularjs
[09:38:11] *** mnngfltg has joined #angularjs
[09:38:40] <thomastuts> i like how you randomly throw in the fact that you use a dvorak layout like it's supposed to be an actual argument :D
[09:38:49] *** eamonn has quit IRC
[09:38:51] <crocket> Does anyone use a template engine such as handlebars and jade with express.js?
[09:38:52] *** DrMabuse has joined #angularjs
[09:38:58] <think4D> thomastuts, Dvorak saves time.
[09:39:11] <thomastuts> oh i'm sure it does, i just thought it was funny that you thought it was worth mentioning
[09:39:16] *** GeneralChoomin has quit IRC
[09:39:27] *** eamonn has joined #angularjs
[09:39:30] <thomastuts> crocket: i used to use jade when i did some node projects but if i had to choose again i think i'd go for handlebars this time around
[09:39:32] <think4D> Anything that saves time is worth mentioning, unless you do not value your time, then you'd be using Angular.
[09:39:34] *** phzon has joined #angularjs
[09:39:41] <crocket> thomastuts, Why?
[09:39:42] <thomastuts> mostly because jade formatting is kind of annoying in webstorm for some reason
[09:39:49] <crocket> thomastuts, I don't use webstorm.
[09:39:51] <crocket> I use emacs.
[09:39:54] <thomastuts> personal perference most likely
[09:39:57] *** GeneralChoomin has joined #angularjs
[09:40:04] *** GeneralChoomin has joined #angularjs
[09:40:20] <thomastuts> i also didn't know jade 100% (still don't) so sometimes i had to look stuff up which just slowed me down
[09:40:27] <thomastuts> handlebars is much easier to get going
[09:40:40] <crocket> thomastuts, jade is also minimal.
[09:40:44] <thomastuts> that's true
[09:40:53] <thomastuts> like i said, it's probably a personal thing and you can't go wrong with either imo
[09:40:58] <Daemonik> think4D, Does using AngularJS waste time?
[09:41:01] <thomastuts> both really good templating languages
[09:41:07] *** mguillech has joined #angularjs
[09:41:12] *** desp has quit IRC
[09:41:21] *** MaxV has joined #angularjs
[09:41:24] <think4D> Daemonik, what are you trying to do?
[09:41:45] <thomastuts> think4D: while i appreciate your effort to start a (in your mind) 'productive' discussion, coming in here and throwing random vitriol out there like 'angularjs wastes your time' without any substantial claims or proof isn't really the way to go about it
[09:41:45] <think4D> If you're trying to innovate yes.
[09:42:04] <fairuz> think4D: Any framework is a waste of time or just Angular?
[09:42:10] *** tech2_ has quit IRC
[09:42:22] *** larsgk has quit IRC
[09:42:23] <think4D> thomastuts,how long have you been in the channel?
[09:42:24] *** TheAceOfHearts has quit IRC
[09:42:39] <thomastuts> since you asked your very first question about JS the good parts
[09:42:44] <think4D> fairuz, I will stand here and say all frameworks are a waste of time.
[09:42:53] <think4D> fairuz, I do not advocate reinventing the wheel.
[09:43:08] *** Oxynum has quit IRC
[09:43:26] <think4D> Nice, so then why are you mad?
[09:43:37] <thomastuts> you do not advocate reinventing the wheel, but by not using frameworks you sometimes... are reinventing the wheel?
[09:43:46] <thomastuts> i'm very confused
[09:43:55] <thomastuts> do you write your own routers for example?
[09:43:56] <Daemonik> think4D, When making a relatively simple web-app, wouldn't I want to use wheels that have already been implemented by using something like AngularJS rather than re-invent wheels on my own?
[09:43:56] <think4D> thomastuts, frameworks are composed of using methods and functions.
[09:43:57] <thomastuts> genuine question
[09:44:00] *** eamonn has quit IRC
[09:44:11] <think4D> composed of methods and functions*
[09:44:15] <folippi> How do you create a new instance of a directive into the dom, and pass it attributes? And then have those attributes show up in the `link` or `scope` functions of said directive?
[09:44:19] <thomastuts> ...yes, like any project
[09:44:23] *** GeneralChoomin has quit IRC
[09:44:40] <think4D> thomastuts, right, don't drag in the whole framework for one piece of functionality.
[09:44:40] *** jillesme has joined #angularjs
[09:44:46] <thomastuts> are the methods and functions you write superior to a framework's?
[09:44:59] <think4D> thomastuts, no, but they'll get straight to the point.
[09:45:08] <thomastuts> oh no for sure, if you want a tiny little widget that does one thing i wouldn't recommend something like angular either
[09:45:12] <thomastuts> but that's not its use case
[09:45:33] <think4D> thomastuts, hell yeah
[09:45:42] *** mguillech has quit IRC
[09:45:55] *** mot0rola has joined #angularjs
[09:46:02] <thomastuts> so calling angularjs a waste of time doesn't really make sense to me
[09:46:13] <thomastuts> unless you *are* planning to use it for one tiny little widget
[09:46:24] *** drej has quit IRC
[09:46:44] *** OttlikG has joined #angularjs
[09:46:56] <think4D> thomastuts, well, there are other reasons like its lack of compliance for any HTML standards (even if they've been largely overshadowed)
[09:47:07] <thomastuts> the only time that makes sense is if you're planning to migrate your app to angular and want to kick the tires a little, and move everything over one component at a time
[09:47:28] <think4D> ng-app
[09:47:40] <thomastuts> honestly, if i'm building my webapp, i don't give two hoots about my HTML being valid
[09:47:44] <think4D> thomastuts, the data-* attribute is there for a reason.
[09:47:51] <thomastuts> and it's there for you to use it
[09:47:54] *** lite has quit IRC
[09:47:59] <thomastuts> angularjs also has data-* attributes iirc
[09:47:59] *** neoadventist has quit IRC
[09:48:08] *** GeneralChoomin has joined #angularjs
[09:48:08] *** GeneralChoomin has joined #angularjs
[09:48:10] <think4D> thomastuts, yeah, so don't use ng-*
[09:48:18] <thomastuts> sure, but why would i bother?
[09:48:20] *** lite has joined #angularjs
[09:48:29] <thomastuts> i build my apps for evergreen browsers and using ng-app works just fine
[09:48:37] <think4D> thomastuts, hopefully you value the GPL and the future of the browser.
[09:48:49] <thomastuts> by your logic, if i'd use the data attributes i'd be committing a mortal sin by 'wasting time'
[09:49:20] <think4D> thomastuts, no, you'd be spending your time wisely.
[09:49:20] *** jillesme has quit IRC
[09:49:29] *** laurensclaessen has joined #angularjs
[09:49:42] <thomastuts> why? the app works just fine in my target browsers
[09:50:04] *** mot0rola has quit IRC
[09:50:06] *** ogdabou has joined #angularjs
[09:50:08] <think4D> thomastuts, save the pragmatics for your boss.
[09:50:08] *** encrypt__ has quit IRC
[09:50:19] <thomastuts> holy balls, you are really hard to have a proper discussion with
[09:50:26] *** lite has quit IRC
[09:50:30] *** guilbep has quit IRC
[09:50:31] <thomastuts> while this has been rather interesting i have to go do some actual work now
[09:50:40] <think4D> thomastuts, same.
[09:50:42] *** guilbep has joined #angularjs
[09:50:49] <think4D> thomastuts, this is actual work.
[09:51:02] *** lite has joined #angularjs
[09:51:06] *** johnkevinmbasco has quit IRC
[09:51:16] <thomastuts> one final question, if you firmly believe angularjs and all other frameworks are a waste of time, what are you actually doing here?
[09:51:31] *** grantfunke_ has joined #angularjs
[09:51:33] <thomastuts> ...trying to waste time?
[09:51:35] <think4D> thomastuts, working.
[09:51:43] <thomastuts> how is this even remotely working
[09:51:44] *** intellix has joined #angularjs
[09:51:52] <think4D> thomastuts, who else is on my side?
[09:51:57] *** SergioFilhow has joined #angularjs
[09:52:09] <thomastuts> what?
[09:52:13] <thomastuts> how would i know?
[09:52:16] <think4D> lol
[09:52:21] <thomastuts> i don't know the opinion of everyone in this channel
[09:52:29] <think4D> Thought takes work is the point.
[09:52:30] *** m8 has joined #angularjs
[09:52:46] *** encryptd_fractl has joined #angularjs
[09:52:50] <thomastuts> well, i'll go back to being a mindless drone and using my time-wasting framework
[09:52:53] *** samuel02 has quit IRC
[09:53:02] <think4D> thomastuts, good luck.
[09:53:08] *** AciD`` has joined #angularjs
[09:53:17] *** samuel02 has joined #angularjs
[09:53:18] *** rburns has quit IRC
[09:53:31] <thomastuts> have fun with the remainder of your discussion, provided anyone is as silly as me to actually try to argue with you
[09:53:37] *** favetelinguis has quit IRC
[09:53:49] <think4D> Ahh, we're just having a discussion
[09:53:55] *** rburns has joined #angularjs
[09:54:03] *** favetelinguis has joined #angularjs
[09:54:08] <thomastuts> it wasn't a very good one if i'm honest :)
[09:54:25] <think4D> I think otherwise.
[09:55:00] <sacho> generalizations generally make a very general discussion.
[09:55:04] <think4D> LOL
[09:55:33] <think4D> It's difficult not to generalize when we talk about frameworks which generalize JavaScript.
[09:55:42] *** lite has quit IRC
[09:55:52] *** Sontakey1 has quit IRC
[09:56:17] *** lexek__ has joined #angularjs
[09:56:40] *** SergioFilhow has quit IRC
[09:56:48] *** jlebrech has joined #angularjs
[09:57:11] *** tkimmel has joined #angularjs
[09:57:29] *** kruno has joined #angularjs
[09:58:02] <sacho> "generalize Javascript"?
[09:58:17] *** favetelinguis has quit IRC
[09:58:35] *** jillesme has joined #angularjs
[09:58:35] *** jillesme has joined #angularjs
[09:59:45] *** favetelinguis has joined #angularjs
[10:01:00] *** tfennelly has joined #angularjs
[10:01:17] *** marcjs has joined #angularjs
[10:01:33] *** reavengrey has quit IRC
[10:01:47] *** tkimmel has quit IRC
[10:02:08] *** TyrfingMjolnir has joined #angularjs
[10:03:41] *** samuel02 has quit IRC
[10:04:10] *** samuel02 has joined #angularjs
[10:04:16] *** reavengrey has joined #angularjs
[10:05:11] *** LeBlaaanc has joined #angularjs
[10:05:38] *** favetelinguis has quit IRC
[10:05:59] <LeBlaaanc> Is it possible to make to states ... url: "/foo" and url: "/foo?keywords" pull the correct templates if they are different
[10:06:05] <LeBlaaanc> two*
[10:06:06] *** favetelinguis has joined #angularjs
[10:06:51] <thomastuts> LeBlaaanc: apparently the templateUrl property can be a function too
[10:07:00] <thomastuts> so you might be able to determine the correct template that way
[10:07:10] <LeBlaaanc> that seems janky
[10:07:32] <thomastuts> not really, for all intents and purposes your /foo and /foo?keywords view is the same view
[10:07:36] *** samuel02 has quit IRC
[10:07:58] <thomastuts> so if you want to dynamically load another template without changing your URL scheme i think that's the only way to do it
[10:08:00] <LeBlaaanc> not if query parameters are supported in the url parameter
[10:08:34] <thomastuts> no i mean conceptually, they should be the same view
[10:08:38] *** marcjs_ has joined #angularjs
[10:08:39] <thomastuts> like
[10:08:49] <thomastuts> that should be the same view
[10:08:57] <LeBlaaanc> your opinion is valid.
[10:09:00] <thomastuts> oops, my code didn't come through
[10:09:13] <thomastuts> ' /users/5 and /users/5?profile=expanded
[10:09:19] *** folippi has left #angularjs
[10:09:20] *** folippi has joined #angularjs
[10:09:25] *** fairuz1 has joined #angularjs
[10:09:31] <thomastuts> imo that should be the same view, and shows an expanded profile if the query param is present
[10:09:46] <thomastuts> if you want to show drastically different things i think you'd be better off just creating a new state alltogether
[10:10:00] *** mattattaque has quit IRC
[10:10:04] *** rburns has quit IRC
[10:10:14] *** favetelinguis has quit IRC
[10:10:44] <LeBlaaanc> again, your opinion is valid.
[10:10:51] <LeBlaaanc> and your point was well considered.
[10:11:02] *** arkin has joined #angularjs
[10:11:14] *** rburns has joined #angularjs
[10:11:15] *** motionman has quit IRC
[10:11:18] <LeBlaaanc> (not to be a jackass or anything, I still think it should work how I expect it if it supports query params)
[10:11:40] *** favetelinguis has joined #angularjs
[10:11:47] *** lite has joined #angularjs
[10:11:51] *** Typher has joined #angularjs
[10:11:55] <thomastuts> i think i'm losing it here, does anyone happen to know why $element.on('mouseover') is being triggered if i move my mouse INSIDE of the element? it's triggering multiple times while i only want it to trigger once when the mouse actually enters the element
[10:12:04] *** marcjs has quit IRC
[10:12:04] *** fairuz has quit IRC
[10:12:54] *** sk87 has joined #angularjs
[10:13:35] *** reavengr1y has joined #angularjs
[10:13:46] *** rtpg has joined #angularjs
[10:13:57] *** favetelinguis has quit IRC
[10:14:04] <LeBlaaanc> thomastuts: isn't there mouseenter?
[10:14:10] <thomastuts> yeah, just tried it with that
[10:14:12] <thomastuts> and mouseleave
[10:14:14] <thomastuts> works like a charm now
[10:14:30] <thomastuts> i read something earlier about mouseenter and mouseleave only being IE-specific events but that looks like it was just plain wrong
[10:14:32] <LeBlaaanc> mouseover would trigger anytime the mouse stops moving
[10:14:32] *** favetelinguis has joined #angularjs
[10:14:59] *** zwacky has quit IRC
[10:15:16] *** lite is now known as lite_afk
[10:15:21] *** c00ljs has quit IRC
[10:15:41] *** jaznow has joined #angularjs
[10:15:51] *** tschundeee has joined #angularjs
[10:16:21] *** reavengrey has quit IRC
[10:17:38] *** marr has joined #angularjs
[10:17:59] *** DelphicOkami is now known as delphicokami
[10:18:07] *** bengillies has joined #angularjs
[10:18:12] *** VeeWee has quit IRC
[10:18:18] *** moritzs has joined #angularjs
[10:18:36] *** ferrao has joined #angularjs
[10:18:37] *** favetelinguis has quit IRC
[10:19:23] <wafflej0ck> no the problem is you get mouseover events for any children elements too
[10:19:27] *** crocket has left #angularjs
[10:19:28] <wafflej0ck> the events bubble
[10:19:34] <wafflej0ck> either way mouseenter does fix it though
[10:19:51] *** eamonn has joined #angularjs
[10:20:19] *** ferrao has quit IRC
[10:20:20] *** tschundeee has quit IRC
[10:20:38] <LeBlaaanc> ah
[10:20:47] *** storkme has left #angularjs
[10:21:03] *** VeeWee has joined #angularjs
[10:21:13] *** Mahonar has joined #angularjs
[10:21:18] <LeBlaaanc> Can i send query parameter options with .go() routes ? like $state.go('card_search', { keywords: $keywords }); and then a state defined as url: "/search?keywords"
[10:21:30] <LeBlaaanc> or do I have to use options: ?
[10:22:21] <LeBlaaanc> or {keywords} ?
[10:22:26] <LeBlaaanc> wait no that doesn't seem right
[10:22:36] *** tschundeee has joined #angularjs
[10:22:41] *** gabrielsch has quit IRC
[10:22:57] *** edy has quit IRC
[10:23:15] *** Sebastien-L has joined #angularjs
[10:23:17] <LeBlaaanc> yea odd seems like that should work
[10:23:36] <thomastuts> you should be able to just pass them into the object like in your example, yeah
[10:25:03] *** Alina-malina has joined #angularjs
[10:25:04] *** Alina-malina has joined #angularjs
[10:25:07] <LeBlaaanc> well anyway.. I'll try again tomorrow
[10:25:08] <LeBlaaanc> later guys
[10:25:13] *** LeBlaaanc has quit IRC
[10:26:02] *** herpless has joined #angularjs
[10:29:09] *** jabclab has joined #angularjs
[10:30:22] *** jillesme has quit IRC
[10:30:23] *** JoshGlzBrk has quit IRC
[10:30:36] *** laurensclaessen has quit IRC
[10:30:36] *** larsgk has joined #angularjs
[10:30:43] *** nimomo has joined #angularjs
[10:30:46] *** mtsr has joined #angularjs
[10:30:54] *** pikapp has quit IRC
[10:30:56] *** patrick99e99 has joined #angularjs
[10:30:59] <nimomo> hi, anyone can please help me understand this error - https://docs.angularjs.org/error/$injector/modulerr?p0=myApp&p1=Error:%20%5B$injector:modulerr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.2.9%2F$injector%2Fmodulerr%3Fp0%3Dangulartics.google.analytics%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.2.9%252F%2524injector%252Fnomod%253Fp0%253Dangulartics.google.analytics%250A%2520%2520
[10:31:00] <nimomo> %2520%2520at%2520Error%2520(native)%250A%2520%2520%2520%2520at%2520https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A6%253A449%250A%2520%2520%2520%2520at%2520https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A20%253A260%250A%2520%2520%2520%2520at%2520https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A21%253A262%250A%2520%2520%2520%2520at%2520https%253A%252F%252Fmy.site.com%252Fangular%252Fangu
[10:31:00] <nimomo> lar.min.js%253A29%253A175%250A%2520%2520%2520%2520at%2520Array.forEach%2520(native)%250A%2520%2520%2520%2520at%2520q%2520(https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A7%253A274)%250A%2520%2520%2520%2520at%2520e%2520(https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A29%253A115)%250A%2520%2520%2520%2520at%2520https%253A%252F%252Fmy.site.com%252Fangular%252Fangular.min.js%253A29%253A192%250A%2520%2520%2520
[10:31:01] <nimomo> %2520at%2520Array.forEach%2520(native)%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:6:449%0A%20%20%20%20at%20https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:30:1%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:7:274)%0A%20%20%20%20at%20e%20(https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:29:115)%0A%20%20%2
[10:31:03] <nimomo> 0%20at%20https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:29:192%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:7:274)%0A%20%20%20%20at%20e%20(https:%2F%2Fmy.site.com%2Fangular%2Fangular.min.js:29:115 ?
[10:31:05] <nimomo> sorry
[10:31:17] *** phzon has quit IRC
[10:31:19] *** jillesme has joined #angularjs
[10:31:23] *** phzon_ has joined #angularjs
[10:31:35] *** jillesme has joined #angularjs
[10:31:38] *** emmesswhy has quit IRC
[10:32:10] <Evanion> Outch .. please add your code to a plunkr that replicates the error and link that instead
[10:32:16] *** dharmit has quit IRC
[10:32:19] <nimomo> Anyone can please help me understand what is the issue here - http://bit.ly/1oPygh7 - the page is not reloaded.
[10:32:39] <nimomo> Evanion: it's a link.. :) Angular creates long links.
[10:32:52] *** ciwolsey has joined #angularjs
[10:32:58] *** jackk has joined #angularjs
[10:33:11] *** emmesswhy has joined #angularjs
[10:33:19] *** Oxynum has joined #angularjs
[10:34:09] <nimomo> Evanion: I use gulp templateCache and it works fine but there are users which get this error.
[10:34:45] <Evanion> Ok, but what is the issue your having?
[10:35:01] *** laurensclaessen has joined #angularjs
[10:35:12] *** dharmit has joined #angularjs
[10:35:14] *** patrick99e99 has quit IRC
[10:36:00] <nimomo> The angular doesn't work when this error is raised
[10:36:20] <nimomo> the console show the link I attaced
[10:36:24] *** DrJae has joined #angularjs
[10:36:33] <nimomo> and I'm not sure what is the reason for that..
[10:36:59] *** bealtine has joined #angularjs
[10:37:07] <nimomo> it started since I added this module - "angular.module("templates", []).run(["$templateCache", function($templateCache) {...}"
[10:37:09] *** sk87 has quit IRC
[10:37:25] *** shampine has joined #angularjs
[10:37:47] *** shampine_ has joined #angularjs
[10:38:08] *** Jae has quit IRC
[10:38:12] <Evanion> Ok, can you post our code in a plunkr?
[10:38:16] <Evanion> your*
[10:38:36] <Evanion> http://plnkr.co/
[10:38:54] *** nesquerra has quit IRC
[10:39:20] <nimomo> I don't know what to share there... it's a big project.
[10:39:47] *** dimas has quit IRC
[10:39:48] *** joshontheweb has quit IRC
[10:39:51] *** pikapp has joined #angularjs
[10:39:58] <Evanion> It’s enough with an app that boots, and that replicates the error that your having
[10:40:14] *** DrJae is now known as Jae
[10:40:15] *** okdamn has quit IRC
[10:40:18] *** Jae has quit IRC
[10:40:18] *** Jae has joined #angularjs
[10:41:20] <nimomo> The problem is that I cannot restore this error. It works on my machine. It happens to different users and I don't understand why.
[10:41:24] *** laurensclaessen has quit IRC
[10:41:53] *** shampine has quit IRC
[10:41:53] <nimomo> I will create dpaste with some code.
[10:42:05] *** edy has joined #angularjs
[10:42:07] *** mdedetrich has quit IRC
[10:42:09] *** fedenunez has joined #angularjs
[10:42:42] <Evanion> Can it be that the template file isn’t loaded until after the app boots (ie, after your app.js)?
[10:43:31] *** jackk has quit IRC
[10:43:34] *** sk87 has joined #angularjs
[10:43:42] *** laurensclaessen has joined #angularjs
[10:43:44] *** dimas has joined #angularjs
[10:43:53] *** tarnus has joined #angularjs
[10:44:16] *** larsgk has quit IRC
[10:44:17] *** beachandbytes has quit IRC
[10:44:54] *** mdedetrich has joined #angularjs
[10:44:55] *** favetelinguis has joined #angularjs
[10:45:09] *** ProLoser has quit IRC
[10:45:14] *** laurensclaessen has quit IRC
[10:45:26] *** favetelinguis has quit IRC
[10:45:29] *** ProLoser has joined #angularjs
[10:45:29] *** faveteli_ has joined #angularjs
[10:45:30] *** MistahKurtz has quit IRC
[10:45:47] *** tech2_ has joined #angularjs
[10:45:56] *** larsgk has joined #angularjs
[10:46:24] *** laurensclaessen has joined #angularjs
[10:46:57] <nimomo> Evanion: How can I check that?
[10:47:03] *** mot0rola has joined #angularjs
[10:47:04] <nimomo> Evanion: see here - http://dpaste.com/0EH1JQN
[10:47:32] *** tripu has quit IRC
[10:48:52] *** tarnus has quit IRC
[10:48:57] *** samuel02 has joined #angularjs
[10:49:48] *** cbennett has joined #angularjs
[10:49:51] *** Left_Turn has joined #angularjs
[10:50:06] *** _dizzy has joined #angularjs
[10:50:11] *** dharmit has quit IRC
[10:51:06] *** dharmit has joined #angularjs
[10:51:29] *** abailarri has joined #angularjs
[10:51:32] *** yozilla has joined #angularjs
[10:51:34] *** mot0rola has quit IRC
[10:51:46] *** ssucreme has joined #angularjs
[10:51:57] <nimomo> Evanion: I thought that everything which is within index.html is loaded before app.js. Do I wrong?
[10:52:16] *** h3ndr1ks has quit IRC
[10:52:20] *** emmesswhy has quit IRC
[10:52:48] *** laurensclaessen has quit IRC
[10:53:00] *** trend has joined #angularjs
[10:53:00] *** laurensclaessen has joined #angularjs
[10:54:12] *** Aswebb_ has joined #angularjs
[10:55:12] *** mdedetrich has quit IRC
[10:55:39] *** edzez has joined #angularjs
[10:55:45] *** mdedetrich has joined #angularjs
[10:56:02] <sacho> nimomo, Module 'angulartics.google.analytics'
[10:56:03] <thomastuts> quick question, how do you guys handle environment-specific variables for your app when it is being deployed?
[10:56:08] <thomastuts> e.g. an API url or whatever
[10:56:10] <sacho> nimomo, that module isn't available.
[10:56:32] <thomastuts> i was thinking of having a config.dev.js, config.staging.js and config.production.js, and depending on the environment, that gets added to the bundled JS
[10:56:36] *** shampine_ has quit IRC
[10:56:48] *** ssucreme has quit IRC
[10:57:14] *** trend has quit IRC
[10:57:17] *** ProLoser has quit IRC
[10:57:20] *** BaconOverflow has joined #angularjs
[10:57:20] *** Caroga_afk is now known as Caroga
[10:57:27] *** Shilon has quit IRC
[10:58:04] *** dimas has quit IRC
[10:58:05] *** ProLoser has joined #angularjs
[10:58:15] *** Aswebb_ has quit IRC
[10:58:19] *** gekido has joined #angularjs
[10:59:55] <abailarri> Hello. I'm creating a login form but I get a "Error: Login is not defined" when I submit the form. This is the code. http://plnkr.co/edit/69bLFMEskJQcsFroJN8u?p=preview Any help please?
[11:00:14] <arkin> abailarri: inject Login
[11:00:21] *** faveteli_ has quit IRC
[11:00:42] <arkin> thomastuts: set it on the frontend based on location.host maybe?
[11:00:50] *** Raging_Hog has quit IRC
[11:00:57] *** favetelinguis has joined #angularjs
[11:01:33] *** jillesme has quit IRC
[11:01:45] <Helzibah> abailarri: didn't we fix this for you yesterday?
[11:02:07] *** jillesme has joined #angularjs
[11:02:07] <Helzibah> (well, I didn't, but I was lurking)
[11:02:41] <nimomo> sacho: I'm checking
[11:02:50] *** gekido has quit IRC
[11:02:50] <ItsAllGood> Hi, I have a question about directives
[11:03:04] <ItsAllGood> Is it correct that to run jQuery from angularjs, it should be added to a directive
[11:03:21] <arkin> ItsAllGood: no need
[11:03:27] *** mdedetrich has quit IRC
[11:03:34] <nimomo> sacho: what's your meaning? it use the lib is included in the project. not?
[11:03:37] <sacho> ItsAllGood, depends what you want to do.
[11:03:43] <sacho> nimomo, that's what your error is.
[11:03:44] <arkin> ItsAllGood: from a directive you can treat "element" as though its a jquery instance, .addClass .attr .html
[11:04:14] <arkin> how do I bind a controller to an element after bootstrap?
[11:04:21] <ItsAllGood> arkin, once the angularjs has loaded data from an API I want to automatically scroll to a div
[11:04:41] *** mennea_ has quit IRC
[11:04:46] <nimomo> sacho: can you please explain?
[11:04:53] <arkin> ItsAllGood: have you tried to do what you are asking?
[11:04:57] *** favetelinguis has quit IRC
[11:05:23] <ItsAllGood> arkin: yes
[11:05:31] <nimomo> sacho: I have this module in the lib folder - http://dpaste.com/2DXXWXD
[11:05:44] <sacho> nimomo, when you try to load your app, you specify its dependencies. One of those is "angulartics...". It wasn't loaded when angular tried to bootstrap your app.
[11:05:56] <arkin> ItsAllGood: and whats the error?
[11:05:57] <ItsAllGood> If I just bang the jQuery inside the AngularJS code it will work, but it seems like a hack
[11:06:12] <ItsAllGood> I just wanted to know what is the more "correct" way of doing it
[11:06:17] <arkin> is it a directive you are using?
[11:06:21] <ItsAllGood> No
[11:06:23] *** jillesme has quit IRC
[11:06:27] <ItsAllGood> I was asking if that is a better option
[11:06:42] <sacho> "the angularjs code"?
[11:06:46] <sacho> "the jquery"
[11:06:48] <sacho> ?
[11:07:24] *** Rejected has joined #angularjs
[11:07:24] <nimomo> sacho: How do you see that it was not loaded?
[11:07:29] <ItsAllGood> to simplify it, lets say I have.... promise.then(........
[11:07:32] *** motionman has joined #angularjs
[11:07:35] <sacho> nimomo, that was the error you pasted..
[11:07:45] <ItsAllGood> then I have $('#test').text('Test');
[11:07:53] <ItsAllGood> that wouldn't be considered best practice would it
[11:08:09] <ItsAllGood> if I call jQuery code from AngularJS code, I should abstract it out in some way shouldn't I?
[11:08:11] <abailarri> Helzibah, no
[11:08:16] <abailarri> I don't know how to fix
[11:08:21] <arkin> ItsAllGood: I know what you are saying but personally i dont know a way of scrolling a dom element using angular
[11:08:25] *** howtoi18n has quit IRC
[11:08:27] <nimomo> sacho: where do you see that here - http://bit.ly/1oPygh7 ?
[11:08:39] <ItsAllGood> arkin: I realise that, I need to use jQuery
[11:08:41] <arkin> abailarri: in your function add , Login... then read up a bit more on angular as it seems you are missing basic concepts
[11:08:51] *** aendrew has joined #angularjs
[11:08:51] <ItsAllGood> My question is how can I nicely integrate jQuery code into AngularJS code
[11:09:00] *** ssucreme has joined #angularjs
[11:09:13] <sacho> nimomo, follow the errors
[11:09:41] *** uru is now known as uru|away
[11:09:49] *** Nijikokun has quit IRC
[11:10:02] <nimomo> sacho: I don't see any mention of angulartics.google.analytics..
[11:10:06] *** adpirz has joined #angularjs
[11:10:13] *** ProLoser has quit IRC
[11:10:21] *** laurensclaessen has quit IRC
[11:10:29] *** Foxandxss has joined #angularjs
[11:10:33] <sacho> Error: [$injector:modulerr] http://errors.angularjs.org/1.2.9/$injector/modulerr?p0=a...) <-- click the link
[11:10:34] *** wiherek has joined #angularjs
[11:10:43] *** ProLoser has joined #angularjs
[11:10:44] <wiherek> hi
[11:10:45] *** yandos has joined #angularjs
[11:10:51] *** rtpg has quit IRC
[11:11:05] *** flipflopsnrice has joined #angularjs
[11:11:15] <wiherek> i am using Pascal’s translation module
[11:11:26] <wiherek> and now I want to load the translations on boot
[11:11:28] *** _dizzy has quit IRC
[11:11:35] <wiherek> that is, as part of the app
[11:11:49] <wiherek> do you have experience with that?
[11:11:52] *** macobo has quit IRC
[11:11:53] *** marcjs_ has quit IRC
[11:11:58] <sacho> what's stopping you
[11:11:59] *** aendrew has joined #angularjs
[11:12:14] <nimomo> sacho: oh now I'm seeing!
[11:12:16] *** c00ljs has joined #angularjs
[11:12:26] <wiherek> sacho: not much just consulting
[11:12:39] *** davidreis has joined #angularjs
[11:12:51] *** dimas has joined #angularjs
[11:12:54] <wiherek> custom loaders, i guess
[11:12:59] *** sk87 has quit IRC
[11:13:18] *** aendrew has quit IRC
[11:13:28] *** sk87 has joined #angularjs
[11:13:31] *** Floyd_ has quit IRC
[11:13:40] *** laurensclaessen has joined #angularjs
[11:13:45] <wiherek> or does that module emit some event when translations are loaded?
[11:13:57] *** TyrfingMjolnir has quit IRC
[11:14:00] *** deranged_user has quit IRC
[11:14:08] <wiherek> thing is i dont know if it will fix my problem
[11:14:18] <wiherek> basically what I am trying to achieve
[11:14:24] *** adpirz has quit IRC
[11:14:34] <wiherek> is have a translation in <title>
[11:14:40] <wiherek> with a fallback
[11:14:49] <rud> hmm wondering, in an angular (+jqlite) site, shouldn’t something like $(‘body’).scrollTop(); actually scroll the page to the top ? i’m just loading the page, scrolling manually, than inputing this in my console..
[11:14:54] <wiherek> (which has effect until they load)
[11:15:11] *** dharmit has quit IRC
[11:15:30] *** aendrew has joined #angularjs
[11:15:37] *** brantje`away has quit IRC
[11:15:55] *** Floyd_ has joined #angularjs
[11:16:00] <wiherek> i think that having data-ng-bind=“someStringVariable | translate” actually breaks stuff
[11:16:32] *** deranged_user has joined #angularjs
[11:16:34] <wiherek> plus, that doesn’t update when translations are resolved.
[11:16:35] *** favetelinguis has joined #angularjs
[11:16:52] <ItsAllGood> arkin: i have better explained it here - http://stackoverflow.com/questions/26906347/how-can-i-run-jquery-code-in-angularjs
[11:17:14] *** favetelinguis has quit IRC
[11:17:19] <arkin> ItsAllGood: I would explain what you are trying to do
[11:17:25] <arkin> with jQuery
[11:17:40] *** favetelinguis has joined #angularjs
[11:17:59] <ItsAllGood> scroll down?
[11:18:03] *** dimas has quit IRC
[11:18:03] *** brantje`away has joined #angularjs
[11:18:07] <ItsAllGood> i'm not trying to perform brain surgery
[11:18:16] <ItsAllGood> i know what needs to be done in jquery
[11:18:27] <ItsAllGood> i just don't know how to run jquery from inside an angularjs function
[11:18:35] <ItsAllGood> I believe I need to use directives - I am not sure though
[11:18:35] <nimomo> sacho: thanks for that. how could it be that some users get this error and the others not?
[11:18:52] <arkin> ItsAllGood: Oh yea, i'd be interested to know the elegant way when you find out :)
[11:19:11] *** favetelinguis has quit IRC
[11:19:22] *** mennea has joined #angularjs
[11:19:28] *** favetelinguis has joined #angularjs
[11:19:37] <wiherek> for a simple brain surgery, jquery might be overkill
[11:19:41] <BaconOverflow> Hi guys, quick basic question about model-view binding in angular: are templates completely rerendered every time there's a model change (as is default in Backbone, for example) or does Angular figure out the part that changed and just change that?
[11:20:07] <wiherek> BaconOverflow: the latter
[11:20:32] *** jaydubya has joined #angularjs
[11:20:43] <wiherek> it performs dirtychecking on all models
[11:20:47] <abailarri> arkin, I readed some manuals of angular, about controlers and services, and I see some example, but in my case, I don't know how to do.
[11:20:48] <wiherek> and updates only those
[11:21:16] *** reavengrey has joined #angularjs
[11:21:27] <arkin> abailarri: every time you try and use a "module" in your scope you need to declare it at the top. In this case you are trying to use Login (service?) so you must add it to function ( $scope, Login ) {
[11:21:32] *** jillesme has joined #angularjs
[11:21:33] *** fixl has quit IRC
[11:21:49] *** crakrjak has quit IRC
[11:21:55] <Somatt_wrk> how would you go about communicating to an angular app from within an iframe
[11:21:56] <Somatt_wrk> ?
[11:21:58] *** spaceonline has joined #angularjs
[11:22:23] <BaconOverflow> wiherek: Great - thanks. So even when something does change, it only changes that particular part, not the entire view, right?
[11:22:43] <wiherek> BaconOverflow: the view does not reload multiple times, but the values are updated.
[11:22:50] <BaconOverflow> The docs sort of vaguely say that, but nothing as to how it is implemented
[11:22:52] <BaconOverflow> Cool
[11:22:54] <abailarri> arkin, yes, this? simply?
[11:22:56] <wiherek> still, it’s not very fast
[11:23:07] *** jstroem has quit IRC
[11:23:10] <abailarri> I tried some solutions like this but just this no
[11:23:15] <wiherek> Somatt_wrk: you need to call the parent frame from the iframe
[11:23:29] *** jstroem has joined #angularjs
[11:23:36] *** spaceonline has quit IRC
[11:23:39] <wiherek> then you will probably need to do some form of digest()
[11:23:54] <Somatt_wrk> wiherek: calling a parent function is not a problem, but how would I access the scope to trigger a digest ?
[11:24:01] <wiherek> look into calling parent frames and listening to onMessage
[11:24:10] *** favetelinguis has quit IRC
[11:24:13] <wiherek> you can access the scope by, say, html element
[11:24:16] *** reavengr1y has quit IRC
[11:24:28] <wiherek> angular.element(‘body’).scope()
[11:24:48] <wiherek> jqlite does not have css selectors though
[11:25:30] <Somatt_wrk> I was hoping for a solution that wouldn't have me go through the markup to reach angular's scope
[11:25:32] <wiherek> hmm you don’t need to access the actual scope to trigger the digest
[11:25:48] <wiherek> yea, you can just use the injector
[11:25:55] <wiherek> and call digest on rootScope
[11:26:09] <wiherek> if your app is not too big, it will be ok
[11:26:12] *** reavengr1y has joined #angularjs
[11:26:17] *** reavengrey has quit IRC
[11:26:37] *** jaydubya has quit IRC
[11:26:59] <Somatt_wrk> how would you reach the injector without going througgh the markup ?
[11:27:19] <wiherek> you do
[11:27:25] *** olivvv has joined #angularjs
[11:27:26] *** mmealling has joined #angularjs
[11:27:30] <wiherek> var injector = angular.injector()
[11:27:34] <ItsAllGood> "You can use angular.element: docs.angularjs.org/api/ng/function/angular.element. This is a wrapper to jQuery, so I don't think it's a bad practice to put jQuery animations code inside AngularJS"
[11:27:39] <ItsAllGood> can someone explain that please?
[11:27:48] *** spaceonline has joined #angularjs
[11:28:12] *** esk4nd4r has joined #angularjs
[11:28:18] <wiherek> angular will probably be available on the global object
[11:28:29] *** atomatt has joined #angularjs
[11:28:40] *** dimas has joined #angularjs
[11:29:13] *** fedenunez has quit IRC
[11:29:19] <wiherek> actually
[11:29:26] <wiherek> you need
[11:29:40] <arkin> ItsAllGood: I know when you have "element" in a directive, it is already jquery as I mentioned
[11:29:45] <wiherek> var injector = angular.element(document.body).injector()
[11:30:22] <wiherek> that way you specify your app, as it probably is bound to body
[11:30:49] *** rburns has quit IRC
[11:30:53] <burzum2> how can I insert a new directive / template dynamically on click on a link in another place in my existing directive? I have some comments and under each one is a reply button. when this button is clicked i need to inject a new form below that comment. by below I mean not directly below the link ive clicked but a few elements below the current position in the DOM.
[11:31:15] <wiherek> and then you do
[11:31:19] <Somatt_wrk> wiherek: I can reach an injector, but it doesn't know about my servies
[11:31:23] <Foxandxss> ItsAllGood: that sentence is more to say", don't do $(element) it is already wrapped like that
[11:31:24] <Somatt_wrk> *services
[11:31:28] <wiherek> yea, exactly
[11:31:51] <wiherek> you need to specify the app somehow, if you use angular.element(document.body).injector()
[11:31:54] <wiherek> then it will be ok
[11:31:57] <wiherek> then you do
[11:32:03] *** woah has quit IRC
[11:32:06] *** DrJae has joined #angularjs
[11:32:07] *** c00ljs has quit IRC
[11:32:08] <wiherek> var myRootScope = injector.get(‘$rootScope’)
[11:32:10] <Somatt_wrk> I guess I'll have to pass via a DOM node in any away after all
[11:32:21] <wiherek> i dont think it’s necessary
[11:32:35] <wiherek> you can probably try to reference the app name
[11:32:43] <wiherek> (main module)
[11:32:48] <Somatt_wrk> how's that ?
[11:32:57] <wiherek> i dont know :)
[11:33:02] *** aendrew has quit IRC
[11:33:12] <Somatt_wrk> it seems I need angular.element() so I need to target a dom node
[11:33:29] *** dimas has quit IRC
[11:33:46] <wiherek> well..
[11:33:52] *** dan2k3k4 has quit IRC
[11:34:07] <wiherek> you can point to
[11:34:12] <wiherek> angular.element(document)
[11:34:13] *** sk87 has quit IRC
[11:34:23] <wiherek> that should be ok, no?
[11:34:33] *** NoNMaDDeN has quit IRC
[11:34:39] *** aendrew has joined #angularjs
[11:34:39] <wiherek> it works for me, but I have ng-app set at <html>
[11:34:54] *** Jae has quit IRC
[11:35:17] <Somatt_wrk> my ng-app sits on the body element, so going through angular.element(document.body).injector() is working. I'll go with that, thanks
[11:35:47] *** zanea is now known as zanea|away
[11:36:06] *** Newman has joined #angularjs
[11:36:26] <Helzibah> is there a reason to have ng-app on body rather than html?
[11:36:38] <Helzibah> is it more efficient if you don't have anything in head for it to process for example?
[11:37:11] *** dimas has joined #angularjs
[11:37:23] *** mennea has quit IRC
[11:38:07] *** laurensclaessen has quit IRC
[11:38:14] *** Caroga is now known as Caroga_afk
[11:38:14] *** wiherek has quit IRC
[11:38:15] <Somatt_wrk> Helzibah: I don't remember exactly why I did this in the first place, but I like scoping my app to the lowest level
[11:38:28] *** motionman has quit IRC
[11:38:36] *** wiherek has joined #angularjs
[11:38:51] <Helzibah> Somatt_wrk: yes, that makes sense, I just didn't know if it had other implications in addition to just being the nicest/tightest way of doing things
[11:38:52] <wiherek> got DCed :s
[11:39:02] *** larsgk has quit IRC
[11:39:05] *** Trow1 has joined #angularjs
[11:39:39] <ItsAllGood> Can someone look at http://stackoverflow.com/a/26906637/2884981
[11:39:49] <ItsAllGood> That solution is so elegant, why is it not working?
[11:39:51] *** larsgk has joined #angularjs
[11:40:13] <sacho> ngAnimate is the opposite of elegant
[11:40:40] <sacho> what actual error are you getting
[11:40:41] *** SergioFilhow has joined #angularjs
[11:41:54] *** dimas has quit IRC
[11:42:05] *** laurensclaessen has joined #angularjs
[11:42:23] *** Trow has quit IRC
[11:42:48] *** SidFerreira has joined #angularjs
[11:42:55] *** reavengr1y has quit IRC
[11:43:24] <dsdeiz> hey all, anyone doing bdd with angular?
[11:43:25] *** dimas has joined #angularjs
[11:44:14] *** corehook_ has joined #angularjs
[11:44:25] *** pikapp has quit IRC
[11:44:34] *** D-Boy has quit IRC
[11:44:36] *** Guest24243 has quit IRC
[11:44:46] *** flipflopsnrice has quit IRC
[11:44:50] *** ishan1604 has joined #angularjs
[11:44:54] *** corehook has quit IRC
[11:45:08] *** reavengrey has joined #angularjs
[11:45:17] *** SergioFilhow has quit IRC
[11:45:36] <Newman> Hi, I noticed when I set ngAnimate dependency in my app.js then angular.element + getElementById stop working properly - eg. element with id="a" in view1 and element with id="a" in view2, when you change view1 to view2 (e.g. by click on link) angular.element (in controller, in service - everywhere) keep reference for element "a" in view1. I tried to fix that with scope.$apply() but nothing happend, I am not sure, if it can be bu
[11:46:06] *** tkimmel has joined #angularjs
[11:47:31] <jlebrech> is nganimate in a state of flux atm?
[11:47:57] *** Spartan has joined #angularjs
[11:48:02] <Spartan> Hello
[11:48:23] *** greatdex has quit IRC
[11:48:59] *** ishan1604 has quit IRC
[11:49:26] *** johnnyhendricks has joined #angularjs
[11:50:49] *** tkimmel has quit IRC
[11:51:09] *** johnnyhendricks has quit IRC
[11:51:14] <SidFerreira> Hi guys! Im self-learning AngularJS and there's one thing Im having hard time to understand: How to extend/override services? I was trying to make a generic service to access my rest data, but wanted to extend it to have one service to each one of my 3 data types
[11:51:18] *** lite_afk has quit IRC
[11:51:24] <Newman> No, in fact i didnt use ngAnimate at all... I have just dependency (for future usage)
[11:51:27] *** Caroga_afk is now known as Caroga
[11:51:58] *** lite_afk has joined #angularjs
[11:52:14] <Spartan> I am currently reading the AngularJS Up & Running book. I have started learning this week. Any suggestions for other books ?
[11:52:17] <ItsAllGood> arkin
[11:52:26] <ItsAllGood> check the stackoverflow message
[11:52:31] <ItsAllGood> very good answer was given
[11:52:31] *** chung has quit IRC
[11:52:46] *** johnnyhendricks has joined #angularjs
[11:53:20] *** ItsAllGood has quit IRC
[11:54:00] *** recidive has joined #angularjs
[11:54:14] <arkin> hmm he still uses jquery lol
[11:55:17] *** glosoli has joined #angularjs
[11:55:24] *** Spartan has quit IRC
[11:56:03] *** lite_afk has quit IRC
[11:56:05] *** jstroem has quit IRC
[11:56:37] *** kas84 has joined #angularjs
[11:56:55] *** gurke_ has quit IRC
[11:56:55] *** jstroem has joined #angularjs
[11:56:57] *** johnnyhendricks has quit IRC
[11:56:59] *** sk87 has joined #angularjs
[11:57:11] *** dbushenko has joined #angularjs
[11:57:34] *** reavengrey has quit IRC
[11:57:34] *** jstroem has quit IRC
[11:57:59] *** jstroem has joined #angularjs
[11:59:02] *** ferrao has joined #angularjs
[11:59:22] *** ProLoser has quit IRC
[11:59:52] *** dimas has quit IRC
[11:59:54] <dbushenko> hi all!
[11:59:55] *** reavengrey has joined #angularjs
[12:00:03] *** D-Boy has joined #angularjs
[12:00:03] *** reavengrey has quit IRC
[12:00:04] *** reavengrey has joined #angularjs
[12:01:11] *** Douglish has left #angularjs
[12:01:12] <dbushenko> i'm using angular-xeditable and trying to render a list of items. I have $scope.items = []
[12:01:12] <dbushenko> but I can't get the update event for that collection
[12:01:12] <dbushenko> $scope.$watchCollection(
[12:01:12] <dbushenko> "items",
[12:01:12] <dbushenko> function( newValue, oldValue ) {
[12:01:12] <dbushenko> console.log(newValue);
[12:01:13] <dbushenko> }
[12:01:13] <dbushenko> );
[12:01:13] <dbushenko> what I'm doing wrong?
[12:01:13] <Helzibah> pasting into irc
[12:01:13] <bealtine> pasting into irc
[12:01:29] <bealtine> heh
[12:01:30] <dbushenko> :-)
[12:01:30] <dbushenko> sorry
[12:01:30] <Helzibah> dbushenko: put it into a plunker or pastebin or somethihng
[12:01:30] *** enaqx has quit IRC
[12:01:35] <dbushenko> ok, next time will do that
[12:01:43] <Helzibah> (also, by the looks of it you're mixing spaces and tabs, tsk)
[12:02:05] <burzum2> how can i use a dynamically built function name in an angular expression? something like ng-click="'reply' + comment.id='reply.html'" doesnt work for me.
[12:02:26] <dbushenko> I think whitespaces don't damage the code
[12:03:02] *** Newman has quit IRC
[12:03:15] *** tangorri has joined #angularjs
[12:04:18] <Helzibah> course it doesn't (unless it's python), it's just poor practice
[12:04:22] *** Glen_ has joined #angularjs
[12:04:24] *** evilaliv3 has quit IRC
[12:04:32] *** dan2k3k4 has joined #angularjs
[12:04:51] <dbushenko> Helzibah, may be you can help me with xeditable and watching the collection?
[12:04:55] <Glen_> hello everyone :D hope we are all having a nice day
[12:05:13] *** kevinxu_ has quit IRC
[12:05:18] *** edualsantos has joined #angularjs
[12:05:32] <Helzibah> dbushenko: not something I can help with, and I also won't help from IRC pasting because it's so much harder to parse :P
[12:05:45] *** carlosmantilla has joined #angularjs
[12:05:50] *** c00ljs has joined #angularjs
[12:06:05] *** mattattaque has joined #angularjs
[12:06:22] *** TheAceOfHearts has joined #angularjs
[12:06:32] *** ProLoser has joined #angularjs
[12:06:34] *** carlosma_ has joined #angularjs
[12:06:37] *** shpoont has quit IRC
[12:06:57] *** edualsantos has quit IRC
[12:07:16] *** nimomo has quit IRC
[12:07:34] *** edualsantos has joined #angularjs
[12:07:45] *** glosoli has quit IRC
[12:08:00] *** adben has joined #angularjs
[12:08:16] *** moritzs has quit IRC
[12:08:19] *** larsgk has quit IRC
[12:08:34] *** edualsantos has left #angularjs
[12:09:00] *** moritzs has joined #angularjs
[12:10:33] *** carlosmantilla has quit IRC
[12:10:44] *** evilaliv3 has joined #angularjs
[12:10:58] *** obrein has quit IRC
[12:11:09] *** hmsimha has quit IRC
[12:11:53] *** basiclaser_ has quit IRC
[12:12:27] *** mjs2600 has joined #angularjs
[12:12:38] *** laurensclaessen has quit IRC
[12:12:58] *** gurke_ has joined #angularjs
[12:13:01] <thomastuts> what do you guys recommend for displaying and sorting tabular data?
[12:13:05] <thomastuts> giving ng-grid a go but seems really clunky
[12:13:49] *** jagga has quit IRC
[12:14:13] <arkin> Glen_: we're programmers, of course we're not
[12:15:04] <Glen_> :D
[12:15:10] *** wiherek has quit IRC
[12:15:25] <Mattias> arkin: What? How can you even say that!
[12:15:29] *** Milkweed has joined #angularjs
[12:15:41] <Glen_> I can empathise with you
[12:15:48] <Glen_> hah :-)
[12:16:01] <arkin> lol
[12:16:05] <Mattias> It's nice when every client says the work is awesome :)
[12:16:45] <Glen_> :) that is nice isn't it
[12:16:58] *** Trow2 has joined #angularjs
[12:17:47] *** mot0rola has joined #angularjs
[12:18:21] *** vinnix_ is now known as vinnix
[12:18:25] *** vinnix has joined #angularjs
[12:19:54] *** jillesme_ has joined #angularjs
[12:20:43] *** NoNMaDDeN has joined #angularjs
[12:20:56] *** Trow1 has quit IRC
[12:21:23] *** shpoont has joined #angularjs
[12:22:34] *** mot0rola has quit IRC
[12:22:47] *** gurke_ has quit IRC
[12:22:48] *** jillesme_ has quit IRC
[12:23:00] *** jillesme has quit IRC
[12:23:10] *** TheAceOfHearts has quit IRC
[12:23:20] *** jillesme has joined #angularjs
[12:23:39] *** cbennett has quit IRC
[12:24:17] *** bbankes has quit IRC
[12:24:38] *** jillesme_ has joined #angularjs
[12:24:53] *** Xethron has quit IRC
[12:26:15] *** fbenoit has joined #angularjs
[12:26:31] *** Xethron has joined #angularjs
[12:26:32] *** josh-k_ has quit IRC
[12:27:04] *** josh-k has joined #angularjs
[12:27:21] *** RangerRick has quit IRC
[12:27:36] *** jillesm__ has joined #angularjs
[12:27:37] *** jillesme has quit IRC
[12:27:38] *** sahbeewah has quit IRC
[12:27:41] *** RangerRick has joined #angularjs
[12:27:54] *** Siyfion has joined #angularjs
[12:28:18] *** cbennett has joined #angularjs
[12:28:54] *** jillesm__ has quit IRC
[12:28:57] *** Trow2 is now known as Trow1
[12:29:00] *** Trow1 is now known as Trow
[12:29:05] *** cbennett has joined #angularjs
[12:29:09] <rabbi1> hi, missing the ng-pattern for price 99999.99 :( kindly help
[12:29:43] *** SidFerreira has quit IRC
[12:29:44] <Helzibah> what have you tried so far?
[12:29:56] *** jillesme_ has quit IRC
[12:30:24] *** Foxandxss has quit IRC
[12:30:37] *** think4D has quit IRC
[12:31:05] *** laurensclaessen has joined #angularjs
[12:31:35] *** josh-k has quit IRC
[12:32:03] *** lite_afk has joined #angularjs
[12:32:04] *** laurensclaessen has quit IRC
[12:32:06] <rabbi1> [/^[0-9.]*$/"] with max="99999" min="0" step="2"
[12:32:11] *** jillesme has joined #angularjs
[12:32:14] *** laurensclaessen has joined #angularjs
[12:32:14] <rabbi1> Helzibah: ^^
[12:32:23] *** bradmaxs has joined #angularjs
[12:32:48] *** tarnus has joined #angularjs
[12:33:11] *** cbennett_ has joined #angularjs
[12:33:37] *** Trow has quit IRC
[12:34:13] *** rburns has joined #angularjs
[12:34:26] *** Trow has joined #angularjs
[12:34:50] *** ishan1604 has joined #angularjs
[12:35:49] *** mot0rola has joined #angularjs
[12:35:50] *** dharmit has joined #angularjs
[12:35:53] *** yandos has quit IRC
[12:36:02] *** GreenJello has quit IRC
[12:36:21] *** cbennett has quit IRC
[12:36:28] <arkin> rabbi1: ng-pattern="^[0-9.]*$" ?
[12:36:29] *** fairuz1 has quit IRC
[12:36:55] *** dsdeiz_ has joined #angularjs
[12:37:02] <Helzibah> no, that would let you have "9.8.9.9.0.9.000.9.8."
[12:37:17] *** mennea has joined #angularjs
[12:37:20] <arkin> :D
[12:37:45] *** greengriminal has joined #angularjs
[12:37:50] *** tarnus has quit IRC
[12:37:50] <arkin> ng-pattern="^[0-9]+(\.[0-9]+)?$"
[12:38:19] *** charsoft has quit IRC
[12:38:24] *** dsdeiz has quit IRC
[12:38:30] <arkin> Helzibah: ^ :D
[12:38:35] *** cakirke has joined #angularjs
[12:38:52] *** Greed` has joined #angularjs
[12:38:56] <Helzibah> (still doesn't limit the length of the number)
[12:39:04] *** lugzer has joined #angularjs
[12:39:11] <Helzibah> I need to go refresh my knowledge of js-specific regex though
[12:39:33] *** zzing has joined #angularjs
[12:39:34] <arkin> Helzibah / rabbi1: goddamn ... ng-pattern="^[0-9]+(\.[0-9]{2})?$" lol
[12:39:45] *** drej has joined #angularjs
[12:39:57] *** mak`` has quit IRC
[12:40:04] <Helzibah> nope
[12:40:10] *** simiographics_ has joined #angularjs
[12:40:10] *** DavidBowie has joined #angularjs
[12:41:01] <Helzibah> /\d{1,5}(\.\d{1,2})?/ I think?
[12:41:04] *** crunch-c1oco has quit IRC
[12:41:07] <rabbi1> [/^[0-9.]*$/"] this is the right one, but with max of 999999 unable to add .99 :(
[12:41:07] *** Greed has quit IRC
[12:41:17] *** Raging_Hog has joined #angularjs
[12:41:24] *** SergioFilhow has joined #angularjs
[12:41:37] *** dsdeiz_ has quit IRC
[12:41:39] <Helzibah> rabbi1: no, that regex won't do what you want, it'll allow any number of digits in and '.' (I think, assuming you don't need to escape within []) in any order
[12:41:47] *** trend has joined #angularjs
[12:41:49] *** carlosma_ has quit IRC
[12:42:01] <rabbi1> it will just accept 99999.99 and not 999999.99 but max is "999999"
[12:42:12] *** Oxynum has quit IRC
[12:42:29] <Helzibah> that's because you have the max set
[12:42:41] <rabbi1> that's true as well
[12:42:42] <Zariel> Is there a way to implicitly bind something in an isolate scope to the equivilent in the parent scope?
[12:42:53] <Helzibah> 999999 < 999999.99, so of course it won't accept the latter
[12:43:04] <Helzibah> set your max to the max you want it to accept, surely?
[12:43:12] *** Greed` has quit IRC
[12:43:38] <Zariel> the equivlent of doing scope: { thing: '=' }, <directive thing="thing"> ...
[12:44:00] <rabbi1> Helzibah: yeah, that's done. … but can't figure out for decimal
[12:44:09] *** hugofirth has joined #angularjs
[12:44:29] *** carlosmantilla has joined #angularjs
[12:44:34] <Helzibah> rabbi1: if your max is "999999" then it's never going to accept "999999.99"
[12:44:39] *** DrJae is now known as Jae
[12:44:39] <Helzibah> that's just basic maths
[12:44:41] *** simiographics_ has quit IRC
[12:44:44] *** Jae has quit IRC
[12:44:44] *** Jae has joined #angularjs
[12:44:48] *** odin_ has quit IRC
[12:44:56] <Helzibah> (unless I'm horribly confused, this isn't something I've directly touched yet)
[12:44:59] <Zariel> this works but is really ugly, scope.params = scope.$parent.$parent.params
[12:45:11] *** Alfred_ has joined #angularjs
[12:45:25] *** aendrew has quit IRC
[12:45:46] <rabbi1> Helzibah: yeap, correct what about step="2" ?
[12:46:15] *** SergioFilhow has quit IRC
[12:46:19] *** trend has quit IRC
[12:46:20] <Helzibah> I don't know, what does the 'step' signifier do?
[12:47:03] <rabbi1> Helzibah: decimal
[12:47:12] *** gekido has joined #angularjs
[12:47:26] *** mjs2600 has quit IRC
[12:48:13] <arkin> step 2 wouldn't result in decimal, it would result in 0, 2, 4
[12:48:15] <Helzibah> what documentation are you looking at?
[12:48:36] <Helzibah> because saying it does 'decimal' doesn't explain anything
[12:49:16] *** Oxynum has joined #angularjs
[12:49:49] *** Typher has quit IRC
[12:50:07] *** Jae has quit IRC
[12:51:05] *** Typher has joined #angularjs
[12:51:53] *** gekido has quit IRC
[12:52:08] *** jstroem has quit IRC
[12:52:22] *** preben_ has joined #angularjs
[12:52:36] *** jstroem has joined #angularjs
[12:52:43] *** Jae has joined #angularjs
[12:53:14] *** ferrao has quit IRC
[12:53:49] *** ferrao has joined #angularjs
[12:54:00] *** japhar81 has quit IRC
[12:54:01] *** anshu has joined #angularjs
[12:54:17] *** jdj_dk_ has joined #angularjs
[12:54:49] *** anshu has left #angularjs
[12:54:55] *** marcjs has joined #angularjs
[12:55:10] *** aendrew has joined #angularjs
[12:55:34] *** enaqx has joined #angularjs
[12:56:17] *** Typher has quit IRC
[12:57:23] *** corehook_ has quit IRC
[12:57:24] *** jdj_dk has quit IRC
[12:57:44] *** intellix has quit IRC
[12:58:03] *** cannap has joined #angularjs
[12:58:14] *** ferrao has quit IRC
[12:58:38] *** corehook has joined #angularjs
[12:58:53] *** jdj_dk_ has quit IRC
[12:59:01] *** adpirz has joined #angularjs
[13:00:15] *** jstroem has quit IRC
[13:00:44] *** jstroem has joined #angularjs
[13:00:52] *** DrMabuse has quit IRC
[13:01:02] *** mot0rola has quit IRC
[13:01:19] *** lite_afk has quit IRC
[13:01:32] *** azizur has joined #angularjs
[13:01:49] *** odin_ has joined #angularjs
[13:02:11] *** Jashi has joined #angularjs
[13:02:27] *** ssucreme has quit IRC
[13:02:57] *** shaym_ has joined #angularjs
[13:03:12] <Jashi> hi in firefox version 28 no action for delete
[13:03:19] *** johnnyhendricks has joined #angularjs
[13:03:25] *** jMyles has quit IRC
[13:03:28] *** adpirz has quit IRC
[13:03:37] *** Nivag has quit IRC
[13:03:48] <Jashi> ng-click=\"removeObject(object.objectId,object.objectRefId,attribute.right[0].tagName,'create',$index)\">
[13:03:53] *** m3_del has quit IRC
[13:03:55] <Jashi> this is the code for remove object
[13:04:00] <Jashi> chrome working fine
[13:04:11] <Jashi> firefox broser not working
[13:04:36] <Jashi> can you please suggest me how to resolve that
[13:05:53] *** caitp has quit IRC
[13:06:37] *** jillesme has quit IRC
[13:06:40] *** lite has joined #angularjs
[13:07:38] *** johnnyhendricks has quit IRC
[13:08:10] *** resu01 has joined #angularjs
[13:08:25] *** fedenunez has joined #angularjs
[13:08:53] *** cbennett_ has quit IRC
[13:08:55] *** johnnyhendricks has joined #angularjs
[13:09:06] *** jstimm has quit IRC
[13:09:11] *** dbushenko has left #angularjs
[13:09:30] *** jaydubya has joined #angularjs
[13:09:39] <resu01> hello to everyone. I need to do the followin <p ng-if="myCtrlMethod(MY_CONST.VALUE)"/>
[13:09:45] <resu01> how can i achieve this?
[13:10:04] *** sacho has quit IRC
[13:10:11] <resu01> in debug mode the parameter is undefined
[13:10:14] *** cbennett has joined #angularjs
[13:10:27] *** sacho has joined #angularjs
[13:10:32] *** cbennett has joined #angularjs
[13:10:56] <BaconOverflow> Hi guys. Trying to get Angular live data binding to work, but not sure what I'm doing wrong. I've created a controller that queries the backend every 5s and assigns the new data to $scope (i.e. $scope.orders = orders). Everything works great until it queries the backend again, at which point it rerenders the whole thing instead of just updating parts that
[13:10:56] <BaconOverflow> have changed (and nothing has changed in this case) :( Code here: https://gist.github.com/anonymous/45d3e3866963fa7f7e7e
[13:11:30] *** damain has joined #angularjs
[13:11:52] *** tripu has joined #angularjs
[13:12:19] *** cbennett has joined #angularjs
[13:12:33] *** larsgk has joined #angularjs
[13:14:03] *** jagga has joined #angularjs
[13:14:14] *** yaswanth has joined #angularjs
[13:14:21] <yaswanth> hey guys.
[13:15:19] *** jaydubya has quit IRC
[13:15:48] <yaswanth> what is the usage of location service in angular js
[13:15:50] <yaswanth> ?
[13:16:03] <yaswanth> can any one give me the explanaiton on this topic
[13:16:32] *** spaceonline has quit IRC
[13:17:59] *** recidive has quit IRC
[13:18:15] *** yaswanth has quit IRC
[13:18:31] *** mguillech has joined #angularjs
[13:19:00] *** johnnyhendricks has quit IRC
[13:19:10] *** phishy has quit IRC
[13:19:39] *** aendrew has quit IRC
[13:20:08] *** SergioFilhow has joined #angularjs
[13:20:44] *** tangorri has quit IRC
[13:20:54] *** azizur has quit IRC
[13:21:20] *** aendrew has joined #angularjs
[13:21:28] *** mjs2600 has joined #angularjs
[13:22:45] *** sk87 has quit IRC
[13:22:46] *** azizur has joined #angularjs
[13:22:51] *** DrMabuse has joined #angularjs
[13:23:09] *** mguillech has quit IRC
[13:23:11] *** FunnyLookinHat has joined #angularjs
[13:24:01] *** jordandotdev has quit IRC
[13:24:02] *** spatialbrew has joined #angularjs
[13:24:31] *** intellix has joined #angularjs
[13:25:51] *** johnnyhendricks has joined #angularjs
[13:26:09] *** tangorri has joined #angularjs
[13:26:20] *** jlebrech has quit IRC
[13:26:50] *** bengillies has quit IRC
[13:26:57] *** defaultdict has joined #angularjs
[13:27:16] *** tech2_ has quit IRC
[13:27:29] *** atomatt has quit IRC
[13:27:51] *** esk4nd4r has quit IRC
[13:28:33] *** yaneq has joined #angularjs
[13:28:42] *** damain has quit IRC
[13:28:58] <SergioFilhow> Hey guys, Is it possible to make a $http request before each state change ($stateChangeStart)? I want to freeze the stateChange
[13:29:08] *** azizur has quit IRC
[13:29:41] *** yozilla has quit IRC
[13:30:11] *** jlebrech_ has joined #angularjs
[13:30:35] *** duall has joined #angularjs
[13:30:40] *** qdk has joined #angularjs
[13:30:45] *** favetelinguis has joined #angularjs
[13:30:55] *** DannyCallaghan has joined #angularjs
[13:31:13] *** DrMabuse_ has joined #angularjs
[13:31:17] <DannyCallaghan> anyone using nghint? ironically, i need some debugging help with it :)
[13:32:01] *** recidive has joined #angularjs
[13:33:25] *** bengillies has joined #angularjs
[13:33:45] <yaneq> can i create directives that wrap other html without using transclude?
[13:34:05] *** Sebastien-L has quit IRC
[13:34:36] *** shinnya has joined #angularjs
[13:34:39] *** damain has joined #angularjs
[13:34:39] *** dharmit has quit IRC
[13:34:48] *** DrMabuse_ has quit IRC
[13:35:06] *** tkimmel has joined #angularjs
[13:35:07] *** DrMabuse has quit IRC
[13:35:17] *** DrMabuse has joined #angularjs
[13:35:28] *** testerde has joined #angularjs
[13:37:00] *** fedenunez has quit IRC
[13:37:04] *** whitebook has joined #angularjs
[13:37:53] *** gaganjyot has joined #angularjs
[13:38:15] <testerde> Hi guys. I've a little question regarding my web application's architecture: I have one object, that holds hierarchical information (like a menu). That object will be present at the start of my web app and may be changed by the user in many ways (adding items, removing, ...). And each time a http request will check changes and return. I surely will need to add custom directives for child objects. So my question is: How could I ad
[13:39:01] *** esk4nd4r has joined #angularjs
[13:39:12] *** gaganjyot has quit IRC
[13:39:17] *** tkimmel has quit IRC
[13:39:40] *** esk4nd4r has quit IRC
[13:39:56] <testerde> I've already created a sample, where the object is empty at the beginning and will not be checked from a http service. That way everything works fine, but now, maybe the object comes pre-populated at the beginning. And then everything doesn't work any more (as I have counter variables that only increased adding a child object etc). What is best practise to do this?
[13:40:04] *** mettjus has joined #angularjs
[13:40:16] *** gurke_ has joined #angularjs
[13:40:17] *** Typher has joined #angularjs
[13:40:19] <Jashi> <button><span>{{name}}</span><span ng-click="deleteobject('123','abc');>X</span></button>
[13:40:49] <Jashi> scope.deleteObject = function(id,name){
[13:40:55] *** gaganjyot has joined #angularjs
[13:41:19] <Jashi> no action deleteobject in firefox 28 version can you please suggest me how to resolve that
[13:41:28] *** gaganjyot has quit IRC
[13:41:46] *** sk87 has joined #angularjs
[13:42:23] *** resu01 has quit IRC
[13:42:51] *** gaganjyot has joined #angularjs
[13:43:03] *** whitebook has quit IRC
[13:43:18] *** tech2_ has joined #angularjs
[13:43:23] *** gaganjyot has quit IRC
[13:43:51] <Jashi> <button><span>{{name}}</span><span ng-click="deleteobject('123','abc');>X</span></button> scope.deleteObject = function(id,name) { } no action deleteobject in firefox 28 version can you please suggest me how to resolve that
[13:44:18] *** moritzs has quit IRC
[13:44:28] *** whitebook has joined #angularjs
[13:44:53] *** azizur has joined #angularjs
[13:45:52] *** crunch-choco has joined #angularjs
[13:46:06] *** bc_ has quit IRC
[13:46:15] *** crunch-choco is now known as Guest82392
[13:46:22] *** bc_ has joined #angularjs
[13:47:16] *** kruno has quit IRC
[13:47:23] <BahamutWC|Laptop> Jashi: you should create a reproduction in plunker
[13:47:30] *** whitebook has quit IRC
[13:47:36] *** night-owl is now known as zz_night-owl
[13:47:53] *** laurensclaessen has quit IRC
[13:49:22] *** Efrem has joined #angularjs
[13:49:40] *** whitebook has joined #angularjs
[13:50:17] *** laurensclaessen has joined #angularjs
[13:50:56] *** Evanion has quit IRC
[13:51:04] *** Typher has quit IRC
[13:51:06] *** DrMabuse has quit IRC
[13:51:07] *** ludkiller has quit IRC
[13:51:37] *** jr3 has quit IRC
[13:51:55] *** yts has joined #angularjs
[13:51:59] *** corehook has quit IRC
[13:52:32] *** corehook has joined #angularjs
[13:52:44] *** corehook has quit IRC
[13:52:44] *** ludkiller has joined #angularjs
[13:52:48] *** Typher has joined #angularjs
[13:52:59] *** mmealling has quit IRC
[13:53:17] *** firelinks has quit IRC
[13:53:34] *** phzon_ has quit IRC
[13:53:52] *** ProLoser has quit IRC
[13:56:28] *** DrMabuse has joined #angularjs
[13:56:38] *** aendrew has quit IRC
[13:57:09] *** cbennett has quit IRC
[13:57:43] *** Angelo has quit IRC
[13:57:49] *** eamonn has quit IRC
[13:58:28] *** gazbond has joined #angularjs
[13:59:10] *** jaydubya has joined #angularjs
[13:59:22] *** cwill747 has joined #angularjs
[13:59:27] *** Angelo has joined #angularjs
[14:00:28] *** tarnus has joined #angularjs
[14:00:43] <BaconOverflow> Hi guys. Trying to get Angular live data binding to work, but not sure what I'm doing wrong. I've created a controller that queries the backend every 5s and assigns the new data to $scope (i.e. $scope.orders = orders). Everything works great until it queries the backend again, at which point it rerenders the whole thing instead of just updating parts that
[14:00:43] <BaconOverflow> have changed (and nothing has changed in this case) Code here: https://gist.github.com/anonymous/45d3e3866963fa7f7e7e
[14:00:51] *** SergioFilhow has quit IRC
[14:00:56] *** corehook has joined #angularjs
[14:01:14] *** lsiv568 has joined #angularjs
[14:01:44] *** duall has quit IRC
[14:01:48] *** rburns has quit IRC
[14:02:09] * reavengrey finally understands isolated scope in directives
[14:02:31] *** johnnyhendricks has quit IRC
[14:02:55] *** SergioFilhow has joined #angularjs
[14:03:02] *** cliluw has quit IRC
[14:03:39] *** cliluw has joined #angularjs
[14:04:28] *** azizur0 has joined #angularjs
[14:05:12] *** cheef has joined #angularjs
[14:05:24] *** AlSquirrel has joined #angularjs
[14:07:10] *** azizur has quit IRC
[14:07:34] *** Evanion has joined #angularjs
[14:08:05] <Caroga> yeah I got my angularjs book !:D
[14:08:18] *** walden|afk is now known as walden
[14:08:51] *** whitebook has quit IRC
[14:08:51] <cheef> ive got some metric data i want to translate to imperial to show in a drop down, i was wondering if a factory would be a good place to put this (as well as some others) as a central place to manage data for dropdowns?
[14:08:57] *** marr has quit IRC
[14:09:40] <cheef> i have a few that are heavily reused across controllers, and it rather inject a service to get/set the data (possible from a db)
[14:10:53] *** drej has quit IRC
[14:11:04] <Jashi> <p ng-if="myCtrlMethod(MY_CONST.VALUE)"/>
[14:11:30] <Jashi> this one we can store one scope object ex:
[14:12:02] *** marcjs has quit IRC
[14:12:06] <Jashi> scope.value = MY_CONST.VALUE ng-if ='myctrlMethod == valuew'
[14:12:11] <Jashi> like that
[14:12:26] *** soee has quit IRC
[14:13:03] *** fedenunez has joined #angularjs
[14:13:40] *** dsdeiz has joined #angularjs
[14:14:19] <thomastuts> damn ng grid seems like a really clunky solution to the tabular data problem
[14:14:37] *** cbeacock1 has joined #angularjs
[14:14:38] <thomastuts> it's creating the table using div elements, why not just use a table?
[14:15:38] *** jillesme has joined #angularjs
[14:15:43] *** crakrjak has joined #angularjs
[14:15:58] *** aendrew has joined #angularjs
[14:16:31] *** jillesme has quit IRC
[14:16:47] *** Versality has joined #angularjs
[14:16:58] *** jillesme has joined #angularjs
[14:17:38] *** AtomicCookie has joined #angularjs
[14:17:40] *** Sebastien-L has joined #angularjs
[14:18:46] *** eamonn has joined #angularjs
[14:18:47] *** soee has joined #angularjs
[14:19:44] *** duall has joined #angularjs
[14:20:21] *** ferrao has joined #angularjs
[14:20:26] *** dsdeiz_ has joined #angularjs
[14:21:06] *** dsdeiz has quit IRC
[14:21:27] *** firelinks has joined #angularjs
[14:22:01] *** gaganjyot has joined #angularjs
[14:22:22] *** firelinks has quit IRC
[14:23:24] *** gaganjyot has quit IRC
[14:23:32] *** lsiv568 has quit IRC
[14:23:34] *** Latros-OS has joined #angularjs
[14:23:40] *** exddor has joined #angularjs
[14:24:17] *** Jae has quit IRC
[14:24:26] *** mogaj has quit IRC
[14:24:28] *** gaganjyot has joined #angularjs
[14:25:11] *** mguillech has joined #angularjs
[14:25:12] *** lsiv568 has joined #angularjs
[14:25:37] *** laurensclaessen has quit IRC
[14:26:04] *** hswolff has quit IRC
[14:27:36] *** DrMabuse has quit IRC
[14:27:49] *** _ritchie_ has joined #angularjs
[14:27:58] *** DrMabuse has joined #angularjs
[14:28:25] *** simiographics_ has joined #angularjs
[14:29:11] *** hswolff has joined #angularjs
[14:29:35] *** danecando has quit IRC
[14:30:32] *** trend has joined #angularjs
[14:30:35] *** mccarrontr1ck has joined #angularjs
[14:31:34] *** corehook has quit IRC
[14:31:39] *** whitebook has joined #angularjs
[14:32:07] *** corehook has joined #angularjs
[14:32:17] *** patrick99e99 has joined #angularjs
[14:32:19] *** corehook has quit IRC
[14:32:36] *** marcjs has joined #angularjs
[14:32:37] *** simiographics_ has quit IRC
[14:33:00] *** laurensclaessen has joined #angularjs
[14:33:04] *** kirfu has quit IRC
[14:33:09] *** crakrjak has quit IRC
[14:33:28] *** exddor has quit IRC
[14:33:39] *** shpoont has joined #angularjs
[14:35:09] *** trend has quit IRC
[14:35:39] *** phzon has joined #angularjs
[14:35:50] *** hugofirth has quit IRC
[14:35:59] *** mennea_ has joined #angularjs
[14:36:02] *** Owner__ has joined #angularjs
[14:36:03] *** gekido has joined #angularjs
[14:36:14] *** ctanga has joined #angularjs
[14:36:22] *** laurensclaessen has quit IRC
[14:36:27] *** Owner__ is now known as Guest99380
[14:37:07] *** patrick99e99 has quit IRC
[14:38:01] *** Versality has quit IRC
[14:39:04] *** mennea has quit IRC
[14:39:56] *** shinnya has quit IRC
[14:40:12] *** atomatt has joined #angularjs
[14:40:51] *** gekido has quit IRC
[14:41:00] *** falk_netstyler has joined #angularjs
[14:41:08] *** Versality has joined #angularjs
[14:41:28] *** _ritchie_ has quit IRC
[14:42:08] *** mst has quit IRC
[14:42:08] *** mst has joined #angularjs
[14:42:48] *** TyrfingMjolnir has joined #angularjs
[14:42:48] *** _ritchie_ has joined #angularjs
[14:42:52] *** DrMabuse has quit IRC
[14:43:07] *** jplussier has joined #angularjs
[14:43:10] *** bengillies has quit IRC
[14:44:08] *** Typher has quit IRC
[14:44:29] *** SergioFilhow has quit IRC
[14:44:38] *** DrMabuse has joined #angularjs
[14:44:48] *** DrMabuse has joined #angularjs
[14:45:12] *** jmckind has joined #angularjs
[14:45:36] *** scythe__ has joined #angularjs
[14:45:45] <ivaldi> is it possible to prevent $locationChangeStart but still change the url? (same behavior as reloadOnSearch: flase - but only in some special cases (if...))
[14:45:52] *** joelwallis has joined #angularjs
[14:46:25] *** tkimmel has joined #angularjs
[14:47:28] *** raskel has joined #angularjs
[14:48:03] *** adpirz has joined #angularjs
[14:48:08] *** joelwallis has joined #angularjs
[14:48:39] *** bengillies has joined #angularjs
[14:48:49] <raskel> does anyone know why i can't use this plugin: http://ivaynberg.github.io/select2/ inside an angularjs app? more exactly, if i put the select2 instance inside one of my ng-repeat, then it gets unresponsible. it just shows "javascript:void(0)" on browser's statusbar even i click/hover it.
[14:49:05] *** gnrlbzik has quit IRC
[14:49:59] *** Milkweed has quit IRC
[14:50:38] *** Linell has joined #angularjs
[14:50:41] *** folippi has quit IRC
[14:51:10] *** rburns has joined #angularjs
[14:51:11] *** Typher has joined #angularjs
[14:51:25] *** paradox41 has joined #angularjs
[14:52:02] *** zemanel has joined #angularjs
[14:52:32] *** imehesz has joined #angularjs
[14:52:41] *** adpirz has quit IRC
[14:52:57] *** Fishy has quit IRC
[14:53:16] *** dogsy has joined #angularjs
[14:54:32] *** Fishy has joined #angularjs
[14:54:42] *** zivester has joined #angularjs
[14:54:52] *** danecando has joined #angularjs
[14:54:57] *** fedenunez has quit IRC
[14:55:17] <crawleyprint> raskel, any code to show?
[14:55:19] *** fedenunez has joined #angularjs
[14:55:55] *** neoadventist has joined #angularjs
[14:56:27] *** paradox41 has quit IRC
[14:56:35] *** t4nkd has joined #angularjs
[14:56:37] *** tomzx`afk is now known as tomzx
[14:56:37] *** paradox41 has joined #angularjs
[14:56:39] *** t4nkd has quit IRC
[14:56:50] *** masak has quit IRC
[14:57:24] *** zmbmartin has joined #angularjs
[14:57:47] *** windhamdavid has joined #angularjs
[14:57:49] *** cbennett has joined #angularjs
[14:58:13] *** TweedleDee has joined #angularjs
[14:58:21] *** paradox41 has quit IRC
[14:58:31] <raskel> crawleyprint, sure. javascript here: http://paste.ofcode.org/nSQx23JTGuu9pxRbhPnW8V . html here: http://paste.ofcode.org/Q2vRYgWUMCX8NEUNBjP7hF .
[14:58:31] *** sharondio_mobile has joined #angularjs
[14:58:37] *** paradox41 has joined #angularjs
[14:58:41] *** Parthuzzzzz has joined #angularjs
[14:58:49] *** Fishy has quit IRC
[14:58:54] *** jlebrech_ has quit IRC
[14:58:54] *** livingstn has joined #angularjs
[14:58:59] *** ngbot has joined #angularjs
[14:58:59] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/EFqyMQ
[14:58:59] <ngbot> angular.js/master 14ff529 Anton Savchenko: refact(angular.bind): use `concat()` rather than duplicating code...
[14:58:59] *** ngbot has left #angularjs
[14:59:00] *** cbennett has joined #angularjs
[14:59:05] *** folippi has joined #angularjs
[14:59:33] <ioudas> Can anyone help me transfer checkbox values between two states and two controllers? For some reason I cant get them to work....
[14:59:52] *** jplussier has quit IRC
[15:00:09] *** advy has quit IRC
[15:00:14] *** Parthuzzzzz has left #angularjs
[15:00:25] *** phzon has quit IRC
[15:00:29] <zmbmartin> I have a directive where I set scope.defaultStuffs = item.stuffs[0] so in the html I can access it by defaultStuffs rather then item.stuffs[0]. Works fine until I the user removes an item. If they remove any item other then the one on the bottom of the list the defaultStuffs gets messed up. So the defaultStuff for the item not removed is the defaultStuffs for the item removed. This all works fine if I just use item.stuffs[0] in the html?
[15:00:34] <zmbmartin> Any pointers to why?
[15:00:53] *** jaydubya has quit IRC
[15:01:00] <crawleyprint> raskel: don't use jquery version, find angular directive. https://github.com/angular-ui/ui-select - that's replacement for angular-select2, you'll most certainly have better luck with it
[15:01:10] <DannyCallaghan> anyone using nghint? ironically, i need some debugging help with it :)
[15:01:29] *** jaydubya has joined #angularjs
[15:01:40] *** paradox41 has quit IRC
[15:01:41] *** Versality has quit IRC
[15:01:51] *** laurensc_ has joined #angularjs
[15:01:54] *** alinouman has joined #angularjs
[15:02:05] *** rabbi1 has quit IRC
[15:02:05] *** aendrew has quit IRC
[15:02:26] *** carlosmantilla has quit IRC
[15:02:45] *** Versality has joined #angularjs
[15:02:54] <raskel> crawleyprint, i was almost sure that it could be a conflict between jquery&angular. ok, thanks. is there any "patch/solution" if i decide to use the jquery version instead the angular one? or it has not sense to use the jquery one.
[15:03:21] *** sharondio_mobile has quit IRC
[15:03:22] *** tripu has quit IRC
[15:03:23] *** cbennett has quit IRC
[15:03:28] *** paradox41 has joined #angularjs
[15:03:34] *** paradox41 has quit IRC
[15:04:16] *** crakrjak has joined #angularjs
[15:04:18] <crawleyprint> raskel: always go for directive
[15:04:24] *** jdj_dk has joined #angularjs
[15:04:29] *** paradox41 has joined #angularjs
[15:04:37] *** paradox41 has quit IRC
[15:04:49] <Linell> zmbmartin: How are they removing an item from the list?
[15:05:15] *** crakrjak has quit IRC
[15:05:23] *** sharondio_mobile has joined #angularjs
[15:05:31] *** spaceonline has joined #angularjs
[15:05:33] <raskel> crawleyprint, good, thanks. i hope the angularjs version has support for templating too, more exactly i need to be able to add an img to dropdown option.
[15:05:38] *** Typher has quit IRC
[15:05:40] *** bradgignac has joined #angularjs
[15:05:53] <crawleyprint> raskel: I've used angular-select2 a while ago, it has template support
[15:06:05] *** tristanp has joined #angularjs
[15:06:07] <crawleyprint> raskel: this is newer, so I expect it to have it also
[15:06:10] *** VeeWee has quit IRC
[15:06:19] <raskel> great. thanks a lot.
[15:06:24] *** paradox41 has joined #angularjs
[15:06:49] *** cornerma1 has joined #angularjs
[15:06:51] <zmbmartin> Linell: I have a remove function on the directive that the user clicks and it removes that item.
[15:06:57] *** paradox41 has quit IRC
[15:06:59] *** DigitallyBrn has joined #angularjs
[15:07:07] *** lite has quit IRC
[15:07:45] *** lite has joined #angularjs
[15:07:49] *** IvailoStoianov has joined #angularjs
[15:07:56] *** SergioFilhow has joined #angularjs
[15:08:07] *** ASUChander has quit IRC
[15:08:29] <Linell> zmbmartin: what's that actual function look like? It sounds like your array is getting changed up when you remove that item. Try to reset the default stuff at the end of that remove function.
[15:08:36] *** ASUChander has joined #angularjs
[15:08:38] *** azizur0 has quit IRC
[15:09:02] *** Websoftwarez has joined #angularjs
[15:09:29] <zmbmartin> Linell: The array is fine because if the user refreshes the page everything is right. It is just the defaultStuffs is off, but as I stated if I just use item.stuffs[0] it all works fine.
[15:09:33] *** Websoftwarez has quit IRC
[15:09:33] *** Websoftwarez has joined #angularjs
[15:09:37] *** cornerman has quit IRC
[15:09:46] *** mven has quit IRC
[15:09:47] *** cornerma1 is now known as cornerman
[15:09:53] *** paradox41 has joined #angularjs
[15:10:15] *** spaceonline has quit IRC
[15:10:36] <Linell> zmbmartin: a plunker could help. It sounds like one of those things where it's just something little being off
[15:10:49] *** FIFOd[a] has joined #angularjs
[15:11:05] <zmbmartin> Linell: Yeah that is what I am thinking. I will see if I can reproduce with a small plunker. Thanks!
[15:11:38] *** gazbond has quit IRC
[15:11:58] *** sharondio_mobile has quit IRC
[15:12:11] *** cbennett has joined #angularjs
[15:12:13] *** lite has quit IRC
[15:12:23] *** cbennett has quit IRC
[15:12:55] *** mmealling has joined #angularjs
[15:13:18] *** cbennett has joined #angularjs
[15:13:23] *** patlux has joined #angularjs
[15:13:33] *** Versality has quit IRC
[15:14:06] *** Versality has joined #angularjs
[15:14:12] *** patlux has quit IRC
[15:14:57] *** Typher has joined #angularjs
[15:15:08] *** hugofirth has joined #angularjs
[15:15:14] *** BillCriswell has joined #angularjs
[15:15:16] *** drej|work has quit IRC
[15:15:16] *** lugzer has quit IRC
[15:15:24] *** yandos has joined #angularjs
[15:15:38] *** annlewis has joined #angularjs
[15:15:51] *** Joshee has joined #angularjs
[15:15:53] *** mennea has joined #angularjs
[15:16:06] *** tplaner has joined #angularjs
[15:16:24] *** nachinius_ has joined #angularjs
[15:17:10] *** Fishy has joined #angularjs
[15:17:11] *** kp666 has quit IRC
[15:18:00] *** ludkiller has quit IRC
[15:18:17] *** dan2k3k4 has quit IRC
[15:18:53] *** Versality has quit IRC
[15:19:07] *** dman777_alter has joined #angularjs
[15:19:41] *** mennea_ has quit IRC
[15:20:14] *** ludkiller has joined #angularjs
[15:21:14] *** sinclair has quit IRC
[15:21:20] *** Z3R0 has joined #angularjs
[15:21:21] *** d10n-work has joined #angularjs
[15:21:23] *** dan2k3k4 has joined #angularjs
[15:21:53] *** gaganjyot has quit IRC
[15:22:44] *** mdel has joined #angularjs
[15:23:41] *** FunnyLookinHat has quit IRC
[15:23:48] *** dogsy has quit IRC
[15:24:19] *** dogsy has joined #angularjs
[15:24:23] *** Versality has joined #angularjs
[15:24:34] <thomastuts> anyone getting errors when running unit tests in angular 1.3.2 with angular-mocks (also 1.3.2)? none of my tests run and the error i get it 'TypeError: 'undefined' is not a function (evaluating '$browser.state()')'
[15:24:46] <ioudas> Can anyone help me transfer checkbox values between two states and two controllers? For some reason I cant get them to work....? http://pastebin.com/t61NW8uG
[15:24:46] *** dogsy has quit IRC
[15:25:17] *** dogsy has joined #angularjs
[15:25:23] *** rburns has quit IRC
[15:25:57] *** kuadrosx has joined #angularjs
[15:26:29] *** bogdan_ has joined #angularjs
[15:26:32] *** mven has joined #angularjs
[15:26:37] *** dan2k3k4 has quit IRC
[15:26:51] *** vimal_ has joined #angularjs
[15:27:00] *** mven has quit IRC
[15:27:18] <vimal_> hi
[15:27:25] *** lugzer has joined #angularjs
[15:27:39] <Linell> vimal_: hi
[15:27:40] *** lsiv568 has quit IRC
[15:27:40] *** Siecje has joined #angularjs
[15:27:45] *** mven has joined #angularjs
[15:27:46] <tristanp> So supposed I want to write a directive to be applied to <form>s, and to have the effect of doing something on submit. Should I attach something to attrs in the link function?
[15:27:50] *** darrin has joined #angularjs
[15:27:58] *** dogsy has quit IRC
[15:28:24] *** rburns has joined #angularjs
[15:28:37] <vimal_> how angular2.0 will differ from its previous versions ?
[15:29:03] <tristanp> vimal_: very
[15:29:08] *** preben_ has quit IRC
[15:29:13] *** cacts has joined #angularjs
[15:29:24] <vimal_> :) .what are all the new features will be added in 2.0 ?
[15:29:26] <tristanp> it's closer to a new framework than a version upgrade, or so they say
[15:29:29] *** preben_ has joined #angularjs
[15:29:31] *** Joshee has quit IRC
[15:29:49] *** testerde has quit IRC
[15:30:00] *** Latros-OS has quit IRC
[15:30:06] *** jae has joined #angularjs
[15:30:09] *** Latros-OS has joined #angularjs
[15:30:49] *** moritzs has joined #angularjs
[15:31:05] *** vimal_ has left #angularjs
[15:31:16] *** trend has joined #angularjs
[15:31:19] *** preben_ has left #angularjs
[15:31:22] *** laurensc_ has quit IRC
[15:32:13] *** folippi has quit IRC
[15:32:53] *** Z3R0 has quit IRC
[15:32:57] *** bogdan_ has quit IRC
[15:32:59] *** tplaner has quit IRC
[15:33:12] *** carlosmantilla has joined #angularjs
[15:33:30] *** glassir has joined #angularjs
[15:33:47] *** doodlehaus has joined #angularjs
[15:34:08] *** vbabiy_ is now known as vbabiy
[15:35:43] *** trend has quit IRC
[15:35:50] *** down_quark has joined #angularjs
[15:35:50] *** younqcass has joined #angularjs
[15:36:08] *** azizur has joined #angularjs
[15:36:09] *** mary5030 has joined #angularjs
[15:36:28] *** optikalmouse has joined #angularjs
[15:36:40] *** JohnBat26 has quit IRC
[15:37:21] <zwischenzug> hey...is plunkr down for anyone else? I get "Unable to connect to any application instances."
[15:37:25] *** Pyrrhus has joined #angularjs
[15:37:34] *** carlosmantilla has quit IRC
[15:37:52] *** jillesme has quit IRC
[15:37:52] *** mchapman has joined #angularjs
[15:37:53] *** mven has quit IRC
[15:38:21] <Linell> It's up for me
[15:38:26] *** mmealling has quit IRC
[15:39:18] <Helzibah> zwischenzug: I've had that on and off today, and it's down for me right now
[15:39:27] *** laurensclaessen has joined #angularjs
[15:39:30] *** mven has joined #angularjs
[15:39:59] *** iribarne has joined #angularjs
[15:40:05] *** phishy has joined #angularjs
[15:40:26] *** zz_night-owl is now known as night-owl
[15:40:39] *** mmealling has joined #angularjs
[15:40:54] *** gazbond has joined #angularjs
[15:40:57] *** bengillies has quit IRC
[15:41:02] *** dsdeiz_ has quit IRC
[15:41:08] *** benschaaf has joined #angularjs
[15:41:10] <zwischenzug> anywhere else I can copy angular code when asking for help? or should i just keep trying with plunkr......
[15:41:20] <BaconOverflow> Hi guys. Trying to get Angular live data binding to work, but not sure what I'm doing wrong. I've created a controller that queries the backend every 5s and assigns the new data to $scope (i.e. $scope.orders = orders). Everything works great until it queries the backend again, at which point it rerenders the whole thing instead of just updating parts that
[15:41:21] <BaconOverflow> have changed (and nothing has changed in this case) Code here: https://gist.github.com/anonymous/45d3e3866963fa7f7e7e
[15:42:16] *** ProLoser has joined #angularjs
[15:42:17] *** rosieres has quit IRC
[15:42:28] <BaconOverflow> tl;dr - view in for loop is re-rendered even if there are no changes
[15:42:46] <glassir> Stupid question maybe, but say I have two ng-show. Can I hide one and show another with one ng-click?
[15:42:56] <sacho> sure
[15:43:04] *** IJNX has quit IRC
[15:43:10] *** digisky1 has left #angularjs
[15:43:20] *** hardyvent has joined #angularjs
[15:43:21] *** benschaaf has quit IRC
[15:43:36] *** bengillies has joined #angularjs
[15:43:40] *** digisky1 has joined #angularjs
[15:44:17] <ioudas> Can anyone help me transfer checkbox values between two states and two controllers? For some reason I cant get them to work....? http://pastebin.com/t61NW8uG
[15:44:25] *** folippi has joined #angularjs
[15:45:04] *** shackleford has joined #angularjs
[15:45:09] *** mackieconnell has joined #angularjs
[15:45:28] *** Lakario has quit IRC
[15:46:33] *** bengillies has quit IRC
[15:46:41] *** ProLoser has quit IRC
[15:46:47] *** bengillies has joined #angularjs
[15:47:02] *** bmac has joined #angularjs
[15:47:05] <BaconOverflow> To give an example of what I want to achieve... Let's say I had an admin page with a bunch of products that is refreshed via $http every 5 seconds. Each product has an "export" checkbox. However, every time Angular refreshes the page, the state of the checkbox is lost. How would I go about persisting it between refreshes? Ideally in a clean way, so there can
[15:47:05] <BaconOverflow> be 500 checkboxes.
[15:47:58] <hardyvent> I’ve got a user token that can expire randomly and if I get an unauth’d response when making an API request I want to kick them back to the login screen. I’m finding though I’m repeating myself by checking for that unauth’d error response in my controllers and then doing a redirect. Could someone share with me a better practice than filling up my code with boilerplate checks?
[15:48:34] *** favetelinguis has quit IRC
[15:48:48] *** Aerospark has joined #angularjs
[15:49:01] <eighty4> When doing protractor tests, how do you target links and so on for clicks? Do you add ids to each link/button that needs to be clicked?
[15:49:10] *** favetelinguis has joined #angularjs
[15:49:11] <s3shs_> glassir, <div ng-show="myVar == 1"></div> and <ng-show="myVar == 0></div> For clarity and easier logic you can also use ng-hide. ng-click="myVar = !myVar"
[15:49:21] <s3shs_> (Balance my quotes)
[15:49:22] *** moritzs has quit IRC
[15:49:34] <down_quark> zwischenzug: you could use http://jsfiddle.net/
[15:49:36] <s3shs_> Anybody have a favorite directive for uploads?
[15:49:43] <paradox41> Instead of setting $scope.orders = orders, you should be using something like lodash's _.merge()
[15:49:46] *** shackleford has quit IRC
[15:50:00] *** phzon has joined #angularjs
[15:50:01] <glassir> s3shs_, thank you so much. I'll try it out.
[15:50:05] <paradox41> So, _.merge($scope.orders, orders)
[15:50:11] *** hardyvent has quit IRC
[15:50:22] *** carlosmantilla has joined #angularjs
[15:50:29] *** anjumkaiser has joined #angularjs
[15:50:34] *** caitp has joined #angularjs
[15:50:40] <paradox41> No need to assign that to a variable, as it will simply update the object
[15:50:50] <s3shs_> BaconOverflow, $http results shouldn't result in a refresh. You can just apply changes to the dom intelligently if results are causing scrolling.
[15:50:56] *** shackleford has joined #angularjs
[15:51:28] *** shackleford has quit IRC
[15:51:41] <s3shs_> hardyvent, you still here? What you want is an interceptor.
[15:51:48] <paradox41> BaconOverflow: If you aren't using lodash, angular.extend() may also have the same effect, but you should check the docs to be sure
[15:51:49] *** jstroem has quit IRC
[15:51:49] *** bkuberek has joined #angularjs
[15:51:59] <BaconOverflow> paradox41, s3shs_ Great, thanks
[15:52:03] <s3shs_> Or replace $http with $myhttp and make all requests flow through one bottleneck.
[15:52:04] *** shackleford has joined #angularjs
[15:52:19] *** jstroem has joined #angularjs
[15:52:50] <s3shs_> BaconOverflow, consider: If the user is in some edit or detail mode, don't update the dom until their done.
[15:53:08] *** zzing has quit IRC
[15:53:22] *** favetelinguis has quit IRC
[15:53:32] <BaconOverflow> Right, cool! Thanks for the help :)
[15:53:33] *** mkc__ has joined #angularjs
[15:53:41] *** rchavik has quit IRC
[15:53:47] <s3shs_> zwischenzug, plnkr works well. And the people who maintain this channel are sure to keep the plnkr setup up to date in this channel's info area. So all we have to do is click it.
[15:53:48] *** hardyvent has joined #angularjs
[15:53:59] *** hardyvent has left #angularjs
[15:54:17] *** hardyvent has joined #angularjs
[15:54:21] *** glassir_ has joined #angularjs
[15:54:36] *** glassir has quit IRC
[15:54:49] *** plato|wtf has quit IRC
[15:54:58] <zwischenzug> s3shs_, plunker still isn't working for me
[15:55:26] <s3shs_> zwischenzug, this URL? http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f
[15:55:27] *** nycdevgirl has joined #angularjs
[15:55:31] *** mkc__ has left #angularjs
[15:56:01] <zwischenzug> but i have a jsfiddle......basically i have a variable that is being watched by ng-show. this variable changes inside of a timeout, but the ng-show doesn't update. jsfiddle here: http://jsfiddle.net/joshdmiller/HB7LU/
[15:56:22] *** AngularUI has joined #angularjs
[15:56:23] <AngularUI> [ui-router] christopherthielen pushed 3 new commits to master: http://git.io/uNpWxw
[15:56:23] <AngularUI> ui-router/master d024027 christopherthielen: docs($urlMatcherFactory): document param type
[15:56:23] <AngularUI> ui-router/master e0dbb73 christopherthielen: docs($state): improve stateProvider.state() docs
[15:56:23] <AngularUI> ui-router/master 8f998e7 christopherthielen: fix($urlMatcherFactory): made path params default value "" for backwards compat...
[15:56:23] *** AngularUI has left #angularjs
[15:56:24] *** frankbli_ has joined #angularjs
[15:56:37] *** mkc__ has joined #angularjs
[15:56:38] <s3shs_> zwischenzug, don't use setTimeout. You have to use $timeout. Angular re-executes your controller at precise times. And it doesn't know when setTimeout ends. $timeout does.
[15:56:43] <zwischenzug> s3shs_, i can access the site, i just can't run an app. the right pane says "Unable to connect to any application instances."
[15:56:58] *** numenor has joined #angularjs
[15:57:00] <thomastuts> zwischenzug s3shs_ i'm having that issue with plunker too today
[15:57:01] <s3shs_> zwischenzug, to use $timeout just pass $timeout in to your controller the same way you pass $scope.
[15:57:15] <thomastuts> annoying as hell since some angular modules use plunker for documentation
[15:57:21] <s3shs_> Sounds like plnkr is plnk'd.
[15:57:25] *** lugzer has quit IRC
[15:57:48] <numenor> Can anyone please tell me how can I assign a controller in a directive definition in minify safe way ?
[15:58:00] <s3shs_> numenor, yes. One sec.
[15:58:01] *** ehynds has joined #angularjs
[15:58:26] <numenor> If used in this way directive.controller = function($scope, $element){} the $scope and $element are converted to t and n
[15:58:30] *** soee has quit IRC
[15:58:38] *** gurke_ has quit IRC
[15:58:42] <thomastuts> numenor: either automate the annotation process (highly recommended) by using https://github.com/olov/ng-annotate, or annotate it manually
[15:58:55] *** bpmj has joined #angularjs
[15:58:55] *** jdj_dk has quit IRC
[15:59:00] *** frankblizzar has quit IRC
[15:59:07] <s3shs_> numenor, http://pastebin.com/EgyZ2GWi
[15:59:24] <zwischenzug> s3shs_, thanks, that works.
[15:59:32] <s3shs_> If you put a line break before "function", you can line them up if you're OCD like me.
[15:59:43] *** diffalot has quit IRC
[15:59:44] <s3shs_> zwischenzug, np
[15:59:49] *** recidive has quit IRC
[15:59:52] *** Websoftwarez has quit IRC
[16:00:07] *** gnrlbzik has joined #angularjs
[16:00:45] <thomastuts> i don't get why people still manually annotate their stuff
[16:00:53] <thomastuts> it's kind of pointless
[16:00:57] *** simiographics_ has joined #angularjs
[16:01:08] *** plato|wtf has joined #angularjs
[16:01:15] <s3shs_> thomastuts, because our projects are really old and ng-annoate didn't always exist.
[16:01:40] *** rburns has quit IRC
[16:01:41] <thomastuts> well it's not like you can't add the automation of the annotation to your build pipeline
[16:01:55] *** jmckind has quit IRC
[16:02:08] *** dc_ has joined #angularjs
[16:02:20] *** mary5030 has quit IRC
[16:02:44] *** juanpablo_ has joined #angularjs
[16:02:53] *** mkc__ has quit IRC
[16:03:02] <s3shs_> It's not like I want to walk through 40K lines and remove the old ones either.
[16:03:08] *** jmckind has joined #angularjs
[16:03:25] <thomastuts> well no, i'm not saying you should be removing the old ones
[16:03:32] *** krawek has joined #angularjs
[16:03:32] *** krawek has joined #angularjs
[16:03:43] <sacho> manual annotation is useful when the dependency names do not match your preferred parameter names
[16:03:45] *** merobertsjr has joined #angularjs
[16:03:52] <thomastuts> i haven't tried it for myself, but i *hope* that ng-annotate is smart enough to realize that there are annotations already and doesn't annotate the old code
[16:04:07] <sacho> I think it requires explicit comments
[16:04:07] *** lugzer has joined #angularjs
[16:04:11] <s3shs_> thomastuts, Why haven't you tried it yourself?
[16:04:25] *** fairuz has joined #angularjs
[16:04:27] *** AndreasLutro has quit IRC
[16:04:29] <thomastuts> because automatic annotation is part of my build process
[16:04:36] <s3shs_> I'm reading the source now. Looks like it does.
[16:04:36] *** numenor has quit IRC
[16:04:37] <thomastuts> in all my projects
[16:04:42] <ioudas> Can anyone help me transfer checkbox values between two states and two controllers? For some reason I cant get them to work....?
[16:05:10] *** simiographics_ has quit IRC
[16:05:20] *** gekido has joined #angularjs
[16:05:22] <s3shs_> ioudas, are they bound to the same variable in an outer scope?
[16:05:44] *** syzygy___ has joined #angularjs
[16:05:54] *** lthomas has joined #angularjs
[16:05:56] *** diffalot has joined #angularjs
[16:06:02] *** jae has quit IRC
[16:06:20] <lthomas> Im using karma for tests. When I change a file it runs the entire test suite. I’d like to run tests only for the modified file — Anybody have expereince with that?
[16:06:20] *** night-owl is now known as zz_night-owl
[16:06:25] *** aendrew has joined #angularjs
[16:06:30] *** zz_night-owl is now known as night-owl
[16:06:44] *** rchavik has joined #angularjs
[16:07:20] <ioudas> i believe so.
[16:07:29] <ioudas> I cant really get any of it working...
[16:07:46] <s3shs_> ioudas, make a plnkr.
[16:07:48] <aendrew> Hi all, how’s things? So, I’m developing a charting framework called axisJS (github.com/times/axisJS), which essentially tries to provide an interface to sundry abstracted charting libraries (HighCharts or C3.js, for example). You can see how it’s currently working at http://times.github.io/axisJS/
[16:07:51] <s3shs_> Oh, broken today. Dam.
[16:08:15] <aendrew> Right now, I’m trying to abstract a lot of the functionality into a more modular configuration.
[16:08:32] *** FunnyLookinHat has joined #angularjs
[16:08:33] <ioudas> i cant make a plunker due to my back end...
[16:08:35] <ioudas> i can pastebin
[16:08:49] <aendrew> There’s essentially a controller that handles values provided from the UI, a directive which builds the chart, and a directive that exports the chart.
[16:09:14] *** japhar81 has joined #angularjs
[16:10:08] <aendrew> I’m working on making the export directive more modular and configurable elsewhere. I have a service, which grabs and parses a YAML file, in which there are different output methods defined. I’m working on writing another service, which looks at those methods in the config, and injects the proper output method services based on that.
[16:10:12] *** Z3R0 has joined #angularjs
[16:10:13] *** dimas has joined #angularjs
[16:10:28] <aendrew> My question: does that seem like an even remotely sane thing to do?
[16:10:45] <ioudas> http://pastebin.com/t61NW8uG
[16:10:58] *** JR___ has joined #angularjs
[16:11:03] <JR___> hello guys (:
[16:11:12] *** jpstone has joined #angularjs
[16:11:17] *** scythe__ has quit IRC
[16:11:44] *** michaelSharpe has joined #angularjs
[16:12:01] *** shadowhand has joined #angularjs
[16:12:15] <olivvv> hi. Users of jquery-jasmine here ? I am trying to test a directive that listens to the window.resize and retrieve the width of some dom element
[16:12:19] *** Caroga is now known as Caroga_afk
[16:12:41] <olivvv> I need to simulate window.resize and retrieve the width of some dom element
[16:12:42] <shadowhand> when i'm writing a unit test, do i have to mock every single thing, or is there some way to let the default service pass in?
[16:12:59] *** dc_ has quit IRC
[16:13:12] <olivvv> sry * need to simulate window.resize and to mock the width of those dom elements
[16:13:21] *** jim_ has joined #angularjs
[16:13:33] *** jasonp has joined #angularjs
[16:13:39] *** dc_ has joined #angularjs
[16:14:39] *** whiteboo_ has joined #angularjs
[16:14:45] *** dcherman has joined #angularjs
[16:14:54] <olivvv> If somebody has any kind of pointers in how to test directives with jquery-jasmine
[16:15:10] *** zB0hs has joined #angularjs
[16:15:53] <s3shs_> aendrew, why YAML?
[16:15:57] *** night-owl is now known as zz_night-owl
[16:16:11] <s3shs_> Sounds like you could save code if you just used json.
[16:16:29] <aendrew> s3shs_: Yeah, pretty much. I used YAML because it’s a bit easier to read and less prone to syntax errors than JSON.
[16:16:41] *** AngularUI has joined #angularjs
[16:16:41] <AngularUI> [ui-router] christopherthielen pushed 1 new commit to master: http://git.io/img71Q
[16:16:41] <AngularUI> ui-router/master a3b38eb christopherthielen: docs(site): added CSS for site
[16:16:42] *** AngularUI has left #angularjs
[16:17:02] <s3shs_> Yeah, but the syntax is easier to check... and you don't need a YAML parser. And it's a JS thing and people who know JS know that.
[16:17:03] *** afuggini has joined #angularjs
[16:17:13] *** whitebook has quit IRC
[16:17:37] *** conan_the_destro has joined #angularjs
[16:17:38] *** mven has quit IRC
[16:17:39] *** lineke_ has joined #angularjs
[16:17:42] *** jim_ has quit IRC
[16:17:43] <eamonn> agree with s3shs_ if you're doing stuff in JS there is little advantage to using YAML instead of JSON
[16:17:44] <aendrew> Yeah, good point. I’m not totally sold on it, but it is working. That’s less what I’m concerned about, though; moreover the idea of using an array to arbitrarily inject services into another service and then run those services based on a config object provided to the first scope.
[16:17:45] <s3shs_> Plus if it's in a JS object users can override and manipulate the settings with code.
[16:18:09] <lineke_> hi all, I have a question about $http service and the transformRequest. Anyone here to help me?
[16:18:09] *** lsiv568 has joined #angularjs
[16:18:22] <aendrew> *provided to the first service, rather; not scope.
[16:18:34] *** atomatt has quit IRC
[16:18:47] <s3shs_> Sounds like you had YAML from before and you made it work. ;-) RE the injection thing: why an array? Why not an object with keys so you can just extend?
[16:18:49] <Siecje> How can I update the 'hour' rows to be in the correct places http://plnkr.co/edit/6XlQLBZwG7UrhINQYwAm?p=preview
[16:19:11] *** merobertsjr has quit IRC
[16:19:45] <shadowhand> lineke_: don't ask to ask
[16:19:47] <s3shs_> Seich, plnkr doesn't seem to be working for some of us today. What browser did you get it to work in?
[16:19:59] <lineke_> shadowhand: okay
[16:20:04] <shadowhand> people will generally ignore you if you don't just flat out ask the question
[16:20:14] <s3shs_> shadowhand, did you say something? ;-)
[16:20:19] *** Joshee has joined #angularjs
[16:20:21] *** moritzs has joined #angularjs
[16:20:56] <eamonn> aendrew, in the larger sense of things, it sounds like you have one service that gets two wildy different arrays (of services) based on a config object - to me this sounds like the service is 'not doing one thing', which seems off, sounds like two different services or another way of dealing with the problem might be better? :not sure though:
[16:21:10] *** mven has joined #angularjs
[16:21:13] *** ses1984 has joined #angularjs
[16:21:50] <s3shs_> aendrew, it sounds like what your'e doing is more complex than it needs to be.
[16:22:37] <ses1984> hi, i'm working through the steps to get my environment ready to do the angular tutorial and i'm having an issue running the first npm test on ubuntu 14.04
[16:22:53] *** rchavik has quit IRC
[16:23:00] <aendrew> s3shs_: Lulz, I really didn’t, I wrote that for the sake of readability. But yeah, it’s probably overkill and less extensible than using JSON. Might refactor that at some point. re: DI, no reason, that’s just the format I have it in the config. I’m ultimately just iterating through the array/object and then running the services it needs. And possibly; I’m ultimately doing this because I’m trying to build this more as a framework that has easil
[16:23:01] <aendrew> drop-in, drop-out components depending on developer need.
[16:23:08] <frobs> ses1984, what trace?
[16:23:13] <ses1984> the issue is with chrome/chromium. i installed chromium, set the env var CHROME_BIN to my path to chromium-browser, and it seems to start working,
[16:23:22] <ses1984> it launches chromium but then just hangs and doesn't do anything
[16:23:23] *** bas has joined #angularjs
[16:23:39] *** Z3R0 has quit IRC
[16:23:40] *** leena has joined #angularjs
[16:23:47] *** bas is now known as Guest10839
[16:23:52] <ses1984> it says executed 5 of 5 SUCCESS then stops, if i close chromium it says it crashed and repeats that step
[16:24:08] <leena> can any body help me ...how to protect the routes unless logged in
[16:24:10] <aendrew> eamonn: The service I’m working on really only does one thing — it gets the services to load from another service, and then loads that service.
[16:24:13] *** ergo__ has joined #angularjs
[16:24:19] <ses1984> the browser says karma connected, chromium is idle
[16:24:24] <ioudas> Can anyone help me transfer checkbox values between two states and two controllers? For some reason I cant get them to work....?
[16:24:34] *** Bade has joined #angularjs
[16:24:43] *** benschaaf has joined #angularjs
[16:25:08] <ergo__> hi, i want to use $resource .get() and do something like /route/:action where action is replaced with "bar" while passing a ?action=foo for query params
[16:25:11] <s3shs_> ioudas, have you tried binding to a value in $rootScope where both controllers can reach it?
[16:25:12] *** macabre has joined #angularjs
[16:25:27] <Guest10839> i got this error Error: [$injector:modulerr] http://errors.angularjs.org/1.3.0/$injector/modulerr""
[16:25:42] <Guest10839> what could be the reason for this
[16:25:50] <leena> i want protect the routes unless logged in...can any body help me out of this
[16:26:04] *** enigmarm has joined #angularjs
[16:26:04] *** anjumkaiser has quit IRC
[16:26:18] <ergo__> basicly have "action" in route url for replacement AND to send a query param that is also named "action", any ideas?
[16:26:18] *** davesidious__ is now known as davesidious
[16:26:51] <ses1984> this is what happens when i run npm test trying to set up the angular tutorial...it's been waiting like this for several minutes and i don't think it's going to go any farther http://dpaste.com/3EGJGFE
[16:26:53] *** mary5030 has joined #angularjs
[16:27:14] <Helzibah> mine did that, I thought that was the expected behaviour?
[16:27:14] <Helzibah> heh
[16:27:15] <ses1984> the error on line 24 refers to where i manually closed chrome
[16:27:29] *** DigitallyBrn has quit IRC
[16:27:52] <ses1984> Helzibah: are you responding to me or..?
[16:28:00] *** mary5030 has joined #angularjs
[16:28:32] <s3shs_> ioudas, here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f?p=preview
[16:28:33] *** neoadventist has quit IRC
[16:28:44] *** tomzx is now known as tomzx`afk
[16:28:52] <s3shs_> ioudas, notice how it binds to a value in an object in an outerscope. Checking the first also checks the second. And vise versa.
[16:28:58] *** cheef has quit IRC
[16:29:02] <ses1984> oh i see...it's supposed to stay running and test js files as they change
[16:29:04] <s3shs_> (Plnkr seems to be working now, FYI)
[16:29:15] <Helzibah> ses1984: yes, I didn't get that far into the tutorial, but I was assuming that 5 of 5 SUCCESS was the correct result!
[16:29:20] <ioudas> there is nothing there?
[16:29:27] *** Bade has quit IRC
[16:29:29] *** DigitallyBrn has joined #angularjs
[16:29:32] <s3shs_> ioudas, whoops, copied the URL before the save. http://plnkr.co/edit/v9ucxdGV7pMXJM3XaBpX?p=preview
[16:29:35] <frobs> leena, http://stackoverflow.com/questions/18788586/angularjs-handle-routing-before-they-load http://stackoverflow.com/questions/16151479/how-to-run-a-function-in-every-page-in-angularjs
[16:29:36] *** ludkiller has quit IRC
[16:29:37] *** benjah1 has quit IRC
[16:29:40] <ses1984> i thought it would exit when it completed successfully
[16:29:49] *** zivester has quit IRC
[16:29:54] *** benjah1 has joined #angularjs
[16:29:58] * ioudas looks
[16:29:58] <frobs> leena, maybe this can help you
[16:30:01] <ioudas> hmmm
[16:30:08] *** kuadrosx has quit IRC
[16:30:14] *** ludkiller has joined #angularjs
[16:30:24] <leena> frobs: thanks a lot
[16:31:02] *** jmls has quit IRC
[16:31:07] <s3shs_> ioudas, checkboxes have to be bound to values that are "true" or "false", so I just changed the object.
[16:31:12] *** Una has joined #angularjs
[16:31:14] *** ggrzybek has quit IRC
[16:31:18] *** macabre has quit IRC
[16:31:25] <ioudas> ugh, i think i should just give up angular.
[16:31:36] <ioudas> thanks
[16:31:37] <s3shs_> What part is confusing you?
[16:31:58] <ioudas> how i have this same stuff yet it doesnt work, and not only that my models dont even work now
[16:32:02] *** lexek__ has quit IRC
[16:32:04] *** michaelSharpe has quit IRC
[16:33:00] *** macabre has joined #angularjs
[16:33:01] <s3shs_> Without seeing your code I can't really help. However a few things I want to point out: Notice how the controllers are nested in the HTML. And notice how I used an object and not just a name of a var in the outer scope. Also notice that 1 or 0 will not work for checkboxes, only true or false. (Unless you do some other stuff.)
[16:33:23] *** ctanga has quit IRC
[16:33:26] <ioudas> I have different views entirely
[16:33:47] <ioudas> i cant get em to go across the view
[16:34:19] <s3shs_> Show me the html for your checkbox.
[16:34:36] <s3shs_> Guest10839, you need to be sure themodule is added to the module list in the app.
[16:34:40] *** bitnumus_ has quit IRC
[16:34:41] *** bitnumus_ has joined #angularjs
[16:34:52] *** junmin has joined #angularjs
[16:35:05] *** junmin has joined #angularjs
[16:35:08] *** afuggini has quit IRC
[16:35:13] *** ioudas has quit IRC
[16:35:15] <s3shs_> Guest10839, or you have an error in the module and it's not valid JS or something.
[16:35:22] *** frankbli_ has quit IRC
[16:35:26] *** azizur has quit IRC
[16:35:35] <Guest10839> yes it is added
[16:35:51] <s3shs_> Be sure to check all console messages.
[16:36:17] <Guest10839> var app = angular.module('wellawareAdmin', ['ngRoute', 'ngResource', 'ui.bootstrap', 'base64', 'angular-loading-bar','cgNotify']);
[16:36:41] *** Trow has quit IRC
[16:36:44] <Guest10839> i have included all the module libraries
[16:36:52] *** adpirz has joined #angularjs
[16:36:56] <s3shs_> And it's loaded with the rest of the JS from the html?
[16:37:11] *** bitnumus_ is now known as bitnumus
[16:37:12] *** m8 has quit IRC
[16:37:21] *** hugofirth has quit IRC
[16:37:28] *** mmealling has quit IRC
[16:37:31] <Guest10839> i am not getting any error in the application
[16:37:33] *** laurensclaessen has quit IRC
[16:37:40] <Guest10839> everything works
[16:37:48] *** moritzs has quit IRC
[16:37:54] <Guest10839> when i write unit test case
[16:38:07] <s3shs_> Ahh. That I can't help with.
[16:38:08] *** _ritchie_ has quit IRC
[16:38:36] *** TBSliver has quit IRC
[16:38:37] *** TBSliver has joined #angularjs
[16:38:38] <ses1984> i'm trying to get the e2e tests as described in the tutorial to work with firefox instead of chrome on ubuntu and something is not right. using chrome, it runs fine, switching to firefox, the browser launches but then it doesnt do anything
[16:38:40] *** laurensclaessen has joined #angularjs
[16:39:01] *** mmealling has joined #angularjs
[16:39:14] <ses1984> http://dpaste.com/1D787WB
[16:40:11] <Guest10839> it('should have a properly working radio.listController controller', inject(function($rootScope, $controller, $httpBackend) {
[16:40:26] <Guest10839> inject is where it is throwing errror
[16:40:55] <Guest10839> i have loaded the module as well - beforeEach(angular.mock.module('app'));
[16:41:37] *** Shilon has joined #angularjs
[16:41:51] *** cthrax has joined #angularjs
[16:41:53] *** adpirz has quit IRC
[16:42:06] *** Rutix has joined #angularjs
[16:42:06] *** Rutix has joined #angularjs
[16:42:06] *** recidive has joined #angularjs
[16:42:17] *** arpu has joined #angularjs
[16:42:19] <Guest10839> can someone help me
[16:42:23] *** busticated has joined #angularjs
[16:42:34] *** michaelSharpe has joined #angularjs
[16:42:49] *** rho has joined #angularjs
[16:43:06] <s3shs_> Guest10839, I don't know. Sorry. :-(
[16:43:16] *** JR___ has quit IRC
[16:43:23] <s3shs_> I usually have to sacrifice a goat to that stuff.
[16:43:47] *** cakirke has quit IRC
[16:44:28] *** krawek has quit IRC
[16:44:31] *** Evanion has quit IRC
[16:44:34] *** greengriminal has quit IRC
[16:44:34] *** moritzs has joined #angularjs
[16:44:37] <Guest10839> s3shs : OK thanks
[16:45:13] *** bpmj has quit IRC
[16:45:34] <Guest10839> i am new to this channel
[16:45:46] <Guest10839> will anyone reply to my question
[16:45:52] <leena> frobs: i have routes say /clients/:id ...i used your suggestion but not working...it redirect to login page unless log in but can able to intercept id in url
[16:46:19] *** bpmj has joined #angularjs
[16:46:21] *** krawek has joined #angularjs
[16:46:24] *** ferrao has quit IRC
[16:46:43] *** lineke_ has quit IRC
[16:46:59] <frobs> leena, you are using ng routes or ui.router?
[16:47:15] <leena> ng routes
[16:47:49] <leena> frobes: is there any kind of wild card setting like /client/*
[16:48:09] *** dllama has joined #angularjs
[16:48:10] <leena> so that i can reject any thing after clients/
[16:48:30] *** adben has quit IRC
[16:49:08] *** tfennelly has quit IRC
[16:49:13] *** windhamdavid has left #angularjs
[16:49:25] *** mennea has quit IRC
[16:49:32] *** spaceonline has joined #angularjs
[16:50:36] *** larsgk has quit IRC
[16:50:36] *** gekido has quit IRC
[16:50:37] *** bpmj has quit IRC
[16:50:37] *** Efrem has quit IRC
[16:50:46] <burzum2> How can I dynamically inject a new directive in my view when I clicked something that has ng-click()? I wan to insert the other directive somewhere else in the DOM tree, no directly before or after the element with the ng-click(). Any recommendations on how to do this?
[16:50:49] *** amortimer has quit IRC
[16:50:58] <aendrew> Hurr, okay — I’m trying to inject my configProvider provider into another provider. Is that possible and if so, how is that done? I keep getting “Uncaught Error: [$injector:modulerr] Failed to instantiate module axisJSApp due to: Error: [$injector:unpr] Unknown provider: configProvider”
[16:51:10] *** kreiggers has quit IRC
[16:51:19] *** abailarri has quit IRC
[16:51:26] *** Aerospark has quit IRC
[16:51:30] *** Ch4rAss has quit IRC
[16:51:40] *** glassir_ has quit IRC
[16:52:04] *** amortimer has joined #angularjs
[16:52:13] *** glassir has joined #angularjs
[16:52:17] <sacho> how are you injecting it?
[16:52:32] *** patrickarlt has joined #angularjs
[16:53:05] <aendrew> sacho: I’m supplying it via the callback when creating the provider.
[16:53:15] <sacho> yeah, I meant, the code
[16:53:16] <aendrew> I.e., angular.module('axisJSApp').provider('outputProvider', function (configProvider) {…});
[16:53:38] <aendrew> Though I’ve also tried: angular.module('axisJSApp').provider('outputProvider', [‘configProvider’, function (configProvider) { … }]);
[16:53:53] *** Snugug has joined #angularjs
[16:53:55] <sacho> those are technically equivalent
[16:54:05] <sacho> just a sec
[16:54:34] <aendrew> Okay, I’ve also tried: angular.module('axisJSApp').provider(‘$injector’, function (injector) {var configProvider = $injector.get(‘configProvider’); … }]);
[16:54:43] <aendrew> err..
[16:55:05] <aendrew> angular.module('axisJSApp').provider(‘outputProvider’, [‘$injector’, function (injector) {var configProvider = $injector.get(‘configProvider’); … }]);
[16:55:08] *** laurensclaessen has quit IRC
[16:55:09] <sacho> where'd you define the configProvider btw?
[16:55:18] <frobs> leena, you can do a controller that check if user is authenticated and redirect or do the stuff that you want
[16:55:29] *** amortimer has quit IRC
[16:55:33] *** josh-k_ has joined #angularjs
[16:55:40] *** ctanga has joined #angularjs
[16:55:44] <aendrew> In a separate file, configprovider.js — angular.module('axisJSApp').provider('configProvider', function () { … });
[16:55:45] <sacho> I'm actually not sure you can inject dependencies into a provider
[16:55:56] *** josh3336 has joined #angularjs
[16:56:01] <thomastuts> frobs, leena: a better way would be to add a listener for route changes so that you can intercept a non-logged in user regardless of their point of entry
[16:56:07] <thomastuts> a controller isn't really suited for that
[16:56:10] *** whiteboo_ has quit IRC
[16:56:16] <aendrew> sacho: Does that also go for Services, Factories, etc.?
[16:56:16] *** Glen_ has quit IRC
[16:56:21] <sacho> yeah
[16:56:21] *** laurensclaessen has joined #angularjs
[16:56:28] <sacho> let me consult le docs
[16:56:48] *** jiskiras has joined #angularjs
[16:56:48] <aendrew> sacho: Thanks. I’ve tried looking around those but haven’t been able to find anything about that.
[16:56:54] *** glassir has quit IRC
[16:57:00] <OttlikG> Hi
[16:57:13] <sacho> It doesn't really make sense to be able to - since that would require angular to order providers in a dependency graph
[16:57:31] <OttlikG> Can anyone help, how to use attribute value in {{}} expression
[16:57:38] *** waverider has quit IRC
[16:57:46] <sacho> aendrew, generally you'd be doing the opposite, injecting providers in a config callback
[16:58:01] <leena> thomastuts: can you provide me some example
[16:58:05] <sacho> aendrew, if you want to add injectables into a service/factory/whatever you're creating with a provider, you'd add them to the $get function
[16:58:09] *** Alfred_ has quit IRC
[16:58:10] *** Snugug has quit IRC
[16:58:19] *** antsanto has joined #angularjs
[16:58:24] <antsanto> Hello all
[16:58:29] *** dc_ has quit IRC
[16:59:13] <ses1984> i'm trying to get the e2e tests as described in the tutorial to work with firefox instead of chrome on ubuntu and something is not right. using chrome, it runs fine, switching to firefox, the browser launches but then it doesnt do anything
[16:59:17] <ses1984> http://dpaste.com/1D787WB
[16:59:18] *** zzing has joined #angularjs
[16:59:24] <antsanto> I have an div with ng-view, which I wish to open the full new html page rather a templaye
[16:59:32] <thomastuts> leena: this example is for angular-ui-router but the same principle applies, you'd just listen to another event: https://gist.github.com/thomastuts/fce10743647cb1ab0eca
[16:59:36] <leena> thomastuts: frobs i am creating array for routs like this var routespermission=['/dashboard', '/full-client-list', '/clients/:id' ];
[17:00:12] <leena> thomastuts: frobs: all other routs work fine but /clients/:id is not authenticated
[17:00:19] *** MaxV has quit IRC
[17:00:19] *** Pyrrhus has quit IRC
[17:00:36] <ses1984> when the tests are running in chrome, i can open the selenium console through browser and i see a chrome session going. when i try to run with firefox, i see no sessions
[17:00:51] *** folippi has quit IRC
[17:01:00] <leena> thomastuts: frobs: user without logged also can able to see /clients/2
[17:01:24] <aendrew> sacho: *headasplode* … Okay, that’s easy enough (really all the configProvider service does is grab a config file via $http), but how do I then tie that service to a DOM event? Essentially, this service is called whenever a button is clicked, which grabs a config file, finds what services are defined in said-config, and then runs those services to generate the output.
[17:01:31] *** Snugug has joined #angularjs
[17:01:49] <aendrew> Am I being silly by trying to put all these into services, &c., or should I just keep all the logic within the directive?
[17:02:01] *** folippi has joined #angularjs
[17:02:20] <sacho> hmm
[17:02:23] *** whitebook has joined #angularjs
[17:02:26] *** plato|wtf is now known as plato
[17:02:29] *** Milkweed has joined #angularjs
[17:02:41] *** spazbite has quit IRC
[17:02:46] *** simplyshipley has joined #angularjs
[17:02:56] *** plato is now known as Guest62693
[17:03:04] *** larsgk has joined #angularjs
[17:03:05] *** icfantv has joined #angularjs
[17:03:31] *** dhcar_AFK is now known as dhcar
[17:03:41] *** MaxV has joined #angularjs
[17:03:42] *** AngularUI has joined #angularjs
[17:03:43] <AngularUI> [bootstrap] miiihi opened pull request #2962: feat(typeahead): access to $item in typeahead-input-formatter and item resolver (master...master) http://git.io/Q0j8PQ
[17:03:43] *** AngularUI has left #angularjs
[17:03:45] *** ehynds has quit IRC
[17:03:47] *** jstimm has joined #angularjs
[17:03:54] *** tomzx`afk is now known as tomzx
[17:04:07] *** sonofdirt has joined #angularjs
[17:04:13] <leena> thomastuts: frobs: you just tell me how to include /clients/id .its taking /clients but not id part
[17:04:31] *** vectra has joined #angularjs
[17:04:36] *** chaohuanghong1 has joined #angularjs
[17:04:41] *** Aerospark has joined #angularjs
[17:04:43] *** iksik has joined #angularjs
[17:05:00] *** Deathspike has joined #angularjs
[17:05:11] *** gekido has joined #angularjs
[17:05:22] *** chaohuanghong has quit IRC
[17:05:45] *** bayousoft has joined #angularjs
[17:05:48] *** brennon_ has joined #angularjs
[17:06:05] *** cthrax has quit IRC
[17:06:12] <Deathspike> Hello people. I am using angular's $http in a PhoneGap application and use a full domain to request from (http://....). It seems that the http:// prefix is removed by $http. Is there a way around this behaviour?
[17:06:13] *** vdrizzle-work has joined #angularjs
[17:06:14] <brennon_> Anyone here have experience i18n-ing with Angular?
[17:06:37] *** japhar81 has quit IRC
[17:07:03] *** StryKaizer has quit IRC
[17:07:04] *** Raging_Hog has quit IRC
[17:07:12] *** scythe__ has joined #angularjs
[17:07:16] *** laurensclaessen has quit IRC
[17:07:24] *** ioudas has joined #angularjs
[17:07:40] <antsanto> (antsanto) I have an div with ng-view, which I wish to open the full new html page rather a template
[17:07:40] *** nycdevgirl has quit IRC
[17:08:08] *** Baluser has quit IRC
[17:08:16] *** threesixes has joined #angularjs
[17:08:32] *** josh3336_ has joined #angularjs
[17:08:33] <aendrew> Actually, I might have just figured it out. Thanks for the help, sacho!
[17:08:33] *** rosieres has joined #angularjs
[17:08:43] <sacho> aendrew, alright :)
[17:09:11] *** carlosmantilla has quit IRC
[17:09:14] *** paradox41 has quit IRC
[17:09:19] *** artisangoose has joined #angularjs
[17:09:21] *** znst has joined #angularjs
[17:09:41] *** paradox41 has joined #angularjs
[17:09:52] *** josh3336 has quit IRC
[17:09:52] *** josh3336_ is now known as josh3336
[17:10:00] *** japhar81 has joined #angularjs
[17:10:02] <shadowhand> brennon_: we're doing i18n with ng
[17:10:13] <znst> would someone be so kind as to provide me with some suggestions for either implementing datatables in an application or a decent plugin?
[17:10:14] *** carlosmantilla has joined #angularjs
[17:10:48] <shadowhand> brennon_: we use the angular-translate package https://github.com/angular-translate/angular-translate
[17:11:14] *** falk_netstyler has quit IRC
[17:11:17] <frobs> leena, you are writing /clients/id or /clients/:id in your route?
[17:11:26] <shadowhand> very easy to use, just add "translate" attribute to any element and then {{key.value}} as the node content
[17:11:40] *** nycdevgirl has joined #angularjs
[17:11:41] <leena> frobs: yes
[17:11:49] *** paradox41 has quit IRC
[17:11:56] *** paradox41 has joined #angularjs
[17:11:59] <shadowhand> lol
[17:12:03] *** shampine has joined #angularjs
[17:12:07] *** stirlingw has joined #angularjs
[17:12:12] <leena> frobs: /clients/:id
[17:12:13] *** hugofirth has joined #angularjs
[17:12:19] *** mmealling has quit IRC
[17:12:47] *** hugofirth is now known as hugofirth|away
[17:12:50] *** hugofirth|away is now known as hugofirth
[17:12:56] *** bayousoft has quit IRC
[17:12:57] *** kuadrosx has joined #angularjs
[17:13:01] *** tfennelly has joined #angularjs
[17:13:20] *** hugofirth is now known as hugofirth|away
[17:13:29] <frobs> leena, ok i don't know why your router isn't difference with the route with /:id and the others, sorry
[17:13:37] *** OttlikG has quit IRC
[17:13:44] *** bayousoft has joined #angularjs
[17:13:57] <brennon_> shadowhand: Do you happen to be translating any content that isn't hardcoded into a template (like coming from a backend database)?
[17:14:52] *** larsgk has quit IRC
[17:14:56] <leena> frobs: but if i give like /clients/12 to that permission array it is protecting /clients/12 route
[17:14:58] *** carlosmantilla has quit IRC
[17:15:04] *** michaelS_ has joined #angularjs
[17:15:09] *** Surface has joined #angularjs
[17:15:15] *** tfennelly has quit IRC
[17:15:18] *** Guest99380 has quit IRC
[17:15:33] <Surface> .
[17:15:38] *** laurensc_ has joined #angularjs
[17:15:43] *** enigmarm has quit IRC
[17:16:42] *** shampine has quit IRC
[17:17:12] *** dogsy has joined #angularjs
[17:17:13] *** zz_night-owl is now known as night-owl
[17:17:53] *** michaelSharpe has quit IRC
[17:18:20] *** MistahKurtz has joined #angularjs
[17:18:22] *** mokush has joined #angularjs
[17:18:46] *** Shilon has quit IRC
[17:19:06] *** mokush has quit IRC
[17:19:15] *** hugofirth|away is now known as hugofirth
[17:19:24] *** aendrew has quit IRC
[17:19:45] *** speaking1ode is now known as speakingcode
[17:19:53] *** svycka has quit IRC
[17:19:55] *** jackdpeterson has joined #angularjs
[17:20:00] *** hugofirth is now known as hugofirth|away
[17:20:04] *** thedodd has joined #angularjs
[17:20:04] *** trend has joined #angularjs
[17:20:12] *** jstroem has quit IRC
[17:20:19] *** Deathspike has quit IRC
[17:21:12] *** oniijin has joined #angularjs
[17:21:13] *** hugofirth|away is now known as hugofirth
[17:21:35] *** marcjs has quit IRC
[17:22:00] *** zomg has quit IRC
[17:22:14] *** tcneyland has joined #angularjs
[17:22:29] *** mmealling has joined #angularjs
[17:22:38] *** iribarne has quit IRC
[17:22:42] *** zomg has joined #angularjs
[17:22:42] *** aendrew has joined #angularjs
[17:23:14] *** Guest68630 has joined #angularjs
[17:23:39] *** favetelinguis has joined #angularjs
[17:23:46] *** moritzs has quit IRC
[17:24:01] *** bayousoft has quit IRC
[17:24:21] *** trend has quit IRC
[17:24:23] *** gekido has quit IRC
[17:24:44] *** bayousoft has joined #angularjs
[17:25:15] *** jagga has quit IRC
[17:25:16] *** ergo__ has quit IRC
[17:25:27] *** thomastuts has quit IRC
[17:26:19] *** znst has left #angularjs
[17:26:39] *** wolf2k_huh has quit IRC
[17:27:23] *** arabot has joined #angularjs
[17:27:30] *** michaelSharpe has joined #angularjs
[17:27:34] *** ludkiller is now known as lud
[17:27:50] *** mspier|away is now known as mspier
[17:28:04] *** grantfunke_ has quit IRC
[17:28:09] *** michaelS_ has quit IRC
[17:29:01] *** firelinks has joined #angularjs
[17:29:18] *** jmckind has quit IRC
[17:29:20] *** sk87 has quit IRC
[17:29:20] *** rburns has joined #angularjs
[17:30:00] *** mityaz has quit IRC
[17:30:01] *** moritzs has joined #angularjs
[17:30:16] *** _ritchie_ has joined #angularjs
[17:30:27] *** sk87 has joined #angularjs
[17:30:43] *** thomasvs has quit IRC
[17:30:45] *** Ix-Xitan has joined #angularjs
[17:30:46] *** Ix-Xitan is now known as PointBlank
[17:31:24] *** ProLoser has joined #angularjs
[17:32:22] *** edy has quit IRC
[17:32:27] *** snapwich has joined #angularjs
[17:32:36] *** mokush has joined #angularjs
[17:33:28] *** dc_ has joined #angularjs
[17:34:20] *** mtsr_ has joined #angularjs
[17:34:41] *** fedenunez has quit IRC
[17:34:50] <duall> Does the $scope.$watch gets destroyed when you navigate to different controller?
[17:34:57] *** japhar81 has quit IRC
[17:35:05] *** gaganjyot has joined #angularjs
[17:35:23] *** jstroem has joined #angularjs
[17:35:52] *** Guest68630 has quit IRC
[17:35:58] *** ProLoser has quit IRC
[17:36:29] *** Bade has joined #angularjs
[17:36:41] *** sonofdirt has quit IRC
[17:36:41] *** rud has quit IRC
[17:36:46] *** gaganjyot has quit IRC
[17:37:15] *** favetelinguis has quit IRC
[17:37:29] *** RobertMeta has joined #angularjs
[17:37:35] *** mtsr has quit IRC
[17:37:55] *** gaganjyot has joined #angularjs
[17:38:32] *** emkei has joined #angularjs
[17:38:37] *** jyot has joined #angularjs
[17:38:44] *** gaganjyot has quit IRC
[17:39:04] *** merobertsjr has joined #angularjs
[17:39:11] <emkei> Hello can anyone suggest nice tutorial or ebook on using directives?
[17:39:24] *** AngularUI has joined #angularjs
[17:39:24] <AngularUI> [ng-grid] c0bra pushed 1 new commit to rewrite-cellnav: http://git.io/pbSSiA
[17:39:24] <AngularUI> ng-grid/rewrite-cellnav e7cb68f c0bra: fix(cellNav): Don't lose focus with wrapping nav...
[17:39:24] *** AngularUI has left #angularjs
[17:40:14] *** rburns has quit IRC
[17:40:14] *** marcjs has joined #angularjs
[17:40:24] *** gaganjyot has joined #angularjs
[17:40:53] *** japhar81 has joined #angularjs
[17:41:10] *** raskel has quit IRC
[17:41:14] <s3shs_> duall, yes
[17:41:20] *** jyot has quit IRC
[17:41:23] *** gaganjyot has quit IRC
[17:41:30] *** mtsr__ has joined #angularjs
[17:41:54] *** Jashi has quit IRC
[17:42:07] *** gaganjyot has joined #angularjs
[17:42:13] *** antsanto has quit IRC
[17:42:21] *** rburns has joined #angularjs
[17:42:29] *** jyot has joined #angularjs
[17:42:40] *** tcneyland has quit IRC
[17:42:44] *** bbankes has joined #angularjs
[17:43:13] *** busticated has quit IRC
[17:43:19] *** mtsr_ has quit IRC
[17:43:40] *** gaganjyot has quit IRC
[17:43:44] *** bbankes has quit IRC
[17:43:46] *** gurke_ has joined #angularjs
[17:44:02] *** bayousoft has quit IRC
[17:44:18] *** marcjs has quit IRC
[17:44:29] *** bayousoft has joined #angularjs
[17:44:32] *** lsiv568 has quit IRC
[17:44:46] *** michaelSharpe has left #angularjs
[17:44:58] *** gaganjyot has joined #angularjs
[17:45:47] *** gaganjyot has quit IRC
[17:45:49] *** simiographics_ has joined #angularjs
[17:46:19] *** bbankes has joined #angularjs
[17:46:36] *** gnrlbzik has quit IRC
[17:46:53] *** marcjs has joined #angularjs
[17:46:57] *** gaganjyot has joined #angularjs
[17:47:15] *** Cryode has joined #angularjs
[17:47:49] *** mtsr__ has quit IRC
[17:47:50] *** japhar81 has quit IRC
[17:47:57] *** gaganjyot has quit IRC
[17:48:08] *** PointBlank has quit IRC
[17:48:16] *** busticated has joined #angularjs
[17:48:18] *** Ix-Xitan has joined #angularjs
[17:48:18] *** Ix-Xitan is now known as PointBlank
[17:48:35] *** Guest62693 has quit IRC
[17:48:35] *** Guest62693 has joined #angularjs
[17:48:47] *** Guest62693 is now known as plato_
[17:48:58] *** corehook has joined #angularjs
[17:49:13] *** japhar81 has joined #angularjs
[17:49:23] *** tristanp has quit IRC
[17:50:04] *** MaxV has quit IRC
[17:50:12] *** moafoca has joined #angularjs
[17:50:49] *** tristanp has joined #angularjs
[17:51:02] *** marcjs has quit IRC
[17:51:05] *** leena has quit IRC
[17:51:18] *** Asiajey has quit IRC
[17:51:23] *** nfroidure has quit IRC
[17:51:45] *** marcjs has joined #angularjs
[17:52:41] *** cotko has joined #angularjs
[17:52:47] *** night-owl is now known as zz_night-owl
[17:52:51] *** marcjs has quit IRC
[17:53:10] *** stirlingw has quit IRC
[17:53:25] *** marcjs has joined #angularjs
[17:53:47] <dogsy> Is there better documentation on $http response objects? I'd like to be able to see the response code.
[17:54:07] *** marcjs has quit IRC
[17:54:08] *** moritzs has quit IRC
[17:54:33] *** rhp has joined #angularjs
[17:54:43] *** marcjs has joined #angularjs
[17:54:44] *** cohitre has joined #angularjs
[17:55:13] <bealtine> response depends on what the server part sends
[17:55:14] *** tom_ has joined #angularjs
[17:55:22] *** rho has quit IRC
[17:55:30] <yandos> response.status should give you 404, 500 etc
[17:55:37] *** tom_ is now known as Guest71068
[17:55:40] *** zzing has quit IRC
[17:55:51] *** mettjus has quit IRC
[17:56:17] <bealtine> also network tab in chrome
[17:56:32] *** cacts has quit IRC
[17:56:32] *** Cryode has left #angularjs
[17:56:41] *** mzabriskie has joined #angularjs
[17:57:20] *** bbankes has quit IRC
[17:57:24] *** stirlingw has joined #angularjs
[17:57:52] *** seriema has joined #angularjs
[17:58:04] *** AngularUI has joined #angularjs
[17:58:04] <AngularUI> [ng-grid] c0bra pushed 1 new commit to rewrite-cellnav: http://git.io/hXCOWA
[17:58:04] <AngularUI> ng-grid/rewrite-cellnav 2cc7732 c0bra: fix(Edit): Retain "focus" in endEdit()...
[17:58:04] *** AngularUI has left #angularjs
[17:58:12] *** PointBlank is now known as Ix-xitan
[17:58:24] *** thomasvs has joined #angularjs
[17:58:28] *** jstroem has quit IRC
[17:59:02] *** fbenoit has quit IRC
[17:59:04] *** jstroem has joined #angularjs
[17:59:12] *** rho has joined #angularjs
[17:59:13] *** rho has joined #angularjs
[17:59:21] *** marcjs has quit IRC
[17:59:59] *** marcjs has joined #angularjs
[18:00:14] *** AlexZan has joined #angularjs
[18:00:16] *** rburns has quit IRC
[18:00:35] *** Evanion has joined #angularjs
[18:00:46] *** dc_ has quit IRC
[18:00:48] <icfantv> aw crap. angular 1.3.2 breaks ui-bootstrap tooltips
[18:00:53] <icfantv> mother f-er
[18:00:57] *** BaconOverflow has quit IRC
[18:00:58] *** aendrew has quit IRC
[18:01:13] *** yaneq has quit IRC
[18:01:19] *** gazbond has quit IRC
[18:01:19] *** fedenunez has joined #angularjs
[18:01:25] *** yaneq has joined #angularjs
[18:01:31] <icfantv> works in 1.3.0
[18:01:42] *** cacts|works has joined #angularjs
[18:02:02] *** frobs has quit IRC
[18:02:12] *** marcjs has quit IRC
[18:02:46] *** marcjs has joined #angularjs
[18:02:49] *** tfennelly has joined #angularjs
[18:03:13] *** shampine has joined #angularjs
[18:03:16] *** laurensc_ has quit IRC
[18:03:51] *** SergioFilhow has quit IRC
[18:03:52] *** jstroem has quit IRC
[18:03:58] *** aendrew has joined #angularjs
[18:04:25] *** SergioFilhow has joined #angularjs
[18:04:39] *** SergioFilhow has quit IRC
[18:04:57] *** nya has quit IRC
[18:05:01] *** paradox41 has quit IRC
[18:05:27] *** paradox41 has joined #angularjs
[18:05:34] *** lsiv568 has joined #angularjs
[18:05:36] *** DrMabuse has quit IRC
[18:05:59] *** grantfunke_ has joined #angularjs
[18:06:02] *** FIFOd[a] has quit IRC
[18:06:07] *** marcjs has quit IRC
[18:06:39] *** sacho has quit IRC
[18:06:57] *** Trindaz has joined #angularjs
[18:07:06] <DannyCallaghan> is there a list of updateOn values for ngModelOptions anywhere? i can only ever find 'blur'.
[18:07:12] *** patrick99e99 has joined #angularjs
[18:07:24] *** FIFOd[a] has joined #angularjs
[18:07:38] <ivaldi> https://docs.angularjs.org/error/$parse/isecdom I don't get it - I need the element in order to calculate some stuff and I explicitly return an integer http://paste.ubuntu.com/8990137/ -> is there some other way to block this error?
[18:07:48] <Trindaz> why do I have to use `e in $parent.parentScopeFunc()` instead of `e in parentScopeFunc()` when `{{ parentScopeValue }}` should work fine?
[18:08:25] *** scottc5 has joined #angularjs
[18:08:44] *** azizur has joined #angularjs
[18:09:05] *** blenet has joined #angularjs
[18:09:11] *** mackieconnell has quit IRC
[18:09:19] <blenet> hi
[18:09:28] <blenet> any experts here?
[18:10:05] *** paradox41 has quit IRC
[18:10:17] *** whitebook has quit IRC
[18:10:19] *** ogdabou has quit IRC
[18:10:21] <icfantv> DannyCallaghan: what event were you interested in
[18:10:31] <icfantv> blenet: we are all still learning
[18:11:04] <blenet> i have problems understanding directives and the scope
[18:11:06] *** folippi has quit IRC
[18:11:43] *** Guest82392 has quit IRC
[18:11:45] <scottc5> what about the scope?
[18:12:33] <ivaldi> (nvm - I guess all I have to do is to wrap it in some object)
[18:12:56] <DannyCallaghan> icfantv: to be honest, my problem is programmatically changing the stage of a checkbox. the docs say that setViewValue still works, but after whatever is set for updateOn. it also says "If updateOn includes default then $setViewValue will trigger a commit immediately." but i've not seen default used on it's own. it's usually 'default blur'. so i just wondered if there was somewhere that gave a more detailed description of th
[18:12:56] <DannyCallaghan> e values of updateOn. apologies for the essay.
[18:13:23] <DannyCallaghan> icfantv: sorry, obviously using 1.3.
[18:13:51] *** jameswork has quit IRC
[18:13:58] <icfantv> DannyCallaghan: no worries. looking at the angular source, it looks like it can handle all the user input events
[18:14:17] *** scottc5 has quit IRC
[18:14:34] *** monir has quit IRC
[18:14:51] <DannyCallaghan> icfantv: so i'm assuming i can just omit the event? and do updateOn: 'default'?
[18:14:59] <icfantv> blenet: what specific question do you have?
[18:15:04] *** monir has joined #angularjs
[18:15:29] <blenet> i have a table, the lines are generated by ng-repeat, so far so good, but now i wrote a directive that should display a subarray of an ng-repeat element (ng-repeat:item in obj.Items) therefore i give the directive a parameter (item.Subitems) but the data is not getting passed to the directive
[18:15:31] <icfantv> DannyCallaghan: i don't know.
[18:15:41] *** xavia has joined #angularjs
[18:15:44] *** IvailoStoianov has quit IRC
[18:15:52] *** AngularUI has joined #angularjs
[18:15:52] <AngularUI> [ng-grid] c0bra created cellnav-and-speed-improvements (+8 new commits): http://git.io/7TuSKw
[18:15:53] <AngularUI> ng-grid/cellnav-and-speed-improvements 94a3114 c0bra: fix(cellNav): Minor fixes and speed improvement
[18:15:53] <AngularUI> ng-grid/cellnav-and-speed-improvements c903ecc c0bra: fix(gridUtil): Allow multiple logDebug params...
[18:15:53] <AngularUI> ng-grid/cellnav-and-speed-improvements 1182b05 c0bra: fix(GridRenderContainer): Correct prevScroll*...
[18:15:53] *** AngularUI has left #angularjs
[18:15:54] <DannyCallaghan> icfantv: no worries. docs are confusing. but i guess we all know that :)
[18:16:04] *** bbankes has joined #angularjs
[18:16:11] <blenet> if i pass the full array (Items) it works, any ideas, i am new to angular??
[18:16:18] *** richiebkr has joined #angularjs
[18:16:24] <icfantv> blenet: it's probably your isolate scope object
[18:16:31] <icfantv> blenet, can you gist it or create a plunkr?
[18:16:50] <blenet> jap hold on
[18:16:58] <icfantv> blenet: ok
[18:17:02] *** iribarne has joined #angularjs
[18:17:08] <icfantv> DannyCallaghan: they are indeed.
[18:17:37] *** spaceonline has quit IRC
[18:17:46] *** plato_ is now known as plato
[18:18:06] *** emkei has quit IRC
[18:18:09] *** yts has quit IRC
[18:18:53] *** krawek has quit IRC
[18:19:56] *** krawek has joined #angularjs
[18:19:58] *** ChadStrat has joined #angularjs
[18:20:04] *** krawek has quit IRC
[18:20:04] *** krawek has joined #angularjs
[18:20:11] *** ahmetkapikiran has joined #angularjs
[18:20:24] *** RobertMeta has quit IRC
[18:20:28] *** AngularUI has joined #angularjs
[18:20:28] <AngularUI> [ng-grid] c0bra opened pull request #2084: Cellnav rewrite and speed improvements (master...cellnav-and-speed-improvements) http://git.io/z_2KJQ
[18:20:28] *** AngularUI has left #angularjs
[18:20:47] *** trend has joined #angularjs
[18:20:48] *** monir has quit IRC
[18:21:14] *** monir has joined #angularjs
[18:22:26] <bradmaxs> Working on a simple inline editing function. New to angular so a bit lost. http://plnkr.co/edit/f6Bge8LIZwPrWXjKgUr1?p=preview
[18:22:28] *** spaceonline has joined #angularjs
[18:22:30] <icfantv> DannyCallaghan: looks like updateOn can take any jquery supported event.
[18:22:30] *** yaneq has quit IRC
[18:22:42] *** yaneq has joined #angularjs
[18:22:43] *** Versality has quit IRC
[18:22:44] *** Rahul_Roy_ has joined #angularjs
[18:22:48] <bradmaxs> First thing I am trying to do is get the input to bind to the comment
[18:23:10] *** jonathanpglick has joined #angularjs
[18:23:11] <icfantv> DannyCallaghan: looking at the ngModel directive, it's calling jquery_element.on(updateOn)
[18:23:16] *** Versality has joined #angularjs
[18:23:20] *** mchapman has quit IRC
[18:23:20] <DannyCallaghan> icfantv: makes sense, thanks. starting to thing my issue lies elsewhere then. don't care what anyone says, my migration from 1.2.x to 1.3 has been a bitch.
[18:23:36] *** Siyfion has quit IRC
[18:23:43] <icfantv> DannyCallaghan: wait until you try 1.3 to 2.0
[18:23:49] *** shackleford has quit IRC
[18:23:54] <icfantv> DannyCallaghan: i hear 2.0 is a complete rewrite
[18:24:20] *** ChadStrat has quit IRC
[18:24:25] *** mchapman has joined #angularjs
[18:24:27] <bradmaxs> Ok, I got the input binding. Now I am trying to figure out how to cancel when you click outside of the input
[18:24:29] *** gnrlbzik has joined #angularjs
[18:24:30] <icfantv> blenet: how;s it coming?
[18:24:42] *** shpoont has quit IRC
[18:24:46] *** dc_ has joined #angularjs
[18:24:56] *** yaneq has quit IRC
[18:25:11] <blenet> here is the gist, just a simple snippet, i am sure i am missunderstandig the function of the scope https://gist.github.com/anonymous/713e95a0140a049e0d82
[18:25:11] *** optikalmouse has quit IRC
[18:25:11] *** sacho has joined #angularjs
[18:25:12] *** intellix has quit IRC
[18:25:14] *** trend has quit IRC
[18:25:15] *** estikes has joined #angularjs
[18:25:18] *** jacuqesdancona_ has quit IRC
[18:25:35] *** davidreis has quit IRC
[18:25:42] *** monir has quit IRC
[18:25:42] <icfantv> blenet: and what's the problem again? (sorry)
[18:25:50] *** adpirz has joined #angularjs
[18:25:53] *** jacuqesdancona_ has joined #angularjs
[18:26:07] *** azizur has quit IRC
[18:26:43] *** cacts|wtf has joined #angularjs
[18:26:43] *** mchapman has quit IRC
[18:26:45] <Linell> bradmaxs: bradmaxs: you could just put an ng-click="editing = false" on the save button
[18:26:47] *** bpmj has joined #angularjs
[18:27:10] <blenet> updated: https://gist.github.com/anonymous/f568ee62425951139ca3, items variable is null if i pass subitems, if i pass Items its working
[18:27:11] <bradmaxs> Linell: Thanks. I'll give it a go. Moving right along...
[18:27:26] <icfantv> blenet: it's null or undefined?
[18:27:35] <bpmj> hi, all. Is there an equivalent of the "controller as" syntax for directives, or should I keep attaching things to $scope. Related (possibly), how do people generally set up $watchers when using
[18:27:39] <bpmj> "controller as"
[18:27:41] *** iribarne has quit IRC
[18:27:44] <blenet> undefined
[18:27:52] *** azizur has joined #angularjs
[18:28:15] <sacho> blenet, try not using replace
[18:28:25] <blenet> the same happens
[18:28:47] <sacho> ok, make a plunker
[18:28:49] <icfantv> sacho: he's not actually modifying the DOM either…
[18:28:55] <bradmaxs> Linell: Worked like a charm. TY!
[18:29:07] *** SergioFilhow has joined #angularjs
[18:29:08] *** dogsy has quit IRC
[18:29:12] <icfantv> blenet: nothing is jumping out at me - that looks correct. are you sure items.subitems is defined?
[18:29:18] *** edy has joined #angularjs
[18:29:24] *** gazbond has joined #angularjs
[18:29:33] <icfantv> blenet: try throwing an inline debug in your HTML: {{ items.Subitems }}
[18:29:46] <blenet> yes, if i pass Items, i have a list of all Items with subitems
[18:29:48] *** mokush has quit IRC
[18:29:49] <icfantv> *items.SubItems - to see it
[18:30:18] <icfantv> sacho: surely the naming is fine, right? all the "items"
[18:30:23] *** jacuqesdancona_ has quit IRC
[18:30:30] *** adpirz has quit IRC
[18:30:33] *** ngbot has joined #angularjs
[18:30:33] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9cc6835 to 0462ee6: http://git.io/5bvaGA
[18:30:33] *** ngbot has left #angularjs
[18:30:36] <blenet> yes, i will try to create a plunkr
[18:30:41] *** lexek__ has joined #angularjs
[18:30:45] *** woah has joined #angularjs
[18:30:52] *** cacts|works has quit IRC
[18:31:13] *** ishan1604 has quit IRC
[18:31:28] *** ngbot has joined #angularjs
[18:31:28] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0462ee6 to 830846f: http://git.io/j-nY1g
[18:31:28] *** ngbot has left #angularjs
[18:31:47] <sacho> blenet, and please don't use alert(), think of the kittens!
[18:32:05] *** SergioFilhow_ has joined #angularjs
[18:32:17] <icfantv> sacho: hah!
[18:32:32] *** ngbot has joined #angularjs
[18:32:32] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 830846f to ebc3b7b: http://git.io/KDdo8g
[18:32:32] *** ngbot has left #angularjs
[18:32:35] <icfantv> blenet: seriously. use console.log
[18:32:37] *** spatialbrew has quit IRC
[18:32:38] *** Ajans has quit IRC
[18:32:38] *** conan_the_destro has quit IRC
[18:32:47] <icfantv> blenet: alert debugging is SO 2001
[18:32:49] *** cheef has joined #angularjs
[18:33:01] <icfantv> ok, so maybe 2010
[18:33:16] <icfantv> i don't remember when console.log was introduced
[18:33:26] *** nycdevgirl has quit IRC
[18:33:31] *** SidFerreira has joined #angularjs
[18:33:37] *** ngbot has joined #angularjs
[18:33:37] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ebc3b7b to 804e750: http://git.io/tYrU3A
[18:33:37] *** ngbot has left #angularjs
[18:33:39] *** SergioFilhow has quit IRC
[18:33:40] *** whitebook has joined #angularjs
[18:33:41] <cheef> hey guys, im looking at my app performance and i currently have a large number of watchers on a large form (150 data points). i have some scenarios where i only want to show fields if other fields are checked, but i'd like to do this without watchers
[18:33:48] *** conan_the_destro has joined #angularjs
[18:34:03] *** dogsy has joined #angularjs
[18:34:28] *** ngbot has joined #angularjs
[18:34:28] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 804e750 to 5e78af7: http://git.io/Zf0OwQ
[18:34:28] *** ngbot has left #angularjs
[18:34:50] *** woah has quit IRC
[18:35:04] *** jonathanpglick has quit IRC
[18:35:05] <icfantv> cheef: ng-if or ng-show
[18:35:13] <icfantv> cheef: most likely ng-show
[18:35:34] <cheef> thats fine for rendering
[18:35:35] *** ngbot has joined #angularjs
[18:35:35] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 5e78af7 to 0db573b: http://git.io/y4qDew
[18:35:35] *** ngbot has left #angularjs
[18:35:37] <blenet> well, friends i am no webdeveloper actually, so please forgive me :)
[18:35:38] <icfantv> cheef: the difference is ng-if will remove from the DOM if the condition is false
[18:36:16] *** paradox41 has joined #angularjs
[18:36:25] <icfantv> cheef: "i have some scenarios where i only want to show fields if other fields are checked" - that is rendering
[18:36:37] *** ngbot has joined #angularjs
[18:36:37] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0db573b to 8582088: http://git.io/17dZbA
[18:36:37] *** ngbot has left #angularjs
[18:36:40] *** SergioFilhow_ has quit IRC
[18:36:50] *** jonathanpglick has joined #angularjs
[18:36:58] *** spatialbrew has joined #angularjs
[18:37:46] *** ngbot has joined #angularjs
[18:37:46] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8582088 to b7afd11: http://git.io/gD3zCQ
[18:37:46] *** ngbot has left #angularjs
[18:37:55] <cheef> will angular form validation still validate it if its hidden using ng-show?
[18:38:48] *** ngbot has joined #angularjs
[18:38:48] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b7afd11 to 7e233eb: http://git.io/vtchHw
[18:38:48] *** ngbot has left #angularjs
[18:38:52] *** IvailoStoianov has joined #angularjs
[18:38:58] <icfantv> cheef: no
[18:39:07] *** richiebkr has quit IRC
[18:39:10] <bradmaxs> I have been finding some directives to focus an input on ng-click. Is there an easier way to accomplish this. Like ng-focus="true" of something along those lines?
[18:39:18] <cheef> icfantv: thanks
[18:39:34] *** slopjong has quit IRC
[18:39:37] <icfantv> cheef: i'm 99% sure, that is
[18:39:47] <icfantv> cheef: you can easily check this.
[18:39:53] *** mackieconnell has joined #angularjs
[18:39:55] *** ngbot has joined #angularjs
[18:39:55] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 7e233eb to fa0d8c4: http://git.io/74_Z2g
[18:39:55] *** ngbot has left #angularjs
[18:39:55] *** JeffBalboni has joined #angularjs
[18:39:56] <cheef> icfantv: i thought it didnt to be honest. shuld be easily verifiable though!
[18:39:58] *** Trindaz has quit IRC
[18:40:07] *** richiebkr has joined #angularjs
[18:40:32] <icfantv> cheef: hang on. now i'm seeing stuff online that says it does
[18:40:51] *** ngbot has joined #angularjs
[18:40:51] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from fa0d8c4 to 381b185: http://git.io/INSr4w
[18:40:51] *** ngbot has left #angularjs
[18:41:12] <cheef> originally i just created a validation that adds $parsers, and only checks validity of the conditional expression is true
[18:41:20] <cheef> so any hidden fields didn't get validated when i submit
[18:41:23] *** Snugug has quit IRC
[18:41:32] <cheef> seems like the least obtrusive way at the time
[18:41:34] *** TommyO has quit IRC
[18:41:35] <cheef> seemed*
[18:41:48] *** moafoca has quit IRC
[18:41:53] *** ngbot has joined #angularjs
[18:41:54] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 381b185 to 0bbc6ee: http://git.io/UMfZ8Q
[18:41:54] *** ngbot has left #angularjs
[18:42:09] *** richiebkr has quit IRC
[18:42:34] *** phzon has quit IRC
[18:42:34] <cheef> what i didnt want was to create a bunch of watchers though for when that value changed
[18:42:37] *** krawek has quit IRC
[18:42:45] *** AWAW has quit IRC
[18:42:48] *** sk87 has quit IRC
[18:42:49] <icfantv> cheef: http://stackoverflow.com/questions/21575051/implementing-a-directive-to-exclude-a-hidden-input-element-from-validation-add
[18:42:52] *** gekido has joined #angularjs
[18:43:07] *** ngbot has joined #angularjs
[18:43:07] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0bbc6ee to 8b775a0: http://git.io/h2GBVw
[18:43:07] *** ngbot has left #angularjs
[18:43:15] *** phzon has joined #angularjs
[18:43:15] *** guilbep has quit IRC
[18:43:17] *** DoubleAW has joined #angularjs
[18:43:24] *** mettjus has joined #angularjs
[18:44:00] *** RobinBAwesome has joined #angularjs
[18:44:02] <cheef> icfantv:I see! it may be a nicer solution that conditionally applying validations in the $parser
[18:44:02] *** ngbot has joined #angularjs
[18:44:02] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8b775a0 to fbad280: http://git.io/ixI14Q
[18:44:02] *** ngbot has left #angularjs
[18:44:17] *** whunt has joined #angularjs
[18:44:34] <cheef> formbuilders are a pain :) especially those that need config for state and layout
[18:44:44] *** trend has joined #angularjs
[18:44:51] *** cbennett_ has joined #angularjs
[18:44:59] *** ngbot has joined #angularjs
[18:44:59] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: http://git.io/kJ0-GQ
[18:45:00] *** ngbot has left #angularjs
[18:45:29] *** Guest71068 has quit IRC
[18:45:42] *** mackieconnell has quit IRC
[18:46:01] *** corehook has quit IRC
[18:46:10] <cheef> been trying to think of a nice way to handle a pile of closed question options "yes|no|unsure" so that the text can be configured, but the bound value remains contant
[18:46:12] *** mackieconnell has joined #angularjs
[18:46:23] *** mccarrontr1ck has quit IRC
[18:46:44] *** NoNMaDDeN has quit IRC
[18:47:18] *** DLSteve_ has joined #angularjs
[18:47:48] *** phzon has quit IRC
[18:48:17] *** cbennett has quit IRC
[18:48:53] *** cbennett_ has quit IRC
[18:49:39] <Siecje> I am working on an Admin area and I was wondering if I could get some feedback on the layout/structure of the application. https://github.com/Siecje/ngStructure
[18:49:39] <Siecje> I feel like there is a lot of duplication especially with the Service for each section https://github.com/Siecje/ngStructure/blob/master/Bundles/BundleService.js https://github.com/Siecje/ngStructure/blob/master/Modules/ModuleService.js
[18:49:40] <blenet> here is the plunkr http://plnkr.co/edit/GYotEUhJM7kMuEsVgdr7?p=info
[18:49:46] *** DLSteve has quit IRC
[18:49:53] *** hugofirth has quit IRC
[18:50:36] <Siecje> blenet: You didn't include your directive
[18:50:50] *** cacts|wtf has quit IRC
[18:50:57] *** zemanel has quit IRC
[18:51:14] *** listerine has joined #angularjs
[18:51:39] *** uru|away is now known as uru
[18:52:07] <blenet> now it should be included, only the wrong name
[18:52:10] *** jmckind has joined #angularjs
[18:52:17] *** sacho has quit IRC
[18:52:22] *** nycdevgirl has joined #angularjs
[18:52:31] *** svteoi has joined #angularjs
[18:52:52] <Siecje> blenet: What about the template?
[18:53:44] *** iribarne has joined #angularjs
[18:54:06] *** DrMabuse has joined #angularjs
[18:54:19] *** xavia has quit IRC
[18:54:38] *** scythe__ has quit IRC
[18:54:43] <blenet> i didnot write one right now because of the fact that i do not get data into the directive
[18:54:46] *** jareddlc has joined #angularjs
[18:55:01] *** JeffBalboni has left #angularjs
[18:55:59] *** tsalb has joined #angularjs
[18:56:04] <blenet> i have added a template right now
[18:56:23] *** Trow has joined #angularjs
[18:56:37] *** trend has quit IRC
[18:57:16] *** Reskp has joined #angularjs
[18:57:21] *** jeffbalboni has joined #angularjs
[18:58:08] *** shpoont has joined #angularjs
[18:58:21] *** zemanel has joined #angularjs
[18:58:27] *** sonofdirt has joined #angularjs
[18:58:29] *** carlosmantilla has joined #angularjs
[18:58:29] *** Reskp_ has joined #angularjs
[18:58:55] *** shpoont has quit IRC
[18:59:24] *** lthomas has quit IRC
[18:59:45] <icfantv> blenet: sorry. looking now
[19:00:01] *** Nivag has joined #angularjs
[19:00:07] *** TommyO has joined #angularjs
[19:00:10] *** dcherman2 has joined #angularjs
[19:00:11] *** tfennelly has quit IRC
[19:00:39] *** tangorri has quit IRC
[19:01:16] *** nairys has joined #angularjs
[19:01:39] *** Reskp has quit IRC
[19:01:47] *** Snugug has joined #angularjs
[19:01:57] *** cthrax has joined #angularjs
[19:02:06] *** lsiv568 has quit IRC
[19:02:34] <icfantv> blenet
[19:02:44] <icfantv> blenet: change "=" to "=entries"
[19:02:47] *** otisZart has joined #angularjs
[19:02:57] *** carlosmantilla has quit IRC
[19:03:10] <icfantv> blenet: "=" by itself looks for an attribute with the same name
[19:03:28] *** dcherman has quit IRC
[19:03:31] *** lsiv568 has joined #angularjs
[19:03:43] *** shackleford has joined #angularjs
[19:03:43] *** mnngfltg has quit IRC
[19:03:46] *** jstimm has quit IRC
[19:03:54] <blenet> i have changed the property to items
[19:03:58] *** Una has quit IRC
[19:03:58] *** dcherman has joined #angularjs
[19:04:06] <icfantv> blenet: it works for me
[19:04:29] *** DrMabuse has quit IRC
[19:04:33] <icfantv> blenet: you also don't need the watch in your case
[19:04:52] *** bobbyroberts99 has joined #angularjs
[19:04:53] <icfantv> blenet: throw a console.log line above the watch and you'll see that your data is getting there
[19:05:14] <icfantv> blenet: your watch is for when the underlying model changes
[19:05:17] *** zemanel has quit IRC
[19:05:21] <icfantv> blenet: which it is not doing here
[19:05:34] *** bobbyroberts99 has left #angularjs
[19:05:42] <icfantv> blenet: if you want to test that, add a $timeout function that changes the model after, say, 10 seconds and it should update
[19:05:52] *** dcherman2 has quit IRC
[19:05:53] *** aphadke has joined #angularjs
[19:06:46] <blenet> i dont understand why do i not see "Subname1" now as only row in the second table
[19:06:51] <aphadke> hello - i am using gulp.js to build my angularjs app and do revisions.. here's my gulpfile.js - http://aphadke.pastebin.mozilla.org/7290037
[19:06:56] *** duall has quit IRC
[19:07:01] *** shackleford has quit IRC
[19:07:01] *** KernelCurry has joined #angularjs
[19:07:13] *** trend has joined #angularjs
[19:07:17] <aphadke> index.html got renamed, but custom.css didn't get renamed, neither did it copy the renamed file in my dist folder.
[19:07:26] *** desp has joined #angularjs
[19:07:40] <aphadke> i.e. custom.css didn't get renamed in index.html
[19:07:40] *** Linell has quit IRC
[19:07:43] *** Aerospark has quit IRC
[19:07:58] <icfantv> blenet: see here: http://plnkr.co/edit/NZbLsdThLIJ1om9u8q1S?p=preview
[19:08:36] <icfantv> blenet: you mean you don't understand why it's working?
[19:09:22] <icfantv> blenet: think of the watch as a "tell me when the object i'm watching changes in the future and execute this function when it does"
[19:09:30] *** estikes has quit IRC
[19:10:05] *** benschaaf has quit IRC
[19:10:16] *** eBureau has joined #angularjs
[19:10:26] *** DannyCallaghan has quit IRC
[19:10:28] *** wallerdev has joined #angularjs
[19:11:12] *** mguillech has quit IRC
[19:11:20] *** yts has joined #angularjs
[19:11:40] <blenet> yes but i dont need the link thing there or do i?
[19:11:59] <icfantv> blenet: i've updated it one more time to use JSON.stringify instead of logging the array which doesn't work
[19:12:01] *** iribarne has quit IRC
[19:12:22] <icfantv> blenet: you do if you want to watch the object and/or you want to modify the dom
[19:12:36] <icfantv> blenet: and if you don't, then I'm not sure why you are using a directive
[19:12:59] <icfantv> blenet: because you can nest ng-repeats
[19:13:06] *** crakrjak has joined #angularjs
[19:13:21] <ses1984> i'm trying to get the e2e tests as described in the tutorial to work with firefox instead of chrome on ubuntu and something is not right. using chrome, it runs fine, switching to firefox, the browser launches but then it doesnt do anything
[19:13:25] <ses1984> when the tests are running in chrome, i can open the selenium console through browser and i see a chrome session going. when i try to run with firefox, i see no sessions
[19:13:28] <ses1984> http://dpaste.com/1D787WB
[19:13:35] *** adben has joined #angularjs
[19:13:58] <icfantv> blenet: but you want to be real careful since, depending on the number of objects in your array (and sub array) the number of bindings can explode - which is bad
[19:14:05] *** mennea has joined #angularjs
[19:14:08] <blenet> the main thing why i need to use this directive is that i want to render the DOM with react, because angularjs is getting very slow with huge tables
[19:14:20] <blenet> as far as i find out now
[19:14:47] *** tech2_ has quit IRC
[19:14:49] <blenet> this directive was just for testing purposes
[19:15:45] <icfantv> blenet: misko recommends <= 2000 bindings on a given page
[19:16:42] <icfantv> blenet: http://stackoverflow.com/questions/9682092/databinding-in-angularjs
[19:16:54] <icfantv> blenet: that's a good one to bookmark, btw
[19:17:03] *** dharmit has joined #angularjs
[19:17:07] *** dhcar is now known as dhcar_AFK
[19:17:32] *** araujo has quit IRC
[19:17:56] <blenet> yes, i have read about that, so i tried to use the :: syntax to bind it only once, because i only need to display the whole array, if the array changes i need to redraw the whole with about 2000 lines a 10 columns
[19:18:53] <blenet> but its still too slow, it takes about 7-8 sec to render the page
[19:19:05] <wafflej0ck> blenet: too many dom elments
[19:19:10] *** araujo has joined #angularjs
[19:19:12] *** JohnBat26 has joined #angularjs
[19:19:14] <wafflej0ck> blenet: can your users look at 20,000 entries at once?
[19:19:20] <wafflej0ck> if not why draw them
[19:19:45] *** jotaefe has joined #angularjs
[19:19:46] *** seriema has quit IRC
[19:19:46] *** olivvv has quit IRC
[19:19:56] <ish> probably over discussed by now, but angular is the only framework I know I don't have time to learn another one - are there certain things to avoid in 1.x given 2.0 is going to be a big change?
[19:20:16] *** ProLoser has joined #angularjs
[19:20:17] *** zB0hs has quit IRC
[19:20:25] *** kreiggers has joined #angularjs
[19:20:26] *** seriema has joined #angularjs
[19:20:43] *** jotaefe has quit IRC
[19:20:51] <wafflej0ck> ish: someone in the chat is working on an article for migration, if you keep up with the 1.x versions the transition shouldn't be as bad, in general put your stuff in services/factories keep your controllers slim and start using the controller as syntax to get rid of $scope
[19:20:55] <blenet> of course not, but then i need to implement pagination or another scrolling algorithm, and reactjs seems very fast
[19:21:12] <wafflej0ck> ish: but don't worry about it too much things are far off in the future and will change, directives likely will be replaced by web components
[19:21:32] *** cbennett has joined #angularjs
[19:21:34] <wafflej0ck> blenet: implementing pagination is better than having 1000 lines to scroll through
[19:21:38] *** jotaefe has joined #angularjs
[19:21:47] *** fatshark has joined #angularjs
[19:22:01] <wafflej0ck> blenet: regardless of what framework or whatever you use if you nest thousands of DOM elements it's gonna have a bad time rendering that
[19:22:08] <ish> I don't even know what web components are.. I'm just a backend guy that decided to invest in one frontent technology for prototypes.
[19:22:10] *** Guest71068 has joined #angularjs
[19:22:12] <ioudas> Does anyone know why i cant transfer checkbox values between controllers or root scope?
[19:22:29] <ish> can you expand briefly on " start using the controller as syntax to get rid of $scope" or provide a pointer?
[19:22:39] *** Aerospark has joined #angularjs
[19:22:46] *** seriema has quit IRC
[19:22:53] *** seriema has joined #angularjs
[19:23:07] <wafflej0ck> ish: fair enough, overall point, don't worry about it too much, instead worry about structuring your apps in a way that makes things make sense and makes them re-usable (using services/factories and slim controllers)
[19:23:10] <blenet> your are totally right, but
[19:23:22] <wafflej0ck> ish: http://toddmotto.com/digging-into-angulars-controller-as-syntax/
[19:23:42] *** bengillies has quit IRC
[19:23:47] <blenet> you are totally right, but i think 1000-2000 lines should not be that hard to render, actually i came from application developing so thats all quite new for me
[19:24:04] <blenet> Thanks a lot for helping me!
[19:24:04] <icfantv> blenet: you can lead a horse to water, but you can't make it drink
[19:24:08] *** Oxynum has quit IRC
[19:24:13] <icfantv> blenet: i think we've done our parts here
[19:24:22] *** monir has joined #angularjs
[19:24:28] <blenet> jap thank you!
[19:24:30] <icfantv> blenet: you're welcome
[19:24:31] <wafflej0ck> blenet: np check out virtualization as a workaround so it doesn't need to render everything, there are some directives that do this for you like ui-grid
[19:24:31] *** blenet has quit IRC
[19:25:00] *** ProLoser has quit IRC
[19:25:16] <wafflej0ck> er don't whatever :)
[19:25:46] <icfantv> blenet: i deleted that plunkr, you didn't need it, did you?
[19:25:59] *** josh-k_ has quit IRC
[19:26:01] *** kas84 has quit IRC
[19:26:03] <wafflej0ck> icfantv: gone... I hide the quits too :)
[19:26:05] *** benschaaf has joined #angularjs
[19:26:24] *** bmac has quit IRC
[19:26:27] <icfantv> wafflej0ck: huh?
[19:26:33] <wafflej0ck> blenet left
[19:26:34] *** josh-k has joined #angularjs
[19:26:37] *** bmac has joined #angularjs
[19:26:40] <icfantv> OH
[19:26:46] <wafflej0ck> I hide IRC quits which I imagine you do too so didn't see it :)
[19:26:59] <icfantv> i don't, but i don't read them
[19:27:12] <icfantv> adium greys them out so they dont' stand out
[19:27:18] *** bullicon has joined #angularjs
[19:27:25] <icfantv> but i don't read them anyway - that would be why tab completion on his name didn't work
[19:27:28] <wafflej0ck> ah yeah in quasssel they are purple but still annoying when there are netsplits or whatever
[19:27:36] <icfantv> oh god, yea
[19:27:43] <icfantv> especially in a chatroom w/ 800 people
[19:27:47] *** ateev has joined #angularjs
[19:28:04] <icfantv> ……98% of whom are lurkers
[19:28:08] <ateev> How to serve angular app on heroku ?
[19:28:15] *** desp has quit IRC
[19:28:27] <wafflej0ck> ateev: nothing really special about serving angular apps just a set of static files itself
[19:28:45] <ioudas> Can anyone tell me why i cannot set the value of a check box model and keep getting undefined?
[19:28:47] *** kevinw has joined #angularjs
[19:28:53] *** cheef has quit IRC
[19:29:00] <wafflej0ck> ioudas: plunkr?
[19:29:04] <ateev> I know.. But i just created a heroku account
[19:29:19] *** crakrjak has quit IRC
[19:29:29] <kevinw> Hey all... I have an issue with routing and long pages... any ideas why the button half way down, when clicked, doesn't cause the new content displayed to be scrolled to the top? http://plnkr.co/edit/IGTAp2mZA8RKvOd6IoF6?p=preview
[19:29:29] <ateev> and its asking to choose from a set of backend frameworks
[19:29:35] <ioudas> 1 sec
[19:29:46] *** gekido has quit IRC
[19:29:50] *** slopjong has joined #angularjs
[19:29:56] *** eBureau has quit IRC
[19:30:12] *** opiates has joined #angularjs
[19:30:13] *** gekido has joined #angularjs
[19:30:28] <icfantv> kevinw: you can use scrollIntoView()
[19:30:42] *** josh-k has quit IRC
[19:30:51] <bradmaxs> Sometimes I don't have a comment and I want to add one. Here is what I have if I have a comment. <span ng-click="editing = true">{{ row.Attachment.comment }}</span> How to add something that works if there isn't one.
[19:30:56] <icfantv> kevinw: so far as i know, most things don't scroll automagically
[19:31:06] <bradmaxs> I tried this but the ng-click doesn't fire. <span class="glyphicon glyphicon-pencil" ng-if="!row.Attachment.comment" ng-click="editing = true"></span>
[19:31:07] *** optikalmouse has joined #angularjs
[19:31:07] *** dcherman2 has joined #angularjs
[19:32:23] *** windsurf_ has joined #angularjs
[19:32:35] *** SergioFilhow_ has joined #angularjs
[19:32:37] *** Guest71068 has quit IRC
[19:32:38] <windsurf_> what does angular.fromJson do differently from JSON.parse ?
[19:32:50] *** cacts has joined #angularjs
[19:32:50] <wafflej0ck> bradmaxs: have you {{editing}} to be sure it's not triggering the ng-click, what makes you so sure?
[19:32:57] *** eamonn has quit IRC
[19:33:02] *** gazbond has quit IRC
[19:33:05] <wafflej0ck> windsurf_: strips out any $$internalVariables
[19:33:25] *** AimerPaddle has joined #angularjs
[19:33:30] *** akrikos has joined #angularjs
[19:33:32] <ioudas> wafflej0ck, i cant get a plunker working... can i pastebin you some code?
[19:33:36] <windsurf_> wafflej0ck: can you expand on that? I’m not familiar with what $$internalVariables there would be?
[19:33:38] <wafflej0ck> ioudas: sure that works
[19:33:51] *** spaceonline has quit IRC
[19:33:54] *** dcherman has quit IRC
[19:33:55] <wafflej0ck> windsurf_: there are things like $$hashKey for a GUID of sorts I think and other things
[19:33:55] *** baweaver has joined #angularjs
[19:34:06] <wafflej0ck> windsurf_: I'm not sure about all of the details, $$phase is another I've seen
[19:34:10] *** ateev has left #angularjs
[19:34:13] <windsurf_> wafflej0ck: does angular put those there?
[19:34:16] <wafflej0ck> windsurf_: typically you aren't supposed to know or use these
[19:34:23] <wafflej0ck> windsurf_: yeah for certain processing
[19:34:25] <kevinw> icfantv - I was following the guidance here: https://docs.angularjs.org/api/ngRoute/directive/ngView
[19:34:29] *** tom_ has joined #angularjs
[19:34:38] <jpstone> wafflej0ck: how many lines of code would you say is "too many" for a controller?
[19:34:40] *** slopjong has quit IRC
[19:34:46] <kevinw> am I misunderstanding what autoscroll is meant to do?
[19:34:47] <wafflej0ck> jpstone: more than necessary :)
[19:34:51] <bradmaxs> wafflej0ck: Not sure what you mean. When there is a comment, the ng-click works and shows the form. If there isn't a comment, the other span shows but the ng-click isn't showing the form.
[19:34:52] *** gekido has quit IRC
[19:35:01] *** gekido has joined #angularjs
[19:35:04] *** tom_ is now known as Guest24183
[19:35:09] <ioudas> http://pastebin.com/QBQrGDbV
[19:35:16] <windsurf_> wafflej0ck: ok i think i get it – so one is encouraged to use angular.toJson because it decorates with some special variables that are used internally by Angular and therefore one needs to use fromJson to deserialize properly
[19:35:19] <wafflej0ck> jpstone: really I just try to put everything in a service/factory unless I need to glue something in via the controller (in some cases to config certain UI elements I break this rule)
[19:35:31] <jpstone> wafflej0ck: in theory, almost every bit of logic inside a controller can be put into a service...so technically, there almost always is more than necessary in a controller :D
[19:35:39] <kevinw> icfantv - for scrollIntoView, what event/trigger would you recommend I use so that whenever the user navigates, it scrolls?
[19:35:42] *** dharmit has quit IRC
[19:35:49] <wafflej0ck> jpstone: yup that's part of why they're going the way of the dodo I believe
[19:35:53] *** aphadke has quit IRC
[19:36:13] *** nycdevgirl has quit IRC
[19:36:26] *** hmsimha has joined #angularjs
[19:36:31] *** jacuqesdancona_ has joined #angularjs
[19:36:37] *** SergioFilhow_ has quit IRC
[19:36:47] <wafflej0ck> windsurf_: actually sort of the opposite
[19:36:50] <windsurf_> wafflej0ck: oh i just read a bit more, i think i was wrong –
[19:36:50] *** moritzs has joined #angularjs
[19:36:52] <wafflej0ck> windsurf_: toJson strips those things
[19:37:00] <windsurf_> toJson strips those things from Objects
[19:37:03] <wafflej0ck> right
[19:37:04] <jpstone> I'm currently working on an app that has 367 lines of code inside a controller...and I've put a ton of its logic inside services... 8 services to be exact...each with a ton of logic in them :D
[19:37:06] *** slopjong has joined #angularjs
[19:37:15] <windsurf_> i guess fromJson isn’t much different than JSON.parse
[19:37:24] <windsurf_> unless Angular has some smart way of adding those props back to Objects
[19:37:36] <jpstone> could I reduce that 367 lines? sure...but at some point I get tired of adding services into my index.html :D
[19:37:37] <windsurf_> or just makes new props
[19:37:46] <icfantv> kevinw: not sure i follow. what do you mean "what event/trigger"
[19:37:53] *** baweaver has quit IRC
[19:37:58] <wafflej0ck> windsurf_: well if you need to send the stuff to a service and the service is going to complain about extra properties then toJson can be useful
[19:38:07] *** AngularUI has joined #angularjs
[19:38:07] <AngularUI> [ng-grid] brianchance opened pull request #2085: Move scrollbar bottom to account for viewport adjustments (master...master) http://git.io/9eH4nw
[19:38:07] *** AngularUI has left #angularjs
[19:38:13] <kevinw> I need the behavior that whenever navigation occurs (route changes and ng-view is updated), it scrolls back to the top
[19:38:15] <windsurf_> wafflej0ck: I’m with ya
[19:38:21] <icfantv> kevinw: if you're item is off the screen, that call will cause the browser to scroll it into view. if it's not off the page, it won't do anything.
[19:38:22] *** mclenithan has joined #angularjs
[19:38:37] <kevinw> right... but when do i call that method?
[19:38:45] <icfantv> kevinw: please use names - it makes it very hard to follow conversations when you don't
[19:38:56] *** anjumkaiser has joined #angularjs
[19:39:03] *** seriema has quit IRC
[19:39:06] <wafflej0ck> ioudas: can you show where you're doing something.StockingSW
[19:39:09] <icfantv> kevinw: so you click a button and load a template?
[19:39:10] <kevinw> icfantv - sorry :) when do I call that method to perform the scroll after a routing change?
[19:39:13] <wafflej0ck> ioudas: cause something is undefined there
[19:39:26] <icfantv> kevinw: ahhhhh, that's much better - no i can see you
[19:39:31] *** AWAW has joined #angularjs
[19:39:34] *** firelinks has quit IRC
[19:39:35] *** seriema has joined #angularjs
[19:39:35] <icfantv> *now
[19:39:36] <ioudas> its in there
[19:39:42] <kevinw> icfantv - yes. the plunkr has a simple example: http://plnkr.co/edit/IGTAp2mZA8RKvOd6IoF6?p=preview
[19:39:46] <ioudas> in the paste
[19:39:48] *** akrikos has quit IRC
[19:39:52] <icfantv> kevinw: i believe there's an even that fires when routing is finished
[19:39:53] <wafflej0ck> ioudas: oh so you expect me to scroll :D
[19:39:59] <ioudas> lol
[19:40:05] <ioudas> yes, i can magically condense code
[19:40:06] <ioudas> for you ;-P
[19:40:23] <kevinw> icfantv - I will search for that. tnx!
[19:40:37] *** jacuqesdancona_ has quit IRC
[19:41:03] <wafflej0ck> ioudas: $scope.ProductSearchCrit.StockingSW
[19:41:06] <icfantv> kevinw: gah! no alert debugging! think of the baby seals!
[19:41:10] <ioudas> yea?
[19:41:18] <wafflej0ck> ioudas: that line is messing it up because there's no previous $scope.ProductSearchCrit = {}
[19:41:18] <narutimateum> morning people
[19:41:22] <icfantv> kevinw: everytime you use an alert debug, a baby dies
[19:41:23] <wafflej0ck> hi narutimateum
[19:41:23] <narutimateum> very good morning wafflej0ck
[19:41:32] <ioudas> doesnt declaring a ng-model
[19:41:36] <ioudas> instantiate it in the view
[19:41:37] <ioudas> ?
[19:42:43] <wafflej0ck> ioudas: honestly my understanding of how the ng-model does the voodoo to initialize an object is minimal but I tend to define the parts up front in the controller if there are issues
[19:42:54] *** Reskp_ has quit IRC
[19:43:00] *** mennea has quit IRC
[19:43:05] *** amphetamines has joined #angularjs
[19:43:06] *** DoubleAW has quit IRC
[19:43:19] *** pikapp has joined #angularjs
[19:43:36] *** mennea has joined #angularjs
[19:43:56] <ioudas> i think that kinda stuff is why i loathe angular
[19:43:57] <ioudas> lol
[19:44:11] <wafflej0ck> ioudas: try without it and you'll appreciate it :)
[19:44:23] <ioudas> nah, id pick a different language ;-)
[19:44:23] *** bullicon has quit IRC
[19:44:25] <wafflej0ck> ioudas: I loathe JS but angular itself is a godsend IMO
[19:44:31] *** thedodd has quit IRC
[19:44:32] *** seriema has quit IRC
[19:44:53] *** opiates has quit IRC
[19:45:18] *** doginal has joined #angularjs
[19:45:35] *** sonofdirt has quit IRC
[19:46:10] *** estikes has joined #angularjs
[19:46:25] <wafflej0ck> ioudas: in any case regardless of language or framework you typically can't access properties of an object that hasn't been instantiated so really here it's just that Angular does some voodoo we don't understand (this is mildly frustrating but it's a big framework hard to know all the surfaces)
[19:46:30] *** crakrjak has joined #angularjs
[19:46:37] *** snurfery has joined #angularjs
[19:46:38] *** baweaver has joined #angularjs
[19:47:18] *** Aliks has joined #angularjs
[19:47:19] *** tschundeee has quit IRC
[19:47:28] <ioudas> fair enough. Ill just chalk this up to "voodoo" and stick with a language that doesnt rely on voodo.
[19:47:41] *** recidive has quit IRC
[19:47:45] <wafflej0ck> ioudas: well it's angular voodoo not JS
[19:47:46] *** SidFerreira has quit IRC
[19:47:54] *** tschundeee has joined #angularjs
[19:47:59] *** azizur has quit IRC
[19:48:29] <wafflej0ck> and by voodoo I just mean algorithms or processes I've yet to grok not that it's real magic :)
[19:48:36] *** crakrjak has quit IRC
[19:48:41] *** dogsy has quit IRC
[19:49:26] <ioudas> when you recreate the same logic and it does seperate things in a language. Ill call that voodoo.
[19:49:35] <ioudas> or garbage
[19:49:39] <ioudas> cant figure out which one
[19:49:43] *** mattattaque has quit IRC
[19:49:56] <jpstone> if anyone does phonegap/cordova mobile development in here...do you have any thoughts on the performance difference between read/writes to localstorage vs the flash drive?
[19:50:09] <wafflej0ck> ioudas: your logic in that controller would fail in any language
[19:50:09] *** angularUser44 has joined #angularjs
[19:50:18] <angularUser44> anyone used ng-grid here?
[19:50:24] <wafflej0ck> ioudas: referencing uninitialized objects doesn't work
[19:50:35] <ioudas> thats interesting.
[19:50:39] <wafflej0ck> angularUser44: have used it in the past, ui-grid is the new thing
[19:50:50] <burzum2> How can I dynamically inject a new directive in my view when I clicked something that has ng-click()? I wan to insert the other directive somewhere else in the DOM tree, no directly before or after the element with the ng-click(). Any recommendations on how to do this?
[19:50:51] <ioudas> wrong, but interesting.
[19:51:05] <snurfery> sup yalll
[19:51:13] *** dhcar_AFK is now known as dhcar
[19:51:20] <wafflej0ck> ioudas: show me the Java or C or C++ or Python that lets you access a property of a null object
[19:51:35] <wafflej0ck> ioudas: and I'll show you a null pointer exception
[19:51:39] *** Beatzebub has quit IRC
[19:51:49] <ioudas> fair enough.
[19:51:49] <angularUser44> wafflej0ck: I have multiSelect false and i need to toggle the selection of a row. Seems very simple but im having a hell of a time.
[19:52:06] <snurfery> burzum2: put your other directive wherever you want it to end up, then add <my-directive ng-if="someValueTheNgClickSets">
[19:52:09] <angularUser44> wafflej0ck: i mean i need to toggle the selection state based on clicking on that row
[19:52:32] <burzum2> snurfery wont this already inject the directive to the DOM Tree and just hide it?
[19:52:33] *** tschundeee has quit IRC
[19:52:52] *** mccarrontr1ck has joined #angularjs
[19:52:57] <burzum2> snurfery my concern is that loading the reply form for EVERY comment in an endless loading list of comments might blow up the client performance
[19:52:59] *** oncenull has joined #angularjs
[19:53:00] *** dharmit has joined #angularjs
[19:53:11] <wafflej0ck> angularUser44: yeah gotcha, unfortunately been a while since I used ngGrid and I know there was a fair amount of hacking around to get it to do everything I needed, the team working on it dissolved so a new group formed to work on it under the name uigrid
[19:53:13] *** oncenull has quit IRC
[19:53:30] *** zlalanne has joined #angularjs
[19:53:50] <wafflej0ck> angularUser44: I know you could access the underlying selectedItems but don't recall doing anything with multi-select with it in my app
[19:53:50] *** crakrjak has joined #angularjs
[19:53:59] *** spaceonline has joined #angularjs
[19:54:17] <snurfery> burzum2: no it won't inject the dom until it evaluates to true
[19:54:34] <jpstone> hence the difference between ng-show and ng-if
[19:54:35] <snurfery> that's the difference between ng-show/hide (which just hides it) and ng-if
[19:54:40] <burzum2> oh good to know thank you, i have an idea how I might be able to get it working then
[19:54:48] * snurfery cheers
[19:55:08] *** glassir has joined #angularjs
[19:55:09] <burzum2> now that you mention the both... i feel dumb, could have asked myself why we have both lol
[19:55:21] *** mackieconnell has quit IRC
[19:55:24] *** yandos has quit IRC
[19:55:49] *** lsiv568 has quit IRC
[19:56:00] *** monir has quit IRC
[19:56:02] *** tech2_ has joined #angularjs
[19:56:04] *** zyla has quit IRC
[19:56:19] *** crakrjak has quit IRC
[19:56:53] *** DrMabuse has joined #angularjs
[19:57:09] *** lsiv568 has joined #angularjs
[19:57:16] *** btc_panhandler has joined #angularjs
[19:57:26] *** cthrax has quit IRC
[19:57:40] *** lsiv568 has joined #angularjs
[19:57:58] *** Fire-Dragon-DoL has joined #angularjs
[19:57:58] *** mackieconnell has joined #angularjs
[19:58:37] *** zlalanne has quit IRC
[19:59:02] *** cacts|wtf has joined #angularjs
[19:59:04] *** bayousoft has quit IRC
[19:59:18] *** Reskp has joined #angularjs
[19:59:34] *** bayousoft has joined #angularjs
[20:00:12] *** paradox41 has quit IRC
[20:00:15] <snurfery> hows errbody doin?
[20:00:26] *** bmac has quit IRC
[20:00:31] <wafflej0ck> snurfery: pretty good, how bour yourself?
[20:00:33] *** crakrjak has joined #angularjs
[20:01:26] <snurfery> pretty decent, work's weird
[20:01:36] <snurfery> kinda thinking about jumping ship
[20:01:42] *** TheAceOfHearts has joined #angularjs
[20:02:18] *** gazbond has joined #angularjs
[20:02:22] <snurfery> but the world of code is fantastic, getting ready to finally demo my product to some clients =)
[20:02:37] *** RobinBAwesome_ has joined #angularjs
[20:02:37] *** arkin has quit IRC
[20:02:51] *** baweaver has quit IRC
[20:03:10] *** rinceRepeat has joined #angularjs
[20:03:23] *** RobinBAwesome has quit IRC
[20:03:23] *** RobinBAwesome_ is now known as RobinBAwesome
[20:03:39] *** hmsimha has quit IRC
[20:03:43] <rinceRepeat> anyone use the tuckey urlrewritefilter to work with html5mode
[20:03:54] *** bmac has joined #angularjs
[20:04:16] *** whitebook has quit IRC
[20:04:19] *** baweaver has joined #angularjs
[20:04:31] *** AdityaAngJS has joined #angularjs
[20:05:05] *** Typher has quit IRC
[20:05:14] *** jpstone has quit IRC
[20:05:38] *** tfennelly has joined #angularjs
[20:05:42] *** AdityaAngJS has quit IRC
[20:06:15] <wafflej0ck> snurfery: cool good to hear
[20:06:23] *** dc_ has quit IRC
[20:06:26] *** btyne1 has joined #angularjs
[20:06:39] *** frem has joined #angularjs
[20:07:13] *** frem has quit IRC
[20:07:24] *** monir has joined #angularjs
[20:07:27] *** zlalanne has joined #angularjs
[20:07:31] *** frem has joined #angularjs
[20:08:17] *** btyne has quit IRC
[20:08:43] *** javier___ has joined #angularjs
[20:08:55] *** javier___ has quit IRC
[20:08:55] *** disorder20 has joined #angularjs
[20:09:27] *** iribarne has joined #angularjs
[20:09:32] *** whitebook has joined #angularjs
[20:10:19] *** kas84 has joined #angularjs
[20:10:52] *** gekido has quit IRC
[20:11:26] *** gekido has joined #angularjs
[20:11:41] *** gazbond has quit IRC
[20:11:47] <burzum2> snurfery got it working the way you suggested it, thanks again
[20:12:03] <snurfery> sweet, good stuff
[20:12:30] *** mguillech has joined #angularjs
[20:12:31] *** lsiv568 has quit IRC
[20:12:45] *** gekido has quit IRC
[20:13:01] *** gekido has joined #angularjs
[20:13:12] *** desp has joined #angularjs
[20:13:13] *** mennea has quit IRC
[20:13:24] *** tfennelly has quit IRC
[20:13:38] *** jyot has quit IRC
[20:13:41] *** mennea has joined #angularjs
[20:13:42] *** tfennelly has joined #angularjs
[20:14:00] *** ColKurtz has joined #angularjs
[20:14:46] *** adpirz has joined #angularjs
[20:15:07] *** tristanp has quit IRC
[20:15:11] *** mennea has quit IRC
[20:15:25] *** firelinks has joined #angularjs
[20:15:27] *** dcherman has joined #angularjs
[20:15:39] *** gazbond has joined #angularjs
[20:16:04] *** whunt has quit IRC
[20:16:10] *** Skrypter has joined #angularjs
[20:16:21] *** \du has joined #angularjs
[20:16:21] *** \du has joined #angularjs
[20:16:34] *** cheef has joined #angularjs
[20:16:57] *** dcherman2 has quit IRC
[20:17:10] *** crakrjak has quit IRC
[20:17:45] *** shackleford has joined #angularjs
[20:18:16] *** angularUser44 has quit IRC
[20:18:17] *** reavengrey has quit IRC
[20:18:23] *** reavengrey has joined #angularjs
[20:18:53] *** jaznow has quit IRC
[20:19:20] *** tristanp has joined #angularjs
[20:19:36] *** junmin_ has joined #angularjs
[20:19:37] *** firelinks has quit IRC
[20:19:37] *** adpirz has quit IRC
[20:19:41] *** aendrew has quit IRC
[20:19:46] *** shackleford has quit IRC
[20:19:55] *** AngularUI has joined #angularjs
[20:19:55] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/5xrnBA
[20:19:55] <AngularUI> ng-grid/master 75bd9f0 c0bra: chore(Site): Use rawgit's CDN for data files...
[20:19:56] *** AngularUI has left #angularjs
[20:19:57] *** lineke_ has joined #angularjs
[20:19:57] *** cbennett has quit IRC
[20:20:07] *** Johnny13371337 has joined #angularjs
[20:20:08] *** Fire-Dragon-DoL has quit IRC
[20:20:20] *** shackleford has joined #angularjs
[20:20:27] *** plato has quit IRC
[20:20:54] *** Foxandxss has joined #angularjs
[20:20:54] *** lineke_ has left #angularjs
[20:21:15] *** mackieconnell has quit IRC
[20:21:18] *** reavengr1y has joined #angularjs
[20:21:23] *** Luser has joined #angularjs
[20:21:45] *** sonofdirt has joined #angularjs
[20:21:48] *** mennea has joined #angularjs
[20:21:49] *** joshontheweb has joined #angularjs
[20:21:57] *** junmin has quit IRC
[20:22:08] *** simplyshipley has quit IRC
[20:22:12] <reavengr1y> I feel so cool...I now have a good feel for all the bootstrap components
[20:22:18] <reavengr1y> Next step, angular-ui-bootstrap
[20:22:21] <Luser> Hiho. Is there any way to debug app using nodemon? I am getting an error on server-side and have no idea where it's placed, error message is confusing.
[20:22:39] *** doodlehaus has quit IRC
[20:22:40] *** evilaliv3 has quit IRC
[20:23:08] *** mmealling has quit IRC
[20:23:53] *** reavengrey has quit IRC
[20:24:14] *** bengillies has joined #angularjs
[20:24:55] *** baweaver has quit IRC
[20:25:12] <caitp> Luser: you want to debug your server?
[20:25:13] *** mmeallin_ has joined #angularjs
[20:25:23] *** AngularUI has joined #angularjs
[20:25:23] <AngularUI> [ng-grid] brianchance closed pull request #1935: Server side paging based on ng-grid. (master...3.0-paging) http://git.io/8gy7jQ
[20:25:23] *** AngularUI has left #angularjs
[20:25:23] <caitp> node-inspector is pretty good for that
[20:25:44] <Luser> Yeah, that's probably what I will need. I am following a tutorial and got stuck in weird moment.
[20:26:26] *** beachandbytes has joined #angularjs
[20:26:43] *** mennea_ has joined #angularjs
[20:27:12] *** cbennett has joined #angularjs
[20:27:13] *** prosper_ has joined #angularjs
[20:27:24] *** bmac has quit IRC
[20:28:04] *** mennea has quit IRC
[20:28:11] *** tfennelly has quit IRC
[20:28:29] *** bmac has joined #angularjs
[20:28:52] *** whunt has joined #angularjs
[20:28:52] *** bengillies has quit IRC
[20:29:31] *** gnrlbzik has quit IRC
[20:29:48] *** gnrlbzik has joined #angularjs
[20:30:24] *** krawek has joined #angularjs
[20:30:24] *** krawek has joined #angularjs
[20:30:31] *** MaxV has joined #angularjs
[20:31:17] *** Guest24183 has quit IRC
[20:31:37] *** cbennett has quit IRC
[20:31:43] *** Una has joined #angularjs
[20:32:16] *** doginal has quit IRC
[20:32:22] *** Z3R0 has joined #angularjs
[20:32:39] <Luser> https://gist.github.com/luseerr/d295969e51cd8ca076ef any idea where should i look for that error? I can't figure out what's wrong with my syntax.
[20:32:48] *** IvailoStoianov has quit IRC
[20:33:24] *** SergioFilhow_ has joined #angularjs
[20:33:45] *** Snugug has quit IRC
[20:33:54] *** gazbond has quit IRC
[20:34:26] <Foxandxss> on the files it says
[20:35:22] *** iribarne has quit IRC
[20:36:12] *** btyne1 has quit IRC
[20:36:27] *** anjumkaiser has quit IRC
[20:37:52] *** SergioFilhow_ has quit IRC
[20:37:52] *** shepheb has quit IRC
[20:38:21] *** doodlehaus has joined #angularjs
[20:38:32] *** Sebastien-L has quit IRC
[20:38:57] *** prosper_ has quit IRC
[20:39:09] *** phishy has quit IRC
[20:39:22] *** prosper_ has joined #angularjs
[20:39:48] *** darrin has quit IRC
[20:39:56] *** btyne has joined #angularjs
[20:39:57] *** shepheb has joined #angularjs
[20:40:32] *** OttlikG has joined #angularjs
[20:40:37] <OttlikG> Hi
[20:40:41] *** tfennelly has joined #angularjs
[20:40:45] <joelwallis> Hi
[20:41:09] <OttlikG> How can I use elemnt's attribute in expression like this: http://jsfiddle.net/OttlikG/HB7LU/8273/
[20:41:45] *** lsiv568 has joined #angularjs
[20:41:49] *** jonathanpglick has quit IRC
[20:42:16] *** MrBaboon has joined #angularjs
[20:42:20] *** trend has quit IRC
[20:42:26] <ioudas> Can anyone tell me why i cannot set the value of a check box model and keep getting undefined?
[20:42:31] <OttlikG> I tried almost every way, compile, $set, bind
[20:43:01] <joelwallis> OttlikG your code is incomplete. did you read the PhoneCat tutorial from AngularJS website?
[20:43:08] *** bayousoft has quit IRC
[20:43:12] *** crakrjak has joined #angularjs
[20:43:25] *** doginal has joined #angularjs
[20:43:25] *** jstroem has joined #angularjs
[20:43:31] *** eamonn has joined #angularjs
[20:43:39] *** bayousoft has joined #angularjs
[20:44:17] *** trend has joined #angularjs
[20:44:18] *** jonathanpglick has joined #angularjs
[20:44:38] *** AngularUI has joined #angularjs
[20:44:38] <AngularUI> [ng-grid] brianchance opened pull request #2089: 3.0 paging (master...3.0-paging) http://git.io/V9GroA
[20:44:38] *** AngularUI has left #angularjs
[20:44:38] *** zzing has joined #angularjs
[20:44:57] *** Nijikokun has joined #angularjs
[20:45:00] *** Nijikokun has quit IRC
[20:45:40] <OttlikG> <joelwallis> No I don't, but if this give me a solution I will check this
[20:45:44] *** Nijikokun has joined #angularjs
[20:45:50] *** samuel02 has joined #angularjs
[20:45:54] *** mrmoisesrar has joined #angularjs
[20:45:59] <mrmoisesrar> I'M MOISES
[20:46:03] <mrmoisesrar> I LIVING IN THE BRAZIL
[20:46:09] <mrmoisesrar> IM LEARNING ANGULAR...
[20:46:18] <oniijin> you seem to have stuck capslock key as well
[20:46:19] <TheAceOfHearts> please stop
[20:46:23] <mrmoisesrar> HAVE PEOPLE HERE ?
[20:46:24] <joelwallis> OttlikG the tutorial was the best resource for learning Angular that I've found
[20:46:31] <mrmoisesrar> rsrsrs
[20:46:35] <mrmoisesrar> done..
[20:46:36] <mrmoisesrar> rs
[20:46:40] *** darrin has joined #angularjs
[20:46:45] <joelwallis> mrmoisesrar you don't need to scream
[20:46:53] <mrmoisesrar> here is one cmm the angular ?
[20:46:53] <ioudas> Can anyone tell me why i cannot set the value of a check box model and keep getting undefined?
[20:46:55] *** carlosmantilla has joined #angularjs
[20:47:08] *** Fishy__ has joined #angularjs
[20:47:14] <mrmoisesrar> well..
[20:47:19] <mrmoisesrar> i have to go now
[20:47:21] *** Snugug has joined #angularjs
[20:47:29] <mrmoisesrar> other hours we to talking
[20:47:35] <mrmoisesrar> see you tomorrow
[20:47:37] *** carlosmantilla has quit IRC
[20:47:37] *** crakrjak has quit IRC
[20:47:40] <OttlikG> <joelwallis> And can you give me some hint, which part of the tutorial would solve my probleme?
[20:47:41] <mrmoisesrar> tks
[20:47:48] *** pikapp has quit IRC
[20:47:48] <mrmoisesrar> yes
[20:48:02] *** carlosmantilla has joined #angularjs
[20:48:17] <joelwallis> OttlikG scopes, models and of course expressions
[20:48:19] *** mrmoisesrar has quit IRC
[20:48:28] *** eamonn has quit IRC
[20:48:31] *** iribarne has joined #angularjs
[20:48:41] *** listerine has quit IRC
[20:48:48] *** iksik has quit IRC
[20:48:53] *** chrisshattuck has joined #angularjs
[20:49:42] *** MistahKurtz has quit IRC
[20:49:49] *** Una has quit IRC
[20:50:03] *** fourq has joined #angularjs
[20:50:12] *** joshontheweb has quit IRC
[20:50:16] *** zanea|away is now known as zanea
[20:50:27] *** seriema has joined #angularjs
[20:50:39] *** Fishy has quit IRC
[20:50:48] *** joshontheweb has joined #angularjs
[20:50:48] *** phuh has joined #angularjs
[20:50:51] *** shackleford has quit IRC
[20:50:59] *** danecando has quit IRC
[20:50:59] *** OttlikG_ has joined #angularjs
[20:51:28] *** iksik has joined #angularjs
[20:51:30] *** one0one has joined #angularjs
[20:51:32] *** favetelinguis has joined #angularjs
[20:51:43] *** swirlycheetah has joined #angularjs
[20:52:03] *** DrMabuse has quit IRC
[20:52:41] *** carlosmantilla has quit IRC
[20:52:53] *** gekido has quit IRC
[20:53:08] *** Una has joined #angularjs
[20:53:27] *** opiates has joined #angularjs
[20:54:04] *** dharmit has quit IRC
[20:54:17] *** spaceonline has quit IRC
[20:54:25] *** OttlikG has quit IRC
[20:55:04] *** spaceonline has joined #angularjs
[20:55:18] *** seriema has quit IRC
[20:55:36] *** DrMabuse has joined #angularjs
[20:55:39] *** whitebook has quit IRC
[20:56:00] *** cilkay has joined #angularjs
[20:56:08] *** mennea_ has quit IRC
[20:56:12] *** zwacky has joined #angularjs
[20:56:47] *** mennea has joined #angularjs
[20:56:48] *** Sna4x8 has quit IRC
[20:56:49] *** thedodd has joined #angularjs
[20:57:20] *** hnomad has joined #angularjs
[20:57:24] *** Sna4x8 has joined #angularjs
[20:58:12] *** prosper_ has quit IRC
[20:58:36] *** opiates has quit IRC
[20:58:43] *** amphetamines is now known as opiates
[20:59:13] *** baweaver has joined #angularjs
[20:59:22] *** jstroem has quit IRC
[21:00:11] *** pikapp has joined #angularjs
[21:00:20] *** iribarne has quit IRC
[21:00:22] *** spaceonline has quit IRC
[21:00:35] *** sahbeewah has joined #angularjs
[21:00:38] *** zzing has quit IRC
[21:01:01] *** jstroem has joined #angularjs
[21:01:03] *** whitebook has joined #angularjs
[21:01:10] *** gazbond has joined #angularjs
[21:01:17] *** RobinBAwesome has quit IRC
[21:02:07] *** prosper_ has joined #angularjs
[21:02:10] *** Una has quit IRC
[21:02:38] *** josh-k has joined #angularjs
[21:03:02] <Luser> Could anyone take a look at this: https://github.com/luseerr/angularjs ? I am getting an error undefined:0 ^ SyntaxError: Unexpected end of input even tho I am quite sure my syntax is correct..
[21:03:12] *** arkin has joined #angularjs
[21:03:24] *** plato|wtf has joined #angularjs
[21:03:43] *** syzygy___ has quit IRC
[21:03:44] *** plato|wtf has quit IRC
[21:03:58] *** phuh has quit IRC
[21:04:10] *** bayousoft has quit IRC
[21:04:14] *** plato has joined #angularjs
[21:04:25] *** phuh has joined #angularjs
[21:04:34] *** fultonbyrne has joined #angularjs
[21:04:37] *** bayousoft has joined #angularjs
[21:04:45] *** jMyles has joined #angularjs
[21:04:50] *** lthomas has joined #angularjs
[21:05:10] *** LeBlaaanc has joined #angularjs
[21:05:16] <Foxandxss> Luser: seems that the error is server side
[21:05:17] <Foxandxss> not angular
[21:05:21] *** fultonbyrne is now known as lilbaby
[21:05:33] *** s3shs_ has quit IRC
[21:05:40] *** iksik has quit IRC
[21:05:48] *** SergioFilhow has joined #angularjs
[21:06:04] <LeBlaaanc> Any of you using restangular? I have var _service = Restangular.all('cards'); and _service.getList({keywords: keywords}); ... should that not return /cards?keywords=...
[21:06:05] <Luser> That's even more weird since I don't have anything besides these files.
[21:06:16] <Foxandxss> I think that the empty json can be problematic
[21:06:18] <Foxandxss> try to put something
[21:06:23] *** digisky1 has quit IRC
[21:07:06] *** josh-k has quit IRC
[21:07:06] *** beachandbytes has quit IRC
[21:07:26] <Luser> True that, checking it right now.
[21:07:44] <LeBlaaanc> https://github.com/mgonto/restangular/issues/141 seems to hint it'd work that way
[21:08:01] *** arkin has quit IRC
[21:08:20] <Luser> Foxandxss: correct, empty json caused that problem, thank you.
[21:08:33] *** btc_panhandler has quit IRC
[21:08:58] *** IvailoStoianov has joined #angularjs
[21:09:06] *** ProLoser has joined #angularjs
[21:09:10] *** lsiv568 has quit IRC
[21:09:22] *** mistermjtek has joined #angularjs
[21:09:32] *** whunt has quit IRC
[21:09:35] *** mtsr has joined #angularjs
[21:10:43] *** restless_being has quit IRC
[21:10:49] *** restless_being has joined #angularjs
[21:11:16] <LeBlaaanc> ooh nm it does work... what's the proper way to read a query param in a controller? I tried passing $location and doing $location.search['keywords']
[21:11:24] *** lugzer has quit IRC
[21:11:32] *** opioids has joined #angularjs
[21:11:41] <LeBlaaanc> oh nm it's typo day today... just ignore me.
[21:12:07] *** shredjs_ has quit IRC
[21:12:15] *** firelinks has joined #angularjs
[21:12:47] *** jonathanpglick has quit IRC
[21:13:11] *** swirlycheetah has quit IRC
[21:13:12] *** bayousoft has quit IRC
[21:13:16] *** hnomad has quit IRC
[21:13:37] *** ProLoser has quit IRC
[21:13:41] *** Sawbones has joined #angularjs
[21:13:47] *** woebtz has joined #angularjs
[21:13:51] *** jonathanpglick has joined #angularjs
[21:13:55] *** bayousoft has joined #angularjs
[21:14:14] <Luser> LeBlaaanc: typos are hardest to debug, congrats :D.
[21:14:14] <Sawbones> Is there something special I need to do if I have a loop inside of another loop?
[21:14:29] <Luser> Sawbones: what exactly do you mean?
[21:14:31] <Sawbones> <div ng-repeat="form in forms">
[21:14:31] <Sawbones> <span ng-repeat="field in form.fields">
[21:14:32] <Sawbones> {{ field.type }}
[21:14:33] <Sawbones> </span>
[21:14:35] <Sawbones> </div>
[21:14:57] *** lsiv568 has joined #angularjs
[21:15:11] *** iribarne has joined #angularjs
[21:15:16] *** btc_panhandler has joined #angularjs
[21:15:44] *** baweaver has quit IRC
[21:16:09] *** Latros-OS has quit IRC
[21:16:14] *** bayousoft has quit IRC
[21:16:29] *** jillesme has joined #angularjs
[21:16:35] *** Una has joined #angularjs
[21:17:03] *** bayousoft has joined #angularjs
[21:17:12] *** simiographics_ has quit IRC
[21:17:33] *** whunt has joined #angularjs
[21:17:58] *** firelinks has quit IRC
[21:18:03] *** wallerdev has quit IRC
[21:18:08] *** Fishy__ has quit IRC
[21:18:41] <wafflej0ck> Sawbones: nope should be fine
[21:18:46] *** Fishy__ has joined #angularjs
[21:19:10] <Sawbones> Weird, because nothing appears for me, but if I just do a json dump I watch the bindings change in real time.
[21:19:16] *** bayousoft has quit IRC
[21:20:02] <Luser> Sawbones: put debugger inside first loop and inside second and check it that way?
[21:20:03] *** bayousoft has joined #angularjs
[21:20:10] *** jnott has joined #angularjs
[21:20:20] *** derickf has joined #angularjs
[21:21:02] <Sawbones> Yeah if I do a "{{ form | json }}" inside the first loop I get back the object and I see the fields array populate with data
[21:21:19] *** Milkweed has quit IRC
[21:21:20] *** derickf has quit IRC
[21:21:30] *** \du has quit IRC
[21:22:12] *** dejanr has joined #angularjs
[21:22:50] *** beachandbytes has joined #angularjs
[21:23:19] *** trend has quit IRC
[21:23:25] *** gnrlbzik has quit IRC
[21:23:30] *** beachandbytes has quit IRC
[21:23:36] <Sawbones> Even {{ form.fields | json }} I see it populate just fine
[21:23:41] *** prosper_ has quit IRC
[21:23:45] *** gnrlbzik has joined #angularjs
[21:23:45] <Sawbones> but the ng-repeat won't list it out
[21:24:01] *** Una has quit IRC
[21:24:01] *** brennon_ has quit IRC
[21:24:16] *** azureRaven has joined #angularjs
[21:25:05] *** trend has joined #angularjs
[21:25:06] *** charuru has quit IRC
[21:25:21] *** benschaaf has quit IRC
[21:25:37] <Sawbones> The elements arn't even hidden and when I try to view their source code it's empty
[21:25:44] <Sawbones> This is the weirdest angular issue I've ever had.
[21:26:09] *** soee has joined #angularjs
[21:26:10] *** mennea has quit IRC
[21:26:21] *** Owner__ has joined #angularjs
[21:26:45] *** Owner__ is now known as Guest57599
[21:26:45] *** arkin has joined #angularjs
[21:26:45] *** arkin has joined #angularjs
[21:26:47] *** mennea has joined #angularjs
[21:27:21] *** btc_panhandler has quit IRC
[21:27:38] *** AngularUI has joined #angularjs
[21:27:38] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/PiKJQQ
[21:27:38] <AngularUI> ng-grid/master 2b25f24 c0bra: fix(uiGrid): Fix race condition in data watcher...
[21:27:38] *** AngularUI has left #angularjs
[21:29:03] <ish> whats a good angular seed/scaffold? that perhaps shows controller as syntax from the get-go?
[21:29:09] *** seriema has joined #angularjs
[21:29:12] *** cthrax has joined #angularjs
[21:29:34] *** AngularUI has joined #angularjs
[21:29:34] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/mTv_6w
[21:29:34] <AngularUI> ng-grid/master f0f168c Brian Hann: Merge pull request #2084 from angular-ui/cellnav-and-speed-improvements...
[21:29:34] *** AngularUI has left #angularjs
[21:29:37] *** gazbond has quit IRC
[21:29:56] *** charuru has joined #angularjs
[21:30:53] *** MaxV has quit IRC
[21:30:54] *** shackleford has joined #angularjs
[21:31:16] *** mspier is now known as mspier|away
[21:31:18] *** bayousoft has quit IRC
[21:31:25] *** shackleford has quit IRC
[21:31:54] *** bayousoft has joined #angularjs
[21:32:05] *** shackleford has joined #angularjs
[21:32:14] *** baweaver has joined #angularjs
[21:32:23] *** jdj_dk has joined #angularjs
[21:33:17] *** Shai-Tan has joined #angularjs
[21:34:58] *** firelinks has joined #angularjs
[21:35:18] *** cbennett has joined #angularjs
[21:35:51] *** walden is now known as walden|errand
[21:36:32] *** AngularUI has joined #angularjs
[21:36:33] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/asg1Gg
[21:36:33] <AngularUI> ng-grid/master 181dec7 c0bra: fix(uiGrid): syntax error, change variable name
[21:36:33] *** AngularUI has left #angularjs
[21:37:01] *** jdj_dk has quit IRC
[21:37:03] *** desp has quit IRC
[21:37:32] *** RobinBAwesome has joined #angularjs
[21:37:49] <wafflej0ck> Sawbones: have you tried with just {{field}} in the nested loop
[21:37:58] *** MaxV has joined #angularjs
[21:37:58] *** svteoi has quit IRC
[21:38:12] *** MaxV has quit IRC
[21:38:26] *** qdk has quit IRC
[21:38:30] *** Shrooms has joined #angularjs
[21:38:30] *** MaxV has joined #angularjs
[21:38:36] *** AngularUI has joined #angularjs
[21:38:37] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/fXanlA
[21:38:37] <AngularUI> ng-grid/master 63fedb6 c0bra: fix(uiGrid): syntax error, change variable name
[21:38:37] *** AngularUI has left #angularjs
[21:39:06] <ioudas> Can anyone tell me why i cannot set the value of a check box model and keep getting undefined?
[21:39:17] *** cakirke has joined #angularjs
[21:40:20] *** bayousoft has quit IRC
[21:40:43] <wafflej0ck> ioudas: need to see the problem recreated http://plnkr.co/edit/zVkAMwZuYaiOT8Mu7ZZl?p=preview <-- this works from the docs just fine
[21:40:56] *** bayousoft has joined #angularjs
[21:41:15] *** moritzschaefer has joined #angularjs
[21:41:49] *** jillesme has quit IRC
[21:42:25] *** jillesme has joined #angularjs
[21:42:32] <wafflej0ck> ish: not sure if any of the scaffold or project generators use that by default but it's just a change in how you define your ng-controller and removing $scope and using var ctrl = this; as a replacement
[21:43:01] *** carlosmantilla has joined #angularjs
[21:43:43] *** carlosmantilla has quit IRC
[21:44:03] *** carlosmantilla has joined #angularjs
[21:44:12] *** IvailoStoianov has quit IRC
[21:44:36] *** carlosmantilla has quit IRC
[21:44:41] *** slopjong has quit IRC
[21:44:59] *** carlosmantilla has joined #angularjs
[21:45:05] *** pikapp has quit IRC
[21:45:09] *** soee has quit IRC
[21:45:13] *** azureRaven has quit IRC
[21:45:31] *** carlosmantilla has quit IRC
[21:45:36] *** pikapp has joined #angularjs
[21:45:43] *** iribarne has quit IRC
[21:45:54] *** carlosmantilla has joined #angularjs
[21:45:55] <burzum2> What could be a reason that I just get {body: 'text'} in my function in my controller when I have ng-model="comment.author" and another input with "ng-model="comment.body"?
[21:46:16] <wafflej0ck> ish: just modified the plunk I just linked to show using controller as ctrl syntax http://plnkr.co/edit/zVkAMwZuYaiOT8Mu7ZZl?p=preview
[21:47:07] *** soee has joined #angularjs
[21:47:09] *** cheef has quit IRC
[21:47:26] *** cheef has joined #angularjs
[21:47:45] *** pikapp has quit IRC
[21:48:02] *** mspier|away is now known as mspier
[21:48:04] <wafflej0ck> ish: personally I started off with the yo angular generator and have just tweaked the Gruntfile.js to my liking and have used that as a base for other projects, that said there are quite a few generators out there for angular stuff so can't speak for all of it
[21:48:05] *** firelinks has quit IRC
[21:49:07] *** benschaaf has joined #angularjs
[21:49:12] *** basiclaser_ has joined #angularjs
[21:49:16] *** NoNMaDDeN has joined #angularjs
[21:49:47] *** Guest57599 has quit IRC
[21:49:48] *** moafoca has joined #angularjs
[21:50:09] *** cotko has quit IRC
[21:50:12] *** pikapp has joined #angularjs
[21:50:13] <wafflej0ck> burzum2: plunkr gist or pastebin or something, no reason that should happen
[21:50:15] *** mattattaque has joined #angularjs
[21:50:17] *** carlosmantilla has quit IRC
[21:50:26] *** zB0hs has joined #angularjs
[21:50:32] <burzum2> wafflej0ck, uff ok, i would have to reduce the script a lot for that
[21:50:40] *** qdk has joined #angularjs
[21:51:01] <wafflej0ck> burzum2: if you can't easily reduce the problem to a plunkr gist or pastebin the relevant code and point out the parts that should be working
[21:51:02] *** TommyO has quit IRC
[21:51:19] *** Immutef_ is now known as Immutef
[21:51:23] <ish> so the "as" in 'ng-controller="ExampleController as exampCtrl"' is required when doing your controllers this way right?
[21:51:28] *** lexek__ has quit IRC
[21:51:38] *** NoNMaDDeN has quit IRC
[21:51:42] <wafflej0ck> ish: yup that makes it so you dont need $scope and can use "this"
[21:51:46] <burzum2> wafflej0ck http://pastebin.com/x9HqA4vs
[21:52:22] <wafflej0ck> ish: a protip from others too at the top of the controller do var myCtrl = this; then refer to it by myCtrl so you don't have problems with "this" in nested functions
[21:52:27] *** kentcdodds has joined #angularjs
[21:52:34] *** DannyCallaghan has joined #angularjs
[21:52:47] <ioudas> wafflej0ck, http://pastebin.com/P062Nm8k
[21:53:01] <ioudas> i instantied it, and the model still doesnt work. nor does adding it to root scope
[21:53:04] <ioudas> or a service
[21:53:14] *** TommyO has joined #angularjs
[21:53:27] *** cheef has quit IRC
[21:53:43] *** Typher has joined #angularjs
[21:54:09] *** busticated has quit IRC
[21:54:16] <ish> wafflej0ck: Ok, got a basic setup going using this method. Thanks for the help today.
[21:54:32] *** grogs has joined #angularjs
[21:54:58] *** whitebook has quit IRC
[21:55:29] *** gnrlbzik has quit IRC
[21:55:39] *** joelwallis has quit IRC
[21:55:41] *** bengillies has joined #angularjs
[21:55:47] <wafflej0ck> ish: np
[21:55:51] *** dc_ has joined #angularjs
[21:56:30] *** mennea has quit IRC
[21:56:51] *** mennea has joined #angularjs
[21:56:52] *** btyne has quit IRC
[21:57:19] *** Xethron has quit IRC
[21:57:25] *** erkorivo has joined #angularjs
[21:58:41] *** Typher has quit IRC
[21:59:40] <wafflej0ck> burzum2: not a problem here http://plnkr.co/edit/2kFVmrQ3mNlRtVOfOlGg?p=preview copied and pasted your code, removed some unnecessary parts for demoing
[22:00:17] *** bengillies has quit IRC
[22:00:47] *** c00ljs has quit IRC
[22:01:03] <burzum2> wafflej0ck, thanks... :( I have no idea whats wrong. Is that maybe because the directive is inside another directive?
[22:01:22] *** whitebook has joined #angularjs
[22:01:33] *** marcjs has joined #angularjs
[22:01:38] <wafflej0ck> burzum2: not usually an issue with isolate scope but dunno really what else would cause the behavior you describe, will let you know if I think of anything
[22:01:40] *** iribarne has joined #angularjs
[22:01:50] <burzum2> thank you
[22:01:51] <wafflej0ck> ioudas: seems you're using ng-true-value in a strange way
[22:02:06] *** btc_panhandler has joined #angularjs
[22:02:23] <wafflej0ck> ioudas: without that it expects a boolean
[22:02:42] *** thedodd has quit IRC
[22:02:44] *** mennea has quit IRC
[22:02:48] <wafflej0ck> ioudas: with ng-true-value or ng-false-value you're telling it to use a special value for checking/setting what happens to the model when the box is checked or not
[22:02:58] *** baweaver has quit IRC
[22:03:06] *** nya has joined #angularjs
[22:03:07] <wafflej0ck> ioudas: maybe you need a radio instead? dunno what you're trying to make it do really
[22:03:15] *** iribarne has quit IRC
[22:03:16] *** yaneq has joined #angularjs
[22:03:26] <ioudas> ok, let me remove it
[22:03:34] *** alinouman has quit IRC
[22:03:44] *** adpirz has joined #angularjs
[22:03:47] *** trend has quit IRC
[22:04:01] *** phuh has quit IRC
[22:04:14] *** eBureau has joined #angularjs
[22:04:21] *** btyne has joined #angularjs
[22:04:25] *** phuh has joined #angularjs
[22:05:26] *** mackieconnell has joined #angularjs
[22:05:55] *** Milkweed has joined #angularjs
[22:06:08] *** vassagus has joined #angularjs
[22:06:18] <deweydb> with ui-router how do i get the name of the parent state?
[22:06:18] *** wallerdev has joined #angularjs
[22:06:26] *** ProLoser has joined #angularjs
[22:06:31] <ish> Is there a helpers out there to allow you to break your app into multiple JS files, but only include one main js files that will pull in the others?
[22:06:38] <ish> Is that what requirejs and other stuff are for?
[22:06:44] <wafflej0ck> deweydb: would guess it might be available from the $state.currentState but dunno
[22:06:45] *** bpmj has quit IRC
[22:06:51] *** trend has joined #angularjs
[22:06:56] <kuadrosx> ok
[22:07:01] <wafflej0ck> ish: in the yo angular, generator Grunt should do this with wiredep for you
[22:07:16] <deweydb> wafflej0ck: not seeing it
[22:07:25] *** Rafzzz has joined #angularjs
[22:07:31] <wafflej0ck> ish: it's a grunt plugin that reads the bower.json of your dependencies and uses the main property to import the scripts/styles for you
[22:07:57] *** JohnBat26 has quit IRC
[22:07:58] <wafflej0ck> ish: if you use, yo angular, you can use grunt serve to have that happen automatically to test, then use grunt build to have it actually inject those and do a full build to the /dist folder
[22:08:01] *** rho has quit IRC
[22:08:11] *** erkorivo has left #angularjs
[22:08:18] *** adpirz has quit IRC
[22:08:19] <ish> not using grunt or any js specific build tool (yet). Probably should look into it.
[22:08:26] <deweydb> oh i guess i can just append it to the data
[22:08:57] *** whitebook has quit IRC
[22:09:00] <burzum2> wafflej0ck, i know what the issue is causing, my loggedIn var, it comes from the upper level scope. Any idea how I can make it available in my nested directive?
[22:09:06] *** gnrlbzik has joined #angularjs
[22:09:46] <wafflej0ck> burzum2: typically you want to just add it to the things passed into the directive, this keeps the directive more reusable too so it doesn't need the context of the parent scope
[22:10:02] <wafflej0ck> burzum2: so add it to the scope and just pass that in too
[22:10:08] <burzum2> hmm i thought about doing that, your argument is valid
[22:10:20] <burzum2> thanks again
[22:10:22] <wafflej0ck> burzum2: np
[22:10:28] *** thedodd has joined #angularjs
[22:10:31] *** tech2_ has quit IRC
[22:10:31] *** rho has joined #angularjs
[22:10:52] <wafflej0ck> ish: yeah gulp or grunt are both very useful for building bigger projects and dealing with dependencies and automating tests
[22:10:55] *** nuizzy has joined #angularjs
[22:11:15] *** rosieres has quit IRC
[22:11:42] *** knownasilya has joined #angularjs
[22:12:09] *** tplaner has joined #angularjs
[22:12:14] *** ebryn_ is now known as ebryn
[22:12:27] <ish> currently pulling in my js with webjars, but you lose out on some of the frontend ecosystem that way I think.
[22:12:28] <wafflej0ck> ish: I did a walkthrough from start to finish (a few small things have to be tweaked with Ubuntu 14.04 or other OSes but the overall process is the same) https://www.youtube.com/watch?v=zQNbsCTFrAA has all the steps for setting up the parts, in the description there are jump points if you already have some *nix system installed
[22:13:11] *** fedenunez has quit IRC
[22:13:17] <wafflej0ck> ish: yeah dunno about that, I used maven in the Java world but there's a lot of nice plugins written in gulp and grunt to handle JS specific problems
[22:13:22] *** bayousoft has quit IRC
[22:13:48] <ish> pref for gulp or grunt? I have one play project using Grunt, but never really venture into the Gruntfile.
[22:13:52] *** bayousoft has joined #angularjs
[22:14:08] *** chrisshattuck has quit IRC
[22:14:09] *** mennea has joined #angularjs
[22:14:15] *** TheAceOfHearts has quit IRC
[22:14:32] *** TheAceOfHearts has joined #angularjs
[22:14:33] <wafflej0ck> ish: personally I use grunt but this is just a matter of old habits and the base generator I started with when learning, gulp seems a bit easier though and probably better if you have to learn one now anyhow
[22:14:34] *** btyne has left #angularjs
[22:15:13] <wafflej0ck> ish: basically with grunt it's a lot like maven
[22:15:45] <wafflej0ck> you have a project config file that says I need all these plugins, then has plugin config for each one and says read from this file location and write to that file location for each process
[22:15:52] *** tech2_ has joined #angularjs
[22:16:09] <wafflej0ck> ish: with gulp it's more a matter of piping the data from some initial input through a bunch of processes and then writing it to the output
[22:16:19] *** chrisshattuck has joined #angularjs
[22:16:26] *** Surface has quit IRC
[22:17:01] *** whunt has quit IRC
[22:17:09] *** cuebix-wk has joined #angularjs
[22:17:32] *** cuebix-wk has joined #angularjs
[22:17:37] <cuebix-wk> Whaddup my ninjas
[22:17:53] *** busticated has joined #angularjs
[22:18:01] *** emmesswhy has joined #angularjs
[22:18:07] <cuebix-wk> I have a parser that i'm applying to inputs and text areas to sanitize the data. basically stripping out anything non-ascii
[22:18:09] *** bpmj has joined #angularjs
[22:18:19] <ish> wafflej0ck: Thanks. I'm sure I'll pick one up eventually. Will checkout your video as well.
[22:18:21] <cuebix-wk> it works, but when i enter a character that is non-ascii, it still visibly remains in the input
[22:18:25] <cuebix-wk> How do I fix that?
[22:18:30] <wafflej0ck> ish: cool
[22:18:31] <ioudas> wafflej0ck, that was it.
[22:18:42] <wafflej0ck> ioudas: nice, mystery solved :)
[22:19:11] *** baweaver has joined #angularjs
[22:19:20] *** cakirke has quit IRC
[22:19:20] *** cthrax has quit IRC
[22:19:21] <ioudas> yeah
[22:19:22] <wafflej0ck> cuebix-wk: I'm not sure but have you looked through all the ngModelController docs about setting the view value?
[22:19:33] *** cthrax has joined #angularjs
[22:19:44] *** abram is now known as abram_lunch
[22:19:54] <wafflej0ck> cuebix-wk: that stuff is pretty difficult to grok and I don't have a ton of experience with it so don't know off hand but I imagine it has something to do with that
[22:19:56] *** bpmj has quit IRC
[22:20:00] <cuebix-wk> I'll take another peek. I tried comparing my value to the original and if it differed call ctrl.$setViewValue, but it didn't seem to work
[22:20:07] <cuebix-wk> ok I'll look again
[22:20:07] <ish> oh, with controller as syntax, how do I get the "as" effect when defining my controller against the routeProvider, instead of ng-controller?
[22:20:28] <wafflej0ck> ish: should be the same
[22:20:55] <wafflej0ck> ish: I'm pretty new to using it too but for the most part it should work anywhere you would have a controller def from what I understand
[22:20:58] <cuebix-wk> Oh, I think I forgot to call $render
[22:21:02] *** beckyconning_ has joined #angularjs
[22:22:00] *** arkin has quit IRC
[22:22:03] *** lthomas has quit IRC
[22:22:18] <ish> oh, controllerAs - from the original link you gave me earlier today..
[22:22:45] *** Reskp has quit IRC
[22:23:12] *** Oxynum has joined #angularjs
[22:23:17] *** dcherman2 has joined #angularjs
[22:23:25] <wafflej0ck> ish: ah k right I see what you mean if you have the controler defined inline as a function
[22:23:36] *** caitp has quit IRC
[22:23:41] *** Oxynum has quit IRC
[22:24:05] *** kevinw has quit IRC
[22:24:12] <wafflej0ck> ish: typically I just use the string reference to them so wasn't thinking about that
[22:24:21] <cuebix-wk> Ok, that works, but in a textarea the cursor jumps to the end when I do that :/ hmm
[22:24:22] *** pikapp has quit IRC
[22:24:28] *** hachiya has quit IRC
[22:25:05] *** avree has joined #angularjs
[22:25:05] *** dcherman has quit IRC
[22:25:09] *** avree has quit IRC
[22:26:30] *** jacuqesdancona_ has joined #angularjs
[22:27:11] *** Rahul_Roy_ has quit IRC
[22:27:42] *** threesixes has quit IRC
[22:29:49] *** lsiv568 has quit IRC
[22:29:54] *** caitp has joined #angularjs
[22:30:24] *** tristanp has quit IRC
[22:30:26] *** danecando has joined #angularjs
[22:30:34] *** arpu has quit IRC
[22:30:47] *** nachinius_ has quit IRC
[22:31:09] *** jacuqesdancona_ has quit IRC
[22:31:24] *** bayousoft has quit IRC
[22:31:45] *** tristanp has joined #angularjs
[22:32:00] *** bayousoft has joined #angularjs
[22:32:33] *** gurke_ has quit IRC
[22:32:39] *** subtone100 has joined #angularjs
[22:32:53] *** platoscave has joined #angularjs
[22:33:04] *** ooshskadoosh has joined #angularjs
[22:33:16] *** Surface has joined #angularjs
[22:33:17] *** macabre has quit IRC
[22:33:44] <subtone100> learning here… can anyone tell me why the api call in the controller doesn't work when the submit is clicked? http://plnkr.co/edit/FHdaRSccHi34Uni6JKRf?p=preview
[22:34:09] <ooshskadoosh> Has anyone noticed how $q.all() only provides values from the first rejected promise to the function you pass it?
[22:34:26] *** baweaver has quit IRC
[22:34:55] *** DannyCallaghan has quit IRC
[22:34:59] *** kentcdodds has quit IRC
[22:35:34] <ooshskadoosh> @subtone100 I'll take a look
[22:35:47] <subtone100> ooshskadoosh: thanks!
[22:36:29] <deweydb> how do i get the current states name without the "parent" part, ie. state.current.name = "parentState.currentState" but i just want currentState
[22:36:39] <deweydb> i guess i could just chop it on the .
[22:36:46] <deweydb> but that seems hacky
[22:36:51] *** hmsimha has joined #angularjs
[22:36:57] *** Oxynum has joined #angularjs
[22:37:10] *** chizbang has joined #angularjs
[22:37:13] *** phuh has quit IRC
[22:37:15] <subtone100> ooshskadoosh: the gravatar expression directive actually shouldn't be there (github deprecated that) but it still fails without it.
[22:37:19] <ooshskadoosh> So it is causing a full page refresh when you submit
[22:37:40] <subtone100> ooshskadoosh: ah, ok… didn't really grok that was happening, but yes.
[22:38:08] <subtone100> ooshskadoosh: I went into the network tab of the chrome dev tools and noticed that it was showing the call in red, as well.
[22:39:08] <chizbang> Please for the love of god help! Why on earth isnt my site working? http://pastebin.com/A186ne08 Literally, no errors what so ever but nothing displays from the login.html template. Unyet, if I change the template file to something that does not exist it just throws an error that the template doesnt exist
[22:39:11] *** frem_ has joined #angularjs
[22:39:26] *** sahbeewah has quit IRC
[22:39:41] <ooshskadoosh> You could inject $event
[22:39:47] <ooshskadoosh> and do preventDefault()
[22:39:52] <subtone100> ooshskadoosh: ok
[22:39:53] <ooshskadoosh> not sure why it doesn't do that for you.
[22:40:36] <subtone100> ooshskadoosh: yes… it's mysterious… it's part of a tutorial and works in the video… I thought it might have been a plunker issue, but I downloaded and ran it, and has the same results.
[22:40:43] <ooshskadoosh> you ng-submit="search($event, username)
[22:40:53] <subtone100> ooshskadoosh: ok
[22:41:09] <ooshskadoosh> Could be they changed its behavior
[22:41:17] *** dsdeiz has joined #angularjs
[22:41:23] <ooshskadoosh> not super familiar with ng-submit tbh
[22:41:31] *** nemothekid has joined #angularjs
[22:41:43] *** optikalmouse has quit IRC
[22:41:53] <subtone100> ooshskadoosh: right on… and thanks.
[22:42:03] *** blckamj has joined #angularjs
[22:42:10] *** sekyms has joined #angularjs
[22:42:36] <blckamj> Hi all
[22:42:45] *** frem has quit IRC
[22:42:50] *** Snugug has quit IRC
[22:42:51] <sekyms> So my MainCtrl is loading twice, and I'm not sure why. I have a theory, but I'm not sure the correct syntax to fix it
[22:42:57] *** bpmj has joined #angularjs
[22:43:10] <blckamj> I've a question, I've working a lil bit in this question and I've not found a solution, let's go:
[22:43:37] <subtone100> ooshskadoosh: completely worked. wow.
[22:43:38] *** mennea has quit IRC
[22:43:44] <ooshskadoosh> That is strange.
[22:43:44] <subtone100> ooshskadoosh++
[22:43:45] <UniBot> ooshskadoosh Karma: 1
[22:44:02] <sekyms> I think it's because I assign a controller in the $routeProvider section and then refer to it again in the partial
[22:44:12] *** spaceonline has joined #angularjs
[22:44:16] *** mennea has joined #angularjs
[22:44:35] *** spaceonline has quit IRC
[22:44:42] <sekyms> but I don't know how to give a controller an alias without using ng-controller on an element
[22:44:54] <blckamj> I've a simple landpage, of course under an ng-app and it has an fixed header and footer, and ng-view between them, I would like to redirect the page when the user log in into the page, and change completely this fixed header and footer, any comments about how to achieve that?
[22:44:56] <ooshskadoosh> @subtone100 I think it may be for cases where you want the form to submit after doing something in JS
[22:45:07] *** spaceonline has joined #angularjs
[22:45:11] *** ajk27 has quit IRC
[22:45:17] *** platoscave has quit IRC
[22:45:19] <ooshskadoosh> Guess it makes sense
[22:45:32] *** spaceonline has quit IRC
[22:45:33] *** fotoflo has joined #angularjs
[22:45:37] <subtone100> ooshskadoosh: 'it' being ng-submit, or?
[22:45:42] <ooshskadoosh> We yeah
[22:45:44] <ooshskadoosh> Yeah
[22:45:54] <subtone100> ah ok.
[22:45:58] *** baweaver has joined #angularjs
[22:45:59] <ooshskadoosh> If you wanted to... you could create a prevent-default directive and add it to that element.
[22:46:08] *** spaceonline has joined #angularjs
[22:46:27] *** AngularUI has joined #angularjs
[22:46:27] <AngularUI> [ng-grid] c0bra pushed 2 new commits to master: http://git.io/cK9ojg
[22:46:28] <AngularUI> ng-grid/master fa352e7 c0bra: Update gitter webhook address to right value
[22:46:28] <AngularUI> ng-grid/master 5ffefaf c0bra: fix(Selection): Change api for getSelectAllState()...
[22:46:28] *** AngularUI has left #angularjs
[22:46:30] *** spaceonline has quit IRC
[22:46:44] <blckamj> or... does someone knows how to change the "layout" for the page?
[22:46:45] *** spaceonline has joined #angularjs
[22:46:52] *** walden|errand is now known as walden
[22:46:52] <blckamj> for totally change the header and footer...:S
[22:47:00] <LeBlaaanc> Anyone using typeahead... curious how to get the value typed in in the typeahead-on-select callback.
[22:47:08] <LeBlaaanc> http://angular-ui.github.io/bootstrap/
[22:47:10] <fotoflo> Hey. I’ve got a simple method in a controller… http://pastebin.com/tpvGnhtP after a $promise.then(function(){ # here }) I want to access the outter THIS… any ideas?
[22:47:26] *** thedodd has quit IRC
[22:48:03] *** vivalet has joined #angularjs
[22:48:18] <blckamj> ooshskadoosh: It seems you control :) can you please help me?
[22:48:21] *** vivalet has quit IRC
[22:48:47] <subtone100> ooshskadoosh: figure out why it worked in the tutorial video: the refresh behavior was introduced with 1.31, and the video was using 1.3.0.
[22:48:55] <subtone100> ooshskadoosh: *figured
[22:49:02] <ctanga> hey
[22:49:04] *** platoscave has joined #angularjs
[22:49:20] <ooshskadoosh> nice
[22:49:23] <ooshskadoosh> good fine
[22:49:26] *** bayousoft has quit IRC
[22:49:30] *** Owner__ has joined #angularjs
[22:49:36] <ooshskadoosh> @blckamj what do you need help with?
[22:49:53] *** bayousoft has joined #angularjs
[22:49:55] <blckamj> ooshskadoosh: I wrote the question upper, if u want I cant explain it better
[22:50:04] *** mtsr has quit IRC
[22:50:04] *** Owner__ is now known as Guest21302
[22:50:14] *** nodedfree has quit IRC
[22:50:17] <blckamj> ooshskadoosh: I think it should be simple to solve, but I've no ideas right now
[22:50:33] <fotoflo> ooshskadoosh: Hey. I’ve got a simple method in a service… http://pastebin.com/tpvGnhtP after a $promise.then(function(){ # here }) I want to access the outter THIS, aka the service… any ideas?
[22:51:03] *** Nijikokun has quit IRC
[22:51:22] <blckamj> ooshskadoosh: I've a landpage, with fixed header and footer, after login I want to redirect the user to another "layout", that means a new visual aspect(admin like) and that needs to change fixed parts like header and footer
[22:51:33] <blckamj> ooshskadoosh: to load the new ones for admin template
[22:51:34] *** nodedfree has joined #angularjs
[22:52:15] *** ajk27 has joined #angularjs
[22:52:38] *** tfdtyfy has joined #angularjs
[22:53:00] *** tfdtyfy has quit IRC
[22:53:04] <ooshskadoosh> Can you start a new room?
[22:53:15] <blckamj> new room?
[22:53:18] <ooshskadoosh> Hard to read with all these messages
[22:54:34] <Foxandxss> he is the only talking heh
[22:54:58] *** niklasmodess has quit IRC
[22:55:22] *** Greed has joined #angularjs
[22:55:43] *** subtone100 has left #angularjs
[22:55:52] *** leex has left #angularjs
[22:55:57] *** bjtitus has quit IRC
[22:56:00] <chizbang> how do I get $rootscope outside a function to use in an argument?
[22:56:07] *** thedodd has joined #angularjs
[22:56:13] *** Rafzzz has quit IRC
[22:56:23] *** Rafzzz has joined #angularjs
[22:56:40] *** joshontheweb has quit IRC
[22:56:51] *** pikapp has joined #angularjs
[22:57:08] *** mackieconnell has quit IRC
[22:57:11] *** subtone100 has joined #angularjs
[22:57:34] *** rafaelabreu has joined #angularjs
[22:57:39] *** DavidBowie has quit IRC
[22:58:12] <TheAceOfHearts> Foxandxss: I was talking to one of my japanese coworkers today and telling him about JWT, and then he goes: oh yes, I know about JWT, I'm maintainer of OpenSSL for Ruby D:
[22:58:12] *** firelinks has joined #angularjs
[22:58:21] *** Sky[x] has quit IRC
[22:58:22] <snurfery> umm, where the heck are the old versions of ngSanitize?
[22:58:50] <Foxandxss> TheAceOfHearts: nice
[22:59:17] *** willeponken has joined #angularjs
[22:59:25] *** Siecje has left #angularjs
[22:59:26] *** glassir has quit IRC
[22:59:28] *** ColKurtz has quit IRC
[22:59:50] *** sekyms has left #angularjs
[23:01:29] *** tplaner has quit IRC
[23:02:09] <LeBlaaanc> with typeahead-on-select="onSelect($viewValue)" ... can I pass in the <input's selected value similar to $viewValue?
[23:02:10] *** joshontheweb has joined #angularjs
[23:03:02] *** willeponken has quit IRC
[23:03:30] <burzum2> <wa-comments-reply ng-if="replyFormList[comment.Comment.id] == true"... <- Can I somehow access the value I pass to the if inside my directive? I need a way to toggle this to false from inside the directive.
[23:03:44] *** willeponken has joined #angularjs
[23:04:03] *** spaceonline has quit IRC
[23:04:58] *** gazbond has joined #angularjs
[23:04:59] *** Trow has quit IRC
[23:05:26] *** gnrlbzik has quit IRC
[23:06:00] *** simiographics_ has joined #angularjs
[23:06:44] <chizbang> tes?
[23:06:57] <chizbang> Why isnt my UI router showing the content of its templaes?
[23:07:05] *** mot0rola has joined #angularjs
[23:07:18] *** tristanp has quit IRC
[23:07:19] *** japhar81 has quit IRC
[23:07:22] *** Limix has joined #angularjs
[23:07:59] *** arpu has joined #angularjs
[23:08:45] *** simiographics_ has quit IRC
[23:08:59] <oniMaker> What's the best way to store utility methods or common functionality?
[23:09:08] *** simiographics_ has joined #angularjs
[23:09:09] *** Reskp has joined #angularjs
[23:09:12] *** Trow has joined #angularjs
[23:09:28] *** abram_lunch is now known as abram
[23:09:31] <oniMaker> Specifically, I have common code in $resource transformResponse() that'd I'd like to abstract
[23:10:01] <lilbaby> Can anyone give me any advice on using interceptors to launch modals?
[23:10:07] <lilbaby> Using angular-bootstrap?
[23:10:13] *** japhar81 has joined #angularjs
[23:10:13] *** Z3R0 has quit IRC
[23:10:30] *** grogs has quit IRC
[23:10:30] *** bayousoft has quit IRC
[23:11:03] *** bayousoft has joined #angularjs
[23:11:17] *** bengillies has joined #angularjs
[23:11:28] *** cannap has quit IRC
[23:11:29] *** zzing has joined #angularjs
[23:11:40] *** pikapp has quit IRC
[23:12:15] *** pikapp has joined #angularjs
[23:12:17] *** lthomas has joined #angularjs
[23:13:23] *** scythe__ has joined #angularjs
[23:13:39] *** mennea has quit IRC
[23:13:53] *** thedodd has quit IRC
[23:13:59] *** benschaaf has quit IRC
[23:14:16] *** mennea has joined #angularjs
[23:14:18] *** otisZart has quit IRC
[23:14:37] *** Reskp has quit IRC
[23:14:40] *** DLSteve_ has quit IRC
[23:15:42] <ctanga> any ui-router users wanna give 0.2.12 a spot test before I tag it?
[23:16:06] *** bengillies has quit IRC
[23:16:27] *** codeninja-don has joined #angularjs
[23:17:01] *** codeninja-don has quit IRC
[23:17:10] *** Aliks has quit IRC
[23:17:39] <seriema> semantically, how would you name filter (converters)? like celsius to fahrenhet
[23:17:49] *** hswolff has quit IRC
[23:17:58] <TheAceOfHearts> ctanga: yolo
[23:17:58] *** evilaliv3 has joined #angularjs
[23:18:07] *** stirlingw has quit IRC
[23:18:20] <seriema> {{temp | c2f}} ? {{temp | fahrenheit}} ?
[23:18:33] <Foxandxss> ctanga: didn't know that you were maintaining it
[23:18:41] *** yaneq has quit IRC
[23:18:48] <ctanga> Foxandxss: i am indeed
[23:18:49] *** ooshskadoosh has quit IRC
[23:18:54] <Foxandxss> that is really nice :)
[23:19:29] *** whitebook has joined #angularjs
[23:19:30] *** adben has quit IRC
[23:19:32] * seriema applauds ctanga
[23:19:39] *** stirlingw has joined #angularjs
[23:19:41] *** tech2_ has quit IRC
[23:20:19] <ctanga> anyway, here it is: https://gist.github.com/christopherthielen/db5a9bbee32b53c10009
[23:20:29] *** jillesme has quit IRC
[23:20:44] *** mjs2600 has quit IRC
[23:21:02] *** mjs2600 has joined #angularjs
[23:22:11] *** hswolff has joined #angularjs
[23:22:23] *** FIFOd[a] has quit IRC
[23:23:07] <seriema> no takers on my question?
[23:23:15] *** gnrlbzik has joined #angularjs
[23:23:41] *** darrin has quit IRC
[23:23:41] *** yaneq has joined #angularjs
[23:23:54] *** woah has joined #angularjs
[23:24:16] *** whitebook has quit IRC
[23:24:32] <TheAceOfHearts> what question?
[23:24:51] <ctanga> I wouldn’t go ‘fahrenheit’ because it doesn’t say what from
[23:24:56] *** nemothekid has quit IRC
[23:25:27] *** nemothekid has joined #angularjs
[23:26:07] <TheAceOfHearts> ctanga: changelog?
[23:26:12] *** annlewis has quit IRC
[23:26:13] <TheAceOfHearts> does it make everything awesome?~
[23:26:42] *** bradgignac has quit IRC
[23:26:55] *** BillCriswell has quit IRC
[23:27:01] <seriema> TheAceOfHearts: semantically, how would you name filter (converters)? like celsius to fahrenhet. {{temp | c2f}} ? {{temp | fahrenheit}} ?
[23:27:02] *** jotaefe has quit IRC
[23:27:05] <lilbaby> degCtoF?
[23:27:15] <seriema> ctanga: exactly. but it becomes so long otherwise
[23:27:18] <seriema> lilbaby: hmm
[23:27:26] <seriema> degrees:fahrenheit?
[23:27:35] <lilbaby> oooh
[23:27:37] <lilbaby> I like that
[23:27:42] <TheAceOfHearts> well, it depends what temperature is in
[23:27:45] <TheAceOfHearts> yeah
[23:28:05] <TheAceOfHearts> you should use Kelvin though
[23:28:12] <seriema> yeah, which would be a problem if I have 3 types (Kelvin, Fahrenheit, Celsius)
[23:28:18] <seriema> lol
[23:28:23] <TheAceOfHearts> you should store all temps in kelvin
[23:28:24] *** DrMabuse has quit IRC
[23:28:32] <TheAceOfHearts> and the filter can conver to F and C
[23:28:32] *** bayousoft has quit IRC
[23:28:35] *** emanuele has joined #angularjs
[23:28:38] <seriema> in this case, I'm formatting stuff from an API I don't control
[23:28:40] *** baweaver has quit IRC
[23:28:50] <seriema> so might as well design for that
[23:29:09] *** bayousoft has joined #angularjs
[23:29:10] *** zzing has quit IRC
[23:29:40] *** mdedetrich has joined #angularjs
[23:30:00] *** mackieconnell has joined #angularjs
[23:30:20] *** samuel02 has quit IRC
[23:30:29] <lilbaby> Anyone got any ideas how I would check to see if $httpProvider is using my interceptor's functions with Jasmine?
[23:30:45] *** Skrypter has quit IRC
[23:30:47] <TheAceOfHearts> man, having a devops guy is fucking awesome
[23:30:56] *** DrMabuse has joined #angularjs
[23:31:13] <seriema> lilbaby: by testing what it's expected to do? when calling $http?
[23:31:17] *** Skrypter has joined #angularjs
[23:31:21] *** AngularUI has joined #angularjs
[23:31:21] <AngularUI> [ng-grid] c0bra pushed 2 new commits to master: http://git.io/iL6L3A
[23:31:21] <AngularUI> ng-grid/master fa5d48f novice3030: added selectionRowHeaderWidth option
[23:31:22] <AngularUI> ng-grid/master 93015b5 Brian Hann: Merge pull request #2081 from novice3030/master...
[23:31:22] *** AngularUI has left #angularjs
[23:31:45] <seriema> lilbaby: not the best code ever, but this is how I test my interceptor https://github.com/seriema/angular-apimock/blob/master/test/spec/services/angular-apimock.js
[23:31:47] <lilbaby> seriema: I'd like to use spies to check what it's doing, but I'd also like to see that it opens a modal
[23:31:58] *** Fishy__ has quit IRC
[23:32:01] *** AngularUI has joined #angularjs
[23:32:01] <AngularUI> [ng-grid] c0bra pushed 2 new commits to master: http://git.io/fqx5Ug
[23:32:02] <AngularUI> ng-grid/master 488ef94 Stuart Watt: Use local rather than global path bower install...
[23:32:02] <AngularUI> ng-grid/master 1d0f6e5 Brian Hann: Merge pull request #2076 from morungos/non-global-bower...
[23:32:02] *** AngularUI has left #angularjs
[23:32:02] *** JosephBergevin has joined #angularjs
[23:32:23] <seriema> lilbaby: I prefer not to do that, as changing the implementation would lead to changing tests. tests should test results, not how it gets those results
[23:32:54] *** emanuele has left #angularjs
[23:32:58] <seriema> lilbaby: although I might do that early on just to see that I'm loading stuff correctly, but then I remove those tests
[23:33:16] *** doodlehaus has quit IRC
[23:33:17] <ProLoser> man
[23:33:17] <lilbaby> seriema: Thanks! I'm going to look through your code for a second.
[23:33:20] *** jsheely has quit IRC
[23:33:27] <ProLoser> is anyone paying attention to #133?
[23:33:56] *** apparition has joined #angularjs
[23:33:57] <ProLoser> !#133
[23:34:01] <ProLoser> wtf
[23:34:04] *** Skrypter has quit IRC
[23:34:05] <ProLoser> !help
[23:34:05] <uru> ProLoser: I am not a bot! (promise)
[23:34:06] <UniBot> Issue commands by doing !command [arguments] [@nick], See http://unibot.jit.su/#/channel/526a2e9eb6230d1090000001 for the full list
[23:34:12] *** carlosmantilla has joined #angularjs
[23:34:18] *** Skrypter has joined #angularjs
[23:34:38] <ProLoser> !# 133
[23:34:38] <UniBot> ProLoser, issue #133 is https://github.com/angular/angular.js/issues/133
[23:34:39] <apparition> \join #momo
[23:34:58] * seriema wished for types in JS for a few seconds
[23:35:10] *** baweaver has joined #angularjs
[23:35:18] *** moafoca has quit IRC
[23:35:18] <seriema> fahrenheit | kelvin | celsius gaaah
[23:35:22] *** DannyCallaghan has joined #angularjs
[23:35:24] *** dhcar is now known as dhcar_AFK
[23:35:29] <ProLoser> !show #
[23:35:44] <ProLoser> !show !#
[23:35:45] <ProLoser> wtf
[23:35:47] <ProLoser> !show help
[23:36:12] *** soren_engel has joined #angularjs
[23:36:26] *** cuebix-wk has quit IRC
[23:36:32] *** Marble68 has quit IRC
[23:36:39] *** bayousoft has quit IRC
[23:36:48] *** RobinBAwesome has quit IRC
[23:37:07] *** bayousoft has joined #angularjs
[23:37:11] <seriema> ProLoser: try seriema++
[23:37:20] <ProLoser> seriema++
[23:37:21] <seriema> :P
[23:37:21] <UniBot> seriema Karma: 4
[23:37:24] <seriema> HAH!!
[23:37:28] <ProLoser> what?
[23:37:32] *** dnull has joined #angularjs
[23:37:57] *** soren_engel has quit IRC
[23:38:02] <TheAceOfHearts> lol
[23:38:05] <TheAceOfHearts> seriema—
[23:38:09] <seriema> !!
[23:38:11] <lilbaby> seriema: How would you suggest writing tests just to check that my interceptor is called for a variety of response codes?
[23:38:14] <TheAceOfHearts> TheAceOfHearts++
[23:38:17] *** Shrooms has quit IRC
[23:38:18] *** reavengr1y has quit IRC
[23:38:22] *** marr has joined #angularjs
[23:38:34] <Foxandxss> seriema--
[23:38:34] *** carlosmantilla has quit IRC
[23:38:34] <UniBot> seriema Karma: 3
[23:38:37] <Foxandxss> normalizing
[23:38:38] <TheAceOfHearts> lol
[23:38:40] <seriema> Foxandxss: :(
[23:38:43] <TheAceOfHearts> Foxandxss++
[23:38:43] <UniBot> Foxandxss Karma: 5
[23:38:46] <seriema> !
[23:38:51] <TheAceOfHearts> kappa
[23:38:52] <seriema> Foxandxss--
[23:38:52] <UniBot> Foxandxss Karma: 4
[23:38:53] *** soren_engel has joined #angularjs
[23:38:53] *** reavengrey has joined #angularjs
[23:38:54] <seriema> revenge!
[23:39:09] <TheAceOfHearts> seriema++
[23:39:09] <UniBot> TheAceOfHearts: you must wait an hour between giving karma
[23:39:13] <TheAceOfHearts> oh lol
[23:39:15] <seriema> lol
[23:39:19] <TheAceOfHearts> I wanted to give it to take it away
[23:39:23] <seriema> Foxandxss: I'll give you back that point in 1h ;)
[23:39:28] <seriema> lol
[23:39:50] <Foxandxss> I will put a random() on /kick seriema
[23:39:55] <Foxandxss> so, maybe that won't happen
[23:40:01] *** DannyCallaghan has quit IRC
[23:40:06] <seriema> :(
[23:40:08] *** Aliks has joined #angularjs
[23:40:12] <ctanga> TheAceOfHearts: https://github.com/angular-ui/ui-router/issues?q=is%3Aissue+milestone%3A0.2.12+is%3Aclosed
[23:40:19] <Foxandxss> Russian roulette
[23:40:33] <seriema> lilbaby: well, what does your interceptor do?
[23:41:10] <lilbaby> seriema: Ideally, I'd like it to launch a modal, but I'm not really sure how to test that...
[23:41:18] <seriema> lilbaby: if there's a lot of tiny input changes, I did this https://github.com/seriema/angular-apimock/blob/master/test/spec/services/angular-apimock.js#L127
[23:41:47] <seriema> lilbaby: eh, hmmm... events?
[23:41:50] *** RobinBAwesome has joined #angularjs
[23:42:02] <seriema> lilbaby: never looked into grabbing rootScope from http but that sounds icky
[23:42:17] *** benjah1 has quit IRC
[23:42:25] <lilbaby> seriema: Yeah, I don't really know what I'm doing, but I know it just felt gross.
[23:42:31] <lilbaby> Dirty even
[23:42:33] *** UniBot has quit IRC
[23:42:43] *** dcherman has joined #angularjs
[23:42:45] *** UniBot has joined #angularjs
[23:42:51] <ProLoser> estikes: why are you spamming me?
[23:42:57] *** gnrlbzik has quit IRC
[23:43:01] <ctanga> TheAceOfHearts: heres the changelog https://gist.github.com/christopherthielen/f13512f9ce77064312ff
[23:43:04] *** willeponken has quit IRC
[23:43:05] <seriema> lilbaby: but if you think about it from a usage perspective, how would it look?
[23:43:06] <ProLoser> Foxandxss: can you kick/ban him?
[23:43:09] <ProLoser> !show #
[23:43:18] <TheAceOfHearts> ah great
[23:43:21] <TheAceOfHearts> a lot simpler to read
[23:43:23] <TheAceOfHearts> ty
[23:43:24] *** willeponken has joined #angularjs
[23:43:34] <Foxandxss> ProLoser: that won't help it
[23:43:40] <Foxandxss> you can /ignore him
[23:43:40] *** NormySan has quit IRC
[23:43:42] *** mennea has quit IRC
[23:43:44] *** soren_engel has quit IRC
[23:43:47] <Foxandxss> kick won't stop him for messaging you
[23:43:49] <ProLoser> !remember # is :nick, issue #:tokens is https://github.com/angular/angular/issues/:tokens
[23:44:00] <ProLoser> Foxandxss: he found me via the channel
[23:44:04] *** shinnya has joined #angularjs
[23:44:07] <ProLoser> dude, what's the point of having you around if you don't ban bots?
[23:44:10] <ProLoser> lol
[23:44:12] <lilbaby> seriema: Well, people are making API calls all through out the APP, and a modal would pop up to tell them about the message.
[23:44:14] *** arpu has quit IRC
[23:44:20] *** mennea has joined #angularjs
[23:44:27] *** edy has quit IRC
[23:44:27] <Foxandxss> I can't ban what other people like
[23:44:39] <Foxandxss> I mean, I can't just ban to someone you or others point
[23:44:49] *** dcherman2 has quit IRC
[23:45:01] *** estikes has quit IRC
[23:45:04] *** optikalmouse has joined #angularjs
[23:45:04] <ProLoser> it's a bot spamming a url to a webcam
[23:45:04] <Foxandxss> unless I can see it
[23:45:06] <ProLoser> in spanish
[23:45:08] *** apertoire has joined #angularjs
[23:45:12] <TheAceOfHearts> OH COOL
[23:45:15] <TheAceOfHearts> MY CHANGE MADE IT IN :D
[23:45:15] <Foxandxss> oh well, you could start saying that then
[23:45:16] <TheAceOfHearts> https://github.com/angular-ui/ui-router/commit/639e0565dece9d5544cc93b3eee6e11c99bd7373
[23:45:22] <TheAceOfHearts> *feels proud*
[23:45:23] <Foxandxss> because yes, I saw that a couple of times already
[23:45:33] <ProLoser> you think i just randomly cry wolf? lol
[23:45:33] <seriema> lilbaby: hmm interesting. check if you can send an event from http. then have a controller/directive on the page hat listens to the event and pops up a modal. you'd be dependent on HTML for the modal anyway and this way you could turn it of on some pages etc
[23:45:47] *** jiskiras has quit IRC
[23:45:58] <TheAceOfHearts> woooolf~
[23:46:00] <TheAceOfHearts> auuu~
[23:46:01] <lilbaby> seriema: Thanks! I'll check out events.
[23:46:19] <ProLoser> anyway
[23:46:23] *** favetelinguis has quit IRC
[23:46:25] <ProLoser> has anyone been following !# 133
[23:46:25] <UniBot> ProLoser, issue #133 is https://github.com/angular/angular/issues/133
[23:46:33] *** mzabriskie has quit IRC
[23:46:47] <seriema> lilbaby: alternatively, use a service? call the service from the interceptor?
[23:46:58] *** favetelinguis has joined #angularjs
[23:46:59] <seriema> ProLoser: yeah a little
[23:47:10] <ProLoser> i think it's a complete waste of time
[23:47:10] <Foxandxss> wait, new repo?
[23:47:11] <seriema> ProLoser: but it's growing to fast :(
[23:47:14] <Foxandxss> I missed that
[23:47:20] <ProLoser> seriema: read my last comments
[23:47:27] *** dcherman has quit IRC
[23:47:34] <ProLoser> i just realized at the very end that i have no idea why they are bothering with this entire RFC
[23:47:40] *** Versality has quit IRC
[23:47:47] <ProLoser> they should just drop the whole ng-repeat x in y syntax and bam
[23:47:53] <lilbaby> seriema: I was planning on doing something like this http://stackoverflow.com/questions/26739099/angular-ui-bootstrap-modal-dialog-in-http-interceptor-hangs-the-browser
[23:47:53] *** imehesz has quit IRC
[23:47:54] <ProLoser> performance boost
[23:48:00] *** SergioFilhow has quit IRC
[23:48:08] *** vassagus has quit IRC
[23:49:10] <seriema> ProLoser: heh yeah, I kinda got stuck on "why not just on- instead of ()" etc
[23:49:19] *** apertoire has quit IRC
[23:49:20] *** SergioFilhow_ has joined #angularjs
[23:49:22] <seriema> ProLoser: just a convention, how hard could that be?
[23:49:59] *** jiskiras has joined #angularjs
[23:50:13] <seriema> lilbaby: hmm. kinda like the event/se3rvice approach
[23:50:18] <Foxandxss> so is this angular new repo for angular 2? sorry bit asleep already
[23:50:19] *** vassagus has joined #angularjs
[23:50:54] *** down_quark has quit IRC
[23:50:58] <lilbaby> seriema: Yah, and I'm not really sure how to test it.
[23:51:02] *** jmckind has quit IRC
[23:51:12] *** favetelinguis has quit IRC
[23:51:16] *** icfantv has quit IRC
[23:51:25] <Foxandxss> hello? heh
[23:51:38] *** bayousoft has quit IRC
[23:51:47] *** arpu has joined #angularjs
[23:51:47] *** MaxV has quit IRC
[23:51:50] <seriema> lilbaby: well if you're calling a service from your interceptor, just DI a mock
[23:51:52] *** Marble68 has joined #angularjs
[23:51:52] *** GreenJello has joined #angularjs
[23:52:07] *** MaxV has joined #angularjs
[23:52:07] <seriema> so yeah, kinda a spy
[23:52:21] *** Fishy__ has joined #angularjs
[23:52:22] <seriema> Foxandxss: I think it is
[23:52:25] *** bayousoft has joined #angularjs
[23:52:26] <lilbaby> And this would be what your example you linked to earlier does?
[23:52:31] <Foxandxss> never saw it :P
[23:52:33] <lilbaby> I'm pretty much a guppy at this
[23:52:36] *** adpirz has joined #angularjs
[23:53:01] *** AngularUI has joined #angularjs
[23:53:01] <AngularUI> [ng-grid] c0bra tagged v3.0.0-rc.16 at dc2e1fd: http://git.io/znbBjw
[23:53:01] *** AngularUI has left #angularjs
[23:53:11] *** willeponken has quit IRC
[23:53:27] *** trend has quit IRC
[23:53:29] *** willeponken has joined #angularjs
[23:53:34] *** down_quark has joined #angularjs
[23:54:27] *** bayousof_ has joined #angularjs
[23:54:30] *** willeponken has joined #angularjs
[23:54:39] *** willeponken has quit IRC
[23:55:05] <ProLoser> seriema: no, that's not my point
[23:55:10] *** willeponken has joined #angularjs
[23:55:11] <ProLoser> i think the entire fucking thread is a huge waste of time
[23:55:23] <ProLoser> like... nothing stops you from doing on- now
[23:55:36] <ProLoser> so what is gained by adding it as a syntax thing?
[23:56:05] <ProLoser> you don't get better performance by analyzing attribute names and figuring out what it's used for based on prefix
[23:56:14] *** sonofdirt has quit IRC
[23:56:17] *** bmac has quit IRC
[23:56:19] <ProLoser> the current system of using a hash table to define what each attribute does is far more efficient
[23:56:22] <seriema> lilbaby: hmmm yeah. the $httpBackend is a mock for http requests
[23:56:27] <ProLoser> it's just a little confusing to develop with
[23:56:38] *** bmac has joined #angularjs
[23:56:54] *** adpirz has quit IRC
[23:57:04] *** bayousoft has quit IRC
[23:57:05] *** bayouso__ has joined #angularjs
[23:57:39] <seriema> ProLoser: I was telling you _my_ point. you already know your point :P
[23:57:41] <monokrome> Does anyone know how to properly find elements that are children of an element? http://codepen.io/monokrome/pen/dPyWzY
[23:58:05] <ProLoser> seriema: i was saying my point was your point +2
[23:58:20] *** lthomas has quit IRC
[23:58:20] <seriema> monokrome: if you find one, let me know. otherwise I grab the underlying element and use querySelectorAll
[23:58:22] <ProLoser> like... why change anything?
[23:58:34] *** yts has quit IRC
[23:58:37] *** zB0hs has quit IRC
[23:59:19] <wafflej0ck> monokrome: if you have a set relationship between elements you can use directives on each to setup "communication" between them using require
[23:59:24] *** walden is now known as walden|afk
[23:59:33] <seriema> ProLoser: sure, but I don't mind a bit more expressivness. but don't understand why we would have to invent a new syntax if just a naming convention would be enough
[23:59:48] *** bayousof_ has quit IRC
top

   November 13, 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 | >