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

Toggle Join/Part | bottom
[00:00:09] *** quantax- has joined #angularjs
[00:00:18] *** mglvl has quit IRC
[00:00:33] *** Yahkob has quit IRC
[00:00:35] *** shackleford has quit IRC
[00:00:52] *** umib0zu has quit IRC
[00:02:07] *** torrieri has joined #angularjs
[00:02:17] *** jbourassa has quit IRC
[00:03:17] *** jsoverson has quit IRC
[00:03:44] *** arkanciscan has joined #angularjs
[00:03:46] *** jsoverson has joined #angularjs
[00:03:49] *** ianpirro has quit IRC
[00:03:49] *** mamian has quit IRC
[00:03:56] *** arizzo has quit IRC
[00:04:19] *** wilmoore has joined #angularjs
[00:04:33] *** bphogan_afk is now known as bphogan
[00:04:44] *** bsmithgall has joined #angularjs
[00:04:52] *** bade has joined #angularjs
[00:05:09] *** sigurding has quit IRC
[00:05:34] *** nytrm has joined #angularjs
[00:06:15] *** shacklef_ has quit IRC
[00:06:20] *** pheze has quit IRC
[00:07:04] *** jamesshijie has joined #angularjs
[00:07:32] *** Schtive has quit IRC
[00:07:37] *** annlewis has joined #angularjs
[00:07:53] *** nanoyak has joined #angularjs
[00:07:57] *** olveraricardo72 has quit IRC
[00:07:59] *** DrShoggoth has quit IRC
[00:08:06] *** feelfine has quit IRC
[00:08:33] *** CptChaos has joined #angularjs
[00:09:05] *** Yahkob has joined #angularjs
[00:09:21] *** endash has quit IRC
[00:09:37] *** feelfine has joined #angularjs
[00:10:10] *** arizzo has joined #angularjs
[00:10:12] *** nytrm has quit IRC
[00:10:41] *** siddart has quit IRC
[00:10:42] *** sonofdirt has quit IRC
[00:10:49] *** FunnyLookinHat has joined #angularjs
[00:10:57] *** siddart has joined #angularjs
[00:11:31] *** sgnl has quit IRC
[00:11:36] *** bayousoft has quit IRC
[00:11:45] *** walden is now known as walden|afk
[00:11:50] *** pkayfire has quit IRC
[00:12:29] *** pkayfire has joined #angularjs
[00:12:54] *** dariocravero has joined #angularjs
[00:12:59] *** colinbits has quit IRC
[00:13:04] *** siddart has quit IRC
[00:13:11] *** patrickarlt has joined #angularjs
[00:13:15] *** earthquake has joined #angularjs
[00:13:20] *** siddart has joined #angularjs
[00:13:34] *** apetro_ has quit IRC
[00:13:41] *** dutis has quit IRC
[00:14:05] *** Jae has joined #angularjs
[00:14:10] *** Strues has quit IRC
[00:14:45] *** arizzo has quit IRC
[00:14:46] *** anjumkaiser has joined #angularjs
[00:15:13] *** conner_ has quit IRC
[00:15:26] *** feelfine has quit IRC
[00:15:49] *** ngbot has joined #angularjs
[00:15:49] <ngbot> [angular.js] lgalfaso pushed 2 new commits to master: http://git.io/Mo5N_w
[00:15:49] <ngbot> angular.js/master 777870d Lucas Galfaso: fix(select): auto-select new option that is marked as selected...
[00:15:49] <ngbot> angular.js/master a296097 Lucas Galfasó: Merge pull request #8106 from lgalfaso/issue-6828b...
[00:15:49] *** ngbot has left #angularjs
[00:15:51] *** bphogan is now known as bphogan_afk
[00:16:07] *** jeremymarc has joined #angularjs
[00:16:19] <jeremymarc> what can be the reason, setting a filter to "" is not clearing the filter ?
[00:16:38] *** feelfine has joined #angularjs
[00:16:38] *** pkayfire has quit IRC
[00:16:44] *** kennbrodhagen has joined #angularjs
[00:16:47] *** patricka_ has quit IRC
[00:16:55] *** FunnyLookinHat has quit IRC
[00:17:11] *** edrocks has joined #angularjs
[00:17:12] *** kennbrodhagen has quit IRC
[00:17:17] *** shackleford has joined #angularjs
[00:17:21] *** richardbaker has joined #angularjs
[00:17:33] *** gnarMatix has joined #angularjs
[00:18:22] *** cigarshark has joined #angularjs
[00:18:45] *** dccc has quit IRC
[00:18:54] *** bsmithgall has quit IRC
[00:19:20] *** shackleford has quit IRC
[00:19:47] *** fedenunez has quit IRC
[00:20:29] *** dccc has joined #angularjs
[00:20:54] *** cbeacock has quit IRC
[00:21:02] *** kirfu|work has quit IRC
[00:21:04] *** tschundeee has joined #angularjs
[00:21:21] *** Sna4x8 has quit IRC
[00:21:40] *** jstimm has quit IRC
[00:22:32] *** Sna4x8 has joined #angularjs
[00:22:45] *** Willow has joined #angularjs
[00:23:46] *** fcanela has joined #angularjs
[00:23:46] *** fcanela has joined #angularjs
[00:23:55] *** kirfu|work has joined #angularjs
[00:24:18] *** mmitchell has quit IRC
[00:25:03] *** arizzo has joined #angularjs
[00:25:05] *** xavia has left #angularjs
[00:25:06] *** mpaarating has quit IRC
[00:25:06] *** JmZ is now known as JmZ_
[00:25:32] *** amedia has joined #angularjs
[00:25:38] *** m____s has quit IRC
[00:25:40] *** nickp has joined #angularjs
[00:25:47] *** iksik has quit IRC
[00:26:05] *** altious has joined #angularjs
[00:26:13] *** instence_ has joined #angularjs
[00:26:17] *** kalusn has joined #angularjs
[00:26:25] *** shackleford has joined #angularjs
[00:26:38] *** harry_ has joined #angularjs
[00:26:44] <harry_> hello
[00:26:49] <harry_> all
[00:26:57] *** pkayfire has joined #angularjs
[00:27:13] *** instence has quit IRC
[00:27:16] *** fedenunez has joined #angularjs
[00:27:30] *** encryptd_fractl has quit IRC
[00:27:30] <harry_> i am new to angular.js, i am trying to work phonecat app on mac
[00:27:48] <harry_> i am facing issues while i am following the documents
[00:28:02] <harry_> apt-get is not available on mac
[00:28:09] <ckboii89> http://stackoverflow.com/questions/24642425/passing-json-data-from-angular-service-to-scope-array-in-controller
[00:28:14] *** Aliks has quit IRC
[00:28:18] <ckboii89> if anyone cares to look aand help
[00:28:25] *** gnarMatix has quit IRC
[00:28:52] *** gnarMatix has joined #angularjs
[00:29:08] *** arizzo has quit IRC
[00:29:10] <harry_> i am new to angular.js, i am trying to work phonecat app on mac, i am facing issues while i am following the documents, apt-get is not available on mac. did any one sorted this issue on mac
[00:29:15] *** MistahKurtz has quit IRC
[00:29:45] *** ngbot has joined #angularjs
[00:29:45] <ngbot> [angular.js] lgalfaso force-pushed master from a296097 to 14e3ba8: http://git.io/eb2NaA
[00:29:45] <ngbot> angular.js/master 8bc2667 Lucas Galfasó: fix(select): auto-select new option that is marked as selected...
[00:29:46] <ngbot> angular.js/master c3a0bcc Lucas Galfaso: Merge branch 'master' into issue-6828...
[00:29:46] <ngbot> angular.js/master 14e3ba8 Lucas Galfasó: Merge pull request #7136 from lgalfaso/issue-6828...
[00:29:46] *** ngbot has left #angularjs
[00:30:23] *** iksik has joined #angularjs
[00:30:35] *** arizzo has joined #angularjs
[00:30:45] *** kalusn has quit IRC
[00:31:08] *** wilmoore has quit IRC
[00:31:44] *** shackleford has quit IRC
[00:31:46] *** gnarMati_ has joined #angularjs
[00:31:51] <gnarMati_> k
[00:32:08] *** gnarMati_ is now known as gnarMatix_
[00:32:13] *** gnarMatix has quit IRC
[00:32:25] *** JoshGlzBrk has joined #angularjs
[00:32:51] *** krawchyk has quit IRC
[00:33:10] *** gnarMatix_ is now known as gnarMatix
[00:33:37] *** sixr420 has joined #angularjs
[00:33:57] *** p3rsist has quit IRC
[00:34:28] *** anjumkaiser has joined #angularjs
[00:34:57] *** arizzo has quit IRC
[00:34:57] *** anjumkaiser has quit IRC
[00:34:58] *** nicholaswyoung has joined #angularjs
[00:36:21] *** thedodd has quit IRC
[00:36:59] *** msafi has joined #angularjs
[00:37:40] *** nickp has quit IRC
[00:37:41] *** raghunayyar has quit IRC
[00:37:43] *** jdj_dk has joined #angularjs
[00:38:13] *** harry_ has quit IRC
[00:39:00] *** kareypowell has joined #angularjs
[00:39:38] *** dcherman has quit IRC
[00:39:55] *** ngbot has joined #angularjs
[00:39:56] <ngbot> [angular.js] lgalfaso force-pushed master from 14e3ba8 to 36831ec: http://git.io/eb2NaA
[00:39:56] *** ngbot has left #angularjs
[00:40:27] *** bmac has quit IRC
[00:40:34] *** icfantv has quit IRC
[00:41:01] *** senayar has quit IRC
[00:41:02] *** Vinnyceptr has quit IRC
[00:41:32] *** kcccccc has joined #angularjs
[00:41:42] *** senayar has joined #angularjs
[00:41:50] *** cpciv has joined #angularjs
[00:41:59] <BobbieBarker> angular is awesome
[00:42:04] *** jdj_dk has quit IRC
[00:42:06] *** rabaznaz has quit IRC
[00:42:52] *** gnarMatix has quit IRC
[00:43:14] *** Brocken is now known as zz_Brocken
[00:43:24] *** gnarMatix has joined #angularjs
[00:44:15] *** Drako_ has quit IRC
[00:44:58] *** jsoverson has quit IRC
[00:45:13] <gjvc> ckboii89, this might be helpful http://stackoverflow.com/questions/13882077/angularjs-passing-scope-between-routes
[00:45:58] *** senayar has quit IRC
[00:46:06] *** wxo has joined #angularjs
[00:46:06] *** dcherman has joined #angularjs
[00:46:10] *** patrickarlt has quit IRC
[00:46:27] *** asdofindia has joined #angularjs
[00:46:57] *** ngbot has joined #angularjs
[00:46:58] <ngbot> [angular.js] lgalfaso pushed 1 new commit to master: http://git.io/1097rA
[00:46:58] <ngbot> angular.js/master b8ae73e Lucas Galfaso: fix(select): auto-select new option that is marked as selected...
[00:46:58] *** ngbot has left #angularjs
[00:47:35] *** encryptd_fractl has joined #angularjs
[00:47:39] *** Kismet010 has quit IRC
[00:47:42] *** gnarMatix has quit IRC
[00:47:49] *** jeremymarc has quit IRC
[00:47:53] *** nicholaswyoung has quit IRC
[00:47:56] *** djam90 has quit IRC
[00:48:09] <snapwich> if I have angular generate a popup window is the only way to use angular inside the popup to have it load the angular.js library as well?
[00:48:16] *** fedenunez1 has joined #angularjs
[00:48:19] <snapwich> or can I have it somehow use angular from the parent window
[00:49:54] *** bullicon has joined #angularjs
[00:50:03] *** arizzo has joined #angularjs
[00:50:03] *** fedenunez has quit IRC
[00:50:13] *** wxo has quit IRC
[00:50:15] *** MuffinMan` has quit IRC
[00:50:27] *** patrickc_ has joined #angularjs
[00:50:32] *** kcccccc has quit IRC
[00:50:59] *** dcherman has quit IRC
[00:51:00] *** kcccccc has joined #angularjs
[00:51:27] *** kcccccc has quit IRC
[00:51:35] *** kcccccc has joined #angularjs
[00:51:55] *** fold has quit IRC
[00:52:44] <snapwich> can I do this? var pop = window.open(); pop.angular = window.angular; and then bootstrap my app in the popout?
[00:53:10] *** wxo has joined #angularjs
[00:53:55] *** dariocravero has quit IRC
[00:54:13] *** arizzo has quit IRC
[00:54:36] *** kcccccc1 has joined #angularjs
[00:54:44] *** altious has quit IRC
[00:55:11] *** patrickc_ has quit IRC
[00:56:33] *** kcccccc has quit IRC
[00:57:38] *** fedenunez1 has quit IRC
[00:58:08] *** anjumkaiser has joined #angularjs
[00:58:23] *** DrMabuse has joined #angularjs
[00:59:45] *** pmurias has quit IRC
[00:59:47] *** anjumkaiser has quit IRC
[00:59:51] *** _SjG_ has quit IRC
[01:00:15] *** Andrew_S has joined #angularjs
[01:01:13] *** edrocks has quit IRC
[01:01:27] <ckboii89> @gjvc do you mind explaining what this function does? my coworker wrote it
[01:01:30] <ckboii89> ProviderMedicalService.prototype.all = function() {
[01:01:30] <ckboii89> return this.service.query();
[01:01:31] <ckboii89> };
[01:01:35] *** pushpak has quit IRC
[01:01:53] *** Sgeo has joined #angularjs
[01:01:56] <Foxandxss> what part you don't understand?
[01:01:58] <Foxandxss> that is just javascript
[01:02:02] *** dbouwman_ has joined #angularjs
[01:02:05] *** LossFor has quit IRC
[01:02:06] <ckboii89> yeah what does prototype mean?
[01:02:09] *** dutis has joined #angularjs
[01:02:15] <snapwich> oh boy
[01:02:16] <oniijin> ...
[01:02:22] *** jumpstracks has quit IRC
[01:02:26] <fcanela> humf, I think that it is easily solvable via google, ckboii89
[01:02:27] <Foxandxss> that adds a function "all" into ProviderMedicalService's prototype
[01:02:34] <Foxandxss> you can think about it like "instance function"
[01:02:42] <Foxandxss> nobody knows how to use google
[01:02:47] <Foxandxss> it is just for vips
[01:02:53] <oniijin> and porn
[01:02:57] <zelrik> http://i.imgur.com/hSBqMDj.gif
[01:02:58] <Foxandxss> of course
[01:03:07] <night-owl> hey guys, i'm trying to work with $q.all. I'm trying to figure out how to make it work when i need to resolve a variable number of promises. based on a variable, i may need to make 1 http request or 5 http requests.
[01:03:17] *** Aliks has joined #angularjs
[01:03:17] *** tfennelly has joined #angularjs
[01:03:35] *** [n0b0dy] has quit IRC
[01:03:36] <night-owl> so i thought, id create an empty array and push each HTTP request into the array, then return $q.all(the_array);
[01:03:42] <night-owl> however idk how to resolve it
[01:03:43] <night-owl> http://plnkr.co/edit/kUb8ztSIwP5SHjCXalfA?p=preview
[01:03:45] *** [n0b0dy] has joined #angularjs
[01:03:56] <snapwich> $q.all will resolve when all those promises in the array resolve
[01:04:13] <snapwich> $q.all(the_array).then(function() { code that will run after all array promises resolve });
[01:04:26] <night-owl> snapwich, so i can push an array of function calls to $q.all?
[01:04:40] <snapwich> no, you can push an array of promises to $q.all
[01:04:48] <snapwich> not push, pass as a parameter
[01:04:52] *** cthrax has quit IRC
[01:04:52] *** MV48 has joined #angularjs
[01:05:13] *** dbouwman has quit IRC
[01:05:16] <snapwich> so you'll have a bunch of the_array.push($http())'s
[01:05:18] *** arizzo has joined #angularjs
[01:05:22] <Andrew_S> So if I want to transclude an element, but expose an extra property on its scope, is there an accepted way to do that?
[01:05:36] <monokrome> night-owl: If the function calls return promises then yet
[01:05:45] *** teeray has joined #angularjs
[01:05:54] <monokrome> yes*
[01:06:10] *** amedia has quit IRC
[01:06:13] *** dbouwman_ has quit IRC
[01:06:14] <monokrome> Andrew_S: You only want to expose that property if it's transcluded?
[01:06:18] <night-owl> snapwich, sorry, i push the function calls to an empty array, then pass the array of calls to $q.all
[01:06:19] *** lucasefe has quit IRC
[01:06:20] *** MTGap has joined #angularjs
[01:06:33] *** jumpstracks has joined #angularjs
[01:06:36] <night-owl> however, when i try and handle the data in .then, it's console logging an array of promise objects, not the resolved data..
[01:06:46] <snapwich> no
[01:06:52] <snapwich> it should be logging an array of results
[01:06:58] <night-owl> i know, that's whats confusing me
[01:07:04] <snapwich> why?
[01:07:10] <snapwich> each promise returns a result, so it has to be an array of results
[01:07:11] *** Ymesio has quit IRC
[01:07:11] <MV48> I'm coding up a navigation menu, but for some reason when the route changes, the ngClass condition doesn't work. In other words, I'm using ng-class="{active: active_page == nav_page}"... it only works if I do a F5 with the new route. Any suggestions?
[01:07:14] <night-owl> bc it's not giving me an array of results
[01:07:24] <night-owl> i know the function calls are resolvable
[01:07:34] *** tfennelly has quit IRC
[01:08:12] <snapwich> why are you doing [promises] in your plunkr?
[01:08:17] <snapwich> promises is already an array
[01:08:21] <Andrew_S> monokrome: I have a directive that transcludes and stamps out copies of the transcluded item for some iterator. I just want to expose some property, e.g. {{$iteratorSpecificProperty}}, so that transcluded elements have access to that.
[01:08:37] <snapwich> it should be $q.all(promises)
[01:08:48] <snapwich> and then success will be an array of results
[01:08:54] <night-owl> snapwich, argh lemme see if that owrks !
[01:09:08] <night-owl> snapwich, facepalm. thank you!
[01:09:11] <snapwich> np
[01:09:15] <night-owl> i was so confused lol
[01:09:23] <Andrew_S> A lot like ng-repeat does for <ANY ng-repeat="foo in fooCollection">{{foo}}</ANY>
[01:09:26] <night-owl> yeah
[01:09:28] *** LakWork has joined #angularjs
[01:09:40] <morenoh149> struggling with promises here https://gist.github.com/morenoh149/796a09fe06534f880276
[01:09:43] *** arizzo has quit IRC
[01:09:46] <morenoh149> what's wrong with my code?
[01:09:56] *** conner_ has joined #angularjs
[01:10:05] <snapwich> it should be return deferred.promise()
[01:10:08] <snapwich> err shouldn't
[01:10:15] <snapwich> it should be return deferred.promise;
[01:10:22] <Andrew_S> I'm hoping I can use <my-directive foo=[1,2,3]>{{$foo}}</my-directive>, foo being something specific to 1,2,3
[01:10:27] <morenoh149> snapwich: ack yeah that's it.
[01:10:56] *** arizzo has joined #angularjs
[01:11:10] <Andrew_S> And it would be nice if I didn't have to reimplement ng-repeat to do it.
[01:11:13] *** jdowdle has quit IRC
[01:11:53] *** amedia has joined #angularjs
[01:12:02] *** seydoggy has joined #angularjs
[01:12:12] *** cthrax has joined #angularjs
[01:12:17] *** wilmoore has joined #angularjs
[01:13:40] *** DrMabuse has quit IRC
[01:14:07] *** mmitchell has joined #angularjs
[01:14:19] *** bradmc has quit IRC
[01:15:06] *** LossFor has joined #angularjs
[01:15:08] *** arizzo has quit IRC
[01:15:20] *** arizzo has joined #angularjs
[01:15:47] *** cthrax_ has joined #angularjs
[01:16:34] *** seydoggy has quit IRC
[01:16:55] <ckboii89> what does .query() function do? i cant seem to find anything on google
[01:16:59] *** tschundeee has quit IRC
[01:17:26] <ckboii89> this.service.query() is the call, this.service being a $resource that has json data
[01:17:27] <snapwich> query isn't a native function
[01:17:37] *** tschundeee has joined #angularjs
[01:18:00] <snapwich> https://docs.angularjs.org/api/ngResource/service/$resource
[01:18:10] *** anjumkaiser has joined #angularjs
[01:18:14] *** sgnl has joined #angularjs
[01:18:31] *** DrMabuse has joined #angularjs
[01:18:45] *** mmitchell has quit IRC
[01:19:06] *** teeray has quit IRC
[01:19:10] *** MistahKurtz has joined #angularjs
[01:19:41] *** cthrax has quit IRC
[01:19:45] *** bphogan_afk is now known as bphogan
[01:19:51] *** iksik has quit IRC
[01:19:56] <Foxandxss> ckboii89: if you know what service is, then check its doc
[01:20:11] *** edrocks has joined #angularjs
[01:20:30] *** bmac has joined #angularjs
[01:20:40] *** anjumkaiser has quit IRC
[01:21:33] *** tschundeee has quit IRC
[01:22:19] <MV48> I'm coding up a navigation menu, but for some reason when the route changes, the ngClass condition doesn't work. In other words, I'm using ng-class="{active: active_page == nav_page}"... it only works if I do a F5 with the new route. Any suggestions?
[01:22:25] <Andrew_S> So basically I'm crazy.
[01:22:46] *** ngbot has joined #angularjs
[01:22:47] <ngbot> [angular.js] juliemr pushed 1 new commit to master: http://git.io/ZXCpGQ
[01:22:47] <ngbot> angular.js/master 88a3257 Julie Ralph: chore(e2e): update protractor to 1.0.0-rc4...
[01:22:47] *** ngbot has left #angularjs
[01:23:31] *** lewix has joined #angularjs
[01:24:20] *** wilmoore has quit IRC
[01:24:29] *** elxa has joined #angularjs
[01:24:40] *** bullicon has quit IRC
[01:24:52] *** jamesshijie has quit IRC
[01:25:04] *** torrieri has quit IRC
[01:25:27] *** jamesshijie has joined #angularjs
[01:25:58] *** lewiz has joined #angularjs
[01:26:13] *** blueadept` has quit IRC
[01:27:37] *** ngbot has joined #angularjs
[01:27:37] <ngbot> [angular.js] juliemr pushed 1 new commit to master: http://git.io/gJK2vg
[01:27:37] <ngbot> angular.js/master 93510eb Julie Ralph: chore(tests): fix warning about a non-unique element locator in e2e tests
[01:27:37] *** ngbot has left #angularjs
[01:28:17] *** LossFor has quit IRC
[01:28:52] *** one_zero has joined #angularjs
[01:29:03] *** DrMabuse has quit IRC
[01:29:24] *** anjumkaiser has joined #angularjs
[01:29:25] *** lewix has quit IRC
[01:29:47] *** snapwich has quit IRC
[01:30:06] *** feelfine has quit IRC
[01:30:36] *** blueadept has joined #angularjs
[01:31:26] *** LossFor has joined #angularjs
[01:31:38] *** CptChaos has quit IRC
[01:32:02] *** jdj_dk has joined #angularjs
[01:32:18] <morenoh149> so given an `angular.element(targetNode).scope()` object how would I determine if there is a $scope.foo object defined?
[01:32:31] *** fold has joined #angularjs
[01:32:37] <morenoh149> I'm trying to use the console to inspect the values of scope varaibles
[01:32:39] *** texinwien has joined #angularjs
[01:33:42] *** Nizumzen has quit IRC
[01:33:55] *** instence has joined #angularjs
[01:35:01] *** LossFor has quit IRC
[01:35:43] *** instence_ has quit IRC
[01:35:44] <Foxandxss> old good console.log works fine
[01:35:51] <Foxandxss> but ng-inspector.org
[01:36:03] *** jdj_dk has quit IRC
[01:36:05] *** fjcanela has joined #angularjs
[01:36:58] <morenoh149> the answer is it should just list the var under the returned scope. I wasn't seeing it because I don't know what I'm doing lol
[01:37:55] <morenoh149> how would I drill down though to child scopes?
[01:37:56] *** dutis has quit IRC
[01:38:32] <Foxandxss> I do .log
[01:38:35] <Foxandxss> woks for me
[01:38:57] *** fcanela has quit IRC
[01:39:04] *** nickp has joined #angularjs
[01:39:34] *** lewiz has quit IRC
[01:39:40] *** seydoggy has joined #angularjs
[01:40:21] *** asdofindia has quit IRC
[01:43:08] *** bmac has quit IRC
[01:43:46] *** slainer68_ftw has quit IRC
[01:45:52] *** jhulten has quit IRC
[01:47:42] *** AciD`` has quit IRC
[01:47:47] <morenoh149> grr. how do I navigate in the console from scope 002 to scope 003?
[01:48:08] <morenoh149> I'm assuming the method is different if scope 003 is a sibling from when it's a child
[01:48:32] *** cpciv has quit IRC
[01:48:45] *** cpciv has joined #angularjs
[01:48:50] <morenoh149> I'm also using angularjs batarang as a sanity check but there are time I need to be able to inspect scope variables from safari's console
[01:49:15] *** pdillinger1 has joined #angularjs
[01:49:53] *** tschundeee has joined #angularjs
[01:51:18] *** pheze has joined #angularjs
[01:53:07] *** DerekPerkins has quit IRC
[01:53:18] *** klaut has quit IRC
[01:53:53] *** [n0b0dy] has quit IRC
[01:53:57] *** pdillinger1 has quit IRC
[01:54:02] *** [n0b0dy] has joined #angularjs
[01:54:04] *** tschundeee has quit IRC
[01:54:04] *** fjcanela has quit IRC
[01:54:05] *** LakWork has quit IRC
[01:54:18] <Foxandxss> well, since I am being ignored
[01:54:20] <Foxandxss> time to bed
[01:54:59] <sal1191> gnight mate
[01:55:08] <Foxandxss> nn
[01:55:10] *** Foxandxss has quit IRC
[01:55:22] *** ianpirro has joined #angularjs
[01:55:56] *** Ymesio has joined #angularjs
[01:56:44] *** cpciv has quit IRC
[01:56:48] *** lewiz has joined #angularjs
[01:56:51] *** DrMabuse has joined #angularjs
[01:57:13] *** LakWork has joined #angularjs
[01:57:23] *** bphogan is now known as bphogan_afk
[01:58:06] *** cpciv has joined #angularjs
[01:58:18] *** MistahKurtz has quit IRC
[01:58:23] *** vintik has quit IRC
[01:59:04] *** marr has quit IRC
[01:59:54] *** DrMabuse_ has joined #angularjs
[02:00:28] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[02:00:55] *** newcode has joined #angularjs
[02:01:13] *** DrMabuse has quit IRC
[02:01:30] *** sgnl has quit IRC
[02:01:39] *** amedia has quit IRC
[02:02:27] *** sgnl has joined #angularjs
[02:03:38] *** lordkryss_ has joined #angularjs
[02:03:45] *** OddDuck has quit IRC
[02:04:13] *** DrMabuse_ has quit IRC
[02:04:31] *** darrin has joined #angularjs
[02:04:43] *** lordkryss has quit IRC
[02:05:12] *** newcode has quit IRC
[02:05:46] *** kareypowell has quit IRC
[02:05:56] *** ianpirro has quit IRC
[02:06:13] *** Gambit- has quit IRC
[02:06:37] *** bphogan_afk is now known as bphogan
[02:07:46] *** brownbathrobe has joined #angularjs
[02:08:15] *** dcherman has joined #angularjs
[02:08:24] *** Vinnyceptr has joined #angularjs
[02:08:54] *** brownbathrobe has quit IRC
[02:08:58] *** acconrad has quit IRC
[02:09:23] *** moritzs has joined #angularjs
[02:09:32] *** rho has quit IRC
[02:09:49] *** jamesshi_ has joined #angularjs
[02:10:02] *** bc_ has quit IRC
[02:10:15] *** wilmoore has joined #angularjs
[02:10:20] *** bc_ has joined #angularjs
[02:10:51] *** sgnl has quit IRC
[02:12:10] *** vintik has joined #angularjs
[02:12:18] *** mehlah has quit IRC
[02:12:34] <MV48> Hate to post this again... but I haven't got any responses and I'm really confused... I'm coding up a navigation menu, but for some reason when the route changes, the ngClass condition doesn't work. In other words, I'm using ng-class="{active: active_page == nav_page}"... it only works if I do a F5 with the new route. Any suggestions?
[02:12:44] *** jamesshijie has quit IRC
[02:12:59] *** darrin has quit IRC
[02:13:01] *** bmac has joined #angularjs
[02:13:15] *** niall_obrien has joined #angularjs
[02:14:19] *** slainer68_ftw has joined #angularjs
[02:14:23] *** jamesshi_ has quit IRC
[02:14:33] *** sgnl has joined #angularjs
[02:16:11] *** wxo has quit IRC
[02:16:20] *** iateadonut has left #angularjs
[02:16:24] *** vintik has quit IRC
[02:16:49] *** Willow has quit IRC
[02:17:17] *** Willow has joined #angularjs
[02:18:15] *** bmac has quit IRC
[02:18:19] *** sgnl has quit IRC
[02:18:30] *** Mahonar has quit IRC
[02:19:03] *** slainer68_ftw has quit IRC
[02:19:42] *** justinobney has joined #angularjs
[02:20:19] *** Andrew_S has quit IRC
[02:20:40] *** dcherman2 has joined #angularjs
[02:20:58] <dccc> MV48, are you using uirouter?
[02:21:13] *** sgnl has joined #angularjs
[02:21:20] *** skakri has quit IRC
[02:21:27] <MV48> dccc: I'm using $routeProvider
[02:21:31] <MV48> what's uirouter?
[02:21:32] *** Willow has quit IRC
[02:22:27] *** InezK is now known as InezK_away
[02:22:58] *** knownasilya has quit IRC
[02:23:13] *** tylerdmace has joined #angularjs
[02:23:32] <dccc> okay, it's another module to handle states.
[02:23:55] *** tsalb has quit IRC
[02:23:57] *** dcherman has quit IRC
[02:24:04] <dccc> without looking at your actual code, i'm guessing your active_page is not being set dynamically
[02:24:18] *** Strues has joined #angularjs
[02:24:41] *** skakri has joined #angularjs
[02:24:47] *** night-owl-MBP has quit IRC
[02:24:54] *** dcherman has joined #angularjs
[02:25:12] *** dcherman2 has quit IRC
[02:25:14] <Strues> Anyone know of a good resource to learn about forms w/ angular? Ive made one, but I cant get it to post anything but create the objectid in mongo
[02:25:53] *** night-owl-MBP has joined #angularjs
[02:26:21] *** night-owl-MBP has quit IRC
[02:26:23] *** bmac has joined #angularjs
[02:26:41] <MV48> dccc: I have an ng-include for a headerController... basically, when a route is changed, the controller's state is the same (doesn't re-run ng-repeat for the navigation menu)
[02:27:01] *** slecuyer has quit IRC
[02:27:01] *** night-owl-MBP has joined #angularjs
[02:27:18] *** blueadept has quit IRC
[02:28:31] *** alekibango has quit IRC
[02:28:35] *** dcherman2 has joined #angularjs
[02:28:53] <dccc> MV48, you need to update your scope variables when the route changes. for reference: http://stackoverflow.com/questions/15354329/how-to-get-the-route-name-when-location-changes
[02:29:07] *** LossFor has joined #angularjs
[02:29:52] *** bmac has quit IRC
[02:31:23] *** arizzo has quit IRC
[02:31:42] *** cthrax_ has quit IRC
[02:31:58] *** arizzo has joined #angularjs
[02:32:05] *** k-dawg has joined #angularjs
[02:32:15] <MV48> dccc: right now, the headerController injects $location, which is that $scope.active_page variable I'm reference in ngClass. You're saying that I shouldn't update the variable in the controller, but rather at this ".run()" level?
[02:32:23] *** dcherman has quit IRC
[02:33:13] *** lewiz has quit IRC
[02:33:18] <MV48> dccc: or is that the active_page variable isn't the problem, but the ngRepeat area of the navigation menu that isn't rerun when the route has changed ?
[02:33:55] *** bmac has joined #angularjs
[02:34:29] *** pheze has quit IRC
[02:34:41] <dccc> MV48, you need to subscribe to the routeChangeSuccess event at the rootscope level and update your local scope when it triggers
[02:35:01] *** tsyd has quit IRC
[02:35:38] *** mmitchell has joined #angularjs
[02:36:02] <dccc> MV48, just add the $rootScope.on(....) line into your controller
[02:36:03] *** arizzo has quit IRC
[02:37:08] *** bade has quit IRC
[02:37:47] *** tsyd has joined #angularjs
[02:38:04] *** Xethron has quit IRC
[02:38:24] <MV48> dccc: okay, let me try that. thanks for the help
[02:38:36] *** tylerjohnst has joined #angularjs
[02:39:34] *** Aliks has quit IRC
[02:39:52] *** danielpquinn has quit IRC
[02:40:03] <dccc> MV48, np
[02:40:09] *** sacho has joined #angularjs
[02:41:26] *** pencilcheck has quit IRC
[02:41:48] *** LuxuryMode has joined #angularjs
[02:41:52] *** morenoh149 has quit IRC
[02:41:53] *** SpearThruster has joined #angularjs
[02:41:59] *** pencilcheck has joined #angularjs
[02:42:43] *** lordkryss_ has quit IRC
[02:42:59] *** moritzs has quit IRC
[02:43:00] *** RobinBAwesome has quit IRC
[02:43:00] <MV48> dccc: so I inject rootScope, added the routeChangeSuccess, and set my $scope.active_page vars in the anonymous function of the routeChangeSuccess function, but the navigation menu still doesn't update on route change
[02:43:03] *** niall_obrien has left #angularjs
[02:43:10] *** jstroem has quit IRC
[02:43:16] <MV48> what am I supposed to be updated in that anonymous function of routeChangeSuccess?
[02:43:33] *** OdinIncarnate has quit IRC
[02:43:43] *** jstroem has joined #angularjs
[02:44:14] <sacho> paste some code
[02:44:50] <MV48> k, one moment
[02:45:12] *** Johnny- has quit IRC
[02:45:30] *** ckboii89 has quit IRC
[02:46:03] *** ckboii89 has joined #angularjs
[02:46:13] *** pencilcheck has quit IRC
[02:46:26] *** InezK_away is now known as InezK
[02:47:00] *** nanoyak has quit IRC
[02:47:14] *** Scathen^C has joined #angularjs
[02:47:56] *** jstroem has quit IRC
[02:48:34] *** chexxor has quit IRC
[02:49:09] <MV48> sacho dccc : tried to keep this small so it's not annoying to read https://gist.github.com/MatthewVita/0e4952652cd975dfb675
[02:49:23] <MV48> thank you for the help, this is driving me insane
[02:49:40] *** whunt has quit IRC
[02:50:02] *** bphogan is now known as bphogan_afk
[02:50:05] *** kkuno has quit IRC
[02:50:32] <MV48> the navigation highlights the active link and ngRepeats the current page's links just fine on page load or F5, but does not do it on route change
[02:51:03] *** Tidwell has quit IRC
[02:51:18] *** cigarshark has quit IRC
[02:51:20] *** acconrad has joined #angularjs
[02:51:49] *** ustunozgur has joined #angularjs
[02:52:13] *** matiasow has quit IRC
[02:53:26] *** hswolff has joined #angularjs
[02:53:27] *** RobinBAwesome has joined #angularjs
[02:53:50] *** chexxor has joined #angularjs
[02:55:11] *** Strues has quit IRC
[02:55:13] *** richardbaker has quit IRC
[02:55:21] *** digia is now known as digia|away
[02:55:42] *** ustunozgur has quit IRC
[02:55:56] *** night-owl-deskto has joined #angularjs
[02:56:12] *** pheze has joined #angularjs
[02:56:13] *** ustunozgur has joined #angularjs
[02:56:34] *** kalehv has joined #angularjs
[02:56:35] *** night-owl-MBP has quit IRC
[02:56:44] <dccc> MV48, is the eventhandler getting triggered?
[02:56:48] *** reavengrey has joined #angularjs
[02:57:09] <reavengrey> Hi, I'm experimenting with my first directive ever, and I'm not entirely sure what I've done wrong:
[02:57:12] <reavengrey> http://jsfiddle.net/TmPk5/111/
[02:57:23] <reavengrey> It simply doesn't replace the HTML with the template
[02:57:42] *** snurfery has quit IRC
[02:57:50] <MV48> dccc: ah, good point. Just put a console.log('foo') in it and nothing shows on route change
[02:57:56] *** night-owl has quit IRC
[02:58:47] *** atomical has quit IRC
[02:59:13] *** InezK is now known as InezK_away
[02:59:37] <reavengrey> Oh my, it worked
[02:59:39] <reavengrey> nvm
[03:00:31] *** DrMabuse has joined #angularjs
[03:00:34] *** atomical has joined #angularjs
[03:00:36] *** Vinnyceptr has quit IRC
[03:00:42] *** InezK_away is now known as InezK
[03:01:59] *** anjumkaiser1 has joined #angularjs
[03:02:13] <reavengrey> i feel like a demi god
[03:02:14] <reavengrey> thanks
[03:02:15] *** reavengrey has left #angularjs
[03:02:21] *** mdedetrich has joined #angularjs
[03:02:33] *** anjumkaiser has quit IRC
[03:04:29] *** andreyluiz has joined #angularjs
[03:04:42] *** m59 has joined #angularjs
[03:05:04] *** DrMabuse has quit IRC
[03:05:11] <zelrik> hi
[03:05:22] <m59> Hello.
[03:05:32] *** wilmoore has quit IRC
[03:06:11] *** codr has joined #angularjs
[03:06:38] *** bbankes has joined #angularjs
[03:06:44] *** wilmoore has joined #angularjs
[03:06:46] <dccc> MV48, you'll have to put it up on a plnkr. the other thing you can try is use $location directly in ng-class
[03:07:32] *** kcccccc1 has quit IRC
[03:07:36] <m59> I've got an $http interceptor for `responseError`. For the "error" function to fire, I have to return a rejected promise, right? I returned the original response and it's now going to the success "then" function instead.
[03:08:09] <m59> I'm assuming that's because any value will be considered a resolved promise...
[03:09:40] *** wxo has joined #angularjs
[03:09:51] *** ngoyal_ has joined #angularjs
[03:10:35] *** bicranial has joined #angularjs
[03:10:39] *** jumpstracks has quit IRC
[03:10:45] <andreyluiz> Guys, I'm trying to get the result of the web-service in the variable users:
[03:10:46] <andreyluiz> http://pastebin.com/Ni26XG9Z
[03:10:53] <andreyluiz> What's wrong?
[03:11:08] *** conner_ has quit IRC
[03:11:14] <sacho> m59, yes
[03:11:28] <sacho> m59, if you want to handle some responses as errors, you need something like this
[03:11:46] *** mange has joined #angularjs
[03:12:01] <sacho> $http().then(function success(response) { if(I dont like response) throw SomeError(); // this returns a rejected promise }
[03:12:08] *** codr has quit IRC
[03:12:19] *** waylon999 has quit IRC
[03:12:47] <andreyluiz> I can call then from $http.get('foo').then... ?
[03:12:54] <MV48> dccc: okay. I believe I tried the $location directly approach. Btw, I'm not using routes for all of the navigation links. Do I have to set them up with a route template/controller for the header controller to "refresh" its scope on route change?
[03:13:22] <m59> sacho: I'm just firing an extra function if a response is 403
[03:13:40] <sacho> well, then you're not returning a rejected promise :p
[03:13:47] *** ngoyal has quit IRC
[03:14:09] <sacho> andreyluiz, there's no .success() method on promises
[03:14:10] *** jareddlc has quit IRC
[03:14:20] *** ngoyal_ has quit IRC
[03:14:31] <andreyluiz> Aah, okay.
[03:14:38] <andreyluiz> I'll try to fix this.
[03:14:39] <dccc> MV48, yes
[03:15:00] <MV48> dccc, let me throw some in there to verify that. Thanks
[03:15:11] <m59> sacho: hm? A 403 on $http fired `responseError`. The docs say to do $q.reject(). I was just making sure I understood what that's doing
[03:15:18] *** delerium_ has quit IRC
[03:15:29] <m59> I was thinking I could somehow use an existing one
[03:15:33] *** bmac has quit IRC
[03:15:42] <sacho> oh
[03:15:46] *** pkayfire has quit IRC
[03:15:58] <sacho> $http() on a 403 already rejects the promise, sure
[03:16:05] <sacho> doesn't it
[03:16:12] *** pkayfire has joined #angularjs
[03:16:26] *** DerekPerkins has joined #angularjs
[03:16:30] *** whunt has joined #angularjs
[03:16:31] *** andrewhl has joined #angularjs
[03:16:35] *** JosephBergevin has joined #angularjs
[03:16:46] *** ustunozgur has quit IRC
[03:17:17] *** bmac has joined #angularjs
[03:17:20] <sacho> oh, I see what you mean now
[03:17:20] *** ASUChander has quit IRC
[03:17:22] <sacho> sorry, I just woke up
[03:17:22] *** bphogan_afk is now known as bphogan
[03:17:26] *** bmac has quit IRC
[03:17:40] <andreyluiz> Hey, saw just now,
[03:17:44] *** codr has joined #angularjs
[03:17:46] <andreyluiz> the paste is wrong
[03:17:49] <andreyluiz> let me paste a new one
[03:18:07] *** ustunozgur has joined #angularjs
[03:18:41] <sacho> m59, the answer to your question is basically "yeah" :P
[03:19:51] *** motionman has joined #angularjs
[03:19:57] <andreyluiz> Yeah
[03:19:57] <andreyluiz> http://pastebin.com/rZT3197u
[03:20:02] <andreyluiz> There it is.
[03:20:08] <m59> sacho: yeah, what confuses me is where the original promise went. I'm pushing my interceptor to the end of the chain...I was thinking there was already a promise around that I could just pass through. Maybe that gets created after the interceptors.
[03:20:18] *** pkayfire has quit IRC
[03:20:24] <MV48> dccc, that was the problem. I didn't realize that I need to define all navigation routes / assign controllers for my headerController to "refresh" on route change. Just when I think I'm starting to really understand angular, I run into one of these problems. Thank you so much for the help!
[03:20:26] <andreyluiz> I have the service variable, and inside it the users variable.
[03:20:36] <andreyluiz> And I want the get result in the users variable.
[03:20:38] <sacho> m59, well, the question is "how is this "interceptor" called?"
[03:20:51] <sacho> m59, e.g., if it's called like this:
[03:20:55] <sacho> (in angular internals)
[03:21:03] <sacho> $http().catch(responseErrorInterceptor)
[03:21:24] *** sgnl has quit IRC
[03:21:58] <sacho> and you return some value from that(how do you have access to the promise?)
[03:22:05] *** Scathen^C has quit IRC
[03:22:10] <sacho> returning from an error handler creates a resolved promise
[03:22:20] *** ustunozgur has quit IRC
[03:22:49] *** sgnl has joined #angularjs
[03:22:49] *** nemothekid has quit IRC
[03:22:55] *** sgnl has quit IRC
[03:23:06] <dccc> MV48, :)
[03:23:23] *** MV48 has left #angularjs
[03:23:24] *** sgnl has joined #angularjs
[03:23:25] <sacho> m59, do you have a paste where your responseError handler is
[03:23:26] *** richardbaker has joined #angularjs
[03:23:28] *** sgnl has quit IRC
[03:23:50] *** seydoggy has quit IRC
[03:23:58] *** sgnl has joined #angularjs
[03:24:08] *** bkuberek has quit IRC
[03:24:35] *** sgnl has joined #angularjs
[03:24:46] *** seydoggy has joined #angularjs
[03:24:47] *** LossFor has quit IRC
[03:25:06] *** sgnl has quit IRC
[03:25:45] <m59> sacho: http://pastebin.com/F9sjPa0r
[03:25:48] *** sgnl has joined #angularjs
[03:25:54] *** sgnl has quit IRC
[03:25:55] *** earthquake has quit IRC
[03:26:12] <sacho> m59, what did you have before $q.reject()
[03:26:20] <m59> return resp;
[03:26:22] <m59> lol
[03:26:23] *** stevvooe has quit IRC
[03:26:25] <sacho> yeah
[03:26:30] *** sgnl has joined #angularjs
[03:26:30] <sacho> "resp" isn't a promise, it's a value :)
[03:26:33] *** sgnl has quit IRC
[03:26:35] <sacho> so you weren't "returning the promise"
[03:26:38] *** rchavik has joined #angularjs
[03:26:50] <m59> Yeah, I was thinking it would evaluate it based on the resp (like a silly goose)
[03:26:55] *** k-dawg has quit IRC
[03:27:02] *** sgnl has joined #angularjs
[03:27:17] *** bsmithgall has joined #angularjs
[03:27:24] <sacho> it's still a fair point, you have to know that returning a value from an error handler returns a resolved promise
[03:27:56] *** schliesse has quit IRC
[03:28:23] <sacho> on intuition you might think returning from it just "chains" error handlers
[03:28:46] *** pkayfire has joined #angularjs
[03:28:57] *** seydoggy has quit IRC
[03:29:11] *** seydoggy has joined #angularjs
[03:29:45] *** bicranial has quit IRC
[03:30:18] *** foo-bar- has quit IRC
[03:30:30] *** justinobney has quit IRC
[03:30:44] *** bphogan is now known as bphogan_afk
[03:30:46] *** Yahkob has quit IRC
[03:30:53] *** mindlace has quit IRC
[03:30:58] *** seydoggy has quit IRC
[03:31:03] *** Tidwell has joined #angularjs
[03:31:26] *** InezK is now known as InezK_away
[03:31:34] *** seydoggy has joined #angularjs
[03:31:39] *** RobinBAwesome has quit IRC
[03:31:45] *** pkayfire has quit IRC
[03:32:17] *** RobinBAwesome has joined #angularjs
[03:33:40] *** Yahkob has joined #angularjs
[03:34:45] *** bzitzow has quit IRC
[03:35:24] *** Yahkob has quit IRC
[03:35:51] *** seydoggy has quit IRC
[03:35:52] *** bicranial has joined #angularjs
[03:35:56] *** wilmoore has quit IRC
[03:39:18] *** BillCriswell has joined #angularjs
[03:40:17] *** whunt_ has joined #angularjs
[03:40:25] *** encryptd_fractl has quit IRC
[03:40:39] *** danielpquinn has joined #angularjs
[03:41:41] *** anjumkaiser1 has quit IRC
[03:41:52] *** nicholaswyoung has joined #angularjs
[03:42:52] *** JoshGlzBrk has quit IRC
[03:42:54] *** danethurber has quit IRC
[03:43:07] *** whunt has quit IRC
[03:43:17] *** spencercarnage has quit IRC
[03:43:32] *** bayousoft has joined #angularjs
[03:43:42] *** RobinBAwesome has quit IRC
[03:43:47] *** blueadept has joined #angularjs
[03:43:58] *** LossFor has joined #angularjs
[03:44:23] *** benvds_ has quit IRC
[03:44:51] *** jumpstracks has joined #angularjs
[03:45:19] *** danielpquinn has quit IRC
[03:45:37] *** JosephBergevin has quit IRC
[03:45:44] *** m59 has quit IRC
[03:45:56] *** benvds has joined #angularjs
[03:46:31] *** mikaeldice has joined #angularjs
[03:47:11] *** richard__ has joined #angularjs
[03:47:40] *** ustunozgur has joined #angularjs
[03:48:05] *** nicholaswyoung has quit IRC
[03:48:06] *** encryptd_fractl has joined #angularjs
[03:48:43] *** pheze has quit IRC
[03:48:56] *** mmitchell has quit IRC
[03:49:41] *** anjumkaiser has joined #angularjs
[03:50:44] *** richardbaker has quit IRC
[03:51:28] *** tsalb has joined #angularjs
[03:51:32] *** richard__ has quit IRC
[03:51:40] *** tschundeee has joined #angularjs
[03:51:41] *** anjumkaiser has quit IRC
[03:52:15] *** anjumkaiser has joined #angularjs
[03:52:26] *** kalehv has quit IRC
[03:52:58] *** kalehv has joined #angularjs
[03:53:09] <anjumkaiser> ?
[03:56:02] *** TheAceOfHearts has quit IRC
[03:56:04] *** tschundeee has quit IRC
[03:57:32] *** kalehv has quit IRC
[03:57:39] *** chrislerum has joined #angularjs
[03:57:49] *** pheze has joined #angularjs
[03:57:55] *** wallerdev has quit IRC
[03:57:58] *** jpstone has joined #angularjs
[03:58:07] *** codr has quit IRC
[03:58:22] *** reavengrey has joined #angularjs
[03:58:29] *** heidi has quit IRC
[03:58:44] *** shinnya has quit IRC
[03:58:55] <reavengrey> Hey, if I have a custom directive attribute called "myDirective", and it is meant to be used from within ng-repeat:
[03:59:01] *** chrislerum has quit IRC
[03:59:18] <reavengrey> <div my-directive="$index" ng-repeat="el in elems"> ... </div>
[03:59:42] *** Malone has quit IRC
[03:59:43] <reavengrey> How can I compile the expression "$index" from within the directive?
[03:59:54] *** bmac has joined #angularjs
[04:00:01] *** charuru has quit IRC
[04:00:22] <reavengrey> Such that I get <div my-directive="0">, <div my-directive="1">, <div my-directive="2">, and so on
[04:01:20] *** DrMabuse has joined #angularjs
[04:01:20] *** LossFor has quit IRC
[04:02:16] *** charuru has joined #angularjs
[04:03:09] *** vintik has joined #angularjs
[04:03:17] *** chrislerum has joined #angularjs
[04:03:45] *** slainer68_ftw has joined #angularjs
[04:03:51] *** conner_ has joined #angularjs
[04:04:06] *** darrin has joined #angularjs
[04:04:41] *** eddiemonge has quit IRC
[04:04:45] *** bayousoft has quit IRC
[04:04:49] *** Left_Turn has quit IRC
[04:05:22] *** willmarshall has joined #angularjs
[04:05:39] <reavengrey> K, got it again
[04:05:40] <zelrik> reavengrey, you mean you want $index to be used in your directive?
[04:05:42] <reavengrey> Yea
[04:05:48] *** morenoh149 has joined #angularjs
[04:05:54] <reavengrey> But I found out I can just get index using scope.$index
[04:05:56] *** DrMabuse has quit IRC
[04:06:00] *** ustunozgur has quit IRC
[04:06:01] <reavengrey> From within the link function
[04:06:11] <zelrik> just scope: { myDirective: "=" }
[04:06:25] *** pencilcheck has joined #angularjs
[04:06:30] <zelrik> or &
[04:06:40] <reavengrey> Is that better practice than scope.$index?
[04:06:49] <reavengrey> Or are they both good practice?
[04:06:55] <zelrik> not sure
[04:07:00] <reavengrey> Kk, np
[04:07:01] *** sixr420- has joined #angularjs
[04:07:02] <zelrik> I dont use $index much
[04:07:17] *** sixr420 has quit IRC
[04:07:49] *** edrocks has quit IRC
[04:07:56] <reavengrey> Gothca
[04:07:59] <reavengrey> *Gotcha
[04:08:20] *** slainer68_ftw has quit IRC
[04:08:23] *** conner_ has quit IRC
[04:09:12] *** conan_the_destro has quit IRC
[04:09:19] *** JosephBergevin has joined #angularjs
[04:09:48] *** foo-bar- has joined #angularjs
[04:09:54] *** mindlace has joined #angularjs
[04:12:14] *** bayousoft has joined #angularjs
[04:12:18] *** mindlace has quit IRC
[04:13:08] *** pheze has quit IRC
[04:13:41] *** bmac has quit IRC
[04:14:39] *** DrMabuse has joined #angularjs
[04:14:47] *** mven_ has joined #angularjs
[04:14:49] *** bphogan_afk is now known as bphogan
[04:14:51] *** acconrad has quit IRC
[04:15:21] *** Nijikokun has quit IRC
[04:15:22] *** in_deep_thought has joined #angularjs
[04:15:27] *** Johnny- has joined #angularjs
[04:16:25] <in_deep_thought> can someone tell me why deleting line 4 of script js in this: http://plnkr.co/edit/QnLfTDtaLCwJ3ltIB8xQ?p=preview makes it so that line 5 works? Why would $scope.image_collection have anything to do with $scope.data?
[04:16:50] *** bmac has joined #angularjs
[04:17:26] *** pheze has joined #angularjs
[04:17:29] *** pencilcheck has quit IRC
[04:17:46] *** richardbaker has joined #angularjs
[04:19:28] <in_deep_thought> switching 4 and 5 doesn’t seem to make a difference
[04:19:47] *** DrMabuse has quit IRC
[04:20:01] *** spencercarnage has joined #angularjs
[04:20:16] *** LossFor has joined #angularjs
[04:20:25] *** bullicon has joined #angularjs
[04:20:51] *** cpciv has left #angularjs
[04:21:21] *** LuxuryMode has quit IRC
[04:21:37] *** hswolff has quit IRC
[04:21:56] *** richardbaker has quit IRC
[04:22:00] *** hswolff has joined #angularjs
[04:22:02] *** encryptd_fractl has quit IRC
[04:23:23] *** andrewhl has quit IRC
[04:24:58] *** Hackwar1 has joined #angularjs
[04:25:10] *** Cache_Money has joined #angularjs
[04:26:21] *** InezK_away is now known as InezK
[04:27:04] *** bkuberek has joined #angularjs
[04:27:15] *** torrieri has joined #angularjs
[04:27:18] *** Hackwar has quit IRC
[04:27:25] *** darrin has quit IRC
[04:28:11] *** frkout has joined #angularjs
[04:28:26] *** apetro_ has joined #angularjs
[04:28:56] *** andreyluiz has quit IRC
[04:29:06] *** richardbaker has joined #angularjs
[04:29:46] *** kalusn has joined #angularjs
[04:30:22] *** LossFor has quit IRC
[04:30:32] *** pencilcheck has joined #angularjs
[04:30:37] *** davesidious_ has joined #angularjs
[04:31:25] *** lewix has joined #angularjs
[04:31:26] *** davesidious has quit IRC
[04:31:27] <lewix> hi
[04:31:31] *** josh-k has quit IRC
[04:31:41] <lewix> is it possible to grab the items watched by $watched
[04:31:52] <lewix> im trying to reset a form and im having a hell of a time doing so
[04:32:14] <lewix> a nested form in a form with ng-repeats left and right
[04:32:21] *** pheze has quit IRC
[04:32:28] *** tommmied has joined #angularjs
[04:33:08] *** JosephBergevin has quit IRC
[04:33:08] *** DerekPerkins has quit IRC
[04:33:56] *** richardbaker has quit IRC
[04:34:13] *** kalusn has quit IRC
[04:34:23] *** wxo has quit IRC
[04:34:28] *** chrisshattuck has quit IRC
[04:35:00] <lewix> anyone on?
[04:35:41] *** LakWork has quit IRC
[04:36:09] *** lewix has quit IRC
[04:36:45] *** fedenunez has joined #angularjs
[04:36:47] *** oldtech has joined #angularjs
[04:37:35] *** MTGap has quit IRC
[04:38:29] *** chrisshattuck has joined #angularjs
[04:38:40] <oldtech> Anyone seen an angular forum app. I see Googles forums are angular.
[04:39:35] *** LossFor has joined #angularjs
[04:40:03] *** kalehv has joined #angularjs
[04:40:25] *** oldtech has quit IRC
[04:41:11] *** Nijikokun has joined #angularjs
[04:41:26] *** danielpquinn has joined #angularjs
[04:44:39] *** bphogan is now known as bphogan_afk
[04:45:35] *** lewdev has quit IRC
[04:45:41] *** danielpquinn has quit IRC
[04:46:00] *** kroogs has joined #angularjs
[04:46:18] *** ecantin has quit IRC
[04:46:37] *** BillCriswell has quit IRC
[04:47:29] *** discipolo has quit IRC
[04:48:49] *** encryptd_fractl has joined #angularjs
[04:49:19] *** fouadm has joined #angularjs
[04:49:59] *** markisonfire has quit IRC
[04:50:12] *** bmac has quit IRC
[04:50:30] *** whunt_ has quit IRC
[04:50:56] *** josh-k has joined #angularjs
[04:51:37] *** jpstone has quit IRC
[04:52:19] *** hswolff has quit IRC
[04:52:40] *** nickp has quit IRC
[04:53:09] *** ustunozgur has joined #angularjs
[04:54:14] *** josh-k has quit IRC
[04:54:45] *** josh-k has joined #angularjs
[04:55:14] *** mennea has joined #angularjs
[04:55:24] *** davek has joined #angularjs
[04:55:36] *** vorktanamobay has joined #angularjs
[04:55:57] *** lewix has joined #angularjs
[04:56:02] <lewix> is it possible to grab the items watched by $watched
[04:56:05] <lewix> im trying to reset a form and im having a hell of a time doing so
[04:56:08] <lewix> a nested form in a form with ng-repeats left and right
[04:56:13] *** BobbieBarker has quit IRC
[04:56:18] <lewix> anyone on?
[04:56:44] *** mattupstate has joined #angularjs
[04:57:02] <mattupstate> anyone happen to use lineman with angular?
[04:57:13] <caitp> fox does
[04:57:20] <caitp> thats his jingle
[04:57:36] <mattupstate> my app works fine until i try to build it for production
[04:57:58] <mattupstate> and then i get the dreadful "Uncaught object" error
[04:58:20] *** bkuberek_ has joined #angularjs
[04:58:32] <mattupstate> and i can't debug to save my life once its been ngmin-ified
[04:58:54] *** xavia has joined #angularjs
[04:59:04] *** josh-k has quit IRC
[04:59:59] *** mennea has quit IRC
[05:00:41] *** anjumkaiser has quit IRC
[05:01:01] *** TheAceOfHearts has joined #angularjs
[05:01:09] *** bkuberek has quit IRC
[05:02:43] *** annlewis has quit IRC
[05:03:06] *** ldgood has joined #angularjs
[05:04:53] <tate_> Are you using a controller in a directive with dependencies? Does ngmin handle that use case for you?
[05:04:59] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[05:07:33] *** steffengy1 has quit IRC
[05:07:50] *** steffengy has joined #angularjs
[05:08:22] <davek> Anyone super familiar with node streams?
[05:08:43] *** snurfery has joined #angularjs
[05:08:51] <caitp> node.js streams or the upcoming stream API in html?
[05:10:04] <morenoh149> davek: I know a bit
[05:10:24] <morenoh149> davek: there's also #node.js
[05:10:25] <mattupstate> tate_: i've not written any directives myself, but i'm using vendors
[05:10:36] <davek> morenoh149, yes and they're useless atm.
[05:10:53] <morenoh149> davek: let's go there
[05:11:34] <Emperor_Earth> reading thru ui-router, one idea they bring out for client side user auth is to have the first level state be user based, e.g. anon.childState vs user.childState vs member.childState admin.childState vs superAdmin.childState. while this strat has some advantages, i feel like there's a lot of code duplication, and handling another part of my app (ppl forming groups so that a user might be a leader with special privileges in
[05:11:34] <Emperor_Earth> one situation where other users and generally higher privileged accounts don't) seems a bit clunky
[05:11:39] <Emperor_Earth> what am i not grokking?
[05:12:01] *** superplussed has joined #angularjs
[05:12:08] <davek> caitp, node.js streams. I'm streaming in multipart form data (uploaded image) and need to stream out several versions of the image.
[05:12:23] *** vorktanamobay has quit IRC
[05:12:27] <Emperor_Earth> I'm talking about the module https://github.com/angular-ui/ui-router , especially as used here: http://www.frederiknakstad.com/2014/02/09/ui-router-in-angular-client-side-auth/
[05:13:40] *** josh-k has joined #angularjs
[05:13:49] *** ustunozg_ has joined #angularjs
[05:14:23] *** DerekPerkins has joined #angularjs
[05:14:35] <davek> Secure states using onEnter or a resolve to check the user's privileges.
[05:14:35] <davek> Also be sure you check your privilege.
[05:15:10] *** frkout has quit IRC
[05:15:40] *** DrMabuse has joined #angularjs
[05:15:42] *** frkout has joined #angularjs
[05:15:45] *** treeface has quit IRC
[05:15:55] *** frkout has quit IRC
[05:16:05] *** ustunozgur has quit IRC
[05:16:11] *** caitp has quit IRC
[05:16:24] *** frkout has joined #angularjs
[05:16:34] <Emperor_Earth> davek: yeah, that's what i read into it too. but if you're using state changes to judge roles/auth/privilege, you essentially need to make them the parent state
[05:17:06] <mattupstate> you should be relying on your backend to handle authentication/authorization
[05:17:09] <Emperor_Earth> yeah
[05:17:18] <Emperor_Earth> that's the way i was leaning
[05:17:21] <Emperor_Earth> but it's not without issues
[05:17:21] <Emperor_Earth> e.g.
[05:17:29] <Emperor_Earth> data obv is the most sensitive
[05:17:36] <Emperor_Earth> so you have middleware handlers to do auth
[05:17:48] <Emperor_Earth> but how about things like "delete user" or "ban user" etc
[05:17:55] <mattupstate> how's that? if you get a 401/403 from your server, show the login view, get a token, use it until you get another 401/403
[05:18:04] <Emperor_Earth> if you're aiming for a SPA, then it's really awkward
[05:18:30] <Emperor_Earth> okay, maybe i'm grokking it wrrong.
[05:18:50] <Emperor_Earth> the way i see it is: all pages/views/partials are visible to anyone, but data and actioning on links need to be authed
[05:19:04] <Emperor_Earth> is that wrong/incomplete?
[05:19:08] <Emperor_Earth> for a RESTful SPA
[05:19:55] <mattupstate> thats the gist of it, but there are details to consider
[05:19:56] *** DrMabuse has quit IRC
[05:20:22] <mattupstate> the backend should handle all auth
[05:20:43] <Emperor_Earth> i was thinking backend should always auth everything, but frontend should auth too to smooth out wrinkles
[05:20:47] <mattupstate> and just inform the client (SPA) when it goes right or wrong
[05:20:59] *** DerekPerkins_ has joined #angularjs
[05:21:04] <mattupstate> how do you expect the frontend to auth anything?
[05:21:43] *** bbankes has quit IRC
[05:21:49] <Emperor_Earth> it's not as secure, but doesn't it make sense to stop the 90% of unauth'd things @ the client level
[05:21:52] <Emperor_Earth> to prevent a server call
[05:21:59] *** encryptd_fractl has quit IRC
[05:22:25] <Emperor_Earth> either way, that part isn't where i'm not sure on
[05:22:50] <Emperor_Earth> what i'm not sure on is best practices designing complex auth hierarchies with state/ui-router
[05:22:50] <mattupstate> you have bigger fish to fry than a few 401 responses
[05:23:06] <Emperor_Earth> i feel like doing states by user auth level is really clunky
[05:23:13] <Emperor_Earth> but then i don't know a better way to handle it for client side
[05:23:18] *** DerekPerkins has quit IRC
[05:23:26] <Emperor_Earth> because inheriting the 90% of use cases is really nice
[05:23:30] <mattupstate> the backend should inform the client about what the user is authorized to do
[05:23:42] <Emperor_Earth> obviously backend needs to auth everything....
[05:23:56] <Emperor_Earth> i don't think you understand my question
[05:24:00] *** Jae has quit IRC
[05:24:04] <davek> mattupstate, no. The backend should ensure that unauthorized data is inaccessible to users without privileges. The front end should still check to ensure that those states aren't accessible for quality control purposes.
[05:24:06] *** in_deep_thought has quit IRC
[05:24:08] <mattupstate> i think you're overthinking it ;)
[05:24:25] <Emperor_Earth> i think davek better understands what i'm trying to say
[05:24:40] <Emperor_Earth> for simple SPAs, it seem slike user auth as parent states is ideal
[05:24:47] *** ustunozg_ has quit IRC
[05:24:50] <Emperor_Earth> but for more complex hierarchies, i'm not sure how to design it
[05:24:51] <davek> Nope he has a legitimate issue.
[05:24:51] <davek> Emperor_Earth, you were thinking correctly before. It's a combination of my suggestion to use the onEnter/resolve functionality of ui-router AND creating a parent state for your protected routes.
[05:25:08] *** Ethix has quit IRC
[05:25:18] <mattupstate> meh, to each their own
[05:25:25] <reavengrey> To his his own~
[05:25:28] *** foo-bar- has quit IRC
[05:25:42] <Emperor_Earth> ah, speak of the devil, girl's calling
[05:25:48] *** rho has joined #angularjs
[05:25:48] *** rho has joined #angularjs
[05:25:51] <Emperor_Earth> be back in awhile. to be continued
[05:25:52] <reavengrey> Is she hot
[05:25:59] <mattupstate> oh dear
[05:26:06] *** scriptThis has joined #angularjs
[05:26:06] <davek> Use abstract parent states to demark restricted routes (i.e. 'group', 'admin') and have them be abstract, use a resolve or the onEnter function on this state to determine if the user has sufficient privileges to complete the transition.
[05:26:35] *** foo-bar- has joined #angularjs
[05:26:44] <reavengrey> Tbh, even if somebody gets to a restrcited view
[05:26:59] <reavengrey> Your back end AJAX shouldn't allow the requests to be committed anyway
[05:27:02] <mattupstate> the backend will say "nope, sorry"
[05:27:04] *** utroda has joined #angularjs
[05:27:27] <mattupstate> the UI should only allow the user to navigate to known states
[05:27:35] <mattupstate> based on what the backend says on an initial request
[05:28:05] *** johnnyfive has quit IRC
[05:28:42] <mattupstate> i've gone the 'hypermedia' route for enabling that in my client
[05:29:11] *** vongunten has joined #angularjs
[05:29:36] *** danielpquinn has joined #angularjs
[05:29:54] *** richardbaker has joined #angularjs
[05:31:02] *** foo-bar- has quit IRC
[05:32:58] *** scriptThis has quit IRC
[05:33:20] *** snurfery has quit IRC
[05:33:57] *** danielpquinn has quit IRC
[05:34:11] *** davek has quit IRC
[05:34:19] *** bayousoft has quit IRC
[05:34:20] *** richardbaker has quit IRC
[05:34:45] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[05:34:52] *** scriptThis has joined #angularjs
[05:34:52] *** snurfery has joined #angularjs
[05:35:15] *** sgnl has quit IRC
[05:35:43] *** sgnl has joined #angularjs
[05:36:49] *** Nijikokun has quit IRC
[05:38:15] *** markalanevans has quit IRC
[05:38:37] *** tommmied has quit IRC
[05:39:53] *** LuxuryMode has joined #angularjs
[05:41:32] *** utroda has quit IRC
[05:42:29] <mattupstate> morenoh149: that should be the controller scope
[05:43:43] <willmarshall> Does anyone have any advice on how I'd figure out what's triggering expression evaluation?
[05:43:45] *** Ymesio has quit IRC
[05:43:56] <willmarshall> I've got something running four times on page load, and while it's not a big deal, I'd like to figure out why!
[05:45:14] *** [n0b0dy] has quit IRC
[05:45:18] *** kcccccc has joined #angularjs
[05:45:25] *** [n0b0dy] has joined #angularjs
[05:45:44] *** tilgovi has quit IRC
[05:46:18] *** davek has joined #angularjs
[05:47:49] <mattupstate> frickin chrome
[05:48:01] <mattupstate> chrome doesn't show me this, but safari does http://bpaste.net/show/0Pj4hkl8Gc2XyVIjWFyL/
[05:48:08] *** cisox has joined #angularjs
[05:48:20] <mattupstate> not really sure what that means...
[05:49:07] *** LossFor has quit IRC
[05:49:16] *** chrislerum has quit IRC
[05:49:52] *** subnl2 has joined #angularjs
[05:51:22] <mattupstate> i can only guess it has something to do with ngmin sucking
[05:51:47] *** LossFor has joined #angularjs
[05:52:09] *** conner_ has joined #angularjs
[05:52:11] *** lewiz has joined #angularjs
[05:52:48] *** slainer68_ftw has joined #angularjs
[05:53:01] *** ustunozgur has joined #angularjs
[05:53:29] *** mennea has joined #angularjs
[05:53:53] *** arussel has joined #angularjs
[05:54:27] <arussel> is there a grunt plugin to output nicely the doc ? (maybe the one use ofr angularjs.org)
[05:55:41] *** iffy_athome has joined #angularjs
[05:56:09] *** sacho_ has joined #angularjs
[05:56:14] <iffy_athome> I'm seeing the ng-enter but not the ng-leave animation on an ng-repeat. Here's my CSS: http://bpaste.net/show/8CIbQlQEHtFzP2KobHGl/
[05:56:16] *** foo-bar- has joined #angularjs
[05:56:18] *** conner_ has quit IRC
[05:56:20] *** watsonkp has quit IRC
[05:56:43] *** Evankhell has joined #angularjs
[05:57:17] *** slainer68_ftw has quit IRC
[05:57:45] *** foo-bar- has quit IRC
[05:58:08] *** foo-bar- has joined #angularjs
[05:58:19] *** josh-k has quit IRC
[05:58:47] <iffy_athome> derp... forgot to process the sass
[05:58:50] *** iffy_athome has quit IRC
[05:59:23] *** sacho has quit IRC
[05:59:29] <morenoh149> mattupstate: how so?
[05:59:55] *** foo-bar-_ has joined #angularjs
[06:00:10] <mattupstate> morenoh149: because there's only one variable named $scope anywhere in that code
[06:00:24] *** sneakertack has joined #angularjs
[06:00:36] *** LossFor has quit IRC
[06:01:43] *** harvey203 has joined #angularjs
[06:02:14] *** LossFor has joined #angularjs
[06:02:23] *** ustunozgur has quit IRC
[06:02:29] *** foo-bar- has quit IRC
[06:02:30] *** tschundeee has joined #angularjs
[06:03:04] *** snurfery has quit IRC
[06:03:50] *** dc_ has quit IRC
[06:03:55] *** tsalb has quit IRC
[06:04:11] *** hecatonicosachor has joined #angularjs
[06:04:31] *** LossFor has quit IRC
[06:04:47] *** foo-bar-_ has quit IRC
[06:05:17] *** lewiz has quit IRC
[06:05:41] *** deg- has quit IRC
[06:07:03] *** tschundeee has quit IRC
[06:07:13] *** sacho_ has quit IRC
[06:07:14] *** mattupstate has quit IRC
[06:07:23] *** InezK is now known as InezK_away
[06:07:26] *** deg- has joined #angularjs
[06:08:05] *** nytrm has joined #angularjs
[06:12:14] *** LossFor has joined #angularjs
[06:12:20] *** nytrm has quit IRC
[06:13:55] <ckboii89> does anyone know how to move the box of the ng-grid?
[06:14:23] <ckboii89> im pretty sure its simple css but i can't figure out, i tried float and text-align and doesnt work
[06:14:34] <ckboii89> right now the table is on the right side of the page
[06:15:57] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[06:16:18] *** DrMabuse has joined #angularjs
[06:16:31] *** DrJae has joined #angularjs
[06:16:56] *** jeffisabelle has quit IRC
[06:17:15] *** LossFor has quit IRC
[06:18:03] *** pkayfire has joined #angularjs
[06:18:17] *** hychen has joined #angularjs
[06:19:57] *** gr1nd has joined #angularjs
[06:20:59] *** DrMabuse has quit IRC
[06:21:41] *** lewiz has joined #angularjs
[06:21:43] *** ceephax has quit IRC
[06:21:56] *** umar has joined #angularjs
[06:22:04] *** JoshGlzBrk has joined #angularjs
[06:22:12] <umar> hi everyone
[06:23:05] <umar> how to prevent angularjs resource get http cache
[06:23:24] *** ceephax has joined #angularjs
[06:23:26] *** mdedetrich has quit IRC
[06:23:40] *** boneskul_ has quit IRC
[06:23:54] *** mdedetrich has joined #angularjs
[06:24:43] *** boneskull has joined #angularjs
[06:25:01] <reavengrey> Set the cache control HTTP headers
[06:25:03] <reavengrey> to no-cache
[06:28:18] *** hecatonicosachor is now known as sacho
[06:28:27] *** frkout has quit IRC
[06:28:59] *** frkout has joined #angularjs
[06:29:01] *** annlewis has joined #angularjs
[06:29:53] *** vbabiy has joined #angularjs
[06:30:23] *** danielpquinn has joined #angularjs
[06:31:53] *** jstimm has joined #angularjs
[06:33:25] *** annlewis has quit IRC
[06:33:31] *** pheze has joined #angularjs
[06:34:44] *** danielpquinn has quit IRC
[06:34:45] *** atomical has quit IRC
[06:34:47] *** vbabiy has quit IRC
[06:34:54] *** ascarter has joined #angularjs
[06:36:23] *** bsmithgall has quit IRC
[06:36:50] *** bsmithgall has joined #angularjs
[06:38:04] *** ipalaus has quit IRC
[06:38:09] *** instence_ has joined #angularjs
[06:38:13] *** instence has quit IRC
[06:38:22] *** johnnyfive has joined #angularjs
[06:41:24] *** bsmithgall has quit IRC
[06:41:54] *** wilmoore has joined #angularjs
[06:42:49] *** spencercarnage has quit IRC
[06:45:30] *** ascarter has quit IRC
[06:46:20] *** wilmoore has quit IRC
[06:46:34] *** bkuberek_ has quit IRC
[06:46:49] *** umar has quit IRC
[06:47:16] *** kalehv has quit IRC
[06:47:22] *** kalehv_ has joined #angularjs
[06:47:52] *** Nijikokun has joined #angularjs
[06:48:10] *** spencercarnage has joined #angularjs
[06:49:41] *** DrJae is now known as Jae
[06:49:43] *** instence_ has quit IRC
[06:49:48] *** Jae has quit IRC
[06:49:49] *** Jae has joined #angularjs
[06:49:49] *** instence has joined #angularjs
[06:49:58] *** cisox has quit IRC
[06:50:09] *** apetro_ has quit IRC
[06:52:33] *** quantax- has quit IRC
[06:52:44] *** ustunozgur has joined #angularjs
[06:54:17] *** pkayfire has quit IRC
[06:54:21] *** Cache_Money has quit IRC
[06:54:49] *** pkayfire has joined #angularjs
[06:55:02] *** vongunten has quit IRC
[06:56:11] *** KamalKaur has joined #angularjs
[06:56:33] <KamalKaur> Cam we use SASS with AngularJS?
[06:57:06] <reavengrey> they are two completely separate technologies
[06:57:13] <reavengrey> that do not collide or conflict in any way
[06:57:15] <reavengrey> So, yes
[06:57:30] *** chrislerum has joined #angularjs
[06:58:20] *** DoubleAW has quit IRC
[06:58:22] *** jbourassa has joined #angularjs
[06:58:41] *** DoubleAW has joined #angularjs
[06:58:46] <KamalKaur> reavengrey, I mean should I start a project with COMPASS and then embed AngularJS or... start from an Angular seed project and then embed SASS in it?
[06:59:00] *** arussel has left #angularjs
[06:59:04] *** pkayfire has quit IRC
[06:59:26] <Cixis> it literally doesn't matter
[06:59:55] <KamalKaur> ok
[07:00:09] *** snurfery has joined #angularjs
[07:02:45] *** bullicon has quit IRC
[07:03:00] *** in_deep_thought has joined #angularjs
[07:03:17] <KamalKaur> Sorry for such a question but can you please help me get into the first steps to start a project from Angular seed? I found this: https://github.com/angular/angular-seed Now what are the steps 1, 2, 3 .... to start developing? This is my first web app ever.
[07:03:25] *** bphogan_afk is now known as bphogan
[07:03:59] *** brian_meneses has joined #angularjs
[07:04:12] <sacho> try following the tutorial on the site
[07:04:47] *** bullicon has joined #angularjs
[07:05:43] *** ustunozgur has quit IRC
[07:06:28] *** pdillinger1 has joined #angularjs
[07:07:39] *** jeffisabelle has joined #angularjs
[07:08:03] *** lewiz has quit IRC
[07:08:15] *** vintik has quit IRC
[07:08:48] *** in_deep_thought has quit IRC
[07:08:58] *** dc_ has joined #angularjs
[07:09:12] *** in_deep_thought has joined #angularjs
[07:09:16] *** spencercarnage has quit IRC
[07:09:33] *** bullicon has quit IRC
[07:09:47] *** dcherman2 has quit IRC
[07:09:55] *** lewix has quit IRC
[07:10:23] *** mennea has quit IRC
[07:10:41] *** cctom_ has joined #angularjs
[07:11:33] *** Circlefusion has quit IRC
[07:13:10] <Cixis> heh
[07:13:12] *** jeffisabelle has quit IRC
[07:13:13] *** in_deep_thought has quit IRC
[07:13:33] *** sneakertack has quit IRC
[07:13:40] *** wilmoore has joined #angularjs
[07:13:51] <Cixis> KamalKaur: start with an empty project. add angular to it. create a module and load it. create a controller. play with $scope. create a directive
[07:14:08] <Cixis> empty project meaning just an index.html with nothing fancy in it
[07:14:25] *** sneakertack has joined #angularjs
[07:14:35] <KamalKaur> ok
[07:14:53] *** in_deep_thought has joined #angularjs
[07:15:30] *** Evankhell has quit IRC
[07:15:35] *** m____s has joined #angularjs
[07:16:00] *** juampy has joined #angularjs
[07:17:09] *** DrMabuse has joined #angularjs
[07:17:11] <reavengrey> Can also just start with angular seed, then add some .sass file to the assets
[07:17:41] <reavengrey> and update the packages file to include sass, and add a sass task to your grunt
[07:17:58] <reavengrey> Which is what you actually want to do
[07:20:09] <Cixis> not to offend, but this being his first web app, he should probably start with just the basics
[07:20:27] *** lietu has left #angularjs
[07:21:05] *** heidi has joined #angularjs
[07:21:27] *** DrMabuse has quit IRC
[07:21:39] *** chrislerum has quit IRC
[07:23:05] *** chrislerum has joined #angularjs
[07:23:37] *** Stephen has joined #angularjs
[07:24:40] *** brian_meneses has quit IRC
[07:25:44] *** jeffisabelle has joined #angularjs
[07:26:25] *** pkayfire has joined #angularjs
[07:26:45] *** jshultz has quit IRC
[07:26:46] *** Evankhell has joined #angularjs
[07:27:56] *** m____s has quit IRC
[07:28:53] *** annlewis has joined #angularjs
[07:30:25] *** xastey- has joined #angularjs
[07:30:40] *** annlewis_ has joined #angularjs
[07:31:08] *** danielpquinn has joined #angularjs
[07:31:16] *** ipalaus has joined #angularjs
[07:31:19] *** in_deep_thought has quit IRC
[07:31:35] *** kalusn has joined #angularjs
[07:32:04] *** night-owl-deskto has quit IRC
[07:32:27] *** schonert has joined #angularjs
[07:32:31] *** torrieri has quit IRC
[07:33:41] *** annlewis has quit IRC
[07:34:36] *** xastey has quit IRC
[07:34:58] *** annlewis_ has quit IRC
[07:35:32] *** danielpquinn has quit IRC
[07:35:58] *** kalusn has quit IRC
[07:36:28] *** roymilder has joined #angularjs
[07:37:07] *** night-owl-MBP has joined #angularjs
[07:37:47] *** xavia has left #angularjs
[07:38:08] *** in_deep_thought has joined #angularjs
[07:39:15] *** Limarson has joined #angularjs
[07:40:12] *** ngbot has joined #angularjs
[07:40:12] <ngbot> [angular.js] btford pushed 1 new commit to master: http://git.io/NSoWnA
[07:40:13] <ngbot> angular.js/master cf4f85f fuqcool: docs(error/$sce/insecurl): fix links to $sce and $sceDelegateProvider
[07:40:13] *** ngbot has left #angularjs
[07:40:28] *** conner_ has joined #angularjs
[07:40:33] *** lite_ has joined #angularjs
[07:41:37] *** benjf has left #angularjs
[07:41:52] *** slainer68_ftw has joined #angularjs
[07:42:15] *** jbourassa has quit IRC
[07:42:35] *** Ch4rAss has joined #angularjs
[07:42:41] *** theSrge has joined #angularjs
[07:44:33] *** conner_ has quit IRC
[07:44:34] *** ilya has joined #angularjs
[07:45:17] *** Milanito has joined #angularjs
[07:46:02] *** slainer68_ftw has quit IRC
[07:46:28] *** snurfery has quit IRC
[07:47:23] *** bsmithgall has joined #angularjs
[07:47:34] <theSrge> hey everyone, hopefully someone can tell me what I'm doing wrong. I just want 2-way data-binding on a number input, but it's not working. jsbin here: http://jsbin.com/kiqivule/2/edit any suggestions?
[07:47:39] *** mtsr has quit IRC
[07:49:42] *** BobbieBarker has joined #angularjs
[07:50:01] <BobbieBarker> hey can you use angular validation against an input field that isn't in a form?
[07:50:30] *** schonert has quit IRC
[07:50:46] *** jdj_dk has joined #angularjs
[07:50:50] *** blueadept has quit IRC
[07:51:09] *** Voyage has joined #angularjs
[07:51:52] *** bsmithgall has quit IRC
[07:53:02] *** ustunozgur has joined #angularjs
[07:53:20] *** mdix has joined #angularjs
[07:53:21] *** Ronyrun has joined #angularjs
[07:53:52] *** Gooder has joined #angularjs
[07:54:16] <_ds82> theSrge: the controller is not executed on every change ..
[07:54:27] *** tschundeee has joined #angularjs
[07:54:53] *** snurfery has joined #angularjs
[07:55:13] *** jdj_dk has quit IRC
[07:55:44] <_ds82> theSrge: fixed it for you: http://jsbin.com/kiqivule/5/edit
[07:55:52] *** kalehv_ has quit IRC
[07:56:33] *** Ch4rAss` has joined #angularjs
[07:56:49] <BobbieBarker> if you use the built in form validation you also have to target by name right? and names have to be unique....
[07:56:59] <BobbieBarker> form.fieldname.validationcrap
[07:57:07] <BobbieBarker> i think i need to write a directive
[07:58:28] *** Emperor_Earth_ has joined #angularjs
[07:58:34] <_ds82> ngPattern should work without a form or about what are you talking?
[07:58:55] *** Emperor_Earth has quit IRC
[07:59:03] <theSrge> ds82, that's still 1-way data-binding
[07:59:06] <theSrge> I want 2-way
[07:59:09] *** scmx has joined #angularjs
[07:59:13] *** ppnectar has joined #angularjs
[07:59:18] <theSrge> when I update tires, I expect bikes to update
[07:59:32] *** tschundeee has quit IRC
[07:59:35] <ppnectar> hi want to know advantages of angularjs compared to other js frameworks
[07:59:44] <BobbieBarker> I am trying to validate an input field that is inside a directive a wrote. The field gets repeated all over the view. The valiation rules are super simple input has to be a number between 0-24
[07:59:55] <_ds82> theSrge: it is 2way ;) you misunderstood a bit what 2way databinding means ;)
[07:59:59] *** Ch4rAss has quit IRC
[08:00:20] <BobbieBarker> but if i have 40 of these input fields with the same name, i think it will break
[08:00:23] <_ds82> theSrge: just add another on-change() and you are fine
[08:00:24] <BobbieBarker> the validation
[08:00:27] *** nemothekid has joined #angularjs
[08:00:29] <theSrge> hmm
[08:00:35] *** pheze has quit IRC
[08:00:44] <_ds82> *ng-change
[08:00:46] *** foo-bar- has joined #angularjs
[08:01:09] <ppnectar> want to know advantages of angularjs compared to other js frameworks
[08:01:16] <BobbieBarker> go read
[08:01:51] <BobbieBarker> better yet go look in the ember and react rooms on freenode
[08:01:52] <BobbieBarker> lol
[08:01:55] <_ds82> ppnectar: http://bit.ly/1kCxEDS
[08:02:24] <BobbieBarker> @ _ds82 lol got em
[08:02:49] <ppnectar> I want to know advantages with code
[08:02:54] *** vintik has joined #angularjs
[08:03:11] <BobbieBarker> ppnectar if you got a "how to do xyz" angular question i'm all about helping you but don't be afraid to read
[08:03:27] <BobbieBarker> there are none? JS is JS regardless of what framework you're using
[08:03:28] <_ds82> irc is not for the lazy ppl
[08:03:30] <ppnectar> google gives me thoeriotical knowledge
[08:03:40] <BobbieBarker> you're not googling hard enough
[08:03:43] *** rho has quit IRC
[08:03:51] *** theSrge has quit IRC
[08:03:56] *** ustunozgur has quit IRC
[08:03:59] <ppnectar> I hv gone through angularjs tutorials
[08:04:15] <BobbieBarker> then go through ember and react tuts and judge for yourself
[08:04:28] <BobbieBarker> those are probably the only real SPA framework competition for angular
[08:04:37] *** in_deep_thought has quit IRC
[08:04:44] *** jdj_dk has joined #angularjs
[08:04:46] <ppnectar> but just give me overall idea for that
[08:05:01] <BobbieBarker> pay me then i'll work for you
[08:05:08] *** foo-bar- has quit IRC
[08:05:17] <ppnectar> ya m ready
[08:05:41] <ppnectar> r u angularjs developer??
[08:05:58] <BobbieBarker> no i just sit in here and heckle people that ask questions
[08:06:43] <ppnectar> then hackle me too
[08:07:04] <BobbieBarker> i think i'm doing a god job
[08:07:12] <BobbieBarker> good job of that already*
[08:07:23] <ppnectar> where from u ??
[08:08:04] *** motionman has quit IRC
[08:08:10] <ppnectar> where from u ??
[08:08:20] *** Click66___ has joined #angularjs
[08:08:25] *** phuh has joined #angularjs
[08:08:26] <ppnectar> Bobbibarker > where from u ??
[08:08:52] <BobbieBarker> i had to put him on ignore i don't want to get banned out of here again lol
[08:09:10] *** mehlah has joined #angularjs
[08:09:59] *** Mouzi has joined #angularjs
[08:10:28] *** evilaliv3 has joined #angularjs
[08:10:30] <Cixis> ppnectar: the advantage of angularjs is what you should use it
[08:10:38] <Cixis> that*
[08:11:05] *** pdillinger1 has quit IRC
[08:11:16] *** mrpj has quit IRC
[08:11:22] <ppnectar> I want to know why should i use whereas more than 100 js frameworks are there
[08:11:50] *** mrpj has joined #angularjs
[08:12:25] * ppnectar
[08:12:37] *** pkayfire_ has joined #angularjs
[08:13:23] <ppnectar> action
[08:13:26] *** cctom_ has quit IRC
[08:13:45] * ppnectar
[08:13:53] <ppnectar> hi
[08:14:01] <ppnectar> hi /cixis
[08:14:10] <ppnectar> hi
[08:14:12] <ppnectar> hi
[08:14:17] <Cixis> BobbieBarker: help
[08:14:19] *** pencilcheck has quit IRC
[08:14:29] <BobbieBarker> what Cisix?
[08:14:33] <Cixis> i've made a fatal mistake
[08:14:52] <BobbieBarker> ya i don't think he's legit Cixis
[08:14:57] <BobbieBarker> i think he maybe trollin
[08:15:16] *** cpciv has joined #angularjs
[08:15:28] <Cixis> he may be rollin
[08:15:36] <BobbieBarker> lol
[08:15:47] <BobbieBarker> just ignore him he'll go away
[08:15:48] *** pkayfire has quit IRC
[08:15:50] <BobbieBarker> don't feed the troll
[08:15:56] <ppnectar> m not trolling
[08:15:56] *** rho has joined #angularjs
[08:16:45] <ppnectar> BobbieBarker: help
[08:17:37] <BobbieBarker> help yourself, ask a real question about angular or go away
[08:17:39] *** Circlefusion has joined #angularjs
[08:17:41] *** DrMabuse has joined #angularjs
[08:17:43] <sacho> ppnectar, data binding cuts down on a lot of boilerplate code when updating an UI, even though angular's data binding is sometimes clunky.
[08:17:55] <_ds82> I'm german, nobody will drag me down today :O
[08:18:02] <BobbieBarker> lol
[08:18:07] *** mennea has joined #angularjs
[08:18:21] *** DrMabuse has quit IRC
[08:18:23] * Cixis snickers
[08:18:28] <sacho> ppnectar, the dependency injection angular provides improves the testability of your projects and also reduces some of the calling boilerplate you'd have.
[08:18:47] *** Stephen has quit IRC
[08:19:03] <ppnectar> ok then can we replace this framework with extjs??
[08:19:17] <sacho> ppnectar, the idea of directives(dom transformations are driven by data + a transformation recipe) + data binding is fairly useful when designing ui components.
[08:19:26] *** Stephen has joined #angularjs
[08:19:30] <sacho> those would be the key reasons to use angular, as opposed to another framework
[08:19:51] <BobbieBarker> i'm glad sacho is here to jump on this grenade
[08:19:52] <sacho> (not including personal factors like team familiarity)
[08:19:55] <BobbieBarker> go get em sacho
[08:19:56] *** subnl2 has quit IRC
[08:20:05] <sacho> ppnectar, I don't know, can you?
[08:20:17] <ppnectar> what if we want to implement huge app??
[08:20:30] *** Jae has quit IRC
[08:20:51] <BobbieBarker> if you're in a posistion where you need to implement a huge app these are probably questions you should be able to answer for yourself <<feels sorry for who ever writes your checks
[08:21:42] *** jerev_away is now known as jerev
[08:21:43] *** paperElectron has quit IRC
[08:22:12] *** DuelShark has joined #angularjs
[08:22:14] *** mehlah has quit IRC
[08:22:38] <ppnectar> ??
[08:22:51] *** aviraldg has joined #angularjs
[08:22:59] *** tylerdmace has quit IRC
[08:23:24] *** aviraldg has quit IRC
[08:23:57] <ppnectar> ??
[08:24:26] *** aviraldg has joined #angularjs
[08:24:34] <ppnectar> Sacho - ??
[08:25:05] *** motionman has joined #angularjs
[08:25:11] *** snurfery has quit IRC
[08:25:13] <sacho> your question is vague
[08:25:13] *** nkn has joined #angularjs
[08:25:18] *** aviraldg has quit IRC
[08:25:52] <ppnectar> can I use to implement vast web app??
[08:26:23] *** cpciv has quit IRC
[08:26:28] <ppnectar> 'cause we are working for BBC
[08:26:33] *** aviraldg has joined #angularjs
[08:27:10] *** cpciv has joined #angularjs
[08:27:31] *** gr1nd has quit IRC
[08:27:44] *** okdamn has joined #angularjs
[08:27:53] *** kkthxbye has joined #angularjs
[08:27:54] *** krat0sprakhar_ has joined #angularjs
[08:28:06] <okdamn> hey how can i load in index.html the header, content and footer based on ui-router states?
[08:28:23] <Cixis> whoa there
[08:28:30] <okdamn> wheyo
[08:28:30] <Cixis> first you want a huge app, and then a vast app?
[08:28:37] <Cixis> the universe is only so large, boy
[08:28:41] *** iksik has joined #angularjs
[08:28:44] *** fataldecrease has joined #angularjs
[08:28:45] <BobbieBarker> lol
[08:28:45] <okdamn> Cixis: lol u on drugs?
[08:28:52] <Cixis> talking to someone else
[08:29:01] <okdamn> ok sorry :D
[08:29:01] *** pencilcheck has joined #angularjs
[08:29:01] <ppnectar> he is talking to me
[08:29:04] <Cixis> but also no
[08:29:06] <krat0sprakhar_> hi everyone, quick question - I have a factory that uses a window object to instantiate.. i'm having a hard time writing a karma test for it.. any clues? https://gist.github.com/prakhar1989/ab6761737c17906d5584#file-factory-js-L4
[08:29:16] *** Rebirth has quit IRC
[08:29:34] <okdamn> how can i achieve this guys?
[08:29:39] *** svycka has joined #angularjs
[08:29:42] *** annlewis has joined #angularjs
[08:29:48] <ppnectar> no m not on drugs but want some clarification before use on angularjs
[08:30:07] *** heidi has quit IRC
[08:30:10] <okdamn> ppnectar: lol i joke :P dont mind
[08:30:28] <okdamn> whos using ui-router here?
[08:30:31] *** jedrek has left #angularjs
[08:30:32] *** mtsr has joined #angularjs
[08:30:43] <ppnectar> ofcourse m not
[08:31:05] <krat0sprakhar_> anyone? some tips about testing ng factories?
[08:32:34] *** kkthxbye has quit IRC
[08:32:45] *** motionman has quit IRC
[08:32:49] *** ppppaul has joined #angularjs
[08:32:59] <trippo> So I've been asking about performance issues previously - and I just checkout how many $digest I have.
[08:33:03] *** motionman has joined #angularjs
[08:33:04] *** motionman has joined #angularjs
[08:33:23] *** hychen has quit IRC
[08:33:57] *** annlewis has quit IRC
[08:33:59] <trippo> For displaying the first landing page which has a heading and a button for changing the navigator, digest is called 6 times. When I press that button and the big content is shown digest is called another 8 times. When I click an item on that page to show it's details digest is called another 8 times.
[08:34:03] *** johnnyfive has quit IRC
[08:34:18] <trippo> Could that be the reason for the app responsiveness being slow on older devices, for example iphone 4?
[08:35:07] *** combat has joined #angularjs
[08:35:28] *** mchammer has joined #angularjs
[08:35:33] <sacho> use a profiler to find out.
[08:35:45] <sacho> chrome has some great profiling tools.
[08:36:01] <sacho> a $digest cycle being called doesn't really mean anything.
[08:36:23] *** ingsoc has joined #angularjs
[08:36:57] *** mdix has quit IRC
[08:37:18] *** HelperW has joined #angularjs
[08:37:32] *** davek has quit IRC
[08:38:02] *** davek has joined #angularjs
[08:38:38] <krat0sprakhar_> any angular testing zealots here? :D
[08:38:48] <krat0sprakhar_> need some best practice advise guys
[08:39:14] *** rho has quit IRC
[08:41:05] *** pdillinger1 has joined #angularjs
[08:41:16] *** fiws|meh has quit IRC
[08:41:16] *** fiwsi has joined #angularjs
[08:41:31] <lite_> at what point in the process is the link function of a directive called ?
[08:41:34] *** pluma has quit IRC
[08:42:35] *** gil has quit IRC
[08:43:39] <trippo> sacho: Ok, I've been trying batarang some - but can't seem to find anything that looks bad. But on older mobile devices (this is a hybrid app) the issues is quite severe.
[08:43:40] *** BadHorsie has quit IRC
[08:43:46] <trippo> I'll keep looking then, thanks.
[08:44:00] *** tarkus has joined #angularjs
[08:44:08] *** suffice has quit IRC
[08:44:14] <trippo> I just found it odd that digest was run 6 times on the first landing page that has very little content.
[08:44:44] *** plantain has quit IRC
[08:45:42] <sacho> that's nice
[08:45:43] *** KamalKaur has quit IRC
[08:47:24] *** klaut has joined #angularjs
[08:47:40] *** plantain has joined #angularjs
[08:47:45] *** willmarshall has quit IRC
[08:48:28] *** mehlah has joined #angularjs
[08:48:41] *** josh-k has joined #angularjs
[08:48:53] *** mehlah has quit IRC
[08:49:26] *** suffice has joined #angularjs
[08:50:47] *** gil has joined #angularjs
[08:51:34] *** BadHorsie has joined #angularjs
[08:51:41] *** _ has joined #angularjs
[08:51:52] *** _ is now known as Guest11873
[08:52:17] *** olli- has quit IRC
[08:52:42] *** ustunozgur has joined #angularjs
[08:52:47] *** fedenunez has quit IRC
[08:52:57] *** olli- has joined #angularjs
[08:53:01] *** Milanito has quit IRC
[08:54:43] *** phuh has quit IRC
[08:54:59] *** tarnus has quit IRC
[08:55:08] *** phuh has joined #angularjs
[08:55:11] *** bicranial has quit IRC
[08:55:37] *** AndyFTP has joined #angularjs
[08:55:44] *** Dev___ has joined #angularjs
[08:55:51] <Dev___> Hi..
[08:56:12] *** jae has joined #angularjs
[08:56:19] *** dutis has joined #angularjs
[08:56:20] *** ceephax has quit IRC
[08:56:27] *** Aartsie has joined #angularjs
[08:56:53] *** Guest11873 has quit IRC
[08:57:03] *** Dev___ has quit IRC
[08:57:07] *** Serdar has joined #angularjs
[08:57:16] <lite_> how would i go about creating a jasmine spy on $element in my link function that has been extended to have a "doFoo()" method
[08:57:54] <lite_> basically i wish to do spyOn(element, 'doFoo'), but when doing so I get the error message saying "doFoo() method does not exist"
[08:58:02] *** peldan has joined #angularjs
[08:58:25] *** stodan has joined #angularjs
[08:58:33] *** danielpquinn has joined #angularjs
[08:59:28] *** dariocravero has joined #angularjs
[08:59:47] *** DuelShark has quit IRC
[09:01:07] *** lewix has joined #angularjs
[09:01:15] <lewix> $scope.$parent.resetForm = function () {
[09:01:16] <lewix> console.log("compiling form" + element + pristineFormTemplate);
[09:01:16] <lewix> $compile(element.contents())($scope);
[09:01:17] <lewix> };
[09:02:04] <lewix> i have something like above in my controller but when i change the input box of my form theyre not being fetch again which i thought compile would do
[09:02:28] <lewix> with ng-click= resetForm()
[09:02:35] *** KimP has joined #angularjs
[09:03:09] <lewix> im so confused why it doesnt work and refresh the form
[09:03:16] *** danielpquinn has quit IRC
[09:03:49] *** fbenoit has joined #angularjs
[09:04:03] *** mdix has joined #angularjs
[09:04:23] *** senayar has joined #angularjs
[09:04:48] *** DerekPerkins has joined #angularjs
[09:05:32] *** Daven_ has joined #angularjs
[09:06:47] *** zanea is now known as zanea|away
[09:06:57] *** Milanito has joined #angularjs
[09:07:10] *** Milanito1 has joined #angularjs
[09:07:30] *** tschundeee has joined #angularjs
[09:07:34] *** hannesvdvreken has joined #angularjs
[09:08:13] *** DerekPerkins_ has quit IRC
[09:08:23] *** cctom_ has joined #angularjs
[09:08:24] *** Daven_ has quit IRC
[09:08:48] <ckboii89> hey does anyone know how to place the checkbox on the far most left column in ng-grid? the code snippet i got places on the far most right column
[09:09:08] *** wilmoore has quit IRC
[09:09:38] *** massi_syed has joined #angularjs
[09:11:04] *** Milanito has quit IRC
[09:11:07] *** mdix has quit IRC
[09:11:29] *** mdix has joined #angularjs
[09:11:48] *** jstroem has joined #angularjs
[09:12:07] <ckboii89> nvm figured it out
[09:12:08] *** TheAceOfHearts has quit IRC
[09:12:32] *** Milanito1 has quit IRC
[09:13:38] *** sgnl has quit IRC
[09:13:39] *** nytrm has joined #angularjs
[09:14:03] *** scmx has quit IRC
[09:14:09] *** bkuberek has joined #angularjs
[09:15:03] *** vintik has quit IRC
[09:15:43] *** ustunozgur has quit IRC
[09:17:04] *** jk-5 has quit IRC
[09:18:36] *** ilya has quit IRC
[09:18:43] *** bkuberek has quit IRC
[09:20:35] *** bkuberek has joined #angularjs
[09:20:56] *** kalusn has joined #angularjs
[09:21:00] *** VeeWee has joined #angularjs
[09:21:26] *** Rikle_S_ is now known as Rikle_S
[09:21:50] *** kroogs has quit IRC
[09:22:16] *** bkuberek has quit IRC
[09:22:26] *** bkuberek has joined #angularjs
[09:22:34] *** Stephen has quit IRC
[09:23:10] *** kroogs has joined #angularjs
[09:23:18] *** Alina-malina has quit IRC
[09:23:48] *** Stephen has joined #angularjs
[09:24:05] *** reavengrey has quit IRC
[09:24:05] *** Stephen has quit IRC
[09:24:09] *** Emperor_Earth_ has quit IRC
[09:24:38] *** jk-5 has joined #angularjs
[09:25:48] *** Alina-malina has joined #angularjs
[09:25:50] *** lewix has quit IRC
[09:25:50] *** Stephen has joined #angularjs
[09:26:18] *** Stephen has quit IRC
[09:26:44] *** bkuberek has quit IRC
[09:26:48] *** hychen has joined #angularjs
[09:26:56] *** sk87 has joined #angularjs
[09:27:03] *** raul782 has left #angularjs
[09:27:12] *** mykz_ has joined #angularjs
[09:27:38] *** mewm has joined #angularjs
[09:27:44] <ppnectar> ??
[09:27:50] <ppnectar> who's there??
[09:27:51] *** mykz_ has quit IRC
[09:28:12] <okdamn> zzzZZZZ
[09:28:23] <okdamn> :D
[09:28:45] *** conner_ has joined #angularjs
[09:29:04] <ppnectar> oh......no one is here
[09:29:04] *** neurix has joined #angularjs
[09:30:03] *** TheAceOfHearts has joined #angularjs
[09:30:21] *** slainer68_ftw has joined #angularjs
[09:30:51] *** KRGLV has joined #angularjs
[09:30:52] *** jstroem has quit IRC
[09:31:03] *** terrykfwong has joined #angularjs
[09:31:15] *** DrJae has joined #angularjs
[09:31:25] <aviraldg> ppnectar, yeah?
[09:31:28] <neurix> I have a beginner question around services: I wrote a simple test service (http://pastebin.com/9yAQWzu2), but as soon as I import the js file, ng-view stops loading the templates. What could be the reason? Everything works fine when I exclude the service.js file.
[09:31:39] *** AciD`` has joined #angularjs
[09:31:59] *** seydoggy has joined #angularjs
[09:32:14] *** jk-5 has quit IRC
[09:32:36] *** KRGLV has quit IRC
[09:32:36] *** jae has quit IRC
[09:32:37] *** jstroem has joined #angularjs
[09:32:54] <aviraldg> neurix, try http://pastebin.com/MZCBjHEN
[09:32:57] *** HypnotiX has joined #angularjs
[09:33:08] *** conner_ has quit IRC
[09:34:21] *** Lingo has joined #angularjs
[09:35:13] <neurix> Thank you aviraldg
[09:35:23] *** slainer68_ftw has quit IRC
[09:35:42] *** nfroidure_ has joined #angularjs
[09:35:48] <neurix> <aviraldg> Do you know why I can't load an empty array for dependencies?
[09:36:02] *** Daven_ has joined #angularjs
[09:36:10] *** chrislerum has quit IRC
[09:36:18] *** seydoggy has quit IRC
[09:36:19] *** DrJae is now known as Jae
[09:36:23] *** Jae has joined #angularjs
[09:36:30] <aviraldg> You can. That form of angular.module (with the dependency array) creates a new module. The version without returns an existing module.
[09:37:11] *** zelrik has quit IRC
[09:37:58] *** abc1234 has joined #angularjs
[09:38:08] *** Daven_ has quit IRC
[09:38:09] <abc1234> hi
[09:38:11] <neurix> aviraldg Thank you for the explanation.
[09:38:20] *** hannesvdvreken has quit IRC
[09:38:37] <ckboii89> hi quick question
[09:38:37] *** AndyFTP has quit IRC
[09:39:04] *** charuru has quit IRC
[09:39:05] <ckboii89> if i need to use a jquery to select all checkbox buttons from ng-grid, where should i place the jquery pluging?
[09:39:30] *** Daven_ has joined #angularjs
[09:39:47] *** hannesvdvreken has joined #angularjs
[09:39:52] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[09:40:01] *** wilmoore has joined #angularjs
[09:40:13] *** illume has joined #angularjs
[09:40:40] <morenoh149> because I'm not seeing any of them when inspecting the closure
[09:40:53] *** Shrooms has joined #angularjs
[09:41:05] *** AndyFTP has joined #angularjs
[09:41:32] *** roymilder has quit IRC
[09:42:56] *** brian__ has joined #angularjs
[09:43:22] *** Lingo has quit IRC
[09:43:36] *** sneakertack has quit IRC
[09:43:46] *** jk-5 has joined #angularjs
[09:45:00] *** UniBot has joined #angularjs
[09:45:04] *** DevAntoine has joined #angularjs
[09:46:37] *** mdedetrich has quit IRC
[09:47:37] *** reavengrey has joined #angularjs
[09:48:46] *** joshbrw has joined #angularjs
[09:49:53] <trippo> I have a directive that binds some drag events on a bunch of elements (containing some ng-repeats - but I use quick-ng-repeat). Each item in these repeats should be clickable and take the user into another view.
[09:50:24] <trippo> Would it be better to use hm-tap on the element itself (in the view) meaning I will have alot of binds, or should I bind the element from the directive instead?
[09:51:19] *** Milanito has joined #angularjs
[09:51:28] <trippo> Using event delegation that is.
[09:52:57] *** Daven_ has quit IRC
[09:53:10] *** ustunozgur has joined #angularjs
[09:53:23] *** DerekPerkins has quit IRC
[09:53:24] *** josh-k has quit IRC
[09:54:47] *** phuh has quit IRC
[09:54:56] *** Daven_ has joined #angularjs
[09:54:58] *** reavengrey has quit IRC
[09:55:12] *** phuh has joined #angularjs
[09:55:14] *** vovanbo has joined #angularjs
[09:55:47] *** terrykfwong has quit IRC
[09:55:56] *** jstroem has quit IRC
[09:56:25] *** drej has quit IRC
[09:56:43] *** jstroem has joined #angularjs
[09:56:44] *** milka has joined #angularjs
[09:57:27] *** Joulse has joined #angularjs
[09:57:33] *** tfennelly has joined #angularjs
[09:57:59] *** vanzile has joined #angularjs
[09:59:25] *** danielpquinn has joined #angularjs
[09:59:32] *** Milanito has quit IRC
[09:59:50] *** Milanito has joined #angularjs
[10:00:09] *** UniBot has quit IRC
[10:00:27] *** Vinnyceptr has joined #angularjs
[10:00:29] *** UniBot has joined #angularjs
[10:00:41] *** pencilcheck has quit IRC
[10:00:58] *** jstroem has quit IRC
[10:01:22] *** foo-bar- has joined #angularjs
[10:01:26] *** JesseEichar_ has joined #angularjs
[10:01:29] *** mattwynne has joined #angularjs
[10:02:16] *** hannesvdvreken has quit IRC
[10:03:01] *** bweston has joined #angularjs
[10:03:30] *** kayoone has joined #angularjs
[10:03:44] *** terrykfwong has joined #angularjs
[10:04:04] *** danielpquinn has quit IRC
[10:04:22] *** gkr_ has joined #angularjs
[10:04:59] *** UniBot has quit IRC
[10:05:25] *** roymilder has joined #angularjs
[10:05:37] *** foo-bar- has quit IRC
[10:06:39] *** zz_Brocken is now known as Brocken
[10:07:05] *** HypnotiX has quit IRC
[10:08:57] *** AciD`` has quit IRC
[10:09:29] *** roymilde_ has joined #angularjs
[10:09:56] *** roymilder has quit IRC
[10:09:59] *** zelrik has joined #angularjs
[10:11:23] *** Evankhell has quit IRC
[10:11:41] *** roolo has joined #angularjs
[10:12:38] *** HypnotiX has joined #angularjs
[10:12:56] *** mchapman has joined #angularjs
[10:13:15] *** Evankhell has joined #angularjs
[10:14:58] *** edzez has quit IRC
[10:15:23] *** TheAceOfHearts has quit IRC
[10:16:18] *** fbenoit has quit IRC
[10:16:19] *** ustunozgur has quit IRC
[10:16:21] *** pluma has joined #angularjs
[10:16:47] *** UniBot has joined #angularjs
[10:17:02] *** Xethron has joined #angularjs
[10:17:02] *** Xethron has joined #angularjs
[10:17:23] *** newcode has joined #angularjs
[10:17:41] *** disorder20 has joined #angularjs
[10:17:56] *** zelrik has quit IRC
[10:18:06] *** josh-k has joined #angularjs
[10:18:14] *** fouadm has quit IRC
[10:18:22] *** hannesvdvreken has joined #angularjs
[10:18:46] *** newcode has quit IRC
[10:18:52] *** disorder20 has quit IRC
[10:19:09] *** evilaliv3 has quit IRC
[10:20:02] *** harvey203 has quit IRC
[10:20:11] <okdamn> guys how do i make this to work without /app in url?? http://pastebin.com/jmSVtQuS
[10:20:18] *** klaut has quit IRC
[10:20:19] *** mdix has quit IRC
[10:20:37] *** marr has joined #angularjs
[10:20:49] *** mdix has joined #angularjs
[10:20:50] *** balboah has joined #angularjs
[10:22:10] *** TheAceOfHearts has joined #angularjs
[10:22:58] *** Swanify has joined #angularjs
[10:23:12] *** bkuberek has joined #angularjs
[10:23:24] *** eutheria has joined #angularjs
[10:25:10] *** josh-k has quit IRC
[10:25:21] *** altious has joined #angularjs
[10:25:21] *** rinceRepeat has quit IRC
[10:25:45] *** josh-k has joined #angularjs
[10:26:15] *** slainer68_ftw has joined #angularjs
[10:27:19] *** fbenoit has joined #angularjs
[10:27:32] *** bkuberek has quit IRC
[10:28:44] *** davek has quit IRC
[10:28:47] *** altious has quit IRC
[10:28:48] *** edzez has joined #angularjs
[10:28:58] *** altious has joined #angularjs
[10:29:34] *** Swanify has quit IRC
[10:29:38] *** annlewis has joined #angularjs
[10:29:44] *** davek has joined #angularjs
[10:30:19] *** josh-k has quit IRC
[10:30:29] *** ipalaus has quit IRC
[10:31:26] *** marcghorayeb has joined #angularjs
[10:31:28] *** zelrik has joined #angularjs
[10:31:45] *** mdix has quit IRC
[10:31:52] *** mdix_ has joined #angularjs
[10:34:04] *** annlewis has quit IRC
[10:34:53] *** gunn has joined #angularjs
[10:36:51] *** mange has quit IRC
[10:37:22] *** uffs has joined #angularjs
[10:37:40] *** Sebastien-L has joined #angularjs
[10:38:13] *** storresi has joined #angularjs
[10:38:15] <uffs> http://i.imgur.com/3hd1hsq.png
[10:38:25] <uffs> how do i fix problems like this?
[10:38:44] <uffs> exception happens somewhere inside the code
[10:38:54] <uffs> (angularjs code)
[10:39:08] *** pluma has quit IRC
[10:39:09] <uffs> and i see no way to tell which part of my own code triggers it
[10:39:22] *** mehlah has joined #angularjs
[10:39:34] <sacho> sure there is.
[10:41:54] *** KamalKaur has joined #angularjs
[10:41:55] *** sacho has quit IRC
[10:41:56] *** KamalKaur has quit IRC
[10:41:56] *** sacho has joined #angularjs
[10:41:57] *** ipalaus has joined #angularjs
[10:41:57] <sacho> uffs, expand the rest of the stack trace.
[10:41:58] *** dc_ has quit IRC
[10:42:01] *** dc_ has joined #angularjs
[10:42:01] <uffs> sacho: http://i.imgur.com/h0awxfD.png
[10:42:19] <sacho> well, find out what the bound handler is.
[10:42:26] *** Alina-malina has quit IRC
[10:42:59] *** Alina-malina has joined #angularjs
[10:43:21] <uffs> sacho: what's that?
[10:43:39] <sacho> the function that's reacting to the event.
[10:44:25] <sacho> it's most likely vendors.js:37009
[10:45:08] *** ipalaus has quit IRC
[10:45:12] <uffs> sacho: http://pastie.org/private/tszhacqzofllhqxbyh70a
[10:45:17] <uffs> how did you tell?
[10:45:34] *** CainVampyr has joined #angularjs
[10:45:42] *** Aartsie has quit IRC
[10:46:03] *** Moon has joined #angularjs
[10:46:27] <sacho> it's what jquery's dispatch is calling.
[10:46:27] *** Moon is now known as Guest29995
[10:46:29] *** m__ has joined #angularjs
[10:47:03] <uffs> ok
[10:47:52] *** m__ has quit IRC
[10:48:20] *** dariocravero has quit IRC
[10:48:27] *** HypnotiX has quit IRC
[10:48:39] *** dariocravero has joined #angularjs
[10:49:22] *** Evankhell has quit IRC
[10:49:37] *** dve has joined #angularjs
[10:49:39] *** amedia has joined #angularjs
[10:50:14] *** davedev24_ has quit IRC
[10:50:17] *** mamarilmanson has joined #angularjs
[10:50:54] *** davedev24_ has joined #angularjs
[10:51:16] *** AngularUI has joined #angularjs
[10:51:17] <AngularUI> [bootstrap] shaggyone opened pull request #2433: Watch max attribute (master...master) http://git.io/2IKO5w
[10:51:17] *** AngularUI has left #angularjs
[10:51:38] *** Hounddog has joined #angularjs
[10:52:20] *** Monkfish has joined #angularjs
[10:52:39] *** krat0sprakhar_ has quit IRC
[10:52:47] *** ustunozgur has joined #angularjs
[10:54:26] *** Aartsie has joined #angularjs
[10:54:34] *** motionman has quit IRC
[10:54:48] *** phuh has quit IRC
[10:55:15] *** phuh has joined #angularjs
[10:55:30] *** davedev24_ has quit IRC
[10:56:01] *** tangorri has joined #angularjs
[10:56:13] *** tarnus has joined #angularjs
[10:58:25] *** marcghorayeb is now known as marcghorayeb|afk
[10:58:33] *** Evankhell has joined #angularjs
[11:00:01] *** Guest___ has joined #angularjs
[11:00:10] *** danielpquinn has joined #angularjs
[11:00:27] *** jeffisabelle has quit IRC
[11:00:36] *** tarnus has quit IRC
[11:01:15] *** Milanito has quit IRC
[11:01:33] *** pluma has joined #angularjs
[11:01:40] *** okdamn has quit IRC
[11:01:44] *** sk87 has quit IRC
[11:02:11] *** gunn has quit IRC
[11:02:34] *** Foxandxss has joined #angularjs
[11:02:43] *** klaut has joined #angularjs
[11:03:07] *** samsamm777 has joined #angularjs
[11:03:21] *** dylanlindgren has joined #angularjs
[11:03:47] *** klaut has quit IRC
[11:04:47] *** danielpquinn has quit IRC
[11:04:47] *** jstroem has joined #angularjs
[11:04:58] <tangorri> hmmm I need to do a $document.on('click', ...); combined with a ng-if, so the click that make the directive instanciante also call the handler... how can I ignore the initial click ?
[11:05:01] <tangorri> prelink ?
[11:05:02] *** UniBot has quit IRC
[11:05:22] *** UniBot has joined #angularjs
[11:06:11] *** altious has quit IRC
[11:06:22] *** Daven_ has quit IRC
[11:06:43] *** UniBot has quit IRC
[11:06:57] *** klaut has joined #angularjs
[11:07:14] *** motionman has joined #angularjs
[11:07:14] *** motionman has joined #angularjs
[11:09:11] *** marcghorayeb|afk is now known as marcghorayeb
[11:10:37] *** sk87 has joined #angularjs
[11:11:32] *** wilmoore has quit IRC
[11:13:09] *** Daven_ has joined #angularjs
[11:15:22] *** Milanito has joined #angularjs
[11:15:28] *** mattwynne has quit IRC
[11:15:37] *** ustunozgur has quit IRC
[11:15:47] *** superplussed has quit IRC
[11:16:16] *** superplussed has joined #angularjs
[11:17:34] *** Joulse has quit IRC
[11:18:00] *** Milanito has quit IRC
[11:18:55] *** mattwynne has joined #angularjs
[11:19:05] *** Milanito has joined #angularjs
[11:20:15] *** ustunozgur has joined #angularjs
[11:20:16] *** rchavik has quit IRC
[11:20:17] *** mattwynne has quit IRC
[11:20:20] *** superplussed has quit IRC
[11:20:23] *** sacho has quit IRC
[11:20:27] *** okdamn has joined #angularjs
[11:20:42] <okdamn> guys how do i get this to work without the <script> views at the bottom ??? http://codepen.io/calendee/pen/hIkoJ/
[11:21:18] *** Milanito has quit IRC
[11:23:10] *** TheAceOfHearts has quit IRC
[11:23:24] *** lordkryss_ has joined #angularjs
[11:23:46] <Hounddog> okdamn: cant you just create templates?
[11:23:59] *** mamarilmanson has quit IRC
[11:23:59] <okdamn> Hounddog: is just to create the views? :P
[11:24:07] *** Drako_ has joined #angularjs
[11:24:12] *** Milanito has joined #angularjs
[11:24:19] *** Jon30 has quit IRC
[11:24:27] <Hounddog> okdamn: but then you would not have the <script> there
[11:24:38] <okdamn> sure ok i try thanks :)
[11:25:11] *** superplussed has joined #angularjs
[11:25:45] *** marcghorayeb is now known as marcghorayeb|afk
[11:25:53] *** mamarilmanson has joined #angularjs
[11:26:11] *** mattwynne has joined #angularjs
[11:26:31] *** m1hael has joined #angularjs
[11:26:55] *** mattwynne has quit IRC
[11:26:58] *** Milanito has quit IRC
[11:27:22] *** HypnotiX has joined #angularjs
[11:27:56] *** thomastuts has joined #angularjs
[11:28:10] <ppnectar> hi
[11:28:12] *** Joulse has joined #angularjs
[11:28:13] *** Monkfish has quit IRC
[11:28:17] <ppnectar> who is there??
[11:29:43] *** annlewis has joined #angularjs
[11:29:47] *** tfennelly has quit IRC
[11:29:57] *** bicranial has joined #angularjs
[11:30:29] <Foxandxss> a ghost from the past
[11:30:36] *** amedia has quit IRC
[11:31:23] *** ninkotech has quit IRC
[11:31:36] *** marcghorayeb|afk is now known as marcghorayeb
[11:31:43] *** ninkotech has joined #angularjs
[11:33:37] <ppnectar> http://www.techferry.com/articles/ExtJS-vs-AngularJS.html
[11:33:55] *** mattwynne has joined #angularjs
[11:34:37] *** mattwynne has quit IRC
[11:34:47] *** annlewis has quit IRC
[11:34:49] <Foxandxss> ajá
[11:35:32] *** mattwynne has joined #angularjs
[11:35:44] *** texinwien has quit IRC
[11:36:44] *** mattwynne has quit IRC
[11:37:55] *** jkremser has quit IRC
[11:38:04] *** JoshGlzBrk has quit IRC
[11:38:22] *** jkremser has joined #angularjs
[11:38:39] *** jkremser has joined #angularjs
[11:39:27] *** mattwynne has joined #angularjs
[11:40:17] *** euskadi31 has joined #angularjs
[11:43:11] *** ninkotech has quit IRC
[11:43:15] *** jayrobot has joined #angularjs
[11:43:24] *** night-owl-MBP has quit IRC
[11:43:32] *** k-dawg has joined #angularjs
[11:44:05] <brian__> Hi angular. I have two controllers that bind the same object to their scope. When one controller edits the data, the view in the other controller also updates. This is great. But, when I update the object externally, nothing happens, because no digest cycle is triggered for the two controllers.
[11:44:45] *** deleted_ has quit IRC
[11:45:12] <brian__> Is there any way to get the controllers to listen for these updates without triggering $scope.$apply() for each controller? This is impractical because the $scope doesn't always exist, (for example the view containing the controller isn't active)
[11:45:45] *** bealtine has joined #angularjs
[11:45:53] <ansu> does ngTouch overwrite the default ngClick by default?
[11:45:58] *** aviraldg has quit IRC
[11:46:19] <ansu> testing it in ios simulator does feel like there is still 300ms delay
[11:47:17] *** pdillinger1 has quit IRC
[11:47:21] *** aviraldg has joined #angularjs
[11:47:41] <lite_> how would i go about accomplishing this: I wish to set foo = null if bar changes unless bar changes because foobar changed.
[11:47:53] *** ckboii89 has quit IRC
[11:48:23] *** tfennelly has joined #angularjs
[11:48:30] <Foxandxss> brian__: if you modify it outside angular, you need to $apply
[11:49:57] <brian__> Foxandxss: so, I basically need to know which controllers are interested in the data, then check if the $scope exists (because the controller might not be instantiated), and then for each of those scopes, call $apply?
[11:50:11] *** Milanito has joined #angularjs
[11:50:18] <Foxandxss> I don't know what are you doing
[11:50:18] *** pdillinger1 has joined #angularjs
[11:50:25] <Foxandxss> you are going to adapt that idea to your use case
[11:52:23] <lite_> I have the following watchers. http://pastebin.com/ddn4DudK . My problem is I dont want the second watcher to fire if it was due to the first watcher firing.
[11:54:14] *** bicranial has quit IRC
[11:54:20] <brian__> Foxandxss: Yes, true. I'm just trying to to find a non-hacky way to trigger the digest cycle for several controllers. I'll keep trying.
[11:54:49] <lite_> nvm. solved it
[11:54:51] *** phuh has quit IRC
[11:54:56] <Foxandxss> brian__: an $apply in any place will trigger for the entire application
[11:54:58] *** Daven_ has quit IRC
[11:55:04] *** joshbrw has quit IRC
[11:55:04] *** neurix has quit IRC
[11:55:16] *** phuh has joined #angularjs
[11:55:34] *** mattwynne has quit IRC
[11:56:07] *** mokush has joined #angularjs
[11:57:48] <brian__> Foxandxss: Oooooh. Ok that's news to me, wow very useful. So, I can literally just call $rootscope.$apply()? Are there performance implications to doing that, compared to calling it on the scope of the affected controllers?
[11:58:19] *** ineedarobot has joined #angularjs
[11:59:28] <gjvc> hey Foxandxss, thanks for your help yesterday -- all working fine now
[11:59:29] *** superplussed has quit IRC
[11:59:46] *** sacho has joined #angularjs
[11:59:56] *** superplussed has joined #angularjs
[12:00:03] *** frankblizzar has joined #angularjs
[12:00:05] <Foxandxss> brian__: nothing
[12:00:10] *** frankblizzar has quit IRC
[12:00:15] *** ETBlue has quit IRC
[12:00:19] <ppnectar> http://www.techferry.com/articles/ExtJS-vs-AngularJS.html
[12:00:19] *** frankblizzar has joined #angularjs
[12:00:23] <Foxandxss> anyscope.$apply() will delegate the work to $rootScope.$apply()
[12:00:36] <Foxandxss> ppnectar: we saw it already
[12:00:42] <Foxandxss> there is no need to add it every 10 minutes
[12:00:50] <Foxandxss> gjvc: I don't recall, but sure
[12:00:57] *** danielpquinn has joined #angularjs
[12:01:08] <Guest29995> Hello, can I get an element from its model?
[12:01:30] *** Padawanhappytig3 has joined #angularjs
[12:01:39] *** Milanito has quit IRC
[12:01:48] <brian__> Foxandxss: Thanks for your help, really cleared things up.
[12:01:58] *** FrEaKmAn_ has joined #angularjs
[12:02:06] *** Sebastien-L has quit IRC
[12:02:21] <FrEaKmAn_> is there a way I can access controllers scope from directive even if directive is not inside ng-view?
[12:02:21] *** discipolo has joined #angularjs
[12:02:26] *** sperm has joined #angularjs
[12:02:27] <Foxandxss> brian__: basically $apply gets executed on the root and every child of it
[12:02:38] *** mattwynne has joined #angularjs
[12:02:46] <Foxandxss> FrEaKmAn_: by default directives uses the controller's scope
[12:02:50] <sperm> http://angularjs.com/tutorials
[12:03:16] *** joshbrw has joined #angularjs
[12:03:23] *** hychen has quit IRC
[12:03:34] *** Padawanhappytig3 has left #angularjs
[12:03:37] <FrEaKmAn_> Foxandxss: yes, but even if directive is outside ng-view?
[12:03:51] <Foxandxss> ng-view has nothing to do with that
[12:03:57] *** superplussed has quit IRC
[12:04:10] <FrEaKmAn_> then I have no idea why I get undefined
[12:04:17] <Foxandxss> plunker
[12:04:50] *** Somatt_wrk has quit IRC
[12:04:56] *** Somatt_wrk has joined #angularjs
[12:05:33] *** sperm_ has joined #angularjs
[12:05:55] <sperm_> https://docs.angularjs.org/tutorial/step_00
[12:05:59] *** danielpquinn has quit IRC
[12:06:01] *** tschundeee has quit IRC
[12:06:33] <sperm_> https://docs.angularjs.org/tutorial/step_00
[12:06:43] *** ppnectar has quit IRC
[12:06:44] <Foxandxss> sperm_: what about that?
[12:07:04] *** sperm has quit IRC
[12:07:05] <sperm_> its tutorials of angularjs
[12:07:09] <Foxandxss> we know
[12:07:17] *** Joulse has quit IRC
[12:07:32] <sperm_> https://docs.angularjs.org/tutorial/step_00
[12:07:36] *** derpan has joined #angularjs
[12:08:04] <derpan> hello, i am wondering if it is possible to use routing and preserve states between views?
[12:08:14] <Foxandxss> sperm_: that is enough
[12:08:17] *** marcospgp has joined #angularjs
[12:08:26] <Foxandxss> derpan: services
[12:08:39] <sperm_> Foxandxss : who r you??
[12:08:47] *** Joulse has joined #angularjs
[12:08:49] <marcospgp> Can I use bootstrap 3 and font awesome normally with angular?
[12:08:52] *** superplussed has joined #angularjs
[12:08:59] <bealtine> he's the guy telling you to stop
[12:09:04] <samsamm777> marcospgp: yes you can
[12:09:04] <Foxandxss> sperm_: you don't care, but there is no need to paste a link every minute
[12:09:23] <derpan> Faxandxss: this is very vague, can you clarify a bit please
[12:09:26] <marcospgp> samsamm777 ty
[12:09:29] <bealtine> it's np to use bootstrap with angular
[12:09:34] <Foxandxss> but but but
[12:09:35] <Foxandxss> https://material.angularjs.org
[12:09:39] <Foxandxss> that is coming
[12:09:44] *** ninkotech has joined #angularjs
[12:09:45] *** fixl has joined #angularjs
[12:09:53] *** the_game has joined #angularjs
[12:09:59] <Foxandxss> bootstrap can gtfo pretty soon
[12:10:05] <samsamm777> marcospgp: this might be of interest to you also. http://angular-ui.github.io/bootstrap/
[12:10:09] <the_game> anybody there to help please?
[12:10:13] *** milka has quit IRC
[12:10:18] *** UniBot has joined #angularjs
[12:10:21] *** DevAntoine has quit IRC
[12:10:53] <FrEaKmAn_> Foxandxss: http://plnkr.co/edit/QnLpky64MCF6xSPLWDWV
[12:11:13] <marcospgp> foxandxss, hm interesting
[12:11:17] <marcospgp> samsamm777, ty
[12:11:18] <the_game> Actually I am new here...facing a bug...can anybody help?
[12:11:24] <FrEaKmAn_> Foxandxss: it doesnt get scope from controller
[12:11:32] <Foxandxss> FrEaKmAn_: so, let's start the questions
[12:11:36] <Foxandxss> why it should?
[12:11:37] *** Sebastien-L has joined #angularjs
[12:11:48] <Hounddog> the_game: Just a hint, you also dont go into a car shop and ask if anyone can help without describing your problem.
[12:11:48] <Foxandxss> the_game: this is not SOS telephone
[12:11:54] <Foxandxss> ask a question
[12:12:12] *** ipalaus has joined #angularjs
[12:12:27] <Foxandxss> FrEaKmAn_: just tell me
[12:12:29] <the_game> I am facing this: Error: Failed to execute 'pushState' on 'History': A history state object with URL "" cannot be created in a document with origin 'null'.
[12:12:38] <the_game> No idea why it is there :/
[12:12:42] <bealtine> FrEaKmAn_ : you're not referencing the controller anywhere
[12:12:44] *** Shrooms has quit IRC
[12:12:47] <Hounddog> the_game: Asking about asking, or asking if anyone is online, or taking a survery of who knows about component X will often be ignored on IRC. Please don't feel you have to ask to ask, just ask, you will be much more likely to get a response.
[12:12:50] <FrEaKmAn_> Foxandxss: I was told it can get scope. Because based on controller scope variable, it changes the size for navigation
[12:12:51] <Foxandxss> bealtine: don't spoil the fun
[12:12:54] <Hounddog> do we have a bot here to save that sentence?
[12:13:01] <Foxandxss> why have everybody tell what to do, instead of letting the person figures?
[12:13:03] <bealtine> :)
[12:13:13] <Foxandxss> FrEaKmAn_: but what scope
[12:13:16] <Foxandxss> just read your html
[12:13:17] <FrEaKmAn_> controller
[12:13:23] <Foxandxss> and how is going to do that?
[12:13:26] <FrEaKmAn_> MainCtrl
[12:13:33] <Foxandxss> ok
[12:13:36] <Foxandxss> where is that MainCtrl?
[12:13:40] *** Joulse has quit IRC
[12:13:41] <FrEaKmAn_> bealtine: check app.js and routes
[12:13:43] <FrEaKmAn_> app.js
[12:13:53] <Foxandxss> FrEaKmAn_: sure, and where is on the html?
[12:13:58] *** milka has joined #angularjs
[12:13:59] <FrEaKmAn_> ?
[12:14:01] <the_game> Hounddog: Any idea about my error?
[12:14:03] <Foxandxss> the MainCtrl
[12:14:06] *** Joulse has joined #angularjs
[12:14:10] <Foxandxss> the_game: that sounds like backbone
[12:14:14] <Foxandxss> for real
[12:14:22] <FrEaKmAn_> Foxandxss: you don't need to define it in the html.. I'm using routes
[12:14:29] <Foxandxss> FrEaKmAn_: I see
[12:14:40] <FrEaKmAn_> Foxandxss: if you hit run, would will see it runs correctly
[12:14:44] <Foxandxss> FrEaKmAn_: the route goes into the second div
[12:14:51] <Foxandxss> the ng-view is a placeholder
[12:14:53] <Foxandxss> for the routes
[12:14:55] <Hounddog> the_game: dont know about that error, but you should show where this error is occuring. show us some code
[12:14:55] <the_game> Foxandxss: Any idea about my error
[12:14:55] <FrEaKmAn_> yes
[12:15:02] <FrEaKmAn_> Foxandxss: pretty basic angularjs code
[12:15:06] <the_game> yeah wait a sec.
[12:15:09] *** uffs has quit IRC
[12:15:10] <Hounddog> preferably in pastebin or the like
[12:15:11] <Foxandxss> FrEaKmAn_: that means that the templates and controllers gets scoped into ng-view
[12:15:17] <FrEaKmAn_> yes
[12:15:23] <FrEaKmAn_> that is why I was asking about ng-view
[12:15:24] *** Brocken is now known as zz_Brocken
[12:15:26] <Foxandxss> and navigation is a different element
[12:15:28] <FrEaKmAn_> but you said it doesnt matter
[12:15:32] *** mennea has quit IRC
[12:15:34] <Foxandxss> it doesn't
[12:15:38] <Foxandxss> you're just confused
[12:15:43] <FrEaKmAn_> :)
[12:15:45] <Foxandxss> let me explain again
[12:15:50] <FrEaKmAn_> then please me on the example
[12:15:54] <Foxandxss> elements on angular can have an scope
[12:15:57] <FrEaKmAn_> how to get controller scope in directive
[12:16:00] <FrEaKmAn_> with my example
[12:16:05] <Foxandxss> just learn, and fix it yourself
[12:16:10] *** snyx has joined #angularjs
[12:16:14] <FrEaKmAn_> guess you have no idea..
[12:16:20] *** ipalaus has quit IRC
[12:16:24] <Foxandxss> FrEaKmAn_: about what?
[12:16:25] <Hounddog> uh...
[12:16:31] <FrEaKmAn_> I will solve it with services..
[12:16:41] <Foxandxss> eh
[12:16:44] <Foxandxss> so you don't want to learn
[12:16:47] <Foxandxss> I am ok with that
[12:16:49] <FrEaKmAn_> sure I do
[12:16:54] <Foxandxss> then listen to me
[12:16:56] <FrEaKmAn_> but when someone tells you git it yourself
[12:16:57] <the_game> Hounddog: Can I have a private chat? A bit confiusing here...since I am new here
[12:17:06] <FrEaKmAn_> then actually I don't see the point
[12:17:11] <FrEaKmAn_> you told me it could be done
[12:17:11] <Hounddog> the_game: sure, 70 euro per hour and we can go privzte
[12:17:12] *** LossFor has joined #angularjs
[12:17:15] <FrEaKmAn_> I showed you the example
[12:17:16] <Foxandxss> FrEaKmAn_: what's the point of fixing it myself?
[12:17:21] <Foxandxss> oyu don't learn
[12:17:23] <FrEaKmAn_> I presume it's just one line of code
[12:17:27] <Foxandxss> then you won't know why it works
[12:17:28] <Foxandxss> it is
[12:17:30] <FrEaKmAn_> but you didn't even check it
[12:17:33] <Foxandxss> but I want you to see your problem
[12:17:34] <the_game> Hounddog: ohhh...here is my code : http://pastebin.com/4AxUgD0a
[12:17:43] <Foxandxss> and then you will be able to fix it
[12:17:49] <Foxandxss> so you learn, and that won't happen again
[12:17:59] <FrEaKmAn_> Foxandxss: I posted the code
[12:18:04] <FrEaKmAn_> you didn't even check it
[12:18:04] <Foxandxss> there is no point doing it myself
[12:18:06] <Foxandxss> I did
[12:18:12] <FrEaKmAn_> sure you did
[12:18:17] <Foxandxss> I have it open
[12:18:20] <Foxandxss> alright
[12:18:22] <Foxandxss> GTFO
[12:18:26] <FrEaKmAn_> :)
[12:18:28] <Foxandxss> that is my answer
[12:18:34] <Foxandxss> if you don't like it /quit
[12:18:50] <Hounddog> the_game: also check the cotroller
[12:18:58] *** dmg91 has joined #angularjs
[12:18:58] *** okdamn has quit IRC
[12:19:01] <FrEaKmAn_> anyone else know if it's possible to get controller scope from directive even if directive is outside ng-view?
[12:19:08] *** nytrm has quit IRC
[12:19:14] <the_game> Hounddog: Controller is alright...nothing fancy there
[12:19:14] <Foxandxss> yes
[12:19:15] <Hounddog> the_game: there is nothing there that i see could do this but aso why do you instantiate the app in the div and not the document?
[12:19:21] <Foxandxss> knowing how angular works
[12:19:28] <Foxandxss> but you don't want to know
[12:19:32] <Hounddog> the_game: ok, if its alright then there is no problem right?
[12:19:43] <dmg91> Hi, is this the right place for questions about angular/material, too?
[12:19:50] <Foxandxss> if someone gives FrEaKmAn_ a solution without him learning, I kick his ass
[12:19:53] <the_game> Hounddog: But I get that security error :(
[12:19:57] <Foxandxss> just a warning
[12:20:00] <Hounddog> dmg91: Asking about asking, or asking if anyone is online, or taking a survery of who knows about component X will often be ignored on IRC. Please don't feel you have to ask to ask, just ask, you will be much more likely to get a response.
[12:20:00] <FrEaKmAn_> :)
[12:20:05] *** ChanServ sets mode: +o Foxandxss
[12:20:24] *** mennea has joined #angularjs
[12:20:35] *** caitp has joined #angularjs
[12:20:37] <Foxandxss> there is nothing worst that not wanting to learn
[12:20:47] <Foxandxss> and just ask others to fix your problems
[12:20:49] <FrEaKmAn_> again Foxandxss it's really hard to learn from you.. if you didn't even check the code
[12:20:54] <FrEaKmAn_> I'm not asking you to fix it
[12:20:58] <Foxandxss> FrEaKmAn_: I did
[12:21:00] <Elanor> Gotta go with Foxandxss on this one, if someone took their time to teach and guide me, I'd be saying thank you and then listening and learning.
[12:21:01] <Foxandxss> you have it wrong
[12:21:11] <FrEaKmAn_> then please explain
[12:21:13] <Hounddog> FrEaKmAn_: he did check it, he gave you pointers, now its up to you to fix it
[12:21:16] <FrEaKmAn_> I will listen and learn
[12:21:17] <Foxandxss> I am trying to make you see your problem
[12:21:20] *** frankblizzar has quit IRC
[12:21:21] <Foxandxss> ok
[12:21:23] <Foxandxss> let's try again
[12:21:36] <Foxandxss> angular elements can have scopes associated
[12:21:41] *** davedev24_ has joined #angularjs
[12:21:45] <Foxandxss> which comes from an ng-controller directive
[12:21:51] <Foxandxss> so if I have let's say
[12:22:05] <Foxandxss> <div ng-controller="MainCtrl"> <p> {{ hello }} </p> </div>
[12:22:09] *** disorder20 has joined #angularjs
[12:22:10] <Foxandxss> that <p> inside the div
[12:22:15] <Foxandxss> has access to MainController Scope
[12:22:27] <Foxandxss> because its parent defines a scope
[12:22:32] *** disorder20 has quit IRC
[12:22:40] <Foxandxss> ng-view will get a route and will append a ng-controller to it
[12:22:49] <Foxandxss> so the div with ng-view and its child will get access to that scope
[12:23:14] <Foxandxss> your navigation element is outside the ng-view and none of its parent has a ng-controller on it
[12:23:19] <FrEaKmAn_> but because my element with directive is outside ng-view and ng-scope, it will not get controllers scope..
[12:23:20] <Foxandxss> so there is no scope associated to it
[12:23:28] <FrEaKmAn_> great, but before you said it's possible
[12:23:32] <FrEaKmAn_> confused
[12:23:38] <Foxandxss> it doesn't get controller scope because it doesn't know what controller to pick
[12:23:49] <Foxandxss> FrEaKmAn_: you just need to tell navigation what controller to use
[12:23:58] <FrEaKmAn_> how?
[12:24:01] <FrEaKmAn_> ng-controller?
[12:24:02] <Foxandxss> giving its element or a parent element the ng-controller directive
[12:24:03] <Foxandxss> yes
[12:24:16] <FrEaKmAn_> I'm not sure if it's a good solution
[12:24:21] <Foxandxss> there is no other solution
[12:24:30] *** seydoggy has joined #angularjs
[12:24:34] *** zz_Brocken is now known as Brocken
[12:24:40] <FrEaKmAn_> services
[12:24:41] *** bkuberek has joined #angularjs
[12:24:44] <FrEaKmAn_> but I don't like it
[12:24:47] <Foxandxss> services has no scopes
[12:25:02] <Foxandxss> maybe the idea in your head is just wrong and what you need to achieve is done in other ways
[12:25:09] <Foxandxss> but an element doesn't have an scope until you say so
[12:25:09] <FrEaKmAn_> but I can pass something to service and retrieve it in directive
[12:25:18] <Foxandxss> sure you can
[12:25:29] <Foxandxss> nothing wrong about it
[12:25:30] <FrEaKmAn_> navigation has to get a value from controller
[12:25:39] <Foxandxss> create a navigation controller
[12:25:46] <Foxandxss> which has access to the service providing navigation (if needed)
[12:25:54] <dmg91> is there a goal for angular/material about the use of canvas? are you going to avoid canvas (different to polymer's system)?
[12:26:11] <Foxandxss> then create a div, assign it the navigation controller and inside, use your directives to access that controller
[12:26:31] <Foxandxss> dmg91: I have no idea but I think it is maybe too soon for that
[12:27:36] *** Aartsie has quit IRC
[12:28:06] <Foxandxss> FrEaKmAn_: now, I give you a common solution: http://plnkr.co/edit/Mzh4bVIclLJwLUYXvQLA?p=preview
[12:28:22] <Foxandxss> everything in that div will have access to that new controller, that includes your directive
[12:28:30] *** wcp has joined #angularjs
[12:28:52] *** Evankhell has quit IRC
[12:28:54] <sperm_> https://docs.angularjs.org/tutorial/step_00
[12:28:57] *** bkuberek has quit IRC
[12:29:07] *** wcp1231 has joined #angularjs
[12:29:14] *** sperm_ was kicked by Foxandxss (Your behavior is not conducive to the desired environment.)
[12:29:18] <Elanor> Thx Foxandxss, I'm a newbie and though this wasn't an issue for me atm, following your dialogue helped me understand ng better. :)
[12:29:20] *** JohnBat26 has joined #angularjs
[12:29:22] *** Joulse has quit IRC
[12:29:23] *** Aartsie has joined #angularjs
[12:29:34] *** amedia has joined #angularjs
[12:29:36] <FrEaKmAn_> Foxandxss: jesus it looks simple
[12:29:40] *** annlewis has joined #angularjs
[12:29:45] *** sperm has joined #angularjs
[12:29:57] *** roolo has quit IRC
[12:29:58] <sperm> https://docs.angularjs.org/tutorial/step_00
[12:30:06] <Foxandxss> Elanor: Angular is all about knowing how it works
[12:30:07] <Foxandxss> actually, like everything
[12:30:11] *** Foxandxss sets mode: +b *!7aa91e83@gateway/web/freenode/ip.122.169.30.131
[12:30:11] *** sperm was kicked by Foxandxss (Your behavior is not conducive to the desired environment.)
[12:30:13] *** nxf has joined #angularjs
[12:30:23] *** mattwynne has quit IRC
[12:30:27] <brian__> *applause*
[12:30:50] <Foxandxss> FrEaKmAn_: it is better to learn why that just giving a plunker as a solution
[12:31:05] <FrEaKmAn_> ok
[12:31:05] <Foxandxss> you can use the solution yes, but tomorrow you can have that problem again and again
[12:31:16] *** kalusn has quit IRC
[12:31:22] *** brian__ has quit IRC
[12:31:26] *** kalusn has joined #angularjs
[12:31:34] <FrEaKmAn_> jesus wil help me :)
[12:31:43] <Hounddog> ...
[12:31:45] <Foxandxss> I won't
[12:32:01] <Hounddog> Foxandxss: your also not jesus :p
[12:32:06] <Foxandxss> I am
[12:32:10] <nxf> Hi, just wanted to ask whether services always are singletons in Angular?
[12:32:13] <dmg91> Foxandxss: okay thanks. I'm really curious into angular's implementation about material design. i'm looking forward for a roadmap
[12:32:18] <Foxandxss> Hounddog: who said I am not?
[12:32:24] *** motionman has quit IRC
[12:32:25] <FrEaKmAn_> Foxandxss: sure u are
[12:32:36] <Foxandxss> that is why my documentation says
[12:32:37] <Foxandxss> Jesus
[12:32:37] *** wcp has quit IRC
[12:32:47] <Hounddog> ...
[12:32:58] <Foxandxss> Hounddog: what, I am not lying
[12:33:05] <Foxandxss> Jesus is a really really common name here
[12:33:17] *** wcp has joined #angularjs
[12:33:28] <Foxandxss> https://github.com/Foxandxss
[12:33:57] <Elanor> My turn: I'm trying to unit test a service that at some point uses $q and promises and such.
[12:34:00] <Hounddog> Foxandxss: lol :p
[12:34:05] <Elanor> How do I mock $q?
[12:34:10] <Hounddog> Foxandxss: cheat!
[12:34:14] *** scmx has joined #angularjs
[12:34:16] <Foxandxss> you don't mock $q Elanor
[12:34:26] <Foxandxss> you mock the promise itself
[12:34:47] *** annlewis has quit IRC
[12:34:49] <Foxandxss> Elanor: I created an example of a mocked service here: http://angular-tips.com/blog/2014/06/introduction-to-unit-test-controllers/
[12:34:50] <caitp> you don't mock $q, you mock $evalAsync
[12:34:59] *** zarul has joined #angularjs
[12:35:01] <Foxandxss> caitp: buh
[12:35:13] *** ustunozgur has quit IRC
[12:35:16] <Foxandxss> but, I am interested on that $evalAsync mock
[12:35:20] <Foxandxss> if that gives me better tests
[12:35:33] <caitp> ngMocks
[12:35:36] *** slainer68_ftw is now known as slainer68
[12:35:39] <Elanor> I'll follow up on both then :)
[12:35:41] *** wcp has quit IRC
[12:35:48] *** mamarilmanson has quit IRC
[12:35:58] <caitp> its not really a mock, you just digest
[12:36:02] *** arek_at_work has joined #angularjs
[12:36:07] <caitp> and force evalAsync
[12:36:17] <caitp> to finish its job
[12:36:19] <Foxandxss> uhm, I think that article of mine could be simplified, uhm
[12:36:28] * Foxandxss tries
[12:37:02] <Foxandxss> indeed
[12:37:20] *** Schtive has joined #angularjs
[12:37:36] *** frankblizzar has joined #angularjs
[12:37:41] *** wcp1231 has quit IRC
[12:37:51] <Foxandxss> Elanor: http://plnkr.co/edit/buPzoaTMErIi2xHtD26k?p=preview
[12:37:54] <Foxandxss> simplified mock
[12:38:15] *** Emperor_Earth has joined #angularjs
[12:38:40] *** mattwynne has joined #angularjs
[12:39:06] *** Left_Turn has joined #angularjs
[12:39:45] *** Dimlock has quit IRC
[12:40:13] *** intellix has joined #angularjs
[12:40:30] *** the_game has quit IRC
[12:41:08] *** FrEaKmAn_ has quit IRC
[12:41:13] *** uffs has joined #angularjs
[12:42:08] *** ngbot has joined #angularjs
[12:42:08] <ngbot> [angular.js] mzgol pushed 1 new commit to master: http://git.io/3IqN9Q
[12:42:08] <ngbot> angular.js/master 9630d71 Michał Gołębiowski: chore(travis): disable npm spinner & enable HTTP logs...
[12:42:08] *** ngbot has left #angularjs
[12:42:40] *** jangoh has joined #angularjs
[12:43:09] *** mdix_ has quit IRC
[12:44:05] <nxf> Are services always singletons in AngularJS?
[12:45:29] <Foxandxss> yes
[12:46:23] <nxf> Thanks :)
[12:47:09] *** foofoobar has joined #angularjs
[12:48:44] *** ckboii89 has joined #angularjs
[12:50:53] *** arizzo has joined #angularjs
[12:52:26] *** nytrm has joined #angularjs
[12:52:44] *** ckboii89 has quit IRC
[12:54:52] *** phuh has quit IRC
[12:55:14] *** superplu_ has joined #angularjs
[12:55:17] *** intellix has quit IRC
[12:55:20] *** phuh has joined #angularjs
[12:55:28] *** roolo has joined #angularjs
[12:55:32] <storkme> so frustrating trying to get angular-ui-tree to work. No fucking clue what's going on with this one but suddenly my drag events aren't working properly.
[12:56:21] *** cctom_ has quit IRC
[12:56:33] *** superplussed has quit IRC
[12:57:04] *** tarnus has joined #angularjs
[12:59:48] *** samsamm777 has quit IRC
[13:01:07] <storkme> err, just downgraded the version I'm using and it starts working again x.x
[13:01:42] *** danielpquinn has joined #angularjs
[13:01:47] *** tarnus has quit IRC
[13:02:34] *** RedOrangeZ has joined #angularjs
[13:04:46] *** tbo_ has joined #angularjs
[13:05:26] *** ustunozgur has joined #angularjs
[13:05:52] *** Milanito has joined #angularjs
[13:05:56] *** cctom has joined #angularjs
[13:06:02] *** danielpquinn has quit IRC
[13:06:12] *** nytram has joined #angularjs
[13:07:09] *** Milanito has quit IRC
[13:07:33] *** duall has joined #angularjs
[13:07:33] *** morenoh149 has quit IRC
[13:07:46] *** dve has quit IRC
[13:08:21] *** dve has joined #angularjs
[13:08:24] *** nytrm has quit IRC
[13:08:52] *** Nizumzen has joined #angularjs
[13:09:07] *** arizzo has quit IRC
[13:09:43] *** arizzo has joined #angularjs
[13:09:44] *** Xethron has quit IRC
[13:10:50] *** spaceonline has joined #angularjs
[13:11:25] *** hswolff has joined #angularjs
[13:12:45] *** dve has quit IRC
[13:12:57] *** Aartsie has quit IRC
[13:12:59] *** kirfu has joined #angularjs
[13:13:44] *** arizzo has quit IRC
[13:13:47] *** Schtive has quit IRC
[13:14:58] *** Xethron has joined #angularjs
[13:16:48] *** Mr_Tac has quit IRC
[13:17:18] *** msafi has quit IRC
[13:17:38] *** msafi has joined #angularjs
[13:17:40] *** LossFor has quit IRC
[13:17:51] *** FrEaKmAn_ has joined #angularjs
[13:18:42] *** FrEaKmAn_ has quit IRC
[13:18:52] *** UniBot has quit IRC
[13:20:03] *** shorne has joined #angularjs
[13:20:05] *** nemothekid has quit IRC
[13:20:42] *** ldgood has quit IRC
[13:21:06] *** LossFor has joined #angularjs
[13:22:00] *** dariocravero has quit IRC
[13:23:10] *** marcghorayeb is now known as marcghorayeb|afk
[13:23:40] *** Daven_ has joined #angularjs
[13:23:49] *** tobmaster has quit IRC
[13:24:54] *** superplu_ has quit IRC
[13:25:23] *** LossFor has quit IRC
[13:25:29] *** bkuberek has joined #angularjs
[13:26:27] *** slainer68 has quit IRC
[13:27:41] *** sk87 has quit IRC
[13:27:50] *** arizzo has joined #angularjs
[13:29:38] *** bkuberek has quit IRC
[13:29:41] *** annlewis has joined #angularjs
[13:29:58] *** LossFor has joined #angularjs
[13:30:31] *** benjick has quit IRC
[13:30:32] *** bsmithgall has joined #angularjs
[13:31:00] *** ipalaus has joined #angularjs
[13:31:01] *** bsmithgall has joined #angularjs
[13:31:45] <Nivag> puddingpimp: in the JVM, GC can make use of multiple cores & can be done in parallel the with the App code running. I expect that the same probably applies to Firefox.
[13:32:23] <Nivag> sorry, channel switched without me noticing!
[13:32:58] *** davek has quit IRC
[13:33:56] *** LossFor has quit IRC
[13:34:47] *** annlewis has quit IRC
[13:35:12] *** bsmithgall has quit IRC
[13:35:33] *** bayousoft has joined #angularjs
[13:37:01] *** foo-bar- has joined #angularjs
[13:39:12] *** ckboii89 has joined #angularjs
[13:40:20] *** marcghorayeb|afk is now known as marcghorayeb
[13:41:08] *** foo-bar- has quit IRC
[13:42:05] *** vonnegut has quit IRC
[13:42:39] *** evilaliv3 has joined #angularjs
[13:42:55] *** moritzs has joined #angularjs
[13:43:12] *** one_zero has quit IRC
[13:43:32] *** ckboii89 has quit IRC
[13:44:32] *** msafi1 has joined #angularjs
[13:44:39] *** joshontheweb has joined #angularjs
[13:44:45] *** djam90 has joined #angularjs
[13:44:47] *** ipalaus has quit IRC
[13:45:15] *** icarus75 has quit IRC
[13:45:33] *** jpstone has joined #angularjs
[13:45:34] *** icarus75 has joined #angularjs
[13:46:03] <djam90> Just curious, how do you guys determine which framework/code to use for which projects. Say you need a booking form or a contact form. jQuery, or Angular, or some other front end tool? What about a single page application? What about a products/e-commerce with products and searching and refining, what would you use? Always Angular?
[13:46:04] *** msafi has quit IRC
[13:46:28] <lite_> djam90: jquery is a library
[13:46:31] <lite_> angular is a framework
[13:46:58] <djam90> ok fair point, I didn't mean library or framework in general, I just wondered what your toolset is for particular problems
[13:47:34] *** spaceonline has quit IRC
[13:47:35] <nxf> For me, it depends very much on the project requirements. For example, if the app/site is public-facing and SEO is of some importance, Angular is out of the question imho.
[13:47:41] *** seydoggy has quit IRC
[13:48:12] <nxf> And a booking form or contact form is hardly a project in itself
[13:48:16] *** seydoggy has joined #angularjs
[13:48:48] *** lsiv568 has joined #angularjs
[13:48:55] *** dve has joined #angularjs
[13:49:21] *** bayousoft has quit IRC
[13:51:50] *** eperez_ has joined #angularjs
[13:52:31] *** sk87 has joined #angularjs
[13:52:34] *** sheeppower has quit IRC
[13:52:52] *** seydoggy has quit IRC
[13:54:22] *** pdillinger1 has quit IRC
[13:54:23] *** intellix has joined #angularjs
[13:54:53] *** phuh has quit IRC
[13:54:54] *** mdedetrich has joined #angularjs
[13:55:15] *** altious has joined #angularjs
[13:55:20] *** phuh has joined #angularjs
[13:55:23] <Foxandxss> I am with nxf
[13:55:27] *** Guest___ has quit IRC
[13:55:34] *** mdedetrich has quit IRC
[13:55:58] *** klaut has quit IRC
[13:56:14] *** moritzs has quit IRC
[13:57:07] *** Khruu has quit IRC
[13:57:07] *** Khruu has joined #angularjs
[13:58:04] *** davek has joined #angularjs
[13:58:14] *** Sebastien-L has quit IRC
[13:58:32] *** quantax- has joined #angularjs
[13:58:34] <nxf> With regards to e-commerce sites, if it is public, I'd build upon some shopping framework like Magento. If it is a specialized internal tool for some enterprise, Angular might or might not be a good fit. I usually try to build on the highest level framework that still allows me to make the customizations required, and Angular seems a little low-level for an e-commerce site.
[14:00:15] *** hswolff has quit IRC
[14:00:34] *** joshontheweb has quit IRC
[14:00:35] *** Sgeo has quit IRC
[14:01:44] *** maurycyg has joined #angularjs
[14:02:28] *** danielpquinn has joined #angularjs
[14:03:50] *** juampy is now known as juampy_gnomgnom
[14:03:56] *** Xethron has quit IRC
[14:04:07] *** kalusn has quit IRC
[14:04:08] *** sk87 has quit IRC
[14:05:18] *** kirfu has quit IRC
[14:05:29] *** vbabiy has joined #angularjs
[14:05:31] *** sk87 has joined #angularjs
[14:06:33] *** arizzo has quit IRC
[14:06:45] *** danielpquinn has quit IRC
[14:07:07] *** arizzo has joined #angularjs
[14:07:55] *** badon has joined #angularjs
[14:07:56] *** Sebastien-L has joined #angularjs
[14:08:21] *** mattwynne has quit IRC
[14:09:07] *** Xethron has joined #angularjs
[14:09:07] *** Xethron has joined #angularjs
[14:09:38] *** bicranial has joined #angularjs
[14:09:40] *** Jessie_ has joined #angularjs
[14:10:12] <Jessie_> Hi.. Has anyone used angular-couch-potato ?
[14:10:59] <Jessie_> What are the solutions that exit for lazy loading ?
[14:11:08] *** arizzo has quit IRC
[14:12:42] *** arizzo has joined #angularjs
[14:13:49] *** ingshtrom has joined #angularjs
[14:19:16] *** gunn has joined #angularjs
[14:19:26] *** mattwynne has joined #angularjs
[14:20:18] *** anjumkaiser has joined #angularjs
[14:20:25] *** atomical has joined #angularjs
[14:20:39] *** vbabiy has quit IRC
[14:20:41] *** Efrem has joined #angularjs
[14:20:53] *** pdillinger1 has joined #angularjs
[14:21:10] *** anjumkaiser has quit IRC
[14:21:39] *** derpan has quit IRC
[14:21:43] *** Jessie_ has quit IRC
[14:21:45] *** Dimlock has joined #angularjs
[14:21:51] *** Joulse has joined #angularjs
[14:21:52] *** bsmithgall has joined #angularjs
[14:22:08] *** kalusn has joined #angularjs
[14:22:16] *** sheeppower has joined #angularjs
[14:23:14] *** rgolea has joined #angularjs
[14:23:25] *** ymammar has joined #angularjs
[14:23:46] <rgolea> hi there people... I want to ask you all a small question... does anyone use Firebase?
[14:23:47] *** ymammar has quit IRC
[14:24:37] *** UniBot has joined #angularjs
[14:24:46] *** UniBot has quit IRC
[14:24:46] *** UniBot has joined #angularjs
[14:25:11] *** jpstone has quit IRC
[14:25:33] <rgolea> I'm trying to start a new project and I made a simple login with facebook. I can authenticate and everything, it's really great.... But how can I save the user data to my firebase?
[14:25:44] *** CodeFriar has quit IRC
[14:26:12] *** bkuberek has joined #angularjs
[14:26:31] *** slainer68 has joined #angularjs
[14:26:43] *** mkulke has joined #angularjs
[14:27:05] <nxf> rgolea: https://github.com/firebase/angularfire ?
[14:27:08] <marcospgp> rgolea, well idk but i have to congratulate you for that
[14:27:43] *** abc1234 has quit IRC
[14:27:44] *** quantax- has quit IRC
[14:28:14] *** LossFor has joined #angularjs
[14:28:32] <rgolea> nxf: I am using angularfire ... Maybe I'm having a lack of ideas
[14:28:47] <rgolea> marcospgp, for what?
[14:29:07] *** apetro_ has joined #angularjs
[14:29:12] <marcospgp> rgolea, just the facebook login is a pretty big step. god their api
[14:29:26] <nxf> rgolea: Sorry I thought you just had problems communicating with the database. Haven't used it myself.
[14:29:40] *** annlewis has joined #angularjs
[14:29:50] *** tbo_ has quit IRC
[14:30:26] *** bsmithgall has quit IRC
[14:30:44] *** bkuberek has quit IRC
[14:31:27] <rgolea> nxf: I am connecting to the database and I know that after you log in it saves the credentials in $scope.auth.user... I just don't know how to save it to firebase and make it unique... and maybe add some stuff to the user like a phone number... etc
[14:31:51] <rgolea> marcospgp. thank you but the docs are kinda giving you everything
[14:32:16] *** tommmied has joined #angularjs
[14:32:29] *** DoubleAW has quit IRC
[14:32:58] *** Ronyrun has quit IRC
[14:33:01] <nxf> rgolea: Sorry, no idea :/
[14:33:03] *** spookyfork has joined #angularjs
[14:33:06] *** H1FuelCell has joined #angularjs
[14:33:26] <rgolea> nxf thank you for trying
[14:33:31] *** jshultz has joined #angularjs
[14:33:34] <Guest29995> Hi, Can I pass to a filter more than one parameter?
[14:33:38] *** sheeppower has quit IRC
[14:34:04] *** annlewis has quit IRC
[14:34:16] *** DoubleAW has joined #angularjs
[14:34:19] *** imduffy15 has joined #angularjs
[14:34:20] *** spookyfork has quit IRC
[14:34:23] <rgolea> guest29995 http://stackoverflow.com/questions/16227325/how-do-i-call-an-angular-js-filter-with-multiple-arguments
[14:34:49] <imduffy15> Hi all, anybody got tips for debugging race cases on protractor? Its been driving me nuts all day my tests sometimes pass and sometimes fail.
[14:35:08] *** storresi has quit IRC
[14:35:16] *** vbabiy has joined #angularjs
[14:35:27] <Guest29995> rgolea Thanks
[14:35:37] *** apetro_ has quit IRC
[14:35:50] *** sheeppower has joined #angularjs
[14:36:10] *** arizzo has quit IRC
[14:36:45] *** arizzo has joined #angularjs
[14:37:36] *** tbo_ has joined #angularjs
[14:38:10] *** foo-bar- has joined #angularjs
[14:38:23] *** jangoh has quit IRC
[14:38:36] *** lordkryss_ is now known as lordkryss
[14:38:49] *** Crelex has joined #angularjs
[14:39:07] *** Aartsie has joined #angularjs
[14:39:15] *** DevAntoine has joined #angularjs
[14:39:38] *** jk-5 is now known as jk-5|gone
[14:39:53] *** ckboii89 has joined #angularjs
[14:40:01] *** watsonkp has joined #angularjs
[14:40:20] *** bweston has quit IRC
[14:41:13] *** mnngfltg has joined #angularjs
[14:41:31] *** arizzo has quit IRC
[14:41:56] *** scmx has quit IRC
[14:42:13] *** Limarson2 has joined #angularjs
[14:42:16] *** OdinIncarnate has joined #angularjs
[14:42:42] *** badon has quit IRC
[14:43:06] *** badon has joined #angularjs
[14:43:32] *** bicranial has quit IRC
[14:43:56] *** ckboii89 has quit IRC
[14:44:06] *** SpearThruster has quit IRC
[14:44:13] *** dbouwman has joined #angularjs
[14:44:45] *** apetro_ has joined #angularjs
[14:44:55] *** Limarson has quit IRC
[14:45:06] *** dariocravero has joined #angularjs
[14:47:08] *** ipalaus has joined #angularjs
[14:47:32] *** nicholaswyoung has joined #angularjs
[14:47:38] *** GAWD has joined #angularjs
[14:48:29] <GAWD> hi
[14:48:43] *** seydoggy has joined #angularjs
[14:48:50] *** bmac has joined #angularjs
[14:49:00] <GAWD> please help me with this http://stackoverflow.com/questions/24653921/triggering-events-in-angularjs-that-bubble-up-the-dom
[14:49:10] *** fedenunez has joined #angularjs
[14:49:14] *** rud has joined #angularjs
[14:49:14] *** rud has joined #angularjs
[14:49:22] <GAWD> I want to implement jQuery's trigger() the angularjs way
[14:50:00] <GAWD> jQLite has triggerHandler but it fails to bubble up the DOm and matches only the first result.
[14:50:21] *** balboah has quit IRC
[14:51:07] *** knownasilya has joined #angularjs
[14:51:13] *** ASUChander has joined #angularjs
[14:51:18] *** fl0ppy has joined #angularjs
[14:52:38] *** cbeacock has joined #angularjs
[14:52:44] *** seydoggy has quit IRC
[14:52:52] *** dylanlindgren has quit IRC
[14:53:00] *** acconrad has joined #angularjs
[14:55:21] *** vovanbo has quit IRC
[14:56:15] *** lite_ has quit IRC
[14:56:19] *** apetro_ has quit IRC
[14:57:37] *** kras has joined #angularjs
[14:58:01] *** gunn has quit IRC
[14:58:02] *** HelperW_ has joined #angularjs
[14:58:39] *** brianturgeon has joined #angularjs
[14:58:48] *** arizzo has joined #angularjs
[14:58:59] *** kras has quit IRC
[14:59:20] *** waylon999 has joined #angularjs
[14:59:51] *** Milanito has joined #angularjs
[15:00:14] *** fixl has quit IRC
[15:01:27] *** HelperW has quit IRC
[15:02:12] *** Milanito has quit IRC
[15:02:24] *** hychen has joined #angularjs
[15:03:05] *** mdedetrich has joined #angularjs
[15:03:14] *** danielpquinn has joined #angularjs
[15:03:15] *** robteix has joined #angularjs
[15:03:20] *** waylon999 has quit IRC
[15:03:32] *** annlewis has joined #angularjs
[15:03:34] *** joshontheweb has joined #angularjs
[15:03:44] *** Nizumzen has quit IRC
[15:03:48] *** Lunchy has quit IRC
[15:04:42] *** gkr_ has quit IRC
[15:05:35] *** DerekPerkins has joined #angularjs
[15:06:31] *** UniBot has quit IRC
[15:06:42] *** Milanito has joined #angularjs
[15:06:50] *** UniBot has joined #angularjs
[15:06:50] *** Natsu- has joined #angularjs
[15:07:06] *** wizibe has quit IRC
[15:07:19] *** annlewis has quit IRC
[15:07:24] *** wizibe has joined #angularjs
[15:07:52] *** annlewis has joined #angularjs
[15:07:52] *** ineedarobot has quit IRC
[15:08:09] *** danielpquinn has quit IRC
[15:08:57] *** imehesz has joined #angularjs
[15:09:15] *** spookyfork has joined #angularjs
[15:09:52] *** jtimon has joined #angularjs
[15:09:55] *** jeffszusz has joined #angularjs
[15:10:30] <sal1191> hello all, anyone here experienced with ui-router?
[15:10:31] *** tbo_ has quit IRC
[15:10:51] *** mikaeldice has quit IRC
[15:11:12] *** mccarrontr1ck has joined #angularjs
[15:11:15] <GAWD> yes
[15:11:30] *** bengillies has joined #angularjs
[15:11:33] <GAWD> sal1191, go on
[15:11:42] <sal1191> ok
[15:11:56] *** massi_syed has quit IRC
[15:11:57] <sal1191> whats a good way to manage page transitions between states
[15:12:15] <sal1191> when the new template loads i want an effect
[15:12:25] <BobbieBarker> use an animation
[15:12:31] *** Limarson has joined #angularjs
[15:12:35] *** mfunkie has joined #angularjs
[15:12:53] <sal1191> are there notable plugins for this?
[15:12:58] <BobbieBarker> yes
[15:13:00] <GAWD> use ngAnimate
[15:13:08] <sal1191> ok
[15:13:14] *** mrogne_afk is now known as mrogne
[15:13:20] *** motionman has joined #angularjs
[15:13:22] <GAWD> there are plenty of options of animateing ngview
[15:13:23] *** hswolff has joined #angularjs
[15:13:24] *** mokush has quit IRC
[15:13:32] <BobbieBarker> http://mgcrea.github.io/angular-motion/
[15:13:42] <sal1191> is ngAnimate just a wrapper around CSS transitions?
[15:13:45] <BobbieBarker> you can't use ngAnimate to add animations to page changes
[15:13:48] *** kcccccc has quit IRC
[15:13:52] <sal1191> ill check that out bobbie thanks
[15:14:08] <BobbieBarker> np enjoy
[15:14:19] <trippo> sal1191: No, it adds classes on able to have something to animate on. ng-enter and ng-leave for example.
[15:14:42] *** elrabin has joined #angularjs
[15:14:50] <sal1191> ahh ok
[15:14:50] <trippo> If I'm not mistaken I think you still need to create the css for the animations.
[15:14:53] <BobbieBarker> yeah
[15:14:58] <BobbieBarker> no
[15:15:05] <BobbieBarker> angular motion has the css
[15:15:12] <trippo> Well , yeah. But not angular-animation?
[15:15:28] <trippo> I was just responding concerning angular-animation hehe..
[15:15:33] <BobbieBarker> ng-Animate doesn't have the css
[15:15:34] <BobbieBarker> sorry
[15:15:40] <GAWD> you can do so using css
[15:15:43] <BobbieBarker> but you are right you have to use stuff like enter
[15:15:46] *** FIFOd[a] has joined #angularjs
[15:15:59] <GAWD> there are two ways to do so using css, using animations and using transitions
[15:16:05] *** Limarson2 has quit IRC
[15:16:34] *** rgolea has quit IRC
[15:16:44] *** nkn has quit IRC
[15:16:46] <GAWD> Guys, I need help with this
[15:16:47] <GAWD> http://stackoverflow.com/questions/24653921/triggering-events-in-angularjs-that-bubble-up-the-dom
[15:17:04] *** mokush has joined #angularjs
[15:17:05] <BobbieBarker> sal1191 this is pretty easy to do dude if you want to just take a look at this
[15:17:06] <BobbieBarker> http://www.yearofmoo.com/2013/08/remastered-animation-in-angularjs-1-2.html
[15:17:12] *** gunn has joined #angularjs
[15:17:12] <BobbieBarker> use that as a reference and you'll get through this
[15:17:19] <GAWD> I want to trigger an event that bubbles up the DOM the angular way
[15:17:19] *** gunn has quit IRC
[15:17:24] *** phuh has quit IRC
[15:17:37] *** Dimlock has quit IRC
[15:17:42] <GAWD> any ideas?
[15:17:43] <BobbieBarker> GAWD you don't really bubble up the dom in angular
[15:17:49] *** mokush has quit IRC
[15:17:49] <BobbieBarker> what you need are directives
[15:17:50] <sal1191> ill check that out
[15:17:50] *** phuh has joined #angularjs
[15:17:54] *** gunn has joined #angularjs
[15:17:58] <BobbieBarker> and you need to learn yourself up on isolate scopes in directives
[15:18:07] <oniijin> learn yourself up?
[15:18:09] <GAWD> I am writing this in a directive
[15:18:14] <BobbieBarker> oni go away
[15:18:19] *** the_fog has joined #angularjs
[15:18:24] <oniijin> lol
[15:18:34] <BobbieBarker> i just woke up my wife is trying to make me get up earlier so i'll quit working till 2am
[15:18:46] <BobbieBarker> she's mean
[15:18:47] <oniijin> https://www.youtube.com/watch?v=m_mDTLphIVY&feature=kp
[15:19:08] *** Emperor_Earth has quit IRC
[15:19:08] *** Milanito has quit IRC
[15:19:15] <BobbieBarker> GAWD but you'll probably need more than 1 directive
[15:19:17] <oniijin> how's your new spawn
[15:19:19] *** Crelex has quit IRC
[15:19:20] *** Emperor_Earth has joined #angularjs
[15:19:29] <BobbieBarker> healthy
[15:19:31] *** arizzo has quit IRC
[15:19:32] <BobbieBarker> thanks for asking
[15:19:44] *** cboden has joined #angularjs
[15:19:44] *** brianturgeon has quit IRC
[15:19:45] <GAWD> how do implement jQuery's trigger() in angular then if I can't bubble up in Angualar?
[15:19:46] <Foxandxss> BobbieBarker: so 2am and at what hour do you wake up then?
[15:19:54] <oniijin> 1am
[15:20:04] *** arizzo has joined #angularjs
[15:20:06] <BobbieBarker> usually like 9am
[15:20:07] <Foxandxss> oniijin: that is 23 hours of sleep
[15:20:08] <BobbieBarker> is when i get up
[15:20:11] <oniijin> lol
[15:20:12] *** davek has quit IRC
[15:20:16] <Foxandxss> BobbieBarker: that sounds fine to me
[15:20:20] <Foxandxss> so she is definitely mean
[15:20:24] <BobbieBarker> thank you
[15:20:25] <BobbieBarker> fox
[15:20:39] <GAWD> BobbieBarker can jQuery's trigger NOT be implemented in angular?
[15:20:53] *** davek has joined #angularjs
[15:21:02] <Foxandxss> GAWD: https://docs.angularjs.org/api/ng/function/angular.element
[15:21:06] *** fl0ppy has quit IRC
[15:21:06] <oniijin> uh, emit/broadcast?
[15:21:14] <BobbieBarker> you can do emit/broadcasts too
[15:21:17] <BobbieBarker> i was just going to say that
[15:21:18] *** mokush has joined #angularjs
[15:21:20] <oniijin> if u try to use ng like jq ur gonna have a bad time
[15:21:22] *** teslanick has joined #angularjs
[15:21:22] <GAWD> oh ya!
[15:21:33] <BobbieBarker> yeah ^^ what oni said
[15:21:38] *** ineedarobot has joined #angularjs
[15:21:49] <GAWD> it completely slipped my mind. I am actually trying to rewrite a jquery lib to native angular
[15:21:58] <BobbieBarker> good luck
[15:22:07] <GAWD> thats perfect guys, thanks a lot!
[15:22:09] <BobbieBarker> try not to think about the DOM in the jquery way
[15:22:09] <GAWD> :D
[15:22:19] <BobbieBarker> think of it in the angualr way
[15:23:02] *** maurycyg has quit IRC
[15:23:33] *** mdedetrich has quit IRC
[15:23:34] <GAWD> yeah
[15:23:40] *** ianpirro has joined #angularjs
[15:23:40] <GAWD> wait hold on a sec
[15:23:43] <oniijin> jq is thinking bout things from dom side, ng u should think from data side
[15:23:50] <oniijin> twss
[15:23:52] <GAWD> broadcast and emit might not work here
[15:23:57] <trippo> So I'm trying to implement a loading overlay using $scope.$on and $emit. Works great on desktop and newer mobile devices. But those devices don't really need that loading overlay. On older devices though (where I need that overlay) - it takes some time before that element is shown.
[15:24:06] *** johnkevinmbasco has joined #angularjs
[15:24:15] <GAWD> as I am trying to pass the child DOM elem.
[15:24:16] <trippo> I want to think this is rather basic stuff and shouldn't be an issue on iphone 4, galaxy nexus etc. But still is.
[15:24:33] <oniijin> smh
[15:24:33] *** arizzo has quit IRC
[15:24:49] <oniijin> ur gonna have a bad time
[15:24:53] *** FunnyLookinHat has joined #angularjs
[15:24:58] <trippo> smh ?
[15:25:00] <GAWD> BobbieBarker are you sure thats the only way to achieve it?
[15:25:01] *** maurycyg has joined #angularjs
[15:25:12] *** mrogne is now known as mrogne_afk
[15:25:12] <trippo> aha
[15:25:21] *** brianturgeon has joined #angularjs
[15:25:26] *** seydoggy has joined #angularjs
[15:25:26] *** ustunozgur has quit IRC
[15:25:28] *** darrin has joined #angularjs
[15:25:40] <trippo> oniijin: Bad time because I'm doing it wrong - or bad time trying to build for older devices? :)
[15:25:58] <oniijin> was replying to GAWD
[15:26:03] <trippo> ooh, my bad. sorry m8
[15:26:08] <oniijin> and his silly tossing dom els around
[15:26:14] <DevAntoine> hi
[15:26:38] <BobbieBarker> lol
[15:26:52] <DevAntoine> can someone give me a link about the "dot notation" in angular (wrapping properties inside an object to access them in a child scope)?
[15:27:03] *** bkuberek has joined #angularjs
[15:27:04] <BobbieBarker> yeah man you're looking at this the jquery way totally like DOM elements have a right to tell you whats up
[15:27:04] *** ETBlue has joined #angularjs
[15:27:11] <BobbieBarker> beat them down
[15:27:23] <oniijin> DevAntoine add a dot, tada
[15:27:32] *** markalanevans has joined #angularjs
[15:27:46] <oniijin> just use objects instead of primitives
[15:27:52] <BobbieBarker> jesus
[15:27:53] <DevAntoine> oniijin: I know, but I'm wondering why
[15:27:59] <BobbieBarker> i need to go get coffee this is too much
[15:27:59] *** balboah has joined #angularjs
[15:28:01] <oniijin> cuz of js inheritance
[15:28:02] <BobbieBarker> dude it's JS
[15:28:03] <DevAntoine> and have seen articles about it, but can't find them anymore
[15:28:07] <BobbieBarker> it's how shit works
[15:28:16] <BobbieBarker> it's how you access properties on an object
[15:28:16] *** apetro_ has joined #angularjs
[15:28:17] *** ustunozg_ has joined #angularjs
[15:28:23] <oniijin> BobbieBarker maybe this will help http://hypebeast.com/2014/7/venus-williams-nigel-sylvester-and-more-strip-down-for-espn-the-magazines-body-issue
[15:28:24] <mrogne_afk> DevAntoine: https://egghead.io/lessons/angularjs-the-dot and http://zcourts.com/2013/05/31/angularjs-if-you-dont-have-a-dot-youre-doing-it-wrong/
[15:28:26] <mrogne_afk> are what i have bookmarked
[15:28:29] <BobbieBarker> just put $scope infront of it
[15:28:31] <BobbieBarker> same thing
[15:28:33] <DevAntoine> oh god BobbieBarker , you really need to go grab a coffee yes
[15:28:48] <oniijin> actually BobbieBarker dont click
[15:28:52] <DevAntoine> thanks mrogne_afk
[15:28:56] <mrogne_afk> you bet
[15:28:57] <oniijin> only the first pic is kosher the rest is all wangs
[15:29:17] <BobbieBarker> mmmmmmmmmmmmmmmm penis
[15:29:17] <teslanick> Values in JS are immutable. When you set a value, you're changing the reference to a new reference, not changing the value in place.
[15:29:34] <oniijin> but that first pic is pretty awesome
[15:29:45] *** juampy_gnomgnom is now known as juampy
[15:29:54] <teslanick> Composite types are mutable. When you change a value inside a composite type, it mutates the type to include the new value.
[15:29:56] <mrogne_afk> oniijin: bahahaha
[15:30:16] *** harvey203 has joined #angularjs
[15:30:39] *** Peter21 has joined #angularjs
[15:30:51] *** seydoggy has quit IRC
[15:30:51] <Peter21> hello
[15:30:51] *** corban has joined #angularjs
[15:31:00] *** rho has joined #angularjs
[15:31:23] *** Dimlock has joined #angularjs
[15:31:25] *** seydoggy has joined #angularjs
[15:31:29] *** Nizumzen has joined #angularjs
[15:31:30] *** klaut has joined #angularjs
[15:31:32] *** bkuberek has quit IRC
[15:31:56] <Peter21> anyone free maybe for quick question
[15:32:15] *** Ymesio has joined #angularjs
[15:32:19] <oniijin> dont ask to ask
[15:32:24] *** bsmithgall has joined #angularjs
[15:32:42] *** markalanevans has quit IRC
[15:32:59] *** CodeFriar has joined #angularjs
[15:33:00] *** markalanevans has joined #angularjs
[15:33:07] *** mac_ified has joined #angularjs
[15:33:25] *** balboah has quit IRC
[15:34:22] *** gunn has quit IRC
[15:34:35] *** Daven_ has quit IRC
[15:34:47] *** apetro_ has quit IRC
[15:35:02] <mrogne_afk> ignore oniijin, you bet your a** you better ask to ask!
[15:35:05] <mrogne_afk> jk
[15:35:37] *** seydoggy has quit IRC
[15:35:48] *** Ch4rAss` has quit IRC
[15:36:07] *** gunn has joined #angularjs
[15:36:23] *** apetro_ has joined #angularjs
[15:36:24] *** vishalviradiya has joined #angularjs
[15:36:27] *** Daven_ has joined #angularjs
[15:36:29] *** disorder20 has joined #angularjs
[15:36:36] <Peter21> i was playing around with this angular directive https://github.com/mojotech/angular-ui-instagram
[15:36:59] *** vishalviradiya has quit IRC
[15:37:01] <Peter21> and i wanted to know is it possible to implement isolated scope so i can use multiple directives on same page
[15:37:05] *** disorder20 has quit IRC
[15:37:23] *** the_fog_ has joined #angularjs
[15:37:34] *** ngbot has joined #angularjs
[15:37:34] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/1VoyZQ
[15:37:34] <ngbot> angular.js/master c4c8fbd Igor Minar: chore(travis): disable our npm registry cache
[15:37:34] *** ngbot has left #angularjs
[15:38:10] *** mattupstate has joined #angularjs
[15:38:20] *** terranca has joined #angularjs
[15:38:31] *** drej has joined #angularjs
[15:38:36] *** yoshokatana has joined #angularjs
[15:38:49] *** forcer has quit IRC
[15:38:51] *** Daven_ has quit IRC
[15:38:55] *** jstroem_ has joined #angularjs
[15:39:00] *** seydoggy has joined #angularjs
[15:39:11] *** forcer- has joined #angularjs
[15:39:15] *** forcer- is now known as forcer
[15:39:16] *** drej_ has joined #angularjs
[15:39:26] *** Zyril has joined #angularjs
[15:39:34] *** jdj_dk_ has joined #angularjs
[15:39:35] *** aslate_ has joined #angularjs
[15:39:39] *** waylon999 has joined #angularjs
[15:39:59] *** mfunkie_ has joined #angularjs
[15:40:01] *** treeface has joined #angularjs
[15:40:11] *** CodeFriar has quit IRC
[15:40:11] *** Billy_ has joined #angularjs
[15:40:20] *** Hackwar has joined #angularjs
[15:40:22] *** Huevos has joined #angularjs
[15:40:30] *** Daven_ has joined #angularjs
[15:40:33] *** Fide has joined #angularjs
[15:40:34] *** the_fog has quit IRC
[15:40:44] *** ckboii89 has joined #angularjs
[15:40:57] *** BillCriswell has joined #angularjs
[15:41:01] *** Rikle_S has left #angularjs
[15:41:12] *** ch3mical has joined #angularjs
[15:41:14] *** comboy_ has joined #angularjs
[15:41:15] *** benhx_ has joined #angularjs
[15:41:15] *** zerd_ has joined #angularjs
[15:41:16] *** slobo_ has joined #angularjs
[15:41:27] *** corban_ has joined #angularjs
[15:41:33] *** livingstn has joined #angularjs
[15:41:34] *** V0id_ has joined #angularjs
[15:41:38] *** mfunkie has quit IRC
[15:41:43] *** cisox has joined #angularjs
[15:41:44] *** cisox is now known as cisox_away
[15:42:14] *** Siecje has joined #angularjs
[15:42:48] *** cisox_away is now known as cisox
[15:42:49] *** lewdev has joined #angularjs
[15:43:00] *** TwinkleH1od has joined #angularjs
[15:43:01] *** The_Kingdutch has joined #angularjs
[15:43:08] *** jstroem_ has quit IRC
[15:43:10] *** V0id has quit IRC
[15:43:11] *** drej has quit IRC
[15:43:13] *** V0id_ is now known as V0id
[15:43:18] *** Simone\_ has joined #angularjs
[15:43:19] *** Noeble_ has joined #angularjs
[15:43:23] *** clkao_ has joined #angularjs
[15:43:29] *** kc3 has joined #angularjs
[15:43:30] *** noob13_ has joined #angularjs
[15:43:33] *** linagee_ has joined #angularjs
[15:43:36] *** stork has joined #angularjs
[15:43:36] *** stork has joined #angularjs
[15:43:42] *** kanzure_ has joined #angularjs
[15:43:45] *** bryon_ has joined #angularjs
[15:43:52] *** jaawerth_ has joined #angularjs
[15:43:57] *** tumdedum_ has joined #angularjs
[15:44:00] *** frege_ has joined #angularjs
[15:44:07] *** ajmitch_ has joined #angularjs
[15:44:07] *** seydoggy has quit IRC
[15:44:15] *** hachiya_ has joined #angularjs
[15:44:24] *** CodeFriar has joined #angularjs
[15:44:32] *** jeffszusz_ has joined #angularjs
[15:44:33] *** efdee has joined #angularjs
[15:44:41] *** waylon999 has quit IRC
[15:44:44] *** seydoggy has joined #angularjs
[15:45:03] <efdee> is there any way to change the current windows url fragment without invoking ngRoute's route selection?
[15:45:08] *** ckboii89 has quit IRC
[15:45:14] <efdee> (so just change the fragment without anything happening in response to that)
[15:45:39] *** brianturgeon has quit IRC
[15:45:47] *** imduffy15 has quit IRC
[15:46:21] *** the_fog_ has quit IRC
[15:46:22] *** chrisbirk has joined #angularjs
[15:46:48] *** teegee543_ has joined #angularjs
[15:46:54] *** utroda has joined #angularjs
[15:46:54] *** jcw has joined #angularjs
[15:46:56] *** the_fog has joined #angularjs
[15:46:56] *** tate__ has joined #angularjs
[15:46:57] *** d10n_ has joined #angularjs
[15:46:59] *** DexterTheDragon_ has joined #angularjs
[15:47:02] *** ratsupremacy has joined #angularjs
[15:47:02] *** expr_ has joined #angularjs
[15:47:05] *** unmatrix has joined #angularjs
[15:47:05] *** kfr2_ has joined #angularjs
[15:47:06] *** krotscheck_ has joined #angularjs
[15:47:08] *** Orginator_ has joined #angularjs
[15:47:15] *** diffalotmore has joined #angularjs
[15:47:15] *** utroda has quit IRC
[15:47:17] *** blackjid has joined #angularjs
[15:47:20] *** braidn_ has joined #angularjs
[15:47:22] *** kayloos has joined #angularjs
[15:47:25] *** cyrusdav- has joined #angularjs
[15:47:31] *** jeffszusz has quit IRC
[15:47:39] *** Milanito has joined #angularjs
[15:47:54] *** jeffszusz has joined #angularjs
[15:47:59] *** krawchyk has joined #angularjs
[15:48:05] *** jeffszusz_ has quit IRC
[15:48:13] *** apetro_ has quit IRC
[15:48:13] *** mac_ified has quit IRC
[15:48:15] *** corban has quit IRC
[15:48:15] *** harvey203 has quit IRC
[15:48:16] *** spookyfork has quit IRC
[15:48:17] *** fedenunez has quit IRC
[15:48:19] *** OdinIncarnate has quit IRC
[15:48:19] *** DevAntoine has quit IRC
[15:48:20] *** foo-bar- has quit IRC
[15:48:20] *** mkulke has quit IRC
[15:48:21] *** kalusn has quit IRC
[15:48:22] *** snyx has quit IRC
[15:48:25] *** jstroem has quit IRC
[15:48:26] *** hannesvdvreken has quit IRC
[15:48:26] *** mchapman has quit IRC
[15:48:29] *** Serdar has quit IRC
[15:48:29] *** jdj_dk has quit IRC
[15:48:30] *** Hackwar1 has quit IRC
[15:48:31] *** tsyd has quit IRC
[15:48:31] *** fold has quit IRC
[15:48:32] *** Sna4x8 has quit IRC
[15:48:33] *** RandomStranger has quit IRC
[15:48:36] *** cellofellow has quit IRC
[15:48:36] *** s3shs has quit IRC
[15:48:38] *** karihre has quit IRC
[15:48:39] *** futuredale has quit IRC
[15:48:40] *** teegee543 has quit IRC
[15:48:40] *** admix|away has quit IRC
[15:48:41] *** omsmith_ has quit IRC
[15:48:42] *** jaawerth has quit IRC
[15:48:43] *** aslate has quit IRC
[15:48:43] *** RyanHirsch has quit IRC
[15:48:44] *** idiomatic has quit IRC
[15:48:44] *** monokrome has quit IRC
[15:48:45] *** ch3pa has quit IRC
[15:48:45] *** diffalot has quit IRC
[15:48:46] *** callumacrae has quit IRC
[15:48:47] *** Pierre_N has quit IRC
[15:48:47] *** atomi has quit IRC
[15:48:49] *** sss2500 has quit IRC
[15:48:50] *** Simone\ has quit IRC
[15:48:50] *** Inge- has quit IRC
[15:48:50] *** tomas has quit IRC
[15:48:51] *** Nivag has quit IRC
[15:48:52] *** benhx has quit IRC
[15:48:53] *** therealklanni has quit IRC
[15:48:56] *** storkme has quit IRC
[15:48:57] *** theahindle has quit IRC
[15:48:57] *** gjvc has quit IRC
[15:48:58] *** G1eb has quit IRC
[15:48:59] *** SirFunk has quit IRC
[15:49:00] *** r4vi has quit IRC
[15:49:01] *** kadamwhite has quit IRC
[15:49:02] *** daed has quit IRC
[15:49:03] *** _blackjid has quit IRC
[15:49:04] *** rodr1go has quit IRC
[15:49:04] *** expr has quit IRC
[15:49:05] *** Orginator has quit IRC
[15:49:05] *** demands_ has quit IRC
[15:49:06] *** Jorer has quit IRC
[15:49:07] *** ivaldi has quit IRC
[15:49:08] *** noob13 has quit IRC
[15:49:09] *** Zariel has quit IRC
[15:49:11] *** jcw_ has quit IRC
[15:49:11] *** dynacker has quit IRC
[15:49:11] *** Thylith has quit IRC
[15:49:13] *** Noeble has quit IRC
[15:49:15] *** Orbitrix has quit IRC
[15:49:16] *** DexterTheDragon has quit IRC
[15:49:17] *** mosez_ has quit IRC
[15:49:18] *** licyeus_ has quit IRC
[15:49:18] *** kfr2 has quit IRC
[15:49:22] *** Ruckus has quit IRC
[15:49:23] *** qpok has quit IRC
[15:49:24] *** comboy has quit IRC
[15:49:24] *** siimon has quit IRC
[15:49:26] *** s_e has quit IRC
[15:49:26] *** zerd has quit IRC
[15:49:27] *** blackkbot has quit IRC
[15:49:27] *** nick125 has quit IRC
[15:49:28] *** hachiya has quit IRC
[15:49:28] *** digia|away has quit IRC
[15:49:29] *** linagee has quit IRC
[15:49:30] *** mattweg has quit IRC
[15:49:31] *** davzie has quit IRC
[15:49:31] *** sweeper_ has quit IRC
[15:49:32] *** mrkake has quit IRC
[15:49:33] *** masak has quit IRC
[15:49:33] *** Ephemeral has quit IRC
[15:49:34] *** uris77 has quit IRC
[15:49:35] *** clkao has quit IRC
[15:49:35] *** kc3_ has quit IRC
[15:49:36] *** JmZ_ has quit IRC
[15:49:36] *** antihero has quit IRC
[15:49:37] *** philips has quit IRC
[15:49:37] *** zeroz_ has quit IRC
[15:49:38] *** xMopxShell has quit IRC
[15:49:38] *** OnkelTem has quit IRC
[15:49:39] *** eighty4 has quit IRC
[15:49:40] *** InezK_away has quit IRC
[15:49:40] *** ged has quit IRC
[15:49:41] *** asm89 has quit IRC
[15:49:41] *** d10n has quit IRC
[15:49:41] *** aboudreault has quit IRC
[15:49:42] *** frege has quit IRC
[15:49:42] *** pswizzle has quit IRC
[15:49:42] *** kanzure has quit IRC
[15:49:43] *** TwinkleHood has quit IRC
[15:49:44] *** Spockz has quit IRC
[15:49:44] *** grizzm0 has quit IRC
[15:49:45] *** Vye has quit IRC
[15:49:45] *** fdv has quit IRC
[15:49:46] *** ajmitch has quit IRC
[15:49:46] *** wookiehangover has quit IRC
[15:49:46] *** _rgn has quit IRC
[15:49:47] *** lukegb has quit IRC
[15:49:47] *** map7 has quit IRC
[15:49:48] *** tumdedum has quit IRC
[15:49:49] *** cyrusdavid has quit IRC
[15:49:50] *** Kingdutch has quit IRC
[15:49:50] *** krotscheck has quit IRC
[15:49:51] *** Kane` has quit IRC
[15:49:51] *** wib has quit IRC
[15:49:52] *** boltR has quit IRC
[15:49:52] *** everett has quit IRC
[15:49:52] *** tate_ has quit IRC
[15:49:53] *** asdf` has quit IRC
[15:49:54] *** slobo has quit IRC
[15:49:54] *** bryon has quit IRC
[15:49:55] *** braidn has quit IRC
[15:49:55] *** teegee543_ is now known as teegee543
[15:49:56] *** DexterTheDragon_ is now known as DexterTheDragon
[15:49:56] *** krotscheck_ is now known as krotscheck
[15:49:57] *** DexterTheDragon has quit IRC
[15:49:58] *** DexterTheDragon has joined #angularjs
[15:49:58] *** DerekPerkins has quit IRC
[15:49:58] *** diffalotmore is now known as diffalot
[15:49:59] *** thomastuts has quit IRC
[15:50:01] *** kadamwhite has joined #angularjs
[15:50:01] *** seydoggy has quit IRC
[15:50:02] *** encryptd_fractl has joined #angularjs
[15:50:02] *** callumacrae has joined #angularjs
[15:50:03] *** atomi has joined #angularjs
[15:50:04] *** theahindle has joined #angularjs
[15:50:04] *** Hounddog has quit IRC
[15:50:05] *** tumdedum_ is now known as tumdedum
[15:50:17] *** Hounddog has joined #angularjs
[15:50:36] *** arizzo has joined #angularjs
[15:50:48] *** juanlas has joined #angularjs
[15:51:13] *** Peter21 has quit IRC
[15:51:39] *** Destos has joined #angularjs
[15:51:45] *** arizzo has quit IRC
[15:52:00] *** digia|away has joined #angularjs
[15:52:04] *** digia|away is now known as digia
[15:52:33] *** arizzo has joined #angularjs
[15:52:35] *** Willow has joined #angularjs
[15:53:12] *** jk-5|gone is now known as jk-5
[15:53:51] *** shackleford has joined #angularjs
[15:54:01] *** juampy is now known as juapy_otp
[15:54:03] <aviraldg> Looking for some design advice -- anyone with experience?
[15:54:03] *** scriptThis has quit IRC
[15:54:04] *** Milanito has quit IRC
[15:54:15] *** gjvc has joined #angularjs
[15:54:29] *** snyx has joined #angularjs
[15:54:33] *** jbourassa has joined #angularjs
[15:54:42] *** bkuberek has joined #angularjs
[15:54:42] *** foo-bar- has joined #angularjs
[15:54:45] <Siecje> aviraldg: just ask your question
[15:54:49] *** robteix has quit IRC
[15:54:58] *** RandomStranger has joined #angularjs
[15:54:59] *** apetro_ has joined #angularjs
[15:55:04] *** ngbot has joined #angularjs
[15:55:04] <ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/2efKOg
[15:55:04] <ngbot> angular.js/master ada9852 Shahar Talmi: docs(ngModel): objects passed to $setViewValue should be copied...
[15:55:04] <ngbot> angular.js/master 2e84cf9 Peter Bacon Darwin: docs(ngModel): further mods to $viewValue semantics...
[15:55:04] *** ngbot has left #angularjs
[15:55:05] <aviraldg> Sure
[15:55:05] *** frege_ is now known as frege
[15:55:07] *** harvey203 has joined #angularjs
[15:55:08] *** conner_ has joined #angularjs
[15:55:09] *** SpearThruster has joined #angularjs
[15:55:10] *** fedenunez has joined #angularjs
[15:55:17] *** frege has quit IRC
[15:55:17] *** frege has joined #angularjs
[15:55:18] *** Ruckus has joined #angularjs
[15:55:35] *** ged has joined #angularjs
[15:55:46] *** mac_ified has joined #angularjs
[15:55:58] *** Zariel has joined #angularjs
[15:55:58] *** Zariel has quit IRC
[15:56:17] <aviraldg> I find using isolate scope on almost all of my directives and injecting services into them for functionality makes for a much clearer structure compared to a chain of scopes. However it looks like this is discouraged? Should I avoid having it everywhere?
[15:56:21] *** blackkbot has joined #angularjs
[15:56:28] *** DevAntoine has joined #angularjs
[15:56:34] *** bkuberek has quit IRC
[15:56:34] *** jtimon has quit IRC
[15:56:49] *** hannesvdvreken has joined #angularjs
[15:56:58] *** Zariel has joined #angularjs
[15:57:00] *** fold has joined #angularjs
[15:57:14] *** badon has quit IRC
[15:57:22] *** webguynow has joined #angularjs
[15:57:24] *** futuredale has joined #angularjs
[15:57:29] *** cisox is now known as cisox_away
[15:57:33] *** atomical has quit IRC
[15:57:43] *** fdv has joined #angularjs
[15:57:43] *** shackleford has quit IRC
[15:57:46] *** ngoyal has joined #angularjs
[15:57:49] *** grizzm0 has joined #angularjs
[15:57:54] *** badon has joined #angularjs
[15:57:55] *** idiomatic has joined #angularjs
[15:57:56] *** dynacker has joined #angularjs
[15:57:59] *** s3shs has joined #angularjs
[15:57:59] *** mosez has joined #angularjs
[15:58:02] *** boltR has joined #angularjs
[15:58:04] *** geoid has joined #angularjs
[15:58:05] *** nick125 has joined #angularjs
[15:58:06] *** nick125 has joined #angularjs
[15:58:06] *** r4vi has joined #angularjs
[15:58:11] *** sweeper has joined #angularjs
[15:58:11] *** Vye has joined #angularjs
[15:58:12] *** shackleford has joined #angularjs
[15:58:12] *** uris77 has joined #angularjs
[15:58:14] *** GAWD has quit IRC
[15:58:15] *** omsmith has joined #angularjs
[15:58:15] *** qpok has joined #angularjs
[15:58:16] *** demands has joined #angularjs
[15:58:19] *** tomas has joined #angularjs
[15:58:20] *** licyeus has joined #angularjs
[15:58:22] *** asdf` has joined #angularjs
[15:58:23] *** siimon has joined #angularjs
[15:58:26] *** Spockz has joined #angularjs
[15:58:28] *** masak has joined #angularjs
[15:58:32] *** karihre has joined #angularjs
[15:58:34] *** lewdev has quit IRC
[15:58:36] *** zeroz has joined #angularjs
[15:58:39] *** daed has joined #angularjs
[15:58:42] *** tsyd has joined #angularjs
[15:58:52] *** masak is now known as Guest26828
[15:59:26] *** seydoggy has joined #angularjs
[15:59:30] *** ngoyal has quit IRC
[15:59:36] *** edrocks has joined #angularjs
[15:59:38] *** phuh has quit IRC
[15:59:42] *** monokrome has joined #angularjs
[15:59:52] *** bkuberek has joined #angularjs
[15:59:56] *** Milanito has joined #angularjs
[16:00:13] *** kcccccc has joined #angularjs
[16:00:14] *** lukegb has joined #angularjs
[16:00:16] *** Ephemeral has joined #angularjs
[16:00:22] *** ngoyal has joined #angularjs
[16:00:32] *** RyanHirsch has joined #angularjs
[16:00:35] *** pswizzle has joined #angularjs
[16:00:36] *** rodr1go has joined #angularjs
[16:00:45] *** Nizumzen has quit IRC
[16:00:47] *** rodr1go is now known as Guest24205
[16:00:54] *** cctom has quit IRC
[16:00:57] *** Guest26828 is now known as masak_grr
[16:01:02] *** seydoggy_ has joined #angularjs
[16:01:13] *** SirFunk has joined #angularjs
[16:01:16] *** InezK has joined #angularjs
[16:01:23] *** seydoggy has quit IRC
[16:01:25] *** InezK is now known as Guest59723
[16:01:27] *** xMopxShell has joined #angularjs
[16:01:31] *** ineedarobot has quit IRC
[16:01:41] *** s_e has joined #angularjs
[16:01:45] *** mrkake has joined #angularjs
[16:01:46] *** admix|away has joined #angularjs
[16:01:46] *** clem-heroku has joined #angularjs
[16:01:52] *** clem-heroku has left #angularjs
[16:01:55] *** wookiehangover has joined #angularjs
[16:01:56] *** elux has joined #angularjs
[16:02:12] *** JmZ_ has joined #angularjs
[16:02:38] *** cpciv has quit IRC
[16:02:59] *** FIFOd[a] has quit IRC
[16:03:13] *** mattweg has joined #angularjs
[16:03:30] *** xaxisx has joined #angularjs
[16:03:34] *** ojacobson has joined #angularjs
[16:03:48] *** wib has joined #angularjs
[16:03:48] *** wib has joined #angularjs
[16:03:50] *** bayousoft has joined #angularjs
[16:03:56] *** drej_ is now known as drej
[16:03:58] *** mchammer has quit IRC
[16:04:02] *** drej has quit IRC
[16:04:02] *** drej has joined #angularjs
[16:04:04] *** danielpquinn has joined #angularjs
[16:04:10] *** tfennelly has quit IRC
[16:04:18] *** samsamm777 has joined #angularjs
[16:04:21] *** FIFOd[a] has joined #angularjs
[16:04:22] *** Jorer has joined #angularjs
[16:04:34] *** philips has joined #angularjs
[16:05:15] *** Pierre_N has joined #angularjs
[16:05:20] *** Click66___ has quit IRC
[16:05:24] *** jk-5 is now known as jk-5|gone
[16:05:30] *** TehShrike|Work has joined #angularjs
[16:05:39] *** scriptThis has joined #angularjs
[16:05:44] *** cisox_away is now known as cisox
[16:05:55] *** tfennelly has joined #angularjs
[16:06:20] *** Inge- has joined #angularjs
[16:06:21] *** ineedarobot has joined #angularjs
[16:06:23] *** aboudreault has joined #angularjs
[16:07:05] *** schonert has joined #angularjs
[16:07:18] *** altious has quit IRC
[16:07:18] *** Germanaz0|0FF is now known as Germanaz0
[16:07:44] *** altious has joined #angularjs
[16:08:02] *** guyc has joined #angularjs
[16:08:13] *** Fishy__ has joined #angularjs
[16:08:47] *** UniBot has quit IRC
[16:08:53] *** Kane` has joined #angularjs
[16:08:58] *** mkulke has joined #angularjs
[16:08:59] *** danielpquinn has quit IRC
[16:09:00] *** davzie has joined #angularjs
[16:09:04] *** jtimon has joined #angularjs
[16:09:09] *** UniBot has joined #angularjs
[16:09:11] *** map7 has joined #angularjs
[16:09:15] *** mchapman has joined #angularjs
[16:09:16] *** _rgn has joined #angularjs
[16:09:24] *** ch3pa has joined #angularjs
[16:09:36] *** sss2500 has joined #angularjs
[16:09:38] *** Voyage has quit IRC
[16:09:39] *** asm89 has joined #angularjs
[16:09:47] *** Milanito has quit IRC
[16:10:00] *** bade has joined #angularjs
[16:10:11] *** everett has joined #angularjs
[16:10:25] *** Snugug has joined #angularjs
[16:10:32] *** cellofellow has joined #angularjs
[16:10:43] *** eighty4 has joined #angularjs
[16:11:07] *** lewix has joined #angularjs
[16:11:07] *** lewix has joined #angularjs
[16:11:32] *** Milanito has joined #angularjs
[16:11:40] *** lewdev has joined #angularjs
[16:11:45] *** Sna4x8 has joined #angularjs
[16:11:56] *** Fishy__ is now known as Fishy_
[16:11:57] *** OnkelTem has joined #angularjs
[16:12:04] *** sacho_ has joined #angularjs
[16:12:06] *** davi has joined #angularjs
[16:12:16] *** Fishy_ is now known as Fishy
[16:12:22] <TehShrike|Work> So hey, I'd like to have some objects on my scope, and I want to watch for any changes caused by ui interaction. Easy enough, I can use $watch for that. But I want to be able to make changes programmatically as data changes on the server, and I don't want those changes to trigger my "the user changed something" function. What's the correct/least jankety way to do that?
[16:12:33] *** Nivag has joined #angularjs
[16:12:48] *** braidn_ is now known as braidn
[16:13:12] *** ojacobson has left #angularjs
[16:13:17] *** mcreager has quit IRC
[16:13:31] *** lewdev1 has joined #angularjs
[16:13:52] *** moritzs has joined #angularjs
[16:14:07] *** CodeFriar has quit IRC
[16:15:02] *** Daven_ has quit IRC
[16:15:18] *** schonert has quit IRC
[16:15:29] *** rinceRepeat has joined #angularjs
[16:15:40] *** walden|afk is now known as walden
[16:15:44] *** dutis has quit IRC
[16:16:09] *** lewdev has quit IRC
[16:16:21] <sacho_> you could use a view model.
[16:16:29] *** encryptd_fractl has quit IRC
[16:16:34] *** lewix has quit IRC
[16:16:47] *** xaxisx has quit IRC
[16:17:50] *** tekky has joined #angularjs
[16:17:50] *** samhermes has joined #angularjs
[16:17:59] *** TwinkleH1od has quit IRC
[16:18:19] *** lewix has joined #angularjs
[16:18:36] *** TwinkleHood has joined #angularjs
[16:18:38] *** mchammer has joined #angularjs
[16:18:38] *** cisox has quit IRC
[16:19:17] *** dcherman has joined #angularjs
[16:19:52] *** bkuberek has quit IRC
[16:20:21] *** Daven_ has joined #angularjs
[16:20:24] *** rinceRep1at has joined #angularjs
[16:20:36] *** dutis has joined #angularjs
[16:20:39] *** dariocravero has quit IRC
[16:21:14] *** greg5green has quit IRC
[16:21:36] *** jk-5|gone is now known as jk-5
[16:21:58] *** greg5green has joined #angularjs
[16:22:39] *** seydoggy_ has quit IRC
[16:22:39] *** moritzs has quit IRC
[16:22:43] *** jamesshijie has joined #angularjs
[16:22:48] *** artisangoose has joined #angularjs
[16:23:17] <lewix> check line 115 to 120 http://plnkr.co/edit/WYXUwMaGtlhDNeu8V9Wo?p=info im basically trying to refresh the form
[16:23:23] *** balboah has joined #angularjs
[16:23:26] <lewix> im having a hell of a time doing so
[16:23:28] <lewix> any idea?
[16:24:33] *** mguillech has quit IRC
[16:24:35] *** mchammer has quit IRC
[16:24:52] *** eperez_ has quit IRC
[16:25:08] *** mguillech has joined #angularjs
[16:25:08] *** mguillech has joined #angularjs
[16:25:22] <lewix> Foxandxss, available today?
[16:25:27] *** cisox has joined #angularjs
[16:26:01] *** eperez has joined #angularjs
[16:26:09] *** seydoggy_ has joined #angularjs
[16:26:29] *** orion1111 has joined #angularjs
[16:27:09] *** davi has quit IRC
[16:27:10] *** rinceRep1at has left #angularjs
[16:27:17] *** xaxisx has joined #angularjs
[16:27:20] *** Schtive has joined #angularjs
[16:27:51] *** Nizumzen has joined #angularjs
[16:27:59] *** LuxuryMode has quit IRC
[16:28:29] *** nicholaswyoung has quit IRC
[16:29:26] <lewix> apipkin, ?
[16:29:31] <lewix> damn :/
[16:29:49] *** sk87 has quit IRC
[16:30:18] *** eperez has quit IRC
[16:30:34] *** gunn has quit IRC
[16:30:57] *** cctom has joined #angularjs
[16:31:14] *** dutis has quit IRC
[16:32:15] *** Limarson2 has joined #angularjs
[16:32:55] <sacho_> "refresh the form"?
[16:33:12] *** gunn has joined #angularjs
[16:33:14] *** pskrz has quit IRC
[16:33:34] *** HelperW_ has quit IRC
[16:33:56] <Emperor_Earth> davek, hey
[16:33:57] *** lewix has quit IRC
[16:34:12] *** HelperW_ has joined #angularjs
[16:34:13] <apipkin> TehShrike|Work: My suggestion would be to change how the function calls are made. using a directive you can bind UI events and have those call a particular function to do the update rather than only using a watch. Then you could also call a method to change the value without having anything to do with the watch event
[16:34:16] *** samsamm777 has quit IRC
[16:34:18] *** Limarson has quit IRC
[16:34:41] *** HelperW_ has quit IRC
[16:34:44] <xastey-> crap, so I have a single page app.. have logout function which clears cookies etc.. but when I press the backbutton from that angular loads back up. wondering if its an angular problem or problem with my logout
[16:34:54] <aviraldg> Some help here as well.
[16:35:02] <xastey-> it doesn't happen locally even though I have my host maybed to a fake domain
[16:35:07] *** HelperW_ has joined #angularjs
[16:35:27] <TehShrike|Work> apipkin: that sounds pretty reasonable. how would you have it differentiate between changes caused by user interaction and changes caused by two-way binding with the model?
[16:35:44] *** conner_ has quit IRC
[16:36:11] *** schonert has joined #angularjs
[16:36:45] <aviraldg> I find using isolate scope on almost all of my directives and injecting services into them for functionality makes for a much clearer structure compared to a chain of scopes. However it looks like this is discouraged? Should I avoid having it everywhere?
[16:37:24] *** Alina-malina has quit IRC
[16:37:58] *** aesinv`w has quit IRC
[16:38:01] *** conner_ has joined #angularjs
[16:38:04] *** mchammer has joined #angularjs
[16:38:31] *** Alina-malina has joined #angularjs
[16:38:48] *** tarnus has joined #angularjs
[16:40:07] *** aesinv`w has joined #angularjs
[16:40:46] *** johnkevinmbasco has quit IRC
[16:41:03] *** chrislerum has joined #angularjs
[16:41:35] *** mcreager has joined #angularjs
[16:41:40] *** Nizumzen has quit IRC
[16:41:57] <apipkin> TehShrike|Work: something like this? http://plnkr.co/edit/vqNbWYND5An9KtrOy5x0?p=preview
[16:41:58] *** mven_ has quit IRC
[16:42:02] *** Nizumzen has joined #angularjs
[16:42:12] *** amargherio has joined #angularjs
[16:42:17] *** schonert has quit IRC
[16:42:40] *** Daven_ has quit IRC
[16:42:47] *** bengillies has quit IRC
[16:42:51] *** AndyFTP has quit IRC
[16:43:17] *** dutis has joined #angularjs
[16:43:24] *** FIFOd[a] has quit IRC
[16:43:29] <TehShrike|Work> apipkin: well, except I'm going to have a ton of text fields where the user is constantly typing things
[16:43:33] *** JohnBat26 has quit IRC
[16:43:43] <TehShrike|Work> but as I think about it, I want to react to their changes on killfocus rather than every change anyway
[16:43:52] <TehShrike|Work> So I probably should wrap that up in a directive
[16:44:12] <apipkin> Ah a text field! That’s slightly different approach then :) One sec
[16:44:30] <TehShrike|Work> well, probably every kind of input a form could have, but mostly text inputs
[16:44:36] *** patrickarlt has joined #angularjs
[16:44:46] *** Ownix has quit IRC
[16:44:46] *** Ownix has joined #angularjs
[16:44:47] *** Ownix has joined #angularjs
[16:44:54] *** Jon30 has joined #angularjs
[16:44:54] *** Jon30 has joined #angularjs
[16:45:01] *** DerekPerkins has joined #angularjs
[16:45:14] <edrocks> anyone using webpack with angular?
[16:45:25] <TehShrike|Work> but then my directive would probably need to know the difference between the value changing because of user input or because the model changed, for change detection
[16:45:41] *** Daven_ has joined #angularjs
[16:45:50] *** DerekPerkins_ has joined #angularjs
[16:46:08] <TehShrike|Work> I'd probably want the algorithm "on kill focus, if the user had changed the value from the last value that was set programmatically, call the callback with that new value"
[16:46:58] *** FIFOd[a] has joined #angularjs
[16:47:16] *** xavia has joined #angularjs
[16:47:30] *** arizzo has quit IRC
[16:47:44] *** Xethron has quit IRC
[16:48:06] *** arizzo has joined #angularjs
[16:48:22] *** GAWD has joined #angularjs
[16:48:35] *** Somatt_wrk has quit IRC
[16:48:40] *** ascarter has joined #angularjs
[16:49:47] *** DerekPerkins has quit IRC
[16:49:49] *** thedodd has joined #angularjs
[16:49:50] *** chrislerum has quit IRC
[16:49:59] <apipkin> TehShrike|Work: have you looked at the debounce stuff for mode-options?
[16:50:14] <TehShrike|Work> I have not, let me go google that
[16:51:01] *** Aartsie has quit IRC
[16:51:36] *** Shrooms has joined #angularjs
[16:51:55] *** pskrz has joined #angularjs
[16:52:04] <TehShrike|Work> yeah, if I was going to be intercepting all changes the user made, I'd want to wrap it in a debounce function I imagine. I think I want to detect change only on killfocus, though
[16:52:11] *** FIFOd[a] has quit IRC
[16:52:17] *** arizzo has quit IRC
[16:52:47] *** chrislerum has joined #angularjs
[16:52:48] *** jdcasey has joined #angularjs
[16:53:12] <apipkin> That sounds like a good win
[16:53:15] *** GAWD has quit IRC
[16:53:36] *** Daven_ has quit IRC
[16:54:19] <TehShrike|Work> I suppose I'll just need to be able to not fire the callbacks when: the user puts focus in a text input, the backend detects a change and updates the model which updates the value in the text input via two-way binding, and then the user kills focus without changing the value after that
[16:54:21] *** conan_the_destro has joined #angularjs
[16:54:35] *** doddstack has joined #angularjs
[16:54:48] *** brango has joined #angularjs
[16:55:01] *** vanzile has quit IRC
[16:56:22] <brango> hey anyone knows y $window.open is opening in new window if code goes through .then and opens in new tab if not going through .then ?
[16:56:41] *** Shrooms has quit IRC
[16:57:06] *** ascarter has quit IRC
[16:57:31] *** thedodd has quit IRC
[16:57:36] *** FIFOd[a] has joined #angularjs
[16:57:44] *** arizzo has joined #angularjs
[16:57:50] *** shinnya has joined #angularjs
[16:58:07] *** foofoobar has quit IRC
[16:58:16] *** bengillies has joined #angularjs
[16:59:09] *** mcreager has quit IRC
[16:59:22] *** harvey203 has quit IRC
[16:59:39] <sacho_> are you in a click handler?
[16:59:48] <brango> yes
[17:00:01] *** jelle___ has joined #angularjs
[17:00:02] <jelle___> hi
[17:00:12] <sacho_> that's probably why. I would guess user clicks triggering new windows cause the windows to be added as tabs
[17:00:24] <jelle___> is it possible to cancel all $http requests that are running?
[17:00:43] *** mokush has quit IRC
[17:00:43] <sacho_> since the callback of .then() isn't executed as part of your click handler, it uses different behavior.
[17:00:56] <sacho_> browsers have a bunch of rules about these. I'm not sure it's standardized or documented.
[17:01:00] *** GAWD has joined #angularjs
[17:01:02] *** the_fog has quit IRC
[17:01:11] *** xaxisx has quit IRC
[17:01:14] <ansu> hey can anyone guide me into the right direction for achieving this: i have a modal that contains a form for uploading a file. right now the api call to upload the file is in the controller of the modal instance, but this modal is called from different states and which api endpoint to call depends on the state the modal is called from.
[17:01:37] *** xaxisx has joined #angularjs
[17:01:47] *** edrocks has quit IRC
[17:02:04] *** arizzo has quit IRC
[17:02:06] *** encryptd_fractl has joined #angularjs
[17:02:11] *** LuxuryMode has joined #angularjs
[17:02:45] *** frankblizzar has quit IRC
[17:02:57] *** xaxisx has quit IRC
[17:03:12] *** arizzo has joined #angularjs
[17:03:35] <sacho_> you could which endpoint to use as an attribute.
[17:03:38] *** encryptd_fractl has joined #angularjs
[17:03:52] *** xaxisx has joined #angularjs
[17:04:21] *** Billy_ has quit IRC
[17:04:23] *** chrislerum has quit IRC
[17:04:43] *** avens has joined #angularjs
[17:04:46] *** danielpquinn has joined #angularjs
[17:04:54] *** tagazok has joined #angularjs
[17:04:57] *** markalanevans has quit IRC
[17:04:58] *** tarnus has quit IRC
[17:05:30] *** tarnus has joined #angularjs
[17:05:33] <sacho_> alternatively, have a ModalFactory() which creates models(or just configuration) for your modal. Call it from whever you're opening the modal, and pass it to your directive.
[17:05:42] *** Somatt_wrk has joined #angularjs
[17:05:44] *** sonofdirt has joined #angularjs
[17:06:05] *** Guest59723 is now known as InezK_away
[17:06:26] *** tagazok has quit IRC
[17:06:35] *** InezK_away is now known as Guest60028
[17:06:40] *** arizzo has quit IRC
[17:06:45] *** shader has joined #angularjs
[17:06:55] *** arizzo has joined #angularjs
[17:07:18] *** badon has quit IRC
[17:07:22] *** jbourassa has quit IRC
[17:07:26] <shader> I'm having some weird CORS issues with the Restangular module on a pre-flighted delete request; has anyone else had a similar problem?
[17:07:34] *** uffs has left #angularjs
[17:07:36] *** chrislerum has joined #angularjs
[17:07:51] *** badon has joined #angularjs
[17:08:04] *** dutis has quit IRC
[17:08:12] <ansu> sacho_, how would you pass the attribute to the modal instance using $modal.open() using the scope option?
[17:08:18] *** bengillies has quit IRC
[17:08:23] <davek> Ahhh day 2 of image upload hell.
[17:08:39] <sacho_> what's modal.open()
[17:08:51] *** blueadept has joined #angularjs
[17:08:54] *** Shrooms has joined #angularjs
[17:09:18] *** MuffinMan` has joined #angularjs
[17:09:19] *** jstroem has joined #angularjs
[17:09:33] *** danielpquinn has quit IRC
[17:09:48] <ansu> thats the $modal service from angular-ui
[17:10:11] *** tarnus has quit IRC
[17:10:15] <ansu> davek, did you try angular-file-upload?
[17:10:32] *** Bodin- has joined #angularjs
[17:10:34] *** k-dawg has quit IRC
[17:10:43] *** robteix has joined #angularjs
[17:11:16] *** matiasow has joined #angularjs
[17:11:32] *** pluma has quit IRC
[17:11:57] <davek> ansu, yes its useless. The issue isn't the client side either way.
[17:12:18] *** CodeFriar has joined #angularjs
[17:12:36] *** danethurber has joined #angularjs
[17:12:44] *** mguillec_ has joined #angularjs
[17:12:49] *** mguillech has quit IRC
[17:13:05] *** bengillies has joined #angularjs
[17:13:38] *** jstroem has quit IRC
[17:13:56] *** masak_grr is now known as masak
[17:13:57] *** Siecje has quit IRC
[17:15:04] *** UniBot has quit IRC
[17:15:06] *** nxf has quit IRC
[17:15:38] *** jtimon has quit IRC
[17:16:26] *** stodan has quit IRC
[17:16:29] *** lucasefe has joined #angularjs
[17:16:41] *** mchammer has quit IRC
[17:16:49] *** eperez has joined #angularjs
[17:17:23] <ansu> sacho_, it's from the $modal service from angular-ui, but anyway i figured it out how to pass the attribute :)
[17:17:56] *** mennea has quit IRC
[17:18:35] *** davek has quit IRC
[17:18:59] *** cisox is now known as cisox_away
[17:19:06] *** dutis has joined #angularjs
[17:19:31] *** cisox_away is now known as cisox
[17:19:54] *** Tomdarkness has joined #angularjs
[17:20:14] *** bradmc has joined #angularjs
[17:20:16] *** edrocks has joined #angularjs
[17:20:23] *** selvait90 has joined #angularjs
[17:20:24] *** davestone has joined #angularjs
[17:20:47] *** Fide has quit IRC
[17:21:35] *** peldan has quit IRC
[17:22:32] *** davek has joined #angularjs
[17:22:41] *** johnnyfive has joined #angularjs
[17:23:14] *** GAWD has quit IRC
[17:23:32] *** djam90 has quit IRC
[17:23:34] <selvait90> Hi everyone,
[17:23:34] <selvait90> I have directive which contains a directive. how to access the scope variable from child directive to parent directive.
[17:23:39] <selvait90> Ex:
[17:23:39] <selvait90> Child directive have scope variable - $scope.childBoolean in link function
[17:23:40] <selvait90> I need to watch this on parent directive link function. any ideas ?
[17:23:59] *** altious has quit IRC
[17:24:15] *** VeeWee has quit IRC
[17:24:17] *** LakWork has joined #angularjs
[17:24:50] *** Daven_ has joined #angularjs
[17:24:52] *** BobbieBarker has quit IRC
[17:24:55] *** snyx has quit IRC
[17:25:31] *** apetro__ has joined #angularjs
[17:25:47] *** icfantv has joined #angularjs
[17:25:54] *** LakWork has quit IRC
[17:26:13] *** bkuberek has joined #angularjs
[17:26:19] *** partikus has joined #angularjs
[17:26:26] *** partikus has quit IRC
[17:26:31] *** hannesvdvreken has quit IRC
[17:27:00] *** brango has quit IRC
[17:27:19] *** edrocks has quit IRC
[17:27:20] *** aviraldg has quit IRC
[17:27:42] <jeffszusz> is it possible to use $scope.go and populate the resulting URL with a $stateParams value?
[17:27:44] *** marmalade___ has joined #angularjs
[17:27:47] <marmalade___> hey
[17:27:59] *** olveraricardo72 has joined #angularjs
[17:28:09] *** edrocks has joined #angularjs
[17:28:10] <jeffszusz> I'm passing in a toParams argument to $state.go and it's not being placed into the URL
[17:28:11] *** altious has joined #angularjs
[17:28:19] *** teslanick has left #angularjs
[17:28:25] *** zumba_addict has joined #angularjs
[17:28:26] <marmalade___> im trying to set the first input[radio] inside an ng-repeat to be selected
[17:28:31] <marmalade___> anyone have an idea of how i would do that?
[17:28:46] <zumba_addict> hey guys, where is the ideal location of spinner when we are doing a $http.get?
[17:29:14] *** apetro_ has quit IRC
[17:29:47] *** Daven_ has quit IRC
[17:30:27] *** Limarson has joined #angularjs
[17:30:27] *** vbabiy has quit IRC
[17:30:50] *** intellix has quit IRC
[17:31:22] *** jtimon has joined #angularjs
[17:31:30] *** snapwich has joined #angularjs
[17:31:30] *** Milanito has quit IRC
[17:31:32] *** Limarson2 has quit IRC
[17:31:57] *** H1FuelCell has quit IRC
[17:32:06] <bradmc> zumba_addict: I like to put it on the button
[17:32:25] *** bkuberek_ has joined #angularjs
[17:32:33] <bradmc> I have a button directive that handles that for me
[17:32:47] <bradmc> it requires bootstrap and font-awesome
[17:32:52] <zumba_addict> i'm so sorry, I meant, if making $http.get call, where can I inject the code?
[17:32:56] *** juapy_otp is now known as juampy
[17:33:04] *** HelperW_ has quit IRC
[17:33:37] <bradmc> ah. in the controller?
[17:33:56] *** slecuyer has joined #angularjs
[17:34:04] *** eperez has quit IRC
[17:34:12] *** lordkryss has quit IRC
[17:34:20] <zumba_addict> it's because of .then
[17:34:26] <zumba_addict> but that's after we get the data
[17:34:34] *** HypnotiX has quit IRC
[17:34:44] *** bkuberek has quit IRC
[17:34:45] <zumba_addict> found this which maybe is what i'm looking for - http://stackoverflow.com/questions/16778140/show-spinner-on-multiple-http-calls-angularjs
[17:34:46] <bradmc> just put it before your $http call
[17:34:52] *** lordkryss has joined #angularjs
[17:34:56] <zumba_addict> oh ok
[17:35:02] *** Siecje has joined #angularjs
[17:35:12] *** lewix has joined #angularjs
[17:35:12] *** pdillinger1 has quit IRC
[17:35:22] <bradmc> then remove/hide it in the .then
[17:35:23] <zumba_addict> then after we have received the data, hide it right?
[17:35:27] <zumba_addict> got it
[17:35:27] <bradmc> yep
[17:35:29] <zumba_addict> sweet
[17:35:49] <zumba_addict> now, I need to look for a nice spinner :)
[17:35:52] *** GAWD has joined #angularjs
[17:35:53] <zumba_addict> i want to see yours
[17:35:57] <bradmc> font-awesome
[17:35:59] <bradmc> ok.
[17:36:00] <zumba_addict> you have a demo link?
[17:36:02] *** terranca has quit IRC
[17:36:08] <bradmc> let me find an old plunker
[17:36:13] <zumba_addict> awesome
[17:37:14] *** chrisbirk has quit IRC
[17:38:33] *** avens has quit IRC
[17:38:44] *** shorne has quit IRC
[17:38:57] <chrysn> i need two conceptionally distinct models attached to a dom node, each managed by a dedicated controller
[17:39:04] <chrysn> how can i attach two controllers to one node?
[17:39:07] <bradmc> well crap. I can't find it. I'll have to make another one
[17:39:26] <zumba_addict> no worries, i'll search font awesome
[17:39:54] <chrysn> (i tried ng-controller="[model1, model2]" as well as ng-controller="model1 model2" and "model1,model2")
[17:41:05] *** aviraldg has joined #angularjs
[17:41:09] *** mewm has quit IRC
[17:41:18] *** dcherman2 has joined #angularjs
[17:41:19] *** guyc has left #angularjs
[17:41:47] <chrysn> i can of course attach them to nested elements, but would prefer not to arbitrarily add nested divs
[17:41:49] *** danielpquinn has joined #angularjs
[17:42:06] *** ckboii89 has joined #angularjs
[17:42:26] *** tarnus has joined #angularjs
[17:42:33] <zumba_addict> i've never used that kind of syntax chrysn. I always just use single controller name
[17:43:27] <chrysn> zumba_addict: single controller name?
[17:43:36] *** Natsu- has quit IRC
[17:43:43] *** foo-bar- has quit IRC
[17:43:48] *** cthrax_ has joined #angularjs
[17:43:53] *** robteix has quit IRC
[17:44:06] <encryptd_fractl> chrysn: you can't
[17:44:34] *** dcherman has quit IRC
[17:44:55] <chrysn> encryptd_fractl: why? does that mean that recommended practice would be to create a dedicated merged controller that inherits from both?
[17:45:11] *** eperez has joined #angularjs
[17:45:13] <encryptd_fractl> if they were directives and not controllers it might work
[17:45:13] *** jstroem has joined #angularjs
[17:45:31] *** Crelex has joined #angularjs
[17:45:37] *** dcherman has joined #angularjs
[17:45:55] <Crelex> I need some help sending this JSON data to my web api, is telling me the URI is too long could you guys take a look at the JSON object and make some suggestions?
[17:45:56] <Crelex> http://pastebin.com/57WprgYe
[17:45:57] *** Mr_Tac has joined #angularjs
[17:46:10] <chrysn> encryptd_fractl: i'll try converting them to directives, thanks
[17:46:11] <encryptd_fractl> I would say shared functionality would be abstracted into services or directives, and then a single controller would pull in the services it needs, or directives attached in the dom to handle pieces
[17:46:34] *** dcherman2 has quit IRC
[17:46:56] *** lucasefe has quit IRC
[17:46:57] *** ckboii89 has quit IRC
[17:47:22] *** mtsr has quit IRC
[17:47:42] *** intellix has joined #angularjs
[17:48:12] *** nihi|ist has joined #angularjs
[17:48:20] *** rho has quit IRC
[17:49:13] *** umib0zu has joined #angularjs
[17:49:28] <arek_at_work> how do we check if url matches state pattern in ui-router
[17:49:42] *** jerev is now known as jerev_away
[17:49:44] *** edrocks has quit IRC
[17:49:47] *** nytram has quit IRC
[17:50:18] <Tomdarkness> Crelex: Are you using GET?
[17:50:29] <Crelex> POST
[17:50:34] <Crelex> should I use GET?
[17:50:42] <Tomdarkness> No
[17:50:50] <Crelex> didnt think so.. shit is bugging me
[17:50:56] <Crelex> thanks for looking at it at least
[17:50:59] *** shinnya has quit IRC
[17:51:09] <bradmc> zumba_addict: finally foudn an old plunker. Didn't realize I wasn't logged in and apparenlty I can only see some of my plunkers if I'm not logged in http://plnkr.co/edit/JX0iRDj9jOAmjdhFh0AO?p=preview
[17:51:11] <Crelex> my boss says there is a different way, find it..
[17:51:11] *** tfennelly has quit IRC
[17:51:16] *** Milanito has joined #angularjs
[17:51:27] *** Joulse has quit IRC
[17:51:40] *** Milanito has joined #angularjs
[17:51:45] *** CodeFriar has quit IRC
[17:51:55] *** Joulse has joined #angularjs
[17:52:18] *** bryon_ is now known as lrr_
[17:52:22] *** fbenoit has quit IRC
[17:52:27] *** morenoh149 has joined #angularjs
[17:52:29] *** davek has quit IRC
[17:52:48] <arek_at_work> Crelex: whats the problem ?
[17:52:56] *** davek has joined #angularjs
[17:52:58] <arek_at_work> You are sending data via params?
[17:53:14] <arek_at_work> json :D data?
[17:53:20] *** cisox is now known as cisox_away
[17:53:22] *** cthrax_ is now known as cthrax
[17:53:23] *** hychen has quit IRC
[17:53:33] *** jelle___ has quit IRC
[17:53:35] *** vintik has joined #angularjs
[17:53:36] *** tres_ has joined #angularjs
[17:54:27] *** conner_ has quit IRC
[17:54:28] *** cisox_away is now known as cisox
[17:54:32] *** combat has quit IRC
[17:54:45] *** arizzo has quit IRC
[17:54:54] *** bradmc has quit IRC
[17:55:10] *** chrislerum has quit IRC
[17:55:19] *** arizzo has joined #angularjs
[17:55:21] *** davestone has quit IRC
[17:55:56] *** waylon999 has joined #angularjs
[17:56:15] *** geoid has quit IRC
[17:56:17] *** chrislerum has joined #angularjs
[17:56:32] *** markalanevans has joined #angularjs
[17:56:51] *** homework1 has joined #angularjs
[17:56:53] *** foo-bar- has joined #angularjs
[17:57:00] *** DANtheBEASTman has joined #angularjs
[17:57:13] <encryptd_fractl> I have two questions: 1) How can I inject a provider I've created into another provider (NOT into another provider's $get function). 2) Is there a way to improve the errors thrown during 'bootup phase'? If you look at my plunkr the error is just 'Uncaught object' in the console - I have to set a breakpoint at the `throw $injectorMinErr` line to read the actual error. In chrome.
[17:57:14] <encryptd_fractl> http://plnkr.co/edit/Uke4vRjUr5uXNDkdAEBU?p=preview
[17:57:43] *** danizord has joined #angularjs
[17:57:44] *** svycka has quit IRC
[17:57:50] <stork> is it weird to add an ng-controller to an element just so it has an isolate scope? I don't plan on actually putting any methods/values in that controller (the contained directives will use it though)
[17:57:59] *** lrr_ is now known as lrrr
[17:58:03] <Crelex> arek sorry was afk
[17:58:05] <homework1> Quick Protractor question. If I have my e2e tests in multiple files, but I need the Login Tests to run first ( so it logs into the app, before running the other tests) how do I configure that?
[17:58:17] <Crelex> yes I'm attempting to pass that JSON data to a method that will then use that data to resubmit a "GateActivity"
[17:58:24] *** darrin has quit IRC
[17:59:49] *** blueadept has quit IRC
[17:59:49] <encryptd_fractl> I don't understand why I'm able to inject angular services into my provider, but I can't inject my own provider
[17:59:51] *** lewdev1 has quit IRC
[18:00:35] <encryptd_fractl> I initially wrote Registry as a factory and figured re-writing it as a provider would allow it to be accessed by other providers
[18:01:10] *** spencercarnage has joined #angularjs
[18:01:32] <encryptd_fractl> maybe I can pull in angulars services because they are defined in a different module?
[18:01:46] *** Snugug has quit IRC
[18:01:50] *** lewdev has joined #angularjs
[18:02:44] *** ppppaul has quit IRC
[18:02:55] *** Joulse has quit IRC
[18:02:58] *** intellix has quit IRC
[18:03:28] *** bbankes has joined #angularjs
[18:03:30] <sacho_> test case
[18:03:33] *** pheze has joined #angularjs
[18:04:01] *** Snugug has joined #angularjs
[18:04:04] <sacho_> perhaps your provider is in module x, which you don't have as a dependency in module y, where you try to inject it
[18:04:06] <encryptd_fractl> sacho_: if that was to me, http://plnkr.co/edit/Uke4vRjUr5uXNDkdAEBU?p=preview
[18:04:12] *** Snugug has quit IRC
[18:04:36] *** dutis has quit IRC
[18:04:40] *** foo-bar- has quit IRC
[18:04:46] *** jstroem has quit IRC
[18:04:47] *** arizzo has quit IRC
[18:04:50] *** foo-bar- has joined #angularjs
[18:05:14] *** jstroem has joined #angularjs
[18:05:19] <encryptd_fractl> my second question above was why the console error message is not helpful during the 'boot strap' phase - just 'Uncaught object' in the console in Chrome
[18:05:20] *** lrrr is now known as bryon
[18:05:50] *** sonofdirt has quit IRC
[18:05:59] *** brownbathrobe has joined #angularjs
[18:06:02] <morenoh149> https://gist.github.com/morenoh149/bf8a86814983ffbd558e lines 39-41 does that assign those variables to appControllers scope? or is that a different closure?
[18:06:36] *** illume has quit IRC
[18:07:13] <encryptd_fractl> its the same $scope object, so appControllers scope
[18:07:35] *** sonofdirt has joined #angularjs
[18:07:36] *** BillCris_ has joined #angularjs
[18:07:40] *** in_deep_thought has joined #angularjs
[18:07:43] <encryptd_fractl> would be a different object if it were assigning to `this` and not $scope
[18:07:49] *** in_deep_thought has left #angularjs
[18:07:58] *** LuxuryMode has quit IRC
[18:08:04] *** dcherman2 has joined #angularjs
[18:08:08] *** richardbaker has joined #angularjs
[18:08:18] *** tell34 has joined #angularjs
[18:08:33] *** Milanito has quit IRC
[18:08:35] *** brownbathrobe has quit IRC
[18:09:13] *** partikus has joined #angularjs
[18:09:34] *** dcherman has quit IRC
[18:09:55] <Emperor_Earth> davek, you there?
[18:09:59] *** arizzo has joined #angularjs
[18:10:04] <shackleford> I have service that serves up data from an API, and then assign it to a variable in the controller
[18:10:06] <tell34> im trying to use $http but it uses method "OPTIONS" which the server does not understand? https://gist.github.com/obama/79480dd6f31888d8f7a0
[18:10:07] *** vintik has quit IRC
[18:10:12] *** jdcasey has quit IRC
[18:10:15] *** ETBlue has quit IRC
[18:10:19] *** xaxisx has quit IRC
[18:10:23] <shackleford> however, I want to run a lodash on the variable
[18:10:31] <shackleford> to pull out only certain data
[18:10:39] <shackleford> do I need a promise to do this
[18:10:45] <shackleford> any thoughts or suggestions?
[18:11:19] *** dman777_alter has joined #angularjs
[18:11:23] *** BillCriswell has quit IRC
[18:11:24] *** vintik has joined #angularjs
[18:11:26] *** jstroem has quit IRC
[18:11:26] <shackleford> the problem that I am running into is the 2nd variable is undefined, because I don't think the initial data request is complete
[18:11:34] <dman777_alter> to use restangular, am I forced to use lodash?
[18:11:57] *** Shrooms has quit IRC
[18:12:03] *** balboah has quit IRC
[18:12:09] *** jstroem has joined #angularjs
[18:12:14] *** MacWinner has joined #angularjs
[18:12:19] *** pdillinger1 has joined #angularjs
[18:12:21] *** ineedarobot has quit IRC
[18:12:24] *** ustunozg_ has quit IRC
[18:12:42] *** jamesshijie has quit IRC
[18:13:02] *** LuxuryMode has joined #angularjs
[18:13:02] *** mmitchell has joined #angularjs
[18:13:04] <Emperor_Earth> for those seeking a challenge: how would you design client side user handler assuming ui-route, angularjs, and restangular. unless i'm grokking it wrong, handling users as abstract parent states seems really clunky in this use case (REST backend golang, mariadb, but it's just RESTfully feeding json) http://plnkr.co/edit/oktwycXuUdY5ClBw4fAX?p=preview
[18:13:05] <encryptd_fractl> tell34: its a different domain so the server must understand CORS and respond to OPTIONS
[18:13:14] <Emperor_Earth> ui-router*
[18:13:22] <tell34> can i disable this?
[18:13:33] <morenoh149> encryptd_fractl: then I can't for the life of me figure out why $scope.result is not in any of the scopes in my app
[18:13:43] <LuxuryMode> I have a directive that compiles a templateUrl, but for some reason when I use this directive in an ng-repeat I see one item which is properly bound to the isolate scope and another item that shows up without any expressions evaluated. Any ideas on how to fix this?
[18:13:49] *** edrocks has joined #angularjs
[18:14:13] <morenoh149> encryptd_fractl: more importantly the variables just aren't being set in the way I'm expecting and I can't use the data from the promise's result object
[18:14:24] *** arizzo has quit IRC
[18:14:39] <encryptd_fractl> morenoh149: try window.s = $scope, console.logging inside the then() to noodle around?
[18:14:56] <morenoh149> the code runs. I see the console.log in the console and can see a populated result object. But when I later try to use the $scope.blah they're undefined
[18:15:24] *** arizzo has joined #angularjs
[18:15:32] *** cisox is now known as cisox_away
[18:15:56] *** dbouwman has quit IRC
[18:16:11] *** vintik has quit IRC
[18:16:13] <encryptd_fractl> hmm not sure. i'd try the window.s = $scope and running s.results in the console
[18:16:16] *** roymilde_ has quit IRC
[18:16:17] <sacho_> encryptd_fractl, did anyone answer your question
[18:16:26] *** cthrax has quit IRC
[18:16:27] *** jstroem has quit IRC
[18:16:28] <encryptd_fractl> maybe theres an intermediate scope introduced that also has a results property on it
[18:16:28] <sacho_> encryptd_fractl, the $get method has to be a factory
[18:16:28] *** lsiv568 has quit IRC
[18:16:30] <encryptd_fractl> sacho_: no
[18:16:41] <sacho_> (it has to return an object)
[18:16:50] <encryptd_fractl> oh, the code isn't even getting that far
[18:16:51] *** MacWinner has quit IRC
[18:16:52] *** kcccccc has quit IRC
[18:16:57] <encryptd_fractl> i did a slimmed down example
[18:17:02] *** cctom has quit IRC
[18:17:29] <encryptd_fractl> its failing at this line app.provider('Alerts', function(Registry) {
[18:17:34] <davek> Emperor_Earth in a manner of speaking yeah.
[18:17:36] <encryptd_fractl> can't find Registry
[18:17:44] *** senayar has quit IRC
[18:17:54] *** marcghorayeb has quit IRC
[18:18:02] <Emperor_Earth> davek, when you're free, i'd like to continue our convo with a bit more detail on my end
[18:18:19] *** senayar has joined #angularjs
[18:18:35] *** senayar has quit IRC
[18:18:48] *** rho has joined #angularjs
[18:18:58] *** Hounddog has quit IRC
[18:19:02] *** H1FuelCell has joined #angularjs
[18:19:04] *** senayar has joined #angularjs
[18:19:06] *** jacuqesdancona_ has quit IRC
[18:19:11] <lordkryss> http://stackoverflow.com/questions/13781685/angularjs-ng-src-equivalent-for-background-imageurl am i wrong or that is incorrect?
[18:19:25] *** ccohn has joined #angularjs
[18:19:29] <lordkryss> it doesn't work like if you use something from the scope for the url
[18:19:41] *** selvait90 has quit IRC
[18:19:41] *** jacuqesdancona_ has joined #angularjs
[18:20:12] *** nemothekid has joined #angularjs
[18:20:14] *** joshbrw has quit IRC
[18:20:15] <encryptd_fractl> sacho_: think this is a more correct factory version - http://plnkr.co/edit/Uke4vRjUr5uXNDkdAEBU?p=preview
[18:20:29] *** MacWinner has joined #angularjs
[18:20:31] *** lucasefe has joined #angularjs
[18:20:41] *** MacWinner has quit IRC
[18:20:42] *** cthrax has joined #angularjs
[18:21:19] *** MacWinner has joined #angularjs
[18:22:02] *** kayloos has quit IRC
[18:22:23] <encryptd_fractl> eh, well I've wasted too much time on this. Think I'll just add Registry as a function on `_` and not use angular to share access to it
[18:22:42] *** lewix has quit IRC
[18:22:44] *** fouadm has joined #angularjs
[18:22:46] *** yoshokatana has quit IRC
[18:23:15] *** Hounddog has joined #angularjs
[18:23:32] *** arizzo has quit IRC
[18:23:51] *** nemothekid has quit IRC
[18:24:04] *** jdcasey has joined #angularjs
[18:24:13] *** jacuqesdancona_ has quit IRC
[18:24:22] <morenoh149> encryptd_fractl: window.s = $scope return $scope is not defined
[18:24:25] *** Milanito has joined #angularjs
[18:24:29] <encryptd_fractl> thanksthanks for the help sacho_
[18:24:55] *** arizzo has joined #angularjs
[18:25:05] *** texinwien has joined #angularjs
[18:25:12] *** cbeacock has quit IRC
[18:25:17] <davek> Emperor_Earth in a manner of speaking yeah.
[18:25:17] <davek> Well that was weird...
[18:25:18] <davek> I'll be free in about 30.
[18:25:31] *** nicholaswyoung has joined #angularjs
[18:25:34] *** edrocks has quit IRC
[18:25:39] <Emperor_Earth> davek, awesome, thanks
[18:25:46] *** disorder20 has joined #angularjs
[18:26:11] <chexxor> which notification module are people using nowadays? toastr? angular-toaster?
[18:26:16] *** cisox_away has quit IRC
[18:26:16] <sacho_> encryptd_fractl, http://plnkr.co/edit/3z0lmssYjeT72YjPnAwc?p=preview
[18:26:23] *** wartdev has joined #angularjs
[18:26:26] <sacho_> encryptd_fractl, sorry, I'm in a meeting, can't respond fast :P
[18:26:41] *** disorder20 has quit IRC
[18:26:51] *** milka has quit IRC
[18:26:53] <encryptd_fractl> Ahhh! +100 sacho_
[18:26:54] <encryptd_fractl> RegistryProvider
[18:27:11] *** tfennelly has joined #angularjs
[18:27:14] <encryptd_fractl> thats awesome, thank you
[18:27:14] *** mkulke has quit IRC
[18:27:15] <sacho_> keep in mind RegistryProvider == `this` in your provider('Registry')
[18:27:23] *** zwacky has joined #angularjs
[18:28:35] *** dbouwman has joined #angularjs
[18:28:53] <encryptd_fractl> morenoh149: try adding `window.s = $scope` inside your appcontroller.js file, and then from the web inspectors console you can play around with the `s` variable
[18:29:11] *** arabot has joined #angularjs
[18:29:19] *** arizzo has quit IRC
[18:29:30] *** arabot has left #angularjs
[18:29:31] *** Guest_ has joined #angularjs
[18:29:33] *** mnngfltg has quit IRC
[18:29:35] <encryptd_fractl> yea I guess that makes sense, similar to the auto-created <serviceName>Provider
[18:29:44] <sacho_> encryptd_fractl, I guess this is what you wanted to do - http://plnkr.co/edit/lSCQlycjT3XorBJKS5IF?p=preview
[18:30:04] *** davek has quit IRC
[18:30:11] *** Emperor_Earth has quit IRC
[18:30:20] *** arizzo has joined #angularjs
[18:30:21] *** intellix has joined #angularjs
[18:30:21] <sacho_> the new function is silly, I was just trying to modify your code as little as possible
[18:30:32] *** Emperor_Earth has joined #angularjs
[18:30:37] *** Guest29995 has quit IRC
[18:30:38] <sacho_> (the `new function () {}`, I mean)
[18:30:53] <encryptd_fractl> actually the first example was what I want. Registry is basically like Cache, but it throws if you try and get something that isn't in it
[18:31:04] <encryptd_fractl> so multiple Registry objects would be newed in the app
[18:31:04] *** davek has joined #angularjs
[18:31:23] <encryptd_fractl> one to store modals, one to store alerts, etc.
[18:31:36] <zumba_addict> bradmc, just got off from a meeting
[18:31:45] <encryptd_fractl> just to avoid typos like: Alerts.show("Welcoem")
[18:31:52] <encryptd_fractl> get a reasonable error message
[18:32:36] *** BillCris_ has quit IRC
[18:32:37] *** charuru has joined #angularjs
[18:33:08] <sacho_> if you need multiple objects
[18:33:10] <sacho_> use a factory
[18:33:16] <sacho_> no need to use provider directly :)
[18:33:17] *** GAWD has quit IRC
[18:33:44] *** ldgood has joined #angularjs
[18:34:12] *** Notte has joined #angularjs
[18:34:18] <encryptd_fractl> yea, I'll switch it back to a factory. Thats how I started but then I assumed I couldn't inject a factory into a provider and converted it to a provider
[18:34:24] *** marmalade___ has quit IRC
[18:34:34] *** discipolo has quit IRC
[18:34:47] *** altious has quit IRC
[18:34:55] *** blueadept has joined #angularjs
[18:34:56] *** blueadept has joined #angularjs
[18:34:57] *** ldgood has quit IRC
[18:34:59] *** arizzo has quit IRC
[18:35:27] *** ldgood has joined #angularjs
[18:35:45] *** yoshokatana has joined #angularjs
[18:36:12] *** seydoggy_ has quit IRC
[18:36:22] *** spencercarnage has quit IRC
[18:36:27] *** bhushan has joined #angularjs
[18:36:37] <bhushan> hi
[18:36:39] *** snurfery has joined #angularjs
[18:36:44] *** DevAntoine has quit IRC
[18:36:48] *** seydoggy has joined #angularjs
[18:36:49] *** Somatt_wrk has quit IRC
[18:36:50] *** bhushan is now known as Guest7375
[18:37:01] <sacho_> encryptd_fractl, you can't inject a factory in a provider :)
[18:37:10] <encryptd_fractl> hehe
[18:37:17] <encryptd_fractl> not even its Provider ?
[18:37:20] *** arizzo has joined #angularjs
[18:37:23] <Guest7375> are there any issues using jquery mobile with angularjs??
[18:37:28] <sacho_> you could inject its provider
[18:37:31] *** Abhijit has joined #angularjs
[18:37:32] *** partikus has quit IRC
[18:37:38] <sacho_> but that's basically what was happening
[18:37:44] <sacho_> why do you want an alerts provider
[18:37:45] *** jdj_dk_ has quit IRC
[18:37:54] *** Abhijit has left #angularjs
[18:37:56] *** dcherman has joined #angularjs
[18:37:59] *** Asiajey has quit IRC
[18:38:22] *** Gambit- has joined #angularjs
[18:38:22] *** Sijdesign has joined #angularjs
[18:38:33] <Sijdesign> hey im using twitter bootstrap but im not sure how to get a modal window to work, can some one help me what i need to do
[18:38:52] <Sijdesign> are you guys using UI bootstrap ?
[18:38:52] *** Guest7375 has quit IRC
[18:39:16] *** Notte has quit IRC
[18:39:47] *** mrogne_afk has quit IRC
[18:39:48] <encryptd_fractl> Alerts.register({ sendChallenge: { templateUrl: "a.html"}, challengeCancelled: { templateUrl: "b.html", data: { foo: true } } })
[18:39:50] *** Milanito has quit IRC
[18:39:54] <encryptd_fractl> *AlertsProvider.register
[18:40:07] *** xaxisx has joined #angularjs
[18:40:07] <encryptd_fractl> register all the allowed alerts in 1 config file
[18:40:18] <encryptd_fractl> then in the app Alerts.show('sendChallenge')
[18:40:25] *** slainer68 has quit IRC
[18:40:35] *** edrocks has joined #angularjs
[18:40:37] <encryptd_fractl> vs scattering Alerts.show({templateUrl: 'b.html', data: { foo: 1} }) all throughout app
[18:40:45] *** edrocks has quit IRC
[18:40:46] <morenoh149> encryptd_fractl: thanks so much that lets me look at the result set at least :)
[18:41:23] *** seydoggy has quit IRC
[18:41:23] *** dcherman2 has quit IRC
[18:41:32] *** tfennelly has quit IRC
[18:41:43] *** wxo has joined #angularjs
[18:41:49] *** dcherman2 has joined #angularjs
[18:42:09] <encryptd_fractl> np :]
[18:42:21] *** Kismet010 has joined #angularjs
[18:42:27] *** Limarson has quit IRC
[18:42:33] <Crelex> If anyone could help me with this issue i'm having I'll be forever grateful: I've included the Javascript, ExternalController.cs method, and the JSON i'm attempting to pass to that method
[18:42:33] <Crelex> http://pastebin.com/UV7hbcSb
[18:42:52] *** dcherman has quit IRC
[18:42:58] <encryptd_fractl> i haven't used a provider like this before, but it looks like they way to seperate generic behavior (an alert box ui service) from app-specific config (what the alerts are and their messaging in this app)
[18:42:59] *** chrisbirk has joined #angularjs
[18:43:02] <encryptd_fractl> *the way
[18:43:04] *** H1FuelCell has quit IRC
[18:43:05] *** ckboii89 has joined #angularjs
[18:43:17] *** ustunozgur has joined #angularjs
[18:43:44] *** joshbrw has joined #angularjs
[18:43:55] <encryptd_fractl> in the past I've introduced 2 services to do this sort of thing but thought I'd give the provider approach a shot
[18:43:55] *** tell34 has quit IRC
[18:44:58] *** Tidwell has quit IRC
[18:45:05] *** TehShrike|Work has quit IRC
[18:45:15] *** OddDuck has joined #angularjs
[18:45:17] *** Tidwell has joined #angularjs
[18:45:35] <Sijdesign> sometimes i see this var mainApp = angular.module('mainApp', ['mainCtrl', 'ui.bootstrap']); other times i just see this var ModalDemoCtrl = function ($scope, $modal, $log) {
[18:45:45] <Sijdesign> when to use angular.module and when to not use it ?
[18:45:58] *** patricka_ has joined #angularjs
[18:46:10] <Crelex> I updated that pastebin ... i had the wrong damn PostActivity from the controller
[18:46:11] <Crelex> http://pastebin.com/Ld6YiFev
[18:46:11] *** davestone has joined #angularjs
[18:46:23] <jaawerth_> Sijdesign: the official stance from google, IIRC, is to only use angular.module once for each module you're declaring
[18:46:47] <bd> is it?
[18:46:47] *** klaut has quit IRC
[18:47:02] <jaawerth_> I read that in their style guide recently. I don't think it's a huge deal if you don't. one sec, let me see if I can find it again...
[18:47:13] <LuxuryMode> If I have an entire div that is clickable, but I also have a button in there that's clickable, is there a way to have clicks register only on the button?
[18:47:20] *** discipolo has joined #angularjs
[18:47:31] *** ckboii89 has quit IRC
[18:47:42] <Sijdesign> okay thanks jaawerth_ was just a little confused, im still new to Angularjs :D
[18:47:43] *** nemothekid has joined #angularjs
[18:47:52] <encryptd_fractl> <button ng-click="$event.preventDefault(); doThing()"> LuxuryMode works I think
[18:47:58] *** senayar has quit IRC
[18:48:05] <LuxuryMode> encryptd_fractl thanks
[18:48:08] <bd> from style guide, i thought you use angular.module to declare the module in one of the files, then in the other ones -controller.js -directive.js etc, you use angular.module to include them in the main module
[18:48:16] <encryptd_fractl> err maybe stopPropogation() is what you want
[18:48:24] *** dylukes has joined #angularjs
[18:48:30] *** senayar has joined #angularjs
[18:48:37] <morenoh149> encryptd_fractl: ah it was that I wasn't doing return from my map(callback)
[18:48:45] <encryptd_fractl> ahh
[18:48:46] <jaawerth_> bd: ah, here we go https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub under "Module definitions"
[18:48:47] <Sijdesign> okay thanks bd i just saw angular-ui that they dont use that angular.module :S
[18:48:48] *** eperez has quit IRC
[18:48:49] <encryptd_fractl> doh
[18:48:50] <bd> so, /components/component.js has angular.module('blah.component', []); and /components/component-controller.js has angular.module('blah.component');
[18:48:57] *** tsalb has joined #angularjs
[18:49:00] *** tfennelly has joined #angularjs
[18:49:01] <LuxuryMode> encryptd_fractl does that work only for a button? I actually have an <img> that's clickable and preventDefault doesn't seem to work
[18:49:10] *** H1FuelCell has joined #angularjs
[18:49:11] *** patrickarlt has quit IRC
[18:49:24] <jaawerth_> Sijdesign: I just do it the variable way. var myModule = angular.module('SomeModule');, then myModule.controller, myModule.service, etc
[18:49:26] <encryptd_fractl> try $event.stopPropagation() instead
[18:49:31] <LuxuryMode> encryptd_fractl thanks alot
[18:49:58] <Sijdesign> jaawerth_ are you using twitter bootstrap too ?
[18:50:01] *** stirlingw has joined #angularjs
[18:50:04] <dman777_alter> does restangular have a straight out api list?
[18:50:20] <bd> yea, that style guide says you use angular.module multiple times for each module/component
[18:50:24] <Sijdesign> jaawerth_ or anguar-ui ?
[18:50:27] <bd> but only declare the module once, obviously
[18:50:33] *** GAWD has joined #angularjs
[18:50:39] *** tfennelly has quit IRC
[18:50:42] *** shader has quit IRC
[18:50:54] *** ecantin has joined #angularjs
[18:51:07] <jaawerth_> bd: Well, that's not obvious, and an important distinction, because a lot of people use angular.module multiple times for the same module
[18:51:11] *** arizzo has quit IRC
[18:51:16] <Sijdesign> i just cant get this to work http://getbootstrap.com/javascript/#modals
[18:51:33] <jaawerth_> of course you use it for every module you declare, otherwise you wouldn't be able to declare the module ;-)
[18:51:43] *** arizzo has joined #angularjs
[18:51:55] <encryptd_fractl> i figured it would throw an error if you tried to declare dependencies more than once for a module
[18:52:03] <bd> i thought it throws error if you try declare the same module name multiple times?
[18:52:07] <jaawerth_> Sijdesign: I'll take a look. I sometimes use angular-bootstrap (and I often use it to quickly scaffold out an app and the nswitch it out later), but I just don't always use bootstrap
[18:52:37] *** nemothekid has quit IRC
[18:52:46] <encryptd_fractl> i think the discussion is `app = angular.module('x', dependencies); app.controller()...` vs `angular.module('x', dependencies); angular.module('x').controller()...` right?
[18:52:50] *** ajax_ has joined #angularjs
[18:53:01] <jaawerth_> exactly, what encryptd_fractl said
[18:53:04] <encryptd_fractl> i seem to recall google style guide recommending the former
[18:53:04] *** arizzo has quit IRC
[18:53:07] *** senayar has quit IRC
[18:53:11] <jaawerth_> yep
[18:53:16] *** arizzo has joined #angularjs
[18:53:37] *** msafi1 has quit IRC
[18:53:38] *** chrisbirk has quit IRC
[18:53:52] <jaawerth_> Sijdesign: so what's giving you trouble/happening when you try to use a modal?
[18:53:52] <encryptd_fractl> i'm not sure why thats any better though. Its an extra thing to keep track of, kind of assumes a single module view of things, you get a reasonable error message either way.
[18:53:55] <bd> i don't think you can do the former while following the style guide
[18:53:57] <ajax_> is there tutorial for Angular JS with PHP?
[18:53:58] *** msafi has joined #angularjs
[18:54:04] *** xaxisx has quit IRC
[18:54:05] <bd> you'd have to wrap them all in the same file, or dump those variables in global scope
[18:54:30] *** spencercarnage has joined #angularjs
[18:55:15] *** ajax_ has quit IRC
[18:55:36] <jaawerth_> well modules are pretty high-level, IMO they're exactly the sort of thing that SHOULD be in global scope
[18:55:59] *** jstroem has joined #angularjs
[18:56:06] <jaawerth_> but even if you don't, you can still concat
[18:56:06] *** mennea has joined #angularjs
[18:56:20] *** gnarMatix has joined #angularjs
[18:56:28] *** AlexAbraham has joined #angularjs
[18:56:32] <encryptd_fractl> why add them to the global scope if theres another way to get at them that doesn't require adding to the global scope?
[18:56:33] <AlexAbraham> hey
[18:56:36] <Sijdesign> 2sec. jaawerth_ i will make a jsfibble
[18:56:40] <AlexAbraham> anyone here use angular-strap?
[18:56:54] <AlexAbraham> I need help positioning an alert inside a modal
[18:56:58] *** Guest_ has quit IRC
[18:57:07] <jaawerth_> encryptd_fractl: depends on the pros and cons of the other method I guess. ANyway, I was just pointing at what teh style guide says, I'm sure the merits are debatable
[18:57:09] <Sijdesign> jaawerth_ http://jsfiddle.net/j7FNq/1/
[18:57:10] *** RobinBAwesome has joined #angularjs
[18:57:14] *** OnkelTem has quit IRC
[18:57:17] <bd> it doesn't say that in the style guide though
[18:57:26] <jaawerth_> it literally says that in the style guide
[18:57:28] *** raul782 has joined #angularjs
[18:57:30] <bd> where
[18:57:37] <jaawerth_> or rather, the "best practice" guide, sorry
[18:57:39] <Sijdesign> jaawerth_ i just cant get the modal to show when clicking
[18:57:40] *** msafi1 has joined #angularjs
[18:58:09] *** xaxisx has joined #angularjs
[18:58:09] *** OnkelTem has joined #angularjs
[18:58:14] *** msafi has quit IRC
[18:58:29] <encryptd_fractl> yea, we do the 'app object' approach too, not sure why though :]
[18:58:30] <jaawerth_> in the style guide they're storing all the modules in an object to avoid polluting the scope, which is smart
[18:58:37] *** eperez has joined #angularjs
[18:58:51] <jaawerth_> "n general, 'angular.module('foo')' should be called only once. Other modules and files can depend on it, but they should never modify it."
[18:59:14] <bd> i think that's a typo, they mean 'in general angular.module('foo', [ ... ]) should only be called once
[18:59:32] <bd> otherwise the second sentence doesn't make sense
[18:59:32] *** roolo has quit IRC
[19:00:14] *** ustunozgur has quit IRC
[19:00:15] *** bengbeng has joined #angularjs
[19:00:17] *** katsh has joined #angularjs
[19:00:18] *** bkuberek_ has quit IRC
[19:00:34] *** davestone has quit IRC
[19:00:37] *** bengbeng has quit IRC
[19:00:53] *** wallerdev has joined #angularjs
[19:01:00] *** slainer68 has joined #angularjs
[19:01:03] <bd> or they're just saying modules should have unique names
[19:01:06] <encryptd_fractl> eh, actually a con of the angular.module('x').controller() approach is related to my earlier question of why errors that fire in the 'bootstrap phase'(?) are garbage in the console: `Uncaught object` is all
[19:01:12] <encryptd_fractl> that used to not be the case though
[19:01:25] *** Ymesio has quit IRC
[19:01:26] <bd> the uncaught object is chrome bug
[19:01:27] *** cisox has joined #angularjs
[19:01:57] <encryptd_fractl> (the error being, you had a typo: angular.module('fo0') not angular.module('foo'))
[19:02:10] <encryptd_fractl> hmm yea sounds like canary might fix that
[19:02:23] <encryptd_fractl> yep
[19:02:33] *** ryanseddon has quit IRC
[19:02:33] <bd> you'd get an error if you did foo = angular.module('foo',[]) fo0.controller(...) too
[19:02:36] <Sijdesign> jaawerth_ would you have some time to look at my jsFibble
[19:02:39] <Sijdesign> jsFiddle
[19:02:43] <bd> except that one might be more difficult to debug
[19:03:01] *** VeeWee has joined #angularjs
[19:03:04] *** joshbrw has quit IRC
[19:03:04] <encryptd_fractl> yea but that would be a clear `fo0 not defined` error in any browser
[19:03:16] <jaawerth_> Sijdesign: sorry, looking now
[19:03:22] <Sijdesign> Thanks so much
[19:03:38] <bd> yea but it's global scope, so you don't know if your typo'd var already exists from some random 3rd party library
[19:03:52] *** lucasefe has quit IRC
[19:03:55] <bd> i dunno, i personally perfer the angular.module way
[19:04:50] <jaawerth_> Sijdesign: it appears in this jsfiddle that you're usually the vanilla bootstrap source rather than angular-ui-bootstrap?
[19:04:55] <jaawerth_> Sijdesign: using*
[19:04:56] <encryptd_fractl> in theory they could typo a 'moduleName' string too in a 3rd party way Should get a easy clickable line number though and its very unlikely to break as new browsers come out too, as the current chrome error shows w/ the complex error handling strategy angular uses
[19:05:01] *** sonofdirt has quit IRC
[19:05:04] <encryptd_fractl> but yea, i prefer angular.module way too i think
[19:05:16] *** dcherman has joined #angularjs
[19:05:24] <Sijdesign> yea im using vanilla boostrap
[19:05:32] <Sijdesign> should i use angularjs-ui-bootstrap ?
[19:05:47] *** gnarMatix has quit IRC
[19:05:50] *** bzitzow has joined #angularjs
[19:05:51] *** raghunayyar has joined #angularjs
[19:05:54] *** kalusn has joined #angularjs
[19:05:57] <Sijdesign> but angularjs-ui-bootstrap still use vanilla bootstrap, right?
[19:06:02] <oniijin> nope
[19:06:15] <Sijdesign> so only angularjs-ui-bootstrap ?
[19:06:17] <oniijin> they rewrote the components to be directives and not use jq
[19:06:22] <jaawerth_> Sijdesign: you can use vanilla bootstrap, but then you'll have to wrap its methods in custom directives. The nice thing about angular-ui-bootstrap is that it's an angular-native javascript that replace's bootstrap's javascript
[19:06:27] *** Johnny13371337 has joined #angularjs
[19:06:33] *** Johnny13371337 has left #angularjs
[19:06:40] *** xaxisx has quit IRC
[19:06:42] <jaawerth_> Sijdesign: so you just have to use bootstrap's original CSS (or SASS/LESS if you prefer - I'm partial to SASS, myself, but I digress)
[19:06:43] <teslan> hi folks ... if you run this example - resizing the scring, you will see that every once a while thee is a visible (cyan) pixel between the left and/or the right side panels and the centre panel ... conceptually ... any suggestions how to fix?
[19:06:48] <AlexAbraham> angularjs-ui-bootstrap requires vanilla bootstrap and jquerry
[19:06:54] <teslan> http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[19:06:57] <AlexAbraham> angular-strap doesn’t require
[19:06:58] <Sijdesign> just to be sure, i only need to twiiter bootstrap CSS file and not the twitter bootstrap JS file
[19:06:59] *** gnarMatix has joined #angularjs
[19:07:04] *** dcherman2 has quit IRC
[19:07:16] *** DerekPerkins has joined #angularjs
[19:07:20] <oniijin> if you're not using any of the bs js stuff then sure go use vanilla bs
[19:07:21] <jaawerth_> Sijdesign: exactly, and you need the angular-ui-bootstrap file
[19:07:27] <oniijin> and it's just bootstrap, there is no more twitter
[19:07:32] <Sijdesign> ahh okay :) Thanks will try that
[19:07:32] *** lucasefe has joined #angularjs
[19:07:38] *** nanoyak has joined #angularjs
[19:07:40] *** Milanito has joined #angularjs
[19:07:44] *** bkuberek has joined #angularjs
[19:07:45] <Sijdesign> oh twitter dont support any more ?
[19:07:50] *** nicholaswyoung has quit IRC
[19:07:55] <jaawerth_> I don't trust native bootstrap with angular since it's poking around the DOM without following the digest cycle
[19:07:57] <oniijin> twitter has not been part of the project for a long time
[19:07:59] *** sonofdirt has joined #angularjs
[19:08:13] <jaawerth_> they still support/use it, don't they?
[19:08:17] <oniijin> nope
[19:08:28] <jaawerth_> I thought it had just come into its own as open source
[19:08:28] <oniijin> bootstrap is its own project
[19:08:43] <oniijin> they made a point to remove reference to twitter
[19:08:44] *** hugofirth has joined #angularjs
[19:08:48] <Sijdesign> this is stupid, do i need to include the template when downloading angular-ui ?
[19:09:07] *** slainer68 has quit IRC
[19:09:33] *** nanoyak_ has joined #angularjs
[19:10:14] *** matiasow has quit IRC
[19:10:33] *** chrisbirk has joined #angularjs
[19:10:47] *** DerekPerkins_ has quit IRC
[19:11:01] <teslan> so, i am a lousy pixel or two (cyan pixel between vertical panels) away from a decent holy-grail layout ... any ideas how to fix ... http://plnkr.co/edit/mooBimE97uwUazAhKapD?p=preview
[19:11:03] <jaawerth_> Sijdesign: all/most of the examples in their docs have links to plunkr, including the one for modal - take a look at what they're including http://plnkr.co/edit/?p=preview
[19:11:11] *** ckboii89 has joined #angularjs
[19:11:23] *** whunt has joined #angularjs
[19:11:25] *** ustunozgur has joined #angularjs
[19:11:35] *** night-owl-MBP has joined #angularjs
[19:11:40] *** chrislerum has quit IRC
[19:11:51] *** nanoyak has quit IRC
[19:11:52] *** Dimlock has quit IRC
[19:12:19] *** boneskull has quit IRC
[19:12:25] *** Sebastien-L has quit IRC
[19:12:26] <Sijdesign> thanks will try that and Thanks so much for the help really glad
[19:12:31] <jaawerth_> teslan: what are you trying to do, make the textareas take up the full width?
[19:12:44] *** chrislerum has joined #angularjs
[19:12:46] <jaawerth_> Sijdesign: sure. The short answer is "yes, include the templates" though ;-)
[19:12:54] *** duall has quit IRC
[19:12:57] *** marthinal has joined #angularjs
[19:13:00] <jaawerth_> you don't HAVE to, but then you need to write your own templates
[19:13:00] *** ckboii89 has quit IRC
[19:13:25] <teslan> jaawerth_: yes and they seem to - minus ocassionally being a pixel off ... try resizing and you'll see a vertical cyan pixel
[19:13:32] *** chrislerum has quit IRC
[19:13:48] <jaawerth_> hmm
[19:13:49] *** CodeFriar has joined #angularjs
[19:13:52] <jaawerth_> do I have to run it in its own window?
[19:13:53] *** jareddlc has joined #angularjs
[19:13:55] *** chrislerum has joined #angularjs
[19:14:02] <teslan> yes
[19:14:03] *** ldgood has quit IRC
[19:14:22] *** chrislerum has quit IRC
[19:14:23] *** caitp has quit IRC
[19:14:45] *** chrislerum has joined #angularjs
[19:14:49] *** chrislerum has quit IRC
[19:14:53] *** tilgovi has joined #angularjs
[19:14:57] <teslan> i am confused because i do not calculate the inner size, as i use left and right panel widths as left/right values
[19:15:17] <jaawerth_> hmm I'm not seeing the cyan pixel.
[19:15:33] <jaawerth_> also the textareas are currently at 80% width, I assume that's on purpose?
[19:15:47] *** floorz has joined #angularjs
[19:15:47] *** corban_ has quit IRC
[19:15:49] *** stork has quit IRC
[19:15:51] <jaawerth_> AH, see it now
[19:15:52] *** chrislerum has joined #angularjs
[19:15:55] <jaawerth_> I had to zoom rather than resize
[19:16:03] *** corban has joined #angularjs
[19:16:03] *** xaxisx has joined #angularjs
[19:16:08] *** chrislerum has quit IRC
[19:16:11] *** jdj_dk has joined #angularjs
[19:16:13] <teslan> sorry, not the text areas but the divs ... cyan shows easily when i test but in plunkr it shows less frequently
[19:16:36] *** chrislerum has joined #angularjs
[19:16:42] <Siecje> In Chrome I get the error XMLHttpRequest cannot load ... Request header field Authorization is not allowed by Access-Control-Allow-Headers.
[19:16:52] <teslan> when you resize the window the left/mid/right panels resize
[19:16:52] *** chrislerum has quit IRC
[19:17:20] *** chrislerum has joined #angularjs
[19:17:39] <aviraldg> Siecje, and?
[19:17:45] *** chrislerum has quit IRC
[19:18:14] *** chrislerum has joined #angularjs
[19:18:19] *** maurycyg has quit IRC
[19:18:30] *** sonofdirt has quit IRC
[19:18:36] *** chrislerum has quit IRC
[19:18:48] *** jtimon has quit IRC
[19:18:59] *** xaxisx has quit IRC
[19:19:06] *** chrislerum has joined #angularjs
[19:19:23] *** Sijdesign has quit IRC
[19:19:41] *** chrislerum has quit IRC
[19:19:47] *** mrogne has joined #angularjs
[19:19:52] *** fdrechsler has joined #angularjs
[19:20:12] *** darrin has joined #angularjs
[19:20:14] *** chrislerum has joined #angularjs
[19:20:22] *** heidi has joined #angularjs
[19:20:23] *** H1FuelCell has quit IRC
[19:20:40] *** bkuberek_ has joined #angularjs
[19:20:43] *** coldboot|laptop has joined #angularjs
[19:20:44] *** jdj_dk has quit IRC
[19:20:54] *** chrislerum has quit IRC
[19:21:02] <teslan> jaawerth_: if you can not get it to resize with a vertical cyan line then resize really fast, back and forth, an you'll see vertical cyan line come and go
[19:21:13] <sal1191> anyone have any suggestions for building a mobile interface?
[19:21:19] *** xaxisx has joined #angularjs
[19:21:20] <sal1191> im currently trying angular-ui-mobile
[19:21:23] *** chrislerum has joined #angularjs
[19:21:26] *** Fire-Dragon-DoL has joined #angularjs
[19:21:33] <sal1191> or mobile-angular-ui rather
[19:22:01] *** texinwien has quit IRC
[19:22:12] *** roymilder has joined #angularjs
[19:22:13] *** Snugug has joined #angularjs
[19:22:48] <coldboot|laptop> I'm getting this error: "Unknown provider: postsProvider <- posts <- postListDirective", but it doesn't mention where in the code the problem is occurring. Is there a way to enable debug prints, or something else that helps troubleshoot this?
[19:23:23] <jaawerth_> teslan: yeah, it looks like a rendering issue - doesn't look like there are any margins left over...
[19:23:39] *** pp__ has joined #angularjs
[19:23:41] <coldboot|laptop> If I change `.directive('postList', function (posts) {` to `.directive('postList', function () {`the error changes to: "Unknown provider: postsProvider <- posts".
[19:23:42] <jaawerth_> teslan: does it happens when you resize without zooming? I only get it when I zoom and THEN resize
[19:23:45] *** kcccccc has joined #angularjs
[19:24:11] *** pp__ has quit IRC
[19:24:19] *** mattwynne has quit IRC
[19:24:19] *** edrocks has joined #angularjs
[19:24:24] <sacho_> coldboot|laptop, ...where are you seeing this error
[19:24:24] *** bkuberek has quit IRC
[19:24:25] *** KernelCurry has joined #angularjs
[19:24:31] <teslan> happens even with normal mouse on edge of window resizing
[19:24:34] *** ustunozgur has quit IRC
[19:24:47] *** xaxisx has quit IRC
[19:24:47] *** nemothekid has joined #angularjs
[19:24:51] *** rho has quit IRC
[19:24:52] <coldboot|laptop> sacho_: In the browser console, with a bunch of lines in AngularJS code in the stack.
[19:25:00] <sacho_> post the stack trace, please.
[19:25:21] *** msafi has joined #angularjs
[19:25:58] *** kcccccc has quit IRC
[19:26:02] *** msafi1 has quit IRC
[19:26:08] <jaawerth_> teslan: I have yet to reproduce it without zooming... in the mean time, can I offer you a design opinion on avoiding this kind of thing?
[19:26:09] *** kcccccc has joined #angularjs
[19:26:22] <teslan> sure
[19:26:26] <teslan> please
[19:26:42] <coldboot|laptop> sacho_: http://paste.ofcode.org/BxZDgtQe8aLBGpPyb7Kh36
[19:26:50] *** Germanaz0 is now known as Germanaz0|0FF
[19:26:55] *** doddstack has quit IRC
[19:27:12] <teslan> jaawerth_: yes please
[19:27:14] *** matiasow has joined #angularjs
[19:27:21] <coldboot|laptop> I have a directive with "posts" in the function parameters, that has a controller also with "posts" in its parameters, that sets `$scope.posts = posts`.
[19:27:23] *** katsh has quit IRC
[19:27:33] *** Tomdarkness has quit IRC
[19:27:35] *** AlexAbraham has quit IRC
[19:27:37] *** conner_ has joined #angularjs
[19:27:38] *** kcccccc has quit IRC
[19:27:44] <jaawerth_> teslan: One of the reasons use of "negative space" is very popular right now is that you make things compatible with various devices and screen sizes without having to add up every single pixel for every single size perfectly. It won't be noticeable if each of your "panels" have some padding around them and use the 'background space' as a sort of border rather than their own strict borders
[19:27:46] *** kcccccc has joined #angularjs
[19:28:00] <sacho_> Raven?
[19:28:04] *** cthrax has quit IRC
[19:28:17] <sacho_> coldboot|laptop, well, for both of them, you're missing a provider for thi `posts`.
[19:28:30] *** sheperson has joined #angularjs
[19:28:34] <jaawerth_> teslan: obviously the tabular look of your holy grail at the moment is so you know you've got it working right, but even the 1-pixel thing - while annoying - will be totally insignificant once you start applying a real style to it
[19:28:43] <coldboot|laptop> sacho_: Where does a controller or directive get a provider for it?
[19:29:04] *** marthinal has quit IRC
[19:29:06] <jaawerth_> and if even if you fix this pixel issue, because of the ways different browsers render and interpret widths and such via CSS, there's no guarantee the pixels may not jumble a little in other situations
[19:29:37] *** xaxisx has joined #angularjs
[19:29:39] <LossFor> so I have an object like object.property-object.array, with the array having two values in it. Angular.copy appears to copy everything down to the array, but leaves those two elements undefined instead of copying them, according to console logging
[19:29:44] <LossFor> is that the intended functionality?
[19:29:45] <jeffszusz> is there a way with ui-router to do $state.go(route) but have it go to 'route/:someId' ?
[19:29:52] *** ccohn has quit IRC
[19:29:55] <Hounddog> Cant i send some data along with http.delete?
[19:30:10] <Hounddog> Data as in json
[19:30:20] *** jacuqesdancona_ has joined #angularjs
[19:30:21] <coldboot|laptop> sancho_: I have a stateProvider in the controller that has a "resolve" for "posts", so it should be passing that variable to the controller on instantiation.
[19:30:23] <sal1191> does $state.go(route({someId: 'woop'}) work
[19:30:32] <sal1191> jeffs
[19:30:33] *** katsh has joined #angularjs
[19:30:39] <floorz> hello all. Does anyone here have any experience integrating angularjs with fabricjs at all? More specifically utilizing angular directives to represent/manage the objects that are drawn on canvas?
[19:30:43] <sal1191> you would call the name of the state as route
[19:30:50] <jeffszusz> well that's documented as passing the $stateParams but it doesn't add the id to the url
[19:31:02] <sal1191> right
[19:31:09] *** whunt has quit IRC
[19:31:14] *** Jessie_ has joined #angularjs
[19:31:15] *** marthinal has joined #angularjs
[19:31:16] <teslan> jaawerth_ being new to all of this i just wanted to get a sense of what is going on ... i would rather go with extra pixel if it means retaining simpler implementation ... thanks for your help
[19:31:25] *** Malone has joined #angularjs
[19:31:28] *** hubertus_ has joined #angularjs
[19:31:32] <jeffszusz> we need this to be refreshable
[19:31:33] *** rho has joined #angularjs
[19:31:34] *** rho has joined #angularjs
[19:31:42] <jeffszusz> and/or linkable
[19:31:52] <Jessie_> Hi Everyone.. Has anyone used lazy loading of angular compoenents ?
[19:32:00] <sal1191> $state.go('state', { someId: 'woop'})
[19:32:01] <jaawerth_> teslan: sorry I couldn't be more helpful. I didn't notice any rogue margins or padding in there, so it's POSSIBLE this is just a browser rendering artifact
[19:32:04] <sal1191> that might do it
[19:32:13] <jaawerth_> teslan: but I could be wrong. Have you tried it on other browsers and had the same effect?
[19:32:29] <jeffszusz> sal1191, that passes the data to the next view but doesn't change the url in the address bar to reflect it
[19:32:31] <davek> Emperor_Earth<, I am somewhat here now.
[19:32:38] <jeffszusz> :(
[19:32:39] *** xastey- is now known as xastey
[19:32:43] *** conner_ has quit IRC
[19:32:48] <Emperor_Earth> davek, hey
[19:32:54] <teslan> no not yet but interesting thing is that it happens way less when run in plunkr then straight in chrome
[19:33:03] *** ustunozgur has joined #angularjs
[19:33:07] <Emperor_Earth> it's a bit long, heads up
[19:33:12] <Emperor_Earth> http://alpha.inpguild.com/#/TODO
[19:33:30] <dccc> teslan, i couldn't get the cyan line to show up without zooming either. but it looks like clientWidth is rounded incorrectly.
[19:33:34] <jaawerth_> a better CSS/rendering wizard than I may be able to get you a more definite answer, but that's my guess. Especially since I can only reproduce it when I zoom
[19:33:37] <Emperor_Earth> i'm not sure if abstracting parent states for users is a good idea
[19:33:38] <sal1191> ah I see
[19:33:50] <Emperor_Earth> what do you think, davek?
[19:34:02] *** sonofdirt has joined #angularjs
[19:34:15] <sal1191> I suspect you can't use ui-sref in any way?
[19:34:20] <Jessie_> Has anyone used angular-couch-potato ?
[19:34:25] <Emperor_Earth> if anyone else wants to consider site design with ui-router/restangular/angularjs for the site described @ http://alpha.inpguild.com/#/TODO i'm open to ideas
[19:34:27] <sacho_> coldboot|laptop, post some code
[19:34:33] <jaawerth_> dccc, teslan: ohh, that COULD do it
[19:34:42] *** dcherman has quit IRC
[19:34:48] *** jacuqesdancona_ has quit IRC
[19:34:48] *** fedenunez has quit IRC
[19:34:52] *** guilbep has quit IRC
[19:34:53] *** H1FuelCell has joined #angularjs
[19:35:19] *** whunt has joined #angularjs
[19:35:23] <davek> Is image/png not an established mime type? That seems weird.
[19:35:24] <davek> Emperor_Earth, what is the problem you're running into?
[19:35:24] *** cthrax has joined #angularjs
[19:35:35] *** hugofirth has quit IRC
[19:35:37] *** RobinBAwesome has quit IRC
[19:35:38] <Emperor_Earth> davek, did you read thru it already?
[19:35:56] *** krawchyk_ has joined #angularjs
[19:36:09] <Emperor_Earth> davek, the permissions aren't neatly nested like most sites are
[19:36:11] *** krawchyk_ has quit IRC
[19:36:48] <Emperor_Earth> so i'm not sure if inheriting abstracted user parent states is the most elegant way to handler users and/or states on the client side
[19:37:04] <Emperor_Earth> it seems like there would be a great deal of code duplication and case checking if done that way
[19:37:05] *** Milanito has quit IRC
[19:37:05] <Emperor_Earth> but i'm not sure
[19:37:14] <Emperor_Earth> i haven't really coded anything beyond following tutorials
[19:37:17] *** seydoggy has joined #angularjs
[19:37:23] *** krawchyk_ has joined #angularjs
[19:37:30] *** krawchyk has quit IRC
[19:38:03] *** homework1 has quit IRC
[19:38:04] *** gnarMatix has quit IRC
[19:38:12] *** TehShrike|Work has joined #angularjs
[19:38:20] <teslan> jaawerth_ dccc since i am not rounding anything, is that happening when the clientWidth becomes left/right style value and can it be fixed ... next i need to do is to use ui-router (with states) and implement multiple desktops (not just the menu one in example)
[19:38:30] *** cisox is now known as cisox_away
[19:38:33] *** gnarMatix has joined #angularjs
[19:38:35] <coldboot|laptop> sacho_: The code is non-functioning in Plunkr, but you can see it: http://plnkr.co/edit/Z7VN62EtyvpZLqa8Qc9C?p=catalogue
[19:38:36] <davek> Emperor_Earth, like I mentioned, implement cordoned areas of the site by inheriting them from a common root state that uses resolves/onEnter to check that the currently authneticated user has the appropriate privileges.
[19:38:48] <jeffszusz> oh geeze it does work I was just doing something else wrong; thanks sal1191
[19:39:12] <Emperor_Earth> davek, did you go thru how groups are handled? you still think this is the best organization?
[19:39:23] *** dcherman has joined #angularjs
[19:39:24] <Emperor_Earth> davek, seems like it would be a lot of code duplication, but i'd defer to your judgment
[19:39:50] *** partikus has joined #angularjs
[19:40:14] *** Click66___ has joined #angularjs
[19:40:47] <Emperor_Earth> e.g. user.chat.topic is similar to member.chat.topic is somewhat similar to admin.chat.topic. user.chat.private is essentially identical to member.chat.private ~= admin.chat.private ~= mngr.chat.private
[19:40:54] <Emperor_Earth> or am i understanding it wrong?
[19:40:58] *** arizzo has quit IRC
[19:41:05] *** DuelShark has joined #angularjs
[19:41:24] <Emperor_Earth> it seems like if users are handled in the highest state, then you have to rewrite code, up to 5x, for each requivalent substate
[19:41:59] *** seydoggy has quit IRC
[19:42:01] <davek> What code would be duplicated?
[19:42:01] <davek> Expose an API call that allows the client to query inclusion in a group, resolve the response before permitting the user to transition to that group. Better yet, simply return a list of groups with the user data and forgo the additional request.
[19:42:14] *** RobinBAwesome has joined #angularjs
[19:42:48] *** Click66___ has quit IRC
[19:43:15] *** hubertus_ has quit IRC
[19:43:16] <Emperor_Earth> davek, maybe i'm misunderstanding?
[19:43:20] *** faviouz has joined #angularjs
[19:43:35] *** TehShrike|Work has left #angularjs
[19:43:55] <Emperor_Earth> code duplication would be having to write & worse, maintain, very similar code for user.chat.private && admin.chat.private && member.chat.private && manager.chat.private
[19:43:59] <morenoh149> can you immediately use the object from an ng-repeat? like so <img ng-repeat="image in userImages" src="{{ image }}">
[19:44:01] *** tangorri has quit IRC
[19:44:21] *** floorz has quit IRC
[19:44:22] *** ustunozg_ has joined #angularjs
[19:44:30] *** gnarMatix has quit IRC
[19:44:36] <Emperor_Earth> or even worse, five different /chat/topic/view for anon, user, member, admin, mngr
[19:44:49] *** mattwynne has joined #angularjs
[19:45:04] *** gnarMatix has joined #angularjs
[19:45:04] <Emperor_Earth> besides child states require dtheir own code ride? even if at the same level
[19:45:19] *** D-Boy has quit IRC
[19:46:03] *** conner_ has joined #angularjs
[19:46:06] <teslan> jaawerth_ dccc - lol, i can simply rewrite the clientWidht values of left/right panels with rounded integer values and then use those for left/right positions of the mid panel ... thanks again
[19:46:21] <Emperor_Earth> e.g. if "user", "anon", "member", "mngr", and "admin" are brothers, you need to write separate code for user's "childs" and all his "cousins", or children of "anon", "member", etc etc
[19:46:30] <Emperor_Earth> or am i butchering my understanding of states & ui-router?
[19:46:50] *** ckboii89 has joined #angularjs
[19:47:18] *** moritzs has joined #angularjs
[19:47:29] <dman777_alter> http://bpaste.net/show/giaUZ9aXRi3caeiXIRyE/ not clear on injection... why do I have to inject it Restangular in the app if I am already injecting it in the controller?
[19:47:38] <dman777_alter> since it's not global...only for that controller
[19:47:41] <davek> Emperor_Earth, you're going to need some sort of diagram to describe this. Or perhaps a code sample showing your best attempt.
[19:47:55] *** ustunozgur has quit IRC
[19:48:04] *** xaxisx has quit IRC
[19:48:12] <Emperor_Earth> https://awwapp.com/draw.html#927a03f8
[19:48:16] *** darrin_ has joined #angularjs
[19:48:19] *** AnthonyC has joined #angularjs
[19:48:36] *** disorder20 has joined #angularjs
[19:49:10] *** CptChaos has joined #angularjs
[19:49:10] *** ascarter has joined #angularjs
[19:49:10] <Emperor_Earth> hmm, bad site, let me find another
[19:49:12] *** Emperor_Earth has left #angularjs
[19:49:17] *** Emperor_Earth has joined #angularjs
[19:49:29] *** lsiv568 has joined #angularjs
[19:49:33] *** darrin has quit IRC
[19:49:39] *** gnarMatix has quit IRC
[19:49:46] *** hubertus_ has joined #angularjs
[19:50:12] *** vbabiy has joined #angularjs
[19:50:15] <davek> On another note, has anyone dealt with direct-to-s3 uploads or image uploads in general? Preferably with an express backend?
[19:50:32] <Emperor_Earth> http://www.twiddla.com/1690956
[19:50:38] <Emperor_Earth> davek: http://www.twiddla.com/1690956
[19:50:44] *** CainVampyr has quit IRC
[19:51:16] <davek> Debating whether it makes more sense to have the user direct-upload the original image then do processing in a worker thread or have the server stream-process the image and forwarded it to s3.
[19:51:22] *** senayar has joined #angularjs
[19:51:44] *** Nijikokun has quit IRC
[19:51:54] *** arizzo has joined #angularjs
[19:52:05] <marcospgp> davek, well i know nothing about that but pre-processing the image sounds much preferable
[19:52:13] <marcospgp> much more*
[19:52:19] *** altious has joined #angularjs
[19:52:24] *** endash has joined #angularjs
[19:52:42] *** darrin_ has quit IRC
[19:52:48] *** senayar has quit IRC
[19:53:09] <davek> We're already paying for the worker. The only issue on that end is making sure it doesn't fumble and the variants actually get processed at some point.
[19:53:21] <dccc> davek, my app processes images to s3
[19:53:33] <davek> Excellent!
[19:53:38] *** lsiv568 has quit IRC
[19:54:05] *** Cavallari has joined #angularjs
[19:54:16] *** darrin has joined #angularjs
[19:54:44] <davek> I assume you're streaming them then? Can I see your upload snippet where the stream is directed to the s3 bucket?
[19:54:44] *** marr has quit IRC
[19:54:58] *** kalusn has quit IRC
[19:55:03] *** Cavallari has quit IRC
[19:55:23] <davek> From all the available documentation it seems I need to grab the image's filesize to fill out the Content-Length header field, but doing so in gm causes the image to be buffered into memory.
[19:55:25] *** Cavallari has joined #angularjs
[19:55:26] <novist> can i have a resource function that updates original resource? for example obj.$getLogins() which would fetch only additional data - logins, not entire user object?
[19:55:33] *** nytrm has joined #angularjs
[19:55:58] *** chrislerum has quit IRC
[19:56:04] *** arizzo has quit IRC
[19:56:24] *** GAWD has quit IRC
[19:56:26] *** jerev_away is now known as jerev
[19:56:33] *** milka has joined #angularjs
[19:56:37] *** wwnnbb has joined #angularjs
[19:56:38] *** mattwynne has quit IRC
[19:56:41] *** bengillies has quit IRC
[19:56:46] <dccc> it doesn't stream at the moment. they get resized before passing to s3.
[19:56:46] *** xaxisx has joined #angularjs
[19:57:09] *** Nizumzen has quit IRC
[19:57:14] <davek> novist, you can but that hints at an API design deficiency and you generally don't gain that much by limiting the returned data fields.
[19:57:15] *** seydoggy has joined #angularjs
[19:57:21] <davek> dccc, so you buffer all the uploads into memory?
[19:57:22] *** arizzo has joined #angularjs
[19:57:46] *** hubertus_ has quit IRC
[19:58:07] <dccc> could be wrong, but i remember it wasn't possible to stream since s3 wants a content-length
[19:58:20] *** Snugug has quit IRC
[19:58:26] <novist> what im doing is fetching data when its needed, not limiting fields really. like first get user object, only when logins tab is opened i want to get logins. and i want user resource to fetch that.
[19:58:34] <dccc> all buffered.
[19:58:53] <novist> or maybe im doing it wrong? although it would feel less right if i manually used $http to fetch data..
[19:59:17] *** jerev is now known as jerev_away
[19:59:44] *** sacho has quit IRC
[20:00:11] <davek> dccc, s3 clearly supports streaming uploads. No idea why knox specifically seems to suggest content-length is required.
[20:00:15] *** sacho_ has quit IRC
[20:00:17] *** xaxisx has quit IRC
[20:00:18] <davek> Their own client makes no indication of this.
[20:00:32] *** AlSquire has joined #angularjs
[20:01:06] *** dve has quit IRC
[20:01:16] *** BillCriswell has joined #angularjs
[20:01:38] *** night-owl-MBP has quit IRC
[20:01:41] *** arizzo has quit IRC
[20:01:41] *** Shrooms has joined #angularjs
[20:02:12] *** Jessie_ has quit IRC
[20:02:38] *** LossFor has quit IRC
[20:02:55] *** cbeacock has joined #angularjs
[20:03:01] *** xaxisx has joined #angularjs
[20:03:18] *** chrislerum has joined #angularjs
[20:03:34] *** sheperson has quit IRC
[20:03:49] *** D-Boy has joined #angularjs
[20:03:53] *** vintik has joined #angularjs
[20:04:04] *** Snugug has joined #angularjs
[20:04:12] *** kanzure_ is now known as kanzure
[20:04:17] *** sonofdirt has quit IRC
[20:04:51] *** ayman has joined #angularjs
[20:05:29] *** Hounddog has quit IRC
[20:05:45] *** jaequery has joined #angularjs
[20:05:49] <dccc> davek, streaming should definitely work. it's just more work than i'm willing to put in at the moment. :)
[20:06:28] *** ayman has quit IRC
[20:06:40] *** krawchyk_ has quit IRC
[20:06:46] *** arizzo has joined #angularjs
[20:07:42] *** conner_ has quit IRC
[20:08:01] *** fedenunez has joined #angularjs
[20:08:04] *** daq has joined #angularjs
[20:08:22] *** arizzo has quit IRC
[20:08:35] *** arizzo has joined #angularjs
[20:08:45] *** GAWD has joined #angularjs
[20:09:12] *** cisox_away has quit IRC
[20:09:34] *** nytrm has quit IRC
[20:09:52] *** cisox has joined #angularjs
[20:10:14] *** mindlace has joined #angularjs
[20:10:17] *** chrisbirk has quit IRC
[20:10:34] *** Nijikokun has joined #angularjs
[20:11:04] *** marthinal has quit IRC
[20:11:10] <daq> Hi to all, I've been trying to filter an array like this: {{ (array | filter: { property: { subproperty: 'value' } }).length }} and it works great; I then tried {{ (array | filter: { property: { subproperty1: 'value1', subproperty2: 'value2' } }).length }} and noticed that Angular interprets this as an OR operation. How do I filter by 2 or more subproperties as an AND operation? tks
[20:11:28] *** conner_ has joined #angularjs
[20:11:34] *** matiasow has quit IRC
[20:11:56] *** marthinal has joined #angularjs
[20:12:22] *** nicholaswyoung has joined #angularjs
[20:12:30] *** Notte has joined #angularjs
[20:13:08] *** lsiv568 has joined #angularjs
[20:13:17] *** chrislerum has quit IRC
[20:13:20] *** senayar has joined #angularjs
[20:13:29] *** senayar has quit IRC
[20:13:52] *** chovy has quit IRC
[20:14:08] <davek> dccc, https://github.com/nathanpeck/s3-upload-stream
[20:14:14] *** thedodd has joined #angularjs
[20:14:38] <coldboot|laptop> sacho_: Was my paste to crappy to look at?
[20:14:40] *** mtsr has joined #angularjs
[20:15:41] *** chovy has joined #angularjs
[20:15:41] *** chovy has joined #angularjs
[20:15:42] *** krawchyk has joined #angularjs
[20:15:55] *** robteix has joined #angularjs
[20:16:07] *** bezhermoso has joined #angularjs
[20:16:09] *** henn1nk has joined #angularjs
[20:16:21] <dccc> davek, i remember why it doesn't work now. streaming requires the multipart api, which has a 5mb minimum.
[20:16:31] *** gunn has quit IRC
[20:17:11] *** dbouwman has quit IRC
[20:17:18] *** wilmoore has joined #angularjs
[20:17:33] *** nfroidure_ has quit IRC
[20:17:37] <Emperor_Earth> davek: ?
[20:18:04] *** nemothekid has quit IRC
[20:18:05] *** Daven_ has joined #angularjs
[20:19:52] *** cthrax has quit IRC
[20:19:56] *** mattwynne has joined #angularjs
[20:20:34] *** henn1nk has quit IRC
[20:20:51] *** darrin has quit IRC
[20:21:09] *** mattwynne has quit IRC
[20:21:15] *** cthrax has joined #angularjs
[20:21:20] *** juampy has quit IRC
[20:22:08] *** eperez has quit IRC
[20:22:10] *** sonofdirt has joined #angularjs
[20:23:06] *** homework1 has joined #angularjs
[20:23:32] *** vintik has quit IRC
[20:24:27] *** mewm has joined #angularjs
[20:24:28] *** night-owl-MBP has joined #angularjs
[20:24:30] <davek> Emperor_Earth, yes?
[20:24:31] *** mewm has quit IRC
[20:24:41] <davek> dccc, ahh yes. That's a bit silly.
[20:25:00] *** vintik has joined #angularjs
[20:25:12] *** DigitallyBrn has joined #angularjs
[20:25:33] *** darrin has joined #angularjs
[20:26:06] <Emperor_Earth> davek: you disappeared without answering a question
[20:26:32] <davek> Oh restate it then.
[20:26:38] *** chovy has quit IRC
[20:26:44] *** xaxisx has quit IRC
[20:26:58] *** GAWD has quit IRC
[20:27:00] *** \du has quit IRC
[20:27:11] *** AciD`` has joined #angularjs
[20:27:34] *** GAWD has joined #angularjs
[20:27:44] *** TheAceOfHearts has joined #angularjs
[20:28:17] *** sigurding has joined #angularjs
[20:28:34] *** ccohn has joined #angularjs
[20:28:38] *** chovy has joined #angularjs
[20:28:38] *** chovy has joined #angularjs
[20:29:05] *** chrisbirk has joined #angularjs
[20:29:07] <Emperor_Earth> like i said, i've already done simple auth. i wanted your opinion on whether abstracted user parent states was the best way to design around the design i laid out @ http://alpha.inpguild.com/#/TODO It seems like having the user being the highest parent state, EVERY single page on the app would need to be duplicated for each user level. e.g. 5 forum view controllers for 5 user types, 5 search pages for 5 types, etc
[20:29:21] *** eperez has joined #angularjs
[20:29:35] *** tilgovi has quit IRC
[20:29:43] <Emperor_Earth> Am i misunderstanding how abstract parent states work? and what did you mean by "Also attempting to implement a forum platform on angulae" and then breakin goff?
[20:30:04] *** ascarter has quit IRC
[20:30:20] <Crelex> if anyone has time would really love a bit of help on this little problemo of not being able to pass some JSON data into a webApi method
[20:30:21] <Crelex> http://pastebin.com/Qfa7sXn5
[20:30:22] *** hswolff has quit IRC
[20:31:04] *** dve has joined #angularjs
[20:31:13] <Emperor_Earth> you also mentioned that the example that i was showing, was very poorly done. i'm not seasoned enough to recognize why not, do you have some better links that is hould go to? i would hate to be learning from poor sources
[20:32:36] <davek> Emperor_Earth, yes you are misunderstanding. That is a poor design for your purposes. You're conflating ui states with authentication states. In most of the cases you describe, are there any functional differences in the overall purpose of the view? Does the administrator see a different forum than a user might? Or do they simply have a few additional widgets?
[20:32:38] <arizzo> anyone have experience with form.$valid, -- i want to fire the submission of the form from a controller, how can I do this?
[20:33:22] *** nicholaswyoung has quit IRC
[20:33:34] *** nerdfiles has joined #angularjs
[20:33:48] *** Aliks has joined #angularjs
[20:34:16] *** encryptd_fractl has quit IRC
[20:34:42] <Emperor_Earth> davek, that makes a lot more intuitive sense, but following the tutorials i've seen so far, doesn't make deductive sense
[20:34:49] *** Daven_ has quit IRC
[20:34:57] *** hswolff has joined #angularjs
[20:35:14] *** sonofdirt has quit IRC
[20:35:14] *** jsoverson has joined #angularjs
[20:35:34] *** tilgovi has joined #angularjs
[20:36:27] <davek> Which is exactly why tutorials are useless for learning when compared to practice and perserverence.
[20:37:00] <Emperor_Earth> davek, that's why i hang out here, on twitter, and sourcecode all day. learning mostly on one's own is very.. fragmented
[20:38:04] <Emperor_Earth> davek, thanks for the thoughts. was tehre something youw anted to say about angular & forums? and did you have better examples/tutorials to point to for angular user mgmt, esp w.r.t ui-router & restangular
[20:38:04] *** sonofdirt has joined #angularjs
[20:38:50] *** eperez has quit IRC
[20:38:51] *** stevvooe has joined #angularjs
[20:39:04] *** pream has joined #angularjs
[20:39:17] *** xaxisx has joined #angularjs
[20:39:30] *** enigmarm has joined #angularjs
[20:39:49] *** wartdev has quit IRC
[20:40:15] *** wxo has quit IRC
[20:40:28] *** sigurding has quit IRC
[20:40:53] *** Daven_ has joined #angularjs
[20:41:01] *** mewm has joined #angularjs
[20:41:16] <davek> Not specifically those. I'm really not a fan of Restangular and ui-router has relatively little to do with auth other than intercepting state transitions to enforce boundaries.
[20:41:16] <davek> Also what I was saying was that implementing a forum platform in angular is ridiculously ambitious. Not only is it going to be incredibly complex, it's a bit outside of angular's comfort zone.
[20:41:18] *** nemothekid has joined #angularjs
[20:41:53] *** nemothekid has quit IRC
[20:42:04] <shackleford> Is there anyway to have multiple ng-repeats in a same table? I am trying to fill 2 columns with data from 2 different places.
[20:42:20] *** nemothekid has joined #angularjs
[20:42:34] *** bade has quit IRC
[20:43:03] *** conner_ has quit IRC
[20:43:28] *** Bade has joined #angularjs
[20:44:03] *** sigurding has joined #angularjs
[20:44:05] *** fedenunez1 has joined #angularjs
[20:44:05] *** nemothek_ has joined #angularjs
[20:44:13] *** ustunozgur has joined #angularjs
[20:44:33] *** Cavallari has quit IRC
[20:44:52] *** RobinBAwesome has quit IRC
[20:45:26] *** Daven_ has quit IRC
[20:45:33] *** enigmarm has quit IRC
[20:45:41] *** MistahKurtz has joined #angularjs
[20:45:50] *** Cavallari has joined #angularjs
[20:46:02] <ansu> shackleford, when both sources have the same length you could use
[20:46:10] <ansu> $index to access the second source
[20:46:11] *** fedenunez has quit IRC
[20:46:44] *** jeffisabelle has joined #angularjs
[20:46:59] <Siecje> Right now my angular module is in one big file how can I split it up into multiple files?
[20:47:01] *** nemothekid has quit IRC
[20:47:09] <shackleford> ok, what if one source is not the same length immediately. after several calls to the API, it will be the same.
[20:47:18] *** ustunozg_ has quit IRC
[20:47:28] *** night-owl-MBP has quit IRC
[20:47:34] *** eperez has joined #angularjs
[20:47:36] *** conner_ has joined #angularjs
[20:48:05] <arizzo> does anyone know how to fire the default form invalid messages from a controller
[20:48:06] *** eperez has quit IRC
[20:48:17] *** jtimon has joined #angularjs
[20:48:40] *** eperez has joined #angularjs
[20:48:44] *** ajph is now known as ajph_
[20:48:50] *** ajph_ is now known as ajph
[20:48:58] *** NormySan has joined #angularjs
[20:49:52] *** mattwynne has joined #angularjs
[20:50:00] *** jhulten has joined #angularjs
[20:50:06] <davek> shackleford, plunkr!
[20:50:10] *** mattwynne has joined #angularjs
[20:50:14] *** dbouwman has joined #angularjs
[20:50:32] *** mehlah has quit IRC
[20:50:51] *** RobinBAwesome has joined #angularjs
[20:50:53] *** henn1nk has joined #angularjs
[20:51:04] *** bc_ has quit IRC
[20:51:21] *** skoller_ has joined #angularjs
[20:51:46] *** LossFor has joined #angularjs
[20:51:48] <davek> Siecje, move your controllers/services/directives into separate files that define separate modules angular.module('myapp.services', ['dependency']);
[20:51:49] <davek> Then from your main app you can set 'myapp.services' as a dependency.
[20:52:10] *** nagappan has quit IRC
[20:52:20] *** marthinal has quit IRC
[20:52:29] *** kroogs has quit IRC
[20:52:45] *** nagappan has joined #angularjs
[20:52:50] *** enapupe has joined #angularjs
[20:52:53] *** cisox is now known as cisox_away
[20:52:53] *** marthinal has joined #angularjs
[20:53:19] *** kroogs has joined #angularjs
[20:53:55] *** dman777_alter has quit IRC
[20:54:01] *** krawchyk_ has joined #angularjs
[20:54:17] *** sonofdirt has quit IRC
[20:54:25] *** krawchyk_ has quit IRC
[20:54:35] <enapupe> So.. I have this ng-repeat with data coming from $http and my filter isn't able to do its thing because he is being called before the data arrives.. I saw this so post http://stackoverflow.com/questions/19046641/asynchronously-initialize-angularjs-filter but it smells like XGH
[20:54:39] <enapupe> any thoughs?
[20:55:01] *** endash has quit IRC
[20:55:09] <marcospgp> I just installed robomongo and decided to try and connect it to my local database just for the sake of it even though it wasn't even opened. and it worked. and i was like o: black magic
[20:55:30] *** krawchyk_ has joined #angularjs
[20:55:31] <NormySan> Hey guys, hoping someone can sheed some insight on a small problem i'm having. I have this ng-repeat with some items, nothing fancy. And then i have a directive that lets me sort these items with the help of an external javascript library. The problem i'm having is that when the order of these dom element change i also want to reflect this change of order in the array containing each object
[20:55:31] <NormySan> rendered with the ng-repeat. I figure it has something to do with scope.apply but i have no idea how i get it to re-order from just the dom changes.
[20:55:32] <marcospgp> 5 minutes later I realized the server window was open but in another screen which I had turned off
[20:55:38] *** krawchyk_ has quit IRC
[20:55:41] *** jsoverso_ has joined #angularjs
[20:55:50] *** ascarter has joined #angularjs
[20:55:52] *** mot0rola has joined #angularjs
[20:55:58] *** sonofdirt has joined #angularjs
[20:56:19] *** krawchyk has quit IRC
[20:56:22] *** krawchyk_ has joined #angularjs
[20:56:41] *** bicranial has joined #angularjs
[20:56:54] <drej> rofl
[20:56:54] <drej> http://gfycat.com/JovialSimilarAnchovy
[20:56:57] <drej> for those who havent seen it
[20:57:09] *** krawchyk has joined #angularjs
[20:57:44] *** mattt_ has joined #angularjs
[20:57:44] *** wilmoore has quit IRC
[20:57:50] *** JGarrido has joined #angularjs
[20:58:13] *** Snugug has quit IRC
[20:58:14] <mattt_> When is better to use some kind of event bus to handle inter-controller communication, vs injecting services?
[20:58:14] *** JGarrido has joined #angularjs
[20:58:28] *** cisox_away is now known as cisox
[20:58:29] *** mot0rola has quit IRC
[20:58:30] *** skoller_ has quit IRC
[20:58:59] *** Milanito has joined #angularjs
[20:58:59] *** arek_at_work has quit IRC
[20:59:20] *** jdj_dk_ has joined #angularjs
[20:59:23] *** jsoverson has quit IRC
[20:59:46] *** whunt has quit IRC
[20:59:51] *** xaxisx has quit IRC
[20:59:59] *** slecuyer has quit IRC
[21:00:17] *** orion1111 has quit IRC
[21:00:19] *** Daven_ has joined #angularjs
[21:00:25] *** xaxisx has joined #angularjs
[21:00:37] *** dbouwman has quit IRC
[21:01:13] *** dbouwman has joined #angularjs
[21:01:16] *** night-owl-MBP has joined #angularjs
[21:02:19] *** night-owl-MBP has quit IRC
[21:02:32] *** marr has joined #angularjs
[21:02:35] *** sonofdirt has quit IRC
[21:02:58] *** sonofdirt has joined #angularjs
[21:03:02] *** bkuberek_ has quit IRC
[21:03:40] *** krawchyk_ has joined #angularjs
[21:03:58] *** jdj_dk_ has quit IRC
[21:04:04] *** conner_ has quit IRC
[21:04:21] *** TorchDra_ has joined #angularjs
[21:04:33] *** foofoobar has joined #angularjs
[21:04:36] *** LossFor has quit IRC
[21:05:21] <nerdfiles> You could use the ControllerAs approach for inter-controller communication.
[21:05:24] *** Gu_______ has joined #angularjs
[21:05:51] *** TorchDr__ has joined #angularjs
[21:05:52] *** Snugug has joined #angularjs
[21:05:56] *** TorchDra_ has quit IRC
[21:05:56] <nerdfiles> So instead of specifying a $scope to be injected into the parent controller or grandparent controller, you create your object space in "this" of the controller.
[21:06:00] *** night-owl-MBP has joined #angularjs
[21:06:05] *** lsiv568 has quit IRC
[21:06:17] *** krawchyk has quit IRC
[21:06:23] <Siecje> davek: Do I need to add script tags for each file in my html?
[21:06:42] <zumba_addict> hey folks, should query string be case sensitive? I think it shouldn't be
[21:07:16] *** dshap has joined #angularjs
[21:07:16] *** slecuyer has joined #angularjs
[21:07:42] *** TorchDragon has quit IRC
[21:08:27] *** senayar has joined #angularjs
[21:09:31] *** blueadept has quit IRC
[21:09:45] *** lsiv568 has joined #angularjs
[21:10:15] *** Snugug has quit IRC
[21:10:40] <enapupe> wafflejock_: hey there my savior
[21:11:03] <wafflejock_> I am around, what's up
[21:11:04] *** mchapman has quit IRC
[21:11:05] <mattt_> zumba_addict: I don’t think it matters as long as you’re consistent throughout your app.
[21:11:54] *** altious has quit IRC
[21:11:55] <zumba_addict> i was thinking to make it case insenstive so that when url is automatically generated and library generates the query for us, we will be sae
[21:11:57] <zumba_addict> safe
[21:12:04] *** peldan has joined #angularjs
[21:12:18] <zumba_addict> this way, resourceId=123 and ReSoUrCeId=123 should work
[21:12:34] <enapupe> wafflejock_: dealing with filters and async data.. have no idea what to do.. I saw a answer at stackoverflow but I don't like the way they did it
[21:12:45] <zumba_addict> because right now, ours is case sensitive. I didn't realize it after 15 mins of troubleshooting
[21:12:56] *** ascarter has quit IRC
[21:13:03] <mattt_> haha, those kinda bugs are never fun :P
[21:13:14] <zumba_addict> do I make a case? If so, I'll escalate it to our backend team :)
[21:13:18] *** alinou has joined #angularjs
[21:13:21] <enapupe> wafflejock_: http://stackoverflow.com/questions/19046641/asynchronously-initialize-angularjs-filter
[21:13:27] <zumba_addict> what do you think matt?
[21:13:34] <zumba_addict> i have a point? :)
[21:13:38] <enapupe> wafflejock_: the guy calls the service within the filter and re-request the data
[21:13:46] *** caitp has joined #angularjs
[21:14:12] *** amedia has quit IRC
[21:14:12] *** wartdev has joined #angularjs
[21:14:27] <coldboot|laptop> How do you find where an "unknown provider" error is coming from? Angular provides no stack trace that isn't inside of its own code, there's no console debug prints, and all of my directive and controller instantiation is completing execution confirmed by printing at the end.
[21:14:29] *** Milanito has quit IRC
[21:14:47] <coldboot|laptop> Can you get Angular to print state information to the console?
[21:14:51] *** ceephax has joined #angularjs
[21:15:10] *** cisox is now known as cisox_away
[21:15:11] *** cisox_away is now known as cisox
[21:15:34] <wafflejock_> enapupe: yeah typically I wouldn't think to do it the way suggested
[21:15:40] <mattt_> zumba_addict: I think better communication between front-end and back-end teams is the real problem - why was your library generating urls whose case differed from what was expected by the back-end? Pick one - case sensitive or case insensitive, and make sure everyone knows and is onboard.
[21:15:43] *** Milanito has joined #angularjs
[21:15:52] <wafflejock_> enapupe: generally I'm using filters in markup in that case the digest done after async operations takes care of it
[21:16:25] <wafflejock_> enapupe: if you are using them in JS then you can run them on some array after the async operation has happened by injecting $filter and using $filter('myFilter')(arraytofilter)
[21:16:27] *** Daven_ has quit IRC
[21:16:42] <mattt_> zumba_addict: I’d probably go with case insensitive, I can’t really back up why, but I’d probably never write anything related to query parameters that had upper-case characters to begin with, client or server side.
[21:16:53] <zumba_addict> cool
[21:17:08] <zumba_addict> that's what I thought too. Just tried microsoft site and they are doing case insenstive
[21:17:33] <mattt_> zumba_addict: you may find some answers here http://en.wikipedia.org/wiki/URL_normalization
[21:17:37] *** night-owl-MBP is now known as night-owl2
[21:17:40] <zumba_addict> thanks
[21:18:15] <wafflejock_> zumba_addict: mattt_ yeah agree with that conversation mostly... if there isn't a reason that separately having upper case and lower case versions would help then better off case insensitive if the change has low enough overhead and you aren't looking at huge amounts of traffic
[21:18:28] *** marthinal has quit IRC
[21:18:29] *** bicranial has quit IRC
[21:18:30] *** jhulten has quit IRC
[21:18:30] <zumba_addict> awesome
[21:18:31] *** Milanito has quit IRC
[21:18:35] <zumba_addict> hey buddy, how are you?
[21:18:48] <wafflejock_> zumba_addict: doing pretty good had a stressful few days but good
[21:19:01] *** orion1111 has joined #angularjs
[21:19:01] <enapupe> wafflejock_: I see.. makes sense
[21:19:02] *** Notte has quit IRC
[21:19:05] *** sonofdirt has quit IRC
[21:19:12] *** foofoobar has quit IRC
[21:19:14] <zumba_addict> mine was very stressful last sprint. This sprint is smooth sailing :)
[21:19:16] <enapupe> wafflejock_: so, I add this filter to the context not on the html, but on the service
[21:20:18] *** sonofdirt has joined #angularjs
[21:22:07] *** xaxisx has quit IRC
[21:22:12] *** jbourassa has joined #angularjs
[21:22:20] *** rburns has quit IRC
[21:22:26] <apipkin> Hey guys! Can someone articulate the differences of using $scope and specifying the controller `as`? I have an example here https://gist.github.com/apipkin/46d2623f31787e039b68 but they seem to function exactly the same
[21:22:54] *** lsiv568 has quit IRC
[21:23:10] *** blueadept has joined #angularjs
[21:23:14] *** dve_ has joined #angularjs
[21:23:17] *** GAWD has quit IRC
[21:23:27] *** balboah has joined #angularjs
[21:23:50] *** faviouz has quit IRC
[21:24:10] *** encryptd_fractl has joined #angularjs
[21:24:12] *** chrisbirk has quit IRC
[21:24:23] <mattt_> apipkin: It’s just an alias afaik - so you can refer to the controller by a more convenient name.
[21:24:49] *** H1FuelCell has quit IRC
[21:24:52] *** Malone has quit IRC
[21:24:56] <davek> Sweet fucking christ why can't there just be a node carrierwave or something?
[21:24:57] *** night-owl2 has quit IRC
[21:25:01] *** isthisreallife has joined #angularjs
[21:25:18] *** isthisreallife has left #angularjs
[21:25:24] *** night-owl-MBP has joined #angularjs
[21:25:24] *** xaxisx has joined #angularjs
[21:25:31] *** Malone has joined #angularjs
[21:25:34] *** night-owl-MBP is now known as night-owl2
[21:25:58] *** foofoobar has joined #angularjs
[21:26:23] <mattt_> apipkin: http://www.thinkster.io/angularjs/GmI3KetKo6/angularjs-experimental-controller-as-syntax
[21:26:26] <apipkin> mattt_: does it create it’s own scope then? is the sole purpose of having $scope to get the api off of $scope?
[21:26:26] <enapupe> wafflejock_: So, is it something like Restangular.all("vtodo/").getList().then(function(todos){ $scope.todos = calendaractiveFilter(todos, 34); });
[21:26:30] *** apetro__ has quit IRC
[21:26:33] <mattt_> I think I was wrong, seems like there’s more to it
[21:26:54] <apipkin> oooo :) Thanks I’ll watch this!
[21:26:59] *** dve has quit IRC
[21:27:12] *** apetro_ has joined #angularjs
[21:27:26] <reduce> i didnt know about using as with the controller
[21:27:30] <wafflejock_> enapupe: close if calendarActiveFilter is actually a module.filter() then you just need to inject $filter and use $filter('calendarActiveFilter')(todos,34) $filter lets you fetch a filter to be executed
[21:27:38] <apipkin> reduce: i just saw it in a video yesterday haha
[21:27:39] <reduce> i guess it keeps things off the scope
[21:27:52] <enapupe> ok, letmetry.
[21:28:29] *** lordkryss_ has joined #angularjs
[21:28:40] <reduce> like it stops that function from being inherited into a directives inherited scope
[21:28:45] *** edrocks has quit IRC
[21:29:01] <reduce> (when the directive is placed within the controller)
[21:29:07] *** richardbaker has quit IRC
[21:29:19] *** SFeser has joined #angularjs
[21:29:21] *** DrShoggoth has joined #angularjs
[21:29:26] * reduce goes to read the angular docs to see what their reasoning is
[21:29:57] *** ianpirro has quit IRC
[21:30:59] *** Daven_ has joined #angularjs
[21:31:19] *** GAWD has joined #angularjs
[21:31:21] *** chrisbirk has joined #angularjs
[21:31:32] <wafflejock_> yeah I really dislike the use of "this" instead of $scope, this is too wonky prefer being explicit
[21:31:48] *** lordkryss has quit IRC
[21:32:10] <enapupe> wafflejock_: I totally agree.. *this* it is confusing
[21:32:13] *** H1FuelCell has joined #angularjs
[21:32:17] <enapupe> :P
[21:32:18] <mattt_> wafflejock_: seems like a tradeoff - it makes things more explicit in the view
[21:32:25] *** endash has joined #angularjs
[21:32:25] <wafflejock_> I'm fine with it in C er Java
[21:32:33] <reduce> ok, it seems it doesnt work like i expected
[21:32:35] <wafflejock_> yeah haven't read up on the as syntax
[21:32:43] <apipkin> Is it still considered experimental? Using it with nested controllers is pretty awesome
[21:33:03] *** icfantv has quit IRC
[21:33:12] *** joshontheweb has quit IRC
[21:33:25] *** icfantv has joined #angularjs
[21:33:25] *** orion1111 has quit IRC
[21:33:28] <mattt_> makes sense to me
[21:33:37] *** lsiv568 has joined #angularjs
[21:33:52] *** wilmoore has joined #angularjs
[21:33:59] <wafflejock_> C++*#
[21:34:54] *** andrewhl has joined #angularjs
[21:34:59] <enapupe> Why is my then() is returning a object with so many inheritances? is it normal?
[21:35:00] <reduce> nice overview http://toddmotto.com/digging-into-angulars-controller-as-syntax/
[21:35:02] *** june has joined #angularjs
[21:35:26] *** ascarter has joined #angularjs
[21:35:42] <mattt_> you’re basically referring directly to the controller object rather than $scope.
[21:35:43] *** kalusn has joined #angularjs
[21:35:44] *** subone has joined #angularjs
[21:35:55] *** june has quit IRC
[21:35:59] *** MistahKurtz has quit IRC
[21:36:02] *** motionman has quit IRC
[21:36:06] *** night-owl2 has quit IRC
[21:36:12] *** DrMabuse has joined #angularjs
[21:36:22] <wafflejock_> basically trying to say anywhere that "this" refers to an instance of an object that I'm in I like it, but in JS it depends on the execution context of the function which throws me off
[21:36:29] <apipkin> mattt_: thanks for the link!
[21:36:35] <wafflejock_> yeah will read through that
[21:36:36] <mattt_> apipkin: you’re welcome
[21:36:37] <apipkin> reduce: i’m looking into that one now
[21:36:45] *** ceephax has quit IRC
[21:36:45] *** JmZ_ has quit IRC
[21:36:58] *** bkuberek has joined #angularjs
[21:36:59] <mattt_> apipkin: was informative for me too :)
[21:37:22] *** ceephax has joined #angularjs
[21:37:23] <enapupe> wafflejock_: so, my filter must run a forEach and return what was filtered, is this it?
[21:37:35] <apipkin> using `as` makes it feel more like javascript rather than a framework which i really like :)
[21:38:12] *** LossFor has joined #angularjs
[21:38:17] <wafflejock_> enapupe: yeah it depends on how you wrote your filter, they can either be transforming some string or they can be traversing an array and returning a new array depending on what you're trying to do with em
[21:38:39] *** cisox is now known as cisox_away
[21:38:49] *** JmZ_ has joined #angularjs
[21:38:49] <enapupe> Okay.. I think I got this working right.. Now.. How do I make it a 'live' filter
[21:38:55] <wafflejock_> enapupe: if you use the filter in your markup like {{someelement.thing | myFilter}} then anytime a digest occurs the filter will be re-run on the input
[21:38:55] <enapupe> ?
[21:39:13] *** \du has joined #angularjs
[21:39:14] <subone> Maybe one of you guys can tell me if I'm reinventing the wheel or just doing this all wrong. So, I create a 'variable' directive to allow the view to set a scope variable based on some watched expression. Now I'm thinking about adding an 'expression' directive to allow a view to create a scope function that can return a value dependent on the parameters passed to the 'expression'. Any thoughts?
[21:39:27] <wafflejock_> enapupe: sometimes you need to mix the two where you do some filtering in the JS and some in the markup but usually you can get away with one or the other
[21:39:33] *** superme has joined #angularjs
[21:39:43] *** evilaliv3 has quit IRC
[21:39:47] *** tfennelly has joined #angularjs
[21:40:10] *** xaxisx has quit IRC
[21:40:10] <apipkin> I think the section in that blog post “Ironing a quirk” is key to using this as well
[21:40:17] *** kalusn has quit IRC
[21:41:03] <enapupe> wafflejock_: this filter injects a service and compares some property from the object with the service.getActive() which returns the active properties of this objects.. it is working but how to rerun it when the user changes the active() in the service?
[21:41:51] *** RobinBAwesome has quit IRC
[21:42:00] *** cisox_away is now known as cisox
[21:42:01] <wafflejock_> enapupe: hmm well if you want the ones in markup to update you can trigger a digest when the active changes
[21:42:28] <enapupe> so I must add that filter to the markup aswell?
[21:42:41] <davek> Holy shit talk about rough sprints...
[21:42:59] <wafflejock_> enapupe: eh not entirely clear to me what yer goal is or where you're stuck, can you plunkr a sample
[21:43:10] *** superme has quit IRC
[21:43:10] *** xaxisx has joined #angularjs
[21:43:13] <enapupe> ok.. i'm gonna take some tests before.
[21:43:14] <enapupe> ty
[21:43:20] <wafflejock_> np
[21:43:36] *** night-owl-MBP has joined #angularjs
[21:43:38] *** wwnnbb has quit IRC
[21:44:02] *** xaxisx has quit IRC
[21:44:19] *** xaxisx has joined #angularjs
[21:44:21] *** patricka_ has quit IRC
[21:44:41] *** xaxisx has quit IRC
[21:44:53] *** cthrax_ has joined #angularjs
[21:45:08] *** juanlas has quit IRC
[21:45:28] *** Snugug has joined #angularjs
[21:45:44] *** xaxisx has joined #angularjs
[21:46:14] *** cthrax_ has quit IRC
[21:46:21] *** patrickarlt has joined #angularjs
[21:46:52] <zumba_addict> is it weird that the endpoint for POST method that our backend team created requires me to also submit a query string?
[21:46:55] <zumba_addict> i think it's wrong
[21:47:56] *** juanlas has joined #angularjs
[21:48:15] *** foofoobar has quit IRC
[21:48:27] *** cthrax has quit IRC
[21:48:28] *** MistahKurtz has joined #angularjs
[21:48:43] *** nicholaswyoung has joined #angularjs
[21:49:21] *** slecuyer has quit IRC
[21:49:39] <MistahKurtz> has anyone used Angular Table?
[21:49:55] *** wwnnbb has joined #angularjs
[21:50:03] *** Kallb123 has joined #angularjs
[21:50:45] *** patrickarlt has quit IRC
[21:51:10] <caitp> i use tables sometimes
[21:51:15] <caitp> in angular
[21:51:44] *** hannesvdvreken has joined #angularjs
[21:51:51] *** ascarter has quit IRC
[21:52:03] *** patrickarlt has joined #angularjs
[21:52:04] *** jieryn has quit IRC
[21:52:42] *** whunt has joined #angularjs
[21:53:01] *** patrickarlt has quit IRC
[21:53:05] *** arizzo has quit IRC
[21:53:18] *** jieryn has joined #angularjs
[21:53:18] *** jieryn has joined #angularjs
[21:53:28] *** arizzo has joined #angularjs
[21:53:39] *** Daven_ has quit IRC
[21:53:41] *** night-owl-MBP has quit IRC
[21:53:50] *** slecuyer has joined #angularjs
[21:54:29] *** coldboot|laptop has quit IRC
[21:54:39] *** bkuberek_ has joined #angularjs
[21:54:43] *** edrocks has joined #angularjs
[21:54:48] *** Daven_ has joined #angularjs
[21:55:12] *** Gu_______ has quit IRC
[21:55:13] *** patrickarlt has joined #angularjs
[21:55:23] *** qais_ has joined #angularjs
[21:55:28] <Kallb123> Guys, I'm having a bit of trouble with a couple of directives and their scope
[21:55:31] *** LossFor has quit IRC
[21:56:01] *** qais_ has quit IRC
[21:56:20] *** nihi|ist has quit IRC
[21:56:33] <Kallb123> Two almost identical directives, one gets the scope of the controller #003, whilst the other gains a new scope #00D. I haven't intentionally isolated it
[21:57:19] *** patricka_ has joined #angularjs
[21:57:24] <Kallb123> I have a Plunker if anyone is here to take a look?
[21:58:04] *** ingshtrom has quit IRC
[21:58:14] *** CodeFriar has quit IRC
[21:58:24] *** bkuberek has quit IRC
[21:58:39] *** mattupstate1 has joined #angularjs
[21:58:58] *** Daven_ has quit IRC
[21:59:08] *** mattupstate has quit IRC
[21:59:11] *** edrocks has quit IRC
[21:59:24] *** LossFor has joined #angularjs
[21:59:26] *** mattwynne has quit IRC
[21:59:37] *** tekky has quit IRC
[21:59:48] *** fold has quit IRC
[22:00:02] *** richardbaker has joined #angularjs
[22:00:09] *** drej has quit IRC
[22:00:11] *** VeeWee has quit IRC
[22:00:15] *** treeface has quit IRC
[22:00:18] *** milka has quit IRC
[22:00:23] *** azureknight has joined #angularjs
[22:00:33] *** patrickarlt has quit IRC
[22:01:13] *** roymilder has quit IRC
[22:01:42] <reduce> Kallb123: just post it and see who bites
[22:01:51] <reduce> its like fishing that way
[22:01:59] *** daq has quit IRC
[22:02:12] *** josh-k has joined #angularjs
[22:02:17] *** artisangoose has quit IRC
[22:02:44] *** terrykfwong has quit IRC
[22:02:45] <Kallb123> http://plnkr.co/edit/JJEeAhe3EXD30CSM4iNF?p=preview
[22:02:50] *** josh-k has quit IRC
[22:03:05] <reduce> this channel is extraordinarily quiet for having 807 members
[22:03:09] *** josh-k has joined #angularjs
[22:03:13] *** sigurding has quit IRC
[22:03:17] *** seydoggy has quit IRC
[22:03:23] *** eperez has quit IRC
[22:03:26] <icfantv> reduce: most are lurkers
[22:03:30] <Kallb123> leftNavFeed directive gets a new scope whilst leftNavToggle gets the proper scope... both of them are almost identical
[22:03:32] *** Snugug has quit IRC
[22:03:34] *** thedodd has quit IRC
[22:03:35] <Kallb123> that's true reduce
[22:03:35] <enapupe> wafflejock_: NO good.. so, i did a plunkr (not a working one) but with the few concepts you will understand: http://plnkr.co/edit/e1bDOb6rtbROn366HB5C?p=catalogue
[22:03:49] *** seydoggy has joined #angularjs
[22:03:52] *** marc_v92 has joined #angularjs
[22:03:53] *** davek has quit IRC
[22:04:05] *** wilmoore has quit IRC
[22:04:06] *** night-owl-MBP has joined #angularjs
[22:04:07] *** balboah has quit IRC
[22:04:10] *** jsoverso_ has quit IRC
[22:04:16] *** night-owl-MBP is now known as night-owl2
[22:04:26] <enapupe> wafflejock_: basically: some controller has a TODO list which have a 'calendar' property, also I have a service which hols calendars and which calendar is active.. I need to filter this list with that service information.
[22:04:36] *** sacho has joined #angularjs
[22:04:37] *** sacho_ has joined #angularjs
[22:04:47] *** circ-user-23FPz has joined #angularjs
[22:04:56] *** richardbaker has quit IRC
[22:05:07] *** Snugug has joined #angularjs
[22:05:13] *** walden is now known as walden|brb
[22:05:33] *** seydoggy_ has joined #angularjs
[22:05:43] *** drej has joined #angularjs
[22:05:45] *** slecuyer has left #angularjs
[22:05:50] *** thedodd has joined #angularjs
[22:05:50] *** ckboii89 has quit IRC
[22:05:52] *** seydoggy has quit IRC
[22:05:58] <marc_v92> Hey friends, still pretty new to Node. Recently created an app using the Sails framework, and had it suggested to me by a friend who does Node for a living to integrate Angular as the frontend, and just let Sails run the backend. What are some of the advantages of using Angular to handle front-end expressions and whatnot over other frameworks (such as Sails)’s built in expression engine?
[22:06:24] *** kalusn has joined #angularjs
[22:06:24] *** robteix has quit IRC
[22:06:35] *** tekky has joined #angularjs
[22:06:40] <marc_v92> In terms of real-world examples, I mean. What would be some instances where Angular shows off its supremacy over other options?
[22:07:05] *** Daven_ has joined #angularjs
[22:07:30] *** mtsr has quit IRC
[22:07:33] *** vintik has quit IRC
[22:08:11] *** cigarshark has joined #angularjs
[22:08:17] *** LossFor has quit IRC
[22:08:47] *** LossFor has joined #angularjs
[22:09:13] *** wartdev has quit IRC
[22:09:22] *** patricka_ has quit IRC
[22:10:02] *** terrykfwong has joined #angularjs
[22:10:21] *** vintik has joined #angularjs
[22:10:22] *** cthrax has joined #angularjs
[22:10:51] *** jsoverson has joined #angularjs
[22:11:03] *** kalusn has quit IRC
[22:11:27] *** Daven_ has quit IRC
[22:12:09] *** JoshGlzBrk has joined #angularjs
[22:12:23] *** anjumkaiser has joined #angularjs
[22:12:35] *** fedenunez1 has quit IRC
[22:12:54] *** amb has joined #angularjs
[22:13:18] <blueadept> testing
[22:13:23] *** Voyage has joined #angularjs
[22:13:31] *** TorchDr__ has quit IRC
[22:13:38] <blueadept> binding data to dom objects without having to write the bindings yourself
[22:13:59] *** circ-user-23FPz is now known as captainrdbeard
[22:14:05] *** Daven_ has joined #angularjs
[22:14:26] *** Daven_ has quit IRC
[22:14:30] *** coldboot|laptop has joined #angularjs
[22:14:43] *** Daven_ has joined #angularjs
[22:14:55] *** G1eb has joined #angularjs
[22:15:09] *** mtsr has joined #angularjs
[22:15:28] *** patrickarlt has joined #angularjs
[22:15:33] *** Xethron has joined #angularjs
[22:15:55] *** Daven_ has quit IRC
[22:16:16] <marc_v92> blueadept: Thanks, that makes sense.
[22:16:21] <wafflejock_> enapupe: okay so you can do something like this http://plnkr.co/edit/IlljJlVLjAJfeI9UaSRB?p=preview
[22:17:06] *** coldboot|laptop has quit IRC
[22:17:06] <wafflejock_> blueadept: marc_v92 would add directives for extending the ability and behaviors from the markup
[22:17:16] *** wallerdev has quit IRC
[22:17:44] <wafflejock_> also an event system for the scopes
[22:18:07] <wafflejock_> and DI
[22:18:10] *** walden|brb is now known as walden
[22:18:12] <marc_v92> Now onto a more practical issue: I have a model named Alert. I’m trying to grab the most recent “Alert” from the database in my controller to pass to my view, but I can’t for the life of me figure out how to access those Alerts in the controller.
[22:18:24] *** JoshGlzBrk has quit IRC
[22:18:27] *** pc_ has joined #angularjs
[22:18:34] *** moritzs has quit IRC
[22:18:51] *** conner_ has joined #angularjs
[22:19:07] <marc_v92> http://dpaste.com/0P8N1GF
[22:19:17] <wafflejock_> marc_v92: typically you want to design a model that drives the view, so if your model always has the info about the alerts (maybe an AlertsManager) then you can just use that to access the model you need
[22:19:19] *** Siecje has quit IRC
[22:19:56] <wafflejock_> enapupe: does that make sense?
[22:19:59] *** jacuqesdancona_ has joined #angularjs
[22:20:22] *** c0bra has joined #angularjs
[22:20:36] *** schonert has joined #angularjs
[22:20:51] <wafflejock_> enapupe: it's not the cleanest thing in the world but it's pretty rare that I need to do this kind of processing in the controller, you can also maybe do it in your services instead of having the controller watch for changes and run the filtering
[22:21:39] *** arizzo_ has joined #angularjs
[22:21:39] *** arizzo has quit IRC
[22:21:55] *** Cavallari has quit IRC
[22:22:58] *** coldboot|laptop has joined #angularjs
[22:23:04] *** GAWD has quit IRC
[22:23:08] <homework1> Protractor question, when I run my tests everything works ok, but I don't see an actual browser open up. It seems like its running in a headless mode. While this is probably ideal I'd also like to see it run in a browser for debugging purposes. How do I enable this?
[22:23:55] *** H1FuelCell has quit IRC
[22:23:57] *** Xethron has quit IRC
[22:24:09] *** nicholaswyoung has quit IRC
[22:24:18] *** gr1nd has joined #angularjs
[22:24:22] *** jacuqesdancona_ has quit IRC
[22:24:22] *** xaxisx has quit IRC
[22:24:28] *** whunt has quit IRC
[22:25:08] *** seydoggy_ has quit IRC
[22:25:09] *** bkuberek_ has quit IRC
[22:25:26] *** evilaliv3 has joined #angularjs
[22:25:46] *** seydoggy has joined #angularjs
[22:25:47] *** bkuberek has joined #angularjs
[22:25:54] *** arizzo_ has quit IRC
[22:26:16] *** arizzo has joined #angularjs
[22:26:26] <wafflejock_> enapupe: if I want some data to always have the filtered version I would recommend doing it in the service since there you can create a shared reference but if only one controller should have the filtered version I would probably do the watch bit
[22:26:41] *** pc_ has quit IRC
[22:27:35] *** pheze has quit IRC
[22:27:35] *** arizzo has quit IRC
[22:27:40] *** mtsr has quit IRC
[22:27:40] *** edzez has quit IRC
[22:27:45] *** arizzo has joined #angularjs
[22:28:07] *** pheze has joined #angularjs
[22:28:36] *** edzez has joined #angularjs
[22:29:18] *** jtimon has quit IRC
[22:29:20] <wafflejock_> bbiab need to reboot for updates (surprising how often this happens in Linux now, used to be no reboots in Linux after updates now I feel like it's got to be at least as much as often as Windows), latest stuff was updates to Plasma desktop though so I suppose it makes sense they just recommend a reboot, and with SSD it's not so bad
[22:29:45] *** seydoggy has quit IRC
[22:29:50] *** TorchDragon has joined #angularjs
[22:30:02] *** dbouwman_ has joined #angularjs
[22:30:24] *** Aliks has quit IRC
[22:30:30] *** cisox is now known as cisox_away
[22:31:00] *** Aliks has joined #angularjs
[22:31:16] *** fedenunez has joined #angularjs
[22:31:47] *** c0bra has quit IRC
[22:32:51] *** H1FuelCell has joined #angularjs
[22:33:11] *** Aliks has quit IRC
[22:33:24] <encryptd_fractl> homework1: do you have browsers: ['phantomJS'] in your protractor config file?
[22:33:30] <homework1> nope
[22:33:32] *** dbouwman has quit IRC
[22:33:47] *** Aliks has joined #angularjs
[22:33:51] *** fedenunez has quit IRC
[22:33:55] *** fedenunez1 has joined #angularjs
[22:33:58] *** dbouwman_ has quit IRC
[22:34:04] *** snapwich has quit IRC
[22:34:37] *** wafflejock_ has quit IRC
[22:34:45] *** apetro_ has quit IRC
[22:34:52] *** lsiv568 has quit IRC
[22:34:53] *** whunt has joined #angularjs
[22:35:09] *** mrogne has quit IRC
[22:35:19] *** GAWD has joined #angularjs
[22:35:21] *** G1eb has quit IRC
[22:35:37] *** cythrawll has joined #angularjs
[22:35:40] *** coldboot|laptop has quit IRC
[22:35:42] <amb> wafflejock_: GUI was never intended to not cause reboots since servers don;t use them
[22:35:42] *** tommmied has quit IRC
[22:35:45] *** Xethron has joined #angularjs
[22:35:49] *** apetro_ has joined #angularjs
[22:36:09] <cythrawll> hey guys, I'm wondering if you ever used angularjs to make third party widgets. Is there any tips or any resources for this usage?
[22:37:00] *** patricka_ has joined #angularjs
[22:37:41] <caitp> cythrawll there are lots of examples out there
[22:37:59] <caitp> mgcrea's angular-strap, and angular-ui's bootstrap, are good examples
[22:38:18] <caitp> i've done a bit of it too
[22:38:21] *** mattupstate1 is now known as mattupstate
[22:38:33] *** seydoggy has joined #angularjs
[22:38:34] <cythrawll> caitp, cool
[22:38:34] *** snapwich has joined #angularjs
[22:38:40] <caitp> http://caitp.github.io/ui-comments/#/r/aww there's an example
[22:39:53] *** patrickarlt has quit IRC
[22:40:21] *** seydoggy has quit IRC
[22:40:27] *** RobinBAwesome has joined #angularjs
[22:40:40] *** wafflejock has joined #angularjs
[22:40:41] <cythrawll> caitp thanks
[22:40:50] *** terrykfwong has quit IRC
[22:40:57] *** seydoggy has joined #angularjs
[22:41:08] <wafflejock> enapupe: back, you get that worked out?
[22:41:09] <cythrawll> the idea is that i can give soemone a few lines of html to copy paste into their website.
[22:41:23] *** terrykfwong has joined #angularjs
[22:41:36] *** seydoggy has quit IRC
[22:42:03] <amb> wafflejock_: GUI was never intended to not cause reboots since servers don;t use them
[22:42:26] *** seydoggy has joined #angularjs
[22:42:56] *** H1FuelCell has quit IRC
[22:43:09] *** H1FuelCell has joined #angularjs
[22:43:17] *** alinou has quit IRC
[22:43:22] *** t_smith has joined #angularjs
[22:43:31] *** texinwien has joined #angularjs
[22:43:35] *** slainer68 has joined #angularjs
[22:43:38] <wafflejock> amb: that does make a lot of sense but just saying even with old Gnome desktop running it didn't seem to happen as often but I thnk things were just generally moving at a slower pace then and I didn't rely on it as my main desktop back then either
[22:44:16] *** fedenunez has joined #angularjs
[22:44:16] *** fedenunez1 has quit IRC
[22:44:27] *** GAWD has quit IRC
[22:44:45] *** peldan has quit IRC
[22:45:07] *** t_smith has quit IRC
[22:45:13] *** RandomStranger- has joined #angularjs
[22:45:15] *** RandomStranger has quit IRC
[22:45:43] *** shinnya has joined #angularjs
[22:46:33] <amb> wafflejock_: I also noticed main GUIs tend to require reboot or logout much often than before, but I think all the libraries necesary for the (useless) bling requires it
[22:46:37] *** mehlah has joined #angularjs
[22:47:29] <amb> wafflejock_: out of curiosity what distro are you using ?
[22:47:42] <wafflejock> amb: I like the useless bling :P I'm running Kubuntu right now
[22:47:50] *** Aliks has quit IRC
[22:48:04] *** darrin has quit IRC
[22:48:19] *** peldan has joined #angularjs
[22:48:22] *** Aliks has joined #angularjs
[22:48:30] *** dshap has quit IRC
[22:48:39] <wafflejock> I was using Ubuntu by Unity was driving me a bit mad with the inability to easily change the desktop so I gave KDE a try alongside Unity and liked it enough to switch for now... always wanting to check out the new shiney though
[22:48:45] <wafflejock> but*
[22:48:56] <jaawerth_> have you tried Cinnamon?
[22:48:58] *** Daven_ has joined #angularjs
[22:49:04] *** wallerdev has joined #angularjs
[22:49:06] *** cisox_away is now known as cisox
[22:49:15] <wafflejock> yeah it's pretty nice but had some stability problems might have just been cause of the VM though
[22:49:18] *** anjumkaiser has quit IRC
[22:49:21] *** BillCriswell has quit IRC
[22:49:31] <jaawerth_> It isn't perfect yet, but I'm running it on Mint 17 right now and overall I'm loving it
[22:50:11] *** coldboot|laptop has joined #angularjs
[22:50:13] *** MGDSoft has joined #angularjs
[22:50:19] <jaawerth_> It does a very admirable job of combining the "desktop paradigm" with some of the features of unity-type stuff without going overboard, and the newest version does some nifty tiling
[22:50:21] *** obert has quit IRC
[22:50:50] <wafflejock> yeah I've become a big fan of tiling, with two monitors it's not always needed but nice to have still
[22:50:55] *** LossFor has quit IRC
[22:51:04] *** flexd has quit IRC
[22:51:09] *** Oxelist has joined #angularjs
[22:51:10] *** rabaznaz has joined #angularjs
[22:51:14] <wafflejock> never tried TWM or Awesome or any of those more focused on tiling though
[22:51:29] <amb> wafflejock_: I exclusively use fedora for a couple of years but I tried gnome 3, cinnamon, unity, etc but I always revert to KDE
[22:51:32] <Foxandxss> TheAceOfHearts: hey
[22:51:39] <TheAceOfHearts> yo~
[22:51:42] *** cisox is now known as cisox_away
[22:51:44] <Foxandxss> TheAceOfHearts: https://github.com/chupipandi/jwt-rb
[22:51:49] <Foxandxss> we released that today
[22:51:53] <jaawerth_> I've tried both TWM and AWM. The tiling is great, but 1) so much software out there just isn't made for it, and 2) sometimes you just want to click and drag things around
[22:52:01] <amb> wafflejock_: I tried Awesome but you start to miss a more complex GUI pretty quickly
[22:52:17] *** Daven_ has quit IRC
[22:52:22] <wafflejock> well that's all good affirmation for the current choice
[22:52:22] *** c0bra has joined #angularjs
[22:52:24] *** ckboii89 has joined #angularjs
[22:52:25] <jaawerth_> also it's annoying to have to memorize a billion and one keyboard shortcuts
[22:52:55] <jaawerth_> Cinnamon does a great job with it though. It still uses windows, but with a quick key combination you can tile things horizontally, vertically, or into the four corners and adjust as needed (if needed)
[22:52:59] <amb> TWM et al. are good if you don't want any distractions :D
[22:53:15] *** Milanito has joined #angularjs
[22:53:19] <amb> fire the GUI, fire the IDE and start coding
[22:53:24] <amb> then shutdown :P
[22:53:28] *** cisox_away is now known as cisox
[22:53:34] <jaawerth_> I also really like their expose features - there's one that does everythong on the current desktop (or desktops if you're using multiple monitors) and another that does it for all desktops and lets you drag windows between them
[22:53:34] *** spencercarnage has quit IRC
[22:53:37] *** xaxisx has joined #angularjs
[22:53:55] <wafflejock> amb: yeah I could see that but for being my entertainment+work machine that would be annoying I think
[22:54:13] <jaawerth_> I find that twm/awm just wastes too much time with having to fiddle with it
[22:54:22] <amb> I don;t think tiling is necessary anymore with multiple monitors...
[22:54:33] *** fedenunez has quit IRC
[22:54:38] <jaawerth_> Oh, I think it still helps
[22:54:39] *** fedenunez1 has joined #angularjs
[22:54:58] <wafflejock> yeah just nice to have if I disconnect from the monitors generally I just go code on one side output on the other
[22:55:02] <jaawerth_> particularly for separating the coding/researching/emailing and organizing sides of your work
[22:55:03] *** Snugug has quit IRC
[22:55:11] <amb> I use virtual desktops a lot. I prefer these than tiling
[22:55:21] <jaawerth_> that's why I like using linux in the first place -e ven with multiple monitors, the virtual desktops are nice
[22:55:22] *** mven_ has joined #angularjs
[22:55:29] <wafflejock> yeah I have swung towards more virtual desktop too
[22:55:29] *** matiasow has joined #angularjs
[22:55:31] *** cthrax has quit IRC
[22:55:40] <amb> IDE on desktop 1, browser on desktop 2, pdfs on desktop 3 and so on
[22:55:43] <jaawerth_> I don't use tiling much, but a little sprinkle on top of the other stuff can help make sure nothing gets covered
[22:55:50] <jaawerth_> Also: guake, oh how I love guake
[22:56:17] <jaawerth_> I still use multiple terminal windows for various tasks, but my main terminal is just a shortcut away
[22:56:41] <amb> I also have a terminal on the other screen where I need one
[22:56:47] *** dutis has joined #angularjs
[22:56:48] *** richardbaker has joined #angularjs
[22:56:51] *** hubertus_ has joined #angularjs
[22:56:57] <wafflejock> I have Super+T mapped to open terminal but using KDE so don't know if guake would play nice
[22:57:01] <amb> and for AngularJS I need it :))
[22:57:05] <jaawerth_> guake is a terminal that acts like the dropdown command prompt in quake
[22:57:17] <wafflejock> ah gotcha the name makes sense now
[22:57:18] <jaawerth_> I think it's gnome-based, but there's a kde equivalent
[22:57:41] *** G1eb has joined #angularjs
[22:58:10] <jaawerth_> http://www.micahcarrick.com/images/guake-terminal.png
[22:58:22] *** G1eb is now known as Guest10902
[22:58:24] <jaawerth_> not my screenshot, but mine basically looks like that
[22:58:37] <Kallb123> Is it possible to run angular code (access to scope) when the window is resized?
[22:58:50] <jaawerth_> Kallb123: you mean respond to a resize event?
[22:58:54] <amb> It would be nice if DEs would get togheter and make a better DE and stop with all this fragmentation..
[22:59:05] <Kallb123> jaawerth_, , yep
[22:59:29] *** Aliks has quit IRC
[22:59:58] <jaawerth_> Kallb123: yep, you basically just listen for the 'resize' event with jquery or jqlite (preferably in a directive). I just remembered that I have to run to a quick meeting but I'll be back in 15 if nobody picks up where I left off ;-)
[22:59:58] *** DuelShark has quit IRC
[23:00:01] *** Aliks has joined #angularjs
[23:00:15] *** Oxelist has quit IRC
[23:00:21] <Kallb123> Would that be a directive on body or something?
[23:00:36] *** jareddlc has quit IRC
[23:00:41] <Kallb123> good luck with meeting, I'll try some stuff out
[23:00:43] *** arizzo_ has joined #angularjs
[23:01:02] *** marc_v92 has quit IRC
[23:01:28] *** thedodd has quit IRC
[23:01:45] *** JGarrido has quit IRC
[23:01:56] <wafflejock> amb: I sort of feel that but I like the competition and variance that will come out of different projects
[23:01:57] *** mrogne has joined #angularjs
[23:02:21] <enapupe> wafflejock: got stuck on a meeting, sorry
[23:02:23] <wafflejock> amb: same deal with android and carriers changing things, it really sucks sometimes but on the other hand Google pulls features into the core that are introduced to everyone that way
[23:02:40] *** night-owl2 has quit IRC
[23:02:45] <enapupe> So,yes, I could definitely set that up on the service!
[23:02:46] <wafflejock> enapupe: ah no worries was curious what happened, thought maybe you fell asleep at the keyboard
[23:02:54] *** danethurber has quit IRC
[23:03:01] *** peldan_ has joined #angularjs
[23:03:39] *** matiasow has quit IRC
[23:03:48] <enapupe> I'm going to try setting that filter on the service
[23:03:53] *** vbabiy has quit IRC
[23:03:59] <wafflejock> Kallb123: yeah sounds like you're on the right track, use a directive you can drop it on the body and just listen for the window resize events you probably want to use _.throttle or the like since you'll get tons of updates
[23:04:01] *** Nijikokun has quit IRC
[23:04:04] <wafflejock> enapupe: sounds good
[23:04:05] <enapupe> oh, but I don't have such service, lol
[23:04:09] *** shinnya has quit IRC
[23:04:12] *** arizzo has quit IRC
[23:04:15] *** peldan_ has quit IRC
[23:04:16] *** peldan has quit IRC
[23:04:40] *** danizord has quit IRC
[23:04:41] *** peldan has joined #angularjs
[23:04:46] <enapupe> the todo data is related to this controller only, should i setup a service anyway?
[23:04:51] <wafflejock> ha well if you'll be re-using this data between various controllers that might get made whenever then you probably want a service for holding that stuff and manipulating it
[23:05:04] <amb> wafflejock: I agree but I much prefer a nicer DE like OSX (but with virtual desktops) than a multitude half baked - KDE always gave me errors on OpenSUSE
[23:05:06] <wafflejock> enapupe: yeah you want a service or factory because they are singletons
[23:05:12] <amb> on fedora is pretty stable
[23:05:20] <wafflejock> amb: it's been fantastic in Ubuntu really
[23:05:21] <enapupe> The calendar is totally reused but the todo data is not.. it concerns only the scope of its controller
[23:05:30] <TheAceOfHearts> sorry, got spaced out
[23:05:32] <TheAceOfHearts> lemme look Foxandxss
[23:05:32] <wafflejock> amb: I never messed much with Fedora, just a bit early on same with SuSe
[23:05:42] <TheAceOfHearts> oh awesome :D
[23:05:43] *** LossFor has joined #angularjs
[23:05:44] <TheAceOfHearts> JWT <3
[23:05:49] *** Aliks has quit IRC
[23:06:04] <Foxandxss> yup yup
[23:06:11] <Foxandxss> the existing one was kind of mess
[23:06:17] <Foxandxss> and lack some new features (like expiration)
[23:06:22] *** Aliks has joined #angularjs
[23:06:31] <Foxandxss> so we created one, fast & furious :P
[23:06:32] *** nicholaswyoung has joined #angularjs
[23:06:32] *** pskrz has quit IRC
[23:06:35] <wafflejock> enapupe: yeah if something is needing to be "cached" from an API then I wrap it up in a service/factory or if I need to share some data between multiple controllers I do the same, if I don't care that the object gets recreated every time the controller instance is created then I just do it in the controller
[23:06:40] *** nanoyak_ has quit IRC
[23:07:01] <enapupe> yes, i don't care because the controller is the only using it
[23:07:08] *** TorchDragon has quit IRC
[23:07:12] <Kallb123> just struggling to listen for the resize. I've done this with jQuery loads before, $(window).resize(function() {});... But should the link function just look the same or element.resize() or $(element).resize()? wafflejock any input would be appreciated :)
[23:07:13] <wafflejock> amb: only problem I've had was with auto-hide panels while using vokoscreen to capture my screen it would crash
[23:07:15] *** captainrdbeard has quit IRC
[23:07:17] *** kalusn has joined #angularjs
[23:07:39] *** drej has quit IRC
[23:07:41] *** phuh has joined #angularjs
[23:07:44] *** schonert has quit IRC
[23:07:55] *** seydoggy has quit IRC
[23:08:11] <wafflejock> Kallb123: you can actually just use window or $window if you want to listen on that still you can use angular.element($window) similar to how you would with jQuery or if you included jQuery you can still do it the same way
[23:08:25] *** Nijikokun has joined #angularjs
[23:08:29] *** seydoggy has joined #angularjs
[23:08:33] *** FIFOd[a] has quit IRC
[23:08:46] *** Fire-Dragon-DoL has quit IRC
[23:08:46] *** pheze has quit IRC
[23:08:59] <wafflejock> Kallb123: you would use element if you wanted to do something to the body tag itself but in this case just a listener on the window is needed
[23:09:15] *** mennea has quit IRC
[23:09:16] *** shinnya has joined #angularjs
[23:09:18] *** TorchDragon has joined #angularjs
[23:09:20] *** peldan has quit IRC
[23:09:20] *** Voyage has quit IRC
[23:09:25] *** pheze has joined #angularjs
[23:09:27] *** Xethron has quit IRC
[23:09:33] <Kallb123> It doesn't seem to fire once I put it in a directive :/
[23:09:33] *** alekibango has joined #angularjs
[23:09:33] *** spencercarnage has joined #angularjs
[23:09:48] *** foo-bar- has quit IRC
[23:09:54] <wafflejock> Kallb123: throw a couple debugger; lines in your link function and around the directive to be sure it gets defined and called
[23:09:55] <Kallb123> nothing fires: http://pastebin.com/AxHgTZfR
[23:10:03] *** RandyT has quit IRC
[23:10:20] *** Fire-Dragon-DoL has joined #angularjs
[23:10:37] <Kallb123> Am I being stupid again? :P
[23:10:45] *** ninkotech__ has joined #angularjs
[23:11:00] <Foxandxss> TheAceOfHearts: since it supports now expiration, I updated: https://github.com/Foxandxss/rails-angular-jwt-example
[23:11:10] <Foxandxss> so it now checks on startup if it is valid or not
[23:11:12] <enapupe> Kallb123: jquery?
[23:11:14] *** teslanick has joined #angularjs
[23:11:19] <TheAceOfHearts> awesome :D
[23:11:20] *** ziyadb has joined #angularjs
[23:11:25] *** teslanick has quit IRC
[23:11:30] <TheAceOfHearts> I need to start publishing more stuff D:
[23:11:33] <wafflejock> Kallb123: http://plnkr.co/edit/2pY20PIc9pzLKTkTPPRB?p=preview
[23:11:34] *** kalusn has quit IRC
[23:11:34] <Kallb123> ye, jquery is included
[23:11:40] *** Ethix has joined #angularjs
[23:11:44] *** LossFor has quit IRC
[23:11:45] <Foxandxss> TheAceOfHearts: have you heard about lotus?
[23:11:49] <TheAceOfHearts> nope
[23:12:00] <Foxandxss> Kallb123: those parenthesis around window are not needed
[23:12:02] <Foxandxss> neither the ·
[23:12:03] <Foxandxss> $
[23:12:19] <Foxandxss> TheAceOfHearts: new ruby framework, small, but awesome, we are gonna try that. Lotus + jwt + angular
[23:12:29] <TheAceOfHearts> neat :D
[23:12:34] <TheAceOfHearts> I like node lol
[23:12:45] <TheAceOfHearts> I'm playing around with browserify :D
[23:12:48] *** jsoverson has joined #angularjs
[23:12:49] <Foxandxss> yup, but we do rails
[23:12:56] *** RandyT has joined #angularjs
[23:12:59] <Foxandxss> TheAceOfHearts: dont' say that if I have the @ on
[23:13:03] *** seydoggy has quit IRC
[23:13:05] <Foxandxss> I can missclick
[23:13:07] *** c0bra has quit IRC
[23:13:13] <TheAceOfHearts> xD
[23:13:19] <TheAceOfHearts> browserify is great for libs :P
[23:13:27] <ziyadb> Beginner here
[23:13:27] <TheAceOfHearts> I don't feel like rewriting a bunch of stuff that's already been done
[23:13:28] *** nerdfiles has quit IRC
[23:13:30] *** dutis has quit IRC
[23:13:32] <Foxandxss> but browserify on angular?
[23:13:34] <ziyadb> Why isn't this working? It's super simple: http://plnkr.co/edit/ai0ENlk31PmrCM7zwbnK?p=preview
[23:13:35] *** spencercarnage has quit IRC
[23:13:37] <TheAceOfHearts> I don't do browserify on angular
[23:13:38] *** TorchDragon has quit IRC
[23:13:45] <wafflejock> Kallb123: the plunkr work for ya?
[23:13:52] <Foxandxss> alright, missclick change reduced
[23:13:57] <TheAceOfHearts> but for libs? definitely the best approach in a lot of cases.
[23:14:19] <Kallb123> wafflejock, it did, but didn't in my code. Realised the difference was my ng-app was buried further in whereas you had it on <html>
[23:14:23] <Foxandxss> TheAceOfHearts: one guy wants to use angular-toastr with broserify
[23:14:24] <Foxandxss> no idea
[23:14:31] <Kallb123> Moving ng-app solved it :)
[23:14:33] <TheAceOfHearts> idk what that is lol
[23:14:42] <Kallb123> thanks for th help :)
[23:14:49] <Foxandxss> TheAceOfHearts: https://github.com/Foxandxss/angular-toastr
[23:14:50] <wafflejock> ziyadb: missing () at the end http://plnkr.co/edit/EGMn9QD8SaPrrLFcSaKV?p=preview
[23:15:02] <enapupe> wafflejock: so, this single line $scope.$watch("activeData", function(newVal,oldVal){},true) is making my filter 'alive'?
[23:15:02] <TheAceOfHearts> oh neat
[23:15:05] <wafflejock> Kallb123: ah np yeah makes sense
[23:15:14] <Foxandxss> ziyadb: why wrap it into that anonymous function?
[23:15:17] <wafflejock> enapupe: ah well you have to do the business in the function still
[23:15:22] <enapupe> wafflejock: that and the way you returned the object instead of the function
[23:15:27] <ziyadb> Foxandxss: I'm just following a tutorial at this point.
[23:15:36] <TheAceOfHearts> Foxandxss: did you see this? https://material.angularjs.org/#/component/material.components.toast
[23:15:43] <ziyadb> wafflejock: I actually omitted that by choice, thinking it had no bearing.
[23:15:44] <Foxandxss> TheAceOfHearts: yup
[23:15:47] *** dylukes has quit IRC
[23:15:51] <ziyadb> Evidently I was wrong..
[23:16:00] <wafflejock> ziyadb: if you wrap everything in a function it needs to be called
[23:16:10] <Foxandxss> ziyadb: that function was never called
[23:16:11] <wafflejock> ziyadb: it's not necessary to do that but helps to block anything from being in global scope
[23:16:29] <Foxandxss> TheAceOfHearts: my library is still better and not fixed to a concrete css framework
[23:16:32] *** ajmitch_ is now known as ajmitch
[23:16:35] <Foxandxss> still, material is awesome
[23:16:41] <ziyadb> wafflejock: I understand. Thank you very much!
[23:16:42] <TheAceOfHearts> indeed
[23:16:46] <wafflejock> ziyadb: yup np
[23:16:51] *** nerdfiles has joined #angularjs
[23:17:38] *** Aliks has quit IRC
[23:17:44] <amb> TheAceOfHearts: Material is awesome
[23:17:48] *** dutis has joined #angularjs
[23:18:11] *** Aliks has joined #angularjs
[23:18:35] *** conner_ has quit IRC
[23:18:44] *** wookiehangover has quit IRC
[23:19:11] *** dutis has quit IRC
[23:19:22] *** coldboot|laptop has quit IRC
[23:19:33] *** MGDSoft has quit IRC
[23:19:37] *** dbouwman has joined #angularjs
[23:19:52] *** dutis has joined #angularjs
[23:19:53] *** spencercarnage has joined #angularjs
[23:20:38] *** Milanito has quit IRC
[23:20:52] *** tilgovi has quit IRC
[23:21:11] *** Aliks has quit IRC
[23:21:20] *** wwnnbb has quit IRC
[23:21:35] *** MacWinner has quit IRC
[23:21:47] *** Aliks has joined #angularjs
[23:22:19] *** henn1nk has quit IRC
[23:22:38] <snurfery> sup yall
[23:23:07] <oniijin> humps
[23:23:08] <snurfery> I'm having a brain fart trying to remember what that popular/awesome realtime js framework was I always see mentioned
[23:23:17] <snurfery> not sails
[23:23:21] *** cthrax has joined #angularjs
[23:23:26] <enapupe> wafflejock: that watch is not triggering.. :(
[23:23:38] <snurfery> it's for websockets, long-polling, etc
[23:23:45] <enapupe> oh, nevermind.. 1sec
[23:24:33] <enapupe> yes, it is.. so, I must call the filter again inside that watch?
[23:24:44] *** NormySan has quit IRC
[23:25:17] *** jareddlc has joined #angularjs
[23:25:28] <wafflejock> enapupe: yeah
[23:25:32] *** dutis has quit IRC
[23:25:38] <wafflejock> enapupe: I didn't fill it in just setup the structure but you'd need to filter again
[23:25:46] *** mfunkie_ has quit IRC
[23:25:47] *** bkuberek has quit IRC
[23:25:52] <enapupe> I get it .. it's working now
[23:25:58] *** Aliks has quit IRC
[23:26:05] <enapupe> BUT i think this solution is weird =P
[23:26:09] *** thedodd has joined #angularjs
[23:26:25] <enapupe> nevertheless is the only so fat
[23:26:25] <wafflejock> k cool yeah if you do a {{something|someFilter}} it also sets up a watch in the background for each of those and runs the filter function on the input
[23:26:26] <enapupe> far*
[23:26:37] *** whunt_ has joined #angularjs
[23:26:52] *** zanea|away is now known as zanea
[23:26:54] *** hannesvdvreken has quit IRC
[23:26:58] <wafflejock> yeah there are other ways to go like running the filter in the service that might seem a bit better it shouldn't be much difference performance wise regardless
[23:27:14] <enapupe> cool
[23:27:22] <enapupe> that's enough to me
[23:27:32] <oniijin> snurfery pubnub?
[23:27:35] <enapupe> funny, it is the same solution I came asking the other day
[23:27:43] *** xaxisx has left #angularjs
[23:28:05] <chrysn> just trying to understand filters ... do they anything a function can't do except having a different syntax?
[23:28:18] <wafflejock> enapupe: yeah there's lots of overlap in using the same methods for slightly different things and lots of ways to skin a cat in angular
[23:28:34] <wafflejock> chrysn: use in the markup
[23:28:34] *** Daven_ has joined #angularjs
[23:28:36] <enapupe> yes.. I can see that, everyday a little bit more
[23:28:42] <enapupe> I miss a better documentation
[23:28:51] <wafflejock> chrysn: you can chain filters like something | filter | orderBy
[23:28:57] *** henn1nk has joined #angularjs
[23:28:58] *** krawchyk_ has quit IRC
[23:28:59] <enapupe> fortunately I don't miss a good soul willing to help \o/
[23:29:03] <snurfery> oniijin: hmm that doesn't sound familiar but I'll check it out
[23:29:05] *** whunt has quit IRC
[23:29:19] *** arizzo_ has quit IRC
[23:29:20] *** dcherman2 has joined #angularjs
[23:29:45] <snurfery> mebbe it's sockjs
[23:29:45] *** btyne has quit IRC
[23:29:51] <chrysn> wafflejock: but that's not different from orderBy(filter(something)), is it? (apart from syntax and where the things are looked up)
[23:29:55] *** dutis has joined #angularjs
[23:29:59] *** arizzo has joined #angularjs
[23:30:03] <jaawerth_> Kallb123: back! did these fine folks get you pointed in the right direction?
[23:30:10] <wafflejock> chrysn: right just difference in syntax really
[23:30:16] *** bicranial has joined #angularjs
[23:30:23] <chrysn> wafflejock: thank you
[23:30:23] *** Daven_ has quit IRC
[23:30:27] <Kallb123> They sure did! Thanks for your help! :)
[23:30:34] <jaawerth_> ha, sure
[23:30:35] <wafflejock> chrysn: well and I guess it does some expression parsing but you could do the same for sure
[23:30:53] *** samhermes has quit IRC
[23:31:19] <enapupe> wafflejock: I got a new perspective to that scenario.. As you see, the CalendarService is something that will stick around many controllers.. how do I abstract that part of watching ($scope.$watch("activeData") the change of active calendar so I don't have to repeat myself??
[23:31:30] *** dcherman has quit IRC
[23:31:31] <chrysn> wafflejock: yeah, sure there are details ... but i'm trying to build a mental model of what angularjs can actually do, and adding syntactic sugar is something i'll ignore for the time being
[23:31:33] <wafflejock> enapupe: just do it in the service
[23:31:35] <jaawerth_> Kallb123: protip (if they didn't mention it already), one thing annoying thing about the resize event is that it fires like crazy while resizing and doesn't really have a start/stop state. Angular's $timeout can be very, very helpful in dealing with this because it lets you 1) throttle it, and 2) wrap it in a promise
[23:31:43] *** wookiehangover has joined #angularjs
[23:31:45] *** evilaliv3 has quit IRC
[23:31:57] <enapupe> wafflejock: But is that watch which triggers a new filter (on the controller!)
[23:32:11] <enapupe> and that controllers are different, dealing with different data..
[23:32:33] *** coldboot|laptop has joined #angularjs
[23:32:34] <enapupe> but all possibly related (and filtered) by some info on calendarservice
[23:32:40] <enapupe> damm that's hard.
[23:32:40] <Kallb123> ye, wafflejock mentioned throttling it. For now I just let it be because it's a very undemanding function to call. Would simply placing it in $timeout throttle it well?
[23:32:47] *** gnarMati_ has joined #angularjs
[23:32:49] <wafflejock> chrysn: yeah what it can do is data binding/watching, events, dependency injection, and with a router some client side routing, I think everything else is basically some sort of syntactic sugar
[23:32:52] <chrysn> my impression is that angularjs is mainly about two things: replacing dom nodes or strings (templating), and running evaluating watch expressions until things converge
[23:33:03] *** bzitzow has quit IRC
[23:33:22] *** DigitallyBrn has quit IRC
[23:33:25] <wafflejock> Kallb123: yeah you can do it with $timeout but there's more work involved than using something like lodash's throttle
[23:33:56] *** davek has joined #angularjs
[23:34:00] *** coldboot|laptop has quit IRC
[23:34:23] <Kallb123> I don't seem to be able to access $timeout from the resize() function I'm calling, so I think I'll leave it for now :/
[23:34:36] <chrysn> i'm tempted to write an "angularjs for programmers" introduction that just tells people which parts do heavy lifting (the "introduction to angular for c# programmers" helped me even though i don't .net)
[23:34:36] <wafflejock> chrysn: really the templating is a by-product of the binding and the fact that angular reads the HTML to parse it for directives
[23:34:39] *** arizzo has quit IRC
[23:35:01] <wafflejock> Kallb123: you'd have to inject $timeout into the top level function for the directive
[23:35:02] <chrysn> wafflejock: i meant both {{}} expansion and directives
[23:35:25] *** eutheria has quit IRC
[23:35:50] <Kallb123> I have already, the direction calls resize() on a $timeout (so it can accurately measure widths) but the resize() itself doesn't have $timeout
[23:35:52] <davek> chrysn, that is data binding and directives like he said.
[23:36:02] <amb> chrysn: can you show the link to the "introduction to angular for C# programmers" ? I am curios if I can learn something new...
[23:36:02] *** quantax- has joined #angularjs
[23:36:08] *** JasonW_ has joined #angularjs
[23:36:32] *** hswolff has quit IRC
[23:36:45] <caitp> amb: YOU CAN
[23:36:47] <wafflejock> chrysn: right just sayin {{}} is just handled like directives https://docs.angularjs.org/api/ng/service/$interpolate anytime there's a digest it's just going to re-run that for data in {{}}
[23:36:47] <caitp> learn something new
[23:36:52] <caitp> you totally can
[23:36:57] <caitp> now do it
[23:37:17] <caitp> (I'm not sure there's such a guide, but MS has put some stuff together for angular so they might have something like that somewhere)
[23:37:49] <chrysn> amb: hang on, i should be able to dig it up again
[23:38:02] *** lordkryss_ is now known as lordkryss
[23:38:14] <JasonW_> I tried this https://docs.angularjs.org/tutorial on a new Ubuntu 14.04 install, node 10.29. Typing npm install in the angular-phonecat directory gives all sorts of errors. Is the tutorial broken or should it work?
[23:38:21] <davek> MS touch of death has finally struck angular!
[23:38:32] <davek> JasonW_ what errors?
[23:38:47] <enapupe> wafflejock: http://jsfiddle.net/xp74P/2/ will you?
[23:38:57] <Kallb123> I've passed through $timeout to the function and it works alright now, but doesn't seem to throttle it. I'll have a look at lodash's thing
[23:39:09] <JasonW_> First error is a checksum for an npmjs.org source-map file.
[23:39:38] <jaawerth_> Kallb123: one sec, I think I have some code for exactly this kind of thing, just gotta remember where I put it
[23:39:54] <Kallb123> jaawerth_, ah cool, that would be awesome :)
[23:39:57] *** Malone has quit IRC
[23:40:03] <JasonW_> I'll get the full error screen up on a web server. Sec.
[23:40:07] <davek> Anyone used either of the two angular-file-upload directives or ng-flow?
[23:40:16] <amb> caitp: do you know the link ?
[23:40:22] <caitp> nope
[23:40:23] <chrysn> amb: this is what helped me get in: http://henriquat.re/intro/angular/angularjsForDotNetDevelopers.html
[23:40:25] *** jeffszusz has quit IRC
[23:40:31] <caitp> there's one
[23:40:33] <amb> chrysn: thanks :D
[23:40:34] <caitp> !
[23:40:45] *** mikehaas763 has joined #angularjs
[23:41:02] <wafflejock> davek: used angular-file-upload the daniel fared one a bit
[23:41:26] <wafflejock> it was okay not super well documented but usable
[23:42:03] <wafflejock> enapupe: yeah so basically just need to know if the controller instances each need to run different filters on the data or if the service should just run the filter on the data and the controllers just reference the data from the service
[23:42:24] *** Malone_ has joined #angularjs
[23:42:26] *** jdowdle has joined #angularjs
[23:42:41] <enapupe> so, it is a factory, right?
[23:42:45] *** sacho_ has quit IRC
[23:42:45] *** sacho has quit IRC
[23:42:52] <enapupe> because it is different api calls
[23:43:06] <enapupe> the first I called vtodo and the second another datasource
[23:43:07] <mikehaas763> I've been seeing in random bits I find online people injecting their resource services directly in to a directives controller and fetching data. A fine idea? I've always injected my resource services in to my view controllers and then passed that data to the directive through scope binding or inheritance.
[23:43:09] *** markisonfire has joined #angularjs
[23:43:13] *** imehesz has quit IRC
[23:43:17] *** azureknight has quit IRC
[23:43:18] <JasonW_> Anyone encountered these errors when running npm install in the tutorial? http://test.pcc.edu/temp/jason/npm.txt
[23:43:47] <mikehaas763> resource service == a data service layer where I actually put the http request call
[23:43:57] *** pheze has quit IRC
[23:44:19] <wafflejock> enapupe: I would probably just have two services (or factories just a difference in syntax mostly, but semantically I think of service as communicating with API) one service for each Restangular object or endpoint
[23:44:46] *** nanoyak has joined #angularjs
[23:44:50] *** juanlas has quit IRC
[23:44:52] <enapupe> right.. but I would be repeating the watch calendar thing
[23:44:58] <enapupe> in each of these services
[23:45:14] *** fouadm has quit IRC
[23:45:15] <enapupe> so it would be the same as doind it in the controller
[23:45:31] <wafflejock> JasonW_: checksum failed seems like a bad download /home/jason/tmp/npm-7561-iYF7kmEo/registry.npmjs.org/source-map/-/source-map-0.1.36.tgz <-- probably delete that
[23:45:31] *** bzitzow has joined #angularjs
[23:45:56] *** selva_ has joined #angularjs
[23:46:11] *** wookiehangover has quit IRC
[23:46:21] *** rburns has joined #angularjs
[23:46:21] *** morenoh149 has quit IRC
[23:46:28] <wafflejock> enapupe: not really you're going to generally have more controllers than services and in your service you run it every time you fetch data or change some property that is meant to cause a refilter (through some setter that triggers the refiltering)
[23:46:57] <wafflejock> enapupe: in the controller situation you're just waiting for data to change from a service and when it does you're running some filter to create a local temporary filtered copy of the original list
[23:46:59] *** bicranial has quit IRC
[23:47:08] <wafflejock> er that's how I'd do it
[23:47:16] <enapupe> that is how I want to do it!
[23:47:18] *** dutis has quit IRC
[23:47:19] <amb> chrysn: thanks again, but it;s pretty basic. The "which parts do heavy lifting " got me to think they would explain some other things...
[23:47:26] *** marcospgp has quit IRC
[23:47:50] *** pheze has joined #angularjs
[23:47:55] <JasonW_> that fixed it, thanks wafflejock.
[23:48:04] *** JasonW_ has quit IRC
[23:48:06] <wafflejock> JasonW_: np glad that worked shot in the dark
[23:48:10] <amb> chrysn: then again I also read some books about angularjs so maybe I can only learn more by reading the source code
[23:48:35] <wafflejock> yeah I find the source pretty digestable most of the time
[23:48:41] *** jbourassa has quit IRC
[23:49:13] <amb> chrysn: learn more == the principles behind the designs
[23:49:45] *** nerdfiles has quit IRC
[23:49:46] *** shackleford has quit IRC
[23:50:11] <nickeddy> anyone here a lodash pro?
[23:50:21] <wafflejock> enapupe: yeah so maybe you just want to angular.copy() the original array from the service in the controller and do the filtering on that if you want to keep them separated but also updating based on some stuff from the service
[23:50:21] <snapwich> sorry, only an underscorejs pro
[23:50:29] <nickeddy> WHY snapwich WHY
[23:50:33] <snapwich> lol
[23:50:41] <nickeddy> *tears*
[23:50:50] *** Sgeo has joined #angularjs
[23:50:56] *** fedenunez has joined #angularjs
[23:50:57] *** Marsup has quit IRC
[23:51:15] *** fedenunez1 has quit IRC
[23:51:35] *** ingsoc has quit IRC
[23:51:43] <amb> snapwich: it would have been so great if you would be and Underscore.js pro and not underscorejs ... :D
[23:52:03] *** jobelenus has joined #angularjs
[23:52:08] <enapupe> wafflejock: Hey man.. I can't think anymore.. that is stuff for tomorrow
[23:52:20] <enapupe> thks again
[23:52:21] <wafflejock> enapupe: yup that works
[23:52:23] <wafflejock> np
[23:52:23] <amb> I think I should relearn english grammar - i;m starting to mix tenses...
[23:52:27] *** dutis has joined #angularjs
[23:52:29] <snapwich> haha
[23:52:34] <snapwich> nickeddy what are you trying to do with lodash?
[23:52:37] <nickeddy> trying to find if some property (someObj.someProp) is a value in an array
[23:52:57] *** enapupe has quit IRC
[23:53:03] <nickeddy> so instead of if (someObj.someProp === 'something' || someObj.someProp === 'something else')
[23:53:09] *** Marsup has joined #angularjs
[23:53:14] *** shackleford has joined #angularjs
[23:53:19] *** cisox is now known as cisox_away
[23:53:21] *** cisox_away is now known as cisox
[23:53:23] *** markisonfire has quit IRC
[23:53:24] <sal1191> what does the error in Chrome Uncaught object signify most typically in angular
[23:53:35] <nickeddy> lodash has _.contains(thing, list, of, things) but the order fucks it up
[23:53:36] <wafflejock> sal1191: missing one of the definitions for something you're injecting
[23:53:38] *** pream has quit IRC
[23:53:39] *** markisonfire has joined #angularjs
[23:53:46] <nickeddy> sal1191: open it in firefox, you can see exactly
[23:53:51] *** ckboii89 has quit IRC
[23:53:55] *** Milanito has joined #angularjs
[23:54:02] <sal1191> oh thanks
[23:54:03] <wafflejock> sal1191: like missing ng-app def or something usually unminified source helps and if you need to use the source panel in chrome to pause on exceptions and see what's borking exactly
[23:54:10] <jobelenus> hey all im having a tough time figuring out when ui-view/ng-controllers get instantiated.. basically im injecting a div with ui-view/ng-controller="foo" onto the page, then pushing to another state which has that view/controller defined… but the controller/template is never loaded.. not sure what is wrong.. can anyone help?
[23:54:26] <wafflejock> nickeddy: oh really FF does bettter with that
[23:54:27] <wafflejock> ?
[23:54:37] <nickeddy> wafflejock: well it will actually tell you the error
[23:54:38] *** henn1nk has quit IRC
[23:54:42] <nickeddy> just some issue with chrome error reporting
[23:54:57] <wafflejock> nickeddy: yeah I know FF is great at telling you where some XML failed
[23:55:01] <wafflejock> but haven't used XML in a while
[23:55:24] <wafflejock> I like the 3D view too it can actually be useful sometimes but otherwise haven't really used FF in awhile
[23:55:39] *** cisox is now known as cisox_away
[23:55:41] *** cisox_away is now known as cisox
[23:55:42] *** arkanciscan_ has joined #angularjs
[23:55:49] <nickeddy> snapwich: any idea?
[23:55:51] <snapwich> nickeddy: why can't you use contains?
[23:55:56] <nickeddy> well
[23:56:00] *** henn1nk has joined #angularjs
[23:56:14] <snapwich> just _.contains([list of things], someObj.property) ?
[23:56:19] *** walden is now known as walden|afk
[23:56:21] <nickeddy> snapwich: http://pastebin.com/AfpLbLdX
[23:56:44] <snapwich> i think you have the arguments backwards
[23:56:45] <nickeddy> oh
[23:56:46] <nickeddy> derp
[23:56:47] *** walden|afk is now known as walden
[23:56:47] <nickeddy> do it backwards
[23:56:49] <nickeddy> GOD IM STUPID
[23:56:52] <snapwich> lol
[23:56:56] *** pdillinger1 has quit IRC
[23:56:58] <jobelenus> heh
[23:57:11] <chrysn> amb: well it was what got me started. by know, i could explain what watches and $apply do, but if i were to write it up, it would sound like "and then there is this $apply thingy, or $digest, and it runs until all watch expressions converge"
[23:57:16] <chrysn> *now
[23:57:20] <nickeddy> snapwich: i need coffee.
[23:57:23] <snapwich> the first arg has to be a collection too. it doesn't look like it accepts variable args
[23:57:46] *** wookiehangover has joined #angularjs
[23:57:50] <snapwich> too late for coffee ;)
[23:57:55] *** oa_ has quit IRC
[23:58:00] *** bianca has joined #angularjs
[23:58:09] <nickeddy> it does
[23:58:22] <nickeddy> http://lodash.com/docs#contains
[23:58:32] *** arkanciscan has quit IRC
[23:58:37] <snapwich> i'm looking at that
[23:58:46] <snapwich> it looks like it only accepts 2 or 3 args
[23:58:50] <snapwich> the third being optional
[23:58:58] <nickeddy> though i can't do that an in ng-if lol
[23:59:10] <nickeddy> ng-if="_.contains(['shutoff', 'suspended'], instance.status)" doesn't work
[23:59:16] *** Starr_ has joined #angularjs
[23:59:28] <snapwich> probably too complex for inline expression anyways
[23:59:32] <snapwich> just use a function call on the scope
[23:59:38] <nickeddy> noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
[23:59:41] <nickeddy> fine
[23:59:56] <Starr_> howdy
top

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