Switch to DuckDuckGo Search
   November 9, 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:33] *** crakrjak_respawn has quit IRC
[00:01:04] <wafflej0ck> nycdevgirl: can you dump your bower.json somewhere that way I can see what dependencies you have installed and figure out what Auth is
[00:01:54] *** ceephax has quit IRC
[00:02:04] *** bmac has quit IRC
[00:02:08] *** annlewis has quit IRC
[00:02:13] <nycdevgirl> idk if that will help you its the one that comes iwth fullstack generator
[00:02:37] <nycdevgirl> this is a gist of the create user function in aut
[00:02:38] <nycdevgirl> h
[00:02:40] <nycdevgirl> https://gist.github.com/anonymous/160657ab602a57be8a75
[00:02:43] *** tristanp has quit IRC
[00:03:11] *** slopjong_ has quit IRC
[00:03:11] *** slopjong has quit IRC
[00:03:24] *** gazbond has quit IRC
[00:03:26] *** Pookz has quit IRC
[00:03:32] *** BillCriswell has quit IRC
[00:04:21] <nycdevgirl> bower.json https://gist.github.com/anonymous/098fd95a6defa43ec83e
[00:04:49] <wafflej0ck> nycdevgirl: from the bits and pieces it looks like Auth.currentUser should have the info you're looking for
[00:04:58] *** woah has quit IRC
[00:05:14] <iffraff> does anyone use angular-grid-ui?
[00:05:16] <nycdevgirl> yea it doesn't, it comes up as a resource :/
[00:05:29] <wafflej0ck> what do you mean by that
[00:05:53] <wafflej0ck> nycdevgirl: also if you pastebin the whole Auth service will make it a lot easier
[00:06:06] <wafflej0ck> nycdevgirl: looks like it's internal to that generator not in the bower dependencies
[00:06:10] *** danecando has joined #angularjs
[00:06:16] <nycdevgirl> yea it is
[00:06:37] *** amphetamines is now known as opiates
[00:07:01] *** araujo has joined #angularjs
[00:07:33] <Tuxity> ok so it's relative to index.html but and external component can't know the url
[00:08:27] <nycdevgirl> you mean this https://gist.github.com/anonymous/6301030a248cafa139b3
[00:08:47] <nycdevgirl> Auth.currentUser is always undefined
[00:08:56] *** kirfu has joined #angularjs
[00:09:02] <nycdevgirl> same as Auth.currentUser()
[00:09:10] *** scythe__ has joined #angularjs
[00:10:44] *** gazbond has joined #angularjs
[00:11:16] *** gazbond has quit IRC
[00:11:59] *** Nijikokun has joined #angularjs
[00:12:17] *** sinequanon has joined #angularjs
[00:12:18] *** mr_blue has joined #angularjs
[00:12:40] *** ccohn has joined #angularjs
[00:13:38] *** uru is now known as uru|away
[00:15:07] *** Pookz has joined #angularjs
[00:15:28] *** crakrjak_respawn has joined #angularjs
[00:15:39] *** favetelinguis has joined #angularjs
[00:15:49] *** marcjs has joined #angularjs
[00:16:15] *** Skrypter has quit IRC
[00:16:37] *** Skrypter has joined #angularjs
[00:16:53] *** disorder20 has quit IRC
[00:17:10] *** disorder20 has joined #angularjs
[00:17:13] *** ccohn has quit IRC
[00:18:13] *** crakrjak_respawn has quit IRC
[00:18:31] *** Justotime has joined #angularjs
[00:19:14] *** dc_ has joined #angularjs
[00:19:20] *** bzitzow has quit IRC
[00:19:45] *** crakrjak_respawn has joined #angularjs
[00:20:09] *** favetelinguis has quit IRC
[00:20:13] <mr_blue> Hi all, I'am using angular with rails. In my server i see two get requests for a project resource. Is that normal ? I expect only one request. Why two, any idea ?
[00:20:29] <mr_blue> Here the super simple code coffeescript : https://gist.github.com/darkslategrey/366b542010ba0f966a3e haml : https://gist.github.com/darkslategrey/761c6020e28ef839a15d
[00:20:54] *** crakrjak_respawn has quit IRC
[00:21:12] *** RangerRick has quit IRC
[00:22:05] *** anapitupulu has quit IRC
[00:22:30] *** RangerRick has joined #angularjs
[00:22:46] *** crakrjak_respawn has joined #angularjs
[00:23:19] *** iffraff has quit IRC
[00:23:33] *** sctskw has quit IRC
[00:23:49] *** bostonaholic has quit IRC
[00:23:52] *** iffraff has joined #angularjs
[00:24:15] *** kuadrosx has quit IRC
[00:24:23] *** shinnya has joined #angularjs
[00:24:24] *** dsdeiz has quit IRC
[00:24:26] *** crakrjak_respawn has quit IRC
[00:24:40] *** kuadrosx has joined #angularjs
[00:25:48] *** anapitupulu has joined #angularjs
[00:25:55] <wafflej0ck> nycdevgirl: you try Auth.getCurrentUser();
[00:26:04] <nycdevgirl> yea its undefined
[00:26:05] *** bmac has joined #angularjs
[00:26:32] <wafflej0ck> nycdevgirl: even after the callback from createUser or a call to login?
[00:26:32] *** seydoggy has quit IRC
[00:26:46] *** seydoggy has joined #angularjs
[00:27:22] <wafflej0ck> nycdevgirl: not being able to access currentUser directly makes sense
[00:27:37] <nycdevgirl> oh no my bad…no it returns that resource
[00:27:45] <nycdevgirl> and the resource does not have the user on it
[00:27:50] *** seydoggy has quit IRC
[00:28:04] *** mbildner has quit IRC
[00:29:15] *** nemothekid has quit IRC
[00:29:17] <wafflej0ck> nycdevgirl: okay unfortunately that's as much info as I can get out of the code here, with regard to the resource it returns that object should have all the properties of a "User" whatever that is for this system along with method like $save or $delete to you know save and delete the thing
[00:29:21] *** elrabin has joined #angularjs
[00:30:05] <nycdevgirl> okay thanks :)
[00:30:08] <wafflej0ck> nycdevgirl: when you do console.log(Auth.getCurrentUser()); if you have the console open already it should show that as an Object you can expand to see the properties in Chrome
[00:31:18] <wafflej0ck> nycdevgirl: you may want to do some searching (ctrl+f) in the network tab too to see if you can find the call to GET some User info then click the possibly relevant row in the network tab and check the response data
[00:31:19] *** crakrjak_respawn has joined #angularjs
[00:31:38] <wafflej0ck> nycdevgirl: and np
[00:31:44] *** johnstorey has joined #angularjs
[00:31:54] <nycdevgirl> yea its a resource this is it http://postimg.org/image/m5shdxfy9/
[00:32:14] <wafflej0ck> nycdevgirl: anything under token?
[00:32:31] <wafflej0ck> er under the $promise itself actually
[00:32:40] *** rikkipitt has quit IRC
[00:33:09] <seriema> quick "survey": if you would name one thing in 1.3, what would that be? (could suck, be awesome, whatever made it stick in your mind)
[00:33:20] *** jasonrichardsmit has joined #angularjs
[00:33:26] *** grantfunke_ has quit IRC
[00:33:29] *** apertoire has quit IRC
[00:33:33] <nycdevgirl> in the promise?
[00:33:54] <Foxandxss> Saturday night I heard https://dl.dropboxusercontent.com/u/10283624/2014-11-09%2000.31.03.jpg
[00:34:02] <jasonrichardsmit> Hi, can I console.log $location.url()?
[00:34:05] *** elrabin has quit IRC
[00:34:16] <jasonrichardsmit> when i throw location to the console
[00:34:24] *** alinou has joined #angularjs
[00:34:31] <jasonrichardsmit> when i do location.url() I get nothing
[00:34:32] <wafflej0ck> nycdevgirl: nope just meant like alongside it... let me see if I can check some of my own stuff I use $resource a fair amount
[00:35:03] *** ipalaus has joined #angularjs
[00:35:18] <seriema> jasonrichardsmit: sure why wouldn't console.log($location.url()) work?
[00:35:20] <nycdevgirl> wafflej0ck: no it just returns resource, i've expanded everything there is…no typical user object
[00:35:28] <jasonrichardsmit> if I go to test.com/test/path/test/3
[00:35:40] <jasonrichardsmit> I get thining
[00:35:45] <jasonrichardsmit> i get nothing
[00:35:49] <jasonrichardsmit> blank line
[00:35:56] <seriema> is that the root though?
[00:35:56] <Tuxity> i'm still stuck with my templateUrl thing :(
[00:36:20] <Tuxity> it's not possible to be relative to the js file
[00:36:21] <Tuxity> ?
[00:36:28] <seriema> jasonrichardsmit: if it wasn't ngRoute that took you there I don't think it counts it as a path?
[00:36:50] <jasonrichardsmit> absUrl() works fine
[00:36:52] *** crakrjak_respawn has quit IRC
[00:36:53] <seriema> Tuxity: it's always relative the document that fetched it
[00:36:56] <jasonrichardsmit> I get the full path
[00:37:00] <seriema> (I think?)
[00:37:42] <seriema> jasonrichardsmit: yeah because absUrl isn't relative, like the name suggests
[00:37:45] <Tuxity> yeah but the problem is i'm writing a new module, the module can't know for sure the path
[00:38:20] <seriema> Tuxity: ehm, I think it has to know? because the template would have to be part of that module?
[00:38:30] <Tuxity> yes
[00:38:35] <Tuxity> it's my directive template
[00:38:38] *** jamto11 has quit IRC
[00:38:51] *** ReactiveIO has quit IRC
[00:38:58] <jasonrichardsmit> seriema: so if I need that information
[00:39:07] <jasonrichardsmit> I need to parse it from the absurl
[00:39:08] <Tuxity> I don't want to put the html code in the js file
[00:39:22] <seriema> jasonrichardsmit: what information? where is your "index.html"? are you use ngRoute?
[00:39:24] *** ReactiveIO has joined #angularjs
[00:39:31] <seriema> Tuxity: and you shouldn't have to
[00:39:37] *** mjs2600 has joined #angularjs
[00:39:42] <seriema> Tuxity: ah I understand now. hmm wait
[00:39:50] <jasonrichardsmit> index.html is at the base
[00:39:57] <jasonrichardsmit> all urls go to index.html
[00:39:58] <wafflej0ck> nycdevgirl: yeah dunno, just checked out some of my stuff using Resource and basically I just see the regular object properties in the console when I log them out, in the prototype I see the $save, $delete, $query, $remove, $get calls
[00:40:02] <seriema> jasonrichardsmit: and ngRoute?
[00:40:15] <seriema> jasonrichardsmit: what's the path to index.html?
[00:40:35] <jasonrichardsmit> base
[00:40:49] <jasonrichardsmit> path = /index.html
[00:40:50] <Tuxity> http://stackoverflow.com/questions/21103724/angular-directive-templateurl-relative-to-js-file
[00:40:57] <Tuxity> hmmm
[00:41:01] <Tuxity> maybe that
[00:41:22] <seriema> Tuxity: hmmm take a look at how angularUI have done their stuff
[00:41:37] <wafflej0ck> what's the problem?
[00:41:41] <wafflej0ck> directive with a template?
[00:41:49] <wafflej0ck> you probably want html2js
[00:42:04] <seriema> jasonrichardsmit: then url() is correct? you're on index.html and $location starts there
[00:43:18] *** sacho_ has quit IRC
[00:43:29] <wafflej0ck> nycdevgirl: would try to search on the specifics of using Auth with that generator to see what's expected
[00:43:44] <seriema> Tuxity: what wafflej0ck said. and check https://github.com/angular-ui/bootstrap if you want
[00:43:44] <Tuxity> seriema my link work :x
[00:43:56] *** CitizenKane has joined #angularjs
[00:43:56] *** ReactiveIO has quit IRC
[00:44:01] <seriema> Tuxity: the answer there looked a bit hackish IMHO =)
[00:44:26] <nycdevgirl> wafflej0ck: i mean getCurrentUser() works on every other page
[00:44:32] <nycdevgirl> yea idk why the issue here
[00:44:35] <jasonrichardsmit> well i guess i can use window.location.pathname
[00:44:39] <seriema> wafflej0ck: I think someone said you had looked into 2.0 a bit? I might be confused
[00:44:49] *** Mike has joined #angularjs
[00:44:54] <seriema> jasonrichardsmit: what does that give that's different?
[00:45:13] *** Mike is now known as Guest8472
[00:45:18] <nycdevgirl> wafflej0ck: thanks a lotfor looking into it
[00:45:18] <Tuxity> ahah yeah seriema
[00:45:36] <jasonrichardsmit> seriema: location.url() puts a blank line in the console.log
[00:45:46] <seriema> jasonrichardsmit: the path from the domain? mind pasting what the different methods output? $location.url(), $location.absUrl(), window.location.whatever
[00:45:59] <jasonrichardsmit> ok
[00:46:07] *** markoas has quit IRC
[00:46:18] *** livingstn has quit IRC
[00:46:19] <wafflej0ck> seriema: no haven't done much but read a bit on 2.0 caitp had mentioned that it's still quite a way off in terms of an actual solid release though, they expect to be in alpha for a while and on the G+ theres some info about Igor switching positions a bit and bringing on Pete Bacon to head the 1.x stuff and keep things rolling
[00:46:20] <Guest8472> **URGENT NOTICE TO ANGULAR.JS ADMINS** There is a bug in the codeschool "Shaping with angular.js". Challenge 2.8 "Using Tab Controller". The element where the controller needs to be attached is locked. Thank you for looking into the matter.
[00:46:23] <Guest8472> **URGENT NOTICE TO ANGULAR.JS ADMINS** There is a bug in the codeschool "Shaping with angular.js". Challenge 2.8 "Using Tab Controller". The element where the controller needs to be attached is locked. Thank you for looking into the matter.
[00:46:31] <jasonrichardsmit> window.location.path = /test/path/test
[00:46:43] <jasonrichardsmit> $location.url() =
[00:46:44] <BahamutWC> the Angular team doesn't run the Code School tutorial
[00:46:50] <seriema> Guest8472: woot?
[00:46:51] <BahamutWC> you'd have to contact Code School
[00:46:52] <Guest8472> ouch
[00:46:57] <Guest8472> i did
[00:47:10] <Guest8472> did any of you manage to get through that challenge
[00:47:10] <jasonrichardsmit> $location.absUrl() = http://test.com/test/path/test
[00:47:25] <seriema> Guest8472: we don't have anything to do with code school
[00:47:27] <nycdevgirl> 🐙
[00:47:30] *** ipalaus has quit IRC
[00:48:15] <BahamutWC> I never did the code school thing heh
[00:48:53] *** asdofindia has quit IRC
[00:49:08] <seriema> jasonrichardsmit: and $location.path() ?
[00:49:18] <Guest8472> i was just intrigued. since I work with node.js I thought angular.js would be a good front-end framework
[00:49:24] <Guest8472> so i did the course
[00:49:25] * seriema went to Code University *snicker*
[00:49:26] <jasonrichardsmit> sorry
[00:49:28] <Guest8472> >_<
[00:49:41] <jasonrichardsmit> location.path() =
[00:49:43] <Tuxity> https://github.com/angular-ui/bootstrap/blob/master/src/timepicker/timepicker.js#L245 <.<
[00:49:51] <Tuxity> I tried that for me
[00:49:59] *** Reskp has joined #angularjs
[00:50:01] <Tuxity> templateUrl: 'dist/VLCPlayer.html'
[00:50:09] <Guest8472> anyway, i'm going to bed now
[00:50:12] <Guest8472> cheers aal
[00:50:14] *** CamonZ has joined #angularjs
[00:50:25] *** Guest8472 has quit IRC
[00:50:40] <seriema> jasonrichardsmit: when things get this difficult, I ask myself if I'm trying to do the correct thing
[00:50:44] <zomg> urgent notice to angular.js admins: give me money
[00:50:45] <zomg> Erm
[00:50:54] <wafflej0ck> internet money
[00:51:00] <zomg> yeah I'll take bitcoin
[00:51:02] <zomg> or dogecoin
[00:51:03] <zomg> :P
[00:51:13] <wafflej0ck> give us some of that YouTube money
[00:51:29] <seriema> jasonrichardsmit: $location wraps location. and it's meant to handle routing. so it starts on the path it was loaded on. whatever is "behind" it shouldn't matter.
[00:52:07] <CamonZ> what's the difference between using a directive for a custom tag or attribute and having a controller on that tag
[00:52:12] <CamonZ> would it be redundant?
[00:52:29] <CamonZ> say for, handling interactions with that element
[00:52:34] *** sinequanon has quit IRC
[00:52:38] <jasonrichardsmit> seriema: essentialy I am letting one index.html to alias to all the paths and load the page content based on the path
[00:52:43] <wafflej0ck> CamonZ: interactions should be handled with directives
[00:52:51] *** braidn has quit IRC
[00:52:54] <seriema> jasonrichardsmit: have you looked at ngRoute?
[00:52:57] *** g3funk has joined #angularjs
[00:53:06] <jasonrichardsmit> not too much
[00:53:16] <CamonZ> wafflej0ck: then what's the case for controllers, say I have a button with an ng-click='someControllerFunc()'
[00:53:27] <wafflej0ck> CamonZ: in terms of if a controller would then be redundant, sort of... typically the controller is going to be providing a scope that is app/view specific whereas the directive is a re-usable component that is meant to modify the behavior or DOM
[00:53:39] <CamonZ> hmm, I see
[00:53:47] <wafflej0ck> CamonZ: so basically you could do all the stuff in a directive
[00:53:51] <seriema> wafflej0ck: late answer from me =) ah ok thanks. I'm writing an article on "preparing for 2.0". would you mind just glancing at the TOC and give me your gut feeling?
[00:53:53] <wafflej0ck> but it doesn't really make sense to
[00:53:56] *** deanclkclk has quit IRC
[00:54:14] *** deanclkclk has joined #angularjs
[00:54:16] <jasonrichardsmit> since I am in here I am going to ask one more question.
[00:54:19] <wafflej0ck> seriema: sure I'll take a gander, not sure if I'll even have an opinion though given I'm pretty green to all the 2.0 stuff
[00:54:21] <jasonrichardsmit> I am using Formly
[00:54:26] <jasonrichardsmit> so much fun to use
[00:54:28] <seriema> jasonrichardsmit: it sounds like you want ngRoute :P
[00:54:29] *** Reskp has quit IRC
[00:54:36] <jasonrichardsmit> is Formly the best form generator out there?
[00:55:03] <CamonZ> wafflej0ck: so the controller would provide a scope where the directive is simply a reusable component. Taking it into what I want to build is say an <ul> and the li elements would be of a given directive
[00:55:22] *** Greed has quit IRC
[00:55:25] *** Shadeness has quit IRC
[00:55:31] *** bmac has quit IRC
[00:55:33] *** phaggood has joined #angularjs
[00:55:50] *** Greed has joined #angularjs
[00:55:57] <wafflej0ck> the first part is right I'm having trouble parsing the second sentence you wrote there but I think so
[00:56:17] <seriema> jasonrichardsmit: haven't tried Formly, but like the catchy name. I've used https://github.com/Textalk/angular-schema-form and it was pretty good for me
[00:56:19] *** Greed has quit IRC
[00:56:41] *** Shadeness has joined #angularjs
[00:56:48] *** ProLoser has quit IRC
[00:56:49] <CamonZ> the idea is for a school project on webgl, I want to do something like a very simple version of the the blender interface, where I have a list of objects rendered on the scene and when I click/hover on one of the elements on the list I do something to the object rendered
[00:56:55] <jasonrichardsmit> seriema: looks cool but it looks like the routes are defined in js
[00:56:56] *** edrocks__ has quit IRC
[00:57:05] <jasonrichardsmit> Can I define a route via callback?
[00:57:10] *** Greed has joined #angularjs
[00:57:17] *** mmeallin_ has joined #angularjs
[00:57:23] *** danecando has quit IRC
[00:57:27] <seriema> jasonrichardsmit: you can take parameters, if that's what you want to achieve
[00:57:35] *** annlewis has joined #angularjs
[00:57:38] <wafflej0ck> CamonZ: sounds interesting
[00:57:39] <seriema> jasonrichardsmit: but usually you want one path = one view
[00:57:53] *** opiates has quit IRC
[00:58:20] *** opiates has joined #angularjs
[00:58:28] <jasonrichardsmit> seriema: ok
[00:58:31] <jasonrichardsmit> thanks for the help
[00:58:36] <jasonrichardsmit> and the form generator.
[00:58:39] *** jasonrichardsmit has quit IRC
[00:58:39] *** danecando has joined #angularjs
[00:58:46] *** GeneralChoomin has quit IRC
[00:58:47] *** DLSteve_ has joined #angularjs
[00:59:06] <CamonZ> I'll publish it on heroku once I have it more advanced. Right now I've got a simple plane drawn to act as a floor and I'm doing the camera rotations through mouse drag
[00:59:15] *** gunn has quit IRC
[00:59:19] *** CitizenKane has quit IRC
[00:59:19] *** mmealling has quit IRC
[00:59:19] *** uber has quit IRC
[00:59:24] *** GeneralChoomin has joined #angularjs
[00:59:25] *** lemur_ has joined #angularjs
[00:59:43] <wafflej0ck> CamonZ: nice, yeah so you just overlaying the regular DOM elements over a Canvas to do all the WebGL business?
[00:59:44] *** MattWelch has quit IRC
[00:59:47] *** BombStrike has quit IRC
[00:59:48] *** lemur has quit IRC
[00:59:50] *** ree has quit IRC
[01:00:20] *** ree has joined #angularjs
[01:00:23] *** BillCriswell has joined #angularjs
[01:00:48] *** MattWelch has joined #angularjs
[01:01:20] *** deanclkclk has quit IRC
[01:01:22] <CamonZ> wafflej0ck: no, the reg html is for the interface; I thought initially that what was drawn was something like an svg that I could attach events to
[01:01:36] <CamonZ> but when inspecting the rendered scene, there's nothing inside the canvas tag
[01:01:36] *** deanclkclk has joined #angularjs
[01:01:36] *** gombos has quit IRC
[01:01:40] *** Joel has quit IRC
[01:01:41] *** kcm has quit IRC
[01:02:09] *** FunnyLookinHat has quit IRC
[01:02:10] *** DLSteve has quit IRC
[01:02:10] *** zanea|away has quit IRC
[01:02:22] *** annlewis has quit IRC
[01:02:30] *** BombStrike has joined #angularjs
[01:02:30] *** gunn has joined #angularjs
[01:02:38] <wafflej0ck> CamonZ: right... have you seen Processing.js believe they have mouse events and 3D drawing in there, might help
[01:02:39] *** Y_Ichiro has quit IRC
[01:03:07] *** kcm has joined #angularjs
[01:03:21] *** Joel has joined #angularjs
[01:03:21] *** Joel has joined #angularjs
[01:03:24] <CamonZ> wafflej0ck: yeah, also three.js, but the subject is about webgl. they're interested in us learning the low level stuff
[01:03:49] *** Y_Ichiro has joined #angularjs
[01:03:49] *** Y_Ichiro has joined #angularjs
[01:03:50] <TheAceOfHearts> three.js is great
[01:03:52] *** Aliks has quit IRC
[01:03:59] *** _ritchie_ has joined #angularjs
[01:04:14] *** danecando has quit IRC
[01:04:23] *** uber has joined #angularjs
[01:04:25] <wafflej0ck> CamonZ: yeah gotcha
[01:04:26] *** tristanp has joined #angularjs
[01:04:27] *** Aliks has joined #angularjs
[01:04:27] <CamonZ> TheAceOfHearts: it is, I've seen great stuff done with it. I think three.js is from the guys at Verold
[01:04:35] *** Aliks has quit IRC
[01:04:46] *** zanea|away has joined #angularjs
[01:04:49] *** Aliks has joined #angularjs
[01:04:50] *** zanea|away is now known as zanea
[01:04:51] *** FunnyLookinHat has joined #angularjs
[01:04:53] <TheAceOfHearts> idk who they are lol; but if I could pick up three.js I'm confident anyone could :D
[01:04:53] *** uber has joined #angularjs
[01:04:58] <CamonZ> which is a full blown 3d rendering app in js
[01:05:16] <CamonZ> http://www.verold.com/
[01:05:56] <TheAceOfHearts> ah
[01:05:57] <CamonZ> dude… when I saw that those dudes built something like blender on js I was blown away
[01:06:11] *** junmin has quit IRC
[01:06:25] <wafflej0ck> that is pretty wild
[01:06:31] <CamonZ> it's incredible the huge leap web devel in just 5 yrs
[01:06:56] <TheAceOfHearts> the future is now~
[01:07:12] <TheAceOfHearts> html5zombo.com this is the biggest leap we've done in the past decade
[01:07:50] <CamonZ> hahahahaha
[01:07:53] <CamonZ> the voice
[01:08:39] *** gombos has joined #angularjs
[01:09:19] <seriema> lol that voice, cannot be unheard
[01:10:08] *** danecando has joined #angularjs
[01:10:09] <Tuxity> seriema ui bootrap use html2js
[01:10:18] <Tuxity> I should use taht too i think :/
[01:10:19] *** disorder20 has quit IRC
[01:10:27] <Tuxity> but dunno how it works
[01:10:38] <wafflej0ck> Tuxity: it's not too bad
[01:10:54] *** edrocks_ has joined #angularjs
[01:11:12] <wafflej0ck> Tuxity: basically it takes your html from some folder turns them into JS templates with the same path as the original file and puts them in the template cache, so then all you do is include the module it creates
[01:11:58] <Tuxity> and when someone will use my component he will not have to do a grunt cmd ?
[01:12:11] *** Guest9590 has quit IRC
[01:12:19] <wafflej0ck> Tuxity: nope they just include your JS that has all the stuff wrapped up
[01:12:25] <Tuxity> hmm
[01:12:26] <Tuxity> okay
[01:12:31] <Tuxity> will see
[01:12:33] <Tuxity> thx
[01:12:35] <wafflej0ck> it just makes it so the HTML can get put into the JS then you concat all that together with grunt and they use one file
[01:12:37] <wafflej0ck> np
[01:12:41] *** subr0utine has quit IRC
[01:13:02] <Tuxity> I will to see how to minify etc too
[01:13:28] *** ccohn has joined #angularjs
[01:13:28] *** edy has quit IRC
[01:13:35] <Tuxity> you know a good how to about packaging btw ?
[01:13:46] *** livingstn has joined #angularjs
[01:14:16] <wafflej0ck> typically I've started with the yo angular, yeoman generator project and just learned from that and modified it to what I needed
[01:14:25] <seriema> Tuxity: you might want to learn Grunt or Gulp, they're awesome
[01:14:27] *** Sky[x] has quit IRC
[01:14:29] <wafflej0ck> now I just clone my own version of that
[01:14:32] <TheAceOfHearts> I vote for gulp
[01:14:42] <TheAceOfHearts> well, for simpler stuff grunt is probably easier
[01:14:45] <seriema> Tuxity: like wafflej0ck, you can use yo to scaffold your project
[01:14:45] <wafflej0ck> TheAceOfHearts: is there a yeoman gulp angular generator?
[01:14:50] <Tuxity> I used Grunt at work but not so much
[01:14:52] <TheAceOfHearts> but if you have a lot of complicated inter-dependencies, gulp wins
[01:14:59] <TheAceOfHearts> wafflej0ck: I saw one, but idk how good it is
[01:15:03] <wafflej0ck> hmm
[01:15:07] *** livingstn has joined #angularjs
[01:15:09] <wafflej0ck> yeah would like to check that out too
[01:15:10] <Foxandxss> yeoman suuuuuuck
[01:15:12] *** krastavac has joined #angularjs
[01:15:14] <TheAceOfHearts> https://github.com/Swiip/generator-gulp-angular
[01:15:17] <Foxandxss> oh damn, my thoughts are loud
[01:15:33] <Foxandxss> use my gulp workflow
[01:15:34] <Foxandxss> it is pretty
[01:15:39] *** favetelinguis has joined #angularjs
[01:16:01] <TheAceOfHearts> https://www.dropbox.com/s/opubeoowmyuaimz/Screenshot%202014-11-07%2020.50.16.png?dl=0 @Foxandxss rails 2 ez, nerf pls~
[01:16:04] <seriema> Tuxity: you'll start doing a lot of cool stuff if you setup gulp/grunt. otherwise, just start writing your HTML inline in the JS manually :P'
[01:16:18] *** nemothekid has joined #angularjs
[01:16:25] <Foxandxss> TheAceOfHearts: well yeah, what rails has is tools and libraries
[01:16:30] <Foxandxss> along with other bad stuff :
[01:16:32] <Foxandxss> :P
[01:16:33] *** _ritchie_ has quit IRC
[01:16:39] <krastavac> why latinText undefined when its bound to textarea? http://codepad.org/EHTKiYk6
[01:16:39] *** FunnyLookinHat has quit IRC
[01:16:40] <Foxandxss> https://github.com/Foxandxss/fox-angular-gulp-workflow
[01:16:43] <Foxandxss> use my workflow
[01:16:44] <Tuxity> ok okay thank you guys
[01:16:46] <Foxandxss> and give feedback
[01:17:03] *** Cache_Money has quit IRC
[01:17:31] *** mmeallin_ has quit IRC
[01:18:01] <wafflej0ck> boo no bower
[01:18:09] *** brandon__ has joined #angularjs
[01:18:10] <Foxandxss> bower is crap
[01:18:11] <wafflej0ck> hehe will check it out though thx
[01:18:15] <Foxandxss> the biggest crap ever made
[01:18:17] *** ccohn has quit IRC
[01:18:20] <wafflej0ck> why is bower crap
[01:18:21] <hiptobecubic> you kids and your toys
[01:18:33] <Foxandxss> it pulls like hell of shit for every package
[01:18:34] <scythe__> when I know enough I'll use it Fox
[01:18:38] <hiptobecubic> every week a new pile of shit is released and last weeks pile of shit is labeled as such
[01:18:40] <brandon__> any one using jQuery 2 with angular and unit testing?
[01:18:52] <wafflej0ck> Foxandxss: are you thinking of npm?
[01:19:01] <wafflej0ck> Foxandxss: bower doesn't seem to have that problem to me
[01:19:02] <Foxandxss> wafflej0ck: to bring new stuff into it?
[01:19:12] <Foxandxss> hiptobecubic: what the hell are you talking about?
[01:19:48] <Foxandxss> wafflej0ck: you never installed a package which comes with the entire repository in it?
[01:20:08] *** Cache_Money has joined #angularjs
[01:20:08] *** favetelinguis has quit IRC
[01:20:09] * hiptobecubic grumbles
[01:20:28] <wafflej0ck> Foxandxss: not that I can think of... I don't use anything too out of the ordinary though
[01:20:47] <wafflej0ck> Foxandxss: just angular, lodash, momentjs, font-awesome
[01:21:01] <wafflej0ck> stuff like that
[01:21:03] <brandon__> btw, thank you all for helping me with the html5 mode and unit tests (if you remember, my unit test was pulling the homepage partial for no reason)... appearenty it is a bug in angular ui. I am just working around it for now by putting $httpBackend.whenGET('partials/homepage.html').respond(200, ''); in any unit test that complains... just FYI if anyone else runs into this: https://github.com/angular-ui/ui-router/issues/212
[01:21:09] <Foxandxss> good packages are good packages yes
[01:21:18] <brandon__> ui router, not angular ui
[01:21:19] <Foxandxss> but others pulls the entire repository
[01:21:24] *** _ritchie_ has joined #angularjs
[01:21:35] <Foxandxss> so if my workflow does a globing like vendor/js/**/*.js
[01:21:39] <Foxandxss> that will explode
[01:21:56] <Foxandxss> so if I put bower on it, new libraries are going to be pulled by hand into the workflow
[01:21:59] <brandon__> today I have a new unit test problem, ha... elem.isolateScope() doesn't seem to work at all, and I suspect it is because of jQuery 2
[01:22:00] <Foxandxss> need to think about that
[01:22:30] <Foxandxss> jQuery has nothing to do with that
[01:22:34] <Foxandxss> different issue
[01:22:37] *** Shilon has joined #angularjs
[01:22:51] <Foxandxss> wafflej0ck: will think bout bower tomorrow
[01:23:14] <TheAceOfHearts> I like CommonJS
[01:23:16] <TheAceOfHearts> browserify ftw :p
[01:23:30] <wafflej0ck> yeah I mean alternatives are fine too
[01:23:35] <brandon__> this is the issue I found that says jQuery 2 is probably it: (last few posts): https://github.com/angular/angular.js/issues/4640
[01:23:48] <wafflej0ck> I'm not hell bent on bower but it sure is handy
[01:23:53] <Foxandxss> well, I prefer bower over than that (as today)
[01:24:03] <TheAceOfHearts> I just have a files manifest
[01:24:11] <TheAceOfHearts> with globs and specific files
[01:24:21] <TheAceOfHearts> so if I pull in a new lib, I add it to the manifest
[01:24:55] <Foxandxss> TheAceOfHearts: yeah, sounds like I am better moving the vendor out of the manifest
[01:24:59] <Foxandxss> just the vendor for now
[01:25:05] <Foxandxss> app globing is good for now
[01:25:10] *** deanclkclk_ has joined #angularjs
[01:25:39] * seriema pokes wafflej0ck
[01:25:46] <wafflej0ck> oh rihgt
[01:25:51] <seriema> ^^
[01:26:22] <TheAceOfHearts> https://www.dropbox.com/s/f7jy3sewjtbqt81/Screenshot%202014-11-08%2016.26.13.png?dl=0 a small part of my manifest file
[01:26:24] <TheAceOfHearts> I hate it lol
[01:26:29] *** mven has joined #angularjs
[01:26:48] *** tfennelly has quit IRC
[01:26:50] *** Johnny13371337 has quit IRC
[01:27:00] <Foxandxss> I like angular-toastr in there
[01:27:01] *** tkimmel has quit IRC
[01:27:12] <TheAceOfHearts> haha
[01:27:19] <Foxandxss> why is that not ordered?
[01:27:27] *** krastavac has left #angularjs
[01:27:30] *** Mentioum has quit IRC
[01:27:31] <Foxandxss> well, I don't see angular.js there
[01:27:37] <TheAceOfHearts> it is ordered
[01:27:37] <Foxandxss> that is in another place then
[01:27:39] <TheAceOfHearts> angular is above
[01:27:41] <TheAceOfHearts> not in that part
[01:27:44] <TheAceOfHearts> the manifest is long lol
[01:27:52] <Foxandxss> is the manifest a .js file?
[01:27:54] <Foxandxss> with exports stuff?
[01:27:58] <TheAceOfHearts> yeah
[01:28:01] <TheAceOfHearts> it just exports an object
[01:28:04] <Foxandxss> nice
[01:28:09] <TheAceOfHearts> so like: {scripts: [], styles: []}
[01:28:10] *** instence_ has joined #angularjs
[01:28:10] <TheAceOfHearts> it's ordered too
[01:28:27] <TheAceOfHearts> https://www.dropbox.com/s/p0caw6k6kj77ydx/Screenshot%202014-11-08%2016.28.25.png?dl=0
[01:28:33] *** anapitupulu has quit IRC
[01:28:35] *** deanclkclk has quit IRC
[01:28:55] *** spaceonline has joined #angularjs
[01:29:00] *** instence has quit IRC
[01:29:09] <TheAceOfHearts> but commonjs would be nicer
[01:29:16] <TheAceOfHearts> you could just require files in your app's entry point
[01:29:23] <TheAceOfHearts> and it'll resolve everything for you :D
[01:29:27] <Foxandxss> I see, will tackle that tomorrow
[01:29:31] <TheAceOfHearts> so it'd make my build process simpler
[01:29:43] <TheAceOfHearts> I haven't transitioned to using commonjs cuz lazy lol
[01:30:04] *** yelvert has joined #angularjs
[01:30:09] *** dannyc has joined #angularjs
[01:30:23] <Foxandxss> I have two copies of my workflow, it is a pain to update both of them, grr
[01:30:27] <seriema> TheAceOfHearts: how do you compare that to bundling/minification? the first time hit might be a big download, but after that it's smooth sailing (kinda). or do you always go for SPA's, so downloading a JS when needed isn't that big of a deal?
[01:30:38] *** asdofindia has joined #angularjs
[01:30:58] <TheAceOfHearts> seriema: the initial pageload for my app at work is SLOW AS BALLS
[01:31:01] <TheAceOfHearts> but it's fine
[01:31:04] <TheAceOfHearts> because afterwards it's fast
[01:31:10] *** mdedetrich has joined #angularjs
[01:31:24] <TheAceOfHearts> if you have a password-gated SPA, it's a good solution I'd say
[01:31:35] <TheAceOfHearts> also, I do bundle everything lol
[01:31:43] <TheAceOfHearts> my build process will concat and minify all of these scripts :p
[01:32:11] <TheAceOfHearts> dev process just globs the array and injects the scripts
[01:32:16] *** _ritchie_ has quit IRC
[01:32:31] <TheAceOfHearts> does that make sense?
[01:32:52] <seriema> it did, until your dev process
[01:32:55] *** andrcmdr has joined #angularjs
[01:33:02] <TheAceOfHearts> in my index.jade, I have this: https://www.dropbox.com/s/nbbm7dgzvx1sujd/Screenshot%202014-11-08%2016.32.50.png?dl=0
[01:33:11] <Foxandxss> TheAceOfHearts: you inject <script> shit or you concat everything in one file?
[01:33:15] <Foxandxss> index.jade?
[01:33:17] <Foxandxss> /kick TheAceOfHearts
[01:33:19] <TheAceOfHearts> lol
[01:33:21] <Foxandxss> ups, almost
[01:33:25] *** spaceonline has quit IRC
[01:33:25] <seriema> lol
[01:33:27] <Foxandxss> extra space
[01:33:39] *** klaut has joined #angularjs
[01:33:40] <TheAceOfHearts> I pass that array to index.jade when compiling it :P
[01:33:46] <TheAceOfHearts> it makes it so my dev and build process are similar
[01:33:55] <Foxandxss> I use underscore
[01:33:58] <Foxandxss> to create the index.html
[01:34:05] <Foxandxss> no need of .jade
[01:34:10] <Foxandxss> damn I hate jade
[01:34:13] <TheAceOfHearts> I already use jade for everything~
[01:34:21] *** dannyc has quit IRC
[01:34:49] *** bongjovi has quit IRC
[01:34:51] *** yelvert has quit IRC
[01:35:17] <seriema> TheAceOfHearts: the one thing I couldn't love about jade is how to add a €!"#!% link right in your text, or any other element
[01:35:19] *** derickf has joined #angularjs
[01:35:36] <TheAceOfHearts> huh?
[01:35:41] <seriema> it's fine when you have a new line for every element, but inline elements?.. I must've missed something
[01:35:43] *** paul_uk has joined #angularjs
[01:35:53] <TheAceOfHearts> you can just use html inline
[01:36:02] <seriema> which, defeats the whole point
[01:36:14] <TheAceOfHearts> div Click <a href='link'>here</a> to download
[01:36:20] <seriema> exactly
[01:36:25] <TheAceOfHearts> I dunno
[01:36:28] <seriema> broken IMHO
[01:36:29] <TheAceOfHearts> I honestly don't care
[01:36:33] <seriema> haha
[01:36:39] <TheAceOfHearts> I use haml with rails
[01:36:47] <TheAceOfHearts> it's simpler to do that sort of thing
[01:36:54] <seriema> never went the rails route
[01:36:55] <TheAceOfHearts> cuz it only injects elements when they start with %
[01:36:59] <TheAceOfHearts> rails is awesome
[01:37:03] <seriema> I came from OpenGL with C++ =/
[01:37:07] *** MikeS_ has quit IRC
[01:37:11] <TheAceOfHearts> ah~
[01:37:14] <TheAceOfHearts> not my cup of tea
[01:37:21] *** _ritchie_ has joined #angularjs
[01:37:29] <seriema> don't get me wrong. I'm not going back lol
[01:37:54] <seriema> but the natural path was C#... nuff said
[01:37:58] <paul_uk> hi all. i've been given some code of angularjs to work with. im a jquery dev, no nothing about angular. i've got some html, loading in angular via getscript and then i have the controller. but nothing seems to be binding so nothing happens with the controller. how do i get a controller to bind to the html after angular has loaded? if i put this all in a file, then it works as it should.
[01:38:32] <seriema> paul_uk: put this somewhere in your html: {{1+1}} does it print out 2?
[01:38:36] *** danecando has quit IRC
[01:39:05] <paul_uk> seriema: probably not because by the time the html is rendered. angular js has not been loaded. it gets loaded after jquerys document.ready.
[01:39:22] <seriema> paul_uk: yeah, like you said. you don't know angular :P
[01:39:55] <seriema> it processes that stuff after. but.. wait.. angular is loaded through $ ready?..
[01:40:09] <paul_uk> seriema. no, its being loaded by getScript
[01:40:15] <seriema> ah right, you said that
[01:40:18] *** dsdeiz has joined #angularjs
[01:40:19] <seriema> well anyway
[01:40:27] *** CamonZ has quit IRC
[01:40:28] <seriema> try that template expression
[01:40:41] <seriema> if it doesn't work, angular isn't initialized correctly
[01:41:03] <seriema> (when angular loads it'll go through the HTML and change {{1+1}} to 2)
[01:41:03] *** SeeThruH1 has quit IRC
[01:41:12] *** SeeThruHead has joined #angularjs
[01:41:49] <paul_uk> seriema: yeah it doesnt work. because the html is rendered and then angular js is being loaded. i see it in my dev tools as being loaded. so my question is. how do i get angular to do something after it loads? how can i dynamically make a controller or do something?
[01:41:59] <TheAceOfHearts> did you add ng-app to your html?
[01:42:07] *** motionman has joined #angularjs
[01:42:28] <seriema> paul_uk: again, angular goes through your html when it's loaded
[01:42:30] *** prosper_ has joined #angularjs
[01:42:40] <seriema> paul_uk: so if you're not seeing 2, something's wrong.
[01:42:50] <paul_uk> TheAceOfHearts: yeah. i have ng-app there. ok. if i have the css, angular scripts, html and js all in 1 file. everything works as it should. however for my production site, this isnt it. it's broken down and lots of stuff being remotely (lazy) loaded.
[01:42:53] <seriema> paul_uk: it TheAceOfHearts gave you the first thing to try
[01:43:20] *** johnstorey has quit IRC
[01:43:22] <TheAceOfHearts> well
[01:43:24] <TheAceOfHearts> after you load angular
[01:43:25] <seriema> any errors in console?
[01:43:29] <TheAceOfHearts> you need to load your module
[01:43:33] <paul_uk> seriema: nope none.
[01:43:44] <TheAceOfHearts> you might need to bootstrap manually too
[01:43:56] <seriema> yeah, do you have a "main" angular js file? like app.js?
[01:43:56] <paul_uk> ok, how do i bootstrap manually, we getting somewhere now :)
[01:44:08] <seriema> angular.module('myModule', []);
[01:44:11] <TheAceOfHearts> https://docs.angularjs.org/api/ng/function/angular.bootstrap
[01:44:17] <seriema> and ng-app="myModule"
[01:44:23] <seriema> ooooor just read the docs lol
[01:44:28] <paul_uk> seriema: i have this: var app = angular.module('app', ['ui.sortable', 'angularSpectrumColorpicker', 'ngSanitize']);
[01:44:37] *** cotko has joined #angularjs
[01:44:38] <seriema> paul_uk: then it's bootstraped
[01:44:41] *** patrick99e99 has joined #angularjs
[01:44:43] <seriema> is ng-app="app"?
[01:44:47] <paul_uk> yes
[01:44:51] *** derickf has quit IRC
[01:44:52] <seriema> what element is it on?
[01:45:07] <paul_uk> seriema: a div
[01:45:11] <seriema> hm
[01:45:14] <seriema> it should be on your body
[01:45:18] *** prosper_ has quit IRC
[01:45:20] <seriema> or html, whichever
[01:45:29] <paul_uk> seriema: this is what i have: <div id="ng-app" ng-app="app" data-ng-controller="headlinesCtrl" ng-cloak>
[01:45:37] <andrcmdr> Angular isn't going to do anything to the DOM is it isn't loaded before it.
[01:45:38] <seriema> did you put the {{1+1}} inside that div?
[01:45:57] <paul_uk> seriema: yes it does not work, because on html render, angular isn't loaded.
[01:46:05] <seriema> define "html render"
[01:46:11] <seriema> because if you mean the browser I'll smack you
[01:46:16] <paul_uk> lol
[01:46:45] *** lele has quit IRC
[01:46:48] <seriema> not sure what you'd expect Angular to do before the browser has created the DOM
[01:46:49] <paul_uk> so php generates the page, css gets loaded, jquery gets loaded and a couple of other scripts. document.ready gets fired. THEN angularjs gets injected into the head.
[01:47:08] <seriema> php generates the page, sends to client, THEN the stuff you said
[01:47:12] <brandon__> hmmm, does elem.isolateScope() (in a unit test) still work in angular 1.3.2? I'm just getting undefined and I thought it was because I had jQuery2 included, but now not so sure.
[01:47:40] <seriema> so one last time: angular counts on the DOM being ready before it does the expression interpolation and what not
[01:47:52] <seriema> so angularjs loading AFTER everything is NOT your problem
[01:48:05] <paul_uk> seriema: ok happy we got that sorted out then.
[01:48:10] <seriema> :P
[01:48:15] <paul_uk> seriema: well the dom is ready by the time angular is on the scene.
[01:48:19] <seriema> great
[01:48:21] *** lenswipe has quit IRC
[01:48:29] <seriema> have you checked the network tab?
[01:48:31] <paul_uk> seriema: thanks for the help so far, i do appreciate it :)
[01:48:37] <seriema> is angular and app.js loaded?
[01:48:37] <paul_uk> seriema: for angular ?
[01:48:45] <seriema> maybe the lazy loading thing is screwing up?
[01:48:51] <paul_uk> seriema: do i need an app.js specifically?
[01:48:56] *** crakrjak_respawn has joined #angularjs
[01:49:08] <seriema> if that's where you have the angular.module() then yes
[01:49:14] <seriema> and it has to be after angular.js
[01:49:25] *** patrick99e99 has quit IRC
[01:49:54] <paul_uk> seriema: ok let me take the angular js out of my jquery code and then put it into an app.js file
[01:49:58] <seriema> ok, script kidde time! add console.log('HELLO I LOVE YOU SERIEMA'); in app.js (or wherever you have the angular.module())
[01:50:10] *** ReactiveIO has joined #angularjs
[01:50:25] <seriema> if you don't see it in your console, your file isn't loading
[01:50:42] *** Reskp has joined #angularjs
[01:50:51] <seriema> so if it's getFile or whatever you used, I have no idea :D
[01:51:07] <paul_uk> seriema: oh yeah the files are loading fine. ok 1 sec.
[01:51:12] <edrocks_> anyone using mandrill?
[01:51:30] <seriema> paul_uk: ok
[01:52:04] *** mdedetrich has quit IRC
[01:52:33] *** walbert has joined #angularjs
[01:52:46] <paul_uk> seriema: ok so angular and app.js are being loaded: http://i.imgur.com/VTVAVjY.png but still, the controller doesnt seem to fire.
[01:52:58] *** kirfu has quit IRC
[01:53:09] <seriema> ok that's good
[01:53:41] *** disorder20 has joined #angularjs
[01:53:46] <seriema> just to do a silly sanity-check. add a console.log to that app.js
[01:54:04] <seriema> if that works, give me a screenshot of the contents of app.js or past in PM
[01:54:09] <seriema> *paste
[01:54:12] *** bealtine has quit IRC
[01:54:39] <paul_uk> seriema: already have that :) it fires in app.js, does not fire in app.controller
[01:54:55] *** tristanp has quit IRC
[01:55:02] <seriema> paul_uk: ok, did you move the ng-app declaration to body? not sure it likes to be together with a ng-controller
[01:55:10] *** btyne has joined #angularjs
[01:55:22] *** j_wright has joined #angularjs
[01:55:23] <paul_uk> seriema: i didnt, but let me try that now
[01:55:33] <seriema> paul_uk: I'm assuming the ng-controller="name" matches your app.controller('name', ...
[01:55:37] *** Reskp has quit IRC
[01:55:43] <paul_uk> seriema: yes it does
[01:55:46] <seriema> ok
[01:56:04] <seriema> need to see your app.js and controller js
[01:56:23] <seriema> if moving ng-app didn't work, then pastebin or something plz ^^
[01:56:50] <paul_uk> seriema: ok moving to body didnt work.
[01:57:18] *** platonic has quit IRC
[01:57:19] *** sojic has quit IRC
[01:57:20] <seriema> ok, gimme CODE
[01:57:21] <paul_uk> seriema: pastied you link
[01:57:24] <seriema> thx
[01:57:26] <paul_uk> in PM
[01:57:34] *** annlewis has joined #angularjs
[01:58:35] *** lele has joined #angularjs
[01:58:42] *** gnrlbzik has quit IRC
[01:59:02] *** gnrlbzik has joined #angularjs
[01:59:05] <seriema> paul_uk: thx, but I need MOAR! the html plz
[01:59:23] * seriema was hoping to find a glaring mistake and call paul_uk a n00b, but failed
[01:59:26] *** scottc5 has quit IRC
[01:59:56] *** AlSquirrel has quit IRC
[02:00:01] <paul_uk> seriema: hehe, well this isnt my code and like i say, if i have all the stuff in 1 .html file. it all works as it should. its not liking this being all broken down. :( let me paste you the html
[02:00:29] *** gnrlbzik has quit IRC
[02:00:45] *** gnrlbzik has joined #angularjs
[02:01:05] <paul_uk> seriema: pm'd you the html. but i am a noob at angular lol
[02:01:35] *** joshontheweb has joined #angularjs
[02:01:57] <seriema> paul_uk: don't worry man, I'm just goofing ^^
[02:01:57] *** annlewis has quit IRC
[02:02:12] <seriema> meh, that html has ng-app on the div?
[02:02:13] <paul_uk> seriema: :)
[02:02:53] *** sacho has joined #angularjs
[02:03:09] <paul_uk> seriema: in the original version, yeah it does
[02:03:11] *** lilVaratep has left #angularjs
[02:03:28] <seriema> ok
[02:03:30] *** andrcmdr has quit IRC
[02:03:40] *** mary5030 has joined #angularjs
[02:03:47] *** scottc5 has joined #angularjs
[02:03:57] *** AlSquirrel has joined #angularjs
[02:04:01] <seriema> backtracking. if ng-app is on the body, if the first thing below it is that simple template expression, does that work? like <body> {{1+1}}
[02:04:20] <paul_uk> seriema: let me try
[02:04:25] *** AlSquirrel has quit IRC
[02:04:28] <seriema> does it print out {{1+1}} as is, or 2? it shouldn't be blank at least
[02:04:35] *** danecando has joined #angularjs
[02:04:53] *** johnstorey has joined #angularjs
[02:04:59] *** szymek_ has quit IRC
[02:05:12] <paul_uk> seriema: in the body its still 1+1
[02:05:13] *** esad has joined #angularjs
[02:05:29] *** edrocks_ is now known as edrocks
[02:05:40] <seriema> then angular is not loading correctly... hmmm
[02:06:03] <seriema> I'm feeling stumped :(
[02:06:09] <paul_uk> seriema: its like i need angular to do something when it gets loaded
[02:06:11] *** Paul_B_Hartzog has joined #angularjs
[02:06:50] <seriema> paul_uk: when what gets loaded?
[02:07:06] <seriema> the timing of loading angular.js and app.js shouldn't matter
[02:07:11] <paul_uk> seriema: when angular js is injected into the head by jquery.
[02:07:41] <seriema> hmm wait
[02:07:51] * seriema runs to check something
[02:07:55] <paul_uk> cool thanks
[02:08:05] *** AlSquirrel has joined #angularjs
[02:09:06] *** earational has joined #angularjs
[02:09:54] *** earational has quit IRC
[02:10:05] <seriema> hmmm
[02:10:11] <seriema> I've never loaded angular that late
[02:10:36] <seriema> but, it could be that because DOMContentLoaded has already been fired, we're too late
[02:10:37] <seriema> https://docs.angularjs.org/guide/bootstrap
[02:10:51] <Paul_B_Hartzog> so Angular 2
[02:11:12] <Paul_B_Hartzog> everything I've read is about how terrible a decision it is
[02:11:14] <Paul_B_Hartzog> anyone have any thoughts?
[02:11:14] *** eamonn has joined #angularjs
[02:11:21] *** snurfery has joined #angularjs
[02:11:34] *** bkuberek has quit IRC
[02:11:35] *** opiates has quit IRC
[02:11:41] <seriema> paul_uk: maybe this? http://icelab.com.au/articles/manually-bootstrapping-angularjs-for-asynchronous-loading-in-internet-explorer/
[02:11:47] *** phaggood has quit IRC
[02:11:53] <seriema> Paul_B_Hartzog: it's an awesome decision
[02:12:04] <seriema> Paul_B_Hartzog: it's built for the future, when we have ES6 and Web Components
[02:12:09] <paul_uk> seriema: i have tried to load it the normal way. but being integrated into my framework, its not liking it: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.20/$injector/modulerr
[02:12:17] <Paul_B_Hartzog> abandoning OSS and w3 standards?
[02:12:23] <Paul_B_Hartzog> doesn't sound good to me
[02:12:30] <paul_uk> seriema: ok let me try that
[02:12:39] <Paul_B_Hartzog> not looking for an argument
[02:12:40] *** MalteJ has quit IRC
[02:12:43] <seriema> the OSS part I missed, but w3 standards is exactly what they're following though?
[02:12:49] <Paul_B_Hartzog> just gathering data
[02:13:03] *** mmealling has joined #angularjs
[02:13:14] <Paul_B_Hartzog> the new syntax won't even validate as XHTML
[02:13:18] <seriema> paul_uk: well at least angular seems to be alive! the injector can be because things are not in the correct order
[02:13:20] <Paul_B_Hartzog> from what I've read
[02:13:33] <seriema> people still care about XHTML? I thought HTML5 kinda dissed that?
[02:13:45] <Paul_B_Hartzog> sory, I only had a second to stop by, was just killing some time until wife gets home. She's home :-)
[02:13:52] <TheAceOfHearts> seriema: the real problem is that angular 2.0's current proposal breaks in current browsers
[02:13:53] <seriema> lol
[02:14:05] <TheAceOfHearts> Paul_B_Hartzog: angular 2.0 that was presented at ngEurope probably won't ship
[02:14:08] <TheAceOfHearts> too much community backlash
[02:14:10] *** ccohn has joined #angularjs
[02:14:15] *** grantfunke_ has joined #angularjs
[02:14:17] <Paul_B_Hartzog> that's what I heard
[02:14:22] <Paul_B_Hartzog> Osborne Effect
[02:14:30] <TheAceOfHearts> the real problem with 2.0 is that some of the new syntax won't work with, for example, setAttribute
[02:14:37] <TheAceOfHearts> so you can't do this programmatically
[02:14:38] <seriema> TheAceOfHearts: even with transpilation? and, is it even meant to be running on todays browsers?
[02:15:15] <TheAceOfHearts> seriema: the new syntax doesn't allow programmatic interaction with the DOM, that's a deal-breaker from the get-to
[02:15:17] <TheAceOfHearts> get-go*
[02:15:19] <Paul_B_Hartzog> it's basically a case of "now we're going to do it out way" instead of sticking with community-driven standards
[02:15:28] <Paul_B_Hartzog> I'm hoping all this will spawn an OpenAngular fork
[02:15:29] <Paul_B_Hartzog> srsly
[02:15:37] *** favetelinguis has joined #angularjs
[02:15:45] <TheAceOfHearts> Paul_B_Hartzog: they're going to maintain 1.x for the time
[02:15:47] *** shampine has joined #angularjs
[02:15:48] <Paul_B_Hartzog> er, "out way" -> "our way"
[02:15:52] <Paul_B_Hartzog> only for 2 yrs
[02:15:56] <TheAceOfHearts> they announced it recently
[02:16:00] <seriema> TheAceOfHearts: do we still want to manually update the dom though?
[02:16:01] <Paul_B_Hartzog> then you are out in the colde
[02:16:17] <TheAceOfHearts> seriema: yes, we do
[02:16:28] <walbert> Paul_B_Hartzog: Do you really think they're going to release an unusable library, and then drop support for an existing and usable one?
[02:16:42] <Paul_B_Hartzog> I've seen groups do worse
[02:16:45] <hiptobecubic> it's google
[02:16:49] <hiptobecubic> they do whatever
[02:16:49] <Paul_B_Hartzog> hard to say
[02:17:03] <seriema> Paul_B_Hartzog: any references for the "community driven standards" they're breaking?
[02:17:20] <Paul_B_Hartzog> well i mentioned that the new syntax is not XHTML valid
[02:17:32] *** diffalot has quit IRC
[02:17:36] <Paul_B_Hartzog> I'd have to look up my notes for more than that
[02:17:42] <Paul_B_Hartzog> which is just off the top of my head
[02:17:47] <walbert> It doesn't need to be, though. XHTML hasn't been a thing since HTML 4
[02:17:49] <seriema> Paul_B_Hartzog: and as I mentioned, didn't W3C drop the XHTML requirement in HTML5 already?
[02:17:52] <Paul_B_Hartzog> wife is here. gotta bail.
[02:17:55] <TheAceOfHearts> one big problem with angular 2.0 as was shown in ngEurope is that it breaks compatibility with a lot of the existing tooling
[02:17:58] <Paul_B_Hartzog> good point on the XHTML, not sure
[02:18:02] <Paul_B_Hartzog> I'll check that out
[02:18:02] <Paul_B_Hartzog> thx
[02:18:03] <Paul_B_Hartzog> n e way, thx for the thoughts
[02:18:08] <seriema> ok
[02:18:14] <TheAceOfHearts> seriema: the problem is that it breaks existing tooling
[02:18:23] *** ccohn has quit IRC
[02:18:29] <seriema> stupid question: what tooling?
[02:18:48] *** bealtine has joined #angularjs
[02:18:54] <TheAceOfHearts> syntax highlighters, html parsers?
[02:18:54] *** Paul_B_Hartzog has quit IRC
[02:19:05] <TheAceOfHearts> html parsers are already complicated enough, this just makes it worse
[02:19:18] <seriema> well, it's not written for ES5 and they said they would work with IDE integrations for AtScript
[02:19:31] <TheAceOfHearts> I'm not talking about the JS side of things.
[02:19:31] <seriema> ah you mean the ((click))= things?
[02:19:40] <TheAceOfHearts> I'm talking about the html templates at least
[02:19:41] <TheAceOfHearts> yes
[02:19:47] <TheAceOfHearts> that breaks a lot of tooling
[02:19:50] <walbert> What parsers is it going to break? Some naive regular-expression-based syntax highlighters I can understand, but a parser should be just fine.
[02:19:54] *** soee has quit IRC
[02:20:08] *** AlSquirrel has quit IRC
[02:20:14] *** favetelinguis has quit IRC
[02:20:15] <seriema> ah =/ I assumed it was a part of Web Components I hadn't seen yet
[02:20:20] <TheAceOfHearts> no, it's not.
[02:20:25] <seriema> doh!
[02:20:43] <TheAceOfHearts> walbert: it depends on how good the parser is at error handling and how much stuff it's willing to ignore
[02:20:59] <seriema> walbert: don't worry, IE won't work anyway :P
[02:21:11] <TheAceOfHearts> but the big problem is that it won't allow programmatic interaction with the DOM.
[02:21:14] <TheAceOfHearts> so that's a non-starter
[02:21:22] *** Rejected has quit IRC
[02:22:37] *** Siecje has joined #angularjs
[02:23:48] <seriema> ok, but I'm guessing that part's getting skipped
[02:24:01] <seriema> what about dropping OSS? I must've missed that completely
[02:24:10] *** bbankes has quit IRC
[02:24:13] *** Foxandxss has quit IRC
[02:24:39] <TheAceOfHearts> idk what the other guy was talking about
[02:24:46] <TheAceOfHearts> but anyway
[02:24:47] <seriema> lol ok
[02:24:52] <TheAceOfHearts> they just went badly about things
[02:24:54] <TheAceOfHearts> they should be open
[02:25:17] *** snurfery has quit IRC
[02:25:18] <seriema> the docs around 2.0 are public though?
[02:25:32] <TheAceOfHearts> you mean the docs that haven't been updated since May or w/e?
[02:25:57] *** disorder20 has quit IRC
[02:26:32] <TheAceOfHearts> angular has a lot of great parts~ but don't drink the kool-aid ;P
[02:26:37] <seriema> the weekly meeting thing was just updated? =/
[02:26:56] *** AlSquirrel has joined #angularjs
[02:26:59] <TheAceOfHearts> the silence between May and ngEurope.
[02:27:13] *** kalehv has joined #angularjs
[02:27:21] *** AlSquirrel has quit IRC
[02:27:24] <TheAceOfHearts> wrt 2.0
[02:27:34] <seriema> there's plenty of activity on the google drive?
[02:27:46] <seriema> but yeah, maybe it was quite inbetween
[02:28:24] *** kalehv has quit IRC
[02:28:30] <TheAceOfHearts> there's just been a lot of backlash so hopefully they approach things better :P
[02:28:41] <brandon__> any reason angular.element(whatever).scope() or isolateScope() would return undefined?
[02:28:47] <TheAceOfHearts> I'm not happy with angular 1.x anyway :|
[02:28:49] *** scriptThis has quit IRC
[02:29:04] <seriema> I took that backlash as the regular "oh no I have to learn new things!"
[02:29:10] <walbert> Yeah, though they've released so few details that it's really impossible to guess what they're doing.
[02:29:15] <seriema> and just checked out the presentation and some docs
[02:29:24] *** scriptThis has joined #angularjs
[02:29:36] <walbert> Hell, the crazy templates might not even be getting parsed by the browser -- angular could be parsing them and generating a dom
[02:30:01] <TheAceOfHearts> breaking backwards compatibility, creating a new language, etc.
[02:30:05] <seriema> but maybe the browser freaks out when it seeks (()) inside a html element?
[02:30:06] <TheAceOfHearts> I think the backlash is understandable
[02:30:20] <seriema> they promised AtScript isn't a new language :P
[02:30:45] <seriema> it's just syntactic sugar, as it gets compiled to ES5 anyway
[02:30:55] <TheAceOfHearts> ehhhh
[02:30:56] <TheAceOfHearts> yes it is
[02:31:01] *** Shrooms has quit IRC
[02:31:20] *** cakirke has quit IRC
[02:31:22] <seriema> no, they had a big red heart on the slide saying it wasn't a new language! :P
[02:31:22] *** mven has quit IRC
[02:31:30] <TheAceOfHearts> ~_~ …
[02:31:33] <seriema> lol
[02:31:47] <TheAceOfHearts> I like a lot of the flux stuff I've seen, but I'm not a fan of jsx
[02:31:48] <seriema> it was typescript + introspection
[02:32:04] <TheAceOfHearts> typescript inspired, but not compatible
[02:32:10] <TheAceOfHearts> but anyway
[02:32:17] <TheAceOfHearts> that's just more overhead
[02:32:20] <seriema> flux is the latest react thing? not a fan of jsx either
[02:32:36] <TheAceOfHearts> I mean, w/e
[02:32:44] <seriema> yeah, but I kinda liked that they're pushing things
[02:32:44] <TheAceOfHearts> people can pay that cost if they want
[02:32:46] <TheAceOfHearts> I don't like it
[02:32:51] <TheAceOfHearts> so I'm not going to use it
[02:32:58] <brandon__> waaah, wow. I hate it when I do this, spent about 2 hours trying to see why angular.element().scope() wouldn't work, we'll I have debug mode turned off in angular for performace. Looks like I'll need debug mode to pass these unit tests at least.
[02:33:26] <seriema> brandon__: debug mode? for $log or what?
[02:33:44] <brandon__> $compileProvider.debugInfoEnabled(false);
[02:34:01] <brandon__> it seems that using that kills angular.element().scope() or isolatescope()
[02:34:04] *** rtpg has joined #angularjs
[02:34:35] *** airtonix has quit IRC
[02:34:40] <brandon__> learning new things each day, ha.
[02:34:52] <seriema> cool
[02:35:18] <seriema> TheAceOfHearts: any links to articles on those things? I picked up a few to read now.
[02:35:25] <seriema> I was mostly checking googles own stuff
[02:35:27] <seriema> =/
[02:35:35] <TheAceOfHearts> checking out what?
[02:36:13] *** danecando has quit IRC
[02:36:47] <seriema> 2.0
[02:36:51] <TheAceOfHearts> idk
[02:36:57] <TheAceOfHearts> not really
[02:37:03] <TheAceOfHearts> just don't drink the kool-aid
[02:38:16] <seriema> I'm a consultant, kool-aid pays the bills *jk*
[02:38:20] <TheAceOfHearts> lol
[02:38:36] <TheAceOfHearts> I think that as a consultant you probably won't care
[02:38:51] <TheAceOfHearts> most consultants just chug out code and then it stops being your problem, right?
[02:38:53] <seriema> btw, hope everyone has seen this and put all their votes on web components stuff: https://wpdev.uservoice.com/forums/257854-internet-explorer-platform
[02:39:15] <seriema> TheAceOfHearts: actually, that's what I hate about consultancy. I don't do that.
[02:39:17] *** jamto11 has joined #angularjs
[02:39:28] <seriema> TheAceOfHearts: unless the client pisses me off.... :P
[02:39:28] <TheAceOfHearts> I'm not really sold on web components
[02:39:35] *** marr has quit IRC
[02:39:56] *** ome has joined #angularjs
[02:40:22] <seriema> I'm just tired of implementing or reusing select-elements etc. just let me grab it as is
[02:40:38] <seriema> and since people are idiots and can't handle their CSS properly, Shadow DOM might help
[02:40:56] <TheAceOfHearts> so
[02:40:57] *** bbankes has joined #angularjs
[02:41:04] <TheAceOfHearts> idk
[02:41:13] *** Oddman has quit IRC
[02:41:16] <seriema> it's getting pretty late here
[02:41:19] <seriema> thx for the chat
[02:41:24] <TheAceOfHearts> night~
[02:41:25] <paul_uk> thanks seriema
[02:41:35] <seriema> paul_uk: oh yeah was just gonna ask, how did it go?
[02:41:43] <seriema> did I forget to answer you somewhere? =/
[02:41:47] <paul_uk> seriema, angular.element(document).ready(function() {... doesnt fire.
[02:42:05] <TheAceOfHearts> wat.
[02:42:05] <paul_uk> so im still stuck lol. i may just shelve what i want to do
[02:42:06] <seriema> well, damn
[02:42:18] * seriema hands it over to TheAceOfHearts
[02:42:23] *** AciD`` has quit IRC
[02:42:24] <TheAceOfHearts> D:
[02:42:25] <seriema> >:D
[02:42:26] *** eamonn has quit IRC
[02:42:26] <TheAceOfHearts> nooo
[02:42:28] <paul_uk> haha
[02:42:29] <TheAceOfHearts> I'm doing something else
[02:42:30] <seriema> lol
[02:42:31] *** marshall has joined #angularjs
[02:42:36] <seriema> have fun guys!
[02:43:13] <seriema> paul_uk: sorry but it's 03 here and I'm getting up at 08 =( and I'm out of ideas. grab me tomorrow if you want
[02:43:33] <paul_uk> seriema: no probs, im appreciative of the help you gave. get a good nites sleep :)
[02:43:34] *** jolts has quit IRC
[02:43:40] <seriema> ok, one last idea. skip the .ready() thing. just call .bootstrap() directly
[02:44:10] *** japhar81 has joined #angularjs
[02:44:15] <seriema> you're probably loading angular so late that all events are already fired. jquery ensures .ready() being called, but I've never looked into angulars version
[02:44:28] <seriema> or maybe that was jquery... yeah it probably was
[02:44:41] <seriema> hmm. anyway, try just calling bootstrap directly. AFTER your whole app.js file
[02:44:41] <paul_uk> seriema: i did that and got the injectorr error: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.2.26/$injector/modulerr?
[02:44:44] <seriema> put it in the end or something
[02:44:51] <brandon__> there's no way to access process.env.NODE_ENV from angular is there
[02:44:58] <seriema> paul_uk: that's a GOOD thing!
[02:45:07] <TheAceOfHearts> wut
[02:45:10] <paul_uk> seriema success!
[02:45:11] <seriema> paul_uk: it means it's trying, which is a heck lot more than before
[02:45:12] <paul_uk> i did that
[02:45:16] <paul_uk> i put it at the end
[02:45:19] <seriema> haha
[02:45:21] <paul_uk> now 1+1 = 2
[02:45:21] <seriema> YES!
[02:45:21] <TheAceOfHearts> brandon__: it depends on what you're doing
[02:45:24] <paul_uk> thanks!!!!
[02:45:26] <TheAceOfHearts> if you compile with browserify, then yeah
[02:45:26] <seriema> :DDDD
[02:45:27] <TheAceOfHearts> easy
[02:45:29] *** ProLoser has joined #angularjs
[02:45:29] <TheAceOfHearts> otherwise idk
[02:45:37] <paul_uk> seriema: lol this is all i needed: angular.bootstrap(document, ["app"]);
[02:45:38] <TheAceOfHearts> pass that value somewhere on your window?
[02:45:40] <paul_uk> dude you rock man
[02:45:45] <brandon__> it would be nice to disable stuff in production, but have in enabled in dev using process.env.NODE_ENV (coming from config files)
[02:45:49] <seriema> paul_uk: woohoo!
[02:45:55] <brandon__> specifically $compileProvider.debugInfoEnabled(false);
[02:46:04] <TheAceOfHearts> there's preprocess
[02:46:13] <seriema> paul_uk: if you're here later I'll pester you about spreading my article to your friends :P
[02:46:20] <brandon__> wow, I didn't thing of that
[02:46:22] <TheAceOfHearts> https://www.npmjs.org/package/gulp-preprocess brandon__
[02:46:26] <paul_uk> seriema: sure thing!
[02:46:28] <brandon__> window.env.NODE_ENV
[02:46:28] <seriema> :D
[02:46:40] <seriema> paul_uk: last thing, did you move the whole thing or jsut the bootstrap?
[02:46:57] <paul_uk> seriema: i moved the bootstrap to the bottom of app.js
[02:47:03] <seriema> paul_uk: because that code initializes angular, so everything has to be configured first
[02:47:06] *** _ritchie_ has quit IRC
[02:47:13] <paul_uk> seriema: i left the ng-app in the div still
[02:47:26] <seriema> since it's so late, .ready() calls directly. so any code after that is missed
[02:47:43] <seriema> the idea is to "configure" angular with all those app.controller() etc
[02:48:04] <seriema> then bootstrap (which is usually called automatically through the DOMContentLoaded event) starts running everything
[02:48:06] *** klaut has quit IRC
[02:48:19] <seriema> so if you had bootstrap at the top, it didn't have anything to run
[02:48:29] <paul_uk> seriema: yeah that makes total sense.
[02:48:41] <seriema> and you probably had it before angular.module('name', []) which is the code for creating a module
[02:48:44] <sacho> is app.js your last script to load?
[02:48:45] <TheAceOfHearts> uhhh
[02:48:47] <TheAceOfHearts> you an use config blocks
[02:48:48] <seriema> that's why $injector was freaking out
[02:48:50] <brandon__> sweet, thanks for the tips ace of hearts, I might actually try to pass to window (i know globals are bad, but... ha)
[02:48:58] <TheAceOfHearts> globals aren't bad
[02:49:00] *** cannap has quit IRC
[02:49:02] <TheAceOfHearts> that's just fear-mongering
[02:49:13] <TheAceOfHearts> it's your own app, do whatever you want with globals
[02:49:25] <TheAceOfHearts> applications rely on global state anyway
[02:49:27] * seriema doesn't want to work on TheAceOfHearts code
[02:49:27] <TheAceOfHearts> so w/e
[02:49:33] <TheAceOfHearts> lol
[02:49:50] *** doug64k has quit IRC
[02:49:53] <brandon__> I want to say passport does something similar with user, it passes it to window
[02:50:02] *** ProLoser has quit IRC
[02:50:07] <TheAceOfHearts> seriema: oh well
[02:50:11] <seriema> ok, enough with the fun. goodnight!
[02:50:21] *** seriema has quit IRC
[02:50:37] *** subr0utine has joined #angularjs
[02:50:47] *** seriema has joined #angularjs
[02:51:38] *** Reskp has joined #angularjs
[02:51:43] *** ReactiveIO has quit IRC
[02:52:15] *** ReactiveIO has joined #angularjs
[02:55:15] *** seriema has quit IRC
[02:55:19] *** alinou has quit IRC
[02:55:51] *** Justotime has quit IRC
[02:56:18] *** Reskp has quit IRC
[02:56:32] *** Owner__ has joined #angularjs
[02:56:53] *** ReactiveIO has quit IRC
[02:56:56] *** cotko has quit IRC
[02:56:56] *** Owner__ is now known as Guest46160
[02:56:58] *** jamto11 has quit IRC
[02:57:33] *** annlewis has joined #angularjs
[02:58:40] *** syzygy_ has quit IRC
[02:58:41] *** ProLoser has joined #angularjs
[02:59:54] *** johnstorey has quit IRC
[03:00:09] *** alinou has joined #angularjs
[03:00:30] *** ctanga has joined #angularjs
[03:00:57] *** RedOrangeZ has quit IRC
[03:01:42] *** caitp- has quit IRC
[03:01:58] *** annlewis has quit IRC
[03:02:38] <edrocks> do directives not inherit rootscope?
[03:02:58] <edrocks> i mean are they not children of rootscope
[03:03:09] <TheAceOfHearts> it depends
[03:03:14] <TheAceOfHearts> not if it's an isolate scope
[03:03:15] <linagee> when I'm editing an ng-model value from the controller, is there a way to make sure I don't go over the maxlength set on the input tag? (easily?)
[03:03:20] <TheAceOfHearts> don
[03:03:28] <TheAceOfHearts> don't abuse inheritance, it'll bring you troubles
[03:04:01] <edrocks> TheAceOfHearts: I stuck my settings object on there because i need an easy way to get a devmode bool everywhere
[03:04:21] <TheAceOfHearts> edrocks: put it in a service and inject that instead.
[03:04:38] <edrocks> im injecting my Settings service
[03:04:39] <wafflej0ck> edrocks: as far as I nkow the $rootScope is the parent of all scopes created but if it's an isolate scope then it is created directly from the root scope instead of a parent controllers scope
[03:05:16] <wafflej0ck> but like TheAceOfHearts said a service or .value or whatever would be better
[03:05:33] <edrocks> TheAceOfHearts: I'm "$rootScope.settings = Settings.settings" should I bind directly to the service instead?
[03:05:43] <TheAceOfHearts> yes
[03:05:57] *** johnkevinmbasco has joined #angularjs
[03:06:10] <edrocks> do you know what the difference is?
[03:06:33] <edrocks> I have been binding directly to a service for everything else but I forgot why
[03:06:35] <TheAceOfHearts> dealing with inheritance is a pain
[03:06:46] <TheAceOfHearts> it makes your code more obvious
[03:06:56] <zomg> Should just move to PureScript or something
[03:07:04] <zomg> No OOP, no inheritance
[03:07:05] <zomg> =)
[03:07:18] <wafflej0ck> edrocks: if you do .settings = .settings you also have the problem that if you later change Settings.settings = somethingElse then the $rootScope.settings is still pointing at the old object
[03:07:38] <edrocks> ok that makes sense
[03:07:51] <wafflej0ck> OOP inheritence is fine just using this $scope business can get hairy
[03:08:00] <edrocks> I had to deal with that when I was using an array for something
[03:08:13] <zomg> I guess, but I find I don't really use inheritance much at all these days
[03:08:25] <zomg> composition mostly if anything
[03:08:44] <TheAceOfHearts> inheritance is definitely valuable in some cases
[03:08:50] <TheAceOfHearts> it's just easy to end up with really shitty code
[03:08:56] <wafflej0ck> yeah just depends
[03:09:02] <wafflej0ck> I don't find myself really wanting it all the time
[03:09:04] <zomg> People smarter than me have explained the benefits of a FP style data model quite well
[03:09:12] <wafflej0ck> but in little edge cases I'm pissed I don't have straight OOP inheritence
[03:09:16] *** hightower4 has quit IRC
[03:09:18] <zomg> eg. a model where you define your data model separate from the logic
[03:09:23] *** Asiajey has quit IRC
[03:09:34] <zomg> I actually can't even remember when was the last time I used inheritance :P
[03:09:47] <TheAceOfHearts> I do
[03:09:51] *** gnrlbzik has quit IRC
[03:09:52] <TheAceOfHearts> ActiveRecord. So fucking great.
[03:09:58] <wafflej0ck> yeah agree with that
[03:10:05] <zomg> TheAceOfHearts: ActiveRecord is bad!!++
[03:10:09] <zomg> wanna have that discussion again?
[03:10:09] <zomg> lol
[03:10:14] <TheAceOfHearts> ActiveRecord rules
[03:10:33] <TheAceOfHearts> I made an app in like less than 100 LOC (of logic)
[03:10:37] <zomg> Yeah in Rails-style frameworks inheritance makes sense
[03:10:37] *** codeman has joined #angularjs
[03:10:53] *** trampi has quit IRC
[03:10:53] <edrocks> js makes me mad some days
[03:10:57] <zomg> but how often do you inherit from something that isn't a framework component designed to be used in that style
[03:11:11] <TheAceOfHearts> I don't lol
[03:11:17] <zomg> Last time I used inheritance was probably in Rails, but I don't remember when I actually inherited from anything I defined myself
[03:11:27] <TheAceOfHearts> neither do I
[03:11:31] <zomg> Yeah
[03:11:32] *** zzing has quit IRC
[03:11:33] <TheAceOfHearts> because it tends to lead to complicated code
[03:11:36] <wafflej0ck> zomg: I was doing my own before I started using Eloquent
[03:11:40] <TheAceOfHearts> and there's usually nicer ways to solve stuff
[03:11:41] <wafflej0ck> zomg: had a base Data
[03:11:44] <wafflej0ck> oops
[03:12:01] <zomg> Ooh
[03:12:02] <wafflej0ck> zomg: had a base DataAccess class that made the PDO connection and had some helper methods for common CRUD
[03:12:06] <zomg> class MyModel extends BaseModel
[03:12:08] <zomg> the best.
[03:12:21] <wafflej0ck> was better than copying code :D
[03:12:29] <zomg> yeah for sure it's better than that :D
[03:12:41] <linagee> when I have <input ng-model="stuff" maxlength="12">, how do I enforce the maxlength="12" in my controller if I'm modifying $scope.stuff?
[03:13:20] *** jolts has joined #angularjs
[03:13:41] <zomg> Some Haskell web frameworks have a database abstraction that looks like ActiveRecord if you squint your eyes enough
[03:13:57] <zomg> eg. you can do stuff like `insert myRecord`
[03:14:13] *** oniijin has quit IRC
[03:14:24] <wafflej0ck> I need to just quit my bitchin and get on with ECMA6 I'm sure I'd be plenty happy
[03:14:25] <zomg> but you don't actually inherit from anything, and it generates all of it for you based on just declaring plain Haskell data types
[03:14:28] <zomg> it's quite neat
[03:14:37] *** elrabin has joined #angularjs
[03:15:00] *** ccohn has joined #angularjs
[03:15:02] *** whitebook has joined #angularjs
[03:15:35] *** tkimmel has joined #angularjs
[03:15:39] <wafflej0ck> working on writing some tests now though, just added in the karma code coverage node plugin so that's nice can see progress at least
[03:15:40] *** favetelinguis has joined #angularjs
[03:15:55] *** elrabin has quit IRC
[03:15:55] <TheAceOfHearts> man
[03:16:00] *** nycdevgirl has quit IRC
[03:16:01] <zomg> linagee: I think you could declare maxlength as a directive, and have it add it as a validator into the ngModel
[03:16:01] *** deanclkclk has joined #angularjs
[03:16:01] <TheAceOfHearts> checking code coverage with Rails is so zen
[03:16:03] <TheAceOfHearts> it's baller
[03:16:13] <edrocks> TheAceOfHearts: would you recomend setting a object on my Settings service and keeping all my settings in that or just setting individual fields on my Settings service?
[03:16:18] <linagee> zomg: interesting....
[03:16:28] <wafflej0ck> TheAceOfHearts: yeah your link made me think to look for some code coverage luckily not too bad
[03:16:32] <TheAceOfHearts> settings service should just be an object with lots of keys
[03:16:35] *** TommyO has quit IRC
[03:16:42] <linagee> zomg: what
[03:16:42] <TheAceOfHearts> it's not so bad with node
[03:16:49] <TheAceOfHearts> it's just so much easier to do code coverage with Rails
[03:16:56] <linagee> zomg: what's annoying is that I don't want to have maxlength="12" and then have a 12 constant in my code somewhere.
[03:16:59] <TheAceOfHearts> add 1 line to your gemfile and 2 lines to your spec_helper.rb
[03:17:02] <TheAceOfHearts> and it's done~
[03:17:07] <linagee> zomg: because that's about as maintainable as crap. :(
[03:17:20] <zomg> linagee: you can have the directive read the attribute's value and use that
[03:17:21] *** ReactiveIO has joined #angularjs
[03:17:24] *** paul_uk has quit IRC
[03:17:30] *** spaceonline has joined #angularjs
[03:17:34] *** plexiv has quit IRC
[03:17:47] *** charuru has quit IRC
[03:17:59] <TheAceOfHearts> linagee: you should just be pragmatic, how likely is that number to change? imo, just say fuck it and hard-code it, if you ever need it to be flexible, then make it so~
[03:18:02] <wafflej0ck> I thought angular had some builtins for that
[03:18:21] <wafflej0ck> ng-maxlength
[03:18:35] <wafflej0ck> is that not what you all were talkin about?
[03:18:43] *** deanclkclk_ has quit IRC
[03:18:44] *** TommyO has joined #angularjs
[03:18:49] <wafflej0ck> Sets maxlength validation error key if the value is longer than maxlength.
[03:18:55] *** dannyc has joined #angularjs
[03:18:56] <edrocks> TheAceOfHearts: would you use angular.copy to load the keys onto your service if you save them in localstorage then?
[03:18:59] <linagee> wafflej0ck: ng-maxlength is for validation. argh. (and hard to search for anything past that.)
[03:19:22] <zomg> true ng-maxlength might exist :P
[03:19:27] <linagee> wafflej0ck: user entered validation. not "I just modified ng-model in my controller" validation.
[03:19:30] *** ccohn has quit IRC
[03:19:57] *** plexiv has joined #angularjs
[03:20:04] *** tkimmel has quit IRC
[03:20:08] <wafflej0ck> linagee: ah right.... ng-change happens when the model is changed but yea would need to know what that attr is perhaps a custom directive is the way to go
[03:20:17] *** favetelinguis has quit IRC
[03:20:24] <linagee> wafflej0ck: I wish this was already solved. it seems like such a common case. :(
[03:20:41] <wafflej0ck> maybe ui-mask
[03:20:46] <wafflej0ck> I'm sure there's directives out there
[03:20:54] *** shampine has quit IRC
[03:20:59] <wafflej0ck> but might be easier to roll your own since it's not that complicated of a problem either
[03:21:15] <linagee> ui-mask would be nice, but I have no idea what's being entered. (its a crazy "enter your phone number or barcode" entry field.)
[03:21:15] <wafflej0ck> and then you get just what you need
[03:21:57] *** spaceonline has quit IRC
[03:22:01] *** firelinks has quit IRC
[03:22:11] <linagee> wafflej0ck: I'm just not an expert at crafting directives yet. :( I'm such a noob.
[03:22:11] *** jonr22 has joined #angularjs
[03:22:19] <wafflej0ck> linagee: good way to learn
[03:23:00] <wafflej0ck> linagee: this one doesn't sound terribly difficult the only hard part really is working with ngModelController, but there's a fair amount written up about that
[03:23:04] *** dannyc has quit IRC
[03:23:22] *** firelinks has joined #angularjs
[03:23:26] <linagee> app.directive('maxlength', function() {?
[03:23:36] <wafflej0ck> linagee: https://docs.angularjs.org/api/ng/type/ngModel.NgModelController
[03:24:38] *** derrick13 has joined #angularjs
[03:24:43] <wafflej0ck> linagee: basically in the directive definition object that you return from that function you can define other directives you depend on like ngModel, listing that as a required directive means you'll get that directives controller passed to you, the doc I just linked is the stuff about the ngModelController and things you can do with it
[03:25:17] <wafflej0ck> there are two docs that have to do with directives really and making your own https://docs.angularjs.org/guide/directive and https://docs.angularjs.org/api/ng/service/$compile
[03:25:43] *** brandon__ has quit IRC
[03:25:48] <wafflej0ck> the first is just the basics, the second is the details on how the object you return that defines the directive is actually interpreted
[03:26:13] *** paul_uk has joined #angularjs
[03:27:06] <wafflej0ck> it'll be like, app.directive('maxlength', function() { return {restrict:'A',require:'ngModel',link:function(scope,iElem,iAttrs,ngModelCtrl){/*do stuff here for each instance of the directive using ngModelCtrl*/}}
[03:27:23] <wafflej0ck> except you know, not in one line and with other stuff in there
[03:27:30] *** Oddman has joined #angularjs
[03:28:17] <linagee> thanks. :)
[03:28:24] <linagee> almost there....... :)
[03:28:36] <wafflej0ck> linagee: sure.. just give it a shot in a plunkr and if you get stuck drop it in here
[03:29:10] *** dnewkerk has quit IRC
[03:30:29] *** BobbieBarker has joined #angularjs
[03:30:29] <BobbieBarker> s
[03:30:35] <wafflej0ck> linagee: also one common gotcha is the camel case to hyphenated case that happens so ngModel in the JS is ng-model in the HTML
[03:30:35] <BobbieBarker> a
[03:30:53] *** yhsiang has quit IRC
[03:32:00] <BobbieBarker> wafflej0ck: what is your impression of ngMessages?
[03:32:15] <wafflej0ck> BobbieBarker: not familiar
[03:32:21] <BobbieBarker> it's a 1.3 feature
[03:32:23] *** zzing has joined #angularjs
[03:32:30] <BobbieBarker> i figured since 1.3 is on stable release now i'd look into the features
[03:32:49] <wafflej0ck> yeah just checked the docs
[03:33:06] <wafflej0ck> looks like a decent option why you feeling anxious about some part of it?
[03:33:28] <BobbieBarker> no i'm just trying to understand the value of it
[03:33:31] <edrocks> BobbieBarker: just looked the docs. It looks useful
[03:33:37] <BobbieBarker> like what does it bring to the table when/where would i want to use it
[03:33:43] *** lemur_ has quit IRC
[03:33:53] *** ReactiveIO has quit IRC
[03:34:03] <wafflej0ck> BobbieBarker: just for places you would currently be using an ng-show/ng-hide and stuff with $valid I suppose
[03:34:08] <wafflej0ck> er $error rather
[03:34:09] <edrocks> I could see using it on a signup form to show/hide the usaul password related min len required character errors
[03:34:12] <BobbieBarker> usually something like that i'm looking for a change at the directive level with $watch
[03:34:15] *** lemur has joined #angularjs
[03:35:01] *** rtpg has quit IRC
[03:36:02] <wafflej0ck> BobbieBarker: yeah just depends on how you implement things
[03:36:10] <BobbieBarker> no doubt
[03:36:18] <BobbieBarker> it's not like i can't see how to use it
[03:36:27] <BobbieBarker> i'm more curious how to get the most out of it
[03:36:27] *** devinandrews has joined #angularjs
[03:36:31] <BobbieBarker> if i where to use it
[03:36:53] <BobbieBarker> hmmm i scrolled down further ont he docs
[03:37:16] <BobbieBarker> there is a good example of mixing it into the vaidation messages for a form
[03:37:23] <BobbieBarker> validation*
[03:37:35] *** Shilon has quit IRC
[03:37:45] <wafflej0ck> yeah was trying to think if there are other places it can be used, I'm sure there are but just nothing popping up in my head immediately
[03:37:57] <BobbieBarker> i can see where that would bring something to the table so that you're not typing out so much crap for each error message
[03:38:00] *** whitebook has quit IRC
[03:38:21] <BobbieBarker> that's kind of interesting, but not a game changer
[03:38:37] *** greengriminal has quit IRC
[03:38:48] <wafflej0ck> yeah I haven't started exploring the 1.3 stuff I don't expect too many major shockers though
[03:39:07] <BobbieBarker> nah 1.2* -> 1.3 is pretty mild upgrade
[03:39:14] *** lemur has quit IRC
[03:39:17] <BobbieBarker> most of the changes are behind the scenes performance stuffage
[03:39:17] <wafflej0ck> 1.0.8 to 1.2 was a little bit of work but not a really huge deal for me either, was still learning the ropes with 1.0.x though
[03:39:33] *** kalehv has joined #angularjs
[03:39:57] *** yhsiang has joined #angularjs
[03:40:00] <BobbieBarker> i'm going to be rebuilding my apps in the upcoming weeks and i'll be putting them on 1.3 stable and Laravel 5
[03:40:34] *** marcjs has quit IRC
[03:40:57] *** jMyles has joined #angularjs
[03:41:09] *** nemothekid has quit IRC
[03:41:48] *** doug64k has joined #angularjs
[03:42:13] *** JBreit has joined #angularjs
[03:42:32] *** Cydmax has quit IRC
[03:42:35] *** bkuberek has joined #angularjs
[03:43:35] *** annlewis has joined #angularjs
[03:44:19] *** cigarshark has quit IRC
[03:46:00] *** pelll0 has joined #angularjs
[03:47:12] <wafflej0ck> nice yeah I've not used Laravel itself but use Eloquent I just don't need the templating in Laravel and use Slim for the routing which is simple enough
[03:47:17] *** bkuberek has quit IRC
[03:48:05] *** annlewis has quit IRC
[03:49:02] *** pell0 has quit IRC
[03:49:25] *** _ritchie_ has joined #angularjs
[03:49:32] *** deweydb_ is now known as deweydb
[03:49:33] *** marshall has quit IRC
[03:49:52] *** marshall has joined #angularjs
[03:50:37] *** ccohn has joined #angularjs
[03:50:53] *** discgo has quit IRC
[03:51:07] *** freeman42 has quit IRC
[03:51:16] *** bmac has joined #angularjs
[03:51:37] *** Shilon has joined #angularjs
[03:52:14] *** Reskp has joined #angularjs
[03:52:56] *** pelll0 has quit IRC
[03:53:02] *** eamonn has joined #angularjs
[03:53:42] *** {DV8} has joined #angularjs
[03:53:56] *** Sawbones has joined #angularjs
[03:54:21] *** jamto11 has joined #angularjs
[03:55:10] *** ccohn has quit IRC
[03:56:02] *** elrabin has joined #angularjs
[03:56:18] *** kalehv has quit IRC
[03:56:29] *** tristanp has joined #angularjs
[03:56:31] <BobbieBarker> wafflej0ck: we use laravel 4 right now
[03:56:38] <BobbieBarker> but i'm making them rebuild the back end
[03:56:57] *** Reskp has quit IRC
[03:56:57] *** esad has quit IRC
[03:56:58] <BobbieBarker> and since L5 drops next week it's a perfect opportunity to upgrade and take advantage of the new stuff in l5
[03:57:04] *** cads has joined #angularjs
[03:57:10] <wafflej0ck> what's the new stuff in particular?
[03:57:21] *** eamonn has quit IRC
[03:57:28] <BobbieBarker> better over all file structure for starters
[03:57:33] *** annlewis has joined #angularjs
[03:57:38] <BobbieBarker> method parameter injection
[03:58:01] <BobbieBarker> cached routes
[03:58:11] <BobbieBarker> i think is another one
[03:58:16] <BobbieBarker> lot of performance type stuff
[03:58:28] *** nemothekid has joined #angularjs
[03:58:41] <BobbieBarker> https://laracasts.com/series/whats-new-in-laravel-5
[03:58:47] *** caitp has joined #angularjs
[03:58:47] <BobbieBarker> if you want to get into the nitty gritty ^^
[03:59:03] <zomg> Does it fix the attitude problem of the guy running Laracasts yet? :p
[03:59:07] *** synlag has joined #angularjs
[03:59:13] <BobbieBarker> what attitude problem?
[03:59:18] <BobbieBarker> i think he does a really good job
[03:59:32] <zomg> From what I've seen he seems like a bit of a prick
[03:59:40] <zomg> But sure, he does do good work
[03:59:48] <BobbieBarker> well he's a ginger
[03:59:57] <BobbieBarker> what you're probably picking up on is that he doesn't have a soul
[04:00:03] <wafflej0ck> hah
[04:00:05] <zomg> lol
[04:00:13] <BobbieBarker> and you can see how some one would be a little bitter about that
[04:00:30] *** elrabin has quit IRC
[04:00:31] *** devinandrews has quit IRC
[04:00:36] *** devinandrews_ has joined #angularjs
[04:01:10] *** seriema has joined #angularjs
[04:01:57] *** annlewis has quit IRC
[04:02:22] *** Sawbones has quit IRC
[04:02:25] *** whitebook has joined #angularjs
[04:04:04] *** paul_uk has quit IRC
[04:05:26] *** seriema has quit IRC
[04:07:06] *** grantfunke_ has quit IRC
[04:07:11] *** _lexjm has joined #angularjs
[04:07:15] *** anjumkaiser has joined #angularjs
[04:07:36] *** discgo has joined #angularjs
[04:10:54] *** Camtera_ has joined #angularjs
[04:11:04] *** gnrlbzik has joined #angularjs
[04:11:06] *** fatshark has joined #angularjs
[04:13:26] <wafflej0ck> BobbieBarker: eh well IoC is always nice but really I typically keep things pretty simple on the server side so still doesn't seem worth it to me, happy to have more people working on Eloquent though
[04:13:33] *** grantfunke_ has joined #angularjs
[04:13:49] <BobbieBarker> wafflej0ck: no doubt the beauty of my life is i don't have to write PHP code
[04:14:05] *** diffalot has joined #angularjs
[04:14:16] *** whitebook has quit IRC
[04:15:04] *** Camtera_ has quit IRC
[04:15:28] *** Skrypter has quit IRC
[04:15:34] *** favetelinguis has joined #angularjs
[04:16:00] *** glaksmono has joined #angularjs
[04:16:03] *** gnrlbzik has quit IRC
[04:16:12] *** _ritchie_ has quit IRC
[04:16:34] *** FunnyLookinHat has joined #angularjs
[04:16:44] *** zzing has quit IRC
[04:16:51] *** Shilon has quit IRC
[04:17:06] *** zzing has joined #angularjs
[04:18:04] *** scottc5 has quit IRC
[04:19:54] *** favetelinguis has quit IRC
[04:20:26] *** Skrypter_ has joined #angularjs
[04:21:11] *** crakrjak_respawn has quit IRC
[04:21:11] *** shinnya has quit IRC
[04:21:46] *** zzing has quit IRC
[04:22:26] *** mansoormb has joined #angularjs
[04:22:42] <mansoormb> Does anyone have any experience with Laravel and Angular?
[04:22:42] *** devinandrews_ has quit IRC
[04:22:46] *** glaksmono has quit IRC
[04:23:08] *** devinandrews has joined #angularjs
[04:24:13] *** naneau has quit IRC
[04:24:17] *** Hackwar has joined #angularjs
[04:24:33] *** crakrjak_respawn has joined #angularjs
[04:25:39] *** Hackwar1 has quit IRC
[04:25:49] *** rmaker has joined #angularjs
[04:27:38] <wafflej0ck> mansoormb: for reals.... we were just talking about it :) what's the issue?
[04:27:45] *** josh-k has joined #angularjs
[04:27:56] <BobbieBarker> whats the problem?
[04:28:11] <BobbieBarker> be for warned my attention span is short
[04:28:46] <mansoormb> What I am trying to accomplish is keeping all the views together without putting anything in the public/templates
[04:29:08] <mansoormb> Example: I have a Route::group with a prefix of api
[04:29:08] <BobbieBarker> you mean you want angular to handle the views and you dn't want laravel doing the routing?
[04:29:10] *** LossFor has quit IRC
[04:29:26] <mansoormb> I want angular to handle all the routing yes
[04:29:42] *** hightower4 has joined #angularjs
[04:29:42] <BobbieBarker> so what you really really really want to do deep down in your soul is to build two seperate routes
[04:29:48] <BobbieBarker> i meant to say two seperate apps
[04:30:02] <mansoormb> so I have created two Route::groups one for the API and the other for the views
[04:30:03] <BobbieBarker> only use laravel as an API resource
[04:30:07] *** danecando has joined #angularjs
[04:30:09] <BobbieBarker> stop that
[04:30:15] <BobbieBarker> get your angular out of the laravel.
[04:30:17] <BobbieBarker> you'll thank me later
[04:30:23] <BobbieBarker> especially if this is a serious project
[04:30:25] *** crakrjak_respawn has quit IRC
[04:30:31] <wafflej0ck> yea definitely
[04:30:35] <wafflej0ck> keep them separate
[04:30:38] <wafflej0ck> makes it much easier
[04:30:49] <BobbieBarker> this is what i'm going through at work right now because my predecessor was a fuckhead
[04:30:50] <mansoormb> So its best practice to put things inside the public directory
[04:30:53] <BobbieBarker> no
[04:31:01] <BobbieBarker> the best practice is to make two seperate apps
[04:31:04] <BobbieBarker> literally
[04:31:08] *** jonr22 has quit IRC
[04:31:10] <BobbieBarker> get angular the out of the laravel app
[04:31:40] <mansoormb> so use Laravel just for the API and create a whole other app using Angular?
[04:31:57] <BobbieBarker> yes
[04:32:05] <BobbieBarker> write RESTFull API's with laravel
[04:32:13] <BobbieBarker> and that is 1 app called your back end
[04:32:23] <BobbieBarker> and then all your front end is in a seperate app ran by angularJS
[04:32:35] <mansoormb> okay I get that but what about authentication
[04:32:49] <BobbieBarker> authentication?
[04:32:50] *** yelvert has joined #angularjs
[04:32:58] <BobbieBarker> you pass API keys once the user is authenticated
[04:33:05] *** guiambros has joined #angularjs
[04:33:47] *** guiambros has quit IRC
[04:33:47] *** mjs2600 has quit IRC
[04:33:56] *** crakrjak_respawn has joined #angularjs
[04:35:04] *** guiambros has joined #angularjs
[04:35:32] *** rtpg has joined #angularjs
[04:36:01] *** guiambros has quit IRC
[04:36:06] *** jonr22 has joined #angularjs
[04:36:08] *** paul_uk has joined #angularjs
[04:36:18] *** guiambros has joined #angularjs
[04:36:56] *** paul_uk has quit IRC
[04:37:03] *** mikehaas763 has joined #angularjs
[04:37:18] *** yelvert has quit IRC
[04:37:24] *** guiambros has quit IRC
[04:37:31] *** guiambros_ has joined #angularjs
[04:37:49] *** guiambros has joined #angularjs
[04:38:25] <mansoormb> hmmmm... im trying to figure this all out
[04:38:27] <mansoormb> so bare with me here
[04:38:57] <sacho> mansoormb, perhaps you meant "registration"
[04:39:14] <sacho> but you can still make a registration API.
[04:39:32] <mansoormb> I can create a RESTful application using laravel, I want to have roles for specific users in the application (owner, admin, user)
[04:39:35] *** subr0utine has quit IRC
[04:39:42] *** paul_uk has joined #angularjs
[04:39:53] *** Left_Turn has quit IRC
[04:40:01] *** guiambros has quit IRC
[04:40:16] *** guiambros has joined #angularjs
[04:40:41] <BobbieBarker> have you ever built a web app before?
[04:41:02] <BobbieBarker> like a commercial app
[04:41:38] *** marshall has quit IRC
[04:42:02] *** gunn_ has joined #angularjs
[04:42:38] <mansoormb> not really a commercial app this is just a little project for me that I want to accomplish
[04:42:55] <BobbieBarker> well usually you'd set flags on the user object for roles and permissions
[04:43:16] *** gunn has quit IRC
[04:44:48] *** themime has joined #angularjs
[04:44:56] *** rtpg has quit IRC
[04:45:31] *** rtpg has joined #angularjs
[04:45:32] *** devinandrews has quit IRC
[04:45:35] *** devinandrews_ has joined #angularjs
[04:46:08] <mansoormb> okay that makes sense
[04:46:58] *** davesidious__ has joined #angularjs
[04:47:28] *** GreenJello has joined #angularjs
[04:47:47] *** subr0utine has joined #angularjs
[04:48:09] <mansoormb> im just having issues on the structure of the angular app
[04:48:21] <mansoormb> actually no I think im good I think I got it
[04:48:21] <mansoormb> lol
[04:48:22] *** fedenunez has joined #angularjs
[04:48:31] <mansoormb> Thanks @BobbieBarker
[04:49:24] <mmealling> so we're using ui-router to navigate around. Now the client has sent us a bunch of Omniture tagging stuff. Its some nasty looking tracking Javascript not build for an SPA. I'm assuming that ng-click and ui-sref don't play together?
[04:49:45] <mmealling> i.e. no such thing as "click pass through"
[04:50:10] *** pen has joined #angularjs
[04:50:39] *** Oddman has quit IRC
[04:50:47] *** davesidious_ has quit IRC
[04:50:54] *** rmaker has left #angularjs
[04:51:23] *** marcjs has joined #angularjs
[04:51:23] *** ccohn has joined #angularjs
[04:52:19] *** nodedfree has quit IRC
[04:53:03] *** Reskp has joined #angularjs
[04:53:40] *** ThatTreeOverTbnc has quit IRC
[04:53:42] *** ClarusCogitatio has quit IRC
[04:53:46] <themime> mmealling: okay together in what way? you could just use ng-click, do what you need, then $state.go()
[04:54:08] *** jonr22_ has quit IRC
[04:54:36] <mmealling> hmm.... so ui-sref would go away and ng-click would do the ugly raw JS and then call $state.go to what was the original ui-sref target?
[04:54:52] *** gnrlbzik has joined #angularjs
[04:55:20] <themime> mmealling: yes, not sure what you mean by ugly raw js though. im not familiar with omniture tagging or SPA
[04:55:37] <themime> im pretty good at patching stuff together though if you would elaborate
[04:55:50] *** marcjs has quit IRC
[04:55:55] *** ccohn has quit IRC
[04:57:10] <mmealling> "onclick=""var s=s_gi(s_account);s.linkTrackVars='events,eVar70,prop49';s.linkTrackEvents='event75
[04:57:10] <mmealling> ';s.events='event75';var linkname=s.eVar70=s.prop49='og|us|en|TOURS OF ITALY MICROSITE Home|Header Logo';s.tl(this,'o',linkname)"""
[04:57:13] <mmealling> The client is assuming a world where nothing would be grabbing a raw javasscript 'onclick'. Here's what they want to do:
[04:57:36] *** annlewis has joined #angularjs
[04:57:37] *** Reskp has quit IRC
[04:58:19] <mmealling> so instead I take that "var s = s_gi(........); ...." bit and put that in the ng-click function and then call $state.go to the original target that the ui-sref would have taken me to.
[04:58:33] *** Sawbones has joined #angularjs
[04:58:34] *** zzing has joined #angularjs
[04:59:00] *** night-owl is now known as zz_night-owl
[04:59:13] <themime> yes that does seem like it would work but id probably wrap that gibberish in a factory and then you can just call BullshitClientGibberishService.getCrap(); $state.go('app.next.state');
[04:59:45] <themime> helps keep things clean and module
[05:00:02] <themime> and easier to locate if it changes
[05:00:07] *** Shilon has joined #angularjs
[05:00:40] *** nodedfree has joined #angularjs
[05:01:04] *** ThatTreeOverTbnc has joined #angularjs
[05:01:36] *** paul_uk has quit IRC
[05:01:53] *** annlewis has quit IRC
[05:02:26] *** Grokling_ has joined #angularjs
[05:02:40] *** paul_uk has joined #angularjs
[05:02:59] <themime> if youre using enclosures (recommended) then you can add them to $window
[05:04:32] *** Sawbones has quit IRC
[05:04:55] *** crakrjak_respawn has quit IRC
[05:05:07] *** L0j1k has quit IRC
[05:06:16] *** spaceonline has joined #angularjs
[05:06:48] *** Grokling_ has quit IRC
[05:06:57] *** paul_uk has quit IRC
[05:07:09] *** riseriyo has quit IRC
[05:07:10] *** Shilon has quit IRC
[05:07:45] *** dannyc has joined #angularjs
[05:07:52] *** tristanp has quit IRC
[05:07:59] *** BillCriswell has quit IRC
[05:08:20] *** tristanp has joined #angularjs
[05:08:22] *** josh3336 has joined #angularjs
[05:08:39] *** bkuberek has joined #angularjs
[05:09:11] *** devinandrews_ has quit IRC
[05:09:22] *** jonr2219 has joined #angularjs
[05:09:31] *** Guest46160 has quit IRC
[05:09:35] *** josh3336 has quit IRC
[05:10:08] *** Shilon has joined #angularjs
[05:10:21] *** L0j1k has joined #angularjs
[05:10:24] *** mikehaas763 has quit IRC
[05:10:34] *** spaceonline has quit IRC
[05:10:39] *** L0j1k is now known as Guest34042
[05:11:31] *** red_horned_rihno has joined #angularjs
[05:11:58] *** jonr22 has quit IRC
[05:12:26] *** crakrjak_respawn has joined #angularjs
[05:12:32] *** gnrlbzik has quit IRC
[05:12:35] *** dannyc has quit IRC
[05:13:00] *** tristanp has quit IRC
[05:13:41] *** bkuberek has quit IRC
[05:15:21] *** Guest34042 has quit IRC
[05:15:39] *** favetelinguis has joined #angularjs
[05:18:03] *** Typher has joined #angularjs
[05:20:11] *** favetelinguis has quit IRC
[05:20:48] *** discgo has quit IRC
[05:20:52] *** _lexjm has quit IRC
[05:22:48] *** anjumkaiser has quit IRC
[05:23:09] *** red_horned_rihno has quit IRC
[05:23:16] *** Girakrok has joined #angularjs
[05:23:17] *** Typher has quit IRC
[05:24:02] *** red_horned_rihno has joined #angularjs
[05:24:51] *** whitebook has joined #angularjs
[05:25:27] *** anjumkaiser has joined #angularjs
[05:26:56] *** paul_uk has joined #angularjs
[05:28:56] *** livingstn has quit IRC
[05:29:16] *** whitebook has quit IRC
[05:29:17] *** jae has joined #angularjs
[05:30:56] *** _lexjm has joined #angularjs
[05:31:13] *** nycdevgirl has joined #angularjs
[05:33:21] *** startupality has quit IRC
[05:33:22] *** _lexjm has quit IRC
[05:33:23] *** numenor has joined #angularjs
[05:33:58] *** marshall has joined #angularjs
[05:34:20] *** Z3R0 has joined #angularjs
[05:36:47] *** anjumkaiser has quit IRC
[05:37:26] *** lemur has joined #angularjs
[05:41:14] *** jMyles has quit IRC
[05:41:33] *** codeman has quit IRC
[05:41:33] *** alinou has quit IRC
[05:43:45] *** _emps has quit IRC
[05:44:37] *** _lexjm has joined #angularjs
[05:45:47] *** patrick99e99 has joined #angularjs
[05:48:59] *** marshall has quit IRC
[05:50:00] *** edrocks has quit IRC
[05:50:42] *** patrick99e99 has quit IRC
[05:51:13] *** Girakrok has quit IRC
[05:51:46] *** bmac has quit IRC
[05:52:04] *** ccohn has joined #angularjs
[05:53:52] *** Reskp has joined #angularjs
[05:54:12] *** ctanga has quit IRC
[05:54:20] *** Sawbones has joined #angularjs
[05:54:55] *** nesquerra has joined #angularjs
[05:55:12] *** riseriyo has joined #angularjs
[05:55:39] *** nemothekid has quit IRC
[05:56:40] *** yoshokatana has quit IRC
[05:56:42] *** marshall has joined #angularjs
[05:57:02] *** ccohn has quit IRC
[05:57:23] *** yoshokatana has joined #angularjs
[05:57:34] *** annlewis has joined #angularjs
[05:57:49] *** yoshokatana has quit IRC
[05:58:11] *** bmac has joined #angularjs
[05:58:17] *** ehalas has joined #angularjs
[05:58:45] *** Reskp has quit IRC
[05:58:53] *** absk007 has joined #angularjs
[05:58:56] *** crakrjak_respawn has quit IRC
[06:02:22] *** annlewis has quit IRC
[06:03:34] *** Shilon has quit IRC
[06:04:16] *** bbankes has quit IRC
[06:04:24] *** nesquerra has quit IRC
[06:04:38] *** synlag has quit IRC
[06:07:49] *** mdedetrich has joined #angularjs
[06:10:53] *** Sawbones has quit IRC
[06:11:49] *** marshall has quit IRC
[06:13:22] *** gnrlbzik has joined #angularjs
[06:13:23] *** nemothekid has joined #angularjs
[06:15:04] *** bmac has quit IRC
[06:15:43] *** favetelinguis has joined #angularjs
[06:16:49] *** tkimmel has joined #angularjs
[06:17:57] *** gnrlbzik has quit IRC
[06:18:18] *** narutimateum has quit IRC
[06:18:46] *** Siecje has left #angularjs
[06:19:19] *** scriptThis has quit IRC
[06:19:53] *** favetelinguis has quit IRC
[06:20:46] *** ProLoser has quit IRC
[06:20:53] *** mansoormb has quit IRC
[06:21:09] *** mdedetrich has quit IRC
[06:21:19] *** g3funk has quit IRC
[06:21:30] *** tkimmel has quit IRC
[06:21:34] *** ProLoser has joined #angularjs
[06:21:42] *** sacho_ has joined #angularjs
[06:22:22] *** g3funk has joined #angularjs
[06:22:53] *** Hesesses has quit IRC
[06:25:01] *** sacho has quit IRC
[06:25:53] *** jae has quit IRC
[06:30:31] *** mary5030 has quit IRC
[06:30:55] *** jae has joined #angularjs
[06:31:52] *** synlag has joined #angularjs
[06:32:26] *** sinequanon has joined #angularjs
[06:33:18] *** jaydubya has quit IRC
[06:33:54] *** jaydubya has joined #angularjs
[06:33:55] <deweydb> anyone around?>
[06:33:56] <deweydb> http://plnkr.co/edit/T2lcRjaFSBsblNiEpvR9?p=preview
[06:33:58] <deweydb> o camn
[06:34:15] <deweydb> i can't figure out why i don't have access to $scope.formdata
[06:34:21] <deweydb> or why its empty i mean
[06:34:23] *** MacWinner has joined #angularjs
[06:34:49] <BobbieBarker> lemme take al ook
[06:34:52] *** ehalas has quit IRC
[06:35:19] *** johnkevinmbasco has quit IRC
[06:35:27] *** joshontheweb has quit IRC
[06:35:46] *** joshontheweb has joined #angularjs
[06:36:34] *** absk007 has quit IRC
[06:36:49] <BobbieBarker> that is a very hands on way of doing things
[06:37:06] *** guiambros has quit IRC
[06:37:17] <deweydb> yeah, i figure i might not really doing this in the most angular way
[06:37:21] *** gunn_ has quit IRC
[06:37:23] <BobbieBarker> no not really
[06:37:23] <deweydb> not sure whatcha mean about hands on
[06:37:36] *** _lexjm has quit IRC
[06:37:44] *** fedenunez has quit IRC
[06:37:50] <BobbieBarker> well you're compiling a form into the view, you don't really have to do that if you don't need to
[06:37:51] *** fedenunez has joined #angularjs
[06:37:55] <BobbieBarker> also your link function is built wrong
[06:38:02] *** paul_uk has quit IRC
[06:38:14] <BobbieBarker> should be link: function(scope, element, attrs)
[06:38:17] *** fedenunez has quit IRC
[06:38:19] *** fedenunez1 has joined #angularjs
[06:38:25] *** jaydubya has quit IRC
[06:38:41] *** fedenunez1 has quit IRC
[06:38:45] <deweydb> you just mean no $'s?
[06:38:46] *** fedenunez has joined #angularjs
[06:39:04] *** DV8_ has joined #angularjs
[06:39:27] <deweydb> i guess all this markup should just be in my template.
[06:39:59] *** fedenunez has joined #angularjs
[06:40:07] <BobbieBarker> meh
[06:40:09] <BobbieBarker> so whats the problem
[06:40:16] <BobbieBarker> what do you get when you type in an email and press submit?
[06:40:18] <BobbieBarker> in that console log
[06:40:23] <deweydb> empty
[06:40:51] <BobbieBarker> it's working for me
[06:41:06] <deweydb> wahh? you mean in the repsonse console log? or the one above that
[06:41:13] <deweydb> where it does: console.log($scope.formdata)
[06:41:26] <BobbieBarker> oh in the one up above
[06:41:32] <BobbieBarker> i didn't see the lower ones
[06:42:15] <deweydb> i guess the reason i did all this markup in a directive is i wanted to have a reusable block i could just dump into another project
[06:42:24] <deweydb> and be like <mailchimp form> and boom.
[06:42:29] *** {DV8} has quit IRC
[06:42:58] *** FunnyLookinHat has quit IRC
[06:43:01] <BobbieBarker> well you can use a template you just don't need to manually build it inside the directive
[06:43:06] <BobbieBarker> you can just use regular HTML
[06:43:51] <deweydb> ahhh
[06:44:16] *** fedenunez has quit IRC
[06:44:16] *** DrJae has joined #angularjs
[06:44:29] <BobbieBarker> also it looks like what you wrote is causing plunkr to trip Cors balls
[06:44:30] <deweydb> so if i put that all in the template: of the directive, do i need to $compile it still?
[06:44:38] <BobbieBarker> no
[06:44:42] <BobbieBarker> thats why i said you're being very hands on
[06:45:03] *** Sontakey has joined #angularjs
[06:45:12] *** cads has quit IRC
[06:45:22] <deweydb> do i have access to $attrs within template: ?
[06:45:29] <deweydb> like how would i do this line: ng-model="formdata.'+$attrs.anitSpam+'"
[06:46:22] *** jae has quit IRC
[06:46:47] <BobbieBarker> not like that
[06:47:00] <BobbieBarker> you cannot concatinate strings inside of ng-model
[06:47:49] *** _emps has joined #angularjs
[06:47:52] *** nemothekid has quit IRC
[06:47:58] <BobbieBarker> also
[06:47:59] <BobbieBarker> i have it working
[06:48:13] <sacho_> deweydb, what are you trying to do anyhow?
[06:48:28] <BobbieBarker> nvm not working that response is erronous
[06:48:29] <deweydb> client side mailchimp subscribe form?
[06:48:33] *** subr0utine has quit IRC
[06:48:47] <deweydb> yeah, its erronous because its not sending any data
[06:48:53] <deweydb> cause formdata is empty in the controller
[06:48:58] <deweydb> i don't get why its empty
[06:49:07] <BobbieBarker> i'm sending data
[06:49:11] <deweydb> weird
[06:49:12] <BobbieBarker> it's getting blocked by coors
[06:49:12] <sacho_> deweydb, you can do something like model="dotexpr" and then in your directive's template, ng-model="dotexpr", barring isolate scope problems that would work
[06:49:17] <BobbieBarker> i rewrote your script
[06:49:26] <deweydb> BobbieBarker: thats fine, im probably doing that part wrong, i just didn't get there yet
[06:49:34] <BobbieBarker> sacho his directive is weird
[06:49:35] <BobbieBarker> lol
[06:49:37] <BobbieBarker> it's not standard
[06:49:48] <BobbieBarker> it's written from the perspective of some one who probably writes a lot of jquery
[06:49:57] <sacho_> wait, I'm talking bullshit
[06:49:58] <deweydb> lol im pretty new to angular
[06:50:11] <sacho_> but I mean, if your directive has a high priority
[06:50:13] *** DrJae is now known as Jae
[06:50:16] *** Jae has joined #angularjs
[06:50:18] *** hightower4 has quit IRC
[06:50:29] *** Sawbones has joined #angularjs
[06:51:01] <sacho_> you'd have to write a high priority terminal directive that compiles your template
[06:51:05] *** soup has joined #angularjs
[06:51:14] <sacho_> if you want to apply extra directives dynamically
[06:51:26] <sacho_> alternatively you could generate your template via a function
[06:51:36] *** platonic has joined #angularjs
[06:52:09] <deweydb> BobbieBarker: "i rewrote your script" ... did you save it?
[06:52:17] *** nemothekid has joined #angularjs
[06:52:52] *** ccohn has joined #angularjs
[06:54:08] <BobbieBarker> i'm still working on it
[06:54:15] <BobbieBarker> what is the full URL that you should be posting to
[06:54:48] *** Reskp has joined #angularjs
[06:54:49] *** Sawbones has quit IRC
[06:55:03] <deweydb> sec
[06:55:08] *** red_horned_rihno has quit IRC
[06:55:13] *** spaceonline has joined #angularjs
[06:55:21] <BobbieBarker> and how does that anti-spam hash factor into the post requst
[06:55:34] *** red_horned_rihno has joined #angularjs
[06:55:57] <deweydb> action="//blogspot.us7.list-manage.com/subscribe/post?u=51d8258f4de0d71741a876723&amp;id=2657403ec5"
[06:56:11] <deweydb> i think the antispam is just a field that a bot might fill in, so if anything is in it mailchimp ignores the request
[06:56:16] <deweydb> it technically could just be left out
[06:56:24] <deweydb> i doubt a bot is going to get to this place of a private application
[06:56:28] *** dannyc has joined #angularjs
[06:56:43] <deweydb> but
[06:56:46] <deweydb> in regards to the url
[06:56:50] *** annlewis has joined #angularjs
[06:56:50] <deweydb> im following this:
[06:56:54] <deweydb> http://stackoverflow.com/questions/8425701/ajax-mailchimp-signup-form-integration
[06:57:10] <deweydb> which says to change it to post-json
[06:57:22] <BobbieBarker> so i'm sending a standard post requset to that URL and i'm getting a 501 error
[06:57:27] *** bkuberek has joined #angularjs
[06:57:29] *** ccohn has quit IRC
[06:57:41] <BobbieBarker> http://plnkr.co/edit/WFvQOg6zJZ1MKLT2W7Ln?p=preview
[06:57:46] <BobbieBarker> i cleaned up yoru stuff
[06:57:48] <BobbieBarker> it's a lot simpler
[06:57:49] <BobbieBarker> now
[06:58:03] <BobbieBarker> i apologize in advance if i dropped any functionality out
[06:58:42] *** bostonaholic has joined #angularjs
[06:58:47] <deweydb> thanks!
[06:58:52] <BobbieBarker> np
[06:59:05] <deweydb> does the controller: have a different scope than the link: in a directive?
[06:59:25] *** Reskp has quit IRC
[06:59:28] <BobbieBarker> no
[06:59:53] *** spaceonline has quit IRC
[07:00:09] *** annlewis has quit IRC
[07:00:15] <BobbieBarker> https://thinkster.io/egghead/scope-vs-scope/
[07:01:05] *** dannyc has quit IRC
[07:01:52] *** bostonaholic has quit IRC
[07:01:59] *** shinnya has joined #angularjs
[07:02:08] *** bkuberek has quit IRC
[07:02:48] *** soup has quit IRC
[07:03:48] *** scythe__ has quit IRC
[07:03:55] *** JosephSilber has quit IRC
[07:04:20] *** Zeioth has quit IRC
[07:05:01] *** nemothekid has joined #angularjs
[07:05:08] *** JosephSilber has joined #angularjs
[07:05:27] *** diffalot has quit IRC
[07:05:54] *** sinequanon has quit IRC
[07:08:28] *** diffalot has joined #angularjs
[07:08:35] *** diffalot is now known as Guest61417
[07:09:02] *** Guest61417 has joined #angularjs
[07:10:01] *** Guest61417 is now known as papyromancer
[07:12:30] *** shampine has joined #angularjs
[07:14:08] *** gnrlbzik has joined #angularjs
[07:14:24] *** lite has joined #angularjs
[07:14:44] *** papyromancer is now known as diffalot
[07:15:38] *** jordandotdev has joined #angularjs
[07:15:40] *** favetelinguis has joined #angularjs
[07:15:58] *** lite has quit IRC
[07:17:45] *** sinequanon has joined #angularjs
[07:17:46] *** diffalot has quit IRC
[07:18:16] *** diffalot has joined #angularjs
[07:18:34] *** gnrlbzik has quit IRC
[07:20:17] *** favetelinguis has quit IRC
[07:20:33] <deweydb> loooool
[07:20:40] <deweydb> ok, so i think that what i was stuck on this whole time was
[07:20:50] <deweydb> i was putting "test" into the input field
[07:20:54] <deweydb> instead of a whole email
[07:21:12] <deweydb> for some reason, i guess chrome insternally, filters out false emails?
[07:21:14] <deweydb> i dunno
[07:21:15] <deweydb> weird
[07:23:05] <deweydb> but thanks for re-writing my directive, i definitely need to work on my angular approach
[07:23:19] *** instence has joined #angularjs
[07:23:36] *** instence_ has quit IRC
[07:28:18] *** sepper has joined #angularjs
[07:28:58] *** shampine has quit IRC
[07:29:31] *** nycdevgirl has quit IRC
[07:30:55] *** Z3R0 has quit IRC
[07:31:00] *** annlewis has joined #angularjs
[07:31:25] <sepper> Which way is prefered...Placing HTML in-line with a directive definition or retrieving that HTML via templateUrl?
[07:31:36] *** ko3t has joined #angularjs
[07:31:51] <deweydb> i guess it depends how much html?
[07:32:14] <deweydb> browsers generally cache static html files, so they browser would only be grabbing that file once. since its static it should be pretty quick to get it
[07:32:19] *** mr_blue has quit IRC
[07:32:27] <deweydb> i would say in a template file might make it more readable.
[07:32:33] <deweydb> if its a ton of html
[07:32:43] <deweydb> if its just one line, i might put it in the directive
[07:32:43] *** rtpg has quit IRC
[07:33:24] <deweydb> also if its in a template file it is more re-usable for something else, should you need to.
[07:33:46] <deweydb> but what do i know, i'm a noob. lol.
[07:33:47] *** davek has quit IRC
[07:34:02] *** delfs has quit IRC
[07:34:07] <sepper> haha...it seems to make sense storing in a template.
[07:34:42] *** mjs2600 has joined #angularjs
[07:34:44] *** oktapodi has joined #angularjs
[07:35:02] *** carlosmantilla has joined #angularjs
[07:35:39] *** annlewis has quit IRC
[07:36:19] *** lite has joined #angularjs
[07:36:58] *** sender has joined #angularjs
[07:37:10] *** slopjong_ has joined #angularjs
[07:37:10] *** slopjong has joined #angularjs
[07:37:31] *** D9 has quit IRC
[07:37:35] *** rtpg has joined #angularjs
[07:39:13] *** mjs2600 has quit IRC
[07:40:00] *** D9 has joined #angularjs
[07:41:08] *** mary5030 has joined #angularjs
[07:43:00] *** lite has quit IRC
[07:44:08] <wafflej0ck> sepper: yeah in most cases I got with a templateUrl you can use html2js if you want to have it convert the html into js templates so they can be loaded in advance or whatever, I only use template:'' if it's something really short or I'm just testing something out
[07:44:17] <wafflej0ck> go* with
[07:44:41] *** kuadrosx has quit IRC
[07:44:45] *** Sawbones has joined #angularjs
[07:46:06] *** instence_ has joined #angularjs
[07:46:13] *** mary5030 has quit IRC
[07:46:33] *** instence has quit IRC
[07:46:59] *** Nizumzen has quit IRC
[07:47:13] *** patrick99e99 has joined #angularjs
[07:48:52] *** Skrypter_ has quit IRC
[07:49:27] *** Skrypter has joined #angularjs
[07:49:47] *** Sawbones has quit IRC
[07:49:59] *** zzing has quit IRC
[07:50:32] *** cohitre has joined #angularjs
[07:50:36] *** D9 has quit IRC
[07:51:41] *** patrick99e99 has quit IRC
[07:52:40] *** favetelinguis has joined #angularjs
[07:52:50] *** absk007 has joined #angularjs
[07:53:34] *** ccohn has joined #angularjs
[07:53:48] *** Skrypter has quit IRC
[07:53:57] *** grantfunke_ has quit IRC
[07:55:28] *** Reskp has joined #angularjs
[07:55:34] *** grantfunke_ has joined #angularjs
[07:55:52] *** joshontheweb has quit IRC
[07:56:04] *** zzing has joined #angularjs
[07:57:33] *** annlewis has joined #angularjs
[07:57:42] *** ciwolsey has joined #angularjs
[07:58:22] *** ccohn has quit IRC
[07:58:23] *** whunt has joined #angularjs
[08:00:05] *** Reskp has quit IRC
[08:00:13] *** caitp has quit IRC
[08:00:47] *** Sawbones has joined #angularjs
[08:01:37] *** Shrooms has joined #angularjs
[08:02:35] *** dsdeiz has quit IRC
[08:04:52] *** grantfunke_ has quit IRC
[08:05:41] *** Sawbones has quit IRC
[08:05:43] *** sinequanon has quit IRC
[08:05:49] *** tkimmel has joined #angularjs
[08:05:53] *** Cydmax has joined #angularjs
[08:05:59] *** grantfunke_ has joined #angularjs
[08:06:10] *** annlewis has quit IRC
[08:09:36] *** subr0utine has joined #angularjs
[08:10:03] *** rtpg has quit IRC
[08:10:19] *** tkimmel has quit IRC
[08:10:31] *** rtpg has joined #angularjs
[08:11:07] *** D-Boy has quit IRC
[08:11:10] *** josh-k has quit IRC
[08:11:18] *** numenor has quit IRC
[08:13:09] *** DV8__ has joined #angularjs
[08:13:27] *** joshontheweb has joined #angularjs
[08:14:02] *** SeeThruHead has quit IRC
[08:14:56] *** SeeThruHead has joined #angularjs
[08:15:07] *** DV8__ has quit IRC
[08:15:37] *** DV8_ has quit IRC
[08:18:58] *** rtpg has quit IRC
[08:19:30] *** josh3336 has joined #angularjs
[08:19:52] *** subr0utine has quit IRC
[08:20:20] *** one0one has quit IRC
[08:20:28] *** josh3336 has quit IRC
[08:22:06] *** jaydubya has joined #angularjs
[08:23:02] *** NormySan has joined #angularjs
[08:23:57] *** marshall has joined #angularjs
[08:25:56] *** jstlu has joined #angularjs
[08:25:57] *** nemothekid has quit IRC
[08:26:11] *** whunt has quit IRC
[08:26:36] *** jaydubya has quit IRC
[08:29:37] *** lemur has quit IRC
[08:30:06] *** lemur has joined #angularjs
[08:32:12] *** grantfunke_ has quit IRC
[08:32:53] *** hiptobecubic has quit IRC
[08:35:23] *** lemur has quit IRC
[08:38:19] *** corehook has joined #angularjs
[08:41:39] *** firelinks has quit IRC
[08:42:39] *** ohmel has joined #angularjs
[08:43:36] *** hecatonicosachor has joined #angularjs
[08:44:03] *** spaceonline has joined #angularjs
[08:45:00] *** ko3t has quit IRC
[08:45:16] *** dannyc has joined #angularjs
[08:46:26] *** bkuberek has joined #angularjs
[08:46:43] *** sacho_ has quit IRC
[08:46:52] *** dsdeiz has joined #angularjs
[08:48:38] *** spaceonline has quit IRC
[08:49:19] *** red_horned_rihno has quit IRC
[08:49:52] *** dannyc has quit IRC
[08:50:06] *** lemur has joined #angularjs
[08:50:19] *** pdillinger has joined #angularjs
[08:50:45] *** numenor has joined #angularjs
[08:51:29] *** bkuberek has quit IRC
[08:52:43] *** oste has quit IRC
[08:52:46] *** firelinks has joined #angularjs
[08:53:31] *** motionman has quit IRC
[08:54:00] *** firelinks has quit IRC
[08:54:20] *** ccohn has joined #angularjs
[08:54:25] *** corehook has quit IRC
[08:54:35] *** diffalot has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:00] *** Sawbones has joined #angularjs
[08:55:05] *** diffalot has joined #angularjs
[08:55:27] *** firelinks has joined #angularjs
[08:55:52] *** Typher has joined #angularjs
[08:56:20] *** Reskp has joined #angularjs
[08:57:36] *** annlewis has joined #angularjs
[08:57:51] *** moritzs has joined #angularjs
[08:58:14] *** tfennelly has joined #angularjs
[08:58:35] *** ludkiller has quit IRC
[08:58:57] *** ccohn has quit IRC
[08:59:22] *** Sawbones has quit IRC
[09:00:29] *** Typher has quit IRC
[09:00:52] *** Reskp has quit IRC
[09:02:23] *** tfennelly has quit IRC
[09:02:35] *** annlewis has quit IRC
[09:02:50] *** gnrlbzik has joined #angularjs
[09:03:59] *** tomzx is now known as tomzx`afk
[09:04:04] *** derickf has joined #angularjs
[09:04:15] *** Sawbones has joined #angularjs
[09:05:54] *** Sawbones has quit IRC
[09:05:54] *** sidthekid has joined #angularjs
[09:07:00] *** josdeha_rt has joined #angularjs
[09:07:07] *** soee has joined #angularjs
[09:07:23] *** gnrlbzik has quit IRC
[09:08:09] *** firelinks has quit IRC
[09:08:25] *** sidthekid has quit IRC
[09:08:35] *** mtsr has joined #angularjs
[09:09:08] *** jamto11 has quit IRC
[09:09:44] *** ludkiller has joined #angularjs
[09:10:39] *** mtsr has quit IRC
[09:11:18] *** ProLoser has quit IRC
[09:13:46] *** jamto11 has joined #angularjs
[09:14:00] *** jamto11 has joined #angularjs
[09:14:05] *** themime has quit IRC
[09:16:31] *** oktapodi has quit IRC
[09:18:42] *** jamto11 has quit IRC
[09:19:15] *** jamto11 has joined #angularjs
[09:20:25] *** delian66 has quit IRC
[09:21:32] *** ProLoser has joined #angularjs
[09:22:55] *** endy_c has joined #angularjs
[09:22:59] *** firelinks has joined #angularjs
[09:23:17] *** TyrfingMjolnir has quit IRC
[09:23:40] *** jamto11 has quit IRC
[09:23:53] *** monir has quit IRC
[09:23:55] *** intellix has joined #angularjs
[09:27:01] *** L0j1k has joined #angularjs
[09:27:02] *** L0j1k is now known as Guest53439
[09:28:05] *** Guest53439 has quit IRC
[09:29:51] *** derickf has quit IRC
[09:30:08] *** numenor has quit IRC
[09:32:55] *** carlosmantilla has quit IRC
[09:34:01] *** sender has quit IRC
[09:34:30] *** seriema has joined #angularjs
[09:35:56] *** davek_ has joined #angularjs
[09:36:08] *** yts has joined #angularjs
[09:36:16] *** klaut has joined #angularjs
[09:36:56] *** nanez has joined #angularjs
[09:37:00] *** mtsr has joined #angularjs
[09:37:49] *** joshontheweb has quit IRC
[09:38:29] *** klaut has quit IRC
[09:38:39] *** klaut has joined #angularjs
[09:40:23] *** Aliks has quit IRC
[09:40:33] *** sacho_ has joined #angularjs
[09:41:04] *** seriema has quit IRC
[09:41:54] *** Aliks has joined #angularjs
[09:43:33] *** hecatonicosachor has quit IRC
[09:45:06] *** Aliks has quit IRC
[09:45:35] *** dnewkerk has joined #angularjs
[09:46:07] *** dannyc has joined #angularjs
[09:47:17] *** endy_c has quit IRC
[09:50:07] *** bealtine has quit IRC
[09:50:36] *** dannyc has quit IRC
[09:52:06] *** doug64k has quit IRC
[09:53:19] *** doug64k has joined #angularjs
[09:53:42] *** tfennelly has joined #angularjs
[09:53:53] *** marshall has quit IRC
[09:54:16] *** sinequanon has joined #angularjs
[09:54:22] *** pen has quit IRC
[09:54:37] *** tkimmel has joined #angularjs
[09:55:06] *** ccohn has joined #angularjs
[09:57:03] *** Reskp has joined #angularjs
[09:57:33] *** Nizumzen has joined #angularjs
[09:57:35] *** numenor has joined #angularjs
[09:57:37] *** annlewis has joined #angularjs
[09:57:58] *** tfennelly has quit IRC
[09:58:28] *** doginal has joined #angularjs
[09:58:59] *** tkimmel has quit IRC
[09:59:11] *** sinequanon has quit IRC
[09:59:42] *** ccohn has quit IRC
[10:00:06] *** cacts has quit IRC
[10:01:53] *** Reskp has quit IRC
[10:02:11] *** annlewis has quit IRC
[10:04:50] *** ProLoser has quit IRC
[10:05:11] *** IvailoStoianov has joined #angularjs
[10:05:37] *** L0j1k has joined #angularjs
[10:05:45] *** L0j1k is now known as Guest71123
[10:06:12] *** rtpg has joined #angularjs
[10:08:17] *** ProLoser has joined #angularjs
[10:08:29] *** soee has quit IRC
[10:10:38] *** comboy has joined #angularjs
[10:11:02] *** marr has joined #angularjs
[10:11:08] *** jaydubya has joined #angularjs
[10:12:22] *** dc_ has quit IRC
[10:13:56] *** _emps is now known as EMPZ
[10:15:41] *** josh-k has joined #angularjs
[10:16:23] *** jaydubya has quit IRC
[10:19:47] *** tech2 has joined #angularjs
[10:19:53] *** jamto11 has joined #angularjs
[10:20:25] *** richiebkr has joined #angularjs
[10:21:28] *** haseeb has joined #angularjs
[10:24:19] *** monir has joined #angularjs
[10:24:53] *** jamto11 has quit IRC
[10:25:06] *** seriema has joined #angularjs
[10:28:00] *** seriema has quit IRC
[10:28:29] *** heobay has joined #angularjs
[10:28:46] *** airtonix has joined #angularjs
[10:29:02] <heobay> hi all
[10:30:23] *** numenor has quit IRC
[10:32:44] *** spaceonline has joined #angularjs
[10:33:33] *** edy has joined #angularjs
[10:33:40] *** Sontakey has quit IRC
[10:34:00] *** jordandotdev has quit IRC
[10:34:02] *** Schtive has joined #angularjs
[10:35:13] *** bkuberek has joined #angularjs
[10:35:19] <haseeb> hey guys, absolute JS newbie here. But i'm well versed with other programming languages like python and C++
[10:35:34] *** josh-k_ has joined #angularjs
[10:35:40] <haseeb> i'm thinking of getting into webdev because i have this little web app i want to create
[10:36:14] <haseeb> what are some JS beginner friendly tuts for angular js ?
[10:37:05] *** spaceonline has quit IRC
[10:37:28] *** Reskp has joined #angularjs
[10:37:38] <Grokling> haseeb: You could do worse than starting with : https://docs.angularjs.org/tutorial
[10:38:10] <Grokling> Prepare to be overwhelmed by an entire builders van of new tools and utilities..
[10:38:50] *** josh-k has quit IRC
[10:39:48] *** bkuberek has quit IRC
[10:40:45] <haseeb> Yeah, that is what scaring me into choosing emberjs.
[10:41:09] <haseeb> But after some reading i found out that emberjs has some performance issues.
[10:41:47] <haseeb> I'll look into that tut. Thanks !.
[10:42:23] <Grokling> I'm sure most of the tools are consistent. Things like git, gulp/grunt, and whatever backend you choose are portable between frameworks. As is plunker. Either way, you're going to meet a bunch of new tools.
[10:43:26] <Grokling> Angular is actually pretty straight forward once you get the hang of it. The tut will give you a taste of how quickly you can get stuff done.
[10:43:33] *** tarnus has joined #angularjs
[10:43:50] *** firelinks has quit IRC
[10:45:56] <haseeb> i see
[10:46:57] *** tfennelly has joined #angularjs
[10:47:03] *** nanez has quit IRC
[10:48:51] <sacho_> haseeb, I wouldn't use angularjs if you haven't used javascript before
[10:49:01] *** tarnus has quit IRC
[10:50:55] *** adarshaj has quit IRC
[10:51:38] *** gnrlbzik has joined #angularjs
[10:54:23] *** pdillinger has quit IRC
[10:54:26] <haseeb> Then which beginner friendly frontend framework do you suggest ? I'm aware that AngularJS has a steep learning curve, but i'm willing put in some effort into it. AngularJS seems like a nice skill to have.
[10:55:40] <Grokling> haseeb: If you're willing to put in the effort, it is quite rewarding. I knew very little js when I started with angular. I know a lot more now.
[10:55:51] *** ccohn has joined #angularjs
[10:56:23] *** gnrlbzik has quit IRC
[10:56:24] *** deanclkclk has quit IRC
[10:56:31] <haseeb> Grokling, where'd you start learning JS ?
[10:56:46] <Grokling> Most of the skills you'll learn will overlap with any other js framework I'd suggest.
[10:56:56] <Grokling> haseeb: angular pretty much.
[10:57:20] <haseeb> you mean you jumped into angular directly ?
[10:57:35] *** annlewis has joined #angularjs
[10:57:44] <Grokling> The good news is that js has been around for AGES, and pretty much every question you have is already well and truely answered on the interwebs, you just have to look, and learn how to phrase questions.
[10:58:17] *** dc_ has joined #angularjs
[10:58:31] <Grokling> yes - I'd done a small bit of js prior, a little jQuery, but nothing serious, and I certainly wasn't about to put it on my CV.
[10:58:42] *** trampi has joined #angularjs
[10:58:46] *** monir has quit IRC
[11:00:18] <Grokling> haseeb: have you done full stack web stuff before?
[11:00:22] *** marshall has joined #angularjs
[11:00:29] <haseeb> nope this is my first time
[11:00:30] *** ccohn has quit IRC
[11:00:31] *** Rejected has joined #angularjs
[11:00:57] <haseeb> Go RESTFul backend + JS frontend (EmberJS or AngularJS)
[11:01:00] *** adarshaj has joined #angularjs
[11:01:03] <haseeb> *golang
[11:01:09] *** juniob has joined #angularjs
[11:01:32] *** Reskp has quit IRC
[11:01:58] <Grokling> If you're planning to go js, you can do a node/express based backend as well. sailsjs is one that I use. (pretty low barriers to entry, and well supported)
[11:02:31] *** annlewis has quit IRC
[11:02:32] *** dnewkerk has quit IRC
[11:02:43] *** Sky[x] has joined #angularjs
[11:02:55] *** IvailoStoianov has quit IRC
[11:04:51] *** krastavac has joined #angularjs
[11:05:00] *** marshall has quit IRC
[11:05:20] *** Guest71123 is now known as L0j1k
[11:05:24] *** oktapodi has joined #angularjs
[11:05:29] *** L0j1k has quit IRC
[11:05:29] *** L0j1k has joined #angularjs
[11:06:31] <haseeb> SailsJS looks good :D
[11:08:04] <krastavac> how to bind 2 textareas to same model? http://codepad.org/f2LnP1CO
[11:08:51] <sacho_> why do you want to do that?
[11:08:56] <Grokling> krastavac: use the same ng-model..
[11:09:43] <krastavac> why is this console.log($scope.latinText); undefined when its bound to first textarea?
[11:10:01] *** oktapodi has quit IRC
[11:10:18] <Grokling> it'll only get defined when you put something in there. If you need it defined before that, then define it in your controller.
[11:10:29] *** Jae has quit IRC
[11:10:33] *** EMPZ has quit IRC
[11:10:39] <schinken> i often see people do autofocus on inputs with $timeout - but i think there should be another way than to rely on a fixed timeout. i tried angular.element(document).ready(... but without success. any other ideas?
[11:11:04] <schinken> the html5 autofocus attribute also doesn't work everytime... or just the first time - I'm not sure whats going on
[11:11:06] <juniob> you should use ng-model as mentioned
[11:11:11] <krastavac> it should get values from first textarea as i type
[11:11:24] *** gunn has joined #angularjs
[11:12:05] <Grokling> krastavac: What is it supposed to do? A translation kind of thing?
[11:12:07] *** gunn has joined #angularjs
[11:12:25] <krastavac> yes
[11:12:40] <Grokling> That's not quite the same model then..
[11:13:13] *** nfroidure has joined #angularjs
[11:13:31] <krastavac> i cant pass value from textarea to $scope.latinText
[11:13:50] <Grokling> My first response is to trigger a translate function with ng-change on the first textarea, put the output of that function into a model used by the second textarea.
[11:13:51] <krastavac> <textarea ng-model="latinText" ng-change="latin2cir()"
[11:13:51] <krastavac> console.log($scope.latinText);//undefined
[11:14:26] *** uru|away is now known as uru
[11:15:08] <Grokling> define $scope.latintext in your controller first.
[11:15:25] *** juniob has quit IRC
[11:15:34] <krastavac> somehow ng-model, ng-value and ng-bind seem to be same thing
[11:17:15] *** absk007 has quit IRC
[11:18:18] <krastavac> how to get value from textarea into $scope.var? I dont want to use jquery
[11:18:54] *** Nizumzen has quit IRC
[11:19:06] *** Nijikokun has quit IRC
[11:19:09] *** haseeb is now known as haseebr7
[11:19:11] *** Kritzo has joined #angularjs
[11:19:13] *** Kritzo has left #angularjs
[11:20:45] *** CaShY has quit IRC
[11:20:45] <Grokling> in your controller: $scope.vars={myFirstVar:''} in your template: <textarea ng-model="vars.myFirstVar"></textarea> {{vars}}
[11:20:47] *** haseebr7 is now known as haseebr
[11:20:53] *** evilaliv3 has joined #angularjs
[11:21:09] *** haseebr has quit IRC
[11:21:13] *** DANtheBEASTman has quit IRC
[11:21:34] *** haseeb has joined #angularjs
[11:21:45] *** haseeb is now known as haseebr
[11:22:15] *** CaShY has joined #angularjs
[11:22:17] *** willeponken has quit IRC
[11:23:07] *** DANtheBEASTman has joined #angularjs
[11:23:36] *** TheAceOfHearts has quit IRC
[11:24:39] <krastavac> and as i type it stays "" and not updating
[11:25:29] *** jae has joined #angularjs
[11:25:42] <Grokling> What does? You should see it in your {{vars}}
[11:26:02] *** richiebkr has quit IRC
[11:26:31] <Grokling> krastavac: The best thing you can do is probably to make a plunker - it's by far the easiest way for people to help.
[11:27:14] *** heobay has quit IRC
[11:28:29] *** lexek_ has joined #angularjs
[11:28:41] *** gunn has quit IRC
[11:30:11] *** gunn has joined #angularjs
[11:30:36] <krastavac> even basic template on plunker prints {{name}}
[11:30:49] *** haseebr has quit IRC
[11:31:15] <sacho_> link? errors?
[11:31:20] <Grokling> In that case you haven't got angular running. What's your plunker link.
[11:31:41] <Grokling> console will tell you why.. usually.
[11:31:44] <krastavac> http://plnkr.co/edit/gist:3510140?p=preview
[11:32:03] *** jacuqesdancona has joined #angularjs
[11:32:36] <Grokling> krastavac: that's working fine for me..
[11:33:17] <Grokling> http://plnkr.co/edit/?p=streamer&s=owTbppTfTNDFyCSF
[11:34:55] *** dannyc has joined #angularjs
[11:37:43] <Grokling> krastavac: How's that looking?
[11:37:50] <krastavac> i see its in colaboration mode
[11:38:10] *** Left_Turn has joined #angularjs
[11:38:14] <Grokling> click 'run', type in the first textarea, and watch it work..
[11:38:15] *** yelvert has joined #angularjs
[11:39:23] *** dannyc has quit IRC
[11:39:25] *** gunn has quit IRC
[11:39:44] <krastavac> i saw
[11:40:12] *** henrytao has joined #angularjs
[11:40:31] *** favetelinguis has quit IRC
[11:41:21] *** Schtive has quit IRC
[11:42:11] *** gunn has joined #angularjs
[11:42:45] *** yelvert has quit IRC
[11:43:02] <krastavac> I need to pass it as ng-change="translate(vars.myFirstVar)" otherwise $scope is not updated
[11:43:17] *** ricset has joined #angularjs
[11:43:29] *** tkimmel has joined #angularjs
[11:43:47] <Grokling> I don't understand what you mean?
[11:43:49] *** scottc5 has joined #angularjs
[11:43:51] *** soren_engel has joined #angularjs
[11:44:22] <ricset> hi... is there a way we can save a file to the user (pretty much like a download) but containing data that is already at the client side?
[11:45:11] *** henrytao has quit IRC
[11:46:33] *** ohmel has quit IRC
[11:46:58] *** apertoire has joined #angularjs
[11:47:25] *** caitp has joined #angularjs
[11:47:42] *** carlosmantilla has joined #angularjs
[11:48:07] *** tkimmel has quit IRC
[11:48:24] *** soren_engel has quit IRC
[11:48:24] <Grokling> ricset: Google says yes. http://atasteofsandwich.wordpress.com/2014/02/03/client-side-csv-download-with-angularjs/
[11:48:27] *** patrick99e99 has joined #angularjs
[11:50:47] *** jamto11 has joined #angularjs
[11:51:41] *** caitp has quit IRC
[11:52:47] *** Nijikokun has joined #angularjs
[11:53:45] *** patrick99e99 has quit IRC
[11:55:24] *** jamto11 has quit IRC
[11:55:56] *** shpoont has joined #angularjs
[11:56:12] *** numenor has joined #angularjs
[11:56:37] *** ccohn has joined #angularjs
[11:56:52] *** wiherek has joined #angularjs
[11:56:55] <wiherek> hi
[11:57:17] <wiherek> i have a problem with my app :) basically, when I build it with gulp on osx, it doesnt work
[11:57:25] <wiherek> it tries to load angular more than once
[11:57:34] *** annlewis has joined #angularjs
[11:57:35] <wiherek> the same thing does not happen when building from linux
[11:58:05] <wiherek> i believe it may be related to bad use of ui-view
[11:58:32] <wiherek> it wants to concurrently load angularjs (the whole app) into ui-view
[11:58:34] <wiherek> I guess…
[11:58:55] <wiherek> it all works correctly when serving the unbuild code
[11:59:44] *** klaut has quit IRC
[12:00:05] *** jaydubya has joined #angularjs
[12:00:18] *** cornerma1 has joined #angularjs
[12:00:19] *** haseeb has joined #angularjs
[12:00:43] <wiherek> this is so weird..
[12:00:56] <wiherek> it loads the content of <head> and <body> into ui-view
[12:01:02] *** ccohn has quit IRC
[12:01:57] *** annlewis has quit IRC
[12:03:33] *** cornerman has quit IRC
[12:03:41] *** cornerma1 is now known as cornerman
[12:04:36] *** jaydubya has quit IRC
[12:05:28] *** ricset has quit IRC
[12:05:33] <Evanion> Can you chare some code with us?
[12:05:36] <Evanion> share*
[12:07:26] <wiherek> yea but i dont know what to share really :s
[12:07:29] <wiherek> it looks like this
[12:07:38] <wiherek> http://stackoverflow.com/questions/25384347/angularjs-warning-tried-to-load-angular-more-than-once
[12:07:57] <wiherek> except I dont load any scripts in ui-view
[12:08:09] *** shpoont has quit IRC
[12:08:28] *** cornerman has quit IRC
[12:08:55] *** cornerman has joined #angularjs
[12:09:38] *** carlosmantilla has quit IRC
[12:10:13] *** gunn has quit IRC
[12:10:41] *** NewbieAngularjs has joined #angularjs
[12:11:04] <NewbieAngularjs> hi
[12:13:27] *** MaxV has joined #angularjs
[12:14:00] <Evanion> @Wiherek: Can you make a plunker that runs your code up to where you have 1 page rendering that shows the issue your having?
[12:14:42] <Evanion> Hello NewbieAngularjs
[12:15:53] <NewbieAngularjs> i have some questions about begin to develop with AngularJS
[12:15:58] *** mjs2600 has joined #angularjs
[12:16:37] <Evanion> OK? shoot
[12:16:43] <NewbieAngularjs> Is someone available to support me?
[12:16:52] <NewbieAngularjs> ok thanks Evanion
[12:16:54] <wiherek> OK so this happens when I have a ui-view
[12:17:02] <wiherek> it doesn’t matter what is inside
[12:17:14] <wiherek> if I dont have any ui view, then it load correctly lol
[12:17:18] *** shpoont has joined #angularjs
[12:17:34] <wiherek> but if I have any, then it tries to load angular in there
[12:17:43] <wiherek> this is like the worst ever
[12:17:48] <wiherek> it works correctly on linux
[12:17:51] <wiherek> when I build
[12:17:55] *** doginal has quit IRC
[12:18:01] *** Oddman has joined #angularjs
[12:18:06] <NewbieAngularjs> I need to configurate my environment of development.
[12:18:35] <wiherek> NewbieAngularjs: thats simple, try yeoman
[12:18:42] <NewbieAngularjs> I'm in a debian operating system.
[12:18:44] <wiherek> it will do that for you
[12:19:17] <wiherek> if you want to have everything automated, go with yeoman
[12:19:19] *** AviMarcus has joined #angularjs
[12:19:21] <airtonix> wiherek: it's really not that simple.
[12:19:28] <wiherek> the only dependency for that is node
[12:19:33] <airtonix> yeoman makes a terrible setup for angular
[12:19:41] <wiherek> depends on your generator
[12:19:42] <airtonix> see how it's not simple?
[12:19:44] *** richiebkr has joined #angularjs
[12:20:01] <wiherek> id still say generator angular is still ok to start with
[12:20:12] <wiherek> it works ootb and has a clear structure :)
[12:20:29] <Evanion> yes and no ...
[12:20:34] <airtonix> wiherek: as to your build process problem. set it up on runnable.com and send us the link.
[12:21:12] *** Christer has joined #angularjs
[12:21:20] <Evanion> If you want to learn the basics of Angular I recommend starting with the basics … a blank index.html, and angular.js
[12:21:32] *** spaceonline has joined #angularjs
[12:21:41] <NewbieAngularjs> I come from a background in C or java programming languages, so i'm not confortable to develop web apps or javascript.
[12:22:05] *** Sky[x] has quit IRC
[12:22:44] <Evanion> If you want to just skipp everything and jump in to making something with Angular … use a generator or Boilerplate .. . But personally I prefer to wokr with Gulp, NPM, Bower and then build from there
[12:22:50] *** shpoont has quit IRC
[12:22:58] <Christer> NewbieAngularjs, maybe you could check out some basic HTML / Javascript on W3Schools or something before heading for AngularJS. Or some youtube vids to get you started. alot of good ones out there.
[12:23:13] <airtonix> wut
[12:23:16] <airtonix> w3schools?
[12:23:18] <airtonix> really?
[12:23:20] <airtonix> please
[12:23:27] *** Sky[x] has joined #angularjs
[12:23:28] <airtonix> no
[12:23:31] * airtonix cries in despair
[12:23:37] <wiherek> snake stahp
[12:23:43] <Evanion> Airtonix, watch this: https://www.youtube.com/watch?v=i9MHigUZKEM
[12:23:57] <airtonix> this better be amazing
[12:24:06] *** bkuberek has joined #angularjs
[12:24:08] <Evanion> It will get you upp and running in 60-ish minutes ;)
[12:24:17] <wiherek> NewbieAngularjs: http://yeoman.io/
[12:24:21] *** shpoont has joined #angularjs
[12:24:27] <airtonix> sadly it has nothing to do with making me feel better about w3fools Evanion
[12:24:39] <wiherek> http://toddmotto.com/ultimate-guide-to-learning-angular-js-in-one-day/
[12:24:53] <airtonix> Evanion: and perhaps you mean to give that link to someone else.
[12:24:57] <wiherek> it is a bit old, but still applies and it’s good ground
[12:25:08] <Evanion> no… I haven’t said anything about w3School
[12:25:28] <airtonix> yes you did
[12:25:31] <wiherek> http://www.airpair.com/angularjs/posts/angularjs-tutorial
[12:25:32] <Christer> No, i did.
[12:25:33] *** RangerRick has quit IRC
[12:25:35] <NewbieAngularjs> My objective now is configure an envionment on debian to develop with angularjs. (no problem to understand html,js). Yeoman is a tool that configure all my environment? Like LAMP for example?
[12:25:39] <wiherek> there is the better, newer version
[12:25:51] <wiherek> angularjs doesnt have a db
[12:25:53] *** spaceonline has quit IRC
[12:25:54] *** RangerRick has joined #angularjs
[12:26:00] <wiherek> no, its not like lamp
[12:26:08] <airtonix> well Christer, friends don't let friends use w3cschools.
[12:26:16] <airtonix> Christer: http://www.w3fools.com/
[12:26:29] <wiherek> but NewbieAngularjs it’s the stack of front end development
[12:26:30] <Evanion> Ok .. to configure your environmen… all you need i NPM
[12:26:43] *** Nijikokun has quit IRC
[12:26:49] <Evanion> http://nodejs.org/
[12:27:10] <wiherek> NewbieAngularjs: here is how to install node properly
[12:27:11] <wiherek> https://gist.github.com/isaacs/579814
[12:27:32] <wiherek> thats the only dependency
[12:27:48] <Evanion> Debian should have it in apt, or you can download the latest from the official site, and stick it in your /opt folder, and add the bin forlder to your PATH
[12:27:53] *** Foxandxss has joined #angularjs
[12:28:04] <Christer> airtonix, im not going to start a discussion on this, but the page you linked to has a statement, which supports the reason for mentioning w3schools. (For many beginners, W3Schools has structured tutorials and playgrounds that offer a decent learning experience.)
[12:28:23] <krastavac> i have this same in yeoman project and binding snaps when start typing in second textarea http://plnkr.co/edit/eUj3GflPFQ5mF71xajtn?p=preview
[12:28:29] <wiherek> Hi Foxandxss perhaps you can help me, I have the weird issue that Angular loads recursively into the first ui-view
[12:28:39] <wiherek> but only when I create a build on osx
[12:28:46] *** bkuberek has quit IRC
[12:28:47] *** seriema has joined #angularjs
[12:28:57] <airtonix> Christer: there are better places. w3cschools are mere SERP hunters
[12:29:15] <wiherek> it works correctly when build on linux OR when i use the dev version
[12:29:20] <NewbieAngularjs> ok after I installed nodejs, i need only to use an editor and start to program, with the angularjs script into an HTML code?
[12:29:30] <Evanion> yea
[12:29:32] <Christer> airtonix, i agree :)
[12:29:32] <airtonix> Christer: btw, the correct way to "not have a discussion" is to not reply.
[12:29:39] *** desp has joined #angularjs
[12:29:43] *** jae has quit IRC
[12:29:47] <wiherek> NewbieAngularjs: yeoman will install the app with a structure, so you have an easy start
[12:29:53] <Evanion> I would recommend installing Bower and Gulp/Grunt as well
[12:30:08] <wiherek> again, yeoman does that for you.
[12:30:37] <Evanion> yes .. but you lose some of your controll when you use yeoman
[12:30:48] <wiherek> oh yeah
[12:30:57] <NewbieAngularjs> ok @wiherek and @ Evanion. I'm going to acquire informations about your advices... and try to start!
[12:31:04] <Foxandxss> wiherek: that is weird yes
[12:31:10] *** thirdknife has joined #angularjs
[12:31:25] <wiherek> yea. so i removed all the gulp middleware
[12:31:29] <wiherek> i only have concat left
[12:31:37] <wiherek> perhaps its the concat script...
[12:31:56] <wiherek> removed everything from inside the first template
[12:32:02] <wiherek> so it loads an empty template
[12:32:09] <wiherek> the issue persists.
[12:32:15] <wiherek> but when I dont include ui-view
[12:32:17] <wiherek> it works.
[12:32:25] <wiherek> (when it’s not in html)
[12:32:39] *** Oddman has quit IRC
[12:32:48] *** tarnus has joined #angularjs
[12:32:55] *** seriema has quit IRC
[12:32:59] *** seriema_ has joined #angularjs
[12:33:13] <wiherek> i guess osx and linux sort files differently… maybe thats the reason
[12:33:17] <Foxandxss> I never heard about that, check the final app.js to see if it is correct
[12:33:18] *** NewbieAngularjs has left #angularjs
[12:33:22] <wiherek> yea it is
[12:33:36] <wiherek> hmm ill validate it
[12:33:37] *** Typher has joined #angularjs
[12:34:38] <wiherek> i mean.. how will i do that…
[12:34:47] <wiherek> there are jshint errors
[12:35:02] <wiherek> i concat everything, actually narrowed the app down to 3 files (js, html, css)
[12:35:22] <wiherek> its concatenated from god knows how many files
[12:35:29] <wiherek> but omg it works on linux
[12:35:32] <Foxandxss> normally I would try to replicate it on a new project. Blank project, an ui-view and start adding stuff until it breaks
[12:35:38] <Foxandxss> to see what's the cause
[12:35:50] *** Nijikokun has joined #angularjs
[12:35:58] <Christer> Is there anyway to use the current $scope inside a directive? i am trying to access a $scope variable and a $scope function from within my directive.
[12:36:01] *** seriema_ has quit IRC
[12:36:21] <Foxandxss> Christer: does the directive have a isolated or new scope?
[12:37:06] *** seriema has joined #angularjs
[12:37:27] *** tarnus has quit IRC
[12:38:17] *** Typher has quit IRC
[12:38:54] <Christer> Foxandxss, im not quite sure, havent been using directives much, and the code im editing is made by someone who is no longer on the project. - its got a return value that has values like - scope : { 'stop' : '=' } if that tells you anything.
[12:39:12] <Foxandxss> yes
[12:39:15] <wiherek> Foxandxss: do you think it might be related to keeping the bower_modules in the repo?
[12:39:40] <wiherek> does any of that stuff actually compile?
[12:39:51] <Foxandxss> that is a new isolated scope, so you don't have access to that $scope. You need to pass stuff from that $scope to the directive using attributes
[12:40:08] <Foxandxss> wiherek: I don't think so, but I wouldn't put them on the repos anyway
[12:40:22] *** gnrlbzik has joined #angularjs
[12:41:41] *** seriema has quit IRC
[12:41:48] <krastavac> whats this <script>document.write('<base href="' + document.location + '" />');</script>
[12:42:02] *** gunn has joined #angularjs
[12:43:10] <Christer> krastavac, the <base> meta tag specifies the base url of all relative URLs used in that page.
[12:43:56] *** richiebkr has quit IRC
[12:44:06] <krastavac> ok
[12:44:06] <airtonix> wiherek: still waiting for a runnable.com example.
[12:44:21] *** Reskp has joined #angularjs
[12:44:24] <airtonix> wiherek: anything less is just going to waste everyones time.
[12:44:48] *** gnrlbzik has quit IRC
[12:45:02] <Christer> or, sorry, dont know if its correct to call it a meta tag. but yeah.. an example would be, if you page has the url 'www.mydomain.com/fruits', and you specified src='orange.gif' - then it would look inside mydomain.com/fruits/orange.gif for that image.
[12:45:26] *** monir has joined #angularjs
[12:45:52] <krastavac> Christer: do you have idea why same code in yeoman project breaks binding after typing in second textarea? http://plnkr.co/edit/eUj3GflPFQ5mF71xajtn?s=owTbppTfTNDFyCSF&p=preview
[12:46:38] <wiherek> airtonix: i will try all i can before i go with runnable
[12:46:48] <wiherek> it seems like a lot of work to set it up there
[12:47:15] <airtonix> wiherek: git clone && npm install && gulp whatever... cant be that hard if your project is setup properly
[12:47:16] <wiherek> ive got like a ton of files
[12:47:41] *** foofoobar has joined #angularjs
[12:47:42] <airtonix> perhaps there's deeper issues with your project
[12:47:53] *** caitp has joined #angularjs
[12:47:57] <wiherek> i dont think so :s
[12:48:12] <wiherek> it can build like what you wrote
[12:48:19] *** nemothekid has joined #angularjs
[12:48:28] <Christer> krastavac, not sure what you meen, the page you linked works fine.
[12:48:36] <wiherek> i mean it does build like that :)
[12:48:51] <wiherek> but i cant share my server-side code
[12:48:52] *** seriema has joined #angularjs
[12:49:06] <airtonix> wiherek: not sure what the problem is then... if you're not going to present a runnable case that demonstrates this failure...
[12:49:07] <wiherek> soo a new server.js would need to be installed etc etc
[12:49:31] <wiherek> ‘created, not installed.
[12:49:39] <airtonix> wiherek: is the server.js involved in the frontend-asset compile process?
[12:49:52] <airtonix> (protip, it shouldn't be)
[12:49:55] *** IvailoStoianov has joined #angularjs
[12:49:57] <wiherek> no but its what I use to serve the app
[12:50:13] <wiherek> i dont have much logic there, just some proxy stuff for legacy urls
[12:50:16] <krastavac> yes, but same code in yeoman project breaks binding after first blur
[12:50:16] *** willeponken has joined #angularjs
[12:50:32] <airtonix> wiherek: is the server side code the problem or the frontend asset build process?
[12:50:48] <schinken> i often see people do autofocus on inputs with $timeout - but i think there should be another way than to rely on a fixed timeout. i tried angular.element(document).ready(... but without success. any other ideas?
[12:50:49] <schinken> the html5 autofocus attribute also doesn't work everytime... or just the first time - I'm not sure whats going on
[12:50:50] <wiherek> no, its not involved in the process
[12:51:01] <wiherek> but i have to serve it somehow :)
[12:51:08] <Evanion> Wiherek, try running the frontend completely decoupled from your Node backend
[12:51:13] <airtonix> wiherek: point is... if you want quality help, make an effort to make it easier for the people you're asking help from
[12:51:20] *** jamto11 has joined #angularjs
[12:51:27] *** rtpg has quit IRC
[12:51:46] <wiherek> airtonix: ok thanks
[12:51:56] <airtonix> wiherek: trickling little bits of information over a series of messages in irc isn't going to make anyone lives fun
[12:51:57] <wiherek> Evanion: it doesn’t matter…
[12:52:39] *** caitp has quit IRC
[12:52:57] <Evanion> sure it does, of you keep things separate, there is no way your BE can mess with your FE
[12:54:09] <Evanion> and git is ment to have larger projects split in smaller independent repos …
[12:54:11] *** oktapodi has joined #angularjs
[12:54:20] <Evanion> thats why you have the concept of submodules
[12:54:45] *** Nijikokun has quit IRC
[12:55:02] <airtonix> git submodules aren't something you recommend to git newcomers, hilarity ensues.
[12:55:37] <Evanion> shhh, i need a bit of humor now and then...
[12:55:41] <Evanion> ;)
[12:55:57] <wiherek> i mean have you really versioned projects with git modules?
[12:56:04] *** jamto11 has quit IRC
[12:56:11] <wiherek> submodules
[12:56:23] <wiherek> i do that too
[12:56:32] <Evanion> Any how … back on track .. decoupling your BE and FE makes even more sence when it comes to deployment
[12:56:47] <wiherek> so you recommend I dont serve it at all? :)
[12:56:54] <wiherek> brb
[12:57:23] <Evanion> your BE and FE will most probably need to scale independent of each other … if you have everything baked in to your BE… that makes it hard ...
[12:57:33] <wiherek> no i dont
[12:57:35] *** ccohn has joined #angularjs
[12:57:36] *** annlewis has joined #angularjs
[12:57:49] <wiherek> i just have a small nodejs instance
[12:57:55] <wiherek> to serve only the client
[12:57:58] *** Sky[x] has quit IRC
[12:58:02] *** bealtine has joined #angularjs
[12:58:06] <wiherek> the backend is another nodejs app
[12:58:17] <wiherek> another repo, everything.
[12:58:30] <wiherek> this is just static file serving and some proxy
[12:58:30] <Evanion> why not just compile once in your deployment stage, and then serve with nginx?
[12:58:34] *** oktapodi has quit IRC
[12:58:55] <wiherek> because its on heroku
[12:59:23] <airtonix> and?
[12:59:39] <desp> wiherek check bitballoon.com
[12:59:40] <wiherek> you cant control the webserver on heroku you need an app
[12:59:46] *** Reskp has quit IRC
[12:59:49] <wiherek> whats that
[12:59:57] <airtonix> git push > buildpack: gulp build > yay!; node app.js
[13:00:09] <wiherek> jesus, that what i do!
[13:00:29] *** edy has quit IRC
[13:00:32] <airtonix> wiherek: looks like you need to look deeper into heroku
[13:00:49] <wiherek> i dont have any problem with heroku
[13:00:52] <wiherek> its great
[13:01:03] <airtonix> wiherek: i didn't imply otherwise
[13:02:03] *** annlewis has quit IRC
[13:02:17] <Evanion> And this is why I don’t use Yeoman, or SaaS like Heroku … AWS/Rackspace, npm, bower, Gulp are my tools of choise...
[13:02:19] *** ccohn has quit IRC
[13:02:23] *** tech2 has quit IRC
[13:02:29] *** shinnya has quit IRC
[13:02:36] *** RedOrangeZ has joined #angularjs
[13:02:48] <wiherek> it does not have any relation to my issue guys :)
[13:03:11] <wiherek> i use aws too, but prefer heroku, but thats not the reason angular loads more than once.
[13:03:11] <airtonix> wiherek: how do we know! you haven't provided an example that we can play with
[13:03:42] <Evanion> sure it does … Do you know if your issue is a yeoman issue or something else...
[13:03:51] <airtonix> wiherek: seriously, create a runnable. drop your gulp tasks there, and some example angular assets... bam reproduce the situation that fails on osx so we can pull it apart
[13:03:58] *** jillesme has joined #angularjs
[13:04:17] *** foofoobar has quit IRC
[13:04:19] <Foxandxss> for bower users.. it is common this days for packages to have the main file stablished on the bower.json?
[13:04:23] *** thirdknife has quit IRC
[13:04:32] <airtonix> unless you know of some other pastebin like service that has a terminal and filesystem in the web browser
[13:04:37] <wiherek> you have that in bower.json and .bower.json
[13:04:46] <wiherek> and the latter is the one that controls what is loaded
[13:04:59] *** glaksmono has joined #angularjs
[13:05:10] *** hightower4 has joined #angularjs
[13:05:12] <wiherek> (the ones that are in their respective modules directories)
[13:05:13] *** seriema has quit IRC
[13:05:16] <Foxandxss> there is a gulp task to grab all the main files of all my dependencies
[13:05:21] *** motionman has joined #angularjs
[13:05:28] <Foxandxss> and if there is none, you can edit your bower.json to put one by hand
[13:05:31] <wiherek> yea so it’ll use the “main” property from those files
[13:05:40] *** seriema has joined #angularjs
[13:05:41] <Foxandxss> is that or creating a vendor manifest where you put by hand what you need to merge
[13:05:41] <wiherek> specify “main” in the bower.json
[13:06:00] <Evanion> I use gulp-bower-files to fetch my vendor files … I relly on the main property in my vendors bower.json
[13:06:15] <wiherek> yeah it does suck though
[13:06:18] *** thirdknife has joined #angularjs
[13:06:32] <Evanion> if a package is missing it, I have to add an override in my own bower.json
[13:06:32] <Foxandxss> let me check that
[13:06:37] <wiherek> will only work on one workstation unless you add bower_components to the repo
[13:07:06] <Evanion> no...
[13:07:06] <wiherek> plus with packages like moment.js you don’t really get the best option.
[13:07:19] <Evanion> then you make an override..
[13:07:24] <Evanion> and only pull what you need
[13:07:26] <wiherek> yes.
[13:07:36] <Foxandxss> Evanion: oh, that one is deprecated to main-bower-files which is the one I was looking
[13:07:38] <wiherek> im actually going to do that now
[13:07:56] <wiherek> yeah thats the one i use too
[13:08:11] <Evanion> I use one of them .. couldn’t remember which was depricated
[13:08:18] *** glaksmono has quit IRC
[13:08:19] <Foxandxss> yeah
[13:08:44] <Foxandxss> the thing is, I need to concat both bower stuff + other vendor js that are not bower, and I need them on a specific order
[13:08:54] <Foxandxss> so I think I am going to use the manifest way for now
[13:09:09] <Evanion> anyhow .. You don’t need to add bower_conponent folder to the repo .. just run ‘bower install’ on the new workstation
[13:09:18] <Foxandxss> that for sure
[13:09:37] <wiherek> there are opinions on that
[13:09:42] <wiherek> ymmv
[13:09:47] <Evanion> check gulp-angular-filesort for filesort
[13:09:52] *** seriema has quit IRC
[13:10:28] <Foxandxss> I am not using gulp-inject
[13:10:55] <Evanion> me nether… I do the following:
[13:11:24] <Evanion> fetch vendor files > filesort > concat > write vendor.js
[13:11:36] <Evanion> and then I have vendor.js hardcoded in my index.html
[13:11:38] <numenor> why use angular foreach over for loop?
[13:12:27] <Evanion> I don’t like injecting stuff in my index.html
[13:12:34] <Foxandxss> me neither
[13:12:57] <Evanion> I only inject my livereload script via gulp-embedlr
[13:13:11] <Foxandxss> I put livereload with gulp-connect
[13:13:23] <Evanion> ow .. might look in to that
[13:13:41] <Christer> numenor, as far as i have read, it just helps you avoid javascript throwing a typeerror for undefined and null values.
[13:13:46] <Evanion> I’m in the process of rebuilding my boilerplate…
[13:14:10] <Foxandxss> it is handy because you can put a connect.reload() in any task
[13:14:14] <Foxandxss> where you want to trigger it
[13:14:17] <Christer> numenor, and you can specify your own context.
[13:14:28] <Foxandxss> Evanion: https://github.com/Foxandxss/fox-angular-gulp-workflow
[13:14:29] <Evanion> I concat my vendor and app files … and then use sourcemaps when debugging
[13:14:29] *** josdeha_rt has quit IRC
[13:14:29] <Foxandxss> that is mine
[13:14:34] <Foxandxss> I am on the middle of integrating bower into it
[13:14:41] <Foxandxss> I dislike bower but people likes it
[13:14:50] <Foxandxss> I concat vendor + app into one file
[13:14:56] <Foxandxss> also with sourcemaps
[13:15:23] <Foxandxss> I have a little of an issue tho, sometimes when I add a new empty file it complains about not finding it, but as soon I write stuff on it, it works
[13:15:46] <Evanion> I remember seing a talk from ngEurope (i think) about app structure based on components .. but I can’t find it again
[13:16:07] <Foxandxss> the issue is because I concat multiple paths at once, being vendor the first one and then it tries to match new app files into /vendor instead of /app
[13:16:08] <Evanion> waas thinking of applying it on my boilderplate
[13:16:12] <Foxandxss> but minor issue
[13:16:16] *** josdeha_rt has joined #angularjs
[13:16:20] <wiherek> yeah i still minify that
[13:16:21] *** Shilon has joined #angularjs
[13:16:46] *** monir has quit IRC
[13:17:03] <Evanion> I keep the vendor and app js files separate ..
[13:17:17] <Evanion> and with separate sourcemaps
[13:17:18] <numenor> Christer , Thank You
[13:17:47] <wiherek> with the latest project i even minify and templateCache all html
[13:17:50] <Foxandxss> Evanion: any good reason? (I thought about that as well, but so far I didn't try)
[13:17:57] <wiherek> so it really is index.html, scripts.js, styles.css
[13:18:20] <Evanion> I just like to separate my own code from vendor code
[13:18:24] <wiherek> cant use sourcemaps though, but they are not meant for production anyway
[13:18:37] *** mdedetrich has joined #angularjs
[13:18:43] <Foxandxss> Evanion: and for production?
[13:18:46] <wiherek> yea, I concat to scripts and vendor and then get them all together
[13:18:47] *** cotko has joined #angularjs
[13:18:54] <wiherek> with templates.js
[13:18:57] <Evanion> I can’t use sourcemaps in Chrome … works great in Safari though
[13:19:11] <Foxandxss> I use sourcemaps in chrome
[13:19:13] <Foxandxss> not a problem
[13:19:25] *** favetelinguis has joined #angularjs
[13:19:48] <Evanion> Depends on the project .. some concat vendor and app .. and some don’t .. depends on the traffic
[13:20:05] <wiherek> i think i found the issue omg
[13:20:16] <Evanion> 1 SR more or less wont matter most of the time
[13:20:20] <wiherek> it seems to be backend related
[13:20:22] <Foxandxss> Evanion: I see
[13:20:36] <Foxandxss> I will keep the way I am using so far until I find a good reason to swap
[13:21:04] *** jaydubya has joined #angularjs
[13:21:06] *** rtpg has joined #angularjs
[13:21:12] <anger_> Anyone using jasny bootstrap and angular-file-upload together?
[13:21:31] <Evanion> letäs attribute my separation to ‘Separation of concerns’ ...
[13:21:32] <anger_> Trying to create a pretty image upload dialog
[13:22:01] <wiherek> ok so the reason seems to be that
[13:22:18] <wiherek> my nodejs server server index.html
[13:22:19] <anger_> jasny-bootstrap and angular-file-upload has some problems at least with image preview...
[13:22:22] <wiherek> instead of static assets
[13:22:29] <wiherek> lame...
[13:22:48] <Evanion> and thats why I separate my BE and FE :)
[13:23:55] <Foxandxss> yeah, there are a lot of different use cases and needs
[13:24:34] <wiherek> Evanion: the code that breaks
[13:24:45] <wiherek> is basically needed for client
[13:24:49] *** bkuberek has joined #angularjs
[13:24:49] *** desp has quit IRC
[13:24:54] <wiherek> for html5 mode
[13:24:59] *** mattcarp has joined #angularjs
[13:25:14] <wiherek> i can now create a pastebin
[13:26:18] *** ehalas has joined #angularjs
[13:26:55] *** desp has joined #angularjs
[13:27:39] *** AtomicCookie has joined #angularjs
[13:27:51] *** seriema has joined #angularjs
[13:28:58] <wiherek> ok you guys like nodejs? http://pastebin.com/vKmSEggP
[13:29:24] <wiherek> this is a setup which works perfectly for html5 mode and SEO :) through brombone
[13:29:26] *** bkuberek has quit IRC
[13:29:35] <wiherek> but it breaks on osx
[13:29:54] <wiherek> serving always the index.html file instead of static assets which should pass through ‘st’
[13:30:50] *** seriema has quit IRC
[13:31:31] <wiherek> (it’s not the full file, it’s what breaks)
[13:32:25] *** tkimmel has joined #angularjs
[13:34:47] *** mennea has joined #angularjs
[13:34:55] *** marshall has joined #angularjs
[13:35:14] *** krastavac has left #angularjs
[13:36:14] <wiherek> ok
[13:36:18] <wiherek> thats not really correct
[13:36:19] *** xastey has joined #angularjs
[13:36:26] <wiherek> it does load assets correctly
[13:36:30] <wiherek> but not templates
[13:36:52] *** tkimmel has quit IRC
[13:37:27] *** _lexjm has joined #angularjs
[13:38:34] <wiherek> ok i think it’s the module templateCache
[13:39:01] <Evanion> Do you cache your index.html in to templateCache?
[13:39:35] *** cotko has quit IRC
[13:39:40] <Evanion> you shouldn’t
[13:39:47] <wiherek> no no
[13:39:52] *** cotko has joined #angularjs
[13:39:53] <wiherek> only the templates
[13:40:03] <wiherek> thing is
[13:40:12] <wiherek> it shouldn’t call for the template files
[13:40:18] <wiherek> as they should be in templateCache
[13:40:23] <wiherek> so thats what breaks
[13:40:35] <wiherek> it doesn’t break on linux
[13:40:43] <wiherek> but i think this is gulp related in the end
[13:41:08] *** gnrlbzik has joined #angularjs
[13:41:57] *** nfroidure has quit IRC
[13:42:21] *** rhp has quit IRC
[13:43:00] *** daptordarattler has joined #angularjs
[13:44:33] <wiherek> hm
[13:44:51] <wiherek> templateCache gets the files relative to os root on osx
[13:44:58] <wiherek> files’ paths
[13:45:41] *** gnrlbzik has quit IRC
[13:45:49] <Evanion> how does your templateCache compiler in gulp look?
[13:46:01] *** mennea has quit IRC
[13:46:38] *** mennea has joined #angularjs
[13:47:16] *** marcjs has joined #angularjs
[13:47:18] <wiherek> .pipe(templateCache('templates.js', {module: ‘myApp', root: '/', base: __dirname + '/app'}))
[13:47:29] <wiherek> thats how it looks corrected
[13:47:45] <wiherek> before there was an absolute base path
[13:47:48] *** gurke_ has joined #angularjs
[13:47:55] <wiherek> which was not correct for this machine
[13:48:29] <wiherek> YEAH it works
[13:48:41] <wiherek> yessss\
[13:48:48] <wiherek> :D
[13:49:27] <wiherek> thanks!
[13:49:29] *** SahanH has joined #angularjs
[13:49:41] *** patrick99e99 has joined #angularjs
[13:50:08] *** startupality has joined #angularjs
[13:50:20] <Evanion> here is my template compiler: http://pastebin.com/AUgZWqJF
[13:51:03] *** thirdknife has quit IRC
[13:51:03] *** Christer has quit IRC
[13:51:04] <Evanion> …that I samelessly stole from som other boilerplate ;)
[13:51:18] <wiherek> thats the way ;)
[13:52:02] *** SahanH is now known as theotherguy
[13:52:08] <Evanion> gonna rewrite it from scratch now though...
[13:53:21] <wiherek> … guilt? :)
[13:53:35] *** deanclkclk has joined #angularjs
[13:53:41] <Evanion> na … just think i can do it better
[13:53:49] *** ciwolsey has quit IRC
[13:54:10] *** nemothekid has quit IRC
[13:54:23] <Foxandxss> I use angular-template-cache
[13:54:29] <Foxandxss> same idea more or less :)
[13:54:32] <Evanion> Here is one I made for our Ionic based project: http://pastebin.com/ZeumJ3QB
[13:54:34] *** patrick99e99 has quit IRC
[13:54:58] <Foxandxss> don't bring that interesting topic
[13:55:05] <Foxandxss> I want to create an Ionic workflow
[13:55:13] <Evanion> Ionic precaches all the template files on app boot .. but I prefer to do it at build for a faster boot
[13:55:30] <wiherek> i use angular-template-cache too
[13:56:04] <Foxandxss> Evanion: so you put a ./src directory to put all your code?
[13:56:13] <Evanion> yea
[13:56:22] <Evanion> sec, I made a post ..
[13:56:26] <Foxandxss> and then move all your stuff to /www (concat, etc)
[13:56:42] *** ciwolsey has joined #angularjs
[13:56:53] <Evanion> I moved lib (basically bower_component) out of www
[13:57:11] <Foxandxss> yeah, makes no sense to have it tho
[13:57:17] <Foxandxss> it will be an app.js or vendor.js
[13:57:18] <Evanion> http://forum.ionicframework.com/t/my-restructure-of-the-ionic-apps/11184/3
[13:57:37] *** annlewis has joined #angularjs
[13:57:58] <Evanion> I have found a number of issued with my gulp tasks though (mainly relating to gulp-cache) … so the post is a bit outdated
[13:58:04] <Evanion> issues*
[13:58:05] *** ccohn has joined #angularjs
[13:58:10] *** deanclkclk has quit IRC
[13:58:33] <Foxandxss> yeah, not going to copy it, only grab ideas since I don't have ionic knowledge yet
[13:58:54] *** daptordarattler has quit IRC
[13:59:16] <Evanion> Ionic isn’t that special … think of it like any other FE framework … bootstrap, uikit or foundation that you would use
[13:59:20] <Foxandxss> Evanion: .min only for deployment, right?
[13:59:24] <Evanion> mm
[13:59:41] <Evanion> or … I always run min … and use sourcemaps
[13:59:49] *** marshall has quit IRC
[13:59:50] *** sacho_ has quit IRC
[13:59:57] <Foxandxss> still not as good as non .min
[13:59:58] <Evanion> but some of my colleagues prefer unmin versions
[14:00:00] <Foxandxss> .min removes all errors
[14:00:15] <Foxandxss> so when angular cries, you will get a generic "I am crying, won't tell"
[14:00:23] *** tarnus has joined #angularjs
[14:00:24] <Foxandxss> instead of a nice error
[14:00:40] <Evanion> no, I get full error with line and char links
[14:00:47] <Foxandxss> no
[14:00:52] <Foxandxss> I don't mean that
[14:00:53] *** marshall has joined #angularjs
[14:00:58] <Foxandxss> you get that
[14:01:09] <Foxandxss> well well
[14:01:25] <Foxandxss> is your angular.min a version YOU created or the real angular.min created by angular team?
[14:01:50] <Evanion> its a min we created from the angular bower repo
[14:01:52] *** annlewis has quit IRC
[14:02:04] <Foxandxss> the .min created by angular doesn't contain errors
[14:02:07] <Foxandxss> yours will yeah
[14:02:30] <Foxandxss> let me ask another question regarding your workflow
[14:02:36] <Foxandxss> bower install angular
[14:02:42] <Foxandxss> that will create /vendor/angular/..
[14:02:45] *** ccohn has quit IRC
[14:02:52] <Evanion> yea
[14:02:53] <Foxandxss> what if you have vendor that are not from bower?
[14:03:06] <Foxandxss> you create /vendor/notfrombowerlib/lib.js?
[14:03:19] <Evanion> haven’t encountered that problem yet…
[14:03:38] <Foxandxss> I am doing my bower update to my workflow
[14:03:46] <Foxandxss> and I have /vendor/js /vendor/css /vendor/bower_components
[14:03:50] <Foxandxss> and maybe I don't need those two
[14:04:06] <Foxandxss> but since I am not a bower user I don't really know if there are too many cases where you need vendors without bower
[14:04:22] <Evanion> most have bower today
[14:04:55] <Evanion> and if they dont, you can always refer to their github repo+branch instead of bower repo name
[14:05:11] <Foxandxss> yeah
[14:05:14] *** Asiajey has joined #angularjs
[14:05:18] <Foxandxss> probably that is a more sane idea
[14:05:20] *** eamonn has joined #angularjs
[14:05:27] *** marshall has quit IRC
[14:05:36] *** ProLoser has quit IRC
[14:05:37] *** cakirke has joined #angularjs
[14:05:42] *** shpoont has quit IRC
[14:05:44] <Foxandxss> I like your ionic workflow
[14:05:52] <Foxandxss> gave me ideas to create my own version
[14:05:55] <Foxandxss> have you played with cca?
[14:05:57] <Evanion> only thing you need to do in that case .. is if your using gulp-bower-file is to add your own main override
[14:05:59] <Evanion> thanks
[14:06:06] *** shpoont has joined #angularjs
[14:06:11] <Evanion> no, what is cca?
[14:06:16] <Foxandxss> nah, I decided to go with manifest.js
[14:06:21] <Foxandxss> and export an array of what I want to merge
[14:06:44] <Foxandxss> Evanion: https://github.com/MobileChromeApps/mobile-chrome-apps
[14:06:52] <Foxandxss> don't ask me too much, since I heard about this two days ago
[14:06:53] *** haseeb has quit IRC
[14:06:56] <Foxandxss> crosswalk
[14:07:09] <Foxandxss> seems to be like a replacement for the webview
[14:07:10] *** \du has joined #angularjs
[14:07:10] *** \du has joined #angularjs
[14:07:20] <Foxandxss> to put a faster one, better one
[14:07:40] <Foxandxss> https://crosswalk-project.org/
[14:08:14] <Foxandxss> seems like the cool thing to do this day is to use cca CLI to create projects
[14:08:19] <Foxandxss> then pull ionic on it
[14:08:25] <Foxandxss> and well, just work as you normally do
[14:08:35] <Foxandxss> it will create a different .apk for android which includes this crosswalk
[14:08:38] <Foxandxss> so the app will run waaaaay faster
[14:09:01] <Evanion> Interesting .. I have been eyeing https://www.tidekit.com/ my self
[14:09:09] <Foxandxss> again, don't quote me on any of this, heard about it two days ago and a good friend said to me that they use that for their apps
[14:09:49] <Foxandxss> no idea tbh, my ionic is really null
[14:09:55] <Foxandxss> when I finish my book, I will give it more time
[14:10:09] <Foxandxss> and then build my own workflow to use this cca to generate fast projects, livereload and all the shit we like
[14:10:12] *** sacho has joined #angularjs
[14:10:28] *** spaceonline has joined #angularjs
[14:10:36] <Evanion> hmm .. so it’s a custom webview?
[14:10:44] <Foxandxss> Seems so
[14:10:59] *** haseeb has joined #angularjs
[14:11:11] <Foxandxss> android 4.4 comes with a new webkit based webview, the olders doesn'
[14:11:19] <Evanion> how does that work with Apples requirement to use their safari based webview? … will the app pass review?
[14:11:25] <Foxandxss> and this one works faster and I guess that it works in <4.4
[14:11:35] <Foxandxss> I think that that is android only
[14:11:49] <Foxandxss> not sure what is going to be done for apple if it just create normal apple packages
[14:12:11] <Foxandxss> oh wait, cca says iOS as well
[14:12:38] <Foxandxss> yeah, iOS as well
[14:12:44] <Foxandxss> I guess it pass their rules
[14:12:58] <Foxandxss> but better ask to someone who knows about what he talks, not me
[14:13:05] <Evanion> unfortunately .. works on ios and passes review are two different things :(
[14:13:13] *** Johnny13371337 has joined #angularjs
[14:13:54] <Foxandxss> Evanion: it wouldn't make sense if it didn't pass
[14:14:11] <Evanion> I have been there before
[14:14:39] *** Nijikokun has joined #angularjs
[14:14:42] <Evanion> remember adobes flash adaptation for making apps, and apple went out saying they wouldn’t pass apps built with that tech?
[14:14:49] *** spaceonline has quit IRC
[14:15:01] *** jaydubya has quit IRC
[14:15:27] <Evanion> and thats when adobe went out and bought PhoneGap...
[14:15:35] *** jaydubya has joined #angularjs
[14:15:48] *** Lynxium has quit IRC
[14:16:03] *** mennea has quit IRC
[14:16:12] *** Xethron has joined #angularjs
[14:16:13] *** Lynxium has joined #angularjs
[14:16:40] *** mennea has joined #angularjs
[14:17:46] *** spets has joined #angularjs
[14:18:10] <Evanion> Then they put phonegap on some yellow pages, yanked the engine, and wheels, and gave them to Apache … and Cordova was born…
[14:18:15] *** thirdknife has joined #angularjs
[14:19:30] <Foxandxss> Crosswalk does not support iOS at this time.
[14:19:31] <Foxandxss> uh
[14:19:34] <Foxandxss> from the fAQ
[14:19:37] <Foxandxss> I am confused
[14:19:39] *** mtsr has quit IRC
[14:19:49] <Foxandxss> let ask robdubya when he enter
[14:20:21] <Evanion> mm
[14:20:33] *** jaydubya has quit IRC
[14:20:53] *** qdk has quit IRC
[14:21:35] *** jaydubya has joined #angularjs
[14:21:48] <amergin_> can abstract state have both templateUrl AND several named views that inject to the contents of the templateUrl in ui-router?
[14:22:05] <Evanion> They almost don’t mention iOS on their marketing page … except a quote from Max Woghiren
[14:22:14] <Foxandxss> Evanion: yeah, that quote confused me
[14:22:16] <Foxandxss> amergin_: yeah
[14:22:23] <Foxandxss> the templateUrl will go in the '' view
[14:22:31] <Foxandxss> Evanion: I will research, then I will tell you back
[14:22:42] <amergin_> okay, then I'm doing something else wrong
[14:22:45] *** ChanServ sets mode: +o Foxandxss
[14:22:48] <Foxandxss> maybe
[14:22:57] <Evanion> amergin_: https://github.com/angular-ui/ui-router/wiki/Nested-States-%26-Nested-Views
[14:23:02] <amergin_> ui-router sure could be a bit more verbose
[14:23:36] <amergin_> now I'm just seeing that the state is resolved but no template contents have been loaded
[14:23:37] *** Shilon has quit IRC
[14:23:45] *** amergin_ is now known as amergin
[14:24:02] <Foxandxss> show code
[14:25:20] *** bostonaholic has joined #angularjs
[14:25:34] *** bkuberek has joined #angularjs
[14:28:07] *** theotherguy has quit IRC
[14:28:23] *** SahanH has joined #angularjs
[14:29:41] *** mtsr has joined #angularjs
[14:29:44] <amergin> Foxandxss: can I pm you?
[14:29:54] *** mjs2600 has quit IRC
[14:30:03] <Foxandxss> for the issue? if you can paste in public, please do it here
[14:30:07] *** MuffinMan` has joined #angularjs
[14:30:12] *** bkuberek has quit IRC
[14:30:15] <Foxandxss> I am doing other stuff and I can't assure that I can help you
[14:30:17] *** hswolff has quit IRC
[14:30:43] *** mjs2600 has joined #angularjs
[14:30:48] *** freeman42 has joined #angularjs
[14:31:27] *** hswolff has joined #angularjs
[14:32:10] *** drorh has joined #angularjs
[14:32:39] *** Shilon has joined #angularjs
[14:33:02] <drorh> Hello. I was wondering how to pass a local json file with an array of data to a ui-select, instead of an inline looooong list?
[14:33:07] *** Shilon has joined #angularjs
[14:33:29] *** danflies has joined #angularjs
[14:33:33] <drorh> no need for $http fetch
[14:33:41] <Evanion> Ar you asking how to parse the json file, or how to populate the selector?
[14:34:06] <Evanion> ok, so populate the selector …
[14:34:07] <amergin> Foxandxss: https://gist.github.com/amergin/d7c7b03048fef757ae26 / https://gist.github.com/amergin/4aba75e7fc5aab2973c1
[14:34:12] *** sinequanon has joined #angularjs
[14:34:30] <drorh> but how do i include the .json file?
[14:35:03] *** elrabin has joined #angularjs
[14:35:08] <Foxandxss> amergin: you need to move those "root" controller and templateUrl inside views: {}
[14:35:10] <amergin> Foxandxss: the vis.explore is resolved, and header displays normally (probably because of the absolute referencing)
[14:35:18] <Evanion> Umm .. you parse it in to an object using $http.fetch?
[14:35:23] <Foxandxss> in the concrete view you need
[14:35:25] *** iribarne has joined #angularjs
[14:35:31] <Evanion> atleast thats how I do it
[14:35:43] <drorh> Evanion: I don't really need to fetch it async
[14:35:44] <Foxandxss> if it is the empty one, then '': { controller: '...', templateUrl: '...'}
[14:35:59] <drorh> Evanion: no way to require it without requireJS?
[14:37:00] <Evanion> if your using angular-ui’s package for ui-select, you need to get the data in to a model and then include the model in the directive
[14:37:10] <Evanion> https://github.com/angular-ui/ui-select#faq
[14:38:01] <amergin> Foxandxss: didn't catch what you were saying. you mean VisCtrl should be alongside with one of the views, such as 'main'?
[14:38:23] <Foxandxss> yes
[14:38:50] <amergin> and remove templateUrl & controller completely from the root of abstract state 'vis'?
[14:38:52] *** sinequanon has quit IRC
[14:38:54] <amergin> or just the controller
[14:38:56] <Evanion> @amergin you define both the templateUrl and controller in the vew section for each view
[14:39:04] <Foxandxss> if that VsCtrl goes to the empty ui-view (the unnamed one) then you put '' as the view name
[14:39:08] <Foxandxss> amergin: both
[14:39:25] *** dannyc has joined #angularjs
[14:39:37] <zomg> Foxandxss: sent you a pm about something
[14:39:49] *** mmealling has quit IRC
[14:40:41] *** gunn has quit IRC
[14:41:08] <drorh> Evanion: So in other words: either i use requireJS or i fetch it with $http, Correct?
[14:41:46] <Evanion> well, you need to get it in to your model somehow… I don’t have any experience with require.js though
[14:41:53] *** gnrlbzik has joined #angularjs
[14:42:58] *** oktapodi has joined #angularjs
[14:43:02] <Evanion> My recommendation would be to parse it with $http.fetch since you might want to change it to a REST endpoint in some backend in the future
[14:43:05] <drorh> Evanion: Well make sense when i think about it. Thank you.
[14:43:26] <drorh> makes*
[14:43:58] *** dannyc has quit IRC
[14:45:07] <Evanion> It seems like people entirely miss the reason why we separate stuff in to models, views and controllers
[14:45:16] <Evanion> .. now days
[14:45:27] <drorh> Evanion: Do you have recommendation on a grid directive other than ng-grid which uses jquery? (the pre beta doesn't use jquery but its... really.. pre beta)
[14:45:56] <amergin> Evanion: but I thought controllers are not mandatory for each view, at least the examples in the ui-router wiki do not always do so
[14:46:03] <drorh> Evanion: I really don't miss that point. :)
[14:46:15] *** gnrlbzik has quit IRC
[14:46:30] <Evanion> I use UIkit and love their grid system .. but uikit have jquery as a dependency ...
[14:46:30] <SonikBoom> I want to attach a click handler to an add product basket on a site, external to its angular app. To what extent can I capture the angular / ajax events?
[14:46:51] *** ehalas2 has joined #angularjs
[14:47:21] *** ehalas has quit IRC
[14:47:45] *** oktapodi has quit IRC
[14:47:46] <Evanion> SUre, views don’t require separate controllers, but you can always use resolve to parse before passing to the view
[14:48:02] *** mtsr has quit IRC
[14:48:06] *** mjs2600 has quit IRC
[14:48:10] <Foxandxss> can I have a folder which I want to appear on github but not its content?
[14:48:30] <Evanion> Why would you want that?
[14:48:41] *** corehook has joined #angularjs
[14:48:49] <Foxandxss> I want the vendor folder to be there
[14:48:51] <Foxandxss> empty, but there
[14:49:00] <Foxandxss> but not the bower stuff inside it
[14:49:14] *** corehook has left #angularjs
[14:49:17] *** corehook has joined #angularjs
[14:49:24] <Evanion> I gues you could add a dot file to the folder, and then ignore the rest of the folder
[14:49:37] <Foxandxss> tried with
[14:49:38] <Foxandxss> vendor/*
[14:49:40] <Foxandxss> no luck
[14:49:55] *** \du has quit IRC
[14:49:55] *** Shrooms has quit IRC
[14:50:14] <Evanion> well you need to track the file in the vendor folder, so it gets added before you ignore the folder itself
[14:50:32] *** drorh has quit IRC
[14:50:36] <Evanion> git will keep tracking the tracked file, but ignore any other changes in the folder
[14:50:53] <Foxandxss> tried with .gitkeep
[14:51:48] *** bostonaholic has quit IRC
[14:51:50] <Foxandxss> bah, no vendor folder
[14:52:07] <amergin> Foxandxss: just understood what you meant by the '' views. seems to solve my problem. another question: does ui-router fire $viewContentLoaded for each view template separately?
[14:52:26] <Foxandxss> no idea about that
[14:52:31] <Foxandxss> but is not hard to try :)
[14:52:52] <amergin> seems that it does
[14:53:06] <Foxandxss> Evanion: oh wait, I have the manifest there, so I need it, heh
[14:53:07] <Evanion> .gitkeep is not something that is supported by Git … it’s just a convention adopted by users
[14:53:14] *** MaxV has quit IRC
[14:53:29] <Evanion> ok
[14:54:03] *** cotko has quit IRC
[14:54:05] <Evanion> you would still need to add the .gitkeep file to be tracked by the repo before ignoring the folder any way
[14:54:22] *** instence has joined #angularjs
[14:55:09] *** AlSquirrel has joined #angularjs
[14:55:14] *** crakrjak_respawn has joined #angularjs
[14:55:58] *** instence_ has quit IRC
[14:55:59] *** crakrjak_respawn has joined #angularjs
[14:56:56] <Evanion> Since git tracks data and not files or folders, you can’t have empty folders tracked by git .. you would need something in them to have them be tracked
[14:57:12] <Foxandxss> yes yes
[14:57:28] <Evanion> :)
[14:57:34] *** annlewis has joined #angularjs
[14:57:37] <Foxandxss> let see how it goes :P
[14:57:41] *** GeneralChoomin has quit IRC
[14:58:08] *** GeneralChoomin has joined #angularjs
[14:58:08] *** GeneralChoomin has joined #angularjs
[14:58:49] *** ccohn has joined #angularjs
[14:59:06] <Foxandxss> yeah, done
[14:59:38] <Foxandxss> the big big issue now is that I have a copy of that workflow for another use and I will need to replicate this, grrr
[14:59:40] *** mattcarp has quit IRC
[14:59:42] <Foxandxss> before that, lunch time
[14:59:46] *** spets has quit IRC
[15:01:02] *** mtsr has joined #angularjs
[15:01:52] *** Reskp has joined #angularjs
[15:02:01] *** monir has joined #angularjs
[15:02:17] *** annlewis has quit IRC
[15:02:18] *** desp has quit IRC
[15:03:00] *** Reskp has quit IRC
[15:03:09] *** ccohn has quit IRC
[15:03:34] *** Shilon has quit IRC
[15:03:52] *** Shilon has joined #angularjs
[15:04:53] *** bbankes has joined #angularjs
[15:05:48] *** rtpg has quit IRC
[15:06:04] *** rtpg has joined #angularjs
[15:06:30] *** GeneralChoomin has quit IRC
[15:06:44] *** mtsr has quit IRC
[15:06:47] *** GeneralChoomin has joined #angularjs
[15:06:50] *** marshall has joined #angularjs
[15:07:48] *** fourq has quit IRC
[15:08:06] *** nya has quit IRC
[15:09:16] <intellix> Foxandxss: did you try .gitignore with !.gitignore inside it (within the vendor folder)
[15:09:44] <intellix> that's how I add empty folders to git
[15:11:37] <intellix> I mean a file called .gitignore inside the vendor folder. With !.gitignore being it's only contents
[15:11:42] *** marshall has quit IRC
[15:14:25] *** crakrjak_respawn has quit IRC
[15:15:13] *** monir has quit IRC
[15:16:05] *** mennea has quit IRC
[15:16:40] *** mennea has joined #angularjs
[15:16:51] *** MalteJ has joined #angularjs
[15:17:18] <Foxandxss> intellix: yeah, ended doing that
[15:18:02] *** onats has joined #angularjs
[15:18:15] *** mrwn has joined #angularjs
[15:20:08] *** ctanga has joined #angularjs
[15:20:48] *** AtomicCookie has quit IRC
[15:21:08] <jaydubya> hi, all. Is angular-seed the best "starting point" for a new project?
[15:21:16] *** tkimmel has joined #angularjs
[15:21:25] <Foxandxss> it is an option
[15:21:27] <Foxandxss> just an option
[15:22:22] *** zwacky has joined #angularjs
[15:22:26] <Foxandxss> jaydubya: https://github.com/Foxandxss/fox-angular-gulp-workflow
[15:22:30] <Foxandxss> check my starting point
[15:22:47] *** AlexZan has quit IRC
[15:23:04] *** kypse has joined #angularjs
[15:23:11] <jaydubya> testing already built-in?
[15:23:34] *** benschaaf has joined #angularjs
[15:24:06] *** mrwn has quit IRC
[15:24:06] <Foxandxss> yeah, of course
[15:24:29] *** nesquerra has joined #angularjs
[15:24:30] <jaydubya> Can I use it in English or do I need Rosetta Stone - Spanish?
[15:24:32] <jaydubya> LOL
[15:24:53] *** corehook has quit IRC
[15:24:55] *** mmealling has joined #angularjs
[15:24:55] <Foxandxss> it doesn't have any bit of spanish on it
[15:25:19] *** Reskp has joined #angularjs
[15:25:30] <jaydubya> I knew that ... I was kidding ... I will use it for my LENDER part 2 -- the TOTAL rewrite of my Lending Application
[15:25:55] *** tkimmel has quit IRC
[15:26:20] *** bkuberek has joined #angularjs
[15:26:37] *** dsdeiz has quit IRC
[15:27:04] <jaydubya> I already rewrote the backend in Laravel to be PURE REST (no Jon-inspired "workarounds"
[15:27:12] <jaydubya> )
[15:27:31] *** crakrjak_respawn has joined #angularjs
[15:28:16] <Foxandxss> that is nice
[15:28:43] *** cesarkawakami has joined #angularjs
[15:29:22] *** tech2 has joined #angularjs
[15:29:47] *** dc_ has quit IRC
[15:30:09] *** TyrfingMjolnir has joined #angularjs
[15:30:28] *** crakrjak_respawn has quit IRC
[15:30:39] *** nesquerra has quit IRC
[15:31:06] *** corehook has joined #angularjs
[15:31:06] *** bkuberek has quit IRC
[15:33:03] *** benschaaf has quit IRC
[15:33:07] *** MalteJ has quit IRC
[15:35:31] *** benschaaf has joined #angularjs
[15:35:42] *** corehook has quit IRC
[15:35:50] *** AciD`` has joined #angularjs
[15:36:33] *** MalteJ has joined #angularjs
[15:36:47] <Evanion> Foxandxss, Been looking over your BP, and I’m seriously thinging of just scrapping my own in favor of yours ..
[15:36:54] *** lemur has quit IRC
[15:37:04] *** nesquerra has joined #angularjs
[15:37:15] <Evanion> JUst a quick question .. wy u no use phantom.js?
[15:37:25] <Foxandxss> fort esting?
[15:37:28] *** lemur has joined #angularjs
[15:37:29] <Evanion> mm
[15:37:44] <Foxandxss> phantom pass more stuff than chrome
[15:37:49] <Foxandxss> you can get fake OKs
[15:38:04] <Evanion> ow .. what do you recommend as a headless then?
[15:38:14] <Foxandxss> phantom tho
[15:38:22] <Foxandxss> still always test on chrome before prod
[15:38:35] <Evanion> I use Strider-CD for deployment, and it runs all tests on deploy
[15:38:56] <Evanion> thats why I use phantom :)
[15:39:08] *** crakrjak_respawn has joined #angularjs
[15:39:54] *** Johnny13371337 has quit IRC
[15:40:18] *** bbankes has quit IRC
[15:40:28] *** ixolit has joined #angularjs
[15:40:36] *** FunnyLookinHat has joined #angularjs
[15:40:41] <ixolit> Hey guys
[15:40:51] *** SahanH has quit IRC
[15:40:53] <ixolit> Is it worth using TypeScript in Angular.js project?
[15:41:32] *** nesquerra has quit IRC
[15:41:48] *** desp has joined #angularjs
[15:41:51] *** yelvert has joined #angularjs
[15:42:45] <Foxandxss> also I can debug easy with chrome I can see the dev tols there
[15:44:03] <Evanion> ok, time to get back to sass it seems …
[15:44:20] <Evanion> … bye, bye less
[15:44:21] *** qdk has joined #angularjs
[15:44:41] <Foxandxss> sass seems to be more usd than less
[15:44:56] <Evanion> angular-material uses sass as well...
[15:45:21] *** eusunt has joined #angularjs
[15:45:26] <Evanion> if only i didn’t have this damn issue with compass on my computer … can’t get it to install correctly (brew).
[15:45:30] <intellix> are you using RubySASS?
[15:45:32] *** scythe__ has joined #angularjs
[15:45:35] <Foxandxss> I am not using compass on my BP Evanion
[15:45:43] <BahamutWC> there's a node version of sass now (yay)
[15:45:44] <Evanion> I did before
[15:45:44] <intellix> if you are, use libsass, it's about 10 billion times faster to compile
[15:45:52] *** BillCriswell has joined #angularjs
[15:46:07] *** mennea has quit IRC
[15:46:13] <intellix> for my projects, rubysass took about 4 seconds. libsass is about 100ms
[15:46:17] *** yelvert has quit IRC
[15:46:24] *** dc_ has joined #angularjs
[15:46:26] <BahamutWC> node-sass uses libsass
[15:46:29] <Evanion> THe reason I liked Sass was due to compass .. they have a bunch of great mixins
[15:46:39] <intellix> you can't use compass with libsass, but it's no big deal
[15:46:44] *** mennea has joined #angularjs
[15:46:45] <intellix> you can swap it out for bourbon
[15:46:54] <intellix> and use something like css-sprite for your sprites
[15:47:07] *** Oddman has joined #angularjs
[15:47:11] <Evanion> never use sprites .. I make that manually
[15:47:28] <intellix> I'm never making sprites manually ever again :P
[15:47:34] <intellix> haven't done for about 3 years
[15:47:36] <Evanion> I prefer to have controll
[15:47:46] *** ehalas2 has quit IRC
[15:48:00] <Foxandxss> I dont mind changing if there is a good reason
[15:48:02] <Evanion> well .. I think I have made about 2-3 sprites in the last 4 years
[15:48:10] *** ehalas2 has joined #angularjs
[15:48:16] <intellix> how much control do you want? why don't you just write in binary? :P
[15:48:25] <Evanion> I generally stick with CSS based graphics
[15:48:59] *** monir has joined #angularjs
[15:49:31] *** MaxV has joined #angularjs
[15:49:46] <Evanion> ever since you had to start work with retina based screens I dropped all things rasterized graphics
[15:49:59] <intellix> have you seen grunt-webfont?
[15:50:04] <intellix> can create fonts from a folder of SVGs
[15:50:33] *** patrick99e99 has joined #angularjs
[15:50:44] <Evanion> mm gulp have the same
[15:50:53] *** tech2 has quit IRC
[15:51:25] *** subr0utine has joined #angularjs
[15:51:40] *** ngbot has joined #angularjs
[15:51:40] <ngbot> [angular.js] pkozlowski-opensource pushed 2 new commits to master: http://git.io/Cu5QLg
[15:51:40] <ngbot> angular.js/master 06016bb Henry Zhu: style(*): add rules requireSpace(After|Before)BinaryOperators
[15:51:40] <ngbot> angular.js/master e21b6ff Henry Zhu: style(*): add rule requireSpacesInConditionalExpression...
[15:51:41] *** ngbot has left #angularjs
[15:51:49] <Evanion> The reason I left Sass for less, was because Joomla went with less… and then yootheme went with less … So i had to surender
[15:52:51] *** numenor_ has joined #angularjs
[15:52:52] <Evanion> It’s not that fun working with Joomla … but it pays the bills
[15:52:52] *** startupality has quit IRC
[15:52:57] <Evanion> … kind of...
[15:53:02] *** numenor has quit IRC
[15:53:06] <Foxandxss> so you joomla for a living? :P
[15:53:12] <Evanion> yea
[15:53:25] <Foxandxss> thought that joomla was rather dead
[15:53:35] <Evanion> na…
[15:53:54] <jaydubya> Foxandxss: So, to add bootstrap 3, I would bower and then add it to manifest.js in exports.css and then bower ui-bootstrap and add that to manifest.js in exports.javascript?
[15:54:01] <Evanion> But I don’t actually use joomla more then for boostrapping and stuff .. the content is built in a CCK called ZOO
[15:54:12] *** ProLoser has joined #angularjs
[15:54:21] <Foxandxss> jaydubya: yes
[15:54:47] *** toad-br has joined #angularjs
[15:54:52] *** IvailoStoianov has quit IRC
[15:55:05] <jaydubya> pretty cool but VERY ALIEN to my old-fashioned way of find it, download it and add it to index
[15:55:15] *** patrick99e99 has quit IRC
[15:55:25] <Foxandxss> yeah, people wants bower
[15:55:49] *** pdillinger has joined #angularjs
[15:55:54] *** shpoont has quit IRC
[15:56:02] <jaydubya> I can see why ... I didn't say I didn't like it, just that it is very new to me
[15:56:19] <ctanga> dependency managers are a good thing
[15:56:38] <Evanion> helps you keep your vendorfiles upp to date as well...
[15:56:47] <jaydubya> Foxandxss: do I do them one at a time? you remember I have a huge list
[15:57:11] *** dsdeiz has joined #angularjs
[15:57:15] <Foxandxss> jaydubya: just the vendors
[15:57:16] <Foxandxss> veeendors
[15:57:20] <Foxandxss> not your app files
[15:57:36] *** annlewis has joined #angularjs
[15:57:40] *** dylanjohnson has joined #angularjs
[15:57:56] <jaydubya> yes, my veeendors list is long
[15:58:23] *** ProLoser has quit IRC
[15:58:44] *** shpoont has joined #angularjs
[15:59:15] *** spaceonline has joined #angularjs
[15:59:18] *** gnrlbzik has joined #angularjs
[15:59:35] *** wmbutler has joined #angularjs
[15:59:35] *** ccohn has joined #angularjs
[15:59:49] *** jasonrichardsmit has joined #angularjs
[16:00:47] *** apertoire has quit IRC
[16:00:49] <Foxandxss> well, you just need to specify it once
[16:00:51] *** iribarne has quit IRC
[16:00:51] *** onats has quit IRC
[16:02:06] *** onder` has quit IRC
[16:02:17] *** annlewis has quit IRC
[16:02:42] <toad-br> hello guys, I build a directive to wrap bootstrap-select, that directive calls the jQuery plugin initialization method at "compile" function and "postLink" handle the ngModel... my issue is when use "ngIf", it dublicate the DOM when "compile"
[16:02:49] <toad-br> see in: http://codepen.io/joaoneto/pen/azoEdG
[16:03:07] <toad-br> someone can help plz?
[16:03:56] *** bkuberek has joined #angularjs
[16:03:56] *** spaceonline has quit IRC
[16:04:07] *** ccohn has quit IRC
[16:04:58] *** Oddman has quit IRC
[16:05:10] *** rburns has joined #angularjs
[16:05:30] *** subr0utine has quit IRC
[16:05:42] *** deanclkclk has joined #angularjs
[16:05:45] *** joelwallis has joined #angularjs
[16:06:43] <Foxandxss> toad-br: any good reason to use compile?
[16:06:50] *** tfennelly has quit IRC
[16:07:02] *** whitebook has joined #angularjs
[16:07:19] *** haseeb has quit IRC
[16:07:36] *** Xethron has quit IRC
[16:07:44] *** ehalas2 has quit IRC
[16:08:51] *** Xethron has joined #angularjs
[16:08:51] *** Xethron has joined #angularjs
[16:09:13] <toad-br> Foxandxss, not, can be in prelink, but in tests, I not remember what happens... works only in compile
[16:09:38] <toad-br> sorry for my inglish :D
[16:09:58] <toad-br> english*
[16:10:01] *** Zeioth has joined #angularjs
[16:10:18] *** subr0utine has joined #angularjs
[16:10:24] <Foxandxss> normally there is no need of using compile at all
[16:10:48] <toad-br> I'll try in "link" function
[16:10:52] *** scottc5 has quit IRC
[16:11:26] *** BillCriswell has quit IRC
[16:11:33] *** desp has quit IRC
[16:11:33] <toad-br> I use the priority: 10, to waint the "ngOptions"
[16:11:38] <toad-br> works fine
[16:11:49] <toad-br> only ngIf crashes
[16:11:52] *** dsdeiz has quit IRC
[16:12:04] *** josh-k_ has quit IRC
[16:12:15] *** MaxV has quit IRC
[16:12:30] <Foxandxss> it is a weird issue, the dupplication
[16:12:37] *** Oddman has joined #angularjs
[16:12:49] *** motionman has quit IRC
[16:12:53] <jaydubya> Is the SCSS the one that is valid css? or is that SASS?
[16:13:21] <Foxandxss> that is for sass
[16:13:33] <amergin> is there a way to suppress the angularjs error urls from grunt output?
[16:14:07] <jaydubya> Foxandxss: So I will have to rewrite all of my css to use this?
[16:14:16] <amergin> the error urls are like 2k+ characters long and they bloat the error completely
[16:14:18] <Foxandxss> nah
[16:14:25] <Foxandxss> you can copy it inside that file
[16:14:33] <Foxandxss> scss is compatible with plain css
[16:14:45] <jasonrichardsmit> I have a simple template question
[16:14:51] <jasonrichardsmit> http://pastebin.com/aYhihqs6
[16:14:58] *** Pitel has joined #angularjs
[16:14:58] <jaydubya> OK, by your answer above, I thought that was the .sass file
[16:15:00] <toad-br> Foxandxss, yeap... :(
[16:15:13] <jasonrichardsmit> basically the template loads the values outside dom attributes but not in them
[16:15:16] <jasonrichardsmit> http://pastebin.com/aYhihqs6
[16:15:30] *** ehalas has joined #angularjs
[16:15:56] *** BillCriswell has joined #angularjs
[16:16:02] *** MaxV has joined #angularjs
[16:16:09] *** mennea has quit IRC
[16:16:24] *** cesarkawakami has quit IRC
[16:16:44] *** mennea has joined #angularjs
[16:16:53] *** DuelShark has joined #angularjs
[16:17:34] *** bkuberek has quit IRC
[16:18:09] *** MaxV has quit IRC
[16:18:32] *** ngbot has joined #angularjs
[16:18:32] <ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/2qr-8w
[16:18:32] <ngbot> angular.js/master 77d8ae1 Rouven Weßling: refactor($location) Remove unused variables...
[16:18:32] *** ngbot has left #angularjs
[16:18:42] *** cesarkawakami has joined #angularjs
[16:18:52] <Pitel> http://plnkr.co/edit/w5ahnuI08I0xigyrzImY?p=preview why this doesn;t work as expected, co when clicking on link, channel shoud change to meaningful value, instead of {{::id}}?
[16:19:44] <Foxandxss> that is not valid angular Pitel
[16:20:00] <Pitel> why?
[16:20:02] <Foxandxss> and never do $parent on code
[16:20:03] *** benschaaf has quit IRC
[16:20:11] <Foxandxss> that is normally wrong
[16:20:16] <Foxandxss> you're assigning a string to channel
[16:20:18] <Pitel> So, what's the proper way to do this?
[16:20:29] <Foxandxss> '{{::id}}' that is a string
[16:22:02] <Pitel> also, in chrome dev tools dom, it seems ok: <a href="" ng-click="$parent.channel='ct5'" class="ng-binding">ČT :D</a>
[16:22:19] *** firelinks has joined #angularjs
[16:22:29] *** _ritchie_ has joined #angularjs
[16:23:16] *** firelinks has quit IRC
[16:24:08] *** onats has joined #angularjs
[16:24:37] <Foxandxss> let me see if I missed something
[16:26:22] <Foxandxss> Pitel: you can do (which is preferred) ng-click="method(id)"
[16:26:39] <Foxandxss> there you can update what you need and run the getSchedule
[16:26:47] <Foxandxss> or the watch
[16:27:53] *** ehalas has quit IRC
[16:28:14] *** dannyc has joined #angularjs
[16:29:02] *** jillesme has quit IRC
[16:29:47] *** Reskp has quit IRC
[16:30:21] <Pitel> Foxandxss: thanks! :)
[16:30:25] *** ehalas has joined #angularjs
[16:31:53] *** onats has quit IRC
[16:32:23] *** dannyc has quit IRC
[16:32:59] *** jillesme_ has joined #angularjs
[16:33:52] *** danflies has quit IRC
[16:35:03] *** Oddman has quit IRC
[16:35:34] *** jillesme_ has quit IRC
[16:35:43] *** jillesme has joined #angularjs
[16:36:36] *** rtpg has quit IRC
[16:37:04] *** pdillinger has quit IRC
[16:37:10] *** bkuberek has joined #angularjs
[16:37:18] *** tfennelly has joined #angularjs
[16:37:54] *** Reskp has joined #angularjs
[16:38:30] *** jillesme has quit IRC
[16:39:03] *** Sky[x] has joined #angularjs
[16:40:09] *** jillesme has joined #angularjs
[16:41:39] *** Shilon has quit IRC
[16:42:14] *** bkuberek has quit IRC
[16:43:36] *** tfennelly has quit IRC
[16:44:45] *** Asiajey has quit IRC
[16:46:11] *** mennea has quit IRC
[16:46:33] *** whitebook has quit IRC
[16:46:47] *** mennea has joined #angularjs
[16:50:30] *** blomman has joined #angularjs
[16:50:32] *** jillesme has quit IRC
[16:50:41] *** zwacky has quit IRC
[16:50:58] *** laurensclaessen has joined #angularjs
[16:52:42] *** IvailoStoianov has joined #angularjs
[16:53:08] *** jamto11 has joined #angularjs
[16:53:34] *** joelwallis has quit IRC
[16:54:07] *** opiates has joined #angularjs
[16:54:08] *** josdeha_rt has quit IRC
[16:54:36] *** joelwallis has joined #angularjs
[16:55:06] *** neo2k_ is now known as neo2k
[16:55:50] *** paul_uk has joined #angularjs
[16:56:06] *** hikumealan_ has quit IRC
[16:56:32] *** tayy has quit IRC
[16:57:35] *** annlewis has joined #angularjs
[16:58:28] *** discgo has joined #angularjs
[16:58:58] *** blomman has quit IRC
[16:59:08] *** Reskp has quit IRC
[16:59:44] *** MaxV has joined #angularjs
[16:59:47] *** kuadrosx has joined #angularjs
[17:00:20] *** ccohn has joined #angularjs
[17:00:20] *** mary5030 has joined #angularjs
[17:00:34] *** cakirke has quit IRC
[17:01:01] *** krawek has joined #angularjs
[17:01:59] *** annlewis has quit IRC
[17:02:24] *** laurensclaessen has quit IRC
[17:02:42] *** laurensclaessen has joined #angularjs
[17:03:12] *** zwacky has joined #angularjs
[17:04:06] *** Sky[x] has quit IRC
[17:04:20] *** oniijin has joined #angularjs
[17:04:47] *** ccohn has quit IRC
[17:05:52] *** Jon31 has quit IRC
[17:06:01] *** Jon31 has joined #angularjs
[17:06:02] *** Jon31 has joined #angularjs
[17:06:24] *** cacts has joined #angularjs
[17:07:56] *** jillesme has joined #angularjs
[17:08:28] *** crakrjak_respawn has quit IRC
[17:08:59] *** tech2 has joined #angularjs
[17:10:11] *** tkimmel has joined #angularjs
[17:10:42] <jaydubya> Foxandxss: I added all of my vendors and css files and ran "gulp" and this is the Terminal -- https://gist.github.com/anonymous/f789644c794a8c7b47eb. I guess I can even screw up the simplest of tasks
[17:10:59] <Foxandxss> did you run "npm install" ?
[17:11:11] <jaydubya> no
[17:11:11] *** thirdknife has quit IRC
[17:11:17] <Foxandxss> you have to
[17:11:23] *** annlewis has joined #angularjs
[17:11:25] <Foxandxss> that will install bower stuff for you
[17:11:41] *** EMPZ has joined #angularjs
[17:11:49] *** Reskp has joined #angularjs
[17:12:03] <oniijin> woudlnt he need bower install for that
[17:12:18] <Foxandxss> npm install triggers a bower install
[17:12:21] <Foxandxss> so when you clone the repo
[17:12:27] <Foxandxss> you just need 1 command to put it working
[17:12:32] *** jillesme has quit IRC
[17:12:32] *** jillesme_ has joined #angularjs
[17:12:39] <oniijin> weird. i usually have to do them sep
[17:12:53] <Foxandxss> it is a nice trick I see in other workflows
[17:13:36] *** desp has joined #angularjs
[17:13:40] <jaydubya> so, I guess that is "standard"? I usually download the zip from Github
[17:13:49] *** benschaaf has joined #angularjs
[17:13:58] * jaydubya realizes he is OLD
[17:14:24] <jaydubya> i DID read the readme!
[17:14:32] <oniijin> downloading zip gives u extra step
[17:14:39] *** annlewis has quit IRC
[17:14:43] <oniijin> plus if u clone, when repo updates u can just do git pull
[17:15:05] * jaydubya is learning
[17:15:21] *** tkimmel has quit IRC
[17:15:52] *** krawek has quit IRC
[17:16:13] *** mennea has quit IRC
[17:16:36] *** bkuberek has joined #angularjs
[17:16:47] *** numenor_ has quit IRC
[17:16:51] *** jillesme_ has quit IRC
[17:16:52] *** mennea has joined #angularjs
[17:17:11] *** Johnny13371337 has joined #angularjs
[17:17:39] <jaydubya> I do get 1 error in console ... GET http://localhost:5000/css/bootstrap.css.map 404 (Not found)
[17:18:03] <jaydubya> Do i need to add .map file to manifest?
[17:18:13] <bealtine> why pull bs.css from local?
[17:18:24] <bealtine> why not from a cdn?
[17:18:25] *** crakrjak_respawn has joined #angularjs
[17:18:51] <jaydubya> I never use cdn in development because I might not be connected when working
[17:19:51] <oniijin> hmm does css.map exist
[17:20:37] *** krawek has joined #angularjs
[17:20:40] <jaydubya> it is in /vendor/bootstrap-css-only/css/
[17:21:07] <bealtine> so make a path to that
[17:21:21] *** wmbutler has quit IRC
[17:21:29] *** mennea has quit IRC
[17:22:50] *** marshall has joined #angularjs
[17:23:05] *** hiptobecubic has joined #angularjs
[17:23:25] <jaydubya> run npm-install again after that change?
[17:24:04] *** joshontheweb has joined #angularjs
[17:24:04] *** IvailoStoianov has quit IRC
[17:24:16] *** joelwallis has quit IRC
[17:24:59] *** AtomicCookie has joined #angularjs
[17:26:07] *** FunnyLookinHat has quit IRC
[17:27:09] *** damain has joined #angularjs
[17:27:24] *** bmac has joined #angularjs
[17:27:26] *** mennea has joined #angularjs
[17:27:26] *** arabot has joined #angularjs
[17:27:29] *** icelye has joined #angularjs
[17:27:29] *** arabot has quit IRC
[17:27:40] *** subr0utine has quit IRC
[17:28:42] <icelye> Are there any fans of the new gn - 2.0
[17:29:08] <icelye> because i think i like the 1.3 better
[17:29:28] <icelye> this there like anyonw who feels the same way about it??
[17:29:47] *** gaganjyot has joined #angularjs
[17:30:01] *** joelwallis has joined #angularjs
[17:30:03] *** jillesme has joined #angularjs
[17:31:19] *** krastavac has joined #angularjs
[17:31:22] <damain> hey guys, I have a ng-repeat (item in items) and i am passing in one item to a function how do I update that item in the repeater
[17:31:37] <icelye> because my group is creating a new app and we are really worried about this huge change
[17:31:39] <krastavac> anyone has idea? http://stackoverflow.com/questions/26829752/wont-assign-to-scope-var-angularjs
[17:31:47] *** mary5030 has quit IRC
[17:31:50] *** nfroidure has joined #angularjs
[17:32:08] <icelye> the whole ng syntax has been changed in 2.0
[17:32:53] <Foxandxss> you can use 2.0 for the next project
[17:32:56] <Foxandxss> nothing wrong about that
[17:33:01] <kuadrosx> icelye: 2.0 discussion is pointless rigth now
[17:33:20] <icelye> it really wired and there seam to be no CDN for it yert
[17:34:28] <icelye> But i just wanted know how others feel about it so we can move on with the 1.3
[17:34:36] *** jillesme has quit IRC
[17:34:46] <icelye> i really am a big fan of $scope
[17:35:21] <damain> I thought if in the function I wrote item.name = "fred" in the function it would automatically update in the repeater but it doesnt
[17:36:06] *** corehook has joined #angularjs
[17:36:58] *** rtpg has joined #angularjs
[17:37:18] *** deranged_user has quit IRC
[17:37:45] <jaydubya> Foxandxss: I removed bootstrap from manifest.xml and linked to the cdn in index.html but the console error looking for bootstrap.css.map remains.
[17:37:51] *** deranged_user has joined #angularjs
[17:37:58] *** krastavac has left #angularjs
[17:38:06] <Foxandxss> jaydubya: all yes, that error won't go away for now
[17:38:07] <sacho> damain, do you have a plunker
[17:38:11] <Foxandxss> s/all/ah
[17:38:23] <Foxandxss> I need to do something with CSS sourcemaps
[17:38:25] <sacho> jaydubya, youd need to edit the file itself
[17:38:39] <sacho> there's a comment on the bottom?
[17:38:41] *** corehook has quit IRC
[17:38:41] <Foxandxss> the issue is that bootstrap is expecting a map file and that doesn't make sense for now
[17:38:57] <sacho> alternatively, install the source map
[17:38:59] *** corehook has joined #angularjs
[17:39:24] *** mrwn has joined #angularjs
[17:39:28] <damain> sacho: making one right now
[17:39:58] <jaydubya> sacho, I tried but the scss console popped up with an invalid scss error
[17:41:58] *** icelye has quit IRC
[17:42:02] *** wiherek has left #angularjs
[17:42:33] <Foxandxss> jaydubya: for now I Recommend you deleting the sourcemap reference, I will research a good way to do that in the workflow and I will tell you
[17:43:17] *** ProLoser has joined #angularjs
[17:43:41] *** crakrjak_respawn has quit IRC
[17:43:47] *** jasonrichardsmit has quit IRC
[17:43:54] <jaydubya> ok, no sourcemap reference and I am using the local version of bootstrap and living with a single console error ... LOL ... onward and upward
[17:45:17] *** grantfunke_ has joined #angularjs
[17:45:45] <damain> sacho: it works as it should in the plunk but not in my ionic app guess I will have to poke around some more in the app and come back if i need some help
[17:45:56] <Foxandxss> if you remove the sourcemap comment on bootstrap.css there will be no error
[17:46:21] *** adpirz has quit IRC
[17:46:34] <Foxandxss> I will create my own sourcemap for css, I just need time to do more stuff I have with more priority :P
[17:46:47] *** grantfunke_ has quit IRC
[17:46:53] *** bmac has quit IRC
[17:46:58] *** themime has joined #angularjs
[17:47:52] *** nagappan_ has quit IRC
[17:48:07] *** spaceonline has joined #angularjs
[17:48:17] *** ProLoser has quit IRC
[17:48:24] *** nagappan_ has joined #angularjs
[17:48:24] *** dc_ has quit IRC
[17:48:53] *** MattWelch has quit IRC
[17:49:29] *** brandon__ has joined #angularjs
[17:49:58] <brandon__> hello all, anyone having issues with ng-animate on state.go ?
[17:50:53] *** zwacky has quit IRC
[17:51:04] <jaydubya> Foxandxss: I keep trying to convince people that 24 hours a day is JUST NOT ENOUGH but no one will listen
[17:51:05] <sacho> damain, stupid plunker with its work-all-the-time :)
[17:51:24] *** AtomicCookie has quit IRC
[17:51:39] *** patrick99e99 has joined #angularjs
[17:51:54] <damain> sacho: lol
[17:52:44] *** spaceonline has quit IRC
[17:53:04] *** MattWelch has joined #angularjs
[17:53:09] *** vectra has joined #angularjs
[17:53:53] *** scottc5 has joined #angularjs
[17:56:18] *** patrick99e99 has quit IRC
[17:58:31] *** anivemin has joined #angularjs
[17:59:02] <themime> brandon__: make a plunker
[17:59:17] *** TommyO_ has joined #angularjs
[18:01:06] *** qdk has quit IRC
[18:01:07] *** ccohn has joined #angularjs
[18:01:24] *** Johnny13371337 has quit IRC
[18:01:30] *** esk4nd4r has joined #angularjs
[18:02:12] *** joelwallis has quit IRC
[18:02:31] *** TommyO has quit IRC
[18:02:51] *** desp has quit IRC
[18:03:02] *** dllama has joined #angularjs
[18:03:16] *** zwacky has joined #angularjs
[18:03:51] *** dnewkerk has joined #angularjs
[18:05:26] <toad-br> Foxandxss, only in preLink with "compile" function works :)
[18:05:27] <toad-br> http://plnkr.co/edit/afqT56EYk8Q9PHJNfUYE?p=preview
[18:05:48] *** ccohn has quit IRC
[18:06:26] <toad-br> sorry, not work yet haha
[18:07:05] *** wd40s has quit IRC
[18:08:05] *** danecando has quit IRC
[18:08:30] <toad-br> guys, can you plz help me?
[18:09:09] *** iribarne has joined #angularjs
[18:09:36] *** Shrooms has joined #angularjs
[18:09:53] *** yts has quit IRC
[18:10:04] *** JohnBat26 has joined #angularjs
[18:10:49] *** TommyO_ is now known as TommyO
[18:10:51] *** danecando has joined #angularjs
[18:10:54] *** TommyO has quit IRC
[18:10:57] *** nycdevgirl has joined #angularjs
[18:11:11] *** TommyO has joined #angularjs
[18:11:28] *** pushpak has joined #angularjs
[18:11:41] *** wd40s has joined #angularjs
[18:11:42] *** opiates has quit IRC
[18:12:36] *** joelwallis has joined #angularjs
[18:12:40] *** laurensclaessen has quit IRC
[18:12:51] *** qdk has joined #angularjs
[18:14:14] <Foxandxss> it is sunday, you can't ask too much
[18:14:57] *** nycdevgirl has quit IRC
[18:15:07] *** dllama has quit IRC
[18:15:35] *** soee has joined #angularjs
[18:15:36] *** anivemin has quit IRC
[18:15:48] *** grantfunke_ has joined #angularjs
[18:17:04] *** dannyc has joined #angularjs
[18:18:24] *** gnrlbzik has quit IRC
[18:18:28] *** technickul has joined #angularjs
[18:19:41] *** ctanga has quit IRC
[18:19:55] *** nycdevgirl has joined #angularjs
[18:20:43] *** oktapodi has joined #angularjs
[18:20:53] *** jae has joined #angularjs
[18:21:02] *** esk4nd4r has quit IRC
[18:22:00] *** dannyc has quit IRC
[18:22:12] *** firelinks has joined #angularjs
[18:22:26] *** jstroem has joined #angularjs
[18:23:46] *** jillesme has joined #angularjs
[18:25:24] *** oktapodi has quit IRC
[18:25:33] *** jae has quit IRC
[18:27:00] *** mennea has quit IRC
[18:27:38] *** mennea has joined #angularjs
[18:27:57] *** crakrjak_respawn has joined #angularjs
[18:28:09] *** jillesme has quit IRC
[18:30:58] *** jamto11 has quit IRC
[18:31:28] *** laurensclaessen has joined #angularjs
[18:31:37] *** whunt has joined #angularjs
[18:33:03] *** kalehv has joined #angularjs
[18:33:21] *** DANtheBEASTman has quit IRC
[18:33:41] *** esk4nd4r has joined #angularjs
[18:34:24] *** iksik has quit IRC
[18:34:24] *** iksik has joined #angularjs
[18:34:36] *** lexek_ has quit IRC
[18:34:36] *** DANtheBEASTman has joined #angularjs
[18:35:39] *** whunt has quit IRC
[18:36:00] <toad-br> someone can help debugg this? http://plnkr.co/edit/afqT56EYk8Q9PHJNfUYE
[18:36:38] *** whunt has joined #angularjs
[18:36:55] *** ClarusCogitatio has joined #angularjs
[18:37:07] *** dc_ has joined #angularjs
[18:38:52] *** tfennelly has joined #angularjs
[18:38:53] *** nycdevgirl has quit IRC
[18:39:09] *** bkuberek has quit IRC
[18:39:09] *** bwross_ has quit IRC
[18:39:25] *** DANtheBEASTman has quit IRC
[18:40:25] <themime> wow
[18:40:31] <themime> $watch $eval $on
[18:40:49] <themime> i don't know what youre trying to do but i think you are WAY overcomplicating it
[18:41:17] *** jonr22 has joined #angularjs
[18:41:45] *** laurensc_ has joined #angularjs
[18:41:51] *** DANtheBEASTman has joined #angularjs
[18:41:52] *** mrwn has quit IRC
[18:42:02] *** ClarusCogitatio has quit IRC
[18:42:03] *** laurensclaessen has quit IRC
[18:42:15] *** jstroem has quit IRC
[18:42:36] *** joshontheweb has quit IRC
[18:43:15] *** tfennelly has quit IRC
[18:43:37] *** zwacky has quit IRC
[18:44:31] *** rburns has quit IRC
[18:44:54] *** yelvert has joined #angularjs
[18:45:01] *** richiebkr has joined #angularjs
[18:45:19] *** moritzs has quit IRC
[18:46:34] *** naneau has joined #angularjs
[18:46:46] *** basiclaser_ has joined #angularjs
[18:46:49] *** naneau has quit IRC
[18:46:53] *** CaShY has quit IRC
[18:47:29] *** CaShY has joined #angularjs
[18:47:36] *** imanc has joined #angularjs
[18:47:43] <imanc> I have a sidebar that has buttons delete/publish etc. that need to raise actions on a controller in the main content area. If I set up two controllers, e.g. SidebarCtrl and FormCtrl, how can I get SidebarCtrl to trigger actions on the FormCtrl's scope?
[18:48:27] *** asdofindia has quit IRC
[18:49:24] *** yelvert has quit IRC
[18:49:49] *** grantfunke_ has quit IRC
[18:49:53] *** richiebkr has quit IRC
[18:50:02] *** nycdevgirl has joined #angularjs
[18:50:41] *** LossFor has joined #angularjs
[18:51:24] *** mrkake has quit IRC
[18:52:45] *** caitp has joined #angularjs
[18:52:53] <themime> imanc: in this order you should attempt: only services with two way binding, if that doesn't fit, $watch, and if that doesn't fit, $on/broadcast, but 90% of the the time you can do the first one, and 99% of the time you can avoid $on/broadcasting
[18:53:19] <themime> oooh wait, $observe then $watch
[18:53:48] <themime> depending on what happens in the controller and what exactly you are detecting
[18:54:53] *** nycdevgirl has quit IRC
[18:55:14] *** ClarusCogitatio has joined #angularjs
[18:55:21] <imanc> themime: these elements were originally sat in the same controller, so have ng-click="publish()" etc. Now they are elsewhere on the page. $emit/$on seems like the answer, but I've read that it should be used sparingly.
[18:55:45] <imanc> themime: it's a set of buttons - publish, delete, save, etc.
[18:55:57] <imanc> each just have an ng-click action, as per teh above example
[18:56:11] <themime> imanc: those are just user methods of interacting with the data, the view just models data - you need to be thinking in terms of data
[18:57:02] *** mennea has quit IRC
[18:57:14] <themime> thats how people overuse broadcasting and $watch, etc. they forget to focus on the DATA and let the view model that. so those buttons affect data - that data should be in a service that is also tied to the other controllers
[18:57:19] *** bkuberek has joined #angularjs
[18:57:25] *** jamto11 has joined #angularjs
[18:57:30] <themime> if you change it in the service, because of angulars references and two way binding itll all be linked
[18:57:40] *** mennea has joined #angularjs
[18:57:47] *** Siraris has joined #angularjs
[18:57:59] <imanc> themime: gotcha, I think. So put the data into the service, then both controllers can act on it
[18:58:03] <themime> thats how you can avoid $watch,observe, broadcasting, etc
[18:58:07] *** grantfunke_ has joined #angularjs
[18:58:09] <themime> yep exactly
[18:58:33] <imanc> themime: presumably then these controller behaviours can also be migrated to the service.. and called by the sidebar controller
[18:58:43] *** yts has joined #angularjs
[18:58:48] <Siraris> I’m having a transient error that ONLY occurs in IE8 in my angular app. The problem is, the only time the error occurs is when the script window is not open and in debugging mode. Any time I start debugging to see what the issue is, the error won’t reproduce. Does anyone have any idea what could be happening and any idea how to get the error to pop up so I know where it’s originating
[18:58:49] <Siraris> ?
[18:58:55] <imanc> sounds like a solid solution - thanks themime!
[18:58:57] <themime> imanc: now you're getting it
[18:59:07] *** tkimmel has joined #angularjs
[18:59:08] <themime> imanc: yep :)
[18:59:23] <dylanjohnson> @Siraris: do you have a `console.log` somewhere in your code?
[18:59:34] <Siraris> dylanjohnson: I do
[18:59:39] <dylanjohnson> take it out
[18:59:41] <themime> Siraris: wow someone here described that exact error and ended up hacking it in
[18:59:43] <dylanjohnson> use the $log service
[18:59:49] <themime> ^
[18:59:59] <themime> haha i should be doing that...
[19:00:06] <Siraris> dylanjohnson: You’ve gotta be kidding me
[19:00:08] <themime> man thats something ive been avoiding for no good reason
[19:00:23] *** mrkake has joined #angularjs
[19:00:46] <Siraris> Now that you say that, I remember running into this issue years ago with jquery… and we had to write a separate log function
[19:00:47] <dylanjohnson> @themime: it even does cool stylization of log stuff in real browsers when you use `$log.info`, `$log.warn`, etc
[19:00:56] <themime> oh badass
[19:01:03] <themime> uggg okay ill start doing that from now on
[19:01:04] <Siraris> dylanjohnson: Thanks man
[19:01:08] <dylanjohnson> np
[19:01:08] *** oracal has joined #angularjs
[19:01:19] <themime> Siraris: im going to learn from your mistakes haha
[19:01:28] <Siraris> themime: That’s what I’m here for!
[19:01:40] <themime> lol
[19:01:53] *** ccohn has joined #angularjs
[19:02:07] <mmealling> gah! script load order biting me in the ***
[19:02:16] <themime> it shouldn't!
[19:02:26] *** moritzs has joined #angularjs
[19:02:31] <themime> are you trying to use sketchy global shit?
[19:02:40] *** grantfunke_ has quit IRC
[19:03:22] <mmealling> nope.... I'm getting "Error: [$injector:nomod] Module 'oliveGarden is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument."
[19:03:28] *** tkimmel has quit IRC
[19:03:42] <mmealling> oliveGarden is the app module. It works fine in dev, but fails when I push to the S3 bucket for staging.
[19:03:57] <themime> did you publish all the right files
[19:03:59] <mmealling> which suggests to me that one of its dependencies isn't being found.
[19:04:05] <themime> and update them correctly
[19:04:05] *** Siraris has quit IRC
[19:04:12] <dylanjohnson> @mmealling any minification/uglification/mangling going on in the build process?
[19:04:14] *** laurensc_ has quit IRC
[19:04:17] <mmealling> yes
[19:04:26] <dylanjohnson> concat your files first
[19:04:35] <dylanjohnson> or disable mangling
[19:04:54] <mmealling> I figured that was having some kind of impact.
[19:04:54] *** tomzx`afk is now known as tomzx
[19:04:57] *** tfennelly has joined #angularjs
[19:05:01] *** sctskw has joined #angularjs
[19:05:30] *** sctskw has quit IRC
[19:05:46] <dylanjohnson> if you’re using the “magic” injection, you’ll also need to run it through something like ng-annotate during build too
[19:06:24] *** ccohn has quit IRC
[19:06:27] *** jonr2219 has quit IRC
[19:07:00] <dylanjohnson> “magic” being .module().controller(function ($scope, aService) {}) instead of .module().controller([‘$scope’, ‘aService’, function ($scope, aService) {}]) or $inject()
[19:08:08] *** adpirz has joined #angularjs
[19:08:13] <mmealling> really starting to believe that minification isn't worth the trouble.
[19:08:39] <dylanjohnson> it’s definitely worth the trouble
[19:09:02] <mmealling> gulp has this as the flow around uglify: .pipe(jsFilter).pipe($.ngAnnotate()).pipe($.uglify({preserveComments: $.uglifySaveLicense})).pipe(jsFilter.restore())
[19:09:12] *** Squarepy has joined #angularjs
[19:09:27] *** nycdevgirl has joined #angularjs
[19:09:37] *** johnstorey has joined #angularjs
[19:09:45] <mmealling> wondering if I can just remove uglify in that stream.
[19:09:50] <themime> ive never seen $ in a gulp file before
[19:10:09] <mmealling> yea, we started of with a yoeman build that in retrospect wasn't the best choice.
[19:10:26] <themime> man i hear nothing but meh things about yeoman
[19:10:34] <dylanjohnson> there should be a param that you can add to the config object like `mangle`: false
[19:10:46] <themime> i hacked together my own from two boilerplates using by-feature. now id blow johnpapa
[19:10:52] <dylanjohnson> not sure exactly what it’s called, limited experience with gulp
[19:10:54] *** marcjs has quit IRC
[19:11:40] <dylanjohnson> yeoman generators have shown to be a big time saver for me when working with large teams of devs with varying experience
[19:12:26] *** rhp has joined #angularjs
[19:13:56] *** cotko has joined #angularjs
[19:14:27] *** paul_uk has quit IRC
[19:16:51] *** shampine has joined #angularjs
[19:17:00] *** ixolit has quit IRC
[19:17:39] *** AviMarcus has quit IRC
[19:18:37] *** Joshee has joined #angularjs
[19:19:47] *** dnewkerk has quit IRC
[19:21:32] *** shpoont has quit IRC
[19:21:36] *** anjumkaiser has joined #angularjs
[19:21:47] *** Shilon has joined #angularjs
[19:22:03] *** Shilon has quit IRC
[19:23:29] *** JohnBat26 has quit IRC
[19:23:43] *** oste has joined #angularjs
[19:24:35] <mmealling> trying a short cut by rebuilding with my may app.js before any other angular pices.
[19:24:36] *** jillesme has joined #angularjs
[19:25:06] *** arathunku has joined #angularjs
[19:25:18] *** krawek has quit IRC
[19:27:04] *** mennea has quit IRC
[19:27:43] *** mennea has joined #angularjs
[19:28:01] *** slopjong_ has quit IRC
[19:28:01] *** slopjong has quit IRC
[19:28:08] <dylanjohnson> @mmealling that should help
[19:28:21] *** gnrlbzik has joined #angularjs
[19:28:59] *** jillesme has quit IRC
[19:29:53] *** krawek has joined #angularjs
[19:29:57] <toad-br> wow, angular 1.3 make all magic, works just with postLink :)... http://plnkr.co/edit/afqT56EYk8Q9PHJNfUYE?p=preview
[19:29:58] *** brandon__ has quit IRC
[19:29:59] <toad-br> thx you all, specially Foxandxss
[19:30:02] *** krawek has quit IRC
[19:30:02] *** krawek has joined #angularjs
[19:31:06] <toad-br> ngIf destroy the scope, and I need to modify the $parent
[19:31:30] *** edy has joined #angularjs
[19:31:34] *** hugofirth has joined #angularjs
[19:31:41] *** ome has quit IRC
[19:31:54] *** tech2 has quit IRC
[19:32:01] *** AlexZan has joined #angularjs
[19:32:06] *** ProLoser has joined #angularjs
[19:32:33] <AlexZan> hey guys, I need to get the goe location/coordinates by typing in an address, is there a good google map angular package to do so?
[19:32:40] *** kalehv has quit IRC
[19:33:16] *** bkuberek has quit IRC
[19:33:37] <toad-br> AlexZan, https://angular-ui.github.io/angular-google-maps/#!/
[19:34:22] <AlexZan> toad-br, I was just looking at that, i see that it has 2d map features, to display the map and points and such, but i dont see a address search to coordinates in the features
[19:34:35] *** guiambros has joined #angularjs
[19:35:03] <mmealling> nope... .didn't fix it. Setting mangle to false on uglify.
[19:35:24] <toad-br> AlexZan, cleate a service to use browser geo
[19:35:29] <toad-br> create*
[19:36:23] *** ProLoser has quit IRC
[19:36:24] <toad-br> Alex, https://github.com/arunisrael/angularjs-geolocation
[19:36:26] <amergin> is it possible to use onEnter with abstract state in ui-router?
[19:36:52] *** spaceonline has joined #angularjs
[19:37:42] <toad-br> AlexZan, u need geoencode/geodecode in googlemaps?
[19:37:47] *** robdubya has joined #angularjs
[19:38:13] <amergin> for tab ui purposes, I want to redirect to child state. one option would be to make the default child state url'less, but I'd rather not
[19:38:20] *** LossFor has quit IRC
[19:38:34] <AlexZan> toad-br, well i have a users with geo location in my mongo db, and I need to populate the coordinates somehow
[19:38:41] *** esk4nd4r has quit IRC
[19:40:05] *** Squarepy has quit IRC
[19:40:42] *** cesarkawakami has quit IRC
[19:40:54] <fizbani> How could I control which objects.property is send to the function defined in the filter chain ? :<
[19:41:23] *** spaceonline has quit IRC
[19:41:57] *** marshall has quit IRC
[19:43:08] <toad-br> AlexZan, humm I made a googlemaps directive, I'm finding it
[19:43:30] <AlexZan> toad-br, sweet thanks a bunch :D
[19:44:02] *** larsgk has joined #angularjs
[19:44:48] *** sinequanon has joined #angularjs
[19:45:44] <robdubya> mornin
[19:47:05] *** edrocks_ has joined #angularjs
[19:47:58] *** LossFor has joined #angularjs
[19:48:00] <rhp> evenin
[19:48:38] <themime> afternoon
[19:49:40] <toad-br> AlexZan, I'm made my directive / center point based on this app: https://github.com/driftyco/ionic-starter-maps
[19:49:58] <toad-br> AlexZan, sory for my english :P
[19:50:04] <robdubya> make sure with gmaps you promisize the async loading too
[19:50:35] *** shpoont has joined #angularjs
[19:51:01] *** chromatome has joined #angularjs
[19:51:07] *** BillCriswell has quit IRC
[19:51:47] <chromatome> Helloo
[19:52:34] *** cakirke has joined #angularjs
[19:52:55] <chromatome> Anyone know the best way to do something before a state is loaded using ui-router? I'm trying to check facebook login before the initial page loads so I can either load the loggedIn state or the loggedOut state.
[19:53:39] *** anjumkaiser1 has joined #angularjs
[19:53:40] <themime> chromatome: check out resolve
[19:53:58] *** cads has joined #angularjs
[19:54:22] <chromatome> That's what I was thinking. Should I be making a service to use in there then? AuthService or something?
[19:54:24] <themime> chromatome: sounds like exactly what you want - also there are events, can't remeber their names but they correspond to a state loading, but based on your specific descript id say resolve
[19:54:30] <themime> yes exactly
[19:54:32] *** synlag has quit IRC
[19:54:47] *** yts_ has joined #angularjs
[19:55:08] <themime> wrap the service call in a promise
[19:55:13] <themime> and return that from the resolve
[19:55:23] <chromatome> Ah coolcoolcool. I'll take a look. I was trying to use the stateChange events yesterday, but it kept saying that there was no "on" method for $scope and $rootScope.
[19:55:28] *** anjumkaiser has quit IRC
[19:55:36] *** yts has quit IRC
[19:55:37] *** yts_ is now known as yts
[19:56:21] <themime> that was my alternative suggestion but i haven't actually done anything with those and they seem more global really, and this sounds specific to a page or area. you can use a parent state with the auth i bet to prevent them from accessing sub states
[19:56:34] <arathunku> There is "$on" method at $scope and $rootScope
[19:56:40] <robdubya> resovle + promise >>>>>> events
[19:56:46] <themime> ^
[19:56:48] *** mary5030 has joined #angularjs
[19:57:06] *** mennea has quit IRC
[19:57:46] *** mennea has joined #angularjs
[19:58:04] *** sinequanon has quit IRC
[19:58:26] *** L0j1k has left #angularjs
[19:58:31] *** L0j1k has joined #angularjs
[19:58:50] *** mjs2600 has joined #angularjs
[19:58:57] *** larsgk has quit IRC
[20:00:13] *** sekyms has joined #angularjs
[20:00:38] <chromatome> Ah kk. Thanks! I'll try that out. Using the state change events might work too but I feel like that will be heavier if it has to check the login state with facebook on every state change.
[20:00:50] *** LossFor has quit IRC
[20:00:55] *** klaut has joined #angularjs
[20:01:16] <scythe__> anyone have any good angular resources besides the documentation?
[20:01:24] *** klaut has quit IRC
[20:01:34] <robdubya> https://github.com/jmcunningham/AngularJS-Learning
[20:01:35] <scythe__> I'm getting somewhat lost jumping from tutorial to tutorial. Any book or site in particular which follows a logical process?
[20:01:36] *** al_knows has joined #angularjs
[20:01:38] *** klaut has joined #angularjs
[20:01:41] <robdubya> build a thing
[20:01:41] *** shampine has quit IRC
[20:01:43] *** caitp- has joined #angularjs
[20:01:45] <robdubya> no better way to learn
[20:02:07] <AlexZan> toad-br, thanks ill check it out in a few minutes :D
[20:02:13] <sekyms> does plunkr support routes?
[20:02:16] *** LossFor has joined #angularjs
[20:02:20] <scythe__> ahh yeah robdubya my problem is that it's constantly stopping to look and search how to do something, finding 30 tutorials with crappy spaghetti code which doesn't even work
[20:02:38] *** ccohn has joined #angularjs
[20:02:44] <sekyms> scythe__: for me it's finding old tutorials
[20:02:45] *** jharbaug_ has joined #angularjs
[20:02:53] *** edrocks_ has quit IRC
[20:02:58] <sekyms> scythe__: the code school one is really good, but it doesn't delve very deep
[20:03:16] <krawek> hello, any idea why Restangular.all(‘things’).post({..}) is passed to the server as OPTIONS instead of POST? it doesn’t make sense
[20:03:25] <scythe__> ahh yeah codeschool is a great resource I wish they had more videos
[20:04:02] <sekyms> scythe__: it's a good start
[20:04:05] *** subr0utine has joined #angularjs
[20:04:18] <sekyms> i personally hate the angularjs.com one. the phone one
[20:04:35] *** caitp has quit IRC
[20:04:55] *** DuelShark has quit IRC
[20:04:57] <scythe__> ?
[20:05:09] *** sinequanon has joined #angularjs
[20:05:14] <sekyms> on angularjs.com there is a tutorial that deals with android phones
[20:05:14] *** jharbaugh has quit IRC
[20:05:20] <sekyms> i just cant work through it for some reason
[20:05:21] *** DuelShark has joined #angularjs
[20:05:24] *** larsgk has joined #angularjs
[20:05:38] <scythe__> oh gotcha hmm, have you had success developing angular for mobile?
[20:06:11] <robdubya> krawek its because you're making a CORS request
[20:06:13] <wafflej0ck> krawek: likely CORS issue
[20:06:14] <robdubya> cross origin
[20:06:26] <robdubya> you need to responsd 200 OK to the CORS request, then the POST will fire
[20:06:26] <sekyms> scythe__: haven't got that far
[20:06:31] <krawek> so what? I want post not options
[20:06:39] <robdubya> no shit
[20:06:53] <sekyms> with cors it always sends options first
[20:06:55] <robdubya> OPTIONS -> OK -> then the POST will fire
[20:06:56] <sekyms> its the way it works
[20:07:31] <krawek> ok
[20:07:38] *** ccohn has quit IRC
[20:07:41] <wafflej0ck> krawek: search CORS and understand how it works, a preflight OPTIONS request is made if the server is not configured to respond to the request or doesn't set the headers the cross domain request won't work
[20:07:53] *** LossFor has quit IRC
[20:07:57] <robdubya> so if you control the server, its an easy fix
[20:08:17] <robdubya> http://enable-cors.org/
[20:08:29] <sekyms> I have this link
[20:08:30] <krawek> I control the server and I’m already allowing cors
[20:08:31] <sekyms> a href="#/user/{{issue.user.id}}">{{issue.user.login}}</a>
[20:08:45] <robdubya> you need to explicitly handle the OPTIONS request
[20:08:46] <sekyms> that should trigger .when('/user', {
[20:08:48] <sekyms> correct?
[20:08:48] *** Shai-Tan has quit IRC
[20:08:49] *** Sontakey has joined #angularjs
[20:09:18] <robdubya> which is a different thing than enabling CORS, not all servers do it by default
[20:09:23] *** jpinnix____ has quit IRC
[20:09:26] *** oktapodi has joined #angularjs
[20:09:41] <krawek> yeah
[20:09:56] <wafflej0ck> sekyms: you'd want .when('/user/:userId'
[20:09:59] <krawek> thanks robdubya
[20:10:03] <robdubya> shonuff
[20:10:08] <sekyms> wafflej0ck: aha
[20:10:14] <sekyms> didnt know i needed that
[20:10:19] *** al_knows has quit IRC
[20:10:24] *** johnstorey has quit IRC
[20:10:26] *** tfennelly has quit IRC
[20:10:34] *** jpinnix____ has joined #angularjs
[20:11:08] <sekyms> wafflej0ck: you sire are a gentleman and a scholar
[20:11:16] <wafflej0ck> sekyms: it makes it so you can read $routeParams.userId in the controller by injecting $routeParams... after you're feeling a bit more comfortable with angular would check out ui-router too it's kind of the defacto router for more complex stuff
[20:11:22] *** tfennelly has joined #angularjs
[20:11:29] *** iribarne has quit IRC
[20:11:29] *** yts has quit IRC
[20:11:31] <wafflej0ck> sekyms: heh wouldn't go that far but they gave me a piece of paper eventually :)
[20:11:42] <robdubya> dont call him sire, it'll just inflate his ego
[20:11:45] *** marcjs has joined #angularjs
[20:12:08] <sekyms> $routeParams as a dependency?
[20:12:12] <wafflej0ck> what ego? :D
[20:12:24] <wafflej0ck> sekyms: yeah it can be injected into the controller alongside $scope
[20:12:49] *** yts has joined #angularjs
[20:12:52] <sekyms> what is the advantage of doing that versus using $location to get it?
[20:13:11] *** subr0utine has quit IRC
[20:13:24] <wafflej0ck> sekyms: mostly just having everything clearly defined and a bit easier to access
[20:13:49] <sekyms> so is it bad that I'm nit using $scope
[20:13:56] <sekyms> the code school tutorials never even mention it
[20:13:59] *** oktapodi has quit IRC
[20:14:05] <wafflej0ck> sekyms: no if you're using the controller as syntax that's all good
[20:14:17] *** oracal has quit IRC
[20:14:47] <sekyms> wafflej0ck: are you a contributor to angular?
[20:15:02] <wafflej0ck> sekyms: not aside from the IRC... just a user/developer
[20:15:28] <wafflej0ck> sekyms: but in here a lot and talk with some of the contributors on projects regularly... haven't submitted any pull requests though
[20:15:39] *** tfennelly has quit IRC
[20:16:01] *** josdeha_rt has joined #angularjs
[20:17:10] *** IvailoStoianov has joined #angularjs
[20:17:16] *** joshontheweb has joined #angularjs
[20:17:31] <wafflej0ck> I generally try to help ramp people up or help them get over bumps here and learn stuff along the way but regularly just freelance and do various contract work and whatnot, but been using Angular on pretty much a daily basis for just over a year now I think
[20:18:24] <sekyms> that gives me some hope
[20:19:51] *** marcjs has quit IRC
[20:19:54] <sekyms> wafflej0ck: I keep telling myself I just need to dive into the right situation and use it 8 hours a day for a couple of weeks and I'll be fine
[20:20:13] *** subr0utine has joined #angularjs
[20:20:51] <themime> sekyms: thats what i did, i feel pretty comfortable with it now. i feel like i can answer a lot of questions here fairly easily
[20:21:07] <themime> always learning though
[20:21:18] <wafflej0ck> sekyms: yeah just need to start working on some random projects that will force you to learn, 8 hours a day would be great but I find I have less time than that in most cases (delirious after 2am)
[20:22:01] *** dimetron has joined #angularjs
[20:22:09] *** shpoont has quit IRC
[20:22:34] *** shpoont has joined #angularjs
[20:22:44] *** cads has quit IRC
[20:23:20] <sekyms> either that wafflej0ck or find a place with a mentor
[20:24:07] <wafflej0ck> sekyms: yeah there are sites for getting direct chat time with a mentor, haven't tried, but might be worth it
[20:24:10] *** crakrjak_respawn has quit IRC
[20:25:08] *** rikkipitt has joined #angularjs
[20:25:21] *** jillesme has joined #angularjs
[20:27:09] *** mennea has quit IRC
[20:27:49] *** mennea has joined #angularjs
[20:28:11] *** glosoli has joined #angularjs
[20:28:45] *** discgo has quit IRC
[20:29:18] <sekyms> wafflej0ck: any ideas which?
[20:29:42] *** crakrjak_respawn has joined #angularjs
[20:29:45] <wafflej0ck> sekyms: I read about half way through one angular book around version 1.0.7 and the book was at least half out dated information so I just got the general gist of what the parts were but had no idea about the actual syntax still, didn't do the tutorial on the site but did watch this video till it sank in https://www.youtube.com/watch?v=ZhfUv0spHCY also there is a huge list of resources here https://github.
[20:29:46] <wafflej0ck> com/jmcunningham/AngularJS-Learning
[20:29:56] *** favetelinguis has quit IRC
[20:30:08] *** sqwk has joined #angularjs
[20:30:14] <sekyms> thanks
[20:30:21] <wafflej0ck> sekyms: think it was this one I was thinking of too http://www.airpair.com/
[20:30:30] *** jillesme has quit IRC
[20:30:34] <sekyms> dated stuff is the biggest problem
[20:30:43] <wafflej0ck> yeah it's rough when things are changing a lot
[20:31:00] <wafflej0ck> typically good to rely on the docs for the particular version you're using
[20:31:01] *** mjs2600 has quit IRC
[20:31:09] <wafflej0ck> at least for confirmation of suspicions
[20:31:18] <sekyms> knowing which version to use can be a struggle
[20:32:06] <wafflej0ck> yeah it's a weird spot right now... basically should be going with 1.3 but most of the tutorials/posts are going to be relating to 1.2 there isn't a huge departure though so most of it should still apply the same
[20:32:20] *** cotko has quit IRC
[20:33:23] <wafflej0ck> the use of the "as" keyword is more prevelant I think in 1.3 but overall things like providers (service/factories/values/constants) and directives are still pretty much the same
[20:33:29] <wafflej0ck> maybe some small fixes/changes
[20:33:34] *** Sontakey has quit IRC
[20:33:43] *** Johnny13371337 has joined #angularjs
[20:33:54] *** paul_uk has joined #angularjs
[20:33:56] <sekyms> thanks for all the info
[20:33:59] <wafflej0ck> sure
[20:34:01] <sekyms> ive got to run and do some stuff
[20:34:05] <sekyms> thank you very much
[20:34:12] <sekyms> sincerely
[20:34:22] *** sekyms has quit IRC
[20:34:25] *** sinequanon has quit IRC
[20:35:54] <nycdevgirl> anyone know of a angular library for time decay?
[20:35:59] *** Jameser` has joined #angularjs
[20:36:05] <themime> time decay?
[20:36:06] *** freeman42 has quit IRC
[20:36:27] <nycdevgirl> decrease a value over time
[20:36:40] *** sctskw has joined #angularjs
[20:36:41] <wafflej0ck> you know when time falls apart, hehe
[20:36:43] *** gaganjyot has quit IRC
[20:36:52] <Foxandxss> wafflej0ck: I added bower to my workflow
[20:36:56] *** freeman42 has joined #angularjs
[20:37:05] <themime> Foxandxss: yay!
[20:37:05] *** iribarne has joined #angularjs
[20:37:13] *** shpoont has quit IRC
[20:37:23] *** Jameser has quit IRC
[20:37:25] <themime> nycdevgirl: $interval?
[20:37:32] <wafflej0ck> Foxandxss: ah cool thanks... I'm still in the midst of cleaning things up on a project I need to get out but will definitely try out your gulp workflow after that and see what the migration will be like
[20:37:34] *** shpoont has joined #angularjs
[20:38:07] <Foxandxss> not that I like it, but if people wants to use it, can't say no
[20:38:16] <nycdevgirl> themime: will that work over long periods of time, weeks, months?
[20:38:42] <Foxandxss> no
[20:38:49] <themime> its just setInterval, do some function every X milliseconds
[20:38:51] <Foxandxss> interval is to run something every X
[20:39:09] <Foxandxss> robdubya: yo, soon I will get you spill your secrets behind ionic, cca and gulp
[20:39:10] <Foxandxss> :P
[20:39:15] <wafflej0ck> nycdevgirl: sounds like something you would need to do server side really unless you just want to have some function that computes the value based on the time since some start time or whatever
[20:39:43] <robdubya> Foxandxss haha, okay, i'm in the office working on that today actually
[20:39:56] <themime> yea unless its minutes or hours, maybe even days if youre doing some incremental game, but very unlikely for someone to have a browser up for weeks or months
[20:40:08] <themime> nycdevgirl:
[20:40:16] *** subr0utine has quit IRC
[20:40:34] *** paul_uk has left #angularjs
[20:40:36] *** doug64k has quit IRC
[20:41:21] *** crakrjak_respawn has quit IRC
[20:41:22] *** sctskw has quit IRC
[20:41:27] *** melmoussaoui has joined #angularjs
[20:41:29] *** JBreit has quit IRC
[20:41:31] <nycdevgirl> yea i need something that will decay whether youre on the app or not, it would keep track of this in your account
[20:42:35] <wafflej0ck> nycdevgirl: yeah gotta do it server side then and generally sounds like a job for cron
[20:42:46] <nycdevgirl> YES
[20:42:57] <nycdevgirl> someone told me that name but i had forgotten it, thank you!!!
[20:43:01] *** tfennelly has joined #angularjs
[20:43:04] <wafflej0ck> ah np
[20:43:55] *** bkuberek has joined #angularjs
[20:44:58] *** raulvieira has joined #angularjs
[20:45:10] *** jonr22 has quit IRC
[20:45:23] *** _Ariel_ has joined #angularjs
[20:45:25] *** jonr22 has joined #angularjs
[20:45:49] *** Lindbergh has joined #angularjs
[20:46:00] *** jonr22 has quit IRC
[20:46:22] *** desp has joined #angularjs
[20:47:22] *** greengriminal has joined #angularjs
[20:47:40] *** tfennelly has quit IRC
[20:47:41] *** johnstorey has joined #angularjs
[20:47:45] *** wmbutler has joined #angularjs
[20:48:02] *** tkimmel has joined #angularjs
[20:48:08] *** marshall has joined #angularjs
[20:48:24] *** bkuberek has quit IRC
[20:49:43] *** doug64k has joined #angularjs
[20:49:55] *** m0t0r has joined #angularjs
[20:50:09] *** crakrjak_respawn has joined #angularjs
[20:50:22] *** m0t0r has quit IRC
[20:50:52] *** m0t0r has joined #angularjs
[20:50:52] *** Lindbergh has quit IRC
[20:51:03] *** jstroem has joined #angularjs
[20:51:53] *** basiclaser_ has quit IRC
[20:52:14] *** raulvieira is now known as radvieira
[20:52:24] *** shpoont has quit IRC
[20:52:37] *** shpoont has joined #angularjs
[20:52:42] *** tkimmel has quit IRC
[20:52:58] *** wmbutler has quit IRC
[20:52:58] *** esk4nd4r has joined #angularjs
[20:53:04] *** JBreit has joined #angularjs
[20:53:09] *** marshall has quit IRC
[20:53:26] *** corehook has quit IRC
[20:54:49] *** Sna4x8 has quit IRC
[20:55:16] *** Pitel has quit IRC
[20:55:17] *** Sna4x8 has joined #angularjs
[20:56:07] *** _Ariel_ is now known as afuggini
[20:56:26] *** mbildner has joined #angularjs
[20:56:26] *** \du has joined #angularjs
[20:56:30] *** jharbaugh has joined #angularjs
[20:56:59] *** near has joined #angularjs
[20:58:53] *** ClarusCogitatio has quit IRC
[20:59:08] *** jharbaug_ has quit IRC
[21:00:10] *** grantfunke_ has joined #angularjs
[21:01:04] *** chovy3 has joined #angularjs
[21:01:17] *** Essence has joined #angularjs
[21:01:26] <chovy3> Hello
[21:01:27] *** ClarusCogitatio has joined #angularjs
[21:01:34] *** cads has joined #angularjs
[21:01:40] *** jacuqesdancona has quit IRC
[21:02:17] *** jacuqesdancona has joined #angularjs
[21:02:29] *** melmoussaoui has quit IRC
[21:02:36] *** favetelinguis has joined #angularjs
[21:02:37] *** jacuqesdancona has quit IRC
[21:02:58] *** johnstorey has quit IRC
[21:03:12] *** jacuqesdancona has joined #angularjs
[21:03:17] *** chrisbirk has joined #angularjs
[21:03:24] *** ccohn has joined #angularjs
[21:03:35] <Essence> I'm trying to set a URL parameter with a space-delimited string, but using + symbols instead of %20 symbols, and it looks valid according to RFC 3986
[21:03:49] *** grantfunke_ has quit IRC
[21:04:05] <Essence> but the $location service is always using %20 anyway, and I couldn't find any option to fix it
[21:04:19] *** dero has joined #angularjs
[21:04:28] *** esk4nd4r has quit IRC
[21:04:47] *** Reskp has quit IRC
[21:04:49] <Essence> do someone knows how to allow the $location to set URL parameters with + instead of %20 for space characters?
[21:05:28] <chovy3> Pass it in as +?
[21:05:54] *** ehalas has quit IRC
[21:05:54] *** vectra has quit IRC
[21:06:13] *** one0one has joined #angularjs
[21:06:27] *** Reskp has joined #angularjs
[21:06:31] *** Oddman has joined #angularjs
[21:06:34] *** ClarusCogitatio has quit IRC
[21:07:24] *** jacuqesdancona has quit IRC
[21:07:31] <Essence> then it becomes %2B...
[21:07:35] *** shpoont has quit IRC
[21:07:36] *** favetelinguis has quit IRC
[21:07:48] *** shpoont has joined #angularjs
[21:08:08] *** ccohn has quit IRC
[21:08:12] *** doginal has joined #angularjs
[21:08:25] *** mennea has quit IRC
[21:08:38] <Essence> even if I set the url parameters manually in the browser with +, the service changes it again to %20
[21:08:41] *** grantfunke_ has joined #angularjs
[21:09:01] *** mennea has joined #angularjs
[21:09:07] *** jstroem has quit IRC
[21:09:21] *** chovy3 has quit IRC
[21:09:42] *** chovy3 has joined #angularjs
[21:09:44] <chovy3> There must be an optional flag
[21:09:47] *** DLSteve_ has quit IRC
[21:10:09] *** eBureau has joined #angularjs
[21:10:27] *** ClarusCogitatio has joined #angularjs
[21:10:30] *** plexiv has quit IRC
[21:10:33] *** joshskidmore has quit IRC
[21:10:44] *** wayne has left #angularjs
[21:11:02] *** joshskidmore has joined #angularjs
[21:11:32] *** bmac has joined #angularjs
[21:12:09] <Essence> well, the docs doesn't seem to tell anything about it
[21:12:43] <Essence> the nearest I could reach was with html5mode, but it didn't work too
[21:12:45] <Essence> https://docs.angularjs.org/api/ng/provider/$locationProvider
[21:13:51] *** livingstn has joined #angularjs
[21:13:54] *** larsgk has quit IRC
[21:14:37] *** ory has joined #angularjs
[21:14:42] *** chovy3 has quit IRC
[21:16:17] *** marcjs has joined #angularjs
[21:16:30] *** adpirz has quit IRC
[21:17:04] *** adpirz has joined #angularjs
[21:17:19] *** ClarusCogitatio has quit IRC
[21:17:26] *** AlexZan has quit IRC
[21:17:32] *** ehalas has joined #angularjs
[21:17:58] *** ClarusCogitatio has joined #angularjs
[21:18:18] *** crakrjak_respawn has quit IRC
[21:18:39] *** sinequanon has joined #angularjs
[21:19:08] <near> hello question please how to use \n\r or <br> in ng-repeat="x in names | filter:test | orderBy:'name'"
[21:19:12] *** crakrjak_respawn has joined #angularjs
[21:20:32] *** marcjs has quit IRC
[21:20:32] *** a_ghost_irl has joined #angularjs
[21:20:52] *** ProLoser has joined #angularjs
[21:21:12] *** joelwallis has quit IRC
[21:21:32] *** benschaaf has quit IRC
[21:21:40] *** adpirz has quit IRC
[21:22:14] *** shpoont has quit IRC
[21:22:42] *** shpoont has joined #angularjs
[21:23:48] *** ClarusCogitatio has quit IRC
[21:24:53] *** ClarusCogitatio has joined #angularjs
[21:25:17] *** ProLoser has quit IRC
[21:25:47] *** spaceonline has joined #angularjs
[21:25:52] *** a_ghost_irl has quit IRC
[21:25:54] *** nemothekid has joined #angularjs
[21:26:08] *** tkimmel has joined #angularjs
[21:26:29] *** m0t0r has quit IRC
[21:26:40] *** chovy3 has joined #angularjs
[21:27:45] *** cesarkawakami has joined #angularjs
[21:28:10] *** BahamutWC has quit IRC
[21:28:44] *** MaxV has quit IRC
[21:29:06] *** IvailoStoianov has quit IRC
[21:29:06] *** dcherman has joined #angularjs
[21:29:09] *** glontu has quit IRC
[21:30:08] <walbert> near: The best answer would probably be not to use \n\r or <br />, but to repeat an element with a "display: block" css attribute, which will only allow one element per line. Div's are block elements unless overrided. Try <div ng-repeat=""x in names | filter:test | orderBy:'name'">{{ x }}</div>
[21:30:33] <walbert> near: but fix the awful job I did quoting your ng-repeat attribute
[21:30:36] *** spaceonline has quit IRC
[21:31:21] <near> :O
[21:32:28] *** zz_night-owl is now known as night-owl
[21:32:57] *** josdeha_rt has quit IRC
[21:33:24] *** ClarusCogitatio has quit IRC
[21:33:28] *** bmac has quit IRC
[21:33:58] <walbert> near: if you really want linefeeds or <br /> elements, then you're outside of the scope of what ng-repeat can do. If you expose a function or variable to the element's $scope, you can just defer to a bind using vanilla JS, e.g. <span ng-bind-html="getSortedNames().join('<br />')"></span>
[21:34:12] *** ClarusCogitatio has joined #angularjs
[21:34:50] *** rikkipitt has quit IRC
[21:35:14] *** mjs2600 has joined #angularjs
[21:35:45] <near> moment test
[21:36:21] *** Shai-Tan has joined #angularjs
[21:36:48] *** ehalas has quit IRC
[21:37:31] *** chovy3 has quit IRC
[21:37:32] *** shpoont has quit IRC
[21:37:53] *** shpoont has joined #angularjs
[21:38:09] *** dcherman has quit IRC
[21:38:28] *** mennea has quit IRC
[21:39:05] *** mennea has joined #angularjs
[21:39:20] *** larsgk has joined #angularjs
[21:39:37] *** ehalas has joined #angularjs
[21:40:07] *** moafoca has joined #angularjs
[21:40:08] *** dtrott has joined #angularjs
[21:40:34] <near> walbert: i need <br> or \n\r for one description example {name:'¿Qué es una acción?',description:'Las acciones son las partes o porciones en las que se divide el capital social de una sociedad comercial que permita ese tipo de representación, en Bolivia estas son las Sociedades Anónimas o Sociedad en Comandita por Acciones.<hr> }}" "&60;br&62;>" "{{ Dicho de otra manera, una acción es aquel documento o título-valor que otorga a
[21:40:39] *** ClarusCogitatio has quit IRC
[21:41:03] *** doginal has quit IRC
[21:41:05] *** jamto11 has quit IRC
[21:41:27] *** alinou has joined #angularjs
[21:41:28] *** Asiajey has joined #angularjs
[21:41:28] *** Asiajey has joined #angularjs
[21:41:30] *** ClarusCogitatio has joined #angularjs
[21:41:43] *** glosoli has quit IRC
[21:41:54] *** grantfunke_ has quit IRC
[21:42:15] *** chovy3 has joined #angularjs
[21:42:21] *** dtrott has quit IRC
[21:42:32] *** edrocks_ has joined #angularjs
[21:42:56] *** desp has quit IRC
[21:43:55] *** johnstorey has joined #angularjs
[21:44:50] *** chovy3 has quit IRC
[21:45:04] *** doosy has joined #angularjs
[21:45:38] *** devylon has quit IRC
[21:45:54] *** opiates has joined #angularjs
[21:47:01] *** subr0utine has joined #angularjs
[21:47:09] *** TheAceOfHearts has joined #angularjs
[21:47:18] *** Reskp has quit IRC
[21:47:35] *** yelvert has joined #angularjs
[21:48:24] *** Shrooms has quit IRC
[21:49:53] *** Reskp has joined #angularjs
[21:50:06] *** subr0utine has quit IRC
[21:50:34] *** chovy3 has joined #angularjs
[21:50:40] *** Asiajey has quit IRC
[21:51:10] *** Asiajey has joined #angularjs
[21:51:10] *** Asiajey has joined #angularjs
[21:51:54] *** radvieira has quit IRC
[21:52:05] *** doosy has quit IRC
[21:52:09] *** yelvert has quit IRC
[21:52:26] *** shpoont has quit IRC
[21:52:29] *** disorder20 has joined #angularjs
[21:52:36] *** subr0utine has joined #angularjs
[21:52:57] *** shpoont has joined #angularjs
[21:53:09] *** cakirke has quit IRC
[21:53:13] *** patrick99e99 has joined #angularjs
[21:55:04] *** dannyc has joined #angularjs
[21:55:19] *** damain has quit IRC
[21:55:37] *** damain has joined #angularjs
[21:55:56] *** chovy3 has quit IRC
[21:56:21] *** lemur has quit IRC
[21:56:22] *** nemothekid has quit IRC
[21:56:59] *** lemur has joined #angularjs
[21:57:14] *** chovy3 has joined #angularjs
[21:58:05] *** FunnyLookinHat has joined #angularjs
[21:58:06] *** patrick99e99 has quit IRC
[21:58:17] *** oktapodi has joined #angularjs
[21:58:33] *** iribarne has quit IRC
[21:58:53] *** mjs2600 has quit IRC
[21:59:00] *** subr0utine has left #angularjs
[21:59:12] *** crakrjak_respawn has quit IRC
[21:59:22] *** dannyc has quit IRC
[21:59:49] *** chovy3 has quit IRC
[22:00:01] *** DuelShark has quit IRC
[22:00:07] *** DuelShark has joined #angularjs
[22:00:10] *** crakrjak_respawn has joined #angularjs
[22:00:31] *** mot0rola has joined #angularjs
[22:01:31] <Grokling> near: Use a div, or set display=block rather than use a br.
[22:01:33] *** moafoca has quit IRC
[22:01:33] *** synlag has joined #angularjs
[22:01:36] *** afuggini has quit IRC
[22:01:41] *** Reskp has quit IRC
[22:02:41] *** junmin has joined #angularjs
[22:02:54] *** ClarusCogitatio has quit IRC
[22:02:59] *** nya has joined #angularjs
[22:03:14] *** Aliks has joined #angularjs
[22:03:21] *** oktapodi has quit IRC
[22:03:36] *** favetelinguis has joined #angularjs
[22:04:05] *** ccohn has joined #angularjs
[22:04:13] *** gurke_ has quit IRC
[22:04:32] *** ClarusCogitatio has joined #angularjs
[22:05:38] *** Reskp has joined #angularjs
[22:05:39] *** mjs2600 has joined #angularjs
[22:05:46] *** Matt__ has joined #angularjs
[22:05:52] *** mennea has quit IRC
[22:06:23] *** riseriyo has left #angularjs
[22:06:25] <robdubya> br/ is br/oken
[22:06:34] *** mary5030 has quit IRC
[22:06:45] *** seriema has joined #angularjs
[22:06:56] *** FunnyLookinHat has quit IRC
[22:07:36] *** shpoont has quit IRC
[22:07:51] *** favetelinguis has quit IRC
[22:08:02] *** shpoont has joined #angularjs
[22:08:03] *** sinequanon has quit IRC
[22:08:37] *** ccohn has quit IRC
[22:09:02] *** whunt has quit IRC
[22:09:49] *** oste has quit IRC
[22:09:55] *** Matt__ has quit IRC
[22:10:08] *** caitp- has quit IRC
[22:10:25] *** mot0rola has quit IRC
[22:10:39] *** ClarusCogitatio has quit IRC
[22:10:54] *** MaxV has joined #angularjs
[22:11:04] <Grokling> All going well in SF robdubya? Also happy birthday for last week..
[22:11:08] *** mot0rola has joined #angularjs
[22:11:13] <robdubya> yeah, all is pretty rad
[22:11:22] <robdubya> and cheers. i'm old. but wiser.
[22:11:44] *** mjs2600_ has joined #angularjs
[22:12:05] *** ClarusCogitatio has joined #angularjs
[22:12:10] *** mjs2600 has quit IRC
[22:12:13] *** larsgk has quit IRC
[22:12:26] *** krawek has quit IRC
[22:13:06] <Grokling> Glad to hear that it's working out. I had a feeling you'd land on your feet..
[22:13:27] <robdubya> the weather is the freakin bomb
[22:13:42] *** larsgk has joined #angularjs
[22:13:42] *** josdeha_rt has joined #angularjs
[22:13:43] *** sinequanon has joined #angularjs
[22:13:45] *** mdedetrich has quit IRC
[22:13:52] *** jacuqesdancona has joined #angularjs
[22:14:03] <Grokling> Cares.. you're inside working all the time right ;D
[22:14:07] *** jillesme has joined #angularjs
[22:14:14] <near> <Grokling>: nothing works, this is the result on the web on las partes o porciones en --------&gt;&lt;div&gt;&lt;script&gt;sdf&lt;/script&gt;prueba&lt;/div&gt;las que
[22:14:26] *** willeponken has quit IRC
[22:14:39] <Grokling> near: Have you got a plunker?
[22:14:48] <seriema> can't wait until we have real glare-free screens. people are going to start working outside every day! *not*
[22:14:55] *** dcherman has joined #angularjs
[22:14:58] *** kentaro0919 has joined #angularjs
[22:15:28] <Grokling> I'd settle for a matte screen.. This high gloss nonsense has got to end.
[22:15:48] <robdubya> nah, we go on walks and stuff
[22:16:08] <robdubya> the town i live in (redwood city) has a big sign that says "climate best by government test"
[22:16:16] <robdubya> literally has the best climate in america.
[22:16:37] <Grokling> Sounds so domestic! I thought SF was all about code hard, party hard.. Or are you now officially 'too old for that shit'?
[22:16:41] <near> <Grokling> nop how to make plunker??
[22:16:42] *** deanclkclk has quit IRC
[22:16:43] <Foxandxss> and how expensive to live there?
[22:16:59] *** marcjs has joined #angularjs
[22:17:00] <robdubya> i joined a company that was 100% not about working nights and weekends
[22:17:10] <Grokling> near: Start here: http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f
[22:17:11] *** ClarusCogitatio has quit IRC
[22:17:13] <robdubya> that said, i'm in the office today, but that's because i dont have any interwebs at my house
[22:17:25] <robdubya> @Foxandxss my rent is .... $3000/month :o :o :o
[22:17:39] <Foxandxss> but a complete house for you, right? (not a room I mean)
[22:17:43] <Grokling> $3k/month for what? an apartment?
[22:17:51] <robdubya> yeah, house, 2br, big ass backyard
[22:18:09] *** jacuqesdancona has quit IRC
[22:18:21] *** tech2 has joined #angularjs
[22:18:31] *** joshontheweb has quit IRC
[22:19:00] *** jillesme has quit IRC
[22:19:23] *** Reskp has quit IRC
[22:19:44] <robdubya> i even have one of those frisbee golf things, hope i dont get a hippie infestation http://i.imgur.com/YboGHG0.jpg
[22:20:02] *** Oddman has quit IRC
[22:20:08] *** johnstorey has quit IRC
[22:20:24] *** ctanga has joined #angularjs
[22:20:27] *** dcherman2 has joined #angularjs
[22:20:29] <Grokling> That backyard needs some work.. Climate might be great, but the grass is rubbish!
[22:20:29] <Foxandxss> Good place for BBQs
[22:20:45] <robdubya> Foxandxss you know it
[22:20:55] <robdubya> backyard is a GF's problem
[22:21:03] *** Oddman has joined #angularjs
[22:21:04] <Grokling> You can take the man out of Texas..
[22:21:21] *** mglvl has quit IRC
[22:21:21] *** Skrypter has joined #angularjs
[22:21:25] <Foxandxss> heh
[22:22:08] *** joshontheweb has joined #angularjs
[22:22:20] *** edrocks_ has quit IRC
[22:22:30] *** caitp- has joined #angularjs
[22:22:41] *** shpoont has quit IRC
[22:22:50] *** dcherman has quit IRC
[22:23:08] *** shpoont has joined #angularjs
[22:24:20] *** adibhanna has joined #angularjs
[22:24:25] *** dcherman has joined #angularjs
[22:24:33] *** mbildner has quit IRC
[22:25:01] *** klaut_ has joined #angularjs
[22:25:02] *** wiseboy has joined #angularjs
[22:26:15] *** dcherman2 has quit IRC
[22:26:48] *** marcjs has quit IRC
[22:26:48] *** klaut has quit IRC
[22:28:39] *** MuffinMan` has quit IRC
[22:28:41] *** dcherman2 has joined #angularjs
[22:29:12] *** sinequanon has quit IRC
[22:29:22] *** dcherman has quit IRC
[22:29:23] *** klaut_ has quit IRC
[22:29:49] *** klaut has joined #angularjs
[22:32:10] *** whunt has joined #angularjs
[22:32:13] *** mdedetrich has joined #angularjs
[22:32:34] *** chrisbirk has quit IRC
[22:34:05] *** ProLoser has joined #angularjs
[22:34:36] *** Alina-malina has quit IRC
[22:34:36] *** chrisbirk has joined #angularjs
[22:34:50] *** BillCriswell has joined #angularjs
[22:35:07] *** tfennelly has joined #angularjs
[22:35:15] *** Reskp has joined #angularjs
[22:35:54] *** oktapodi has joined #angularjs
[22:36:02] *** Reskp has quit IRC
[22:36:36] *** zwacky has joined #angularjs
[22:36:45] *** DuelShark has quit IRC
[22:37:00] *** whunt has quit IRC
[22:37:09] *** DuelShark has joined #angularjs
[22:37:12] *** sinequanon has joined #angularjs
[22:37:35] *** shpoont has quit IRC
[22:38:02] *** shpoont has joined #angularjs
[22:38:29] *** ciwolsey has quit IRC
[22:39:42] *** josh-k has joined #angularjs
[22:40:01] <Grokling> Strategic structural question - I have two models, they are related by a third. Lets say 'House' has many 'Person'. Conversely, 'Person' has many 'House' is also valid. So, we have the PersonHouse model in between.
[22:40:23] <Grokling> In order to represent this in JSON, we have a House.housePerson array.
[22:40:43] *** Oddman has quit IRC
[22:40:49] *** oktapodi has quit IRC
[22:40:53] *** favetelinguis has joined #angularjs
[22:41:03] <Grokling> If we expand the housePerson instances with 'Person' records all is fine.
[22:41:18] *** s00pcan has quit IRC
[22:41:30] *** nycdevgirl has quit IRC
[22:42:23] <Grokling> BUT, if we need to look at things from the other end of the relationship as well, we run into trouble with circular JSON, because a Person now has a personHouse array, with expanded 'House' instances.
[22:42:53] *** desp has joined #angularjs
[22:42:53] *** sqwk has quit IRC
[22:42:58] <Grokling> Is there a better way to think about this, or do I just have to choose ONE perspective, and filter in the other direction?
[22:43:24] *** Oddman has joined #angularjs
[22:43:51] *** joshontheweb has quit IRC
[22:44:11] *** nuizzy has joined #angularjs
[22:44:16] *** crakrjak_respawn has quit IRC
[22:45:08] *** Fishy has joined #angularjs
[22:45:57] *** mdedetrich has quit IRC
[22:46:10] *** favetelinguis has quit IRC
[22:46:19] *** near has quit IRC
[22:46:59] *** mdedetrich has joined #angularjs
[22:47:04] *** josh-k_ has joined #angularjs
[22:47:20] *** Reskp has joined #angularjs
[22:48:01] *** squeakytoy has quit IRC
[22:48:32] *** Fishy has quit IRC
[22:48:35] *** Reskp has quit IRC
[22:48:51] *** Fishy has joined #angularjs
[22:48:53] *** Alina-malina has joined #angularjs
[22:49:53] *** josh-k has quit IRC
[22:52:04] *** dan1 has joined #angularjs
[22:52:16] *** crakrjak_respawn has joined #angularjs
[22:52:36] *** favetelinguis has joined #angularjs
[22:52:48] *** Essence has quit IRC
[22:52:49] *** sinequanon has quit IRC
[22:52:55] *** bmac has joined #angularjs
[22:52:55] *** shpoont has quit IRC
[22:53:16] *** shpoont has joined #angularjs
[22:53:50] *** Xethron_ has joined #angularjs
[22:55:51] *** intellix has quit IRC
[22:55:54] *** Xethron has quit IRC
[22:56:00] *** favetelinguis has quit IRC
[22:56:12] *** wmbutler has joined #angularjs
[22:56:22] *** dero has quit IRC
[22:57:34] *** Reskp has joined #angularjs
[22:57:51] *** whunt has joined #angularjs
[22:59:00] *** AngularUI has joined #angularjs
[22:59:00] <AngularUI> [bootstrap] chrisirhc pushed 2 new commits to master: http://git.io/kML2uA
[22:59:00] <AngularUI> bootstrap/master 392c0ad Joaquín Omar Tumas: fix(carousel): replaced $timeout with $interval when it was wrong...
[22:59:00] <AngularUI> bootstrap/master a5e114d Chris Chua: demo(carousel): mention 0 in interval option...
[22:59:00] *** AngularUI has left #angularjs
[22:59:44] *** scottc5 has quit IRC
[22:59:50] <dylanjohnson> @Grokling: what sort of backend are you using?
[22:59:52] *** Alina-malina has quit IRC
[22:59:59] <dylanjohnson> this sounds like a server side modeling issue
[23:00:21] *** nemothekid has joined #angularjs
[23:00:24] *** crakrjak_respawn has quit IRC
[23:00:30] *** Alina-malina has joined #angularjs
[23:00:30] *** Alina-malina has joined #angularjs
[23:00:30] <dylanjohnson> nested references on the client side aren’t a problem, and, in fact, can be very useful in certain situations
[23:00:32] <Grokling> dylanjohnson: It has nothing at all to do with the back end. This is all client-side stuff.
[23:01:01] *** josdeha_rt has quit IRC
[23:01:13] <Grokling> Except that they break angular's interpolate horribly.
[23:01:15] <robdubya> Grokling circular refs shound't be an issue, except when console
[23:01:17] <robdubya> loggin
[23:01:32] *** robdubya has quit IRC
[23:01:44] <Grokling> It burns the template. Everything comes up 'undefined' in my html.
[23:02:04] *** crakrjak_respawn has joined #angularjs
[23:02:07] <dylanjohnson> Grokling: i’d need to see some code, because that doesn’t sound right
[23:02:12] <Grokling> Which is really annoying, because it seems like it should work.
[23:02:37] *** whunt has quit IRC
[23:02:42] <Grokling> dylanjohnson: Yeah, I'm going to play with it a bit more and see if I can better isolate which part is tripping it up.
[23:02:42] <dylanjohnson> it does work. at least any time i’ve tried it
[23:03:08] <dylanjohnson> i use the exact same data structure with grouped checkboxes where there’s a parent “select-all” checkbox all the time
[23:03:17] *** dcherman has joined #angularjs
[23:04:01] *** cads has quit IRC
[23:04:07] <Grokling> ah yeah, nesting is fine, is where the nested element contains a reference to the parent element - that makes it circular.
[23:04:28] <dylanjohnson> yeah, that’s how i use it
[23:04:30] *** adamsilver has joined #angularjs
[23:04:39] <dylanjohnson> item: { parent: {// some parent item }}
[23:04:51] *** AngularUI has joined #angularjs
[23:04:51] <AngularUI> [bootstrap] chrisirhc pushed 1 new commit to master: http://git.io/yGUBMg
[23:04:51] <AngularUI> bootstrap/master 992b232 blah238: fix(accordion): make header links keyboard accessible...
[23:04:51] *** AngularUI has left #angularjs
[23:04:52] *** ccohn has joined #angularjs
[23:04:55] <dylanjohnson> where parent: { items: [//contains the item ]}
[23:05:45] *** adpirz has joined #angularjs
[23:06:06] <adamsilver> any idea how can i bind a controller function to http://bxslider.com/ ... i need it to execute when the arrows are clicked. modifying the source to be like this didn't work with no error messages: o.controls.prev=t('<a class="bx-prev" ng-click="myslider.nextPage()" href="">'+o.setting
[23:06:07] *** dcherman2 has quit IRC
[23:06:14] <dylanjohnson> if you put this stuff in a Gist or Plunk I’d be interested to see it
[23:06:19] *** deanclkclk has joined #angularjs
[23:06:48] *** Alina-malina has quit IRC
[23:06:49] *** mdedetrich has quit IRC
[23:06:49] <dylanjohnson> adamsilver: use the bootstrap carousel?
[23:06:53] <Grokling> sure. Once I can isolate it enough to reproduce concisely - assuming I don't fix it in the process, I'll plunk it.
[23:07:31] *** hightower4 has quit IRC
[23:07:50] <dylanjohnson> you’re most likely not going to be able to plop angular directives into jQuery plugin source and see the desired effect
[23:07:55] *** shpoont has quit IRC
[23:07:56] *** disorder20 has quit IRC
[23:08:07] *** Jon31 has quit IRC
[23:08:13] *** shpoont has joined #angularjs
[23:08:15] *** BillCriswell has quit IRC
[23:08:19] *** Jon31 has joined #angularjs
[23:09:18] <adamsilver> dylanjohnson: i am not allowed to alter the design
[23:09:21] <chromatome> Anyone know why with ui-router when I use $state.go('login'); only the url is being changed, but the change in view doesn't happen?
[23:09:37] *** ccohn has quit IRC
[23:10:04] *** pdillinger has joined #angularjs
[23:10:06] *** adpirz has quit IRC
[23:10:20] <BackEndCoder> alright guys
[23:10:27] <BackEndCoder> i'm making my first app
[23:10:45] <BackEndCoder> i'm having a delay issue with recently rendered json backend files
[23:10:48] <chromatome> Or should I just be using $location.url
[23:10:50] *** Reskp has quit IRC
[23:10:51] <dylanjohnson> adamsilver: you could throw a regular javascript event and listen for it in your angular code
[23:11:06] <BackEndCoder> is there a sneeky way of making sure the json files are loaded directly without caching ?
[23:11:19] <BackEndCoder> (even tho my browser caching is off this still happens)
[23:11:38] <BackEndCoder> for example, when updating, the new results will not show unless i refresh
[23:11:45] *** wmbutler has quit IRC
[23:11:59] *** NormySan has quit IRC
[23:12:34] <adamsilver> dylanjohnson: sounds great, how can i do that?
[23:13:13] <amergin> chromatome: could be a number of things. ui-router isn't exactly verbose on those things, I'd try http://stackoverflow.com/a/20786262 for starters
[23:13:25] *** mdedetrich has joined #angularjs
[23:14:05] *** themime has quit IRC
[23:14:16] <ctanga> http://pastebin.com/vvpQJ2E5 <— similar
[23:14:17] *** larsgk has quit IRC
[23:14:31] *** spaceonline has joined #angularjs
[23:15:06] *** jillesme has joined #angularjs
[23:16:22] *** MaxV has quit IRC
[23:16:37] *** MaxV has joined #angularjs
[23:17:50] *** tripu has joined #angularjs
[23:17:54] <dylanjohnson> adamsilver: i’d have to dig through the source of that plugin to figure out the best way to do it. that’s the fun part for you, and also the purpose of google/stackoverflow
[23:18:10] *** nycdevgirl has joined #angularjs
[23:18:38] *** spaceonline has quit IRC
[23:19:01] *** {DV8} has joined #angularjs
[23:19:02] *** AngularUI has joined #angularjs
[23:19:02] <AngularUI> [bootstrap] chrisirhc pushed 1 new commit to master: http://git.io/6BogEw
[23:19:03] <AngularUI> bootstrap/master 35d0cc1 Warren Konkel: feat(typeahead): add focus-first option...
[23:19:03] *** AngularUI has left #angularjs
[23:19:53] *** jillesme has quit IRC
[23:20:06] *** jmichaelward has joined #angularjs
[23:21:22] *** kakashiA1 has joined #angularjs
[23:21:53] *** seiyria is now known as IdleMaster
[23:22:03] <kakashiA1> I send from node an object with an http status code
[23:22:18] <kakashiA1> how can I read that status code with angular?
[23:22:32] *** marcjs has joined #angularjs
[23:22:41] <dylanjohnson> kakashiA1: are you using the $http service?
[23:22:45] <kakashiA1> and how can I change that object to jason?
[23:22:48] <kakashiA1> dylanjohnson: yes
[23:22:55] *** shpoont has quit IRC
[23:23:19] *** IdleMaster is now known as seiyria
[23:23:20] *** shpoont has joined #angularjs
[23:23:25] *** seiyria is now known as im2
[23:23:42] <dylanjohnson> kakashiA1: go here: https://docs.angularjs.org/api/ng/service/$http then type cmd+f or ctl+f and enter ‘status’
[23:24:05] *** ome has joined #angularjs
[23:24:43] *** deanclkclk_ has joined #angularjs
[23:25:07] <dylanjohnson> so something like `$http.get(‘/someUrl’).then(function (response) { alert(response.status) })`
[23:25:19] *** azerzaefqsddqsd has joined #angularjs
[23:25:38] *** im2 is now known as seiyria
[23:26:37] *** Typher has joined #angularjs
[23:27:02] *** pingupingu has joined #angularjs
[23:27:07] *** deanclkclk has quit IRC
[23:27:21] *** marcjs has quit IRC
[23:27:38] <kakashiA1> dylanjohnson: ahh okay thanks, will try that
[23:27:42] <Grokling> Here's a reproduction of the circular JSON breakage: http://plnkr.co/edit/yvGQ0mRgkKNXmUXwQzIP?p=preview
[23:27:54] <Grokling> Uncomment lines 35 or 36 to make it break.
[23:28:14] <kakashiA1> dylanjohnson: how can I transform my sended object to an json format with angular?
[23:28:49] <Grokling> ^@ dylanjohnson & robdubya
[23:29:36] <dylanjohnson> kakashiA1: http://lmgtfy.com/?q=how+can+I+transform+my+sended+object+to+an+json+format+with+angular
[23:29:47] *** mjs2600_ has quit IRC
[23:30:09] *** mjs2600 has joined #angularjs
[23:30:09] <kakashiA1> dylanjohnson: sorry
[23:30:32] *** mjs2600 has quit IRC
[23:30:40] <Grokling> dylanjohnson: Top of the class. I was wondering how long it'd be before I saw a lmgtfy link in this channel.. I've been tempted, but have restrained myself on many occasions.
[23:30:52] *** yts has quit IRC
[23:31:41] *** Typher has quit IRC
[23:31:51] *** deveras has joined #angularjs
[23:32:19] <dylanjohnson> Grokling: oooo fancy ES6 stuff going on.
[23:33:34] <Grokling> yeah, we can reasonably blame robdubya for that..
[23:33:46] <dylanjohnson> it’s sunday afternoon, so there have been some beers, but my guess would be a scoping issue in the closure that is $scope.addPersonHouse
[23:33:50] *** josh-k_ has quit IRC
[23:33:58] *** hugofirth has quit IRC
[23:34:00] *** DuelShark has quit IRC
[23:34:12] <dylanjohnson> specifically the newPersonHouse var
[23:34:40] <dylanjohnson> (this is more complicated than the example i cited, so apologies for making it seem like issue was trivial)
[23:34:42] *** ngbot has joined #angularjs
[23:34:42] <ngbot> [angular.js] Narretz pushed 1 new commit to master: http://git.io/MNpu3g
[23:34:42] <ngbot> angular.js/master f157d02 Martin Staffa: docs(ngModelController): clarify parse errors...
[23:34:42] *** ngbot has left #angularjs
[23:34:50] <Grokling> That var gets pushed into the scope array though, so has no relevance outside the function.
[23:35:39] <dylanjohnson> can i ask why the models aren’t being wrapped in something like Person and House?
[23:35:51] <Grokling> Nah - it was a convoluted question, so I wasn't expecting instant understanding from anyone except maybe the likes of Rob who has a brain that works the same way as mine (albeit a bit faster)
[23:36:18] <Grokling> They are usually, but it makes no difference to it not working. I have an abundance of factories don't worry!
[23:36:26] <dylanjohnson> so `ng-click=“house.addPerson(person)”`
[23:36:39] <dylanjohnson> because ng-repeat is going to create an isolate scope
[23:37:32] *** crakrjak_respawn has quit IRC
[23:37:34] <Grokling> Shouldn't matter - the function is acting on $scope at the controller level, it's just using the references to the objects.
[23:37:38] *** uru is now known as uru|away
[23:37:58] <Grokling> references to the objects as provided by the ng-repeat.
[23:38:03] *** crakrjak_respawn has joined #angularjs
[23:38:04] <dylanjohnson> i imagine if you added var model = $scope.model = { persons: [], houses: [], addPersonHouse: function() { //… } }
[23:38:12] *** shpoont has quit IRC
[23:38:14] <dylanjohnson> that would work
[23:38:29] *** shpoont has joined #angularjs
[23:38:32] <dylanjohnson> with `ng-click=“model.addPersonHouse()”
[23:38:59] <dylanjohnson> and model.persons.find() + model.houses.find()
[23:39:13] *** dnewkerk has joined #angularjs
[23:39:13] <Grokling> That's almost the structure I have in my real code.
[23:39:22] <boneskull> what can you find in a people house? scissors, needle, buttons, thread, cup & saucer, pillow, bed
[23:39:38] <Grokling> beer. Don't forget the beer.
[23:40:10] <BahamutWC|Laptop> I’m not sure I have any beer atm
[23:40:15] <dylanjohnson> for lack of being able to elocute, what you’re seeing is a scoping issue
[23:40:33] <Grokling> if it was a scope issue, it would only break stuff in that (isolated) scope?
[23:40:37] <dylanjohnson> you could throw some `$parent`s around in there and make it work
[23:40:54] <Grokling> BahamutWC|Laptop: Better go shopping quick.
[23:41:36] <Grokling> dylanjohnson: Can you demonstrate on the plunker perhaps? http://plnkr.co/edit/?p=streamer&s=IfcywycA4sm3Io1N
[23:41:45] *** disorder20 has joined #angularjs
[23:42:33] *** jamto11 has joined #angularjs
[23:43:39] *** dannyc has joined #angularjs
[23:44:20] *** crakrjak_respawn has quit IRC
[23:44:43] *** bulkan has joined #angularjs
[23:45:00] *** jstlu has quit IRC
[23:45:47] <dylanjohnson> Grokling: i’m on a mobile but here’s a start: http://plnkr.co/edit/nQ8d1SGLwl9ml1Y1Ygdi?p=preview
[23:46:13] <dylanjohnson> apologies if indentation or formatting is wonky
[23:47:01] *** mtsr has joined #angularjs
[23:47:03] <Grokling> Thats a good effort on a mobile. Colour me impressed.
[23:48:11] <deveras> oh my god! when i press a buton, some crazy text is spit down!!! it must be some sort of button allergy
[23:48:14] *** dannyc has quit IRC
[23:48:44] *** bmac has quit IRC
[23:49:40] <dylanjohnson> by creating those objects on the parent scope with the `new` keyword and using their `addHouse` or `addPerson` methods, you should be able to eliminate the issues that you’re seeing with scope references not propagating upward
[23:51:02] *** jmichaelward has quit IRC
[23:52:59] *** hightower4 has joined #angularjs
[23:53:03] *** jmverges has quit IRC
[23:53:04] *** edy has quit IRC
[23:53:04] *** shpoont has quit IRC
[23:53:17] <Grokling> dylanjohnson: That takes me closer to my real code. I'll finish adapting the plunker and we'll see.
[23:53:25] *** shpoont has joined #angularjs
[23:53:52] *** oste has joined #angularjs
[23:53:59] <dylanjohnson> Grokling: please post when you’re done, would be happy to help you see this through. $scope inheritance in angular 1.x is one of the most confusing pieces of the framework
[23:54:17] *** Chris__ has joined #angularjs
[23:54:25] *** xastey has quit IRC
[23:54:28] <Grokling> I'm not convinced that's the issue here, but I won't rule anything out!
[23:54:53] *** bmac has joined #angularjs
[23:55:05] *** mtsr has quit IRC
[23:55:50] <Chris__> Hello everyone, does anyone know how to access to a controller's scope on the $routeProvider's resolve property?
[23:55:58] *** alinou has quit IRC
[23:56:08] *** Basemm has joined #angularjs
[23:57:35] *** mtsr has joined #angularjs
[23:58:41] *** desp has quit IRC
top

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