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

Toggle Join/Part | bottom
[00:00:04] <snapwich> although i wouldn't be surprised if it runs natively in chrome in the future
[00:00:18] *** bayousof_ has quit IRC
[00:00:54] <snapwich> oh, apparently chrome already has a Dart VM
[00:00:56] <snapwich> https://www.dartlang.org/tools/dartium/
[00:01:08] *** flocca has quit IRC
[00:01:11] <snapwich> oh nm, that's a branch
[00:01:16] *** yoshokatana has joined #angularjs
[00:02:11] *** phuh has quit IRC
[00:02:37] *** phuh has joined #angularjs
[00:02:38] *** LoveAndHappiness has quit IRC
[00:03:08] *** LoveAndHappiness has joined #angularjs
[00:04:01] *** nanoyak has quit IRC
[00:04:13] *** fg3 has quit IRC
[00:04:26] *** ckboii89 has quit IRC
[00:04:39] *** FIFOd[a] has quit IRC
[00:04:47] *** Silne30 has quit IRC
[00:05:34] *** lsiv568 has quit IRC
[00:05:44] *** Sgeo has joined #angularjs
[00:05:54] *** FIFOd[a] has joined #angularjs
[00:05:57] *** nanoyak has joined #angularjs
[00:06:05] *** stirling_ has joined #angularjs
[00:06:23] *** screamingbanshee has joined #angularjs
[00:06:24] *** gnarMatix has left #angularjs
[00:06:41] *** dob_ has quit IRC
[00:06:47] *** chrisbirk has quit IRC
[00:07:01] *** recidive has joined #angularjs
[00:07:05] *** snapwich has quit IRC
[00:07:10] *** waylon999 has quit IRC
[00:07:20] *** metasansana has joined #angularjs
[00:07:37] *** mamian has quit IRC
[00:08:12] *** rangle has joined #angularjs
[00:08:38] *** dariocravero has joined #angularjs
[00:08:40] *** cthrax has quit IRC
[00:09:18] *** stirlingw has quit IRC
[00:09:44] *** cthrax has joined #angularjs
[00:10:17] *** FIFOd[a] has quit IRC
[00:10:27] *** apetro_ has quit IRC
[00:10:47] *** stirling_ has quit IRC
[00:11:13] *** oste has quit IRC
[00:11:14] *** the-erm has quit IRC
[00:11:46] *** nanoyak has quit IRC
[00:12:26] *** Silne30 has joined #angularjs
[00:12:30] *** the-erm has joined #angularjs
[00:12:42] *** LoveAndHappiness has quit IRC
[00:13:28] *** LoveAndHappiness has joined #angularjs
[00:13:29] *** MacWinner has quit IRC
[00:14:01] *** MacWinner has joined #angularjs
[00:14:07] *** MacWinner has quit IRC
[00:14:20] *** dazs has joined #angularjs
[00:14:48] *** encrypt3d_fracti has joined #angularjs
[00:15:08] *** mehlah has joined #angularjs
[00:15:36] *** staack has quit IRC
[00:16:06] *** sonofdirt has quit IRC
[00:16:20] *** ededagic has quit IRC
[00:16:21] *** Emperor_Earth has quit IRC
[00:16:23] *** m3l720 has joined #angularjs
[00:16:27] *** dcherman has quit IRC
[00:17:47] *** shinnya has joined #angularjs
[00:17:59] *** XoRoN has quit IRC
[00:18:17] *** JimTheDev has joined #angularjs
[00:18:24] *** stocker has joined #angularjs
[00:18:34] *** nanoyak has joined #angularjs
[00:18:36] *** LoveAndHappiness has quit IRC
[00:18:39] *** waylon999 has joined #angularjs
[00:18:52] *** Trow has quit IRC
[00:19:25] *** disorder20 has quit IRC
[00:20:43] *** shackleford has quit IRC
[00:21:13] *** MaxV has quit IRC
[00:22:14] *** XoRoN has joined #angularjs
[00:22:37] *** tylerjohnst has quit IRC
[00:22:49] *** stocker has quit IRC
[00:24:27] *** mtsr has quit IRC
[00:25:06] *** cthrax has quit IRC
[00:25:36] *** boulos has joined #angularjs
[00:25:44] *** hugorodrigues has joined #angularjs
[00:26:47] *** goodbomb has quit IRC
[00:27:02] *** mrogne_busy is now known as mrogne_afk
[00:27:39] *** goodbomb has joined #angularjs
[00:27:49] *** ericrav has joined #angularjs
[00:27:53] *** nanoyak has quit IRC
[00:27:55] *** infpetal has joined #angularjs
[00:29:31] *** DrShoggoth has quit IRC
[00:29:59] *** _jpfm has quit IRC
[00:30:00] *** cacts|works has quit IRC
[00:30:01] *** thomasfuston has quit IRC
[00:30:12] *** Destos has quit IRC
[00:30:18] *** jstroem has quit IRC
[00:30:42] *** ckboii89 has joined #angularjs
[00:30:53] *** TorchDragon has joined #angularjs
[00:31:56] *** simsketch has joined #angularjs
[00:32:03] *** tekky has quit IRC
[00:32:23] *** ericrav has quit IRC
[00:32:56] *** waylon999 has quit IRC
[00:33:20] *** waylon999 has joined #angularjs
[00:33:23] *** amargherio has joined #angularjs
[00:33:44] *** ericrav has joined #angularjs
[00:34:19] *** cthrax has joined #angularjs
[00:35:23] *** TorchDragon has quit IRC
[00:35:32] *** XoRoN has quit IRC
[00:35:33] *** eamonn has joined #angularjs
[00:35:36] *** ngbot has joined #angularjs
[00:35:36] <ngbot> [angular.js] rodyhaddad pushed 1 new commit to master: http://git.io/CeFyxQ
[00:35:36] <ngbot> angular.js/master 3d0dcf6 rodyhaddad: chore(travis): get npm dependencies from npm-bundle-deps...
[00:35:36] *** ngbot has left #angularjs
[00:35:59] *** hswolff has quit IRC
[00:36:13] <morenoh149> can an ng-click pass the function it's calling an object? specifically the object that has been clicked.
[00:36:36] *** Aswebb has joined #angularjs
[00:36:52] *** Mouzi has quit IRC
[00:38:23] *** ericrav has quit IRC
[00:38:26] <morenoh149> ah yeah it can
[00:38:45] *** Drako__ has quit IRC
[00:39:54] *** eamonn has quit IRC
[00:40:17] *** xavia has left #angularjs
[00:40:18] *** heidi has quit IRC
[00:40:22] *** yoshokatana has quit IRC
[00:40:26] *** JimTheDev has quit IRC
[00:40:43] *** tmrudick has joined #angularjs
[00:42:56] *** ETBlue has joined #angularjs
[00:45:47] *** tfennelly has quit IRC
[00:46:17] *** vbabiy has quit IRC
[00:48:01] *** bbankes has quit IRC
[00:48:09] *** jchamberlain has quit IRC
[00:48:28] *** nanoyak has joined #angularjs
[00:49:32] <Foxandxss> morenoh149: sure, everything on the view can be used as a parameter
[00:49:47] *** senayar has quit IRC
[00:50:19] *** senayar has joined #angularjs
[00:50:42] *** artisangoose has quit IRC
[00:50:47] *** olveraricardo72 has quit IRC
[00:51:24] *** Pauking has joined #angularjs
[00:51:36] *** frickettz has quit IRC
[00:52:04] *** mdel has quit IRC
[00:52:38] *** tfennelly has joined #angularjs
[00:52:51] *** ckboii89 has quit IRC
[00:53:13] *** nanoyak has quit IRC
[00:53:54] *** waylon999 has quit IRC
[00:54:18] *** tfennelly has quit IRC
[00:54:29] *** ngbot has joined #angularjs
[00:54:29] <ngbot> [angular.js] rodyhaddad pushed 1 new commit to master: http://git.io/qOaPPg
[00:54:29] <ngbot> angular.js/master c94329a xi: docs(ngBind): fix wording...
[00:54:29] *** ngbot has left #angularjs
[00:54:57] *** senayar has quit IRC
[00:55:32] *** mindlace has quit IRC
[00:55:52] *** dark_splinter has quit IRC
[00:56:05] *** dariocravero has quit IRC
[00:56:33] *** infpetal has quit IRC
[00:56:54] *** waylon999 has joined #angularjs
[00:58:04] *** Tidwell has joined #angularjs
[01:00:49] *** elrabin has quit IRC
[01:01:30] *** waylon999 has quit IRC
[01:01:30] *** rho has quit IRC
[01:02:08] *** randombob has left #angularjs
[01:02:12] *** phuh has quit IRC
[01:02:38] *** phuh has joined #angularjs
[01:02:59] *** knownasilya has quit IRC
[01:03:10] *** infpetal has joined #angularjs
[01:04:12] *** recidive has quit IRC
[01:04:34] *** tomzx`afk is now known as tomzx
[01:04:49] *** Aswebb has quit IRC
[01:05:21] *** enigmarm has quit IRC
[01:05:54] *** cthrax has quit IRC
[01:06:44] *** vbabiy has joined #angularjs
[01:06:45] *** tfennelly has joined #angularjs
[01:09:04] *** mspier is now known as mspier_off
[01:09:22] <visionary> hey
[01:10:17] <visionary> i have a service that posts params
[01:10:30] <visionary> and there is a param node like
[01:11:04] *** mettjus has joined #angularjs
[01:11:11] <visionary> params: {field:'@one',field:'@two'}
[01:12:00] *** olveraricardo72 has joined #angularjs
[01:12:28] <visionary> is there a way to specify not to pass a field if a field is null
[01:14:06] *** scrooge_mcduck has quit IRC
[01:14:36] *** mspier_off is now known as mspier
[01:14:51] *** Tidwell has quit IRC
[01:15:04] *** slainer6_ has quit IRC
[01:15:10] <oniijin> do a check?
[01:15:25] *** FunnyLookinHat has quit IRC
[01:16:59] *** ReactiveIO has joined #angularjs
[01:17:19] *** Tidwell has joined #angularjs
[01:18:27] *** knownasilya has joined #angularjs
[01:18:36] *** Reite has quit IRC
[01:19:20] *** s3shs has joined #angularjs
[01:19:36] *** Gambit- has quit IRC
[01:20:38] *** Nizumzen has joined #angularjs
[01:20:43] *** ascarter has quit IRC
[01:21:23] *** feelfine has quit IRC
[01:22:42] *** bmac has quit IRC
[01:23:17] *** infpetal has quit IRC
[01:25:41] *** eee_ has joined #angularjs
[01:26:48] *** cthrax has joined #angularjs
[01:27:05] *** slainer68 has joined #angularjs
[01:27:49] *** ericrav has joined #angularjs
[01:30:49] *** eee_ has quit IRC
[01:31:57] *** ericrav has quit IRC
[01:32:23] *** jerev is now known as jerev_away
[01:32:34] *** richiebkr has joined #angularjs
[01:33:28] *** umib0zu has quit IRC
[01:33:40] *** ericrav has joined #angularjs
[01:33:49] *** feelfine has joined #angularjs
[01:36:08] *** FIFOd[a] has joined #angularjs
[01:37:22] *** klaut has quit IRC
[01:37:31] *** gunn has joined #angularjs
[01:37:40] *** bayousoft has joined #angularjs
[01:37:41] *** waylon999 has joined #angularjs
[01:38:07] *** ericrav has quit IRC
[01:38:32] *** Tidwell has quit IRC
[01:39:15] *** OffTheRails has joined #angularjs
[01:39:19] *** conan_the_destro has quit IRC
[01:40:20] *** benjamingr has quit IRC
[01:40:33] *** FIFOd[a] has quit IRC
[01:41:11] *** LoveAndHappiness has joined #angularjs
[01:41:16] <LoveAndHappiness> hi guys
[01:41:22] <LoveAndHappiness> please someone help me understan
[01:41:23] <LoveAndHappiness> d
[01:41:53] <LoveAndHappiness> If angularjs has already bi-directionaly realtime data binding.
[01:42:34] <Foxandxss> keep going
[01:42:43] <LoveAndHappiness> why does anyone then need the service of pusher or pubnub
[01:42:58] <Foxandxss> pubsub is not needed
[01:42:58] <LoveAndHappiness> to make realtime applications
[01:43:02] <Foxandxss> ah
[01:43:13] <LoveAndHappiness> wait
[01:43:21] *** jonnybro has joined #angularjs
[01:43:26] <LoveAndHappiness> hm...
[01:44:00] <LoveAndHappiness> I am not sure if I don't understand something entirely here, but pusher and pubnub is not like firebase
[01:44:02] <LoveAndHappiness> is it7
[01:44:47] *** waylon999 has quit IRC
[01:44:51] *** flocca has joined #angularjs
[01:44:54] <LoveAndHappiness> So, I could just run angularjs with a php/mysql backend and have the frontend load, without refreshing the page...
[01:45:14] *** TyrfingMjolnir has joined #angularjs
[01:45:23] <LoveAndHappiness> but the client wouldn't get real time changes, if something changes on the server, right?
[01:45:28] <Foxandxss> right
[01:45:30] <LoveAndHappiness> that's what firebase is for
[01:45:37] *** richiebkr has quit IRC
[01:45:43] <Foxandxss> not exactly, but firebase also does that
[01:45:46] <LoveAndHappiness> what is pusher and pubnub needed then
[01:45:48] <Foxandxss> focus on the "also" :P
[01:46:10] <LoveAndHappiness> that's what I don't understand
[01:46:22] <Foxandxss> I am not familiar with those libraries I am afraid
[01:46:34] <Foxandxss> but I guess those are just websockets
[01:46:37] *** badon has quit IRC
[01:46:43] <LoveAndHappiness> yes they are websockets
[01:47:09] <LoveAndHappiness> nonetheless I hadn't any idea yesterday, what a websokets was.
[01:47:40] <LoveAndHappiness> I'll try to find a pusher irc channel
[01:47:46] <Foxandxss> basically you need an open connection with your server
[01:47:57] <Foxandxss> so when the server has something to share (an update) angular will know
[01:48:02] <Foxandxss> and update the views in real time
[01:48:03] *** mamian has joined #angularjs
[01:48:06] *** bayousoft has quit IRC
[01:48:27] *** CodeFriar has quit IRC
[01:48:47] <LoveAndHappiness> and this open connection is done by websockets, you say.
[01:49:03] *** flocca has quit IRC
[01:49:04] <Foxandxss> yes
[01:49:16] <LoveAndHappiness> makes sense
[01:49:48] <snurfery> oniijin: (just read your response above) lol
[01:49:54] *** slainer68 has quit IRC
[01:50:06] <LoveAndHappiness> So someone could still keep his mysql database and use websockets to get a real time effect
[01:50:16] *** richiebkr has joined #angularjs
[01:50:19] <LoveAndHappiness> without switching to firebase
[01:50:32] <snurfery> LoveAndHappiness: if he knew how, anything is possible
[01:50:44] <snurfery> if he didn't know how, he should use a service that simplifies it for the masses
[01:50:47] <snurfery> i.e. firebase
[01:51:07] <amergin> what's the way to append multiple attributes to a DOM element
[01:51:08] *** Tidwell has joined #angularjs
[01:51:17] *** visionary has quit IRC
[01:51:19] <Foxandxss> LoveAndHappiness: indeed, firebase just does that for you
[01:51:22] <Foxandxss> you can do that by hand
[01:51:58] <amergin> say I have <body> and at some point I want to modify $rootScope variable that controls these attributes that will be appended to the element
[01:52:01] <snurfery> firebase/similar services cost a few bucks a month, sure, but how much dev/admin time would go into spinning your own janky homegrown solution? that's the question
[01:52:19] <snurfery> amergin: that sounds like jquery-speak
[01:52:20] *** bayousoft has joined #angularjs
[01:53:00] <snurfery> amergin: so you're trying to optionally add some stuff to your dom eh?
[01:53:10] *** tmrudick has quit IRC
[01:53:21] *** encrypt3d_fracti has quit IRC
[01:53:31] <snurfery> in the template, use ng-show or ng-if to decide whether the elements are there or not
[01:53:59] *** rodyhaddad has joined #angularjs
[01:54:09] <amergin> the problem is that I want to bind keypresses to <body> (left,right) on a photo gallery. but the gallery's view template is not in the scope of that body since it's way more up in the hierarchy
[01:54:21] <opus_> hey guys, whats wrong with my simple ng-repeat? http://plnkr.co/edit/OGM8kwnmVtl6kb2ttOGp?p=preview
[01:54:34] *** LoveAndHappiness has quit IRC
[01:54:44] <opus_> I can't believe I can't figure out this simple ng-repeat issue
[01:54:50] *** DrMabuse has quit IRC
[01:55:03] *** LoveAndHappiness has joined #angularjs
[01:55:10] <amergin> basically I just want ui-keyup="{'left':'goPrev($event)', 'right': 'goNext($event)', 'esc': 'close($event)'}" applied to my <body> at some point of my application
[01:55:17] <amergin> what's the angular way of doing that
[01:55:37] <snurfery> amergin: make a service that has each of those functions as a method
[01:55:39] *** scrooge_mcduck has joined #angularjs
[01:55:56] <snurfery> i.e. GalleryService.goPrev()
[01:56:10] *** scrooge_mcduck has quit IRC
[01:56:30] <snurfery> and that GalleryService will be controlling your actual gallery too
[01:56:46] <amergin> goPrev is only a $state.go(..) call
[01:57:06] <amergin> sounds fishy to place that in a service
[01:57:06] <LoveAndHappiness> sorry, I keep disconnecting
[01:57:08] *** m3l720 has quit IRC
[01:57:22] *** goodbomb has quit IRC
[01:57:56] *** joshontheweb has joined #angularjs
[01:58:21] <amergin> actually I do have a service that pretty much controls the gallery, but I'd think these kind of things fall under the state controller's domain
[01:58:51] <opus_> if anybody could help me, I'm stumped: I can't see why this doesn't work...
[01:59:01] *** zumba_addict has joined #angularjs
[01:59:04] <opus_> http://plnkr.co/edit/OGM8kwnmVtl6kb2ttOGp?p=preview
[01:59:22] <snurfery> doesn't sound fishy at all to me. functionality that's shared/distributed amongst controllers should be separated into services, factories, providers or directives
[01:59:38] <Foxandxss> opus_: that is not a working example
[01:59:39] <snurfery> controllers just glue the models to the various services
[01:59:43] <zumba_addict> hey folks, how do we call $http inside provider but not inside this.$get? I want to call it with my setUrlEndpoints() function
[01:59:47] *** foobarbazbat has quit IRC
[02:00:03] <amergin> isn't there just a <body ng-attrs-blahblah-directive="{objectInRootScope}"> and then I could modify the rootscope object in the state controller
[02:00:33] <opus_> Foxandxss, yes, i know it isn't working. thats why I am trying to do, get it working.
[02:00:34] *** subnl has joined #angularjs
[02:01:30] *** mamian has quit IRC
[02:01:44] <opus_> maybe you mean I accidently striped out some needed code
[02:01:45] <opus_> one sec
[02:02:14] *** phuh has quit IRC
[02:02:16] *** Jdubs has quit IRC
[02:02:40] *** phuh has joined #angularjs
[02:03:17] <opus_> this is what I based my example on: (working) http://plnkr.co/edit/nBUQdF6iisQyIryaY3pK?p=preview this is what isn't working : (above plunkr)
[02:03:43] <amergin> snurfery: and if I were to move those methods to the service, I'd still need the actual state parameters from the state controller. doesn't help me one bit
[02:03:52] <opus_> I'm not sure how to that got communicating that I needed help, and it is not working, I know its not working (?). I was wondering if you could help me get it working (?)
[02:04:10] *** jonnybro has quit IRC
[02:04:37] <Foxandxss> what's not working?
[02:04:46] <opus_> ng-repeat
[02:05:36] *** LoveAndHappiness has quit IRC
[02:05:41] <Foxandxss> I see it working on thislatter example
[02:05:55] *** tilgovi has quit IRC
[02:06:05] <opus_> yes, my version does not work.
[02:06:06] *** eamonn has joined #angularjs
[02:06:22] <opus_> I need help getting it to work, can anybody help me?
[02:06:43] <opus_> to be clear, I don't need help getting the one that is working to work because it already works. Thanks
[02:06:52] <Foxandxss> your are not even loading that protractor.js on your example
[02:06:56] <opus_> Need help on the one that isn't working.
[02:07:41] <opus_> Ok, well let me cook up a better example then? would that help? I just clicked on the Angular document for ng-repeat and put in my data
[02:07:43] *** raghunayyar has quit IRC
[02:08:09] *** vbabiy has quit IRC
[02:08:12] <Foxandxss> a better example would help
[02:08:15] <Foxandxss> check the topic for a good template
[02:09:34] *** tarkus has quit IRC
[02:09:54] <morenoh149> I have the following code https://gist.github.com/morenoh149/08b0b51692b05e5a25af How do I tell desctructiveButtonClicked what function to run without running it immediately?
[02:09:59] *** Nijikokun has quit IRC
[02:11:23] *** blueadept` has quit IRC
[02:11:23] *** mercwithamouth has quit IRC
[02:11:29] *** ericrav has joined #angularjs
[02:11:32] *** Tidwell has quit IRC
[02:12:45] <snurfery> amergin: of course there's a controller involved
[02:12:46] <opus_> Foxandxss, how about this: http://codepen.io/davidje/pen/Iayho
[02:12:57] <opus_> ah crap
[02:13:01] <snurfery> and of course you need stuff from it
[02:13:01] <opus_> forgot $scope.data =
[02:13:03] *** AciD`` has quit IRC
[02:13:58] <Foxandxss> is the same incomplete thing
[02:14:01] <Foxandxss> but on a different url
[02:14:02] *** bmac has joined #angularjs
[02:14:13] <Foxandxss> I don't think that is gonna work
[02:14:19] <Foxandxss> check the url on the topic
[02:14:21] <Foxandxss> and work there
[02:14:22] *** eamonn has quit IRC
[02:14:23] <Foxandxss> much easier
[02:14:38] <snurfery> if you build a service, you can inject it wherever you need and share state
[02:15:24] *** Tidwell has joined #angularjs
[02:15:45] <snurfery> amergin that's the angular way. If you want some messy, hacky code, just stuff everything on $rootScope and it can be your little secret haha ;)
[02:16:11] <opus_> Foxandxss, thanks, got it working not sure what was wrong
[02:16:22] <opus_> I shouldn't just plunkr from the angular js docs, to confusing
[02:16:46] <amergin> snurfery: I just don't see the benefit. the problem is that the directives have to be applied to the body element. anywhere within that, and the element is not focused without a mouse click, which makes the keypresses useless.
[02:16:58] <snurfery> that's fine
[02:17:02] <snurfery> your body needs a controller
[02:17:11] <snurfery> your service can be injected into the controller
[02:17:16] <snurfery> voila
[02:17:24] <amergin> hmm
[02:17:40] <snurfery> service = shared state, shared functionality
[02:17:49] <snurfery> injectable everywhere
[02:18:07] <amergin> but I already have controller for <html> that is the default controller for the whole app
[02:18:29] *** Vinnyceptr has joined #angularjs
[02:18:50] <amergin> and the directives applied to <body> are not active the whole time
[02:19:13] <snurfery> it is a tool
[02:19:21] <amergin> only at specific states
[02:19:24] <snurfery> you'll have to figure out how to use it for your specific use case ;)
[02:19:25] *** tfennelly has quit IRC
[02:19:30] <snurfery> that's why you make the big dollas
[02:19:32] <snurfery> =D
[02:19:35] <Foxandxss> directives on html?
[02:19:37] <Foxandxss> sounds ungular
[02:19:46] <snurfery> (on <body> in his case)
[02:20:19] <snurfery> I think he has a controller on html and some directives on body that optionally need to catch a keypress
[02:20:34] <amergin> https://angular-ui.github.io/ui-utils/ keypress is the directive
[02:20:36] <plex0r> hello could anyone please tell me the difference between yeoman and mean.io?
[02:20:54] <snurfery> so someone can press right or left on the keyboard and go next/previous on a gallery
[02:21:07] *** MANCHUCK has quit IRC
[02:21:18] *** vbabiy has joined #angularjs
[02:21:22] <amergin> /photos/album/72157645692687383/image/14450508540/
[02:21:33] *** ChrisOei has quit IRC
[02:21:34] *** IronH0rse has quit IRC
[02:21:38] <amergin> under photos.album.image state, I want the keypress to attach to <body>
[02:21:50] *** ChrisOei has joined #angularjs
[02:22:14] <amergin> under different states like photos or photos.album or about or whatever, the body is without the keypress directive
[02:22:31] *** RichardLitt has left #angularjs
[02:22:33] *** chrisramon has joined #angularjs
[02:23:10] <amergin> and the left, right just changes the photos.album.image state to next image (see the url)
[02:23:15] *** mehlah has quit IRC
[02:23:42] *** ericrav has quit IRC
[02:23:45] *** encrypt3d_fracti has joined #angularjs
[02:23:54] *** Nizumzen has quit IRC
[02:24:23] <amergin> this would be a whole lot easier to handle if I could somehow get the default focus on a element that is within <body>, then I could handle this thing in the photos.album.image state's template
[02:24:52] *** marr has quit IRC
[02:25:04] *** boneskull has joined #angularjs
[02:25:40] *** DrMabuse has joined #angularjs
[02:25:48] *** pHcF has joined #angularjs
[02:25:57] *** vbabiy has quit IRC
[02:26:51] <amergin> maybe I could just write a simple directive that adds $('img').focus(); for the image in the template and see where that takes me.
[02:27:06] *** mettjus has quit IRC
[02:27:12] *** juanlas has quit IRC
[02:27:43] *** ngoyal has quit IRC
[02:28:05] *** ngoyal has joined #angularjs
[02:28:14] *** bayousoft has quit IRC
[02:28:15] *** AngularUI has joined #angularjs
[02:28:15] <AngularUI> [bootstrap] calekennedy opened pull request #2479: feat(popover): added template as per requests in issue #220, took code from jbruni (master...master) http://git.io/5PbTKA
[02:28:15] *** AngularUI has left #angularjs
[02:28:24] *** encrypt3d_fracti has quit IRC
[02:28:24] *** mettjus has joined #angularjs
[02:28:37] *** jonnybro has joined #angularjs
[02:28:44] *** ReactiveIO has quit IRC
[02:28:47] *** dc has joined #angularjs
[02:29:18] *** ReactiveIO has joined #angularjs
[02:29:29] *** nemothekid has quit IRC
[02:29:31] *** ReactiveIO has quit IRC
[02:29:38] *** ericrav has joined #angularjs
[02:30:02] *** oste has joined #angularjs
[02:30:04] *** DrMabuse has quit IRC
[02:30:14] *** fg3 has joined #angularjs
[02:30:15] *** tibi has joined #angularjs
[02:30:20] <tibi> hi
[02:30:27] <fg3> allo
[02:30:45] <fg3> any testing gurus in the house
[02:30:58] *** ch3mical is now known as therealklanni
[02:31:08] *** Tidwell has quit IRC
[02:31:12] *** gnrlbzik has joined #angularjs
[02:31:15] <tibi> anyone know tutorial or anyone can provide a link with an example on how to make alias in url's for id's? like /user/1232 its the same with /user/tibi?
[02:31:33] <Foxandxss> fg3: ask right away
[02:31:34] *** jstroem has joined #angularjs
[02:32:07] *** waylon999 has joined #angularjs
[02:32:51] *** TorchDragon has joined #angularjs
[02:33:12] *** Nijikokun has joined #angularjs
[02:34:00] <fg3> I'm testing a factory that has dependencies - 1) I added debug statements to the factory and I don't see the dependencies being resolved. 2) The factory method is passed a callback but debug statements show it as undefined. --- h e l p
[02:34:35] <Foxandxss> it should load the dependencies
[02:34:52] *** RobinBAwesome has quit IRC
[02:35:06] *** bbankes has joined #angularjs
[02:35:08] *** henn1nk has joined #angularjs
[02:35:19] *** Tidwell has joined #angularjs
[02:35:58] *** subnl has quit IRC
[02:36:00] *** jstroem has quit IRC
[02:36:00] *** bayousoft has joined #angularjs
[02:36:03] *** Jdubs has joined #angularjs
[02:36:43] *** cthrax has quit IRC
[02:36:59] *** Jdubs has quit IRC
[02:37:17] *** Jdubs has joined #angularjs
[02:37:17] *** TorchDragon has quit IRC
[02:37:17] *** gnrlbzik has quit IRC
[02:37:47] <tibi> anyone know tutorial or anyone can provide a link with an example on how to make alias in url's for id's? like /user/1232 its the same with /user/tibi?
[02:39:07] <Foxandxss> we read you, no need to repeat
[02:39:09] <fg3> Foxandxss: #1 has bee solved) it's loading dependencies - was my bad debug statement
[02:39:25] <Foxandxss> I see
[02:40:10] *** jonnybro has quit IRC
[02:40:27] <fg3> Foxandxss: #2 has bee solved) it's loading dependencies - was my bad debug statement
[02:40:32] *** gnrlbzik has joined #angularjs
[02:40:37] *** defaultdict has quit IRC
[02:40:44] <fg3> that's means it's time for a beer?
[02:40:55] <Foxandxss> no
[02:41:07] <fg3> you're right
[02:41:10] <fg3> too much work
[02:42:21] *** rodyhaddad has quit IRC
[02:42:38] *** ziyadb has joined #angularjs
[02:43:05] *** mspier is now known as mspier_off
[02:43:10] *** sdouglas has joined #angularjs
[02:43:32] *** bphogan_afk is now known as bphogan
[02:43:42] *** kanzure_ is now known as kanzure
[02:44:20] *** ReactiveIO has joined #angularjs
[02:44:26] *** jonnybro has joined #angularjs
[02:44:27] *** fixl has joined #angularjs
[02:44:59] *** lordkryss has quit IRC
[02:45:57] *** desmond has quit IRC
[02:45:58] <fg3> myService: in the browser the $q.all resolves, in my tests it does not resolve. ideas?
[02:46:16] <Foxandxss> you need to manually $digest
[02:46:20] <Foxandxss> to make promises run
[02:46:27] *** ngoyal has quit IRC
[02:46:54] *** rawGem has joined #angularjs
[02:47:07] <fg3> I have a $rootScope.$digest(); in the code - but probably the wrong place
[02:47:10] *** bphogan is now known as bphogan_afk
[02:47:22] *** subnl2 has joined #angularjs
[02:47:31] <Foxandxss> I wrote this: http://angular-tips.com/blog/2014/02/introduction-to-unit-test-toc/
[02:47:34] <Foxandxss> I Talk about that there
[02:47:36] <Foxandxss> I have to go
[02:47:36] <Foxandxss> 3 am
[02:47:40] *** Foxandxss has quit IRC
[02:47:44] <fg3> oooh - have a good sleep
[02:48:15] *** chrisramon has quit IRC
[02:48:58] *** greg5gre_ has joined #angularjs
[02:49:28] *** jareddlc has quit IRC
[02:49:53] *** waylon999 has quit IRC
[02:50:37] *** ngoyal has joined #angularjs
[02:50:49] *** gnrlbzik has quit IRC
[02:50:57] *** gunn has quit IRC
[02:51:23] *** gnrlbzik has joined #angularjs
[02:51:34] *** joshontheweb has quit IRC
[02:51:38] *** greg5green has quit IRC
[02:51:43] *** Aliks_ has quit IRC
[02:51:47] *** e-dard_afk is now known as e-dard
[02:52:30] *** mrkake has quit IRC
[02:52:30] *** vbabiy has joined #angularjs
[02:52:38] *** OdinIncarnate has joined #angularjs
[02:52:38] *** rawGem is now known as new-to-go
[02:53:28] *** gnrlbzik_ has joined #angularjs
[02:53:34] *** sutabi has joined #angularjs
[02:53:58] *** gnrlbzik has quit IRC
[02:53:59] *** SpearThruster has quit IRC
[02:54:16] *** bmac has quit IRC
[02:54:30] *** greg5green has joined #angularjs
[02:54:30] *** greg5green has joined #angularjs
[02:54:50] *** jonnybro has quit IRC
[02:55:37] *** ibk has joined #angularjs
[02:55:53] *** cv has joined #angularjs
[02:56:02] *** encrypt3d_fracti has joined #angularjs
[02:56:17] *** cv has quit IRC
[02:56:31] <ibk> hi all, any idea why my controller got executed on each route change? I have debug this issue for some hours and can't find a way
[02:56:32] *** vbabiy has quit IRC
[02:56:35] *** whunt has quit IRC
[02:56:55] *** dazs has quit IRC
[02:58:04] *** zwacky has quit IRC
[02:58:07] *** greg5gre_ has quit IRC
[02:58:07] *** jbogarin has left #angularjs
[02:58:30] *** gnrlbzik_ has quit IRC
[02:58:54] *** goodbomb has joined #angularjs
[02:59:51] *** htowngangsta has quit IRC
[03:00:05] *** mrkake has joined #angularjs
[03:00:11] *** boneskull has quit IRC
[03:00:34] *** encrypt3d_fracti has quit IRC
[03:00:50] *** Jdubs has quit IRC
[03:01:36] *** goodbomb has quit IRC
[03:01:51] *** Jdubs has joined #angularjs
[03:02:07] *** e-dard is now known as e-dard_afk
[03:02:15] *** phuh has quit IRC
[03:02:24] *** goodbomb has joined #angularjs
[03:02:40] *** phuh has joined #angularjs
[03:03:37] *** Jdubs has quit IRC
[03:03:45] *** tibi has quit IRC
[03:03:57] *** DrMabuse has joined #angularjs
[03:05:24] *** Jdubs has joined #angularjs
[03:06:39] *** eamonn has joined #angularjs
[03:07:11] *** dc has quit IRC
[03:07:14] *** new-to-go has quit IRC
[03:08:32] *** DrMabuse has quit IRC
[03:08:51] *** Shrooms has joined #angularjs
[03:09:53] *** morenoh149 has quit IRC
[03:10:59] *** Jdubs has joined #angularjs
[03:11:06] *** eamonn has quit IRC
[03:11:22] *** tfennelly has joined #angularjs
[03:11:38] *** Jdubs has quit IRC
[03:11:45] *** InezK is now known as InezK_away
[03:13:26] *** phuh has quit IRC
[03:13:48] *** richiebkr has quit IRC
[03:13:58] *** screamin_ has joined #angularjs
[03:14:16] *** Emperor_Earth has joined #angularjs
[03:14:34] *** screamingbanshee has quit IRC
[03:14:50] *** screamin_ is now known as screamingbanshee
[03:15:20] *** henn1nk has quit IRC
[03:15:43] *** hswolff has joined #angularjs
[03:15:54] *** tfennelly has quit IRC
[03:15:56] *** mikaeldice has quit IRC
[03:16:22] *** dmack has joined #angularjs
[03:17:26] *** sdouglas has quit IRC
[03:17:52] *** mikaeldice has joined #angularjs
[03:18:09] *** MTGap has quit IRC
[03:20:01] *** lite_ has joined #angularjs
[03:20:22] *** FIFOd[a] has joined #angularjs
[03:20:22] <oste> i have an img tag in a ng-repeat loop and i am getting a 404 when the model being repeated is empty []
[03:20:33] *** caitp has quit IRC
[03:20:50] <oste> why does my img tag even get reached?
[03:21:45] *** freeman42 has quit IRC
[03:22:16] *** BobbieBarker has quit IRC
[03:22:39] *** lite_ has quit IRC
[03:23:57] *** busticated has quit IRC
[03:24:04] *** OffTheRails has quit IRC
[03:25:09] *** InezK_away is now known as InezK
[03:26:22] *** subnl2 has left #angularjs
[03:29:24] *** desmond has joined #angularjs
[03:31:18] *** ckboii89 has joined #angularjs
[03:31:27] *** mercwithamouth has joined #angularjs
[03:31:49] *** goodbomb has quit IRC
[03:31:55] *** tomh- has quit IRC
[03:32:25] *** jstroem has joined #angularjs
[03:32:47] *** mettjus has quit IRC
[03:32:50] <wafflejock_> oste: intersting... doesn't seem to happen if you use ng-src in the img
[03:33:07] *** flocca has joined #angularjs
[03:33:16] <wafflejock_> oste: http://plnkr.co/edit/ipv6sN7pQIaup2ESTpJB?p=preview
[03:33:29] *** Emperor_Earth has quit IRC
[03:33:38] <wafflejock_> ibk: this is regular behavior
[03:33:57] <wafflejock_> ibk: if you have a controller setup in ngRoute or ui-router a new instance of the controller is called each time the route changes
[03:34:02] *** fedenunez has joined #angularjs
[03:34:42] <oste> of course gotta do it the ng way
[03:34:51] <oste> thanks wafflejock
[03:35:09] <wafflejock_> oste: np agree though it's weird the img tag got processed anyhow in the ng-repeat with 0 elements
[03:35:43] <oste> yeah, i tried ng-if as well
[03:35:59] <oste> gotta be careful with img i guess
[03:36:16] *** ReactiveIO has quit IRC
[03:36:32] *** jstroem has quit IRC
[03:37:10] <wafflejock_> ah okay... so if the page is read by the browser before angular executes that makes sense actually
[03:37:12] *** atomical has quit IRC
[03:37:32] *** Shrooms has quit IRC
[03:37:34] <wafflejock_> so before ng-if or ng-repeat could remove it the browser saw the src tag and started getting the file
[03:37:42] *** flocca has quit IRC
[03:38:00] <oste> huh?
[03:38:17] <wafflejock_> oste: your browser gets the full HTML without processing directives before angular loads and does it's work
[03:38:18] <oste> remove it from the source?
[03:38:32] <wafflejock_> just sayin why ng-src works okay but src doesn't
[03:38:34] *** fedenunez has quit IRC
[03:38:49] *** fedenunez has joined #angularjs
[03:38:54] <wafflejock_> it's cause before angular is able to start running and see the ng-if and ng-repeat directives and manipulate the DOM the browser has already parsed the img tag
[03:39:04] <oste> i see
[03:39:12] <oste> not like jquery and document ready
[03:39:26] <wafflejock_> oste: well similar thing would happen there
[03:39:36] <wafflejock_> difference being you might add the imgs programatically
[03:39:41] <wafflejock_> but the HTML would have already been read
[03:39:48] *** ASUChander has quit IRC
[03:40:54] <wafflejock_> I wonder if you included angular.js scripts in the HEAD of the HTML doc if it would process early enough to avoid having the tags seen by the browser first but I kind of doubt it
[03:41:05] <oste> nope
[03:41:09] <wafflejock_> ah k
[03:41:16] *** ericrav has quit IRC
[03:41:50] *** ericrav has joined #angularjs
[03:42:37] *** snurfery has quit IRC
[03:43:03] *** olveraricardo72 has quit IRC
[03:43:53] *** Vinnyceptr has quit IRC
[03:43:56] *** tsalb has quit IRC
[03:44:16] <wafflejock_> plex0r: you still around?
[03:44:31] <plex0r> wafflejock_: yes, hi
[03:44:48] <wafflejock_> just scrolled back and saw your question I know yeoman pretty well not so familiar with mean.io
[03:45:06] <plex0r> i am trying them both out but wondering which I should focus on
[03:45:15] <plex0r> if there is advantages/disadvantages
[03:45:34] <plex0r> i am assuming since mean.io is a stack it has database functionality like MAMp
[03:45:39] <plex0r> and yeoman does not?
[03:45:47] <wafflejock_> yeoman is basically a "scaffolding tool" so it just fetches some preconfigured project with some options like do you want to include bootstrap etc. etc. and ends up writing a package.json file which is used by node package manager (npm) and sets up bower.json read by the bower process for installing dependencies
[03:46:05] <plex0r> ok thanks wafflejock_
[03:46:14] *** ericrav has quit IRC
[03:46:27] <plex0r> i was able to spin up a webapp in yeoman in about 20 minutes
[03:46:30] <wafflejock_> MEAN as far as I understand it is Mongo Express Angular and Node and like you said Mongo is a DB portion express is the middle layer that runs on Node and Angular is the front end
[03:46:44] <wafflejock_> yeah so you can probably find yeoman generators for the MEAN stack
[03:46:49] <plex0r> but have not been able to get mean.io running
[03:47:02] <fg3> I have a service I'm trying to test. Inside the service is a $q.all() which is not firing. I call $rootScope.$apply() to trigger a digest in my tests. ideas?
[03:47:08] <plex0r> ah okay, so it seems as though mean.io is just heavier and for bulkier apps then i suppose?
[03:47:22] *** TheAceOfHearts has quit IRC
[03:47:24] <plex0r> and yeoman could be integrated with mean.io
[03:47:53] <wafflejock_> well it's more yeoman is just used to setup your app
[03:48:08] <wafflejock_> and it gets all the stuff you'll need to run it and build tests maybe and stuff like that
[03:48:16] <wafflejock_> one of those setups is probably for the MEAN stack
[03:48:18] <plex0r> ok so yeoman gives you the tools to build
[03:48:23] <wafflejock_> yup
[03:48:33] *** clearcut has joined #angularjs
[03:48:39] <plex0r> awesome thanks wafflejock_
[03:48:41] <plex0r> much appreciated
[03:48:43] <wafflejock_> yup np
[03:49:23] <house> the term MEAN was coined before they made the mean.io website. it seems now adays mean and mean.io are becoming synonymous
[03:49:55] <house> random musings.
[03:49:56] *** wallerdev has quit IRC
[03:50:24] *** ChrisOei has quit IRC
[03:50:33] <wafflejock_> yeah haven't played with either here yet
[03:50:48] *** ChrisOei has joined #angularjs
[03:50:53] <wafflejock_> I use node for grunt and friends but haven't actually tried using it as a platform to build anything yet
[03:50:56] *** eshlox has quit IRC
[03:51:05] *** nemothekid has joined #angularjs
[03:51:07] <wafflejock_> I think socket.io is a compelling reason to check it out though
[03:51:24] <plex0r> I have been using PHP for a few years and am getting into js and am just wondering which frameworks to target
[03:51:29] <plex0r> it seems as though there are so many
[03:51:33] <plex0r> i find it difficult to keep up with
[03:51:58] <wafflejock_> plex0r: yeah well Angular is doing pretty well at the moment in terms of popularity and really lots of the frameworks are starting to "converge" to some degree
[03:52:22] <plex0r> wafflejock_: awesome i just did a yeoman app with angular
[03:52:28] <wafflejock_> plex0r: the Google Polymer stuff looks very similar and also interesting and I have heard a lot about WebComponents and new ECMA 6 stuff
[03:52:35] <plex0r> i have also been reading gulp.js and following that..
[03:52:53] <wafflejock_> plex0r: yeah gulp and grunt are similar build tools
[03:53:02] <plex0r> okay cool i have been using grunt
[03:53:08] <plex0r> i saw more plugins for grunt so i went with that
[03:53:11] *** jchamberlain has joined #angularjs
[03:53:27] <wafflejock_> gulp just keeps the stuff in memory and pipes from one process to another like you say grunt has more stuff available though gulp is pretty well populated with plugins too
[03:53:45] <wafflejock_> grunt has more of a read from one place write to another setup for all it's config
[03:54:03] <plex0r> thanks for all the info
[03:54:26] <wafflejock_> yup good chatting for a bit
[03:54:44] <plex0r> is there any blogs that are decent for keeping up with the latest js trends and technology?
[03:55:23] <wafflejock_> I listen to some JS podcasts here or there but don't really have a committment to any one blogger in terms of JS
[03:55:57] <wafflejock_> there were some rockstar guys in AS3 like Doug McCune and Mr. Doob and Grant Skinner, but I don't know any big names in JS (I'm sure those guys are still hacking away)
[03:56:36] <wafflejock_> Ben Nadel does good stuff I guess and John Lindquists videos have helped tons of people
[03:56:47] <plex0r> i feel as though 25% of web development is trying to stay current and relevant
[03:56:56] *** bicranial has joined #angularjs
[03:57:08] <plex0r> i had just managed to nail down zend in php and then clients started asking for laravel
[03:57:33] *** night-owl-MBP has joined #angularjs
[03:57:57] <wafflejock_> eh I don't know things don't really change as fast as the hype would make you think... some people still want IE 8 support and the things you learn still apply in the future
[03:58:07] *** stirlingw has joined #angularjs
[03:58:27] *** Shrooms has joined #angularjs
[03:58:41] *** Willow__ has quit IRC
[03:58:45] <wafflejock_> like I came from a CS degree -> worked with AS3 -> learned to do EE Java dev -> went back to PHP/JS dev but all the stuff I learned in Java/AS3 pretty much has some equivalence in the new stuff I use
[03:59:08] *** Willow__ has joined #angularjs
[03:59:08] <plex0r> I did a CS degree too
[03:59:13] <plex0r> we were drilled with python and php
[03:59:28] <wafflejock_> ah we were drowned in Java most of the time
[03:59:38] <wafflejock_> I did C/C++ where I was allowed to choose usually
[04:00:08] <wafflejock_> never touched python seriously but I have kind of kept with PHP on and off from the beginning
[04:00:32] <plex0r> Yeah most of the jobs and contracts I do are PHP based with some frontend dev
[04:01:22] <wafflejock_> yup lots of PHP work, most of it crappy... I'm happy with the idea of laravel though... I use Slim for doing my routing typically and just hand craft my data access objects using the MySQL PDO PHP stuff
[04:01:29] <plex0r> Well, wafflejock_ thanks for your time and ideas I'm going to spin up some more web apps and see what I get comfortable with
[04:01:39] <wafflejock_> yup have fun... should get back to it here too
[04:02:03] *** Tidwell has quit IRC
[04:03:03] *** atomical has joined #angularjs
[04:03:08] *** eshlox has joined #angularjs
[04:03:45] *** Willow__ has quit IRC
[04:04:33] *** kalehv has joined #angularjs
[04:04:47] *** desmond has quit IRC
[04:04:48] *** DrMabuse has joined #angularjs
[04:06:29] *** jae has joined #angularjs
[04:06:48] *** Guest93197 has joined #angularjs
[04:07:09] *** greatdex has joined #angularjs
[04:07:12] *** eamonn has joined #angularjs
[04:07:50] *** jchamberlain has quit IRC
[04:08:48] *** cthrax has joined #angularjs
[04:08:56] *** dc has joined #angularjs
[04:09:03] *** DrMabuse has quit IRC
[04:09:47] *** JimTheDev has joined #angularjs
[04:09:47] *** JimTheDev has joined #angularjs
[04:11:07] *** Guest93197 has quit IRC
[04:11:42] *** dcherman has joined #angularjs
[04:11:59] *** eamonn has quit IRC
[04:12:00] *** agronholm has quit IRC
[04:12:15] *** Jdubs has joined #angularjs
[04:12:23] *** dc has quit IRC
[04:12:40] *** bphogan_afk is now known as bphogan
[04:12:55] *** cthrax has quit IRC
[04:13:45] *** ericrav has joined #angularjs
[04:13:56] *** Cache_Money has joined #angularjs
[04:15:19] *** ericrav has quit IRC
[04:15:30] *** stirlingw has quit IRC
[04:15:42] *** agronholm has joined #angularjs
[04:15:54] *** ericrav has joined #angularjs
[04:16:06] *** stirlingw has joined #angularjs
[04:16:46] *** dmack has quit IRC
[04:16:47] *** Jdubs has quit IRC
[04:16:47] *** upsell5 has quit IRC
[04:17:20] *** DrMabuse has joined #angularjs
[04:17:30] *** whunt has joined #angularjs
[04:19:49] *** ReactiveIO has joined #angularjs
[04:20:01] *** Hackwar has joined #angularjs
[04:20:10] *** bkuberek has joined #angularjs
[04:20:24] *** stirlingw has quit IRC
[04:20:24] *** ericrav has quit IRC
[04:21:35] *** fg3 has quit IRC
[04:21:37] *** figs has quit IRC
[04:22:11] *** DrMabuse has quit IRC
[04:22:31] *** Hackwar1 has quit IRC
[04:23:13] *** wilmoore has joined #angularjs
[04:23:29] *** elrabin has joined #angularjs
[04:23:33] *** lite_ has joined #angularjs
[04:25:29] *** bphogan is now known as bphogan_afk
[04:25:33] *** [n0b0dy] has quit IRC
[04:25:43] *** [n0b0dy] has joined #angularjs
[04:28:09] *** lite_ has quit IRC
[04:28:33] *** whunt_ has joined #angularjs
[04:29:19] *** shawnzhu_ has joined #angularjs
[04:30:12] *** whunt has quit IRC
[04:30:41] *** oste has quit IRC
[04:30:56] *** bmac has joined #angularjs
[04:31:10] *** mmitchel_ has quit IRC
[04:31:26] *** JoshGlzBrk has quit IRC
[04:31:29] *** gil has joined #angularjs
[04:32:19] *** bkuberek_ has joined #angularjs
[04:33:00] *** jstroem has joined #angularjs
[04:33:16] *** badon has joined #angularjs
[04:33:56] *** anjumkaiser has quit IRC
[04:34:08] *** TorchDragon has joined #angularjs
[04:34:25] *** theshane has joined #angularjs
[04:35:07] *** bkuberek has quit IRC
[04:35:21] *** [n0b0dy] has quit IRC
[04:35:32] *** [n0b0dy] has joined #angularjs
[04:35:40] *** Gambit- has joined #angularjs
[04:36:09] <theshane> Hello all, can anyone point me to something that explains when to use a factory vs a service? I understand the difference but cant figure out why I would want a factory beside a service
[04:36:59] *** clearcut has quit IRC
[04:37:17] *** frickettz has joined #angularjs
[04:37:37] *** jstroem has quit IRC
[04:38:20] *** waylon999 has joined #angularjs
[04:40:07] *** TorchDragon has quit IRC
[04:41:37] *** dman777_alter has joined #angularjs
[04:42:11] <dman777_alter> hi, is it possible to make a countdown timer in a service rather than a controller? all the examples I have seen do it from the controller
[04:42:23] *** mmitchel_ has joined #angularjs
[04:42:48] *** nagappan has quit IRC
[04:43:11] <theshane> Yea, I do not see why not. You can set intervals in a service and set this.timer++ and then in your controller get service.timer
[04:43:21] *** nagappan has joined #angularjs
[04:43:41] *** caitp has joined #angularjs
[04:43:55] <dman777_alter> theshane: well, I can't number to show up in the template in {{}}
[04:44:10] <theshane> ahh
[04:44:12] *** amargherio has quit IRC
[04:44:23] <theshane> $scope.timer = serviceName.timer
[04:44:29] *** thebigredgeek has joined #angularjs
[04:44:51] <thebigredgeek> Does anyone know of any decent patterns in JS to model a flowchart that has asynchronous actions?
[04:45:06] <thebigredgeek> I thought about using the promise pattern, but it doesn't really support divergent pathways.
[04:45:25] <theshane> But then you would need a second timer, I gather to keep it up to dayt
[04:45:26] <theshane> date
[04:45:45] <dman777_alter> theshane: http://bpaste.net/show/m7de2ecZesVqngZHvN6E/
[04:45:53] <dman777_alter> theshane: can't get the value to show in the data binding
[04:46:08] *** t_p has joined #angularjs
[04:46:08] *** snurfery has joined #angularjs
[04:46:14] <theshane> Ok, let me take a look
[04:46:43] <thebigredgeek> Anyone?
[04:46:54] *** whunt_ has quit IRC
[04:47:02] *** bayousoft has quit IRC
[04:47:12] *** Zesty has joined #angularjs
[04:47:27] *** bmac has quit IRC
[04:48:03] *** caitp has quit IRC
[04:48:08] <Zesty> can someone explain this to me "by reference not by value"
[04:48:12] <Zesty> http://jsfiddle.net/qWzTb/
[04:48:13] *** anjumkaiser has joined #angularjs
[04:48:13] *** whunt has joined #angularjs
[04:50:01] *** bmac has joined #angularjs
[04:50:20] *** waylon999 has quit IRC
[04:50:40] *** Pauking has quit IRC
[04:50:58] <theshane> dman777_alter you got me there. That looks like it should work. Did you try just setting it to a static int to see if it will show then?
[04:51:08] <dman777_alter> Zesty: not sure about that but...basically, when pass a variable to a function in JS you are passing the value of that variable.
[04:51:54] <dman777_alter> Zesty: to pass by reference you make a object.... variable.object_Name= { yo: blah }
[04:52:35] <dman777_alter> theshane: naw...to tired. thanks though.
[04:52:38] *** ericrav has joined #angularjs
[04:52:39] *** Fire-Dragon-DoL has quit IRC
[04:52:50] * dman777_alter fizzing out
[04:52:59] <Zesty> hmm
[04:53:11] <Zesty> ohhh
[04:53:23] <Zesty> so basically it has to be a 'pointer' to the same variable?
[04:53:33] *** vbabiy has joined #angularjs
[04:54:08] <dman777_alter> Zesty: well, it has to do with objects and prototypes if you want to research that.
[04:54:09] *** anjumkaiser has quit IRC
[04:54:50] <dman777_alter> Zesty: but all in all... I gues you can think of it like that
[04:55:05] <Zesty> i ask because this is what im trying to solve:
[04:55:23] *** busticated has joined #angularjs
[04:55:26] <thebigredgeek> Zesty, the JS interpreter passes complex structures like arrays, objects, and functions by value both for sanity sake (for the programmer) and to save on application memory. In languages like C, you specify pass by reference vs pass by value by the reference operator or pointers. JS doesn't have this, so it simply passes types that in C or C++ you would pass by reference according to best practice by refere
[04:55:26] <thebigredgeek> nce in JS as well.
[04:55:30] *** desmond has joined #angularjs
[04:55:37] *** TheAceOfHearts has joined #angularjs
[04:56:20] <robdubya> thebigredgeek do you speak C?
[04:56:36] *** nemothekid has quit IRC
[04:56:58] <thebigredgeek> robdubya: yup. haven't used it in a while tho. like 2 years. mostly C++/Objective C. I did a lot of OpenGL hacking in High School for little games and what not.
[04:57:12] <thebigredgeek> and Middle School heh. C was my first language. started leraning it at 8
[04:57:24] <dman777_alter> Zesty: exampele... http://bpaste.net/show/aVZm9QdydjeH5KgEk9cY/ line 5.... cpuResult can be passed by reference
[04:57:52] <Zesty> http://pastie.org/9404154 - this is a a select box which when i go to that page and click refresh, it loads the value properly. but when i navigate away from the page (different route) and go back to the page it defaults to the first item
[04:57:58] <Zesty> ok looking now at what you put
[04:58:11] <thebigredgeek> Zesty: basically if you want to pass something by reference you can just stick it on an object.
[04:58:12] *** vbabiy has quit IRC
[04:58:25] <dman777_alter> ^ +1
[04:58:25] <thebigredgeek> However you really don't want to do that with primitives. Better to just return something.
[04:59:15] <robdubya> thebigredgeek yeah. i'm messing with sensors at the moment, it makes me miss JD
[04:59:16] <thebigredgeek> It's bad practice. The reason the JS interpreter works that way is because optimally you want to almost always pass primitives by value and complex structures by reference. It's more performant and just better engineering in general to follow consistent conventions and guidelines
[04:59:17] <robdubya> *js
[04:59:32] <thebigredgeek> robdubya: Try NodeJS bindings?
[04:59:49] <thebigredgeek> I am sure they have some for hardware stuff. Have you used BeagleBone + BoneScript? All NodeJS
[04:59:50] <robdubya> thebigredgeek nah, i'm writing firmware to SoC's
[05:00:00] *** toastynerd has quit IRC
[05:00:04] <thebigredgeek> C?
[05:00:11] <robdubya> http://www.ti.com/tool/cc2541dk-sensor
[05:00:16] <robdubya> prototyping on this
[05:00:26] <thebigredgeek> I usually did firmware with whatever instruction set that chip came with.
[05:00:37] *** desmond has quit IRC
[05:00:37] <thebigredgeek> some form of asm
[05:00:52] <robdubya> yeah - its ASM (though i'm writing C on the ardu protos)
[05:01:01] <robdubya> fucking TI compiler is $4k
[05:01:05] <thebigredgeek> I love asm heh
[05:01:08] <thebigredgeek> It's fun
[05:01:18] <robdubya> want a job?
[05:01:23] <thebigredgeek> its like doing a set of operations on a deck of cards.
[05:01:29] <thebigredgeek> Heh no I'm pretty well booked up atm.
[05:01:39] <dman777_alter> thebigredgeek: primitve or not...if you have a single service share by controllers and you need to keep the state of each one... you will have to use objects
[05:02:11] <thebigredgeek> Zesty sorry I try not to PM. In JS, strings, booleans, numbers, etc, are primitives. Arrays, Objects, and Functions are Complex Structures
[05:02:21] <Zesty> I see
[05:02:23] <thebigredgeek> Get a book on C programming Zesty
[05:02:27] <thebigredgeek> It will help alot
[05:02:42] <thebigredgeek> All of this stuff basically comes from C :)
[05:03:24] <thebigredgeek> Before the days of compiled languages, there were no functions. Just binary digits that tells the CPU to goto a particular address and start executing each instruction there. It's always linear and serial
[05:03:25] <dman777_alter> normally I would agree, but with a framework everything changes. like what I said above about single service shared by controllers in angular.js
[05:03:25] *** bphogan_afk is now known as bphogan
[05:03:47] <Zesty> Ok, I can do that. In the immediate short-term though, if you feel up for it can you explain difference between by value and by reference, in terms of JS?
[05:03:55] <Zesty> just briefly I guess
[05:03:57] <thebigredgeek> dman777_alter: you can just use a collection.
[05:03:59] *** elrabin has quit IRC
[05:04:04] <thebigredgeek> dman777_alter: like angular's $cache
[05:04:13] <thebigredgeek> thats what it is made for
[05:04:15] <thebigredgeek> :)
[05:04:58] <dman777_alter> thebigredgeek: interesting...everyone told me before to use service to keep controllers values when the views change
[05:05:36] *** Left_Turn has quit IRC
[05:05:40] <thebigredgeek> pass by value passes a copy. pass by reference passes the actual variable, which if you modify it also modifies the original. in terms of a function, it also retains the same variable scope
[05:05:53] <thebigredgeek> dman777_alter: $cache is a service :)
[05:06:24] <dman777_alter> thebigredgeek: cool, I will read up on that. thanks
[05:06:27] <thebigredgeek> dman777_alter: you don't need to just make random blank injectable objects. you want something more programmatic because it will prevent spaghetti code
[05:07:21] <dman777_alter> thebigredgeek: can a countdown timer be used from a service? all the examples use controllers and I can't get the value to show up in the template binding http://bpaste.net/show/aVZm9QdydjeH5KgEk9cY/
[05:07:41] *** bmac has quit IRC
[05:08:18] *** lw has joined #angularjs
[05:09:01] <thebigredgeek> dman777_alter: depends on what you mean. if you want something that 'ticks' every N microseconds, it would be better to fire an event every tick and then handle it whereever you want.
[05:09:18] <thebigredgeek> so to do that you could use a service. or just a run block. whatever you want
[05:09:49] <dman777_alter> thebigredgeek: cool! I wish I thought of fireing a event!
[05:10:36] <thebigredgeek> but nothing is really guaranteed in terms of async. Anything async is loaded into a queue which is deferred until the end of the current context. so setInternval technically may not fire on precise intervals if you are doing a bunch of blocking operations. or if you fill up the async queue with hundreds of deferred tasks
[05:11:09] <thebigredgeek> in fact it will only fire on precise intervals if thats the only thing happening
[05:11:36] <thebigredgeek> even most cursor moving causes this to be less precise. best to build your app around seconds... and expect deviation
[05:11:54] <dman777_alter> thebigredgeek: when you say run block...your mean app.run()? ya, I read that setInterval in raw JS wasn't precise, but I never had a issue with that...always been close enough.
[05:12:07] *** thebigredgeek has quit IRC
[05:13:54] *** BillCriswell has joined #angularjs
[05:14:08] <robdubya> dman777_alter you're just trying to do a countdown timer?
[05:14:17] <dman777_alter> robdubya: ya
[05:14:35] <Zesty> ive gone down the youtube rabbithole of value vs reference :S
[05:14:41] *** shawnzhu_ has quit IRC
[05:14:50] <dman777_alter> ahl..man thebigredgeek is gone. he had alot of good into
[05:14:51] <dman777_alter> info
[05:15:03] *** Jdubs has joined #angularjs
[05:16:06] *** [n0b0dy] has quit IRC
[05:16:11] <dman777_alter> Zesty: it's not that complicated....once you get it you'll see it easy. For instance, if you pass foo into function(foo) { foo = 6 } you do not modify foo from where it was passed from.
[05:16:17] *** [n0b0dy] has joined #angularjs
[05:16:26] *** nemothekid has joined #angularjs
[05:16:40] <dman777_alter> Zesty: foo was a disposable container just used to deliver you it's value.
[05:16:50] <dman777_alter> a candy wrapper used and useless now
[05:17:31] <dman777_alter> modifying foo will not have a effect on any other functions that contain foo
[05:17:43] *** shawnzhu__ has joined #angularjs
[05:18:00] <dman777_alter> or the function that called passed foo to function(foo)
[05:18:15] <dman777_alter> hope that makes sense :)
[05:18:46] <dman777_alter> you were only passed the value of foo...not the memory location of that contains the variable foo
[05:18:51] *** desmond has joined #angularjs
[05:18:53] *** L8TR has joined #angularjs
[05:19:45] <robdubya> dman777_alter http://plnkr.co/edit/6g7shnYvqMPB3lLqKSXh?p=preview
[05:19:50] <robdubya> i mean, that's the hacky version
[05:20:42] <Zesty> https://www.youtube.com/watch?v=mh-hPzDfb_Q this video is really good at explaining it
[05:20:54] <Zesty> ive been drinking a lot of scotch though so its kind of mind blowing :o
[05:20:56] <robdubya> see also http://siddii.github.io/angular-timer/examples.html
[05:21:08] <Zesty> so simple
[05:21:16] <Zesty> yet i cant believe i never really noticed that...
[05:21:18] *** flocca has joined #angularjs
[05:21:19] *** thebigredgeek has joined #angularjs
[05:21:19] <robdubya> Zesty it really kinda is
[05:21:28] <thebigredgeek> app.module('foo').run([..., function(){}]); // this
[05:21:30] <dman777_alter> robdubya: thanks...I had success with new Date() but not with just a normal number to count down from
[05:21:32] <thebigredgeek> dman777_alter: ya
[05:21:36] *** waylon999 has joined #angularjs
[05:21:41] <robdubya> you'll notice (now you get it) javascript gets a lot easier
[05:22:08] <robdubya> dman777_alter a "normal number" = some point in the future :)
[05:22:23] <thebigredgeek> heh, once you understand a CPU works all programming gets a lot easier.
[05:22:38] <Zesty> yeah, I've been finding that out a lot more lately. I have always been a backend person who was really 'good' at jquery. not at javascript. since ive been tasked with redoing our entire app in angular and node...
[05:22:39] <thebigredgeek> and once you understand EE and THAT, everything technology is easy heh
[05:22:41] *** LuxuryMo_ has joined #angularjs
[05:22:43] <Zesty> ive been having to learn a lot more
[05:22:54] <Zesty> that is really cool. i definitely appreciate it a lot more
[05:22:59] <Zesty> whereas before I mostly disliked JS
[05:23:04] *** cacts has joined #angularjs
[05:23:22] *** rburns has quit IRC
[05:23:28] <Zesty> so my roles kinda switched to the front end now
[05:23:37] <dman777_alter> thebigredgeek: since you can't pass a $scope into a service, how would you keep track of $scope.variable state if you needed to in a service?
[05:23:56] *** edzez_ has joined #angularjs
[05:24:03] *** lite_ has joined #angularjs
[05:24:07] <thebigredgeek> you don't need to. all you need to do is transmit an initial state and then reduce the state with each subsequent tick.
[05:24:13] *** oste has joined #angularjs
[05:24:13] <dman777_alter> Zesty: I love raw javascrpit. its a shame that most people don't(from my work place)
[05:24:18] <thebigredgeek> you can also use events to REQUEST stuff from other things
[05:24:24] <thebigredgeek> Thats basically how Objective C works :)
[05:24:28] *** dc has joined #angularjs
[05:24:38] <dman777_alter> thebigredgeek: cool...thanks
[05:25:37] *** flocca has quit IRC
[05:25:56] <dman777_alter> robdubya: thanks...I will study that code tommorrow...so tired right now...can't function. It's written really clean...I can also use that to learn to write cleaner services
[05:26:02] *** encrypt3d_fracti has joined #angularjs
[05:26:06] *** CodeFriar has joined #angularjs
[05:26:33] *** edzez has quit IRC
[05:26:40] *** caitp has joined #angularjs
[05:27:22] *** dman777_alter has quit IRC
[05:27:55] *** dc has quit IRC
[05:28:04] *** Cache_Money has quit IRC
[05:28:25] *** thebigredgeek has quit IRC
[05:28:37] *** lite_ has quit IRC
[05:28:38] *** BillCriswell has quit IRC
[05:30:25] *** dc has joined #angularjs
[05:30:33] *** encrypt3d_fracti has quit IRC
[05:31:04] *** dc has quit IRC
[05:31:07] *** optikalmouse has quit IRC
[05:33:55] *** jstroem has joined #angularjs
[05:34:02] *** InezK is now known as InezK_away
[05:34:47] *** bphogan is now known as bphogan_afk
[05:36:33] <ibk> wafflejock_ : thanks, i just remember that what i need is services than controller. You save me for useless debugging again
[05:36:55] *** tfennelly has joined #angularjs
[05:37:07] *** oa_ has joined #angularjs
[05:37:26] *** TorchDragon has joined #angularjs
[05:37:33] *** eamonn has joined #angularjs
[05:38:28] *** jstroem has quit IRC
[05:38:44] *** Shrooms has quit IRC
[05:39:49] *** steffengy has quit IRC
[05:39:50] *** steffengy1 has joined #angularjs
[05:40:29] *** tomzx is now known as tomzx`afk
[05:40:38] *** ericrav has quit IRC
[05:41:10] *** ericrav has joined #angularjs
[05:41:18] *** bphogan_afk is now known as bphogan
[05:41:27] *** TorchDragon has quit IRC
[05:41:33] *** shawnzhu__ has quit IRC
[05:42:04] *** eamonn has quit IRC
[05:42:07] *** xastey has quit IRC
[05:45:17] *** ericrav has quit IRC
[05:46:42] *** Zesty has quit IRC
[05:48:01] *** Dchen has quit IRC
[05:48:25] *** tfennelly has quit IRC
[05:49:15] *** simsketch has quit IRC
[05:50:41] *** L8TR has quit IRC
[05:52:42] *** mercwithamouth has quit IRC
[05:53:37] *** wilmoore has quit IRC
[05:54:43] *** vbabiy has joined #angularjs
[05:56:23] *** [n0b0dy] has quit IRC
[05:56:34] *** [n0b0dy] has joined #angularjs
[05:58:33] *** ericrav has joined #angularjs
[05:58:48] *** cyrusdav- is now known as cyrusdavid
[05:59:03] *** vbabiy has quit IRC
[05:59:48] *** bphogan is now known as bphogan_afk
[06:00:39] *** hnordt has quit IRC
[06:02:20] *** waylon999 has quit IRC
[06:02:37] *** fold has quit IRC
[06:04:15] *** InezK_away is now known as InezK
[06:05:18] *** waylon99_ has joined #angularjs
[06:05:51] *** bphogan_afk is now known as bphogan
[06:06:25] *** [n0b0dy] has quit IRC
[06:06:38] *** [n0b0dy] has joined #angularjs
[06:07:30] *** Shrooms has joined #angularjs
[06:08:04] *** zumba_addict has quit IRC
[06:10:33] <wafflejock_> ibk: yup np
[06:12:37] *** shawnzhu__ has joined #angularjs
[06:13:08] *** lw has quit IRC
[06:14:04] *** InezK is now known as InezK_away
[06:14:25] *** shawnzhu___ has joined #angularjs
[06:14:56] *** jchamberlain has joined #angularjs
[06:17:19] *** shawnzhu__ has quit IRC
[06:18:03] *** bphogan is now known as bphogan_afk
[06:18:41] *** mrogne_afk is now known as mrogne
[06:18:58] *** Emperor_Earth has joined #angularjs
[06:19:11] *** shawnzhu___ has quit IRC
[06:19:41] *** hugorodrigues has quit IRC
[06:20:02] *** JosephBergevin has joined #angularjs
[06:20:16] *** atomical has quit IRC
[06:22:48] *** shinnya has quit IRC
[06:22:58] *** feelfine has quit IRC
[06:23:46] *** FIFOd[a] has quit IRC
[06:24:20] *** hswolff has quit IRC
[06:24:44] *** mercwithamouth has joined #angularjs
[06:25:07] *** ReactiveIO has quit IRC
[06:25:07] *** sysko has joined #angularjs
[06:25:09] *** stevvooe has quit IRC
[06:25:32] *** lw has joined #angularjs
[06:26:13] *** Silne30 has quit IRC
[06:30:37] *** desmond has quit IRC
[06:30:38] *** ericrav has quit IRC
[06:31:14] *** ericrav has joined #angularjs
[06:34:29] *** jstroem has joined #angularjs
[06:35:34] *** ericrav has quit IRC
[06:35:42] *** {DV8} has joined #angularjs
[06:36:27] *** colin_ has joined #angularjs
[06:36:48] *** desmond has joined #angularjs
[06:37:22] *** BobbieBarker has joined #angularjs
[06:37:42] *** MikeMatrix has quit IRC
[06:37:42] <BobbieBarker> is there a way to pass a function through a scope to a directive
[06:37:45] <BobbieBarker> destination="Upload.one().getRestangularUrl()"
[06:37:46] *** lw has quit IRC
[06:37:48] <BobbieBarker> ^^ like that
[06:37:53] <BobbieBarker> or is that just plane crazy talk
[06:38:01] *** TorchDragon has joined #angularjs
[06:38:33] *** eamonn has joined #angularjs
[06:39:03] *** jstroem has quit IRC
[06:40:27] *** mennea has joined #angularjs
[06:40:49] <snurfery> how do ya mean
[06:40:52] *** AlbireoX has quit IRC
[06:40:56] <snurfery> I recognize all this Restangular action
[06:41:23] *** oa_ has quit IRC
[06:41:24] *** mary5030 has joined #angularjs
[06:41:30] <snurfery> does yeah you can totally do that
[06:41:49] <snurfery> as long as 'Upload' is on your scope
[06:42:12] <TheAceOfHearts> BobbieBarker: yes
[06:42:24] <BobbieBarker> yes it's crazy or yes it can be done
[06:42:25] <snurfery> dunno if you need to wrap it in mustaches tho
[06:42:38] *** tfennelly has joined #angularjs
[06:42:44] *** TorchDragon has quit IRC
[06:42:49] <BobbieBarker> ya the upload provider is in scope
[06:43:09] <BobbieBarker> i tried {{}} and it didn't like it
[06:43:11] *** eamonn has quit IRC
[06:43:14] <BobbieBarker> gave me parse error
[06:43:14] <snurfery> it can be done yo, try it out
[06:43:27] *** SomeKittens has quit IRC
[06:43:30] <BobbieBarker> "{{}" or just {{}}
[06:44:04] <snurfery> if you're feeding it to a directive then you prolly don't need that
[06:46:33] *** [n0b0dy] has quit IRC
[06:46:43] *** [n0b0dy] has joined #angularjs
[06:46:44] <BobbieBarker> Error: [$parse:syntax] Syntax Error: Token 'Upload' is unexpected, expecting [:] at column 3 of the expression [{{Upload.one().getRestangularUrl()}}] starting at [Upload.one().getRestangularUrl()}}]
[06:46:50] <BobbieBarker> much hatred from the console
[06:47:24] *** tfennelly has quit IRC
[06:47:24] *** toastynerd has joined #angularjs
[06:47:52] <snurfery> get rid of those mustaches
[06:48:21] <BobbieBarker> no mustaches and it logs out as undefined
[06:49:09] <snurfery> have you console.log()'ed it to make sure it's returning the url you expect?
[06:49:47] *** FuCone has joined #angularjs
[06:49:51] <BobbieBarker> ya i was using the function earlier
[06:49:57] <BobbieBarker> in the directive to post the to server
[06:49:58] <snurfery> and, to confirm, you're saying you DO have a line like this in your controller:
[06:50:04] <snurfery> $scope.Upload = Upload;
[06:50:07] <BobbieBarker> now i'm trying to set a property ont he directive so you can configure the API end point
[06:50:32] <snurfery> ^ muy importante question
[06:50:47] <snurfery> er, confirmation, whatever
[06:51:23] <BobbieBarker> $scope.upload[index] = $upload.upload
[06:51:26] <BobbieBarker> that part works
[06:51:34] <snurfery> my question
[06:51:36] *** futureda_ has quit IRC
[06:51:43] <snurfery> do you have this exact line somewhere in your controller:
[06:51:47] <snurfery> $scope.Upload = Upload;
[06:51:50] <BobbieBarker> oh no
[06:51:53] <snurfery> you need it
[06:52:27] <snurfery> otherwise you can't refer to something called 'Upload' in your markup js
[06:52:43] * snurfery awaits the shout of victory
[06:52:52] *** futuredale has joined #angularjs
[06:52:56] <BobbieBarker> no victory dance here i'm afraid
[06:53:04] * snurfery is crushed
[06:53:04] <BobbieBarker> so should i put that in the directive controller? cuz thats what i just did
[06:53:06] <snurfery> haha
[06:53:09] <snurfery> umm
[06:53:30] <BobbieBarker> for the scope i have scope: { destination: "=",}
[06:53:37] <snurfery> this markup right here:
[06:53:37] <snurfery> destination="Upload.one().getRestangularUrl()"
[06:53:43] <snurfery> where is that?
[06:53:48] <BobbieBarker> in the html
[06:53:58] <snurfery> for your main page or some directive?
[06:53:58] *** Emperor_Earth has quit IRC
[06:54:11] <BobbieBarker> main page, it's not a template
[06:54:11] <snurfery> for a page right
[06:54:25] *** Emperor_Earth has joined #angularjs
[06:54:25] *** FIFOd[a] has joined #angularjs
[06:54:27] <snurfery> ok whatever the controller is for that page
[06:54:33] <BobbieBarker> the directive
[06:54:40] <snurfery> wat
[06:55:01] *** boulos has quit IRC
[06:55:04] <BobbieBarker> wait i lied this page does have a controller
[06:55:10] <snurfery> of course it does
[06:55:11] <snurfery> haha
[06:55:18] <BobbieBarker> nah some stuff i build is just components
[06:55:25] * snurfery nods
[06:55:33] *** vbabiy has joined #angularjs
[06:55:40] <BobbieBarker> actually i told a half truth
[06:55:53] <BobbieBarker> so the "page" is a part of a template for a directifve
[06:56:11] <snurfery> that's fine, doesn't matter
[06:56:26] <snurfery> just find out whatever controller is in charge in the part of the markup that contains this: destination="Upload.one().getRestangularUrl()"
[06:56:43] <BobbieBarker> it falls with in the directive i'm working on
[06:56:50] <snurfery> then, in that controller, 1) inject Upload, and 2) do $scope.Upload = Upload;
[06:56:51] <BobbieBarker> everything else works
[06:56:57] <BobbieBarker> i did!
[06:56:58] <BobbieBarker> lol
[06:57:15] <BobbieBarker> controller: function($scope, $upload, Upload, $timeout){ $scope.Upload = Upload;
[06:57:17] *** futuredale has quit IRC
[06:57:58] *** leiper has joined #angularjs
[06:58:16] <BobbieBarker> and that works, but $scope.destination doesn't
[06:59:26] <snurfery> can you post some code? on gist.github.com or something simple. Just the directive and the markup that contains destination="Upload.one().getRestangularUrl()"
[06:59:40] <BobbieBarker> wait maybe you where right and i'm full of shit
[06:59:53] <BobbieBarker> i changed destination to destination = "cheese" and it still came up undefined
[06:59:58] <BobbieBarker> maybe i need to use the parent controller
[07:00:08] <BobbieBarker> i mean parent scope
[07:00:09] *** vbabiy has quit IRC
[07:00:15] *** colin_ has quit IRC
[07:00:33] *** FIFOd[a] has quit IRC
[07:01:14] *** funhouse has joined #angularjs
[07:01:26] <snurfery> post code == twice as many eyes on it
[07:01:32] <snurfery> possibly a higher multiple
[07:01:54] <funhouse> Hi guys, so a friend of mine is telling me to forget jquery and go angularjs, smart guy?
[07:02:09] <snurfery> perhaps the smartest guy you know
[07:02:13] <snurfery> =)
[07:02:14] *** bphogan_afk is now known as bphogan
[07:02:38] <BobbieBarker> lol i'm making forward progress
[07:02:39] *** stodan has joined #angularjs
[07:02:58] <BobbieBarker> fuckin scopes can get you no matter who you are
[07:03:01] <BobbieBarker> stupid scopes
[07:03:31] *** t_p has quit IRC
[07:05:01] *** InezK_away is now known as InezK
[07:05:03] <davek> funhouse it depends entirely on what you're doing.
[07:05:23] <BobbieBarker> snurfery now would be appropriate to do the victory dance
[07:05:25] *** TyrfingMjolnir has quit IRC
[07:05:52] <BobbieBarker> also FYI now my file upload drags, drops, and can be configured to shoot at any end point via restangular
[07:06:14] <BobbieBarker> but i think iw ant a better file upload solution than angular-file, that project is kind of shit
[07:06:19] <BobbieBarker> docs suck
[07:06:46] <BobbieBarker> and the amount of code you have to writeo get it to work, it's like you're practically writing the directive i'm not sure at all wtf the project provided me
[07:07:40] *** AlbireoX has joined #angularjs
[07:08:37] *** Sauvin has joined #angularjs
[07:08:55] *** fedenunez has quit IRC
[07:09:41] *** gunn has joined #angularjs
[07:09:43] *** flocca has joined #angularjs
[07:09:43] * snurfery bursts into interpretive dance
[07:09:53] <snurfery> fantastic
[07:10:29] <snurfery> yeah I'm not super stoked about angular-file-upload but it works and I could copypaste the example to suit my needs mostly
[07:11:09] <BobbieBarker> when i get more time i'm going to dig into that directive and see what its doing and see if i can't write something a little smarter and more cooperative with restangular
[07:11:23] <BobbieBarker> maybe publish it too
[07:11:55] *** shawnzhu___ has joined #angularjs
[07:11:58] *** ShibeOno has joined #angularjs
[07:12:02] <BobbieBarker> also so i refactored portions of the project to use heirarchies on the routes
[07:12:07] <BobbieBarker> and one of my co developers didn't like it
[07:12:16] <BobbieBarker> he got pissy and said that each route should handle itself
[07:12:29] <BobbieBarker> i'm like why? then each route is hitting the DB unecessarily getting the same data
[07:12:50] *** {DV8} has quit IRC
[07:13:21] *** mrogne is now known as mrogne_afk
[07:13:26] <BobbieBarker> makes for longer page loads too
[07:13:32] <BobbieBarker> cuz you're waiting for DB response
[07:14:04] *** flocca has quit IRC
[07:14:48] *** InezK is now known as InezK_away
[07:15:34] *** gunn has quit IRC
[07:15:50] *** ziyadb has quit IRC
[07:16:06] *** colin_ has joined #angularjs
[07:16:07] *** shawnzhu___ has quit IRC
[07:16:10] *** colin_ has quit IRC
[07:16:42] *** gunn has joined #angularjs
[07:17:00] *** JosephBergevin has quit IRC
[07:17:20] <TheAceOfHearts> imo, totally acceptable
[07:18:04] <BobbieBarker> are you talking to me ace?
[07:18:25] <TheAceOfHearts> yeah
[07:18:29] <BobbieBarker> thank you
[07:18:32] <BobbieBarker> i think i made shit better
[07:18:34] <BobbieBarker> also less server load
[07:18:38] <BobbieBarker> because of less DB hits
[07:18:52] <TheAceOfHearts> oh
[07:18:53] <TheAceOfHearts> I meant
[07:18:56] <TheAceOfHearts> that doing requests for data
[07:18:58] <TheAceOfHearts> totally accpetable lol
[07:19:02] <TheAceOfHearts> but I have a caching layer :P
[07:19:05] <BobbieBarker> lol
[07:19:12] <BobbieBarker> I don't think we have that yet
[07:19:26] *** hugorodrigues has joined #angularjs
[07:19:30] <TheAceOfHearts> you should
[07:19:31] <TheAceOfHearts> ah
[07:19:34] <TheAceOfHearts> I should open source mine
[07:19:36] <TheAceOfHearts> maybe soon
[07:19:37] *** GitNick has quit IRC
[07:19:44] <TheAceOfHearts> I'm working on open sourcing my form validation code
[07:19:44] <BobbieBarker> cool dude
[07:19:59] <TheAceOfHearts> it amazes me how much people struggle with form validation
[07:20:04] <BobbieBarker> really?
[07:20:05] <BobbieBarker> it's cake
[07:20:06] <TheAceOfHearts> yeah
[07:20:10] <TheAceOfHearts> imo, it's a solved problem
[07:20:13] <BobbieBarker> i do mine in custom directives and use angular strap tooltips
[07:20:36] <TheAceOfHearts> that sounds tedious
[07:20:37] *** herenow has quit IRC
[07:20:37] *** adarshaj has quit IRC
[07:20:55] <BobbieBarker> nah it's cake i'm going to write a component type error handling directive that can be configured
[07:21:07] <TheAceOfHearts> like ngMessages…?
[07:21:08] <BobbieBarker> so i'll just have one error handling directive project wide
[07:21:13] *** ShibeOno has quit IRC
[07:21:18] <BobbieBarker> like ng-ihaven't thought it allthe way out
[07:21:18] <BobbieBarker> lol
[07:21:23] <BobbieBarker> but i know i can do it
[07:21:36] <TheAceOfHearts> ngmessages does what you just said
[07:21:41] <BobbieBarker> does it?
[07:21:55] *** herenow has joined #angularjs
[07:22:02] <BobbieBarker> i haven't ever used that
[07:22:03] *** GitNick has joined #angularjs
[07:22:07] *** adarshaj has joined #angularjs
[07:22:12] *** ngoyal has quit IRC
[07:22:22] <TheAceOfHearts> it's only on like 1.3.0-beta.8 and above
[07:23:04] <BobbieBarker> we're on 1.2.19
[07:23:28] <TheAceOfHearts> tsk tsk
[07:23:33] *** dcherman has quit IRC
[07:23:36] <TheAceOfHearts> yolo. live fast, die hard
[07:23:36] <BobbieBarker> which is stupid cuz i thought i set it to higher
[07:23:42] <BobbieBarker> nah i may change it
[07:23:48] *** ibk has left #angularjs
[07:23:50] <BobbieBarker> we're in development... if it breaks something who cares?
[07:23:53] *** hugorodrigues has quit IRC
[07:23:57] <BobbieBarker> i can prolly fix it
[07:24:07] <TheAceOfHearts> lol
[07:24:25] <BobbieBarker> i usually leave stuff to "*" on my bowerjson file ind evelopment
[07:24:33] <BobbieBarker> if you get an update, what can go wrong?
[07:24:39]
[07:24:53] <TheAceOfHearts> lol
[07:24:54] <BobbieBarker> lol
[07:25:17] <TheAceOfHearts> BobbieBarker: I check in my bower dependencies into my repo, since people can be dicks and delete their repos...
[07:25:32] <BobbieBarker> ya
[07:25:37] <BobbieBarker> i do too
[07:25:42] <TheAceOfHearts> or they can modify the version or w/e...
[07:25:47] <TheAceOfHearts> like, retag a release ._.
[07:25:49] <TheAceOfHearts> fucking assholes
[07:25:55] <BobbieBarker> i think thats what happend ehre
[07:26:03] <BobbieBarker> cuz i could of swore at one point i had the project set to 1.3
[07:26:08] <caitp> do you make sure that the version they license their packages under works for you
[07:26:18] <caitp> or is it always MIT-licensed because everything is MIT licensed
[07:26:33] <TheAceOfHearts> caitp: I have to check :(
[07:26:34] <TheAceOfHearts> it's a pain
[07:26:41] <TheAceOfHearts> I wanted to use a lib, but then I found it was GPL
[07:26:43] <BobbieBarker> no, silly caitp ace and I alraedy established the yolo principle
[07:26:57] <BobbieBarker> i guess ace backed off of yolo
[07:27:06] <TheAceOfHearts> I've started driving by TONS of Google Self Driving Cars in the valley, much jelly :(
[07:27:08] <BobbieBarker> sissy
[07:27:18] <BobbieBarker> oh for real?
[07:27:22] <TheAceOfHearts> yeah
[07:27:23] <caitp> you're jelly now but
[07:27:26] <BobbieBarker> until they get smeared across the road by a semi
[07:27:26] <TheAceOfHearts> at least 2 or 3 a day
[07:27:29] <caitp> just wait until they start exploding
[07:27:30] *** waylon99_ has quit IRC
[07:27:32] <TheAceOfHearts> haha
[07:27:34] <caitp> it's only a matter of time
[07:27:37] *** encrypt3d_fracti has joined #angularjs
[07:27:44] <BobbieBarker> you ever seen what happens to a small car when ti gets hit by a mac truck? I gets spread over about 200ft
[07:27:49] <BobbieBarker> and the ppl inside become the jelly
[07:28:02] <caitp> i've never seen that
[07:28:05] <BobbieBarker> i have
[07:28:06] *** robdubya has quit IRC
[07:28:07] <caitp> what am I an EMT?
[07:28:13] <TheAceOfHearts> haha
[07:28:18] <BobbieBarker> i've also seen a small car ran over by a tank with the ppl in it
[07:28:22] <BobbieBarker> splat
[07:28:32] <TheAceOfHearts> well, sucks for em
[07:28:34] *** jpstone- has joined #angularjs
[07:28:37] <caitp> if i ever see that it will be from an inside perspective
[07:28:44] <TheAceOfHearts> I played Mario Kart 8 today with my coworkers and beat my boss \o/
[07:28:47] <caitp> as in the inside of the car that got splatted
[07:28:57] <BobbieBarker> i prefer to be in the tank
[07:29:12] <caitp> i couldn't live with myself in the tank
[07:29:21] <caitp> i guess i couldn't live with myself in the mini either
[07:29:23] <TheAceOfHearts> sure you could
[07:29:30] <caitp> for different reasons
[07:29:31] <TheAceOfHearts> caitp: who's gonna fuck with you when you're in a tank?
[07:29:34] <TheAceOfHearts> think about it.
[07:29:41] <TheAceOfHearts> nobody fucks with the person in the tank
[07:29:42] <BobbieBarker> the guy with the anti tank rounds?
[07:29:44] <caitp> who fucks with me now?
[07:29:48] <BobbieBarker> everything can be destroyed
[07:30:08] <caitp> nobody fucks with public transit :u
[07:30:08] *** shawnzhu___ has joined #angularjs
[07:30:10] <TheAceOfHearts> caitp: maybe you're just in a giant tank and you don't know it, have you thought about THAT?
[07:30:47] *** JimTheDev has quit IRC
[07:31:28] *** Jdubs has quit IRC
[07:31:44] <TheAceOfHearts> BobbieBarker: I'm pretty sure if you have a dozen M1A2 Abrams, nobody's gonna fuck with you
[07:31:52] *** mmitchel_ has quit IRC
[07:32:00] *** encrypt3d_fracti has quit IRC
[07:32:10] <BobbieBarker> airforce has a bomb that can take out several dozen tanks at once
[07:32:31] <caitp> how likely are you to get hit by that bomb
[07:32:42] <caitp> you're more likely to be shot down over ukraine
[07:32:47] <BobbieBarker> lol
[07:33:37] <TheAceOfHearts> BobbieBarker: you know who makes the M1A2 Abrams? USA. I don't see anyone fucking around with the US.
[07:34:12] <TheAceOfHearts> in any case
[07:34:17] <TheAceOfHearts> I say if you get like a dozen M1A2's
[07:34:19] <caitp> you don't see it because clandestine operations is usually less obvious
[07:34:28] *** s3shs has quit IRC
[07:34:41] <TheAceOfHearts> you can probably conquer a small city for a good while before being taken out
[07:34:42] <caitp> hence clandestine
[07:34:55] *** Jdubs has joined #angularjs
[07:35:02] <BobbieBarker> no you have to have al ot of people to occupy anything
[07:35:21] *** jstroem has joined #angularjs
[07:36:06] <TheAceOfHearts> I'm just saying that if you manage to get a dozen M1A2's into manhattan and you can put them in the main exit points, the army will probably have a hard time getting rid of em without causing a lot of casualties, which they'll probably want to avoid :P
[07:36:42] <caitp> they could just let blackwater deal with it
[07:37:22] <BobbieBarker> that's not really how it works
[07:37:43] <BobbieBarker> <<--- is/was in the army
[07:37:49] <caitp> i'm aware
[07:38:00] <TheAceOfHearts> I think you're taking me far too seriously :P
[07:38:00] <BobbieBarker> lol
[07:38:06] <BobbieBarker> yeah i don't know why either
[07:38:18] <BobbieBarker> this is IRC
[07:38:19] <BobbieBarker> ffs
[07:38:19] <BobbieBarker> lol
[07:38:24] <caitp> because it's like the saturday morning comics
[07:38:27] <BobbieBarker> i think i have been at the keyboard for too long
[07:38:33] <BobbieBarker> i need to gtfo
[07:38:35] <BobbieBarker> so i'm out
[07:38:38] <BobbieBarker> for awhile
[07:38:38] <BobbieBarker> peace
[07:38:39] <TheAceOfHearts> but I'm still confident that if you got a dozen tanks into NYC you'd probably be able to cause quite a bit of chaos before getting taken out
[07:38:45] *** peey has joined #angularjs
[07:38:47] <BobbieBarker> well fuck ya
[07:38:52] <BobbieBarker> dude tanks can drive through damn near anything
[07:38:53] *** eamonn has joined #angularjs
[07:39:33] <TheAceOfHearts> I wish I had a tank :(
[07:39:34] *** jstroem has quit IRC
[07:39:39] <snurfery> I need you guys' opinion, I'm debating with a dude
[07:39:41] <caitp> http://youtu.be/7xH9_9znxWM
[07:39:41] <peey> tanks can't drive through other tanks
[07:39:49] <snurfery> he's on the Polymer project
[07:40:04] <TheAceOfHearts> peey: you can if you have enough tanks :D
[07:40:06] <snurfery> and one of their core libraries stores a bunch of data on the "selected" attribute
[07:40:25] <snurfery> i.e. <paper-tab selected="myTabName">
[07:41:03] <snurfery> that causes issues with angular because angular tinkers with 'selected' to make sure it's boolean
[07:41:11] *** mspier_off is now known as mspier
[07:41:33] <TheAceOfHearts> I didn't realize people used polymer in the real world
[07:41:50] <caitp> does anyone use polymer in the real world?
[07:41:51] <snurfery> I'm arguing that storing arbitrary string data on 'selected' is a bad idea, violates the spec, etc
[07:41:56] <caitp> i'd be surprised
[07:42:06] *** tfennelly has joined #angularjs
[07:42:07] <peey> Does anyone with users use polymer in the real world?
[07:42:08] <snurfery> I dunno, I was helping some dude with it yesterday and ended up filing this bug
[07:42:14] <TheAceOfHearts> haha
[07:42:17] <snurfery> some guy was trying to mix it and angular
[07:42:21] <TheAceOfHearts> wow.
[07:42:22] *** stodan has quit IRC
[07:42:23] <TheAceOfHearts> WOW.
[07:42:26] <snurfery> right?
[07:42:33] <TheAceOfHearts> yeah
[07:42:40] <caitp> i've mixed it with angular
[07:42:43] <caitp> terrible results
[07:42:51] <snurfery> anyway I decided to file a bug because I thought changing the behavior of a core attribute is irresponsible
[07:42:51] <caitp> but it was fun
[07:43:00] <TheAceOfHearts> I sorta like React: it's fast and it can do server-side rendering.
[07:43:02] *** mspier is now known as mspier_off
[07:43:15] <snurfery> after seeing it I definitely want to try it, maybe when there are fewer sharp edges
[07:43:23] *** heidi644 has joined #angularjs
[07:43:24] *** eamonn has quit IRC
[07:43:37] *** heidi644 has quit IRC
[07:44:24] <caitp> well, try it in the browser
[07:44:34] <caitp> beacuse it's really just dogfood for the browser
[07:44:44] <caitp> until they decide to do something more with the UI library
[07:45:13] <TheAceOfHearts> I feel compelled to learn React, cuz it's fast D:
[07:45:28] <caitp> learn it
[07:45:34] <TheAceOfHearts> I also saw that Object.observe is in Chrome 36 \o/
[07:45:38] <caitp> learn everything
[07:45:54] <snurfery> TheAceOfHearts: yeah saw that too
[07:46:06] <TheAceOfHearts> caitp: maybe in my free time :P
[07:46:12] <TheAceOfHearts> at work we'll be doing angular for a long time
[07:46:14] <snurfery> super stoked I have my whole team (backend guys) working with angular now too
[07:46:19] <TheAceOfHearts> the testing story with angular is just too good
[07:46:25] <snurfery> they're excited, I hyped it pretty effectively
[07:46:32] <snurfery> (well, Yeoman helped)
[07:46:42] <TheAceOfHearts> I don't really consider yeoman to be that useful
[07:46:56] <TheAceOfHearts> I mean, it depends on how often you're making apps I guess
[07:47:00] <snurfery> you're probably a much more professional frontend dev than I am
[07:47:02] <caitp> me neither but if it makes peoples lives simpler than why not
[07:47:05] <snurfery> ;)
[07:47:07] <caitp> i just think it has the opposite effect of that
[07:47:18] <TheAceOfHearts> snurfery: probably not :p
[07:47:29] *** mary5030 has quit IRC
[07:47:34] <TheAceOfHearts> well, I made a generator for myself for js projects
[07:47:44] <TheAceOfHearts> and I'll probably make one for angular directives
[07:47:55] <snurfery> yeoman was my first exposure to grunt, compass, a bunch of these minification tools, jslint, etc etc
[07:47:58] <TheAceOfHearts> which is really just copying over like a handful of files
[07:48:04] *** tfennelly has quit IRC
[07:48:13] <snurfery> so it was zero to hero without much effort
[07:48:23] <TheAceOfHearts> I think yeoman's generators are useful in showing people how they can structure their apps
[07:48:29] *** L8TR has joined #angularjs
[07:48:36] <TheAceOfHearts> sorta how Rails is great cuz you can generate a Rails project, run a few commands and BAM
[07:48:38] <TheAceOfHearts> everything works
[07:49:03] <caitp> i've never had that experience with rails
[07:49:08] <caitp> it's always been more trouble than it's worth
[07:49:23] <TheAceOfHearts> Rails is great as long as you don't care about performance :P
[07:49:39] <TheAceOfHearts> it let our CTO get an app up and running quickly, and get funding \o/
[07:49:50] <TheAceOfHearts> and then my coworker and I came along to clean up his shity code \o/
[07:50:09] <caitp> don't talk bad about your CTO in public mang
[07:50:21] <TheAceOfHearts> it's not talking bad at all
[07:50:24] <TheAceOfHearts> he made the app as a POC
[07:50:39] <TheAceOfHearts> I'm confident that pretty much all application code is shit
[07:50:47] <caitp> i was going to expand on that with "unless your CTO is sane and can deal with criticism"
[07:50:51] *** Emperor_Earth has quit IRC
[07:51:05] <caitp> which more people should
[07:51:05] <TheAceOfHearts> my CTO's awesome, today we had beer and played Mario Kart :P
[07:51:50] <TheAceOfHearts> but he recognizes that the app that he built is different from what we had now; back then there weren't any tests, cuz it was yolo mode and it was changing rapidly… but now stuff is stable, and it takes longer to build stuff, but we test it and make sure it's reliable :P
[07:52:00] *** jonnybro has joined #angularjs
[07:52:20] <caitp> nice
[07:52:26] *** FuCone has quit IRC
[07:52:29] <TheAceOfHearts> caitp: I wrote a js lib that works all the way down to IE6 \o/
[07:52:31] <caitp> i need to do more of that
[07:52:46] <caitp> hah, I give up on that
[07:53:02] <TheAceOfHearts> I didn't really intend for it to work on IE6
[07:53:05] <TheAceOfHearts> it was just sort of accidental
[07:53:16] <caitp> "support IE6" >> "indexeddb, appcache, fetch, file api"
[07:53:22] <caitp> eff it
[07:53:31] <TheAceOfHearts> I'm using a few browserify modules; all I had to do to make it work was add es5-shim and json3 :P
[07:53:39] <TheAceOfHearts> haha, it's not an app, it's just a logging lib
[07:53:49] <TheAceOfHearts> so making it work in IE6 was actually painless
[07:54:10] <snurfery> ugh I committed to meeting people for dinner and I just wanna write code
[07:54:10] <caitp> logging like reporting errors to the server?
[07:54:16] <snurfery> bleh
[07:54:19] <TheAceOfHearts> logging like Google analytics
[07:54:27] <caitp> ah
[07:54:28] <TheAceOfHearts> https://github.com/treasure-data/td-js-sdk
[07:54:53] <caitp> same sort of thing
[07:55:01] <caitp> report to server rather than dev console
[07:55:05] <TheAceOfHearts> yeah
[07:55:09] <snurfery> oh snap
[07:55:12] <TheAceOfHearts> but it reports it to our own backend :P
[07:55:24] <TheAceOfHearts> so our customers can get data into Treasure Data easily \o/
[07:55:27] <caitp> reporting to a web console would be kinda pointless for ie6 anyways
[07:55:30] *** hychen has joined #angularjs
[07:55:41] <TheAceOfHearts> it's more like for tracking, I'd say
[07:56:02] <caitp> but does it work with netsurf?
[07:56:13] <TheAceOfHearts> I don't know what that is, so probably not
[07:56:21] *** vbabiy has joined #angularjs
[07:56:29] <caitp> http://www.netsurf-browser.org/
[07:56:42] *** screamingbanshee has quit IRC
[07:56:43] <caitp> crazy open source browser that targets like, amiga
[07:56:49] <TheAceOfHearts> haha
[07:56:56] <TheAceOfHearts> no, I require js :P
[07:57:13] <caitp> they use an old version of spidermonkey
[07:57:22] *** greatdex has quit IRC
[07:58:02] <TheAceOfHearts> some men jsut want to watch the world burn.
[07:58:19] *** waylon999 has joined #angularjs
[07:58:37] *** asdofindia has quit IRC
[07:59:06] <caitp> hey now, i've got a few lines of code in netsurf, it's not all men that want to watch the world burn :p
[07:59:16] *** Emperor_Earth has joined #angularjs
[07:59:22] *** robdubya has joined #angularjs
[07:59:28] <TheAceOfHearts> some men and caitp just watch to watch the world burn~
[07:59:35] <caitp> mmyep
[07:59:39] *** screamingbanshee has joined #angularjs
[07:59:40] <TheAceOfHearts> haha
[07:59:53] <TheAceOfHearts> btw, I finally found something I can contribute to angular
[08:00:11] <TheAceOfHearts> I think ngMessage should let you set custom validation with a changing message
[08:00:20] <TheAceOfHearts> that way you can do server-side validation propagation :P
[08:00:35] <TheAceOfHearts> after I finish open sourcing my lib for that, I might dig into ngMessages \o/
[08:01:08] *** vbabiy has quit IRC
[08:01:36] <caitp> we had a meeting about the form stuff after my little unprofessional tirade last week, matias might be working on some changes to it
[08:01:41] <Emperor_Earth> Restangular/JS help: http://plnkr.co/edit/G86qxNHNjP5mKUNwp5WK my console.log(user) properly shows user, my golang backend handling this request @ /api/user/login doesn't receive any data, json/postform/form etc. am i not posting right?
[08:01:50] <caitp> i'm not sure if ngMessages is really involved with the changes, though
[08:01:55] <caitp> might or might not be
[08:01:59] <TheAceOfHearts> I see
[08:02:06] <TheAceOfHearts> what tirade did you have last week :P?
[08:02:19] *** jae is now known as Jae
[08:02:34] *** jonnybro has quit IRC
[08:02:43] <caitp> i got a bit miffed because something that should have been a really simple bugfix was made massively complicated by ngmodeloptions and the validator pipeline
[08:02:45] *** screamin_ has joined #angularjs
[08:02:55] <TheAceOfHearts> I see
[08:02:59] *** waylon999 has quit IRC
[08:03:07] *** screamingbanshee has quit IRC
[08:03:21] <TheAceOfHearts> the whole validator pipeline seems odd to me
[08:03:32] <caitp> it's not really a pipeline
[08:03:34] *** gunn has quit IRC
[08:03:47] <TheAceOfHearts> validation thing, then :P
[08:03:49] <caitp> it could run in any order whatsoever
[08:03:58] <caitp> it's madness
[08:03:59] *** screamin_ has quit IRC
[08:04:11] *** jpstone- has quit IRC
[08:04:21] *** screamingbanshee has joined #angularjs
[08:04:31] <TheAceOfHearts> I think doing server-side validation propagation is really important :P
[08:04:35] <robdubya> tirade?
[08:05:51] <TheAceOfHearts> as in, if somehow you skip certain validation on the client, like.. you forget about it, or just don't wanna add it or w/e… the server responds with a 422 and an errors object that has the same form structure and it shows the error messages for all the items
[08:05:54] *** InezK_away is now known as InezK
[08:05:58] <TheAceOfHearts> I have a directive and service for that \o/
[08:09:25] <caitp> robdubya, 2 weeks ago I checked in a hack to fix native validation (numbers), and shahata wants to re-arrange the hack
[08:09:33] *** screamin_ has joined #angularjs
[08:09:41] <caitp> which is fine, it's not really making a real difference, just changing where the hack lives
[08:09:52] *** screamingbanshee has quit IRC
[08:10:13] <TheAceOfHearts> the whole web is just a series of hacks :P
[08:10:17] <caitp> but after dealing with another issue in form validation I started freaking out saying we need to redesign it from scratch because everything has too many side effects and it's becoming a crazy maze like the select directive
[08:10:39] <TheAceOfHearts> +1 to throwing it all away and starting from scratch \o/
[08:10:42] *** Jdubs has quit IRC
[08:10:54] *** bphogan is now known as bphogan_afk
[08:11:02] <caitp> and I got called out for it because it was very unprofessional :( and it's true, I guess I need to learn to say "rewrite it from scratch" in a more constructive way
[08:11:08] *** CodeFriar has quit IRC
[08:11:12] <caitp> but I still think it's the best thing to do
[08:11:32] <TheAceOfHearts> caitp: make your own ng-form. with blackjack and hookers!
[08:11:38] <caitp> hah
[08:11:57] <caitp> there was some talk of moving all of the validation stuff into a separate module actually
[08:12:00] *** sigurding has joined #angularjs
[08:12:11] *** screamin_ is now known as screamingbanshee
[08:12:14] <caitp> if that were possible then it would be possible, but it's hard to do that because it's such a core thing
[08:12:31] <caitp> 2-way binding depends pretty heavily on integration with form controls :s
[08:12:49] <Emperor_Earth> Restangular/JS help: frontend confirms that user is json object, backend doesn't receive. is there any issue with my restangular related code? http://plnkr.co/edit/G86qxNHNjP5mKUNwp5WK
[08:13:01] <TheAceOfHearts> argh, restangular.
[08:14:03] <caitp> your backend serves a 200 for login errors?
[08:14:04] <caitp> o-o
[08:14:35] <TheAceOfHearts> sweet jesus have mercy on your soul
[08:14:48] <Emperor_Earth> caitp, that's not the part i'm working on yet. i'm starting with sending and receiving json thru restangular
[08:14:57] *** sigurding has quit IRC
[08:15:11] <TheAceOfHearts> Emperor_Earth: you'll want 401's for login errors :P
[08:15:15] <TheAceOfHearts> well
[08:15:19] <TheAceOfHearts> 422 for validation
[08:15:26] <TheAceOfHearts> 401 if they try to go somewhere and they're not logged in
[08:15:27] <Emperor_Earth> TheAceOfHearts, i'm well aware of http codes, can i focus on this one part please
[08:15:28] *** flocca has joined #angularjs
[08:15:31] *** InezK is now known as InezK_away
[08:15:33] <TheAceOfHearts> you can
[08:15:58] <Emperor_Earth> caitp, do you see an error in my restangular code?
[08:16:10] <TheAceOfHearts> caitp: do you use restangular anywhere
[08:16:11] <TheAceOfHearts> ?
[08:16:34] *** tgkokk has joined #angularjs
[08:16:47] *** Alina-malina has quit IRC
[08:16:57] *** BobbieBarker has quit IRC
[08:17:00] <caitp> nah
[08:17:12] <Emperor_Earth> caitp, is that at me or ace?
[08:17:18] <caitp> ace
[08:17:22] *** sysko has quit IRC
[08:17:32] <caitp> i don't have the restangular api memorized
[08:17:41] <caitp> or any api, really
[08:17:47] *** katsh has joined #angularjs
[08:17:57] <Emperor_Earth> i compared many times, and this is about as simple as use case as you can get
[08:18:31] <Emperor_Earth> [restangularObject].post([json object]).then([start promise chain]
[08:18:45] <Emperor_Earth> idk why the backend doesn't get anything
[08:18:46] <shawnzhu___> has anyone experienced "[$injector:modulerr]" error on firefox only? (the application code itself works very well on chrome and safari)
[08:18:57] *** screamingbanshee has quit IRC
[08:19:13] <TheAceOfHearts> shawnzhu___: last time I had problems with a browser I decided to stop supporting it and my life became better. \o/
[08:19:41] <shawnzhu___> @TheAceOfHearts stop supporting firefox or the app?
[08:19:44] <Emperor_Earth> TheAceOfHearts, do all your responses provide no help? are you just commenting for the sake of it?
[08:20:12] <TheAceOfHearts> I try my bestest, but alas, sometimes I do accidentally help
[08:20:26] <TheAceOfHearts> shawnzhu___: well, I stopped supproting IE9 :P
[08:20:48] *** sysko has joined #angularjs
[08:21:03] *** CodeFriar has joined #angularjs
[08:21:15] <shawnzhu___> I've analyzed the error stack and callstack on browser based on timeline and my thought is angular starts to bootstrap app on HTML doc prior to the brower loading the app module
[08:21:46] <TheAceOfHearts> shawnzhu___: that's really odd. how are you loading all your stuff?
[08:22:17] <shawnzhu___> but it happens on firefox only because it may start loading the app module javascript code after event "DOMContentLoaded" on firefox
[08:22:19] <caitp> shawnzhu___, not seen that, but if you're loading scripts asynchronously than it's likely
[08:22:45] <shawnzhu___> I use defer attr on <script> before the end of </body>
[08:22:47] <Emperor_Earth> shawnzhu___, are you using require/browserify or anything like that?
[08:23:05] <TheAceOfHearts> shawnzhu___: you should just put all your scripts into 1 file :P
[08:23:26] <TheAceOfHearts> like, as part of the build process ,of course~
[08:23:55] <shawnzhu___> yes, this is the first idea in my mind when seeing this. glad you think so too
[08:24:28] <shawnzhu___> combine angularjs itself with app module code in 1 script?
[08:24:38] <TheAceOfHearts> I do that with my app at work
[08:25:13] <shawnzhu___> ok. the key thing is we need to make sure the angular app code is loaded before angluar bootstraps the app
[08:25:26] *** screamingbanshee has joined #angularjs
[08:25:28] <TheAceOfHearts> a gigantic 425KB after gzip file :P
[08:25:45] <caitp> shawnzhu___, you can manually bootstrap with angular.bootstrap(0
[08:26:08] <caitp> if you really want to asynchronously load scripts
[08:26:08] <shawnzhu___> @caitp yes, that's also a good idea.
[08:26:22] <caitp> it's not "an idea", it's basically required if you do this
[08:26:34] *** jayrobot has quit IRC
[08:26:37] <caitp> there's no other way to use requirejs in angular for example
[08:26:48] <shawnzhu___> well, I depends on angular itself to bootstrap the single app automatically.
[08:27:07] <shawnzhu___> I can manually bootstrap after all the code is loaded
[08:27:09] *** katsh has quit IRC
[08:27:23] <caitp> yes
[08:27:24] *** bkuberek has joined #angularjs
[08:27:29] *** katsh has joined #angularjs
[08:28:01] <shawnzhu___> @TheAceOfHearts the 425KB are minimized version???
[08:28:17] <shawnzhu___> thanks @caitp and @TheAceOfHearts
[08:28:35] <TheAceOfHearts> gzipped and minified :P
[08:28:45] <TheAceOfHearts> I should mention that it includes all of our templates too
[08:28:52] <TheAceOfHearts> so basically, you get the WHOLE page
[08:29:05] <TheAceOfHearts> erm, whole app*
[08:29:25] *** bkuberek has quit IRC
[08:29:26] *** davi has joined #angularjs
[08:29:36] *** InezK_away is now known as InezK
[08:30:34] *** screamingbanshee has quit IRC
[08:30:36] *** L8TR has quit IRC
[08:30:37] *** bkuberek_ has quit IRC
[08:32:50] *** cthrax has joined #angularjs
[08:33:07] *** CodeFriar has quit IRC
[08:33:58] *** flocca has quit IRC
[08:35:37] *** dylanlindgren has joined #angularjs
[08:35:55] *** cthrax has quit IRC
[08:36:05] *** jstroem has joined #angularjs
[08:36:40] *** Jdubs has joined #angularjs
[08:37:08] *** jstroem has joined #angularjs
[08:37:08] *** Ethix has quit IRC
[08:38:15] *** katsh has quit IRC
[08:38:30] *** katsh has joined #angularjs
[08:39:19] *** flocca has joined #angularjs
[08:39:22] *** TorchDragon has joined #angularjs
[08:39:25] *** eamonn has joined #angularjs
[08:39:57] *** kalehv has quit IRC
[08:39:58] *** shawnzhu___ has quit IRC
[08:40:27] *** shawnzhu___ has joined #angularjs
[08:40:33] *** kalehv has joined #angularjs
[08:40:45] *** joshontheweb has joined #angularjs
[08:41:03] *** zenw0lf has quit IRC
[08:41:19] *** LuxuryMo_ has quit IRC
[08:42:36] *** tfennelly has joined #angularjs
[08:43:33] *** TorchDragon has quit IRC
[08:43:37] *** eamonn has quit IRC
[08:43:59] *** screamingbanshee has joined #angularjs
[08:44:33] *** shawnzhu___ has quit IRC
[08:44:47] *** kalehv has quit IRC
[08:46:52] *** tfennelly has quit IRC
[08:47:18] *** goodbomb has joined #angularjs
[08:47:34] *** morenoh149 has joined #angularjs
[08:48:01] *** oste has quit IRC
[08:48:08] *** klaut has joined #angularjs
[08:49:12] *** JmZ_ has quit IRC
[08:51:08] *** delerium_ has joined #angularjs
[08:52:01] *** katsh has quit IRC
[08:54:48] *** JmZ_ has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:57:09] *** vbabiy has joined #angularjs
[08:57:50] *** FIFOd[a] has joined #angularjs
[08:58:01] *** mary5030 has joined #angularjs
[08:59:53] *** Alina-malina has joined #angularjs
[08:59:54] *** Alina-malina has joined #angularjs
[09:00:01] *** charuru has quit IRC
[09:01:23] *** vbabiy has quit IRC
[09:02:23] *** FIFOd[a] has quit IRC
[09:03:00] *** mary5030 has quit IRC
[09:05:37] *** Yahkob has joined #angularjs
[09:07:11] *** morenoh149 has quit IRC
[09:07:50] *** hugorodrigues has joined #angularjs
[09:08:06] *** rahulprasad has joined #angularjs
[09:09:15] *** scmx has joined #angularjs
[09:09:50] *** ppppaul has joined #angularjs
[09:11:02] <rahulprasad> Hi need help with OAuth2 implementation with AngularJs.
[09:11:20] <rahulprasad> I dont understand how its safe to use OAuth2 if I have to put API key and secret both in my javascript code
[09:12:23] *** hugorodrigues has quit IRC
[09:16:09] *** night-owl-MBP is now known as night-owl2
[09:17:04] *** [n0b0dy] has quit IRC
[09:17:16] *** [n0b0dy] has joined #angularjs
[09:17:51] *** Trow has joined #angularjs
[09:18:18] *** nszceta has joined #angularjs
[09:18:56] *** ngoyal has joined #angularjs
[09:19:01] *** goodbomb has quit IRC
[09:19:20] *** futuredale has joined #angularjs
[09:19:29] *** nszceta has joined #angularjs
[09:20:54] *** DrMabuse has joined #angularjs
[09:21:29] *** caitp has quit IRC
[09:22:08] *** Mouzi has joined #angularjs
[09:23:32] *** ngoyal has quit IRC
[09:23:33] *** futuredale has quit IRC
[09:24:33] *** quantax- has quit IRC
[09:25:21] *** tgkokk has quit IRC
[09:26:08] *** nszceta has quit IRC
[09:26:30] *** nszceta has joined #angularjs
[09:26:44] *** plex0r has quit IRC
[09:26:51] *** TheAceOfHearts has quit IRC
[09:27:41] *** ededagic has joined #angularjs
[09:30:11] *** wilmoore has joined #angularjs
[09:30:21] *** Yahkob has quit IRC
[09:30:29] *** bkuberek has joined #angularjs
[09:34:12] *** mennea has quit IRC
[09:34:17] *** whunt_ has joined #angularjs
[09:34:57] *** wilmoore has quit IRC
[09:35:05] *** bkuberek has quit IRC
[09:36:57] *** whunt has quit IRC
[09:37:11] *** Vinnyceptr has joined #angularjs
[09:37:56] *** mchapman has joined #angularjs
[09:38:37] *** whunt_ has quit IRC
[09:39:30] *** ededagic has quit IRC
[09:40:41] *** yoshokatana has joined #angularjs
[09:41:06] *** shawnzhu___ has joined #angularjs
[09:41:31] *** Reite has joined #angularjs
[09:41:45] *** Willow__ has joined #angularjs
[09:41:47] *** vbabiy has joined #angularjs
[09:44:40] *** sdouglas has joined #angularjs
[09:45:11] *** XoRoN has joined #angularjs
[09:45:51] *** shawnzhu___ has quit IRC
[09:46:20] *** vbabiy has quit IRC
[09:47:32] *** Shrooms has quit IRC
[09:48:01] *** dylanlindgren has quit IRC
[09:49:00] *** dylanlindgren has joined #angularjs
[09:49:11] *** sdouglas has quit IRC
[09:49:41] *** tomzx`afk is now known as tomzx
[09:50:17] *** ppppaul has quit IRC
[09:50:25] *** pHcF has quit IRC
[09:52:10] *** cctom has joined #angularjs
[09:54:33] *** nszceta_ has joined #angularjs
[09:54:37] *** nszceta has quit IRC
[09:55:02] *** leiper has quit IRC
[09:56:24] *** Trow has quit IRC
[09:56:51] *** Trow has joined #angularjs
[09:56:51] *** XoRoN has quit IRC
[09:57:54] *** Gambit- has quit IRC
[09:57:58] *** janosko has joined #angularjs
[09:58:48] *** FIFOd[a] has joined #angularjs
[09:59:05] *** waylon999 has joined #angularjs
[10:01:14] *** cctom has quit IRC
[10:02:32] *** dcherman has joined #angularjs
[10:03:04] *** FIFOd[a] has quit IRC
[10:03:37] *** waylon999 has quit IRC
[10:05:13] *** dc has joined #angularjs
[10:05:23] *** desmond has quit IRC
[10:08:52] *** dcherman has quit IRC
[10:09:44] *** DrMabuse has quit IRC
[10:09:59] *** prikk has joined #angularjs
[10:10:04] *** eamonn has joined #angularjs
[10:12:28] *** shawnzhu___ has joined #angularjs
[10:13:33] *** fixl has quit IRC
[10:13:44] *** anjumkaiser has joined #angularjs
[10:13:57] *** Left_Turn has joined #angularjs
[10:14:27] *** eamonn has quit IRC
[10:15:20] *** rahulprasad has quit IRC
[10:15:58] *** uf6667 has joined #angularjs
[10:17:23] *** shawnzhu___ has quit IRC
[10:18:11] *** encrypt3d_fracti has joined #angularjs
[10:18:31] *** DrMabuse has joined #angularjs
[10:20:47] *** dazs has joined #angularjs
[10:21:11] *** JoshGlzBrk has joined #angularjs
[10:22:19] *** FuCone has joined #angularjs
[10:22:34] *** encrypt3d_fracti has quit IRC
[10:22:53] *** Grokling__ has joined #angularjs
[10:22:59] *** XoRoN has joined #angularjs
[10:25:11] *** mercwithamouth has quit IRC
[10:26:39] *** sigurding has joined #angularjs
[10:27:45] *** bfricka has joined #angularjs
[10:29:22] *** tomh- has joined #angularjs
[10:29:22] *** ckboii89 has quit IRC
[10:29:41] *** ckboii89 has joined #angularjs
[10:30:23] *** instence has joined #angularjs
[10:30:56] *** XoRoN has quit IRC
[10:31:07] *** instence_ has quit IRC
[10:31:18] *** bkuberek has joined #angularjs
[10:32:02] *** bfricka has quit IRC
[10:32:15] *** zwacky has joined #angularjs
[10:32:21] *** bfricka has joined #angularjs
[10:33:25] *** hychen has quit IRC
[10:34:17] *** XoRoN has joined #angularjs
[10:35:15] *** XoRoN has quit IRC
[10:35:24] *** SonikBoom has joined #angularjs
[10:35:59] *** bkuberek has quit IRC
[10:37:32] *** Trow has quit IRC
[10:38:01] *** Trow has joined #angularjs
[10:38:17] *** benjamingr has joined #angularjs
[10:38:36] *** tgkokk has joined #angularjs
[10:39:32] *** ededagic has joined #angularjs
[10:39:35] *** hannesvdvreken has joined #angularjs
[10:40:15] *** bfricka has quit IRC
[10:40:56] *** tfennelly has joined #angularjs
[10:40:59] *** tgkokk has quit IRC
[10:41:15] *** TorchDragon has joined #angularjs
[10:41:17] *** slainer68 has joined #angularjs
[10:42:13] *** rahulprasad has joined #angularjs
[10:42:28] *** vbabiy has joined #angularjs
[10:42:54] *** ckboii89 has quit IRC
[10:45:04] *** linojon has quit IRC
[10:45:18] *** tfennell_ has joined #angularjs
[10:45:37] *** TorchDragon has quit IRC
[10:46:03] *** Mattias has joined #angularjs
[10:47:16] *** vbabiy has quit IRC
[10:47:23] *** bfricka has joined #angularjs
[10:48:02] *** lite_ has joined #angularjs
[10:48:07] *** tfennelly has quit IRC
[10:48:21] *** Jdubs has quit IRC
[10:48:30] *** L8TR has joined #angularjs
[10:48:37] *** hannesvdvreken has quit IRC
[10:48:39] *** bfricka has quit IRC
[10:49:05] *** bfricka has joined #angularjs
[10:50:04] *** caitp has joined #angularjs
[10:52:12] *** lite_ has quit IRC
[10:54:05] *** lite_ has joined #angularjs
[10:54:22] *** caitp has quit IRC
[10:55:56] *** hugorodrigues has joined #angularjs
[10:56:12] *** tarnus has joined #angularjs
[10:56:39] *** InezK is now known as InezK_away
[10:57:08] *** nszceta_ has quit IRC
[10:57:44] *** nszceta has joined #angularjs
[10:59:36] *** FIFOd[a] has joined #angularjs
[11:00:37] *** hugorodrigues has quit IRC
[11:00:39] *** tarnus has quit IRC
[11:01:32] *** jstroem has quit IRC
[11:01:37] *** DrMabuse has quit IRC
[11:02:00] *** InezK_away is now known as InezK
[11:02:09] *** jstroem has joined #angularjs
[11:02:20] *** Climax777 has joined #angularjs
[11:05:11] *** InezK is now known as InezK_away
[11:05:13] *** greatdex has joined #angularjs
[11:05:56] *** FIFOd[a] has quit IRC
[11:07:11] *** jstroem has quit IRC
[11:07:55] *** mehlah has joined #angularjs
[11:08:19] *** FuCone has quit IRC
[11:08:35] *** gunn has joined #angularjs
[11:10:35] *** eamonn has joined #angularjs
[11:10:52] *** drej has quit IRC
[11:11:42] *** Left_Turn has quit IRC
[11:13:43] *** ckboii89 has joined #angularjs
[11:14:04] *** sigurding has quit IRC
[11:14:52] *** eamonn has quit IRC
[11:16:13] *** hannesvdvreken has joined #angularjs
[11:17:14] *** DrMabuse has joined #angularjs
[11:17:56] *** hannesvdvreken has quit IRC
[11:18:03] *** ckboii89 has quit IRC
[11:18:57] *** Left_Turn has joined #angularjs
[11:19:12] *** ngoyal has joined #angularjs
[11:21:57] *** eamonn has joined #angularjs
[11:22:22] *** Grokling__ has quit IRC
[11:22:32] *** sysko has quit IRC
[11:23:37] *** ngoyal has quit IRC
[11:23:57] *** hannesvdvreken has joined #angularjs
[11:24:33] *** AciD`` has joined #angularjs
[11:25:18] *** LuxuryMo_ has joined #angularjs
[11:27:18] *** marr has joined #angularjs
[11:28:08] *** waylon999 has joined #angularjs
[11:28:12] *** bfricka has quit IRC
[11:28:23] *** LoveAndHappiness has joined #angularjs
[11:29:17] *** Trow1 has joined #angularjs
[11:29:24] *** dve has joined #angularjs
[11:29:35] *** noobee has joined #angularjs
[11:29:48] <noobee> how can I access directive function from controller?
[11:29:59] <noobee> directive scope function
[11:31:25] *** tgkokk has joined #angularjs
[11:31:50] *** hannesvdvreken has quit IRC
[11:31:57] *** Trow has quit IRC
[11:32:02] *** bkuberek has joined #angularjs
[11:32:13] *** newbie|2 has joined #angularjs
[11:32:51] *** waylon999 has quit IRC
[11:32:55] *** JoshGlzBrk has quit IRC
[11:33:57] *** dve has quit IRC
[11:35:12] *** styles_ has quit IRC
[11:36:17] *** Mouzi has quit IRC
[11:36:28] *** tfennell_ has quit IRC
[11:36:33] *** bkuberek has quit IRC
[11:36:44] *** vader has joined #angularjs
[11:37:05] *** tfennelly has joined #angularjs
[11:38:07] *** ratra has joined #angularjs
[11:38:29] *** toastynerd has quit IRC
[11:38:37] *** ratra has quit IRC
[11:39:12] *** styles_ has joined #angularjs
[11:43:23] *** vbabiy has joined #angularjs
[11:43:30] *** lite_ has quit IRC
[11:44:06] *** screamin_ has joined #angularjs
[11:45:19] *** DrMabuse has quit IRC
[11:45:41] *** ratra_ has joined #angularjs
[11:45:48] <ratra_> Hi
[11:47:07] *** screamingbanshee has quit IRC
[11:47:53] *** vbabiy has quit IRC
[11:48:58] *** Jdubs has joined #angularjs
[11:50:16] *** bicranial has quit IRC
[11:50:54] *** caitp has joined #angularjs
[11:51:00] *** Vitaly has joined #angularjs
[11:51:04] *** nszceta has quit IRC
[11:51:13] <Vitaly> Hello
[11:51:54] <Vitaly> It's been almost a week since 1.2.20 was released. Why hasn't still been updated on NuGet?
[11:52:23] <Vitaly> I noticed it generally takes a while to see the updates on NuGet
[11:52:54] <Vitaly> In fact, 13.6 was the last Beta published there
[11:53:04] <Vitaly> I meant 1.3.6
[11:53:07] *** Jdubs has quit IRC
[11:53:26] *** recidive has joined #angularjs
[11:53:26] *** newbie|2 has left #angularjs
[11:54:14] *** pibu7 has joined #angularjs
[11:55:05] *** ratra_ has quit IRC
[11:55:08] *** caitp has quit IRC
[11:56:10] *** Vitaly has quit IRC
[11:56:35] *** mehlah has quit IRC
[11:57:16] *** greatdex has quit IRC
[11:57:16] *** cctom_ has joined #angularjs
[11:57:19] *** Left_Turn has quit IRC
[11:57:35] *** Drako_ has joined #angularjs
[11:58:05] <noobee> it what case should i use service and in what case should i use factory/
[11:58:06] <noobee> ?
[11:58:24] *** anto has joined #angularjs
[11:58:52] *** anto has left #angularjs
[11:59:49] *** screamin_ is now known as screamingbanshee
[11:59:52] <prikk> noobee: you should really try google out, there's great explanations for it
[11:59:56] <prikk> http://stackoverflow.com/questions/15666048/angular-js-service-vs-provider-vs-factory
[12:00:21] <noobee> what if i want to create a modal dialog?
[12:00:24] <prikk> that goes for almost all programming questions you could ever imagine.. ask google first, and you'll be happy that you did
[12:00:24] <prikk> :)
[12:00:33] <noobee> should i use directive? service or factory or provider?
[12:00:39] <noobee> all these are crazy terms...
[12:00:49] *** bkuberek has joined #angularjs
[12:01:12] <prikk> ok, well the fact that you're asking that means that you probably haven't understood some core concepts about angular js.. no harm in that, just saying
[12:01:14] <noobee> i actually did that, but there are too many of them, keep on encountering new terminologies whenever I search for angular problems
[12:01:22] <prikk> directive is what you should be looking at
[12:01:43] <prikk> google some directive tutorial
[12:01:47] <noobee> but with directive I cannot use it to call function defined in the directive
[12:01:54] <noobee> lets shay modal.open()
[12:02:33] <prikk> a dialog directive could be <dialog visibility="dialogVisibility">your content</dialog>
[12:02:39] <prikk> $scope.visibility = true;
[12:02:40] *** DrMabuse has joined #angularjs
[12:02:56] <prikk> it's supposed to be a self-sustained component in your application
[12:03:08] <prikk> representing some markup/operations on markup
[12:03:23] <noobee> i want an action to be a function in my code for readability
[12:03:33] <prikk> [12:02:31] <prikk> $scope.visibility = true; <-should be $scope.dialogVisibility, sorry
[12:03:36] <noobee> can I do that?
[12:04:13] <prikk> you should put things where they belong.. ng-action calls a method on your controller, which in turn can set the dialog visibility (if you're talking about this very case)
[12:04:26] <prikk> i'm talking in broad general terms here
[12:04:40] <prikk> the "solution" i proposed may not be optimal, but is an explanation what directives are
[12:04:59] <noobee> yes i have that kind of modal directive
[12:05:14] <prikk> ok, and you use your directives inside your templates
[12:05:40] *** bkuberek has quit IRC
[12:06:45] <noobee> is there any page that explains all angular terms in hirrarchy?
[12:06:57] *** ceephax has quit IRC
[12:07:10] <noobee> like controllers modules, provider, services, factory, directives,
[12:07:13] <noobee> too many
[12:07:54] *** lighter has joined #angularjs
[12:08:01] <noobee> is google trying to lock us to use angular forever? by having us to write everything in angular way?
[12:08:12] *** lordkryss has joined #angularjs
[12:08:21] <lighter> Hi .. I am hitting an issue while using $http.post and node mongo insertion
[12:08:22] <noobee> i cannot use my existing JS libraries, need to make them to be angular directives
[12:08:35] <lighter> there is a property added with $$hashKey
[12:08:44] <lighter> any idea how to avoid that error
[12:09:06] *** mennea has joined #angularjs
[12:10:08] <prikk> noobee: https://angularjs.org/
[12:10:09] <prikk> :P
[12:10:14] <prikk> it's basically on the front page
[12:10:34] *** gunn has quit IRC
[12:10:34] <prikk> regarding "locking" the answer is: no, you're just not grasping it
[12:10:53] <prikk> if you need existing tools in a new technology, of course they have to be adapted
[12:11:00] <prikk> noone's forcing you to do anything
[12:11:37] *** gunn has joined #angularjs
[12:11:46] <noobee> do you love angular js?
[12:11:55] <noobee> how angularjs compared to ember? in your opinion?
[12:12:16] <prikk> odd questions
[12:12:17] <prikk> :)
[12:12:27] *** disorder20 has joined #angularjs
[12:12:28] <prikk> (this first one anyway)
[12:12:33] <prikk> i haven't tried ember other than a tutorial
[12:12:37] <lighter> anyone ? How can i avoid the $$hashkey property that is being added ..cause its causing error in node server
[12:12:37] <prikk> i liked it
[12:13:00] <prikk> try out the tutorial on their site and see for yourself
[12:13:04] *** tarkus has joined #angularjs
[12:13:21] <peey> noobee: you can't learn everything at once. Try starting with basic projects with just controllers, factories and inbuilt directives. If you like what you see, go ahead and learn more
[12:13:42] <noobee> yes i like angular at first try
[12:13:55] <noobee> but as i got a bit deeper, i started to have so many problems
[12:13:57] *** cacts has quit IRC
[12:14:00] *** the-erm has quit IRC
[12:14:07] *** ckboii89 has joined #angularjs
[12:14:08] <prikk> have patience
[12:14:51] *** _jpfm has joined #angularjs
[12:16:15] <Ephemeral> noobee, get a good book
[12:16:16] <Ephemeral> :o
[12:16:26] <noobee> i have oriely angularjs
[12:16:46] <noobee> what confuses me now is everything in angular seems to be singletons
[12:16:54] *** the-erm has joined #angularjs
[12:17:01] *** disorder20 is now known as kkuno
[12:17:04] <noobee> for example what if i want to create multiple modals
[12:17:08] <Ephemeral> https://www.ng-book.com/
[12:17:11] <Ephemeral> i find that to be rather good.
[12:17:30] <noobee> its so expensive
[12:17:31] <noobee> 79
[12:18:18] *** ckboii89 has quit IRC
[12:18:27] <Ephemeral> you're on the internet.
[12:18:51] <Ephemeral> but it is worthwhile.
[12:19:59] <prikk> noobee: directives aren't really singletons
[12:20:03] *** Grokling_ has joined #angularjs
[12:20:14] <prikk> services are more singletonish
[12:20:18] <prikk> most of the time
[12:20:21] <prikk> they don't have to be, though
[12:20:29] *** toastynerd has joined #angularjs
[12:20:59] <prikk> you can create a factory service which produces other objects which you use etc, it's just plain JS in the end
[12:21:34] *** futuredale has joined #angularjs
[12:23:48] *** prikk has quit IRC
[12:23:55] *** shinnya has joined #angularjs
[12:24:04] *** toastynerd has quit IRC
[12:24:16] <lighter> ok got over the problem by removing those properties in server :)
[12:25:22] <lighter> noobee i can confirm you one thing that angular is power
[12:26:33] *** futuredale has quit IRC
[12:27:16] *** Grokling_ has quit IRC
[12:28:31] *** Willow__ has quit IRC
[12:28:58] *** Willow__ has joined #angularjs
[12:29:44] *** dve has joined #angularjs
[12:30:29] <mchapman> Can anyone suggest a way of having something between when and otherwise using ngrouter? To add parametereised routes early in the boot that may clash with hardcoded routes that have to be added later?
[12:31:25] *** pibu7 has quit IRC
[12:31:47] *** Foxandxss has joined #angularjs
[12:32:08] <noobee> so angularjs is power?
[12:32:12] <mchapman> eg a library wants to add route /:model without impacting on a later module that that wants to /dashboard
[12:32:30] <noobee> can I get transcendance with angular?
[12:33:35] *** Willow__ has quit IRC
[12:33:47] <lighter> first prove that transcendance is possible using power
[12:34:39] *** fdrechsler has joined #angularjs
[12:34:41] <noobee> can I upload my consciousness to angularjs?
[12:34:47] <noobee> to google?
[12:35:52] <mchapman> google already have your consciousness
[12:36:16] <lighter> he ll be surprised by how much google already knows ? :P
[12:36:48] <mchapman> Gogle Now is working on potential future consciousnesses
[12:37:13] *** ssbr has quit IRC
[12:37:17] <LoveAndHappiness> ss
[12:37:37] *** dc_ has joined #angularjs
[12:37:50] *** [n0b0dy] has quit IRC
[12:37:51] <lighter> love google now
[12:38:00] *** [n0b0dy] has joined #angularjs
[12:38:10] *** Vinnyceptr has quit IRC
[12:38:20] *** dc has quit IRC
[12:39:22] *** anjumkaiser has quit IRC
[12:39:47] *** Left_Turn has joined #angularjs
[12:40:04] *** odin_ has quit IRC
[12:42:36] *** TorchDragon has joined #angularjs
[12:44:11] *** hugorodrigues has joined #angularjs
[12:44:14] *** vbabiy has joined #angularjs
[12:44:51] <noobee> yes thats true...
[12:44:59] *** alp82 has joined #angularjs
[12:45:02] <noobee> google always shows me ads thats related to me
[12:45:36] <noobee> if i use @ in directive scope
[12:45:42] <noobee> that directive will be singleton?
[12:46:36] <Foxandxss> no
[12:46:53] *** TorchDragon has quit IRC
[12:47:19] *** DrMabuse has joined #angularjs
[12:48:03] *** tgkokk has quit IRC
[12:48:27] *** vbabiy has quit IRC
[12:48:34] *** hugorodrigues has quit IRC
[12:48:55] *** DrMabuse_ has joined #angularjs
[12:49:09] *** DrMabuse has quit IRC
[12:49:27] *** bberry has quit IRC
[12:50:00] <noobee> in my controller I will have
[12:50:03] <noobee> $scope.show
[12:50:07] *** one_zero has joined #angularjs
[12:50:26] <noobee> but if I have 2 same directives in my view
[12:50:37] <noobee> it will only listen to $scope.show
[12:50:53] <noobee> it won't be singleton
[12:50:58] <noobee> but it will have one settings
[12:51:07] <Foxandxss> link function will run twice
[12:51:41] *** caitp has joined #angularjs
[12:51:55] *** frostig has joined #angularjs
[12:52:01] *** faviouz has joined #angularjs
[12:52:04] <noobee> if i set $scope.show = true
[12:52:14] <noobee> which directive in view do i set?
[12:52:59] <lighter> just follow what ur heart says
[12:53:40] <Foxandxss> noobee: I have no idea what the `$scope.show = true` would trigger
[12:54:24] *** klaut has quit IRC
[12:54:50] <noobee> it will trigger modal
[12:54:51] <frostig> Hey, I'm completely new to angular (went through the basics this night) and I have a question, when having a backend with sessions what is the best way to go about that? Oauth seems a bit overkill for a simple app and if the api is on a subdomain I should be able to use normal session handling, yes?
[12:55:09] <noobee> anyway i was just asking question im wondering
[12:55:09] *** cctom_ has quit IRC
[12:55:11] <noobee> im not using @ yet
[12:55:15] <noobee> im using = now
[12:56:08] *** caitp has quit IRC
[12:57:00] <LoveAndHappiness> angularjs bi directional capability is a rabbit hole
[12:57:06] *** tarnus has joined #angularjs
[12:58:11] *** Willow__ has joined #angularjs
[12:59:24] *** anjumkaiser has joined #angularjs
[12:59:39] *** gunn has quit IRC
[13:00:02] *** DrMabuse_ has quit IRC
[13:01:24] *** rahulprasad has quit IRC
[13:01:32] *** bkuberek has joined #angularjs
[13:01:46] *** tarnus has quit IRC
[13:02:49] *** FIFOd[a] has joined #angularjs
[13:05:09] *** niop has joined #angularjs
[13:06:08] *** bkuberek has quit IRC
[13:06:54] *** klaut has joined #angularjs
[13:07:47] *** FIFOd[a] has quit IRC
[13:07:48] *** Jdubs has joined #angularjs
[13:07:49] <niop> hi, if anyone knows something of firebase, i need a node server backend to do some stuff. does firebase support that? often mention of node support in firebase, but the impression i have is that the node server needs to run on another host.
[13:08:11] *** [n0b0dy] has quit IRC
[13:08:21] *** [n0b0dy] has joined #angularjs
[13:08:46] <niop> there's mention of "npm install firebase" but assume this is for firebase stuff to run where the nose server is actually set up.
[13:08:59] *** klaut has quit IRC
[13:09:19] <LoveAndHappiness> niop actually no
[13:09:48] <LoveAndHappiness> firebase have their own backend
[13:09:53] <LoveAndHappiness> database I mean
[13:10:20] *** benjamingr has quit IRC
[13:10:32] *** LoveAndHappiness has quit IRC
[13:11:12] <niop> what a lovely name..
[13:11:29] <niop> not feeling that quite with this node issue as yet
[13:11:32] *** drej has joined #angularjs
[13:12:03] *** Jdubs has quit IRC
[13:12:21] <niop> their own backend.. which is to say.. that if you want a node server, to handle authentication say.. it would have to be on another host. they do provide hosting.. firebase..but you're saying it's not an option to run it here.
[13:12:26] <niop> *there
[13:12:28] <zelrik> morning
[13:12:38] *** Trow1 has quit IRC
[13:12:52] <niop> any suggestions? for a host to run a simple node server.
[13:13:18] <zelrik> I dont use node
[13:13:31] <niop> it's very nice apparently
[13:13:47] <niop> i intend to use it.. but not sure where to put it quite yet.
[13:14:30] <zelrik> I cant live outside of rails
[13:14:31] <niop> is there a decent but cheap and not too nasty way to quickly get one going.. decent performance wise, if there's any suggestions
[13:14:46] *** ckboii89 has joined #angularjs
[13:15:05] <niop> well, that was where i started. in fact where my love was. but getting into.. the indications were that rails, as much as i like the language, is going the way of the dinosaurs.
[13:15:12] <niop> *it
[13:15:34] <niop> the rest style architecture.. and no doubt other things.
[13:15:52] <zelrik> not sure about that
[13:16:07] <niop> no, nor am i
[13:16:24] <niop> nor where to put node.
[13:16:53] <zelrik> even though I think you can put sprockets on anything
[13:16:59] *** phuh has joined #angularjs
[13:19:08] *** ckboii89 has quit IRC
[13:19:46] *** FuCone has joined #angularjs
[13:20:05] <lighter> start with a seed
[13:20:58] *** imanc has joined #angularjs
[13:21:00] <niop> this relates to sprockets, node or a garden
[13:21:25] <noobee> is it worth it to make commitment to learn angularjs?
[13:21:42] <zelrik> noobee, if you wanna learn angularJS, yes
[13:21:44] <zelrik> :)
[13:22:19] *** klaut has joined #angularjs
[13:22:51] <zelrik> noobee, had to learn it for work, so far I like it
[13:23:14] <zelrik> I want to learn more advanced stuff though
[13:23:45] *** klaut has quit IRC
[13:24:04] *** toastynerd has joined #angularjs
[13:26:08] *** gunn has joined #angularjs
[13:26:44] *** tfennelly has quit IRC
[13:27:54] *** klaut has joined #angularjs
[13:28:12] *** toastynerd has quit IRC
[13:29:19] *** klaut has quit IRC
[13:29:32] *** janosko has quit IRC
[13:30:00] *** dc_ has quit IRC
[13:30:32] *** noobee has quit IRC
[13:31:36] <niop> angular can get hairy at times i've found, getting into directives and scopes, components, and knowing what's actually happening structure wise.. not as clear as in traditional languages like java. but client seems to be the way to go. and google probably has some idea of what's going to make a nice web..
[13:31:45] *** dc has joined #angularjs
[13:32:06] *** Mattias has quit IRC
[13:32:19] *** Jsn has joined #angularjs
[13:32:33] <zelrik> they are trying to remove some complexity in the next version of angular
[13:32:49] *** Jsn has quit IRC
[13:33:24] <lighter> worth it sure
[13:34:04] <lighter> noobee it will help in transcendence at some level :P
[13:34:19] *** Mattias has joined #angularjs
[13:35:16] *** scmx has quit IRC
[13:36:42] *** lighter has quit IRC
[13:37:01] *** dazs has quit IRC
[13:37:05] *** OnkelTem has quit IRC
[13:37:29] *** phuh has quit IRC
[13:37:57] *** phuh has joined #angularjs
[13:38:16] *** klaut has joined #angularjs
[13:38:27] *** OnkelTem has joined #angularjs
[13:39:07] *** drej has quit IRC
[13:40:10] *** jpstone has quit IRC
[13:40:19] *** ededagic has quit IRC
[13:41:16] *** dc has quit IRC
[13:43:56] *** TorchDragon has joined #angularjs
[13:45:04] *** drej has joined #angularjs
[13:46:13] *** Rockfordal has joined #angularjs
[13:47:51] *** L8TR has quit IRC
[13:48:20] *** TorchDragon has quit IRC
[13:51:32] *** drej has quit IRC
[13:51:58] *** fdrechsler has quit IRC
[13:52:29] *** caitp has joined #angularjs
[13:52:31] *** drej has joined #angularjs
[13:56:38] *** caitp has quit IRC
[13:57:12] *** dc has joined #angularjs
[13:57:23] *** ededagic has joined #angularjs
[13:58:11] *** dylanlindgren has quit IRC
[13:58:17] *** dylanlin_ has joined #angularjs
[13:58:25] *** [n0b0dy] has quit IRC
[13:58:35] *** [n0b0dy] has joined #angularjs
[13:58:38] *** Grokling__ has joined #angularjs
[14:00:43] *** bayousoft has joined #angularjs
[14:00:47] *** tarnus has joined #angularjs
[14:01:38] *** AlSquire has joined #angularjs
[14:02:29] *** bkuberek has joined #angularjs
[14:03:57] *** jerev_away is now known as jerev
[14:04:23] *** anjumkaiser has quit IRC
[14:06:38] *** bkuberek has quit IRC
[14:08:01] *** joshontheweb has quit IRC
[14:09:08] *** greengriminal_ has joined #angularjs
[14:09:24] *** greengriminal has quit IRC
[14:09:24] *** greengriminal_ is now known as greengriminal
[14:09:48] *** hswolff has joined #angularjs
[14:09:54] *** greengriminal has quit IRC
[14:10:11] *** dylanlin_ has quit IRC
[14:10:15] *** greengriminal has joined #angularjs
[14:10:47] *** dylanlindgren has joined #angularjs
[14:15:28] *** ckboii89 has joined #angularjs
[14:17:17] *** Climax777 has quit IRC
[14:17:53] *** joshontheweb has joined #angularjs
[14:19:32] *** ckboii89 has quit IRC
[14:22:42] *** illume has joined #angularjs
[14:22:53] *** dylanlindgren has quit IRC
[14:24:35] *** cctom has joined #angularjs
[14:24:49] *** toastynerd has joined #angularjs
[14:24:59] *** anjumkaiser has joined #angularjs
[14:26:44] *** dylanlindgren has joined #angularjs
[14:28:09] *** orion1111 has joined #angularjs
[14:28:22] *** phuh has quit IRC
[14:28:35] *** DrMabuse has joined #angularjs
[14:28:59] *** phuh has joined #angularjs
[14:29:04] *** [n0b0dy] has quit IRC
[14:29:08] *** toastynerd has quit IRC
[14:29:14] *** [n0b0dy] has joined #angularjs
[14:30:32] *** Climax777 has joined #angularjs
[14:30:36] *** niop has quit IRC
[14:31:12] *** partikus has joined #angularjs
[14:32:30] *** hugorodrigues has joined #angularjs
[14:34:15] *** mamarilmanson has joined #angularjs
[14:35:25] *** rangle has quit IRC
[14:35:48] *** one_zero has quit IRC
[14:36:04] *** fixl has joined #angularjs
[14:36:53] *** hugorodrigues has quit IRC
[14:37:32] *** phuh has quit IRC
[14:38:00] *** phuh has joined #angularjs
[14:40:01] *** vader has quit IRC
[14:40:10] *** lite_ has joined #angularjs
[14:40:44] *** lite__ has joined #angularjs
[14:41:36] *** tgkokk has joined #angularjs
[14:42:13] *** phuh has quit IRC
[14:42:30] *** lucasefe has joined #angularjs
[14:43:39] *** lite__ has quit IRC
[14:43:44] *** bmac has joined #angularjs
[14:44:08] *** lite__ has joined #angularjs
[14:44:28] *** lite_ has quit IRC
[14:44:32] *** Xethron has joined #angularjs
[14:44:37] *** TorchDragon has joined #angularjs
[14:45:16] *** vbabiy has joined #angularjs
[14:47:57] *** delight has joined #angularjs
[14:47:58] *** jshultz has joined #angularjs
[14:48:00] *** bmac has quit IRC
[14:48:04] *** lite__ has quit IRC
[14:48:53] *** TorchDragon has quit IRC
[14:50:04] *** vbabiy has quit IRC
[14:50:48] *** bayousoft has quit IRC
[14:53:05] *** vader has joined #angularjs
[14:53:12] *** caitp has joined #angularjs
[14:53:23] *** SpearThruster has joined #angularjs
[14:53:33] *** OdinIncarnate has quit IRC
[14:54:02] *** mamarilmanson has quit IRC
[14:54:44] *** greatdex has joined #angularjs
[14:57:28] *** kkuno has quit IRC
[14:57:45] *** odin_ has joined #angularjs
[14:57:46] *** Xethron has quit IRC
[14:57:47] *** caitp has quit IRC
[15:00:55] *** plysiu has joined #angularjs
[15:02:24] *** matiasow has joined #angularjs
[15:02:37] *** joshontheweb has quit IRC
[15:03:12] *** bkuberek has joined #angularjs
[15:03:31] *** peey has quit IRC
[15:03:33] *** zwacky has quit IRC
[15:04:02] *** davi has quit IRC
[15:04:55] *** Johnny13371337 has joined #angularjs
[15:06:33] *** orion1111 has quit IRC
[15:07:52] *** bkuberek has quit IRC
[15:07:55] *** matiasow has quit IRC
[15:08:22] *** dcherman has joined #angularjs
[15:08:42] *** matiasow has joined #angularjs
[15:08:50] *** [n0b0dy] has quit IRC
[15:09:00] *** [n0b0dy] has joined #angularjs
[15:09:17] *** matiasow has quit IRC
[15:09:29] *** Jdubs has joined #angularjs
[15:09:42] *** cctom has quit IRC
[15:09:54] *** matiasow has joined #angularjs
[15:10:46] *** delight has quit IRC
[15:11:44] *** illume has quit IRC
[15:11:55] *** tomh- has quit IRC
[15:13:57] *** Jdubs has quit IRC
[15:15:49] *** bayousoft has joined #angularjs
[15:15:55] *** tgkokk has quit IRC
[15:16:25] *** ckboii89 has joined #angularjs
[15:16:51] *** dcherman has quit IRC
[15:20:08] *** rangle has joined #angularjs
[15:20:20] *** ckboii89 has quit IRC
[15:20:32] *** JasonStoltz has joined #angularjs
[15:20:49] *** feelfine has joined #angularjs
[15:21:13] *** feelfine_ has joined #angularjs
[15:24:11] *** futuredale has joined #angularjs
[15:24:13] *** xjiujiu has joined #angularjs
[15:25:05] *** partikus has quit IRC
[15:25:17] *** feelfine has quit IRC
[15:25:27] *** richiebkr has joined #angularjs
[15:25:33] *** toastynerd has joined #angularjs
[15:29:02] *** futuredale has quit IRC
[15:29:38] *** richiebkr has quit IRC
[15:29:53] *** toastynerd has quit IRC
[15:29:54] *** JasonStoltz has quit IRC
[15:30:43] *** xjiujiu has quit IRC
[15:31:13] *** xjiujiu has joined #angularjs
[15:32:29] *** mehlah has joined #angularjs
[15:37:31] *** matiasow has quit IRC
[15:38:59] *** lordkryss has quit IRC
[15:39:38] *** xjiujiu has quit IRC
[15:40:07] *** xjiujiu has joined #angularjs
[15:40:46] *** frostig has quit IRC
[15:40:55] *** ajk27 has quit IRC
[15:40:58] *** Trow has joined #angularjs
[15:41:23] *** ajk27 has joined #angularjs
[15:41:33] *** kbiela has joined #angularjs
[15:42:24] *** partikus has joined #angularjs
[15:44:28] *** lite_ has joined #angularjs
[15:46:02] *** Climax777 has quit IRC
[15:46:26] *** vbabiy has joined #angularjs
[15:47:23] *** bayousoft has quit IRC
[15:48:58] *** lucasefe has quit IRC
[15:49:04] *** lite_ has quit IRC
[15:50:01] *** xjiujiu has quit IRC
[15:50:18] *** lite_ has joined #angularjs
[15:50:28] *** xjiujiu has joined #angularjs
[15:50:43] *** ededagic_ has joined #angularjs
[15:50:47] *** ericrav has joined #angularjs
[15:50:48] *** ededagic has quit IRC
[15:51:04] *** vbabiy has quit IRC
[15:51:45] *** tmrudick has joined #angularjs
[15:52:15] *** L8TR has joined #angularjs
[15:52:21] *** Ethix has joined #angularjs
[15:53:12] *** mehlah has quit IRC
[15:53:20] *** Hackwar has quit IRC
[15:54:25] *** dc has quit IRC
[15:54:28] *** matiasow has joined #angularjs
[15:56:27] *** dc has joined #angularjs
[15:58:03] *** theshane has quit IRC
[15:58:09] *** Cydmax has joined #angularjs
[15:58:23] *** FuCone has quit IRC
[15:58:29] *** jobelenus has joined #angularjs
[15:58:58] *** linojon has joined #angularjs
[15:59:23] *** fdrechsler has joined #angularjs
[16:00:24] *** fixl has quit IRC
[16:00:40] *** Trow1 has joined #angularjs
[16:01:50] *** Mouzi has joined #angularjs
[16:01:57] *** dc has quit IRC
[16:03:15] *** dc has joined #angularjs
[16:03:35] *** Trow has quit IRC
[16:03:52] *** bkuberek has joined #angularjs
[16:04:51] *** theshane has joined #angularjs
[16:04:56] *** xjiujiu has quit IRC
[16:05:20] *** xjiujiu has joined #angularjs
[16:05:23] *** nodweber has joined #angularjs
[16:05:38] *** tmrudick has quit IRC
[16:06:10] *** ReactiveIO has joined #angularjs
[16:08:00] *** tmrudick has joined #angularjs
[16:08:32] *** bkuberek has quit IRC
[16:09:11] *** tomzx is now known as tomzx`afk
[16:10:39] *** partikus has quit IRC
[16:10:42] *** bbankes has quit IRC
[16:10:59] <bencc> is there an eta for 2.0?
[16:11:14] *** billli has joined #angularjs
[16:11:25] <zelrik> bencc, whenever it s ready
[16:11:25] <zelrik> :)
[16:11:35] <bencc> ha ha ha
[16:11:38] <bencc> not funny
[16:11:46] <billli> Hi all, Does angular 1.3 support bind once? or do I have to use Pasvaz/bindonce
[16:12:09] <zelrik> bencc, but accurate
[16:12:28] <bencc> I asked if there is an eta not when it'll be ready
[16:12:33] <bencc> a simple answer could be no
[16:12:44] <zelrik> yeah the short answer is no
[16:12:46] *** xjiujiu has quit IRC
[16:13:13] *** xjiujiu has joined #angularjs
[16:13:23] <zelrik> Sorry, I gave you more information than necessary
[16:14:28] *** feelfine_ has quit IRC
[16:15:10] *** rangle has quit IRC
[16:15:53] *** rangle has joined #angularjs
[16:17:09] *** ckboii89 has joined #angularjs
[16:17:21] *** lucasefe has joined #angularjs
[16:18:56] *** ckboii89_ has joined #angularjs
[16:20:43] *** webguynow has joined #angularjs
[16:20:48] *** hugorodrigues has joined #angularjs
[16:21:00] *** feelfine has joined #angularjs
[16:21:27] *** lucasefe has quit IRC
[16:21:32] *** ckboii89 has quit IRC
[16:21:37] *** Climax777 has joined #angularjs
[16:22:30] *** encrypt3d_fracti has joined #angularjs
[16:22:43] *** Johnny13371337 has left #angularjs
[16:23:08] *** ckboii89_ has quit IRC
[16:23:46] *** kbiela has quit IRC
[16:24:23] *** lordkryss has joined #angularjs
[16:24:49] *** tgkokk has joined #angularjs
[16:25:04] *** ericrav has quit IRC
[16:25:26] *** hugorodrigues has quit IRC
[16:25:44] *** ericrav has joined #angularjs
[16:25:55] *** MTGap has joined #angularjs
[16:26:02] *** phuh has joined #angularjs
[16:26:20] *** toastynerd has joined #angularjs
[16:26:44] *** encrypt3d_fracti has quit IRC
[16:27:08] *** xjiujiu has quit IRC
[16:27:32] *** xjiujiu has joined #angularjs
[16:29:25] *** XoRoN has joined #angularjs
[16:29:53] *** theshane has quit IRC
[16:30:12] *** ericrav has quit IRC
[16:30:37] *** toastynerd has quit IRC
[16:31:06] *** bkuberek has joined #angularjs
[16:33:58] *** ericrav has joined #angularjs
[16:35:02] *** dylanlindgren has quit IRC
[16:35:27] *** xjiujiu has quit IRC
[16:35:56] *** xjiujiu has joined #angularjs
[16:36:08] *** roymiloh has joined #angularjs
[16:36:19] *** zenodub has quit IRC
[16:36:34] *** mennea has quit IRC
[16:38:20] *** billli has quit IRC
[16:38:39] *** ingshtrom has joined #angularjs
[16:38:56] *** hychen has joined #angularjs
[16:38:58] *** tgkokk has quit IRC
[16:40:46] *** kalehv has joined #angularjs
[16:41:47] *** XoRoN has quit IRC
[16:42:27] *** fold has joined #angularjs
[16:42:30] *** ededagic has joined #angularjs
[16:42:46] *** Grokling__ has quit IRC
[16:43:33] *** dve_ has joined #angularjs
[16:43:57] *** ededagic_ has quit IRC
[16:44:06] *** mettjus has joined #angularjs
[16:44:23] *** xjiujiu has quit IRC
[16:45:04] *** dve has quit IRC
[16:45:57] *** TorchDragon has joined #angularjs
[16:46:01] *** Jae has quit IRC
[16:46:31] *** tgkokk has joined #angularjs
[16:47:15] *** vbabiy has joined #angularjs
[16:47:29] *** katsh has joined #angularjs
[16:48:21] *** billli has joined #angularjs
[16:49:30] *** jobelenus has quit IRC
[16:50:17] *** TorchDragon has quit IRC
[16:50:17] *** jk-5 is now known as jk-5|gone
[16:50:59] *** bayousoft has joined #angularjs
[16:51:32] *** vbabiy has quit IRC
[16:51:39] *** mennea has joined #angularjs
[16:51:50] *** RandomStranger has joined #angularjs
[16:52:59] *** lite_ has quit IRC
[16:53:10] *** RandomStranger- has quit IRC
[16:53:42] <sal1191> is karma only for client side testing?
[16:54:36] *** ReactiveIO has quit IRC
[16:54:43] *** mac_ified has joined #angularjs
[16:55:00] <Climax777> sal1191: what i've learnt is that few things only serve one purpose
[16:56:49] *** dc has quit IRC
[16:57:59] *** erving has joined #angularjs
[16:58:47] *** mnewton has joined #angularjs
[16:58:51] <sal1191> i see, i see
[16:59:30] <Climax777> another thing i've learnt is, using the right tool for the job is always a good idea
[17:00:28] <house> webstorm.. good tool for the job..
[17:00:39] <house> i'm loving it.
[17:01:07] *** dc has joined #angularjs
[17:01:19] <Climax777> i've been using ide's all my life. only recently got to playing around with vim. never been more happy
[17:02:11] *** yhsiang is now known as ETLY
[17:02:14] <house> vimis nice if you have to work right on the console. but if you are working locally, use webstorm in vim mode
[17:02:23] <house> pretty sweet.
[17:02:37] *** nodweber has quit IRC
[17:02:42] *** guilbep has joined #angularjs
[17:03:03] <sal1191> Ive been using vim for a year. its great
[17:03:10] *** nodweber has joined #angularjs
[17:03:14] <sal1191> especially cause i work on my dev server over ssh
[17:03:30] <sal1191> perfect tool
[17:03:33] <Climax777> i use vim all the place
[17:03:45] <sal1191> i use it for everything now
[17:03:48] <sal1191> emails, homework
[17:03:59] <Climax777> emails? how
[17:04:08] <sal1191> mutt
[17:04:18] <Climax777> though you might say that
[17:04:29] <Climax777> i will give it a try thanks
[17:04:38] *** ericrav has quit IRC
[17:04:38] <house> i like vim.. been using it for years.. since its first version came out for the atari ST in fact.
[17:04:39] <sal1191> sure
[17:04:49] <sal1191> wow i didnt know that
[17:04:50] <house> but, i still think we bstorm is the next step
[17:04:59] *** Nizumzen has joined #angularjs
[17:05:04] <house> in the evolution of tools for dev, especially JS dev
[17:05:16] *** ericrav has joined #angularjs
[17:05:20] <Climax777> i use eclipse usually. i need python, java, c++, and js all in one ide
[17:05:29] <Climax777> that is before vim
[17:05:47] <sal1191> have you tried jedi vim for python?
[17:06:21] <Climax777> i can't say that i have. i'm working on node now. mean stack...
[17:06:35] <Climax777> used to dev for django
[17:06:36] <sal1191> right on
[17:07:03] <sal1191> I wonder if there is JS autocompletion out there for node
[17:07:11] *** mettjus has quit IRC
[17:07:16] <house> webstorm's got it.
[17:07:20] <sal1191> for vim?
[17:07:23] <sal1191> though
[17:07:25] <Climax777> there is some yes
[17:07:29] <house> (put it in vim umulation mode)
[17:07:42] <sal1191> haha can i use it over ssh though?
[17:07:43] *** xjiujiu has joined #angularjs
[17:07:49] <Climax777> i'll go get the link that i used to setup all the vim plugins (hope you're using vundle?)
[17:07:51] *** nodweber has quit IRC
[17:07:55] <sal1191> i vim from my phone
[17:08:05] <sal1191> yes i use vundle
[17:08:29] *** JakeSays has quit IRC
[17:08:30] <Climax777> https://github.com/joyent/node/wiki/Vim-Plugins
[17:08:56] *** JakeSays has joined #angularjs
[17:09:00] <sal1191> ah this looks promising
[17:09:02] *** mettjus has joined #angularjs
[17:09:19] <Climax777> a wiki on node just for vim... heaven
[17:09:27] <sal1191> ill check that out when i make it home. im on my phone now :x
[17:09:27] *** ericrav has quit IRC
[17:09:43] <sal1191> thanks m8
[17:09:58] *** JakeSays has quit IRC
[17:10:05] *** colin_ has joined #angularjs
[17:10:08] *** phuh has quit IRC
[17:10:11] *** JakeSays has joined #angularjs
[17:11:11] *** katsh has quit IRC
[17:11:50] <sal1191> anybody have a good example of a directive theyve written? i havent written my own yet and im trying to see what kinds of tasks they are used for typically
[17:12:03] *** kalehv has quit IRC
[17:12:03] *** orion1111 has joined #angularjs
[17:12:03] *** ETLY is now known as yhsiang
[17:12:08] *** Vinnyceptr has joined #angularjs
[17:12:20] <sal1191> i know what they are used for in general, listening to events and modifying the dom etc
[17:12:26] <Climax777> on angular's main page near the bottom is an example of a directive for implementing tabs
[17:12:55] <sal1191> ill check that one out
[17:12:58] *** phuh has joined #angularjs
[17:13:25] *** anjumkaiser has quit IRC
[17:13:32] <sal1191> ive been using angular for a few weeks now and a directive is the only major thing i havent written
[17:13:43] <sal1191> i just use other people's directives
[17:14:15] *** Sijdesign has joined #angularjs
[17:14:24] *** nodweber has joined #angularjs
[17:14:40] *** matiasow has quit IRC
[17:16:23] *** bkuberek has quit IRC
[17:17:12] <sal1191> Climax777: do you use irssi?
[17:18:03] <Climax777> nope. quassel on ubuntu
[17:18:23] *** matiasow has joined #angularjs
[17:18:35] <sal1191> ah never heard of that one
[17:18:38] *** abahgat has quit IRC
[17:18:44] <Climax777> its graphical
[17:18:51] <davedev24_> Hi can you help me out? If there are any angular.js newbies around, sign up with code school through this link and receive 2 free days to access all their coursework on the subject (and more). By signing up through this link I'll get an extra day as well. Thanks. http://go.codeschool.com/46bkwg
[17:19:45] *** ckboii89 has joined #angularjs
[17:20:55] <Climax777> sal1191: my .vimrc is available under my public gists. you are welcome to it. (same nick)
[17:21:30] *** atomical has joined #angularjs
[17:21:32] *** Tidwell has joined #angularjs
[17:21:48] <sal1191> Climax777: thanks i might actually use it. i forgot i had wiped my server when i was having nginx problems. my vim is vanilla atm
[17:22:28] *** Expi1 has joined #angularjs
[17:22:42] <sal1191> so is karma an alternative to phantomjs?
[17:23:01] *** cacts has joined #angularjs
[17:23:56] *** ckboii89 has quit IRC
[17:24:11] <sal1191> in terms of its being useful for testing client side javascripts
[17:25:26] <Climax777> karma is a test runner. phantomjs is basically a mock browser
[17:25:34] *** orion1111 has quit IRC
[17:25:38] <Climax777> don't quote me on that though
[17:27:08] *** toastynerd has joined #angularjs
[17:27:27] <sal1191> right i love phantomjs
[17:27:35] <sal1191> I always assumed its practical purpose was for testing
[17:27:41] *** mettjus1 has joined #angularjs
[17:27:57] <sal1191> I used it to write a script that logs into my bank account and prints my account balance to stdout
[17:28:04] *** mettjus has quit IRC
[17:28:17] *** colin_ has quit IRC
[17:28:20] *** TorchDragon_ has joined #angularjs
[17:28:29] <sal1191> karma essentially does the same thing though, if it is able to test client side code
[17:28:45] <sal1191> then it must run a browser-like VM in that it evaluates javascript
[17:28:55] *** abahgat has joined #angularjs
[17:28:59] *** mettjus has joined #angularjs
[17:29:01] *** dccc has quit IRC
[17:29:18] <TorchDragon_> I'm trying to bind a checkbox to a getter/setter but instead of calling the getter/setter functions, its replacing the function with the boolean value. Any ideas?
[17:29:32] *** futuredale has joined #angularjs
[17:30:03] *** dccc has joined #angularjs
[17:30:17] <sal1191> TorchDragon_: can you reproduce this in a plunkr?
[17:30:39] <TorchDragon_> sal1191: I've had very little luck with plunkr actually working for me.
[17:30:50] *** Jdubs has joined #angularjs
[17:30:51] <sal1191> ok, what syntax are you using to call the functions?
[17:31:03] <Climax777> i've never thought about it that way. karma uses phantomjs (or chrome etc.) in order to run the tests
[17:31:09] <TorchDragon_> sal1191: People link me to plunkr all the time from here and all I get is "exception not found" so they end up having to throw me a gist link.
[17:31:53] <TorchDragon_> I'm using the syntax defined on the ngModel doc page. https://docs.angularjs.org/api/ng/directive/ngModel
[17:31:57] *** toastynerd has quit IRC
[17:32:07] *** jk-5|gone is now known as jk-5
[17:32:08] *** mettjus1 has quit IRC
[17:32:13] <TorchDragon_> The difference being the object I'm binding to is inside of a service.
[17:32:18] *** desmond has joined #angularjs
[17:32:49] <TorchDragon_> So instead of $scope.user, its $scope.userSession.rememberUsername (which is a getter/setter function inside my userSession service)
[17:32:53] <sal1191> I see so you are trying to call the service's methods
[17:32:57] <sal1191> when the model is updated
[17:33:00] <TorchDragon_> Yep.
[17:33:05] <sal1191> try ng-change
[17:33:22] <sal1191> let me see if i can drum up an example
[17:33:41] *** bkuberek has joined #angularjs
[17:33:50] <TorchDragon_> Ick..
[17:34:02] <TorchDragon_> So you're saying I need to have a scope getter/setter to call my model getter/setter?
[17:34:29] <sal1191> yes your view code should not have access to your service layer
[17:34:33] <sal1191> that is what the controller is all about
[17:34:59] <TorchDragon_> It doesn't directly.
[17:35:02] *** matiasow has quit IRC
[17:35:15] <TorchDragon_> I have userSession as my injected service, then $scope.userSession = userSession;
[17:35:40] <sal1191> thats fine
[17:35:59] <sal1191> hang on
[17:36:16] *** lordkryss has quit IRC
[17:37:22] *** Jdubs has quit IRC
[17:37:57] <sal1191> this guy wrote a directive for it: http://stackoverflow.com/questions/21289577/getter-setter-support-with-ng-model-in-angularjs
[17:38:01] *** bkuberek_ has joined #angularjs
[17:38:11] <sal1191> interesting
[17:38:16] *** atomical has quit IRC
[17:38:27] <sal1191> im checkin out if theres a best practice on this one
[17:38:42] *** mettjus has quit IRC
[17:40:15] *** nodweber has quit IRC
[17:40:35] <TorchDragon_> There's supposedly native getter/setter support.
[17:40:42] *** bkuberek has quit IRC
[17:40:52] *** matiasow has joined #angularjs
[17:42:27] *** mmitchel_ has joined #angularjs
[17:43:24] *** Expi1 has quit IRC
[17:43:52] *** kalehv_ has joined #angularjs
[17:44:44] *** prikk has joined #angularjs
[17:45:14] *** mettjus has joined #angularjs
[17:46:32] *** faviouz has quit IRC
[17:47:20] *** Reskp has joined #angularjs
[17:47:29] *** tgkokk has quit IRC
[17:47:41] *** Reskp has quit IRC
[17:48:06] *** ngoyal has joined #angularjs
[17:48:14] <sal1191> TorchDragon_: I dont know about native support in the way youre saying
[17:48:24] <sal1191> but look at this jsfiddle, this guy does it in a cool way
[17:48:27] <sal1191> http://jsfiddle.net/BDyAs/15/
[17:50:04] *** tgkokk has joined #angularjs
[17:50:04] *** Reskp has joined #angularjs
[17:50:53] *** FIFOd[a] has joined #angularjs
[17:51:24] *** ericrav has joined #angularjs
[17:52:17] *** kalehv_ has quit IRC
[17:52:47] *** desmond has quit IRC
[17:52:50] *** ericrav has quit IRC
[17:53:16] *** ericrav has joined #angularjs
[17:53:52] *** lite_ has joined #angularjs
[17:54:53] *** Reskp has quit IRC
[17:55:15] *** bphogan_afk is now known as bphogan
[17:55:26] *** mmitchel_ has quit IRC
[17:57:28] *** ericrav_ has joined #angularjs
[17:57:37] *** ericrav has quit IRC
[17:58:02] *** sneakertack has joined #angularjs
[17:58:03] *** lite_ has quit IRC
[17:58:05] *** Drako_ has quit IRC
[17:58:24] *** rahulprasad has joined #angularjs
[17:58:59] *** matiasow has quit IRC
[17:59:09] *** ngoyal has quit IRC
[17:59:15] *** mary5030 has joined #angularjs
[17:59:45] *** ngoyal has joined #angularjs
[18:00:29] *** tfennelly has joined #angularjs
[18:01:45] *** Shrooms has joined #angularjs
[18:01:51] *** tfennelly has quit IRC
[18:02:15] *** tgkokk has quit IRC
[18:02:32] *** amargherio has joined #angularjs
[18:04:52] *** greatdex has quit IRC
[18:05:40] *** Guest42467 has joined #angularjs
[18:06:08] *** shinnya has quit IRC
[18:06:12] *** tgkokk has joined #angularjs
[18:07:06] *** Reskp has joined #angularjs
[18:07:17] <Guest42467> Hi Angular, question relating to ui-router: how do I change the default route on pageload only if the url doesn't contain a valid route already? I can put $state.go('home') in app.run, but I only want that to happen if no route is specified via url.
[18:07:42] *** philips has quit IRC
[18:08:13] *** subnl2 has joined #angularjs
[18:08:30] *** katsh has joined #angularjs
[18:08:53] *** roymiloh has quit IRC
[18:08:59] *** vbabiy has joined #angularjs
[18:09:04] *** hugorodrigues has joined #angularjs
[18:10:00] *** mary5030 has quit IRC
[18:11:24] *** philips has joined #angularjs
[18:11:26] <prikk> Guest42467: are you looking for "$urlRouterProvider.otherwise("/state1");" ?
[18:11:40] *** vader has quit IRC
[18:11:42] <prikk> from https://github.com/angular-ui/ui-router#nested-states--views
[18:11:47] *** vader_ has joined #angularjs
[18:12:19] <Guest42467> mmm yeah I think that's what I'm looking for, I'll check it out.
[18:12:35] *** phuh has quit IRC
[18:13:00] *** phuh has joined #angularjs
[18:13:08] <billli> I’ve added logic to $rootScope.$on('$stateChangeStart', function (event, toState) { }) so that it will redirect the user to the app.login state if the user is not logged in
[18:13:22] <billli> However, when I am testing this, I am not seeing the state changing...
[18:13:33] *** hugorodrigues has quit IRC
[18:13:34] *** vbabiy has quit IRC
[18:14:15] <billli> ie) assert.notOk($rootScope.AuthenticationService.getIsLoggedIn())
[18:14:16] <billli> $state.go('app.admin.index');
[18:14:17] <billli> $rootScope.$apply()
[18:14:18] <billli> assert.equal($state.current.name, 'app.login')
[18:15:10] <Guest42467> prikk: that worked, thanks very much
[18:15:33] <prikk> np, it is literally from the first example code in the docs :)
[18:16:18] <Guest42467> prikk: now I feel like i've wasted your time. I honestly was googling for 20 mins and didn't find it :)
[18:16:38] <prikk> haha alright
[18:16:56] *** feelfine has quit IRC
[18:16:57] <prikk> there's a lot of people here who seem to shun googling
[18:16:58] <prikk> :)
[18:17:06] <prikk> so you're fine!
[18:17:39] *** FIFOd[a] has quit IRC
[18:17:59] *** rhp has quit IRC
[18:18:10] <Guest42467> prikk: I realize now that my crime is not reading the main page ... just the wiki page and the FAQ page, plus the api reference.
[18:18:30] <prikk> :D
[18:18:40] *** FIFOd[a] has joined #angularjs
[18:18:58] <prikk> tbh i think $urlRouterProvider is from angular
[18:19:07] <prikk> not ui-router
[18:20:00] *** dve has joined #angularjs
[18:20:01] *** dc has quit IRC
[18:20:30] *** ckboii89 has joined #angularjs
[18:20:35] <Guest42467> prikk: I haven't used that either. I've been working on a project at work where we shoe-horned flatiron/director into the angular roject for our routing needs.
[18:20:59] *** dve_ has quit IRC
[18:21:03] <prikk> hehe alright
[18:21:32] *** BillCriswell has joined #angularjs
[18:22:11] *** TorchDragon_ has left #angularjs
[18:22:21] *** anjumkaiser has joined #angularjs
[18:23:23] *** FIFOd[a] has quit IRC
[18:24:10] *** upsell5 has joined #angularjs
[18:24:44] *** ckboii89 has quit IRC
[18:25:32] *** pHcF has joined #angularjs
[18:26:11] *** tgkokk has quit IRC
[18:26:16] *** hugorodrigues has joined #angularjs
[18:26:24] *** gauravsaini03 has joined #angularjs
[18:26:25] *** rho has joined #angularjs
[18:26:26] *** rho has joined #angularjs
[18:27:39] *** feelfine has joined #angularjs
[18:27:50] *** toastynerd has joined #angularjs
[18:29:01] *** arabot has joined #angularjs
[18:29:44] *** tgkokk has joined #angularjs
[18:30:18] *** redlaz has joined #angularjs
[18:30:36] *** Browser has joined #angularjs
[18:30:36] *** hnordt has joined #angularjs
[18:30:55] *** Guest42467 has quit IRC
[18:31:21] *** L8TR has quit IRC
[18:32:00] *** marcospgp has joined #angularjs
[18:32:17] *** toastynerd has quit IRC
[18:34:34] *** waylon999 has joined #angularjs
[18:35:01] *** lucasefe has joined #angularjs
[18:35:15] *** CodeFriar has joined #angularjs
[18:36:07] *** redlaz has quit IRC
[18:36:33] *** sdouglas has joined #angularjs
[18:36:52] <Rockfordal> are there any courses or information on using associated models (with $resource, rectangular or breeze?)
[18:37:52] *** hswolff has quit IRC
[18:38:20] *** Mahonar has joined #angularjs
[18:38:36] *** nszceta has joined #angularjs
[18:39:06] *** MacWinner has joined #angularjs
[18:39:56] *** roymiloh has joined #angularjs
[18:39:56] *** edzez_ has quit IRC
[18:40:21] *** edzez_ has joined #angularjs
[18:40:52] *** Jdubs has joined #angularjs
[18:41:16] *** hugorodrigues has quit IRC
[18:41:18] *** roymiloh has quit IRC
[18:41:32] *** roymiloh has joined #angularjs
[18:42:27] *** funhouse has quit IRC
[18:42:39] *** tfennelly has joined #angularjs
[18:44:22] *** jerev is now known as jerev_away
[18:45:53] *** sdouglas has quit IRC
[18:46:08] *** roymiloh has quit IRC
[18:46:26] *** sdouglas has joined #angularjs
[18:47:01] *** tfennelly has quit IRC
[18:47:30] *** TorchDragon has joined #angularjs
[18:47:59] *** mary5030 has joined #angularjs
[18:48:05] *** badon has left #angularjs
[18:48:29] *** dkenzik has joined #angularjs
[18:48:38] *** FIFOd[a] has joined #angularjs
[18:50:42] *** sdouglas has quit IRC
[18:51:00] *** screamin_ has joined #angularjs
[18:52:11] *** TorchDragon has quit IRC
[18:52:17] *** ericrav_ has quit IRC
[18:52:47] *** screamingbanshee has quit IRC
[18:52:56] *** screamin_ is now known as screamingbanshee
[18:52:59] *** ericrav has joined #angularjs
[18:53:08] *** CptChaos has joined #angularjs
[18:53:12] *** mac_ified has quit IRC
[18:54:04] *** FIFOd[a] has quit IRC
[18:55:14] *** mac_ified has joined #angularjs
[18:55:56] *** mmitchel_ has joined #angularjs
[18:56:29] *** waylon999 has quit IRC
[18:57:16] *** ericrav has quit IRC
[18:59:38] *** JimTheDev has joined #angularjs
[18:59:38] *** JimTheDev has joined #angularjs
[19:00:04] *** jk-5 has quit IRC
[19:00:16] *** Notte has joined #angularjs
[19:00:17] *** atomical has joined #angularjs
[19:00:52] *** lw has joined #angularjs
[19:00:53] *** mmitchel_ has quit IRC
[19:00:55] *** dman777 has quit IRC
[19:00:57] *** lw has quit IRC
[19:01:38] *** lw has joined #angularjs
[19:04:08] *** dve has quit IRC
[19:04:34] *** CodeFriar has quit IRC
[19:05:06] *** fcoury has joined #angularjs
[19:05:13] *** Sijdesign has quit IRC
[19:06:45] *** sdouglas has joined #angularjs
[19:07:01] *** illume has joined #angularjs
[19:07:34] *** dve has joined #angularjs
[19:08:01] *** illume has quit IRC
[19:08:14] *** Sijdesign has joined #angularjs
[19:08:27] *** Strues has joined #angularjs
[19:09:24] *** chrisbirk has joined #angularjs
[19:11:03] *** jpstone- has joined #angularjs
[19:12:36] *** phuh has quit IRC
[19:12:50] *** Tidwell has quit IRC
[19:13:00] *** phuh has joined #angularjs
[19:13:11] *** uf6667 has quit IRC
[19:13:26] *** jstroem has joined #angularjs
[19:13:35] *** JimTheDev has quit IRC
[19:13:54] *** billli has quit IRC
[19:14:00] <Strues> Whats the best way to handle this situation without forcing a user to repeat information? Ive got a user registration system, that Ive added some extra fields to. I'm now trying to create another form that shares some common fields from the registration
[19:15:15] *** mehlah has joined #angularjs
[19:15:44] *** e-dard_afk is now known as e-dard
[19:15:45] *** jpstone- is now known as jpstone
[19:16:37] *** jk-5 has joined #angularjs
[19:17:06] *** Notte has quit IRC
[19:17:44] *** desmond has joined #angularjs
[19:18:31] *** upsell5 has quit IRC
[19:19:12] *** dve has quit IRC
[19:19:16] *** roymiloh has joined #angularjs
[19:19:49] *** dve has joined #angularjs
[19:20:53] *** bphogan is now known as bphogan_afk
[19:21:01] *** jstroem has quit IRC
[19:21:09] *** ckboii89 has joined #angularjs
[19:21:17] *** mmitchel_ has joined #angularjs
[19:21:17] *** tomzx`afk is now known as tomzx
[19:21:45] *** jstroem has joined #angularjs
[19:22:03] *** cellofellow has quit IRC
[19:23:33] *** ericrav has joined #angularjs
[19:23:48] *** colin_ has joined #angularjs
[19:24:35] *** dve has quit IRC
[19:25:11] *** sneakertack has quit IRC
[19:25:11] *** ericrav_ has joined #angularjs
[19:25:21] *** ericrav has quit IRC
[19:25:32] *** ckboii89 has quit IRC
[19:26:01] *** jstroem has quit IRC
[19:26:25] *** cellofellow has joined #angularjs
[19:26:33] *** BillCriswell has quit IRC
[19:26:57] *** Tidwell has joined #angularjs
[19:27:40] *** nszceta has quit IRC
[19:27:56] *** bphogan_afk is now known as bphogan
[19:28:10] *** sdouglas has quit IRC
[19:28:35] *** atomical has quit IRC
[19:29:22] *** billli has joined #angularjs
[19:29:38] *** bkuberek_ has quit IRC
[19:29:57] *** mmitchel_ has quit IRC
[19:29:59] *** ericrav_ has quit IRC
[19:31:01] *** _jpfm has quit IRC
[19:31:12] *** MuffinMan` has joined #angularjs
[19:31:24] *** mettjus has quit IRC
[19:32:15] *** night-owl2 has quit IRC
[19:32:35] *** alp82 has quit IRC
[19:33:55] *** Strues has quit IRC
[19:34:27] *** jstroem has joined #angularjs
[19:38:25] *** L8TR has joined #angularjs
[19:39:10] *** lidenbrock has joined #angularjs
[19:39:32] *** rahulprasad has quit IRC
[19:39:55] *** toastynerd has joined #angularjs
[19:40:52] *** Mouzi has quit IRC
[19:42:03] *** FIFOd[a] has joined #angularjs
[19:42:13] *** zwacky has joined #angularjs
[19:42:31] *** tfennelly has joined #angularjs
[19:43:00] *** Tidwell has quit IRC
[19:43:01] *** Strues has joined #angularjs
[19:44:22] *** plex0r has joined #angularjs
[19:44:57] *** cthrax has joined #angularjs
[19:45:23] *** jk-5 has quit IRC
[19:46:02] *** lidenbrock has quit IRC
[19:46:09] *** waylon999 has joined #angularjs
[19:47:09] *** caitp has joined #angularjs
[19:47:42] *** dc has joined #angularjs
[19:48:35] *** Limix has joined #angularjs
[19:48:48] *** e-dard is now known as e-dard_afk
[19:48:52] *** Fire-Dragon-DoL has joined #angularjs
[19:49:26] *** asdofindia has joined #angularjs
[19:49:34] *** bayousoft has quit IRC
[19:50:20] *** goodbomb has joined #angularjs
[19:51:02] *** xjiujiu has quit IRC
[19:52:26] *** ericrav has joined #angularjs
[19:53:04] *** colin_ has quit IRC
[19:53:41] *** zling_ has joined #angularjs
[19:53:50] *** Fire-Dragon-DoL has quit IRC
[19:54:17] *** Nizumzen has quit IRC
[19:54:34] *** Fire-Dragon-DoL has joined #angularjs
[19:54:47] *** flocca has quit IRC
[19:55:01] *** Notte has joined #angularjs
[19:55:30] *** vbabiy has joined #angularjs
[19:56:30] *** DrMabuse has quit IRC
[19:56:52] *** ericrav has quit IRC
[19:57:11] *** jk-5 has joined #angularjs
[19:57:25] *** billli has quit IRC
[19:57:31] *** optikalmouse has joined #angularjs
[19:57:46] *** oste has joined #angularjs
[19:57:48] *** blackkbot has quit IRC
[19:58:23] *** flocca has joined #angularjs
[19:59:07] *** FIFOd[a] has quit IRC
[20:00:07] *** vbabiy has quit IRC
[20:01:04] *** guilbep has quit IRC
[20:01:30] *** sheperson has joined #angularjs
[20:02:00] *** hugorodrigues has joined #angularjs
[20:02:19] *** mehlah has quit IRC
[20:03:07] *** goodbomb has quit IRC
[20:04:21] *** BillCriswell has joined #angularjs
[20:05:01] *** Reskp_ has joined #angularjs
[20:05:39] *** FIFOd[a] has joined #angularjs
[20:06:08] *** Ericx2x_ has joined #angularjs
[20:07:28] *** Sijdesign has quit IRC
[20:07:29] *** Reskp has quit IRC
[20:07:52] *** tgkokk has quit IRC
[20:08:29] *** Limix has quit IRC
[20:08:40] *** scmx has joined #angularjs
[20:08:55] *** delerium_ has quit IRC
[20:09:36] *** cacts has quit IRC
[20:10:17] *** ETBlue has quit IRC
[20:10:28] *** ngoyal_ has joined #angularjs
[20:10:43] *** DrMabuse has joined #angularjs
[20:11:37] *** goodbomb has joined #angularjs
[20:11:51] *** ericrav has joined #angularjs
[20:12:36] *** phuh has quit IRC
[20:13:02] *** phuh has joined #angularjs
[20:13:47] *** jpstone has quit IRC
[20:13:53] *** ngoyal has quit IRC
[20:13:57] <sal1191> I am having trouble posting a form to a PHP backend
[20:14:12] *** mchapman has quit IRC
[20:14:18] <sal1191> it works when you curl --data "q=18&a=24" http://ecdesign.co/api/try.php
[20:14:34] <sal1191> but when I post the form using $http
[20:14:39] <sal1191> PHP sees null values for q and a
[20:14:40] *** ngoyal_ has quit IRC
[20:15:48] *** raghunayyar has joined #angularjs
[20:16:04] *** ppppaul has joined #angularjs
[20:16:08] *** ckboii89 has joined #angularjs
[20:16:29] <sal1191> and I'm not sure why. Ive tried changing the headers to x-www-form-urlencoded
[20:16:34] <sal1191> however the same thing occurs
[20:17:00] *** colin_ has joined #angularjs
[20:17:53] *** nemothekid has quit IRC
[20:18:27] *** ededagic_ has joined #angularjs
[20:18:28] *** anjumkaiser has quit IRC
[20:19:47] *** fold has quit IRC
[20:19:52] *** ededagic has quit IRC
[20:21:05] *** [n0b0dy] has quit IRC
[20:21:16] *** [n0b0dy] has joined #angularjs
[20:21:39] *** lw has quit IRC
[20:22:13] *** bayousoft has joined #angularjs
[20:22:43] *** jstroem has quit IRC
[20:23:22] *** kalehv has joined #angularjs
[20:23:53] *** lw has joined #angularjs
[20:24:57] *** marcospgp has quit IRC
[20:25:56] *** rahulprasad has joined #angularjs
[20:26:03] *** illume has joined #angularjs
[20:26:27] *** bkuberek has joined #angularjs
[20:26:56] *** sheperson has quit IRC
[20:27:26] *** hswolff has joined #angularjs
[20:28:23] *** ericrav has quit IRC
[20:28:52] *** Strues has quit IRC
[20:28:58] *** ericrav has joined #angularjs
[20:32:49] *** MuffinMan` has quit IRC
[20:33:18] *** ericrav has quit IRC
[20:35:11] *** jstroem has joined #angularjs
[20:35:23] *** matiasow has joined #angularjs
[20:36:40] *** nemothekid has joined #angularjs
[20:36:41] <Zerot> sal1191: angular has only a json transformer by default for $http
[20:36:50] <Zerot> so it will only send stuff over as json
[20:36:58] *** dmitrykorotkov has joined #angularjs
[20:37:19] <Zerot> if you want to send it over as form-encoded you will need to make your own transformer and add it to the transformers array in $http
[20:37:33] <sal1191> I tried that, added a transformResponse service
[20:38:04] <Zerot> sal1191: that doesn
[20:38:05] <sal1191> although I didnt have any success. it was easier to change my PHP to use file_get_contents('php://input')
[20:38:11] <Zerot> doesn't make sense
[20:38:20] <Zerot> because you want to transform the request, not the response
[20:38:52] *** rho has quit IRC
[20:38:55] <sal1191> thats what I meant sorry
[20:40:12] *** atomical has joined #angularjs
[20:40:13] *** Tidwell has joined #angularjs
[20:40:30] *** colin_ has quit IRC
[20:40:31] *** lw has quit IRC
[20:40:33] <sal1191> anybody have experience with Ionic Modals? I am trying to create the effect of "switching out" modals
[20:40:39] *** ededagic_ has quit IRC
[20:40:50] *** ededagic has joined #angularjs
[20:41:02] <sal1191> its a quiz game, when you answer a question right, the modal goes down, and the modal for the next question comes up
[20:41:18] *** blackkbot has joined #angularjs
[20:41:19] <sal1191> ive tried this using $timeout but it doesnt seem to work
[20:41:36] <sal1191> wonderin if anyone had accomplished something like this
[20:41:47] <oddalot> can you make one modal work?
[20:42:02] *** L8TR has quit IRC
[20:42:06] <sal1191> yes
[20:42:08] <sal1191> heres what I got so far
[20:42:14] <sal1191> http://ecdesign.co/#/game/module/8
[20:42:22] *** matiasow has joined #angularjs
[20:42:33] <sal1191> but when the second modal is supposed to appear, it doesnt
[20:42:37] <sal1191> you have to click the play module button again
[20:42:51] <oddalot> it does appear, but then quickly dissapears
[20:42:56] *** ericrav has joined #angularjs
[20:43:02] <oddalot> just find what's calling it to close in the js
[20:43:24] <sal1191> I am calling the hide() function when you get the answer right
[20:43:26] <sal1191> on the modal
[20:43:35] <sal1191> and then I $timeout, show()
[20:43:55] <sal1191> its the same modal that appears with different content in the model
[20:43:59] *** matiasow has quit IRC
[20:44:25] *** colin_ has joined #angularjs
[20:44:29] <oddalot> sounds like you need to get your timeouts in order
[20:44:45] *** mehlah has joined #angularjs
[20:45:04] <sal1191> maybe, ill try a few more things
[20:45:39] *** disorder20 has joined #angularjs
[20:46:45] *** benjamingr has joined #angularjs
[20:47:44] *** encrypt3d_fracti has joined #angularjs
[20:48:27] *** atomical has quit IRC
[20:49:56] *** Nek has joined #angularjs
[20:50:28] *** encrypt3_ has joined #angularjs
[20:50:28] *** cthrax has quit IRC
[20:50:55] *** Notte has quit IRC
[20:51:03] *** bayousoft has quit IRC
[20:51:23] <sal1191> Got it! needed a longer $timeout
[20:51:30] *** RandomStranger has quit IRC
[20:51:34] *** encrypt3d_fracti has quit IRC
[20:51:35] <sal1191> real smooth transition now
[20:51:41] *** erving has quit IRC
[20:52:02] <sal1191> oddalot: thanks for the tip mate
[20:52:34] *** Ericx2x_ has quit IRC
[20:52:39] *** RandomStranger has joined #angularjs
[20:52:45] <oddalot> np
[20:55:04] *** dob_ has joined #angularjs
[20:55:41] *** roymiloh has quit IRC
[20:55:57] *** Aartsie has joined #angularjs
[20:56:15] *** vbabiy has joined #angularjs
[20:56:36] *** illume has quit IRC
[20:57:09] *** encrypt3_ has quit IRC
[20:57:50] <greengriminal> Given that I have the following: https://gist.github.com/anonymous/fc1805f9250c2a85e07e my problem is when I click "Add Resource" i keep getting "TypeErrod undefined is not a function"
[20:58:19] *** bayousoft has joined #angularjs
[20:58:35] *** Willow__ has quit IRC
[20:58:45] *** save has joined #angularjs
[20:58:47] *** jerev_away is now known as jerev
[20:58:55] *** roymiloh_ has joined #angularjs
[20:58:58] <greengriminal> Why would it fail? When I check if the var "a" is undefined.
[20:59:10] *** Willow__ has joined #angularjs
[20:59:56] *** dc has quit IRC
[21:00:05] <save> anyone have some good resources for learning unit testing.. more theory, what to test, how to get started with tdd... rather than just 'how to use jasmine'
[21:00:12] *** encrypt3d_fracti has joined #angularjs
[21:00:45] *** vbabiy has quit IRC
[21:01:39] *** Cydmax has quit IRC
[21:01:52] *** Tidwell has quit IRC
[21:02:05] *** ascarter has joined #angularjs
[21:02:06] *** Cydmax has joined #angularjs
[21:02:06] *** umib0zu has joined #angularjs
[21:02:19] *** waylon999 has quit IRC
[21:02:27] *** goodbomb has quit IRC
[21:02:35] *** rgolea has joined #angularjs
[21:02:44] *** SomeKittens has joined #angularjs
[21:03:03] <rgolea> hi there people... I would like to know what do you think is the best and fastest backend for angular
[21:03:37] *** Willow__ has quit IRC
[21:04:08] <rgolea> i was using codeigniter and i was a full-time php dev
[21:04:19] <rgolea> but now i need a change
[21:04:36] *** colin_ has quit IRC
[21:04:48] <rgolea> and i think node is awsome but has lots of limitations when you're publishing
[21:05:01] <rgolea> node/express/sailsjs
[21:05:38] <save> rgolea: what limitations are you hitting with node?
[21:05:47] <rgolea> publishing
[21:06:09] <rgolea> it's expensive or you have to put your own server
[21:06:20] *** Shrooms has quit IRC
[21:06:24] <save> expensive? digital ocean is $5 a month
[21:06:28] <save> how cheap do you want
[21:06:47] <save> cloudatcost is one time fee
[21:06:48] *** FIFOd[a] has joined #angularjs
[21:06:54] <save> lots of cheap options for vps out there
[21:06:59] *** Cydmax has quit IRC
[21:07:11] <rgolea> okay... so... you think is the best for angular?
[21:07:14] *** billli has joined #angularjs
[21:07:30] <save> i like node, it fits my business requirements
[21:07:46] <save> but my api is completely siloed from my front end, so really it doesnt matter
[21:08:11] <rgolea> so... node it is?
[21:08:15] <save> sure
[21:08:19] *** Aartsie has quit IRC
[21:08:26] <rgolea> one other cuestion
[21:08:26] *** lw has joined #angularjs
[21:08:45] <save> what im saying is that if you like php, and are comfortable with working with php on the backend, why leave it unless you have a specific reason to do so
[21:08:46] <rgolea> how do you manage authentification with angular if you're using phonegap?
[21:09:05] <rgolea> well... i don't want to be stuck
[21:09:37] <save> what specifically about managing authentication is the issue?
[21:09:54] <rgolea> sessions
[21:10:06] <save> store it in a cookie, or localstorage, or a service
[21:10:23] <rgolea> so you send a token or something like that?
[21:10:34] <rgolea> thank you for the info btw
[21:10:34] <save> https://medium.com/opinionated-angularjs/techniques-for-authentication-in-angularjs-applications-7bbf0346acec
[21:10:38] <save> yes token is nice
[21:10:44] <save> if you work with node
[21:10:48] <save> json web token is good
[21:10:53] *** FIFOd[a] has quit IRC
[21:10:59] <rgolea> thank you
[21:11:06] <save> http://www.intridea.com/blog/2013/11/7/json-web-token-the-useful-little-standard-you-haven-t-heard-about
[21:11:21] <save> if you choose sailsjs, i would recommend jwt
[21:11:39] <rgolea> i'm really coding as a hobby so thank you for the info
[21:11:40] <rgolea> :D
[21:12:00] <save> if you want google / facebook / github / whatever social login
[21:12:02] <save> use passport.js
[21:12:04] <rgolea> it's very nice to have some programmers that can help you once in a while
[21:12:13] *** Gambit- has joined #angularjs
[21:12:19] <rgolea> thank you again save
[21:12:23] <save> yes just pay it forward
[21:12:35] *** cswelin has quit IRC
[21:12:39] *** phuh has quit IRC
[21:13:02] *** phuh has joined #angularjs
[21:13:10] *** fold has joined #angularjs
[21:13:11] *** nodweber has joined #angularjs
[21:13:13] *** katsh has quit IRC
[21:14:31] *** cswelin has joined #angularjs
[21:14:56] *** rahulprasad has quit IRC
[21:15:17] *** matiasow has joined #angularjs
[21:15:50] *** jpstone has joined #angularjs
[21:16:33] *** zeroquake has joined #angularjs
[21:17:23] *** nodweber has quit IRC
[21:17:28] *** Aartsie has joined #angularjs
[21:17:36] *** ericrav has quit IRC
[21:18:14] *** goodbomb has joined #angularjs
[21:18:16] *** ericrav has joined #angularjs
[21:18:34] *** rahulprasad has joined #angularjs
[21:18:34] *** xavia has joined #angularjs
[21:18:44] *** cswelin has quit IRC
[21:19:08] *** DrMabuse has quit IRC
[21:19:22] *** Willow__ has joined #angularjs
[21:19:24] *** fedenunez has joined #angularjs
[21:19:27] *** matiasow has quit IRC
[21:19:33] *** dmitrykorotkov has quit IRC
[21:20:13] *** InezK_away is now known as InezK
[21:20:45] *** btyne has joined #angularjs
[21:20:50] *** jtimon has joined #angularjs
[21:20:54] *** tfennelly has quit IRC
[21:21:32] *** cswelin has joined #angularjs
[21:21:52] *** upsell5 has joined #angularjs
[21:21:52] *** mindlace has joined #angularjs
[21:22:19] *** rgolea has quit IRC
[21:22:35] *** ericrav has quit IRC
[21:22:42] *** ascarter has quit IRC
[21:22:46] *** DrMabuse has joined #angularjs
[21:23:25] *** hychen has quit IRC
[21:23:59] *** asdofindia has quit IRC
[21:24:30] *** stodan has joined #angularjs
[21:24:46] *** Tidwell has joined #angularjs
[21:26:41] *** linojon has quit IRC
[21:26:44] *** bphogan is now known as bphogan_afk
[21:26:47] *** FIFOd[a] has joined #angularjs
[21:26:55] *** gunn has quit IRC
[21:27:10] *** InezK is now known as InezK_away
[21:27:40] *** nodweber has joined #angularjs
[21:28:00] *** Cydmax has joined #angularjs
[21:28:07] *** rho has joined #angularjs
[21:28:59] *** linojon has joined #angularjs
[21:29:40] *** InezK_away is now known as InezK
[21:29:49] *** bphogan_afk is now known as bphogan
[21:31:18] *** charuru has joined #angularjs
[21:31:47] *** stodan has quit IRC
[21:31:53] *** jtimon has quit IRC
[21:31:57] *** nodweber has quit IRC
[21:34:57] *** codestorm has joined #angularjs
[21:35:17] *** wolfman2000 has quit IRC
[21:35:17] *** save has quit IRC
[21:35:38] *** davi has joined #angularjs
[21:35:40] *** ninsei has joined #angularjs
[21:39:31] *** roymiloh_ has quit IRC
[21:39:53] *** faviouz has joined #angularjs
[21:41:32] <hnordt> save do u think is necessary to read about flux in react docs? or I can get started without reading it?
[21:41:57] *** roymiloh has joined #angularjs
[21:43:09] *** RandyT has quit IRC
[21:45:33] *** Mahonar has quit IRC
[21:45:52] *** RandyT has joined #angularjs
[21:45:57] *** gauravsaini03 has quit IRC
[21:46:48] *** mtsr has joined #angularjs
[21:49:54] *** Kallb123 has joined #angularjs
[21:51:24] *** [n0b0dy] has quit IRC
[21:51:32] *** jonnybro has joined #angularjs
[21:51:34] *** [n0b0dy] has joined #angularjs
[21:51:57] *** billli has quit IRC
[21:53:02] *** fedenunez has quit IRC
[21:53:49] *** dob_ has quit IRC
[21:54:14] *** Cydmax has quit IRC
[21:54:15] *** dob_ has joined #angularjs
[21:54:24] *** Willow__ has quit IRC
[21:54:47] *** dutis has joined #angularjs
[21:54:51] *** Willow__ has joined #angularjs
[21:54:57] *** rikkipitt has joined #angularjs
[21:55:36] *** lebouf has joined #angularjs
[21:56:33] *** mindlace has quit IRC
[21:57:01] *** vbabiy has joined #angularjs
[21:57:22] *** SonikBoom has quit IRC
[21:57:55] <Kallb123> Hi guys, struggling to inject/access a service inside a $timeout. Can anyone take a quick look at this snipper? http://hastebin.com/awagofelir.js
[21:57:56] *** Shrooms has joined #angularjs
[21:58:38] *** dob_ has quit IRC
[21:58:52] *** peey has joined #angularjs
[21:59:02] *** Willow__ has quit IRC
[21:59:08] *** greg5gre_ has joined #angularjs
[21:59:25] *** umib0zu has quit IRC
[21:59:44] *** dutis has quit IRC
[22:00:06] *** jstroem has quit IRC
[22:00:10] *** drej has quit IRC
[22:00:24] *** davi has quit IRC
[22:00:25] <Kallb123> I tried $timeout(function(feedLoader) {, and removing feedLoader like: $timeout(function() {, but it just won't pick it up
[22:00:31] *** upsell5 has quit IRC
[22:00:38] *** jstroem has joined #angularjs
[22:00:44] *** greg5green has quit IRC
[22:00:47] *** shinnya has joined #angularjs
[22:01:23] *** vbabiy has quit IRC
[22:01:45] *** greg5gre_ is now known as greg5green
[22:01:52] *** greg5green has joined #angularjs
[22:02:38] *** juampy has joined #angularjs
[22:02:44] *** Shrooms has quit IRC
[22:02:56] *** juampy has quit IRC
[22:03:33] *** cthrax has joined #angularjs
[22:04:10] <Kallb123> Solved, I'm just stupid
[22:04:20] *** goodbomb has quit IRC
[22:04:43] <Foxandxss> no parameter
[22:04:50] *** juampy has joined #angularjs
[22:04:51] *** jonnybro has quit IRC
[22:05:06] *** juampy has quit IRC
[22:05:21] *** jstroem has quit IRC
[22:05:33] *** kalehv has quit IRC
[22:05:51] <Kallb123> sorry?
[22:05:52] *** frickett has joined #angularjs
[22:06:00] *** Climax777 has quit IRC
[22:06:16] *** kalehv has joined #angularjs
[22:07:06] *** bkuberek has quit IRC
[22:07:45] *** ericrav has joined #angularjs
[22:08:08] *** frickettz has quit IRC
[22:08:48] *** fatshark has quit IRC
[22:09:53] *** bilalq has joined #angularjs
[22:10:41] *** kalehv has quit IRC
[22:10:42] *** hswolff has quit IRC
[22:10:44] *** faviouz has quit IRC
[22:11:02] *** SonikBoom has joined #angularjs
[22:11:21] <bilalq> Hey everyone, I have a quick question regarding the ui-router
[22:11:37] <bilalq> if I'm in a certain state and have a form, I want to transition to another state on form submission
[22:11:49] <bilalq> but somehow pass the form data to this other state
[22:12:02] <bilalq> is there a way to do that other than adding query paramters?
[22:12:03] *** fatshark has joined #angularjs
[22:12:09] *** ericrav has quit IRC
[22:12:09] *** Shrooms has joined #angularjs
[22:12:30] *** dutis has joined #angularjs
[22:12:58] *** Jon30 has joined #angularjs
[22:13:38] *** tfennelly has joined #angularjs
[22:14:16] *** nodweber has joined #angularjs
[22:14:28] *** hswolff has joined #angularjs
[22:15:27] *** frickettz has joined #angularjs
[22:15:33] *** CptChaos has quit IRC
[22:15:35] *** frickett has quit IRC
[22:17:09] *** frickett has joined #angularjs
[22:17:55] <Foxandxss> bilalq: save it on a service
[22:18:00] *** ETBlue has joined #angularjs
[22:19:18] *** cthrax has quit IRC
[22:19:40] *** LoveAndHappiness has joined #angularjs
[22:19:56] <bilalq> Foxandxss: I suppose I could do that, but then it would be a bit persistent
[22:20:08] <bilalq> I suppose I could just clear it after retrieving it
[22:20:10] *** DrMabuse has quit IRC
[22:20:36] *** DrMabuse has joined #angularjs
[22:20:53] <Foxandxss> services is always the best way of sharing stuff
[22:20:59] *** frickettz has quit IRC
[22:21:09] *** [n0b0dy] has quit IRC
[22:21:19] *** [n0b0dy] has joined #angularjs
[22:21:37] *** ericrav has joined #angularjs
[22:21:43] <bilalq> That is what I always hear, but I can't help but feel that there should be a more lightweight way to send along data in a state/route transition
[22:22:10] *** D-Boy has quit IRC
[22:23:18] *** Ethix has quit IRC
[22:23:59] *** cswelin has quit IRC
[22:25:57] *** mary5030 has quit IRC
[22:26:02] *** ericrav has quit IRC
[22:26:04] *** cswelin has joined #angularjs
[22:26:06] *** hook has joined #angularjs
[22:26:31] *** zeroquake has quit IRC
[22:26:39] *** dutis has quit IRC
[22:26:42] *** InezK is now known as InezK_away
[22:26:52] *** mary5030 has joined #angularjs
[22:27:09] *** InezK_away is now known as InezK
[22:27:28] *** cthrax has joined #angularjs
[22:27:59] *** frickettz has joined #angularjs
[22:28:05] *** anjumkaiser has joined #angularjs
[22:29:23] *** frickett has quit IRC
[22:29:26] *** Tidwell has quit IRC
[22:30:38] *** frickett has joined #angularjs
[22:31:11] *** hook has quit IRC
[22:31:21] *** InezK is now known as InezK_away
[22:32:18] *** D-Boy has joined #angularjs
[22:32:41] *** MuffinMan` has joined #angularjs
[22:33:00] *** frickettz has quit IRC
[22:33:07] *** hook has joined #angularjs
[22:34:20] *** lebouf has quit IRC
[22:35:02] *** caitp has quit IRC
[22:35:08] *** phuh has quit IRC
[22:35:23] *** caitp has joined #angularjs
[22:35:35] *** phuh has joined #angularjs
[22:35:58] *** recidive has quit IRC
[22:35:59] *** frickett has quit IRC
[22:36:10] *** atomical has joined #angularjs
[22:36:22] *** kalehv has joined #angularjs
[22:37:17] *** fedenunez has joined #angularjs
[22:37:26] *** mtsr has quit IRC
[22:37:35] *** lieuallen has joined #angularjs
[22:38:36] *** Cache_Money has joined #angularjs
[22:40:48] *** TheAceOfHearts has joined #angularjs
[22:41:04] *** kalehv has quit IRC
[22:41:45] *** dutis has joined #angularjs
[22:41:54] *** JoshGlzBrk has joined #angularjs
[22:43:03] *** frickett has joined #angularjs
[22:43:10] *** drej has joined #angularjs
[22:44:11] *** FIFOd[a] has quit IRC
[22:45:15] *** greatdex has joined #angularjs
[22:45:40] *** drej has quit IRC
[22:46:22] *** davedev24_ has quit IRC
[22:46:22] *** Kallb123 has quit IRC
[22:46:39] *** davedev24_ has joined #angularjs
[22:46:42] *** milky has joined #angularjs
[22:46:47] *** hook has quit IRC
[22:46:56] *** dylukes has joined #angularjs
[22:47:24] *** linojon has quit IRC
[22:47:43] *** raghunayyar has quit IRC
[22:47:53] *** cthrax has quit IRC
[22:49:04] *** zwacky has quit IRC
[22:50:17] *** michaelm has joined #angularjs
[22:51:04] *** fedenunez has quit IRC
[22:51:37] *** ericrav has joined #angularjs
[22:52:07] *** fedenunez has joined #angularjs
[22:53:18] *** Tidwell has joined #angularjs
[22:53:46] *** bilalq has quit IRC
[22:54:36] *** frickett has quit IRC
[22:55:06] *** Willow__ has joined #angularjs
[22:56:23] *** ericrav has quit IRC
[22:58:16] *** Nizumzen has joined #angularjs
[22:58:59] *** jtimon has joined #angularjs
[22:59:22] *** Willow__ has quit IRC
[22:59:24] *** Newb has joined #angularjs
[22:59:28] *** ngoyal has joined #angularjs
[23:00:08] <Newb> i came here to ask something from someone who really knows angular stuff, are there ?
[23:00:32] *** bphogan is now known as bphogan_afk
[23:00:34] <sal1191> there are those people in here
[23:00:35] *** FIFOd[a] has joined #angularjs
[23:01:07] *** mary5030 has quit IRC
[23:01:08] *** jstroem has joined #angularjs
[23:01:17] <sal1191> then youve got guys like me but i know some stuff
[23:01:31] <robdubya> sup Newb
[23:01:35] *** InezK_away is now known as InezK
[23:01:37] *** snapwich has joined #angularjs
[23:02:21] *** ngoyal_ has joined #angularjs
[23:02:21] *** tgkokk has joined #angularjs
[23:03:33] *** scmx has quit IRC
[23:03:45] *** jstroem_ has joined #angularjs
[23:03:53] *** Newb_ has joined #angularjs
[23:04:08] *** jstroem has quit IRC
[23:05:28] *** Newb has quit IRC
[23:06:00] *** ngoyal has quit IRC
[23:06:01] *** t1mmen has joined #angularjs
[23:07:03] *** bengillies has joined #angularjs
[23:07:07] *** ngoyal_ has quit IRC
[23:07:51] <Newb_> server restarted ?
[23:07:58] *** bkuberek has joined #angularjs
[23:08:08] *** bengillies has quit IRC
[23:08:27] <Newb_> angular pros i have a question, looking for someone who knows this angular stuff
[23:08:31] *** bengillies has joined #angularjs
[23:08:48] <Newb_> anybody?
[23:09:13] <robdubya> Newb_ yeah, go
[23:09:21] <TheAceOfHearts> gogo~
[23:09:34] <peey> Newb_ : you should ask your question and leave it here instead of asking for people
[23:09:34] <Newb_> is angular can create non refreshable web app or fully ajax or single page, i do not know whats it called, just like a grooveshark, asana etc ? i have a restAPI, i imagine that angular gets JSON data from RestAPI, load static html template and somehow merge it, is it right ?
[23:09:38] *** milky has left #angularjs
[23:09:46] *** BillCriswell has quit IRC
[23:09:49] <TheAceOfHearts> yup
[23:10:20] *** infinitesum has joined #angularjs
[23:10:24] <Newb_> ok cool
[23:11:20] *** mehlah has quit IRC
[23:11:22] <Newb_> so i should start learn this angular stuff. Do you have any example ?
[23:11:42] *** phuh has quit IRC
[23:12:13] *** bkuberek has quit IRC
[23:12:18] <zelrik> Newb_, there are tons of youtube videos
[23:12:30] *** sdouglas has joined #angularjs
[23:12:36] *** mehlah has joined #angularjs
[23:13:07] *** InezK is now known as InezK_away
[23:13:51] *** hannesvdvreken has joined #angularjs
[23:14:11] <Newb_> videos are too long dude
[23:14:22] <infinitesum> hey can someone help me unwrap my $http service… I’m following the advice from stack overflow, but I’m having trouble updating the $parent scope from within the .then success function: http://plnkr.co/edit/jiNoUpDvPUcV9FtkYB8D
[23:14:42] *** jstroem_ has quit IRC
[23:15:17] *** jstroem has joined #angularjs
[23:15:38] *** Newb_ has quit IRC
[23:15:39] *** Grokling_ has joined #angularjs
[23:16:42] *** raghunayyar has joined #angularjs
[23:16:56] <lando> im having an issue where my filter is trying to filter before the http response is back. this throws a 'Cant Interpolate' error
[23:17:14] *** bengillies has quit IRC
[23:17:18] *** fdrechsler has quit IRC
[23:17:30] *** bayousoft has quit IRC
[23:18:01] *** rikkipitt has quit IRC
[23:18:05] <lando> can someone point me in the right rdirection
[23:18:09] *** alekibango has joined #angularjs
[23:18:28] *** kalehv has joined #angularjs
[23:19:34] *** tk has quit IRC
[23:19:39] *** jstroem has quit IRC
[23:19:42] *** dc has joined #angularjs
[23:20:37] *** michaelm has quit IRC
[23:22:07] <felixn> lando: post a gist .. makes it way easier to help debug
[23:23:07] *** mindlace has joined #angularjs
[23:25:56] *** bkuberek has joined #angularjs
[23:26:57] *** roymiloh has quit IRC
[23:27:38] *** bayousoft has joined #angularjs
[23:27:39] *** mindlace has quit IRC
[23:28:34] *** caitp has quit IRC
[23:28:53] *** caitp has joined #angularjs
[23:29:11] *** sdouglas has quit IRC
[23:30:35] *** fedenunez has quit IRC
[23:30:59] *** wilmoore has joined #angularjs
[23:32:02] *** Tidwell has quit IRC
[23:32:13] *** [n0b0dy] has quit IRC
[23:32:22] *** [n0b0dy] has joined #angularjs
[23:33:09] *** shinnya has quit IRC
[23:34:46] *** jedediah has quit IRC
[23:35:50] <lando> working on a fiddle right now
[23:36:02] *** jedediah has joined #angularjs
[23:36:12] *** FIFOd[a] has quit IRC
[23:36:33] <Emperor_Earth> is it less secure to use jwt without uuid?
[23:37:52] *** Limix has joined #angularjs
[23:38:13] *** ppppaul has quit IRC
[23:38:27] *** Limix has quit IRC
[23:38:27] *** Inge-_ has quit IRC
[23:40:26] *** flocca has quit IRC
[23:40:28] *** shinnya has joined #angularjs
[23:40:45] *** flocca has joined #angularjs
[23:41:31] *** InezK_away is now known as InezK
[23:42:50] *** optikalmouse has quit IRC
[23:43:25] *** bphogan_afk is now known as bphogan
[23:45:44] *** ericrav has joined #angularjs
[23:46:14] *** xastey has joined #angularjs
[23:46:38] *** Destos has joined #angularjs
[23:48:42] *** bayousoft has quit IRC
[23:49:37] *** jstroem has joined #angularjs
[23:50:12] *** ericrav has quit IRC
[23:50:41] *** lw has quit IRC
[23:51:11] *** Aartsie has quit IRC
[23:51:18] *** tgkokk has quit IRC
[23:51:42] *** ericrav has joined #angularjs
[23:53:26] *** hannesvdvreken has quit IRC
[23:53:27] *** jstroem has quit IRC
[23:53:43] *** Cache_Money has quit IRC
[23:53:49] *** fold has quit IRC
[23:55:07] *** Willow__ has joined #angularjs
[23:55:07] *** greatdex has quit IRC
[23:55:52] <TheAceOfHearts> huh?
[23:56:24] *** ericrav has quit IRC
[23:56:43] *** danielsv has joined #angularjs
[23:57:26] <danielsv> im trying to render a template based on a toggle variable
[23:57:28] <danielsv> <div ng-include="'partials/signup.html'" ng-show="showRegistration"></div>
[23:58:14] <danielsv> it seems like this is a bug with rc2
[23:58:16] <danielsv> https://github.com/angular/angular.js/issues/3981
[23:58:33] *** tgkokk has joined #angularjs
[23:58:34] *** Nizumzen has quit IRC
[23:58:41] *** anjumkaiser has quit IRC
[23:59:01] <anger> why so old version?
[23:59:15] *** lw has joined #angularjs
[23:59:34] *** dazs has joined #angularjs
[23:59:36] <anger> that issue is already closed
[23:59:41] <danielsv> i took over an old project
top

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