[00:00:13] *** Oxynum has quit IRC
[00:00:27] *** adben- has joined #angularjs
[00:00:32] *** Marble68 has quit IRC
[00:00:33] *** ninkotech__ has joined #angularjs
[00:00:39] *** chr1stopher has left #angularjs
[00:00:50] *** bejames1 has joined #angularjs
[00:00:54] *** mven has quit IRC
[00:01:12] *** raibutera has quit IRC
[00:01:31] *** Skrypter_ has joined #angularjs
[00:01:33] *** raibutera has joined #angularjs
[00:01:41] *** Oxynum has joined #angularjs
[00:01:51] *** Aliks_ has joined #angularjs
[00:01:55] *** aven1 has joined #angularjs
[00:02:14] *** ngbot has joined #angularjs
[00:02:14] <ngbot> angular.js/master 6e80d0a Brian Ford: docs(guide/$location): improve formatting
[00:02:15] *** ngbot has left #angularjs
[00:02:20] *** gladely_ has joined #angularjs
[00:02:26] *** recurrence_ has joined #angularjs
[00:02:27] *** raibutera has quit IRC
[00:03:00] *** tkh44 has quit IRC
[00:03:00] *** recurrence has quit IRC
[00:03:00] *** tomzx has quit IRC
[00:03:00] *** vassagus has quit IRC
[00:03:01] *** Fuzzy has quit IRC
[00:03:01] *** recurrence_ is now known as recurrence
[00:03:01] *** titanomachy has quit IRC
[00:03:01] *** UniBot has quit IRC
[00:03:02] *** adben has quit IRC
[00:03:04] *** Skrypter has quit IRC
[00:03:07] *** conan_the_destro has quit IRC
[00:03:07] *** qdk has quit IRC
[00:03:07] *** moogey has quit IRC
[00:03:08] *** doug64k has quit IRC
[00:03:08] *** bejames has quit IRC
[00:03:08] *** Sasha has quit IRC
[00:03:09] *** BahamutWC has quit IRC
[00:03:10] *** stylemistake has quit IRC
[00:03:10] *** arpu has quit IRC
[00:03:11] *** aboudreault has quit IRC
[00:03:12] *** dcherman2 has quit IRC
[00:03:12] *** gladely has quit IRC
[00:03:12] *** mdedetrich has quit IRC
[00:03:13] *** j_wright has quit IRC
[00:03:14] *** ninkotech has quit IRC
[00:03:17] *** iksik has quit IRC
[00:03:22] *** BahamutWC has joined #angularjs
[00:03:47] *** opiates has joined #angularjs
[00:04:23] *** jonasliljestrand has quit IRC
[00:04:31] *** stormbytes has quit IRC
[00:04:42] *** adben- has quit IRC
[00:05:28] *** joroc has quit IRC
[00:05:34] *** Dave321 has joined #angularjs
[00:05:40] *** Aliks has quit IRC
[00:05:41] *** tripwired has joined #angularjs
[00:05:53] *** tripwired has left #angularjs
[00:06:05] *** Siecje has quit IRC
[00:06:14] *** chiburbs has joined #angularjs
[00:06:15] *** tomzx has joined #angularjs
[00:06:17] *** sasha has joined #angularjs
[00:06:20] <Fenikkusu> ...Hmm...Appears to be something to do with ng-if in the child template...
[00:06:39] *** sasha is now known as Guest17242
[00:06:46] *** doug64k has joined #angularjs
[00:06:48] *** jstroem has quit IRC
[00:06:55] *** Oxynum has quit IRC
[00:07:10] *** UniBot has joined #angularjs
[00:07:10] *** titanomachy has joined #angularjs
[00:07:12] *** hiddentoken has quit IRC
[00:07:24] *** jstroem has joined #angularjs
[00:07:27] *** shaisnir has joined #angularjs
[00:07:57] *** stylemistake has joined #angularjs
[00:07:58] *** arpu has joined #angularjs
[00:08:28] *** qdk has joined #angularjs
[00:09:01] *** dannyc_ has quit IRC
[00:09:08] *** Oxynum has joined #angularjs
[00:09:30] *** conan_the_destro has joined #angularjs
[00:09:38] *** dcherman has joined #angularjs
[00:10:22] *** g33k5z has quit IRC
[00:10:35] *** walden is now known as walden|afk
[00:10:52] *** DarrenCraig has quit IRC
[00:10:52] *** bayousoft has quit IRC
[00:10:52] *** tripwired1 has joined #angularjs
[00:11:02] *** tripwired1 has left #angularjs
[00:11:15] *** bayousoft has joined #angularjs
[00:11:19] *** lsiv568 has quit IRC
[00:11:22] *** Linell has quit IRC
[00:11:24] *** aboudreault has joined #angularjs
[00:11:37] *** jstroem has quit IRC
[00:11:37] *** KushS has quit IRC
[00:11:41] *** IsraelOrtuno has quit IRC
[00:12:08] *** KushS has joined #angularjs
[00:12:15] *** IsraelOrtuno has joined #angularjs
[00:12:16] *** Oxynum has quit IRC
[00:12:45] *** Oxynum has joined #angularjs
[00:12:51] *** yts has quit IRC
[00:13:43] *** bayousoft has quit IRC
[00:13:53] *** bayousoft has joined #angularjs
[00:14:00] *** SargoDarya has joined #angularjs
[00:14:09] *** bayousoft has quit IRC
[00:14:09] *** shaisnir has quit IRC
[00:15:18] *** atomical has quit IRC
[00:16:04] *** mmealling has quit IRC
[00:16:17] *** KushS has quit IRC
[00:17:07] *** c0bra has quit IRC
[00:17:54] *** tschundeee has joined #angularjs
[00:19:22] *** atomical has joined #angularjs
[00:19:51] <Dave321> Let's say I load something into my scope with $http, like $scope.teacher = $http.get(...);, and in the teacher template, I have a person directive for students: <div ng-repeat="student in teacher.students"><my-directive person="student" /></div>. In my-directive, if I want to do something with person in the controller, but person can be undefined if the directive loads before the $http.get finishes. Is there a way to have my-d
[00:21:12] <Dave321> oops, I should have said $http.get('/teacher/5').success(function(data){$scope.teacher = data;}); but it's the same idea.
[00:21:25] *** jdivock has quit IRC
[00:21:29] *** smola1022 has quit IRC
[00:22:25] *** apertoire has joined #angularjs
[00:22:41] *** jdivock has joined #angularjs
[00:23:04] *** tschundeee has quit IRC
[00:24:22] *** davesidious has quit IRC
[00:24:37] *** davesidious has joined #angularjs
[00:24:54] *** {DV8} has quit IRC
[00:25:42] *** bkuberek_ has quit IRC
[00:25:58] *** tschundeee has joined #angularjs
[00:26:08] *** julaboy has joined #angularjs
[00:26:34] *** JesseH has joined #angularjs
[00:27:16] *** davidreis has joined #angularjs
[00:27:42] *** jdivock has quit IRC
[00:27:49] *** Dave321 has quit IRC
[00:29:45] *** TommyO has quit IRC
[00:29:59] *** baweaver has quit IRC
[00:31:04] *** helen_ has joined #angularjs
[00:31:56] *** joroc has joined #angularjs
[00:32:02] *** baweaver has joined #angularjs
[00:32:15] *** DigitallyBorn has quit IRC
[00:33:16] *** baweaver has quit IRC
[00:34:31] *** aven1 has quit IRC
[00:34:39] *** robksawyer has quit IRC
[00:34:41] *** debunk has joined #angularjs
[00:35:15] *** shaisnir has joined #angularjs
[00:36:04] *** jimvideo has joined #angularjs
[00:36:16] *** shackleford has quit IRC
[00:36:20] *** SargoDarya has quit IRC
[00:37:20] *** g33k5z has joined #angularjs
[00:37:38] *** Johnny13371337 has quit IRC
[00:37:59] *** JoshGlzBrk has joined #angularjs
[00:38:24] *** JoshGlzBrk has quit IRC
[00:38:30] *** ahtik has quit IRC
[00:38:32] *** MalfaitR_ has quit IRC
[00:39:04] *** JoshGlzBrk has joined #angularjs
[00:39:22] *** baweaver has joined #angularjs
[00:39:28] *** JoshGlzBrk has quit IRC
[00:40:05] *** cannap has quit IRC
[00:40:07] *** JoshGlzBrk has joined #angularjs
[00:40:26] *** JoshGlzBrk has quit IRC
[00:41:12] *** jimmyy has joined #angularjs
[00:41:15] *** JoshGlzBrk has joined #angularjs
[00:41:23] *** jimmyy has quit IRC
[00:41:39] *** JoshGlzBrk has quit IRC
[00:42:03] <amergin> Is there a way to have my-d <- what?
[00:42:15] *** danecando has quit IRC
[00:42:16] *** JoshGlzBrk has joined #angularjs
[00:42:17] *** FunnyLookinHat_ has quit IRC
[00:42:23] <amergin> the message cut off, it seems
[00:42:37] *** JoshGlzBrk has quit IRC
[00:43:03] *** g33k5z has quit IRC
[00:43:15] *** CanyonMan has joined #angularjs
[00:43:23] *** JoshGlzBrk has joined #angularjs
[00:43:25] *** baweaver has quit IRC
[00:43:46]
<fotoflo> hmm, im aving some problems with promises, mostly described here: http://pastebin.com/Mb9JNp9L very simple question, can anyone help really quick?
[00:43:48] *** JoshGlzBrk has quit IRC
[00:44:24] *** JoshGlzBrk has joined #angularjs
[00:44:51] *** MalfaitRobin has joined #angularjs
[00:45:25] <helen_> fotoflo: i might if its not in pastebin xd
[00:45:34] *** JoshGlzBrk has joined #angularjs
[00:45:34] *** baweaver has joined #angularjs
[00:45:37] <fotoflo> helen_: huh?
[00:45:47] <helen_> zz its filtered at my work lol
[00:45:48] <helen_> i cant see it
[00:45:58] *** JoshGlzBrk has quit IRC
[00:45:58] *** RobinBAwesome has quit IRC
[00:46:21] <fotoflo> what should i use?
[00:46:38] <helen_> most other things :P i know gists plunkrs fiddles work
[00:47:02] <fotoflo> just script.js
[00:47:02] <jaawerth> a gist is better than pastebin, plnkr is better than gist because you can amke a plnkr that actually executes as code
[00:47:07] <jaawerth> which means people can help you debug it
[00:47:33] *** Oxynum has quit IRC
[00:47:49] *** MalfaitR_ has joined #angularjs
[00:47:56] *** morenoh149 has quit IRC
[00:48:32] <helen_> fotoflo: im not sure what ur question is, but im guessing u want "me" to return a promise?
[00:48:57] *** macobo has quit IRC
[00:49:10] <fotoflo> i think im getting screwed up on this pattern
[00:49:52] <fotoflo> return userService.isAuthenticated()
[00:49:52] *** chrisshattuck has quit IRC
[00:49:55] <fotoflo> would return a promise
[00:49:57] *** Malfait__ has joined #angularjs
[00:50:06] <fotoflo> but what about returning from within it?
[00:50:14] *** MuffinMan` has quit IRC
[00:50:22] *** ximenean_ has joined #angularjs
[00:50:24] *** danecando has joined #angularjs
[00:50:27] *** eighty4 has quit IRC
[00:50:27] *** eighty4 has joined #angularjs
[00:50:37] <fotoflo> let me simplify the code for a sec
[00:50:46] *** raibutera has joined #angularjs
[00:51:07] <helen_> u want to use $q so u return a promise
[00:51:17] *** macabre has quit IRC
[00:51:22] <helen_> so u resolve ur result
[00:51:29] *** MalfaitRobin has quit IRC
[00:51:57] *** MalfaitRobin has joined #angularjs
[00:52:13] <fotoflo> sorry theres something i didnt tell you
[00:52:18] *** sbellina has joined #angularjs
[00:52:46] <fotoflo> that isAUthenticated function is returning a $http
[00:52:50] <fotoflo> which has its own promise right?
[00:52:55] *** MalfaitR_ has quit IRC
[00:53:13] *** RobinBAwesome has joined #angularjs
[00:53:36] *** Malfait__ has quit IRC
[00:54:09] <helen_> yea $http returns a promise
[00:54:58] *** ximenean_ has quit IRC
[00:55:42] <fotoflo> moogey_: this looks great. im going to run to a meeting in 5 min but i think this may do it
[00:55:52] <fotoflo> moogey_: thanks! if not ill be back and ping you
[00:55:59] <moogey_> cool
[00:56:04] *** moogey_ is now known as moogey
[00:56:48] *** woebtz has quit IRC
[00:56:54] *** axsuul has quit IRC
[00:58:19] *** juanpablo___ has quit IRC
[00:58:21] *** prbc has joined #angularjs
[00:58:48] *** juanpablo___ has joined #angularjs
[00:59:36] *** dcherman has quit IRC
[01:00:20] *** fotoflo has quit IRC
[01:01:26] *** fotoflo has joined #angularjs
[01:01:32] *** Tak0r|Work has quit IRC
[01:01:36] *** mbenadda has joined #angularjs
[01:01:39] *** evotuned has joined #angularjs
[01:01:57] *** aven1 has joined #angularjs
[01:02:36] *** shaisnir has quit IRC
[01:02:37] *** Aerospark has joined #angularjs
[01:03:07] *** juanpablo___ has quit IRC
[01:03:43] *** jMyles has joined #angularjs
[01:03:58] *** Aerospark has quit IRC
[01:04:01] *** knownasilya has quit IRC
[01:04:25] *** joroc has quit IRC
[01:04:33] *** robksawyer has joined #angularjs
[01:04:40] *** robksawyer has quit IRC
[01:04:41] *** Aerospark has joined #angularjs
[01:05:42] *** mbenadda has quit IRC
[01:07:36] *** mary5030 has quit IRC
[01:07:37] *** Txandy has quit IRC
[01:07:43] <gvanderest> Has anyone else tried the newest version of Batarang? Does it work for you?
[01:07:47] *** Aerospar_ has joined #angularjs
[01:07:57] <gvanderest> The interface has completely changed, and I don't seem to be able to view any scopes/models/anything?
[01:07:59] *** jglover has joined #angularjs
[01:08:08] *** mary5030 has joined #angularjs
[01:08:24] <jglover> why would one use angularjs over backbone + jQuery + [other things you might need]?
[01:08:54] <gvanderest> jglover: Mostly to add structure, AngularJS runs on top of a jqLite library if you don't already have jQuery installed, so it inherits a lot of that power.
[01:08:59] *** Aerospark has quit IRC
[01:09:13] <gvanderest> But AngularJS splits things into being more modular and MVC-split, whereas Backbone is a lot more freeform.
[01:09:16] *** zwacky has quit IRC
[01:09:47] <gvanderest> The primary power, in my mind, is the ability to create directives which can be extremely reusable modules of code/DOM elements, if programmed properly.
[01:09:48] *** codeman has joined #angularjs
[01:10:00] *** mccarrontr1ck has quit IRC
[01:10:03] <jglover> gvanderest: thanks a lot
[01:10:28] <gvanderest> Another thing to keep in mind: You can use Backbone AND AngularJS together, if you need to.
[01:10:35] <gvanderest> It's not always pretty, but it can be done.
[01:11:27] *** kris__ has quit IRC
[01:11:41] *** AciD`` has quit IRC
[01:12:13] *** Aerospar_ has quit IRC
[01:12:14] <jglover> gvanderest: mostly looking for things to read about. I've experimented and done projects with both, and like both for different reasons. I'm just looking for a smarter person's perspective
[01:12:20] *** dcherman has joined #angularjs
[01:12:43] *** mary5030 has quit IRC
[01:12:44] <gvanderest> Well, this is the internet-- so everyone's going to say they're smarter. ;)
[01:13:11] *** MacWinner has joined #angularjs
[01:13:21] <gvanderest> But in truth, sometimes Backbone will be faster because it can rely on less magic in some cases, but I think the added structure of needing to make Controllers, Factories, etc. is what makes AngularJS shine.
[01:13:49] *** morenoh149 has joined #angularjs
[01:13:53] <MacWinner> if I'm using ui-router, I can have $scope injected into each of the controllers.. however, is there some sort of $scope for teh angularjs app? is it $rootScope?
[01:14:03] *** Ax` has quit IRC
[01:14:13] <gvanderest> $rootScope is the entire app, yes.
[01:14:13] *** ome has joined #angularjs
[01:14:24] <gvanderest> At the very very base of it all.
[01:14:44] *** mrits has joined #angularjs
[01:15:06] <MacWinner> got it.. thank you! if there is a var defined in $rootScope, can controllers bind to that as well?
[01:15:18] *** tskaggs_ has joined #angularjs
[01:15:34] <MacWinner> so if they don't find the var in it's own scope, it will look at rootscope? is that basically what they mean by scope prototypocally inherits from parent scope?
[01:15:37] *** markalanevans has joined #angularjs
[01:15:51] <drag0nius> i've weird problem right now, the ui-select shows selected items only if i click somewhere on page (anywhere at all, doesn't matter where)
[01:16:19] *** scythe__ has quit IRC
[01:16:33] *** chizbang has quit IRC
[01:16:39] <gvanderest> MacWinner: I believe (pretty sure) that every single $scope in your entire app (even isolate ones?) inherit from $rootScope
[01:17:04] *** davidreis has quit IRC
[01:17:17] <gvanderest> So every single thing in your app with a scope, will get that variable. The important thing to keep in mind, is if you somewhere overwrite $rootScope.var_here with a PRIMITIVE datatype, it may not work as you expect.
[01:17:39] <gvanderest> And going back a step, you'd even have access to the $rootScope.var_name in $scope.var_name
[01:18:06] *** Sadin has quit IRC
[01:18:47] *** scythe__ has joined #angularjs
[01:18:58] <gvanderest> drag0nius: That's a weird one. But also sounds like it might be more specific to ui-select than Angular
[01:19:21] *** disorder20 has quit IRC
[01:19:52] <fotoflo> moogey: question on line 84
[01:19:55] <gvanderest> drag0nius: It might only be updating on a click, because that might be forcing a $digest() to fire.. so make sure you're not binding to something outside of Angular, like jQuery.. otherwise you'll need to use $scope.$apply()
[01:20:01] *** dnull has joined #angularjs
[01:20:24] <drag0nius> gvanderest: i'm quite sure i'm doing everything within angular
[01:20:50] <robdubya> you baiscally should try to avoid rootscope wherever possible
[01:21:20] *** cakirke has joined #angularjs
[01:21:41] *** zwacky has joined #angularjs
[01:21:52] *** kagitingan has joined #angularjs
[01:24:15] *** dmack has joined #angularjs
[01:24:37] *** baweaver has quit IRC
[01:25:15] *** nc90 has quit IRC
[01:25:43] *** mzabriskie has quit IRC
[01:25:56] *** dmack has quit IRC
[01:25:58] <markalanevans> hey folks, i'm having an issue w/ ngOptions
[01:26:16] <markalanevans> Doesn't seem to like to be set after a delay or ajax call
[01:26:28] <markalanevans> I created an example but just used a timeout
[01:26:37] *** dcherman has quit IRC
[01:26:39] *** codeman has quit IRC
[01:26:40] *** MalfaitRobin has quit IRC
[01:26:48] *** baweaver has joined #angularjs
[01:27:22] <markalanevans> Why doesn't updating the ngModel value update the select box?
[01:27:37] *** codeman has joined #angularjs
[01:28:06] *** julaboy has quit IRC
[01:28:19] *** erewnoh has quit IRC
[01:28:28] *** julaboy has joined #angularjs
[01:28:57] *** zwacky has quit IRC
[01:28:59] *** ivor has joined #angularjs
[01:29:13] *** ries has quit IRC
[01:30:01] *** chizbang has joined #angularjs
[01:31:57] *** joroc has joined #angularjs
[01:31:57] *** snapwich1 has quit IRC
[01:32:15] <markalanevans> Is ngOptions broken?
[01:32:21] *** sbellina has quit IRC
[01:33:37] *** erewnoh has joined #angularjs
[01:33:44] *** SargoDarya has joined #angularjs
[01:33:47] *** DLSteve has quit IRC
[01:34:07] *** erewnoh has quit IRC
[01:34:10] *** Skrypter_ is now known as Skrypter
[01:34:24] *** erewnoh has joined #angularjs
[01:35:09] *** aven1 has quit IRC
[01:35:37] <markalanevans> Even more wierd is that if I add a button to update the select option value, it works
[01:35:46] *** AimerPaddle has quit IRC
[01:36:08] <markalanevans> but just dynamically updating the after some none ui action doesn't work… aka ajax updates don't work
[01:36:26] *** sbellina has joined #angularjs
[01:37:06] *** LakWork has joined #angularjs
[01:38:15] *** SargoDarya has quit IRC
[01:38:15] *** OddDuck has quit IRC
[01:38:19] *** pnascimento has quit IRC
[01:39:10] *** ivor has quit IRC
[01:39:12] *** julaboy has quit IRC
[01:39:14] *** mtho11 has quit IRC
[01:39:42] *** ivor has joined #angularjs
[01:41:14] <markalanevans> Anyone around, does ngOptions just not work w/ dynamic changes?
[01:42:44] *** OddDuck has joined #angularjs
[01:42:45] *** OddDuck has joined #angularjs
[01:43:11] *** stormbytes has joined #angularjs
[01:43:50] *** cthrax has quit IRC
[01:43:55] *** rikko has quit IRC
[01:45:47] *** scythe__ has quit IRC
[01:46:40] *** josh-k has joined #angularjs
[01:47:00] *** opiates has quit IRC
[01:47:15] *** earthquake has quit IRC
[01:47:23] *** scythe__ has joined #angularjs
[01:47:40] *** deanclkclk has joined #angularjs
[01:48:17] *** jglover has quit IRC
[01:48:48] <markalanevans> Why doesn't this work when automatically setting the value dynamically?
[01:49:02] *** bbankes has quit IRC
[01:49:13] *** jdcasey has quit IRC
[01:49:18] *** baweaver has quit IRC
[01:49:22] *** ivor has quit IRC
[01:49:57] *** jdcasey has joined #angularjs
[01:50:40] *** cthrax has joined #angularjs
[01:50:59] *** SFeser has quit IRC
[01:51:41] *** scythe__ has quit IRC
[01:51:58] *** cthrax has quit IRC
[01:51:59] *** ccohn has joined #angularjs
[01:52:09] *** IsraelOrtuno has quit IRC
[01:52:26] *** IsraelOrtuno has joined #angularjs
[01:52:47] *** scythe__ has joined #angularjs
[01:52:56] *** woah has joined #angularjs
[01:53:12] *** safani has quit IRC
[01:53:40] *** woah has quit IRC
[01:53:40] *** baweaver has joined #angularjs
[01:53:44] *** earthquake has joined #angularjs
[01:53:57] *** g33k5z has joined #angularjs
[01:56:01] *** mdedetrich has joined #angularjs
[01:56:10] *** josh-k_ has joined #angularjs
[01:56:32] *** JesseH has quit IRC
[01:56:45] *** prbc has quit IRC
[01:57:22] *** djvirgen has quit IRC
[01:58:37] *** g33k5z has quit IRC
[01:59:04] *** juanpablo___ has joined #angularjs
[01:59:23] *** raibutera has quit IRC
[01:59:57] *** josh-k has quit IRC
[02:00:10] *** danecando has quit IRC
[02:00:32] *** qazwsx has joined #angularjs
[02:01:04] *** whunt has quit IRC
[02:01:48] *** whunt has joined #angularjs
[02:02:01] *** aven1 has joined #angularjs
[02:02:24] *** JR___ has joined #angularjs
[02:03:14] *** axsuul has joined #angularjs
[02:03:20] *** nya has quit IRC
[02:03:21] *** djvirgen has joined #angularjs
[02:03:26] *** axsuul has quit IRC
[02:03:34] *** juanpablo___ has quit IRC
[02:03:50] *** tilgovi has quit IRC
[02:04:07] *** axsuul has joined #angularjs
[02:04:08] *** qazwsx has left #angularjs
[02:04:42] *** JesseH has joined #angularjs
[02:05:02] *** laax has quit IRC
[02:05:49] *** joroc has quit IRC
[02:06:04] *** JesseH has quit IRC
[02:06:19] *** axsuul has quit IRC
[02:06:24] *** richiebkr has quit IRC
[02:06:44] *** JesseH has joined #angularjs
[02:06:54] *** axsuul has joined #angularjs
[02:07:44] *** JesseH has quit IRC
[02:08:12] *** JesseH has joined #angularjs
[02:08:33] *** Aerospark has joined #angularjs
[02:08:36] *** Menorah has joined #angularjs
[02:11:40] *** drag0nius has quit IRC
[02:11:59] *** Foxandxss has quit IRC
[02:12:57] *** marr has quit IRC
[02:13:25] *** Aerospark has quit IRC
[02:13:54] *** patrick99e99 has quit IRC
[02:14:07] *** Lewix has quit IRC
[02:15:09] *** Lewix has joined #angularjs
[02:15:14] *** Lewix has joined #angularjs
[02:15:29] *** baweaver has quit IRC
[02:15:36] *** JesseH has quit IRC
[02:15:57] *** merobertsjr has quit IRC
[02:15:58] *** JesseH has joined #angularjs
[02:16:42] *** drag0nius has joined #angularjs
[02:16:44] *** stormbytes has quit IRC
[02:17:34] *** tfennelly has joined #angularjs
[02:17:38] *** ron_frown has joined #angularjs
[02:18:01] *** dylang has joined #angularjs
[02:18:25] *** Mxyzpltk has quit IRC
[02:18:48] *** mary5030 has joined #angularjs
[02:19:22] *** leolower has quit IRC
[02:19:32] *** earthquake has quit IRC
[02:22:14] *** tfennelly has quit IRC
[02:22:28] *** nya has joined #angularjs
[02:22:38] *** owen1 has left #angularjs
[02:23:46] *** mary5030 has quit IRC
[02:24:02] *** tilgovi has joined #angularjs
[02:24:22] <drag0nius> how do i make $http send X-XSRF-TOKEN header?
[02:24:51] *** mtho11 has joined #angularjs
[02:27:02] *** JesseH has quit IRC
[02:27:12] *** gvanderest has quit IRC
[02:27:32] *** johnkevinmbasco has joined #angularjs
[02:27:43] *** JesseH has joined #angularjs
[02:28:30] *** Iravan has joined #angularjs
[02:29:57] *** tilgovi has quit IRC
[02:30:01] <johnkevinmbasco> Hi guys. We have a web app that is composed of multiple single page apps. I want to know your opinion if each app will have its own dependencies (example: app/bower_components/ app2/bower_components) or is it better if all the apps have shared dependencies rootFolder/app1/ rootfolder/app2 rootfolder/bower_components?
[02:30:05] *** {DV8} has joined #angularjs
[02:30:23] *** ivor has joined #angularjs
[02:30:46] *** raibutera has joined #angularjs
[02:30:49] *** areologist has joined #angularjs
[02:31:12] *** tilgovi has joined #angularjs
[02:31:26] <johnkevinmbasco> I was thinking that if they will have shared dependencies, upgrades of dependencies will be a lot easier. But if I only want to update the dependencies of 1 app, I wont be able to do it.
[02:31:33] *** Hestil has quit IRC
[02:31:44] <johnkevinmbasco> any thoughts?
[02:31:59] *** joroc has joined #angularjs
[02:32:12] *** MistahKurtz has joined #angularjs
[02:32:13] *** Tristanp has joined #angularjs
[02:32:20] *** IsraelOrtuno has quit IRC
[02:32:38] *** herbyme has joined #angularjs
[02:34:48] *** aven1 has quit IRC
[02:35:09] *** whunt has quit IRC
[02:35:19] *** SargoDarya has joined #angularjs
[02:35:31] *** wookiehangover has quit IRC
[02:35:49] *** whunt has joined #angularjs
[02:35:59] *** markalanevans has quit IRC
[02:36:26] *** danecando has joined #angularjs
[02:38:01] *** soee has quit IRC
[02:38:04] *** danecando has quit IRC
[02:38:12] *** OnkelTem has quit IRC
[02:38:40] <GreenJello> johnkevinmbasco, I'd probably do them each separately
[02:38:59] <drag0nius> how do i actually read a cookie in angular?
[02:39:07] <drag0nius> $cookies are empty whole time
[02:39:13] <drag0nius> same for $cookieStore
[02:39:21] <drag0nius> but firebug shows i have cookies
[02:39:50] *** codeman has quit IRC
[02:41:30] <johnkevinmbasco> GreenJello: Was thinking the same thing. But I'm a bit worried once we have about 10+ apps. I think it will be a bit troublesome to update their dependencies (bower packages and internal libraries/modules that we use). hmmm. But the good thing is, if in case the apps will need a different version of a package/module/lib it will be doable. What if as a start we use shared dependencies, and only use a different dependency wh
[02:41:30] <johnkevinmbasco> en the time comes that a specific app will need a different version of packages?
[02:41:42] *** darrin has joined #angularjs
[02:41:47] *** OnkelTem has joined #angularjs
[02:42:37] *** tripu has joined #angularjs
[02:42:41] <GreenJello> johnkevinmbasco, no, don't try to find a compromise here, it's one or the other or chaos
[02:42:52] *** captain_morgan has joined #angularjs
[02:43:07] <GreenJello> and you can use a script that runs when you pull and checks your dependencies are right
[02:43:40] *** morenoh149 has quit IRC
[02:44:15] *** Akufen has quit IRC
[02:44:20] *** boxmein has quit IRC
[02:44:33] *** mspier is now known as mspier|away
[02:45:18] *** Akufen has joined #angularjs
[02:45:31] <captain_morgan> How do I prevent animation of elements in an ng-repeat? So far $animate.enabled(false) hasn't worked, I still see performAnimation calls in my flame graph
[02:45:36] <captain_morgan> 1000s of them
[02:45:48] *** JesseH has quit IRC
[02:45:54] *** lsiv568 has joined #angularjs
[02:45:58] <johnkevinmbasco> GreenJello: Hmmm. thanks man. I guess for the internal modules/libs we use, I could create a separate angular module and git repository for them and use versioning. This way, I could use different versions of our internal libs/packages if needed. Or do you have a better suggestion?
[02:48:14] *** bayousoft has joined #angularjs
[02:49:20] *** levity_island has joined #angularjs
[02:50:14] *** mbenadda has joined #angularjs
[02:50:35] *** SargoDarya has quit IRC
[02:51:17] *** jash has quit IRC
[02:52:19] *** JR___ has quit IRC
[02:52:30] *** wookiehangover has joined #angularjs
[02:53:14] <areologist> hmm. I've written a little library for managing and bootstrapping an offline first app and it worked fine with the first couple angular apps I tested it with...
[02:53:47] *** morenoh149 has joined #angularjs
[02:54:15] <areologist> but in one particular app (a rather simplistic angular app made only for testing) one-time bindings don't work.. only major difference between this and othe test apps is that it uses ui-router.. not sure if this is at all related though.
[02:54:24] *** mbenadda has quit IRC
[02:54:47] <GreenJello> johnkevinmbasco, that's a good solution
[02:54:49] *** Nurbs has quit IRC
[02:54:52] *** joshmu has joined #angularjs
[02:55:12] *** MrBaboon has quit IRC
[02:55:18] <johnkevinmbasco> GreenJello: okay. I think we'll go with this route. Thanks man. have a good day
[02:55:19] <areologist> anyone had, or heard of, issues with ui-router and one-time bindings by chance? again, ui-r may not be related but I just thought I'd ask.
[02:55:23] *** Polles has joined #angularjs
[02:55:30] *** kakashiAL has quit IRC
[02:56:18] <areologist> alternatively, anyone had/heard of quirks iwth one-time bindings and manually bootstrapped ng apps?
[02:56:36] <areologist> and yes, I've googled. at a loss atm.
[02:56:46] *** pulpfree has joined #angularjs
[02:56:53] *** japhar81 has joined #angularjs
[02:58:05] *** danecando has joined #angularjs
[02:58:39] *** pen has joined #angularjs
[02:59:20] *** livingstn has joined #angularjs
[02:59:34] *** chrisshattuck has joined #angularjs
[02:59:46] *** danecando has quit IRC
[03:00:29] <Polles> hey guys just a simple question. How you put your JS files in the server without sharing it with the whole world?
[03:00:32] *** JR___ has joined #angularjs
[03:01:03] *** patrick99e99 has joined #angularjs
[03:01:49] *** ron_frown has quit IRC
[03:02:17] *** jacquesdancona has quit IRC
[03:02:28] *** danecando has joined #angularjs
[03:02:31] *** ron_frown has joined #angularjs
[03:02:40] *** m0n4m33 has joined #angularjs
[03:04:11] <MistahKurtz> that's generally what putting JS files on a web server does Polles
[03:04:45] *** nemothekid has joined #angularjs
[03:04:47] *** conan_the_destro has quit IRC
[03:04:49] <Polles> ...
[03:04:56] *** Tristanp has quit IRC
[03:05:01] *** m0n4m33 has quit IRC
[03:05:15] *** elrabin has joined #angularjs
[03:05:16] <Polles> how can I hide my logic that I have in my js files to the whole world
[03:05:31] <Polles> is there anyway or in AngularJS everything is shared?
[03:05:33] *** g33k5z has joined #angularjs
[03:05:48] <Polles> do I have to develop with that in mind?
[03:05:48] *** darrin has quit IRC
[03:05:50] *** elrabin has quit IRC
[03:05:59] *** lawerance has joined #angularjs
[03:06:22] *** elrabin has joined #angularjs
[03:07:47] <areologist> best to develop with public access to code in mind. server-side security is still necessary.
[03:08:05] <areologist> obfuscating code doesn't count as security either
[03:08:41] *** chrisshattuck has quit IRC
[03:09:44] <MistahKurtz> always develop any client-side JS with the assumption that the world can see Polles
[03:09:51] <MistahKurtz> b/c they technically can
[03:09:59] <MistahKurtz> you can minify to obfuscate things
[03:10:51] *** cakirke has quit IRC
[03:11:28] *** DarrenCraig has joined #angularjs
[03:11:32] *** elrabin has quit IRC
[03:12:50] *** chrisshattuck has joined #angularjs
[03:13:09] *** mven has joined #angularjs
[03:13:49] *** Guest32741 is now known as tauren
[03:14:00] *** gladely_ has quit IRC
[03:14:33] *** jak124124 has joined #angularjs
[03:14:48] *** juanpablo___ has joined #angularjs
[03:15:33] *** m0n4m33 has joined #angularjs
[03:15:54] *** Aerospark has joined #angularjs
[03:16:05] *** mven has quit IRC
[03:16:09] *** raibutera has quit IRC
[03:16:23] *** DarrenCraig has quit IRC
[03:17:39] *** dsdeiz has joined #angularjs
[03:17:40] *** m0n4m33 has quit IRC
[03:17:40] *** goodenough has joined #angularjs
[03:17:52] *** raibutera has joined #angularjs
[03:18:02] *** m0n4m33 has joined #angularjs
[03:18:20] *** raibutera has quit IRC
[03:19:23] *** it0a has joined #angularjs
[03:19:37] *** swist has joined #angularjs
[03:19:45] *** m0n4m33 has quit IRC
[03:20:05] *** tschunde_ has joined #angularjs
[03:20:57] *** juanpablo___ has quit IRC
[03:21:03] *** josh-k_ has quit IRC
[03:21:06] *** m0n4m33 has joined #angularjs
[03:21:21] *** tschundeee has quit IRC
[03:22:05] <Polles> Ok MistahKurtz thank you ...
[03:22:10] *** Polles has quit IRC
[03:23:04] *** m0n4m33 has quit IRC
[03:23:42] *** jdivock has joined #angularjs
[03:24:41] *** whunt has quit IRC
[03:24:50] *** Oddman has quit IRC
[03:25:15] *** jdivock has quit IRC
[03:26:36] *** VictorBjelkholm has quit IRC
[03:27:03] *** jdivock has joined #angularjs
[03:28:08] *** zz_night-owl is now known as night-owl
[03:28:16] *** moogey has quit IRC
[03:28:25] *** moogey has joined #angularjs
[03:28:38] *** tschunde_ has quit IRC
[03:28:53] *** jdivock has joined #angularjs
[03:29:38] *** jdivock has joined #angularjs
[03:30:26] *** jdivock has joined #angularjs
[03:30:46] *** jdivock has quit IRC
[03:31:39] *** MistahKurtz has quit IRC
[03:31:52] *** aven1 has joined #angularjs
[03:31:58] *** DevX101 has joined #angularjs
[03:32:11] *** jdivock has joined #angularjs
[03:32:24] *** Hestil has joined #angularjs
[03:32:47] *** dylang has quit IRC
[03:33:23] *** jdivock has joined #angularjs
[03:34:00] *** rchavik has joined #angularjs
[03:34:12] *** shinnya has quit IRC
[03:34:25] *** Superhard has quit IRC
[03:34:39] *** dsdeiz has quit IRC
[03:35:02] *** mven has joined #angularjs
[03:35:28] *** busticated has quit IRC
[03:35:35] *** jumpstracks has joined #angularjs
[03:35:52] *** jdivock has joined #angularjs
[03:36:13] *** joroc has quit IRC
[03:36:29] *** moogey has quit IRC
[03:36:40] *** opiates has joined #angularjs
[03:37:05] *** Hestil has quit IRC
[03:37:20] *** ogdabou has joined #angularjs
[03:37:52] *** jdivock has joined #angularjs
[03:38:10] *** numenor has joined #angularjs
[03:38:10] *** jdivock has quit IRC
[03:38:20] *** Josh has joined #angularjs
[03:38:33] *** Josh is now known as jdubs
[03:39:04] *** jlambert121 has left #angularjs
[03:39:12] *** lsiv568 has quit IRC
[03:39:16] *** Cronoh has quit IRC
[03:39:31] <jdubs> Hey guys. Anyone use Angular-Fire? I'd like a better way to see when an item gets added to an array in the firebase DB. Currently I'm just doing a $watch on the store, then comparing old/newv to get the diff. Is there a better way?
[03:40:15] *** caitp has quit IRC
[03:40:57] *** wallerdev has quit IRC
[03:41:08] *** chizbang has quit IRC
[03:41:13] *** asher^ has joined #angularjs
[03:41:26] *** jdivock has joined #angularjs
[03:41:41] *** caitp has joined #angularjs
[03:41:42] *** RobinBAwesome has quit IRC
[03:41:44] *** jdivock has quit IRC
[03:42:00] *** asher^ has joined #angularjs
[03:44:24] *** Lewix has quit IRC
[03:44:38] *** helen_ has quit IRC
[03:44:42] *** wallerdev has joined #angularjs
[03:44:43] *** moogey has joined #angularjs
[03:44:50] *** moogey has quit IRC
[03:45:08] *** moogey has joined #angularjs
[03:45:57] *** Lewix has joined #angularjs
[03:46:28] *** jdivock has joined #angularjs
[03:46:47] *** jdivock has quit IRC
[03:47:44] *** johnstorey has joined #angularjs
[03:47:52] *** jdivock has joined #angularjs
[03:47:52] *** johnstorey has quit IRC
[03:47:54] *** laax has joined #angularjs
[03:48:07] *** SargoDarya has joined #angularjs
[03:48:12] *** jdivock has quit IRC
[03:48:44] *** moogey has quit IRC
[03:48:46] *** evilaliv3 has quit IRC
[03:49:05] *** moogey has joined #angularjs
[03:50:08] *** scythe__ has quit IRC
[03:50:29] *** jdivock has joined #angularjs
[03:50:48] *** treeface has quit IRC
[03:51:29] *** jdivock has joined #angularjs
[03:51:45] *** phzon has joined #angularjs
[03:52:19] *** stormbytes has joined #angularjs
[03:52:25] *** mary5030 has joined #angularjs
[03:52:30] *** joshmu has quit IRC
[03:52:44] *** Lewix has quit IRC
[03:52:54] *** jdivock has joined #angularjs
[03:52:59] *** jak124124 has quit IRC
[03:53:13] *** jdivock has quit IRC
[03:53:14] *** jumpstracks has quit IRC
[03:53:18] *** laax has quit IRC
[03:53:22] *** cotko has quit IRC
[03:54:00] *** DevX101 has quit IRC
[03:54:22] *** SargoDarya has quit IRC
[03:55:08] *** Menorah has quit IRC
[03:55:37] *** dsdeiz has joined #angularjs
[03:56:01] *** phzon has quit IRC
[03:56:37] *** patrick99e99 has quit IRC
[03:56:40] *** gaboesquivel has joined #angularjs
[03:57:08] *** jdivock has joined #angularjs
[03:57:38] *** jdivock has quit IRC
[03:58:08] *** levity_island has quit IRC
[03:58:17] *** Left_Turn has quit IRC
[03:58:19] *** mmitchell has quit IRC
[03:58:29] *** jdivock has joined #angularjs
[03:58:37] *** dylang has joined #angularjs
[03:58:48] *** jdivock has quit IRC
[03:59:14] *** chrisshattuck has quit IRC
[03:59:24] *** MacWinner has quit IRC
[03:59:31] *** jdivock has joined #angularjs
[04:00:04] *** wallerdev has quit IRC
[04:00:53] *** jdivock has joined #angularjs
[04:01:09] *** dc_ has quit IRC
[04:01:15] *** jdivock has quit IRC
[04:01:31] *** MrBaboon has joined #angularjs
[04:01:51] <robdubya> it doesnt expose any events?
[04:01:53] *** axsuul has quit IRC
[04:01:54] *** joroc has joined #angularjs
[04:01:57] *** ccohn has quit IRC
[04:02:08] <s3shs> That would be obscene.
[04:02:29] *** michaelSharpe has joined #angularjs
[04:02:31] *** ccohn has joined #angularjs
[04:02:33] *** areologist has quit IRC
[04:04:06] *** DevX101 has joined #angularjs
[04:04:31] <robdubya> jdubs looks like list.$watch would do what you want
[04:04:45] <robdubya> about halfway down the page
[04:04:50] *** peterp has joined #angularjs
[04:05:03] <peterp> Is there a reason why I would not want to declare a function under $scope in a controller?
[04:05:12] <peterp> $scope.resetForm() { .. } vs resetForm() ?
[04:05:12] <s3shs> nope
[04:05:17] *** aven1 has quit IRC
[04:05:22] *** leolrrj has quit IRC
[04:05:25] <s3shs> Actually $scope.resetForm = function() { ... }
[04:05:29] <numenor> Hello , I have a main ui-view consisting of two ui-views , I have to show the inner ui-views based on permissions. How could I do that and if I manage to do that, does it mean that the view which is not being shown will not instantate its controller and hence it will not make any API calls ?
[04:05:35] <peterp> Ah yes, woops.
[04:05:39] <jdubs> robdubya: yeah that's what im currently using, however then I have to do a diff on the old vs new array to determine what is new. I was curious if there might be a better way
[04:05:41] *** DevX101 has quit IRC
[04:05:41] <s3shs> It's whoops.
[04:05:42] *** michaelSharpe has quit IRC
[04:05:48] <s3shs> ;-)
[04:05:59] <peterp> I'm doing a quick CR and I see that in there but do not have adequate reasoning besides *best practice*
[04:06:14] <robdubya> jdubs looks like the event tells you that
[04:06:23] <robdubya> / logs { event: "child_removed", key: "foo" }
[04:06:40] <Aliks_> what's wrong with these ng-options? "key as key for key, value in collection"
[04:06:40] <robdubya> / logs { event: "child_added", key: "<new _id>", prevId: "<prev_id>"
[04:06:52] *** ccohn has quit IRC
[04:06:52] *** circ-user-lnrI9 has joined #angularjs
[04:06:59] <Aliks_> Angular complains: "Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_'" but it looks like that to me
[04:07:23] *** JesseH has joined #angularjs
[04:07:36] <numenor> anyone ? .
[04:07:52] *** RobinBAwesome has joined #angularjs
[04:08:17] <Aliks_> nevermind, something else
[04:08:30] <Aliks_> or at least might be, my collection is null
[04:08:31] <jaawerth> numenor: 1) it's been 2 minutes, and it's late in the US. Give it some time ;-)
[04:08:31] <jdubs> robdubya thanks!
[04:08:34] <peterp> @numenor patience, free tech support - can't expect an answer in the first 2 minutes
[04:08:34] *** DevX101 has joined #angularjs
[04:08:38] <jaawerth> numenor: 2) you'd want to use a resolve block
[04:08:42] <numenor> sure jaawerth
[04:08:46] <numenor> Okay
[04:08:48] <Aliks_> nope, that didn't fix it..
[04:09:00] <jaawerth> there are a few ways you can go with the permissions thing
[04:09:07] <numenor> peterp .. Well, I thought my msg went unnoticed
[04:09:25] *** Shai-Tan has quit IRC
[04:09:30] *** jdivock has joined #angularjs
[04:09:33] <moogey> peterp if you do $scope.fn = functino(){... order can affect things
[04:09:52] *** DevX101 has quit IRC
[04:09:54] *** jdivock has quit IRC
[04:09:58] <jaawerth> if you've got predefined roles, and know how roles and access correspond, you can either hard-code that into your app or - my pref - make a server request to grab it in JSON format and store it in a service there
[04:10:12] <numenor> jaawerth , Okay
[04:10:25] *** scythe__ has joined #angularjs
[04:10:26] <peterp> Don't you want to keep authentication out of client-side apps or is that not a thing anymore jaawerth?
[04:10:39] *** ogdabou has quit IRC
[04:11:05] *** tfennelly has joined #angularjs
[04:11:12] *** bkuberek has joined #angularjs
[04:11:16] <peterp> moogey - is there a reason why you would have a plain function declaration?
[04:11:22] <numenor> peterp, auth at server, to show hide content no other place to that other than client-sidce.
[04:11:49] <peterp> what about server-side templates that handle the auth numenor?
[04:12:00] <peterp> What If I disected your app and found where you hide things based on auth and unhide them?
[04:12:01] <moogey> peterp keep things looking uncluttered
[04:12:22] <peterp> numenor - I don't have the answer, but I know this used to be a problem. Not sure if there is a solution these days to that
[04:12:30] <numenor> peterp , well , Doing server side means lot of work ?
[04:12:53] <peterp> numenor is it worth taking the risk of having someone access your application?
[04:12:54] *** JesseH has quit IRC
[04:12:55] *** SahanH has joined #angularjs
[04:13:01] <jaawerth> peterp: you handle the security aspects server-side
[04:13:04] <numenor> peterp, I will remove the elements from dom , not hide it
[04:13:11] <jaawerth> but presentation lgoic - client side
[04:13:21] <s3shs> numenor, I have two copies of my app... one authenticated one not.
[04:13:30] *** JesseH has joined #angularjs
[04:13:31] <numenor> s3shs . Okay
[04:13:32] <s3shs> When the user is authenticated, they're forwarded to the proper URL.
[04:13:36] <peterp> jaawerth yeah I get that, so an API call of some sort?
[04:13:36] <s3shs> Works great.
[04:13:56] <jaawerth> well, what I do is call the roles pretty much during the login phase (or autologin if I'm persisting a token)
[04:14:04] <jaawerth> that way I've got some of the info stored client side
[04:14:06] <numenor> The API will also take care of permissions, Its not like it will happen only on the client side
[04:14:18] <peterp> Do you have every route protected?
[04:14:20] <s3shs> You don't want your app client side auth... users can just JS Debug their way in to your app. All of your rest calls should auth too.
[04:14:23] *** denysonique has quit IRC
[04:14:32] <numenor> peterp , not every
[04:14:33] *** bzitzow has quit IRC
[04:14:53] <numenor> s3shs, yes sure, the rest api is protected.
[04:15:06] <jaawerth> s3shs: Like I said, security is handled server-side, but handling presentation details client-side makes for a better user experience
[04:15:07] *** lemur has joined #angularjs
[04:15:20] <s3shs> You have to do both, I think.
[04:15:22] <numenor> s3shs, absolutely, thats what I intend to do.
[04:15:23] <jaawerth> yes
[04:15:24] <s3shs> An angular interceptor can help a lot.
[04:15:31] <jaawerth> If your backend is node, you can even user code-sharing
[04:15:35] <jaawerth> even use*
[04:15:36] <peterp> Yeah I think you have to do both, but you handle the authentication via AJAX
[04:15:37] *** livingstn has quit IRC
[04:15:46] <jaawerth> yep
[04:15:49] <numenor> well, its a .net web api
[04:15:52] *** tfennelly has quit IRC
[04:16:09] <peterp> I've always done my authentication via server, so its basically the only page that will actually post on the server
[04:16:12] <peterp> everything else is handled via an API
[04:16:23] <peterp> err, I could have worded that first part better, *its late*
[04:16:27] *** Sontakey has quit IRC
[04:16:29] <captain_morgan> anyone aware of how to get (at least an idea of) the number of current watchers? this would be for debugging purposes
[04:16:36] <numenor> :)
[04:16:39] <peterp> captain_morgan have you heard of batarang
[04:16:46] *** opiates has quit IRC
[04:16:51] *** AKPWD has left #angularjs
[04:16:52] <captain_morgan> peterp, didn't work for me sadly
[04:17:01] *** jdivock has joined #angularjs
[04:17:09] <captain_morgan> and a lot of reviews complained of problems in the new version
[04:17:20] <peterp> i think btford took care of those a few days ago
[04:17:21] *** dylang has quit IRC
[04:17:24] <peterp> at least it was a big hit on twitter
[04:17:27] *** jdivock has quit IRC
[04:17:28] <peterp> i havent used it for a bit
[04:17:43] <captain_morgan> hmm, just tried within the hour and didn't work
[04:17:53] <captain_morgan> infact prevented this app from loaded
[04:17:57] <captain_morgan> it require 1.3?
[04:18:02] <peterp> what about throwing `debugger` into your code and stepping through it, setting a watcher inside devtools
[04:18:14] <peterp> I'm not sure, I'll take your word for it captain_morgan
[04:18:19] <numenor> captain_morgan . I remember seeeing the same question with an answer on SO
[04:18:26] <jaawerth> most APIs will give you information about what you can and can't access, you must figure out the best way to make those calls, and then you keep a service that maps things (routes, panels, whatever) to their associated API endpoints
[04:18:44] <numenor> jaawerth, ok
[04:18:47] *** RedOrangeZ has quit IRC
[04:18:50] *** g33k5z has quit IRC
[04:18:56] <captain_morgan> peterp, I'd acutally meant more like, getting the number of $watchers angular has set up
[04:19:03] <jaawerth> there's no one way to do it, but that's generally MY approach.
[04:19:13] <numenor> jaawerth, actually, I am not able to decide, should use directives or use ui-router
[04:19:33] <jaawerth> if you've got server-side templating, you could also just use, say, a value provided that's rendered on the server when you first bootstrap/log in
[04:19:35] *** moogey is now known as zz_moogey
[04:19:48] *** jdivock has joined #angularjs
[04:19:49] *** nya has quit IRC
[04:19:57] *** levity_island has joined #angularjs
[04:20:01] <jaawerth> numenor: what do you mean? both! ;-)
[04:20:02] <peterp> captain_morgan, yeah you should be able to use debugger and figure it out depending on what part of your app you're trying to capture the $watchers from
[04:20:04] <numenor> jaawerth , no server side.. Infact I do not have asscess to the server at all
[04:20:10] <jaawerth> ahh
[04:20:10] *** jdivock has quit IRC
[04:20:17] <peterp> you can even set window.someScopeVar = $scope and see what comes up, then just dig deeper
[04:20:30] <jaawerth> okay, in that case how you handle the mapping really depends on how easily you can gain access info
[04:20:43] <peterp> numenor that is something I would talk to the server guy about
[04:20:44] <captain_morgan> peterp, ok, keep poking around as I have
[04:20:49] *** aesh has joined #angularjs
[04:20:59] <numenor> humm
[04:21:11] <aesh> Hi all
[04:21:18] <peterp> captain_morgan ^^
[04:21:19] *** JesseH has quit IRC
[04:21:23] *** zz_moogey has quit IRC
[04:21:25] <aesh> I am a noob at Angular
[04:21:26] *** JR___ has quit IRC
[04:21:28] *** bmac has joined #angularjs
[04:21:29] *** denysonique has joined #angularjs
[04:21:35] <aesh> any good books to start with?
[04:21:41] <numenor> aesh ! yeah , mee too !
[04:21:57] <peterp> numenor don't do client side authentication. make sure its coming from the server
[04:22:01] *** JesseH has joined #angularjs
[04:22:20] <captain_morgan> peterp, that basically what I need, trying to do a refactor and that'll allow us to check specific parts of the app too, thanks
[04:22:28] <aesh> Thanks peterp
[04:22:31] *** JesseH has joined #angularjs
[04:22:37] <numenor> peterp , yes , auth will be managed via the server. I mean, the app will work on access tokens
[04:22:42] *** nemothekid has quit IRC
[04:22:43] <numenor> set in the header
[04:23:55] <captain_morgan> perf
[04:23:58] *** jdivock has joined #angularjs
[04:24:09] <captain_morgan> and that once bind will be super hand
[04:24:10] <captain_morgan> handy
[04:24:15] *** juanluisrp1 has joined #angularjs
[04:24:18] <numenor> pepterp , If I say hide parts of my view according to permissions . I wouldnt want the controller to call the apis which are not relevant to the views.
[04:24:41] <jaawerth> yeah
[04:24:42] <captain_morgan> I tried angular-once but it didn't work... and bindonce couldn't be use for some reason.. forget exactly why
[04:24:52] *** bkuberek has quit IRC
[04:25:11] *** aesh has quit IRC
[04:25:16] <jaawerth> bindOnce can always be used in 1.3+
[04:25:16] <peterp> numenor take a read through this hniques-for-authentication-in-angularjs-applications-7bbf0346acec
[04:25:16] *** bmac has quit IRC
[04:25:25] <numenor> I am not accustomed to ui-view , But as far as I understood , ui-view allows sibling views , so i can disable a sibling view and thus disable its controller also ?
[04:25:28] <jaawerth> you can even use it in scope.$watch
[04:25:43] <numenor> peterp , sure, will go through that
[04:25:53] <s3shs> numenor, if you use ng-if to show/hide, that'll remove the element from the dom.
[04:25:56] <jaawerth> or in ng-repeats.. pretty much anything that's parsed
[04:26:06] <s3shs> Rather, there will be no controller there.
[04:26:39] <numenor> ss3sh, yes, but a part of the controller may still make the call to the API .
[04:26:53] <s3shs> If you have a div you don't want delivered if there's no auth... then you should do an ng-include to a URL... and node will refuse the request.
[04:27:11] <numenor> s3shs, the controller will not be there if I use sibling ui-views ??
[04:27:17] *** jlrodriguez has quit IRC
[04:27:34] <s3shs> If you hide them with ng-if, any nested controller will not be there if false.
[04:27:42] *** chrisbirk has joined #angularjs
[04:27:44] *** pulpfree has quit IRC
[04:28:04] <jaawerth> numenor: Well, what you can do is take a combined approach. You can block off certain views, of course, but rather than create two separate views, if your "higher access" state is only a little different from your "regular access" version, you can use a resolve block to inject the access info into the state's controller
[04:28:07] <s3shs> I put all the pieces I don't want delivered without auth in to a folder called "auth-required". I play a node trick where I only return files in that folder if the session is auth'd.
[04:28:41] <s3shs> But if your server is delivering the JS and the HTML to the browser... anybody will be able to read it.
[04:28:43] <jaawerth> the benefit: the view doesn't load until the resolve is finished, so it won't try to render before you have the data. So if you can't precatch it, you can grab it on an API call during the transition
[04:29:04] <numenor> jaawerth, right, resolve block might be the solution.
[04:29:11] *** aaaaaaaaaa has joined #angularjs
[04:29:20] <jaawerth> it's what I usually do
[04:29:34] <aaaaaaaaaa> how to use this
[04:29:35] <numenor> jaawerth, and this sounds promising
[04:29:35] *** bmac has joined #angularjs
[04:29:58] *** swist has quit IRC
[04:29:58] *** JesseH has quit IRC
[04:30:15] *** aaaaaaaaaa has quit IRC
[04:30:31] *** JesseH has joined #angularjs
[04:31:30] *** Aliks_ has quit IRC
[04:31:57] *** aven1 has joined #angularjs
[04:32:16] <numenor> jaawerth , peterp, s3shs . Thanks a lot , the discussion really helped.
[04:32:24] <s3shs> Sure.
[04:32:28] *** Cronoh has joined #angularjs
[04:32:44] <jaawerth> sure thing
[04:33:17] *** yoonchee has joined #angularjs
[04:33:38] <yoonchee> Is there a way to connect a custom angular filter to a model?
[04:34:14] *** JesseH has quit IRC
[04:34:20] *** Hackwar has joined #angularjs
[04:34:26] <yoonchee> I would like to do something like <li ng-repeat="video in videos | onBudget> where there is an <input id=“budget” ng-model=“maxBudget”>
[04:34:35] *** joroc has quit IRC
[04:34:36] *** nya has joined #angularjs
[04:35:05] *** levity_island has quit IRC
[04:35:12] *** jaydubya has quit IRC
[04:35:46] *** jaydubya has joined #angularjs
[04:36:47] *** Hackwar1 has quit IRC
[04:36:58] *** Aerospark has quit IRC
[04:38:45] *** andrew9183 has quit IRC
[04:39:02] *** mbenadda has joined #angularjs
[04:39:28] <fotoflo> is there a reccomended library for websockets on angular?
[04:40:15] *** jaydubya has quit IRC
[04:40:21] <s3shs> socket.io
[04:40:37] <fotoflo> and if my server doesnt use socket.io?
[04:40:56] <s3shs> Make it use them.
[04:41:02] <fotoflo> hm?
[04:41:08] *** retornam has quit IRC
[04:41:10] <fotoflo> make them use it?
[04:41:20] <s3shs> Is this #grammar?
[04:41:23] <numenor> :)
[04:41:35] <fotoflo> is that what you meant? its a little late to make them use it
[04:41:41] <s3shs> What's your server using?
[04:41:51] *** evotuned has quit IRC
[04:42:12] *** mven has quit IRC
[04:42:24] *** retornam has joined #angularjs
[04:42:45] <s3shs> You can use socket.io in angular and see if it connects. socket.io, after all, uses WS.
[04:43:20] *** mbenadda has quit IRC
[04:43:26] *** gunn has joined #angularjs
[04:43:30] <s3shs> I believe that's the one.
[04:43:45] <robdubya> for pure WS
[04:43:48] *** nickgs has joined #angularjs
[04:44:13] <s3shs> rob's your guy for socket stuff.
[04:44:14] <fotoflo> robdubya: that one looks like it hasnt been updated in 7 months…
[04:44:26] <robdubya> neither has websocket protocol, tbh
[04:44:45] *** caiges has joined #angularjs
[04:45:06] <robdubya> the trick is to make sure you hook incoming socket events into the $digest cycle in angular
[04:45:08] <fotoflo> but their TODO is still rather scary
[04:45:56] *** sanodamo has joined #angularjs
[04:46:01] *** caiges has quit IRC
[04:46:05] <robdubya> that's the only really special bit. safeDigest triggers well, a digest
[04:46:29] <fotoflo> im not a websocket expert — whats that you sent me?
[04:46:46] <robdubya> that's a section of code from the thing i linked you
[04:47:01] <fotoflo> of course…
[04:47:23] <fotoflo> robdubya: i guess the question is how solid is ngSocket ?
[04:47:35] *** erewnoh has quit IRC
[04:47:46] <fotoflo> robdubya: and will socket.io hook into vanilla websockets?
[04:47:49] <robdubya> its websockets, not rocket surgery :)
[04:47:54] <robdubya> and no, socket.io will not
[04:48:24] *** dc_ has joined #angularjs
[04:48:33] *** DevX101 has joined #angularjs
[04:49:12] <fotoflo> looks like there are a number of pull requests that haven’t been merged — whole thing looks scary, but you’re saying this is the best option?
[04:49:30] *** scythe__ has quit IRC
[04:49:39] *** steeze has quit IRC
[04:50:16] *** sanodamo has quit IRC
[04:50:44] <robdubya> the best option would be to roll your own so that you understand what's happening, tbh
[04:51:14] <s3shs> Is ngSocket api similar to socket.io's api?
[04:51:25] *** numenor has quit IRC
[04:51:42] *** SargoDarya has joined #angularjs
[04:51:50] *** dcherman has joined #angularjs
[04:51:59] *** joshskidmore has quit IRC
[04:52:23] *** Lewix has joined #angularjs
[04:52:24] *** Lewix has joined #angularjs
[04:52:35] *** joshskidmore has joined #angularjs
[04:52:44] <robdubya> aWebSocket.send/onMessage vs aSocketIOSocket.emit/.on iirc
[04:53:00] *** nya_ has joined #angularjs
[04:53:11] <jaawerth> robdubya: Hey, so I realized playing with all the defineProperty stuff that you could totally use its setters on your models so you can copy data to a property without overwriting its reference!
[04:53:18] <fotoflo> rolling my own sounds like a recipie for disaster with my level of javascript
[04:53:24] <robdubya> then use ngSocket.
[04:53:34] <robdubya> its written by 2 of the core angular devs
[04:53:38] *** Aerospark has joined #angularjs
[04:53:41] *** sneakertack has joined #angularjs
[04:53:51] <jaawerth> ngSocket?! how long has that been around?
[04:53:53] <robdubya> hasn't been updated because a) its solid and b) there's not a whole lot more you can add to a WS
[04:53:59] <fotoflo> ok
[04:54:00] <fotoflo> thx
[04:54:05] *** nya has quit IRC
[04:54:32] <jaawerth> robdubya: didn't even know about that - you aren't using that with angular-sails, are you?
[04:55:07] *** Aerospark has quit IRC
[04:55:14] *** atomical has quit IRC
[04:55:20] *** Aerospark has joined #angularjs
[04:55:22] *** bmac has quit IRC
[04:55:25] *** Mxyzpltk has joined #angularjs
[04:55:39] <robdubya> nope. that's pure WS as opposed to socketio
[04:55:56] *** gauravsaini03 has joined #angularjs
[04:56:08] *** djvirgen has quit IRC
[04:56:15] <jaawerth> ahh, yeah I was just checking that
[04:56:26] *** captain_morgan has quit IRC
[04:56:52] <robdubya> i did steal the digest trick from it though, at least in the first rev
[04:57:47] *** JesseH has joined #angularjs
[04:58:27] *** JesseH has joined #angularjs
[04:58:38] *** morenoh149 has quit IRC
[04:59:28] *** mary5030 has quit IRC
[05:00:27] *** JesseH has quit IRC
[05:00:57] *** JesseH has joined #angularjs
[05:01:12] *** JR___ has joined #angularjs
[05:01:57] *** joroc has joined #angularjs
[05:03:00] *** ccohn has joined #angularjs
[05:03:52] *** mary5030 has joined #angularjs
[05:03:59] *** peterp has quit IRC
[05:05:14] *** aven1 has quit IRC
[05:05:19] *** juanpablo___ has joined #angularjs
[05:05:28] *** Superhard has joined #angularjs
[05:05:32] *** jtimon_ has quit IRC
[05:05:50] *** frkout_ has joined #angularjs
[05:05:55] *** tfennelly has joined #angularjs
[05:07:27] *** JesseH has quit IRC
[05:07:53] *** JesseH has joined #angularjs
[05:08:06] *** nickgs has quit IRC
[05:08:20] *** vbabiy has joined #angularjs
[05:08:50] *** ulkesh has quit IRC
[05:08:54] *** frkout has quit IRC
[05:09:04] *** SexualRickshaw has joined #angularjs
[05:09:09] *** busticated has joined #angularjs
[05:09:39] *** kapil__ has joined #angularjs
[05:09:41] *** Superhard has quit IRC
[05:09:49] *** ulkesh has joined #angularjs
[05:09:58] *** juanpablo___ has quit IRC
[05:10:21] *** bmac has joined #angularjs
[05:10:42] *** tfennelly has quit IRC
[05:10:49] *** DevX101_ has joined #angularjs
[05:11:03] *** sonofdirt has joined #angularjs
[05:12:14] *** kuzz0 has quit IRC
[05:12:58] *** instence has joined #angularjs
[05:13:09] *** circ-user-lnrI9 has quit IRC
[05:14:18] *** DevX101 has quit IRC
[05:14:21] *** instence_ has quit IRC
[05:14:22] *** SargoDarya has quit IRC
[05:15:59] *** MacWinner has joined #angularjs
[05:16:05] *** advy has joined #angularjs
[05:16:17] *** DevX101_ has quit IRC
[05:16:49] *** DevX101 has joined #angularjs
[05:17:05] *** Shai-Tan has joined #angularjs
[05:17:21] *** LakWork has quit IRC
[05:17:26] *** gaboesquivel has quit IRC
[05:20:28] *** JesseH has quit IRC
[05:20:53] *** JesseH has joined #angularjs
[05:21:07] *** DevX101 has quit IRC
[05:21:10] *** Hestil has joined #angularjs
[05:21:27] *** robdubya has quit IRC
[05:22:45] *** nickgs has joined #angularjs
[05:22:47] *** sjt003 has quit IRC
[05:23:17] *** ron_frown has quit IRC
[05:23:31] *** g33k5z_ has joined #angularjs
[05:25:04] *** jak124124 has joined #angularjs
[05:25:10] *** ciwolsey has quit IRC
[05:25:39] *** Hestil has quit IRC
[05:26:17] *** drag0nius has quit IRC
[05:28:27] *** JesseH has quit IRC
[05:28:56] *** JesseH has joined #angularjs
[05:29:51] *** JesseH has joined #angularjs
[05:30:43] *** chrisbirk has quit IRC
[05:30:58] *** nemothekid has joined #angularjs
[05:31:28] *** bmac has quit IRC
[05:31:55] *** deanclkclk has quit IRC
[05:31:57] *** aven1 has joined #angularjs
[05:32:28] *** scriptThis has joined #angularjs
[05:32:31] *** numenor has joined #angularjs
[05:33:11] *** KodaSimon has quit IRC
[05:33:59] *** JesseH has quit IRC
[05:34:23] *** recurrence has quit IRC
[05:34:34] *** Aerospark has quit IRC
[05:35:31] *** joroc has quit IRC
[05:35:39] *** morenoh149 has joined #angularjs
[05:36:19] *** robdubya has joined #angularjs
[05:36:31] *** chrisbirk has joined #angularjs
[05:36:34] *** ccohn has quit IRC
[05:36:44] *** nemothekid has quit IRC
[05:37:01] *** laax has joined #angularjs
[05:37:09] <fotoflo> robdubya: are you here? i’ve got a question about how to archetect my websocket app.
[05:37:17] <robdubya> yessir
[05:37:21] *** lawerance has quit IRC
[05:37:22] *** Piyush has joined #angularjs
[05:37:49] *** recurrence has joined #angularjs
[05:39:16] *** RedOrangeZ has joined #angularjs
[05:39:25] *** SomeKittens has quit IRC
[05:40:21] *** nickgs has quit IRC
[05:40:21] <fotoflo> I currently have two services: channelService, which maintains the messages in one channel, and channelListService, which maintains the list of channels; both of which will have to be updated by websocket. On the one hand, im thinking i should handle all websocket requests in one service, and it can depend on the two services. on the other im thinking i should handle .onMessages in each service and ditch the websocket service, per
[05:40:22] <fotoflo> just initializing the websocket in the wsService
[05:40:25] <MacWinner> how do you bind a directive's parameter to a $rootScope variable?
[05:41:04] *** gunn has quit IRC
[05:41:30] *** captain_morgan has joined #angularjs
[05:41:37] *** laax has quit IRC
[05:41:55] *** asher^ has quit IRC
[05:42:01] *** dave_boling has quit IRC
[05:42:12] *** nickgs has joined #angularjs
[05:42:22] *** zapplebee has joined #angularjs
[05:44:51] <fotoflo> robdubya: or is there a better way?
[05:45:07] *** ron_frown has joined #angularjs
[05:45:42] <iShortBus> MacWinner: why would you want to do that?
[05:45:44] *** Grokling_ has joined #angularjs
[05:45:52] *** morenoh149 has quit IRC
[05:46:26] <MacWinner> iShortBus, I have it storing an object with userRoles.. different directives need to use that
[05:46:48] <iShortBus> Store it in a service?
[05:47:33] <MacWinner> iShortBus, I actually have it in a service.. but how do you bind to the data inside the service?
[05:47:52] <MacWinner> so if the roles update in teh service, teh directive would know about it
[05:48:31] *** zapplebee has quit IRC
[05:48:46] *** Piyush has quit IRC
[05:49:41] *** deanclkclk has joined #angularjs
[05:49:54] <MacWinner> iShortBus, oooh.. i see a good example
[05:49:58] *** Aerospark has joined #angularjs
[05:50:09] <iShortBus> perfect :)
[05:50:16] *** BALAG has joined #angularjs
[05:50:25] <BALAG> HI
[05:50:36] <iShortBus> hi BALAG
[05:50:44] <BALAG> gd mrng
[05:50:49] *** Lewix has quit IRC
[05:50:55] <BALAG> can i use multiple controllers in same page?
[05:50:56] <iShortBus> good evening
[05:50:58] *** recurrence has quit IRC
[05:51:15] <BALAG> i mean each and every controller has some ajax calls
[05:51:37] <BALAG> while changing the view again controller initiated
[05:51:49] <BALAG> so again and again am getting data from db
[05:52:39] *** Aerospark has quit IRC
[05:52:59] <iShortBus> you could create directives for particular areas of the page. and make a directive-controller there for each and have those call your services.
[05:53:01] *** evotuned has joined #angularjs
[05:53:18] *** yoonchee has quit IRC
[05:53:21] *** patrick99e99 has joined #angularjs
[05:53:23] <BALAG> for example i have seven bootstrab tabs in single page..each and every tab contain different datas and loading different calls
[05:53:24] <iShortBus> if you're using ngRoute. if your using uiRotuer, you can nest views
[05:53:33] <iShortBus> and the views would just have their own controller
[05:53:34] <BALAG> previously was using knockoutjs
[05:53:59] *** burzum2 has joined #angularjs
[05:54:22] <BALAG> am using ngRoute
[05:54:32] <iShortBus> then do the directives
[05:54:42] <iShortBus> create a directive for each tab basicallly
[05:54:43] *** rommel has joined #angularjs
[05:54:46] <rommel> b
[05:54:59] *** burzum has quit IRC
[05:55:14] <BALAG> yeah...can bind data
[05:55:32] <iShortBus> ?
[05:56:04] <BALAG> but my doubt is...while changing the tab the controller started to run from starting
[05:56:28] <BALAG> i have to load the data when the tab clicke don first time only
[05:56:40] *** zanea is now known as zanea|away
[05:56:57] *** evotuned has quit IRC
[05:58:13] *** patrick99e99 has quit IRC
[05:58:14] <BALAG> ?
[05:58:27] <iShortBus> I'm confused by what you mean
[05:58:46] <BALAG> sorry am asking again clearly
[05:58:55] *** ngbot has joined #angularjs
[05:58:56] <ngbot> angular.js/master 3d78bf3 sandeep: docs(guide/index): add book Responsive Web Design with AngularJS...
[05:58:56] *** ngbot has left #angularjs
[05:59:20] *** ngbot has joined #angularjs
[05:59:21] <ngbot> angular.js/v1.2.x b79f583 sandeep: docs(guide/index): add book Responsive Web Design with AngularJS...
[05:59:21] *** ngbot has left #angularjs
[05:59:59] *** alpha080 has joined #angularjs
[06:00:54] *** cornerma1 has joined #angularjs
[06:01:17] <BALAG> i have single page with seven tabs...each tab contain different data..i mean seven templates, seven controllers,,and main controller to route templates...while loading am initiating the first tab(customer profile) ..now the profile controller start to run and will load data from db using ajax..and stored in array and binding the value...then am moving to second tab, now loading customer activities from db and binding..again if i a
[06:01:39] <BALAG> if there is different page na, no pblm but same page.......
[06:02:00] *** joroc has joined #angularjs
[06:02:01] <BALAG> am new to angular ,,if my question is wrong na pls let me know how to do
[06:02:06] *** GreenJello has quit IRC
[06:03:49] *** cornerman has quit IRC
[06:03:50] *** cornerma1 is now known as cornerman
[06:04:07] <iShortBus> BALAG: So data within the first tab affects data within the other tabs directly?
[06:04:14] *** sonofdirt has quit IRC
[06:04:28] *** AngularUI has joined #angularjs
[06:04:28]
<AngularUI> [ng-grid] jpuri opened pull request #2398: fix for #2311 and other issues in grid editors (master...mater_input) http://git.io/goophg
[06:04:28] *** AngularUI has left #angularjs
[06:04:48] *** sonofdirt has joined #angularjs
[06:04:56] *** gunn has joined #angularjs
[06:05:18] *** aven1 has quit IRC
[06:05:42] *** nickgs has quit IRC
[06:05:55] *** frkout_ has quit IRC
[06:06:21] *** frkout has joined #angularjs
[06:07:43] *** busticated has quit IRC
[06:08:20] *** captain_morgan has quit IRC
[06:09:00] *** Zentdayn has quit IRC
[06:09:04] *** chaohuanghong has joined #angularjs
[06:09:25] *** sonofdirt has quit IRC
[06:10:41] *** jak124124 has quit IRC
[06:10:42] *** g33k5z_ has quit IRC
[06:10:43] *** it0a has quit IRC
[06:10:58] *** Radar has joined #angularjs
[06:11:11] *** Radar has left #angularjs
[06:11:17] *** g33k5z_ has joined #angularjs
[06:11:38] *** SargoDarya has joined #angularjs
[06:12:08] <iShortBus> BALAG: i'll be back on in like an hour. my plane is landing.If someone else could try to help BALAG in my absense that'd be awesome :)
[06:12:44] *** cthrax has joined #angularjs
[06:13:39] <BALAG> ok sir theank you
[06:13:48] <BALAG> thank u
[06:15:34] *** g33k5z_ has quit IRC
[06:16:07] *** arpu has quit IRC
[06:17:05] *** GreenJello has joined #angularjs
[06:18:50] *** ycodr has joined #angularjs
[06:19:21] *** Aerospark has joined #angularjs
[06:23:07] *** jdubs has quit IRC
[06:23:36] *** axsuul has joined #angularjs
[06:23:53] *** jaydubya has joined #angularjs
[06:24:39] *** axsuul has joined #angularjs
[06:24:51] *** axsuul has quit IRC
[06:25:44] *** axsuul has joined #angularjs
[06:26:06] *** SomeKittens has joined #angularjs
[06:26:47] *** axsuul has joined #angularjs
[06:26:47] *** jdivock has quit IRC
[06:27:46] *** mbenadda has joined #angularjs
[06:27:54] *** joshskidmore has quit IRC
[06:28:12] *** chaohuanghong has quit IRC
[06:28:20] *** jaydubya has quit IRC
[06:28:25] *** frege has left #angularjs
[06:28:38] *** joshskidmore has joined #angularjs
[06:30:20] *** jdivock has joined #angularjs
[06:30:40] *** jdivock has quit IRC
[06:30:43] *** fotoflo has left #angularjs
[06:31:10] *** SargoDarya has quit IRC
[06:32:01] *** aven1 has joined #angularjs
[06:32:01] *** Aerospark has quit IRC
[06:32:08] *** Hestil has joined #angularjs
[06:32:14] *** mbenadda has quit IRC
[06:32:53] *** dcherman has quit IRC
[06:33:08] *** chaohuanghong has joined #angularjs
[06:33:09] *** mmealling has joined #angularjs
[06:33:58] *** pnade has quit IRC
[06:35:31] *** joroc has quit IRC
[06:36:09] *** captain_morgan has joined #angularjs
[06:36:28] *** axsuul_ has joined #angularjs
[06:36:36] *** evotuned has joined #angularjs
[06:37:06] *** Hestil has quit IRC
[06:37:25] *** Una has joined #angularjs
[06:38:10] *** axsuul has quit IRC
[06:38:43] *** thomasc22 has joined #angularjs
[06:38:48] *** mrits has quit IRC
[06:39:21] *** Raging_Hog has joined #angularjs
[06:39:56] *** thomasc22 has quit IRC
[06:40:22] *** asher^ has joined #angularjs
[06:40:33] *** jdivock has joined #angularjs
[06:44:11] *** jdivock has joined #angularjs
[06:45:25] *** rommel has quit IRC
[06:45:32] *** cthrax has quit IRC
[06:46:59] *** charuru has quit IRC
[06:47:32] *** sahbeewah has joined #angularjs
[06:47:49] *** mrits has joined #angularjs
[06:48:07] *** jdivock has joined #angularjs
[06:49:35] *** Iravan has quit IRC
[06:49:49] *** sneakertack has quit IRC
[06:49:53] *** Iravan has joined #angularjs
[06:50:24] *** sneakertack has joined #angularjs
[06:50:31] *** jdivock has joined #angularjs
[06:50:54] *** JesuZ has joined #angularjs
[06:50:57] *** Grokling_ has quit IRC
[06:51:19] *** o-ja has joined #angularjs
[06:53:15] <o-ja> Anybody can recommend good tutorial on getting started with AngularJs, NodeJs, Express v 4.0, MongoDB. Would like to get database connection going. Thanks in advance!
[06:53:33] *** sneakertack has quit IRC
[06:54:05] *** juanpablo___ has joined #angularjs
[06:54:06] *** JesuZ has quit IRC
[06:54:12] *** Superhard has joined #angularjs
[06:54:28] *** Raging_Hog has quit IRC
[06:55:43] *** tyfighter has quit IRC
[06:56:28] *** ggrzybek has joined #angularjs
[06:57:30] *** NormySan has joined #angularjs
[06:57:37] *** scythe__ has joined #angularjs
[06:58:12] *** jdubs has joined #angularjs
[06:58:36] *** frkout_ has joined #angularjs
[06:58:39] *** Superhard has quit IRC
[06:59:54] *** juanpablo___ has quit IRC
[07:00:53] *** tyfighter has joined #angularjs
[07:01:24] *** jlrodriguez has joined #angularjs
[07:01:34] *** Menorah has joined #angularjs
[07:01:55] *** frkout has quit IRC
[07:02:00] *** circ-user-lnrI9 has joined #angularjs
[07:02:01] *** joroc has joined #angularjs
[07:02:50] *** Lewix has joined #angularjs
[07:02:50] *** Lewix has joined #angularjs
[07:03:21] <s3shs> For angular, start with the angularjs.org web site's tutorial. For node, just download it and start handling requests. A simple node server is like 10 lines of code. For express... I'd avoid express. Just stick with connect until you *really* need express. For mongoDB, that'll connect from the node side. I'm sure you can find examples with modules for mdb for node.
[07:03:27] *** juanluisrp has joined #angularjs
[07:03:30] *** alpha080 has quit IRC
[07:03:58] *** markalanevans has joined #angularjs
[07:03:58] *** doginal has joined #angularjs
[07:04:05] *** frankh_ has quit IRC
[07:04:17] *** juanluisrp1 has quit IRC
[07:05:18] *** aven1 has quit IRC
[07:05:57] *** jlrodriguez has quit IRC
[07:07:56] *** nya_ has quit IRC
[07:08:16] *** MrBaboon has quit IRC
[07:08:24] *** MrBaboon_ has joined #angularjs
[07:08:44] *** Skrypter has quit IRC
[07:09:16] *** Skrypter has joined #angularjs
[07:10:27] *** VeeWee has joined #angularjs
[07:10:43] *** GreenJello has left #angularjs
[07:11:33] *** g33k5z_ has joined #angularjs
[07:11:43] *** KushS has joined #angularjs
[07:12:04] *** freelyfred has joined #angularjs
[07:12:29] *** Una has quit IRC
[07:13:57] *** Skrypter has quit IRC
[07:15:18] *** mary5030 has quit IRC
[07:15:34] *** {DV8} has quit IRC
[07:15:52] *** g33k5z_ has quit IRC
[07:16:53] *** lemur has quit IRC
[07:17:29] *** lemur has joined #angularjs
[07:17:57] *** lemur has joined #angularjs
[07:18:35] *** KushS has quit IRC
[07:19:41] *** jak124124 has joined #angularjs
[07:20:08] *** tyfighter has quit IRC
[07:20:13] *** Guest74210 has joined #angularjs
[07:20:16] <Guest74210> hi everyone
[07:20:16] *** Lewix has quit IRC
[07:20:29] <Guest74210> need some help with access a variable in $rootScope
[07:21:02] *** ccohn has joined #angularjs
[07:22:40] <BahamutWC> just ask the question
[07:23:09] *** deanclkclk has quit IRC
[07:23:49] <Guest74210> when i console.log($rootScope) - i see the property that i want to access, but when i console.log($rootScope.tknone) it says that its null
[07:23:57] *** sigurding has joined #angularjs
[07:24:09] <Guest74210> not sure whats causing it
[07:24:53] <BahamutWC> that is weird
[07:25:03] <BahamutWC> is the value truly null?
[07:25:23] <Guest74210> nope, it's not
[07:25:37] <Guest74210> i see it's value when i log jsut $rootScope
[07:25:43] *** mrits has quit IRC
[07:25:47] <Guest74210> but when i log that variable directly, it's null
[07:26:06] *** laax has joined #angularjs
[07:26:11] *** caitp has quit IRC
[07:26:22] *** sinequanon has joined #angularjs
[07:26:35] <BahamutWC> can you reproduce it in a plunker?
[07:26:47] <Guest74210> not at the moment
[07:27:07] <Guest74210> :(
[07:27:48] *** MrBaboon_ has quit IRC
[07:28:26] *** SargoDarya has joined #angularjs
[07:29:12] *** scythe__ has quit IRC
[07:29:15] *** frkout_ has quit IRC
[07:29:20] *** phzon has joined #angularjs
[07:29:40] *** frkout has joined #angularjs
[07:30:00] *** NormySan has quit IRC
[07:30:04] <shyshy> is currUser just not in scope in the return object?
[07:31:12] *** laax has quit IRC
[07:31:24] <shyshy> oh wait, is it because im console.logging before the success callback happens?
[07:32:04] *** aven1 has joined #angularjs
[07:32:14] <dsdeiz> hello, if i have $scope.states = ['TX', 'IL']. in my ng-options i'd like the key to be the value of the option and the value of the array as the label
[07:32:25] <dsdeiz> any ideas how i may go about this?
[07:32:41] *** SargoDarya has quit IRC
[07:33:33] *** phzon has quit IRC
[07:33:52] <o-ja> s3shs, thanks.
[07:34:06] *** siddart has quit IRC
[07:34:16] *** deanclkclk has joined #angularjs
[07:34:31] <s3shs> o-ja, sure. It's a moderate hill to climb. Many hills, like php, SQL, apache, json are steeper. You'll do fine.
[07:34:31] *** cacts has joined #angularjs
[07:34:56] *** ron_frown has quit IRC
[07:35:09] *** nya has joined #angularjs
[07:35:11] *** bullicon has joined #angularjs
[07:35:33] *** nya has quit IRC
[07:35:43] *** nya has joined #angularjs
[07:35:47] <s3shs> You might have to translate your array in to an array of objects.
[07:35:48] *** Mxyzpltk has quit IRC
[07:36:10] *** joroc has quit IRC
[07:36:25] <BahamutWC> shyshy: the ajax request is asynchronous, so the console.log will fire beforehand
[07:36:27] *** e0ipso|away is now known as e0ipso
[07:36:59] <s3shs> 'nite
[07:38:08] <shyshy> BahamutWC: yup thanks. i console.logged also in the success callback. the one outside printed before the one in the success callback so that would make sense
[07:38:34] *** Guest74210 has quit IRC
[07:39:33] *** jimvideo has quit IRC
[07:39:37] *** freelyfred has quit IRC
[07:42:51] *** raghunayyar has joined #angularjs
[07:43:42] *** MattWelch has quit IRC
[07:46:29] *** whunt has joined #angularjs
[07:46:40] *** treeface has joined #angularjs
[07:47:09] *** Shai-Tan has quit IRC
[07:47:56] *** captain_morgan has quit IRC
[07:48:24] *** macobo has joined #angularjs
[07:51:28] *** treeface has quit IRC
[07:52:31] *** jdivock has quit IRC
[07:52:47] *** platonic has quit IRC
[07:52:56] *** dnull has quit IRC
[07:53:08] *** jdivock has joined #angularjs
[07:54:17] *** patrick99e99 has joined #angularjs
[07:54:26] *** ccohn has quit IRC
[07:54:38] <markalanevans> lebster: why does using $timeout make it any different?
[07:54:52] <markalanevans> And in my case, im actually using an ngResource
[07:55:16] <markalanevans> so its the return of a ngResource get that i do the update.
[07:55:39] *** captain_morgan has joined #angularjs
[07:55:50] *** jdivock has joined #angularjs
[07:56:27] *** brodul has quit IRC
[07:58:28] *** davi has joined #angularjs
[07:59:11] *** patrick99e99 has quit IRC
[07:59:28] *** sinequanon has quit IRC
[07:59:45] *** platonic has joined #angularjs
[07:59:46] *** brodul has joined #angularjs
[08:00:30] *** jdivock has joined #angularjs
[08:01:06] *** whunt has quit IRC
[08:02:03] *** joroc has joined #angularjs
[08:02:06] <Spot__> markalanevans: I've seen people to use multiple ngResources inside timers to try to syncronise a bit what comes first to the screen
[08:02:35] *** ccohn has joined #angularjs
[08:02:58] *** plekplek has joined #angularjs
[08:03:16] <markalanevans> But what is the problem?
[08:03:37] <markalanevans> If i don't use the ngOptions, and instead i just hard set the <options> in the html it works perfectly
[08:03:45] <markalanevans> ngOptions kind of fails for a very obvious case
[08:04:49] *** mal808 has joined #angularjs
[08:05:54] *** tilgovi has quit IRC
[08:06:36] *** mmealling has quit IRC
[08:06:39] *** iksik has joined #angularjs
[08:06:40] *** aven1 has quit IRC
[08:07:20] *** ccohn has quit IRC
[08:08:29] *** sinequanon has joined #angularjs
[08:09:07] *** shyshy has quit IRC
[08:09:18] *** Click66 has joined #angularjs
[08:09:20] *** tilgovi has joined #angularjs
[08:09:24] *** shyshy has joined #angularjs
[08:10:32] *** kagitingan has quit IRC
[08:10:57] *** Lewix has joined #angularjs
[08:10:57] *** Lewix has joined #angularjs
[08:11:02] *** alex_zhou has joined #angularjs
[08:11:28] *** kapil__ has quit IRC
[08:11:40] *** Aerospark has joined #angularjs
[08:12:15] *** Sky[x] has joined #angularjs
[08:12:40] *** jaydubya has joined #angularjs
[08:14:17] *** sandelius has joined #angularjs
[08:15:03] *** sandelius has left #angularjs
[08:15:08] *** Aliks has joined #angularjs
[08:15:37] *** jak124124 has quit IRC
[08:16:33] *** mbenadda has joined #angularjs
[08:17:18] <Spot__> markalanevans: you mean ng-repeat in option?
[08:17:25] *** bullicon has quit IRC
[08:17:27] <markalanevans> No.
[08:17:30] <markalanevans> i just did this:
[08:17:32] <Spot__> :P
[08:17:35] *** jaydubya has quit IRC
[08:20:37] *** nabdev has joined #angularjs
[08:20:43] <Spot__> What's the scope parameter from ngResource?
[08:20:44] *** mbenadda has quit IRC
[08:21:07] *** TheDreamIsReal has quit IRC
[08:21:10] <jaawerth> yeah, ngOptions shouldn't have any problems with that at all
[08:21:39] <jaawerth> you may just need to use the promise returned by ngResource instead of the raw data if there are race conditions going on
[08:21:49] <Spot__> Yes, this has always worker for me:
[08:21:52] <Spot__> <select ng-options="item.subItem as item.label for item in values track by item.id" ng-model="selected">
[08:21:58] *** fernandojsg has joined #angularjs
[08:22:14] *** jstroem has joined #angularjs
[08:22:22] <Spot__> And I use always promises
[08:22:34] *** sbellina has quit IRC
[08:22:51] *** Lewix has quit IRC
[08:22:55] *** caitp has joined #angularjs
[08:23:00] <fernandojsg> Hi everybody!
[08:23:10] *** mdedetrich has quit IRC
[08:24:00] *** jaydubya has joined #angularjs
[08:24:09] <Spot__> The only thing with select + ngOptions that I don't like is the empty row in top. I don't usually want to preselect anything for "new items"
[08:25:52] *** sbellina has joined #angularjs
[08:26:20] <jaawerth> ?
[08:26:22] <jaawerth> you shouldn't have to
[08:26:38] *** adben- has joined #angularjs
[08:26:51] *** jdubs has quit IRC
[08:28:18] *** heavyhorse has joined #angularjs
[08:28:54] *** nabdev has quit IRC
[08:28:59] <jaawerth> Spot__: oh, I see what you mean. the fact that the dropdown then has a permanent blank option?
[08:29:34] <fernandojsg> I used to have an blank option on every option and select it by default and act as unselected
[08:29:35] <Spot__> jaawerth: no only until you select something
[08:29:48] <Spot__> That feels like a bug in angular :P
[08:30:10] *** one0one has quit IRC
[08:30:14] *** SargoDarya has joined #angularjs
[08:30:15] *** caitp has quit IRC
[08:30:42] *** adben- has quit IRC
[08:31:01] <Spot__> If preselecting f.e. $scope.selected = $scope.values[0] it removes the empty one
[08:31:14] <fernandojsg> Spot__: you want to have a blank option and once you select one nonempty option to remove this blank option right?
[08:31:14] <Spot__> Or if you add empty option there also
[08:31:26] *** nabdev has joined #angularjs
[08:31:26] *** nabdev has joined #angularjs
[08:31:35] *** recurrence has joined #angularjs
[08:31:39] *** jak124124 has joined #angularjs
[08:32:05] *** aven1 has joined #angularjs
[08:32:08] *** Aerospark has quit IRC
[08:32:28] <jaawerth> ahh, right
[08:32:45] <fernandojsg> yes I see what you mean
[08:32:53] *** Aerospark has joined #angularjs
[08:34:17] *** deanclkclk has quit IRC
[08:34:26] <fernandojsg> Spot__: if you add it in the html, like <select ng-options=...><option value="-1"></option></select> it will delete yep, so maybe you could just add it to the ng-options list
[08:34:32] *** joroc has quit IRC
[08:34:58] <jaawerth> Spot__: that actually makes sense if you think about it
[08:35:17] *** sjt003 has joined #angularjs
[08:35:25] <jaawerth> if you manually add a filler option (with no value), it won't go away and the blank one won't show up
[08:35:51] <jaawerth> There's definitely a use-case where the user must pick an option, but you don't want to pre-select one either, it could lead to error
[08:36:13] <jaawerth> so you'd leave it blank (and form validation wouldn't let them submit until one is selected), and once they've picked one they no longer have the option to go back to blank
[08:36:15] <jaawerth> simplifies the UX
[08:36:50] *** b1rkh0ff1 has joined #angularjs
[08:36:51] *** MattWelch has joined #angularjs
[08:37:01] <jaawerth> better to have it configurable, though if that behavior isn't documented, it should be.
[08:37:33] *** e0ipso is now known as e0ipso|away
[08:37:42] <Grokling> jaawerth: It's horrible on chrome on iOS - evidently it chooses by index, but removes that blank one in between, so you end up with the option below the one you actually selected.
[08:37:51] <fernandojsg> if it should be a required value that the user must select, i agree with jaawerth that it's the correct way to go. but if you can leave it as blank maybe you could add it to the list of options and it will be available to go back to blank after selected another one
[08:37:56] *** Fire-Dragon-DoL has joined #angularjs
[08:38:17] *** b1rkh0ff has quit IRC
[08:38:27] <Spot__> At least the empty option should be hidden
[08:38:41] *** Fire-Dragon-DoL has joined #angularjs
[08:38:47] *** zarglex has joined #angularjs
[08:38:49] *** jstroem has quit IRC
[08:38:58] <jaawerth> Grokling: Hrm, trackby d oesn't fix that?
[08:39:02] <Spot__> Even simple HTML forms don't need empty option to submit a form.
[08:39:10] *** sebhoss has joined #angularjs
[08:39:11] *** jstroem has joined #angularjs
[08:39:18] <Grokling> Spot__: The trouble with hiding it is that there's no way for the user to go back to having 'not selected' something.
[08:39:29] <jaawerth> yeah
[08:39:33] <jaawerth> which again leads to potential user error
[08:39:50] <jaawerth> I've certainly clicked on a dropdown and then clicked away from it before, expecting it to remain unselected
[08:39:58] <jaawerth> if you made it disappear, that expected behavior would be gone
[08:40:00] *** Skrypter has joined #angularjs
[08:40:00] <Grokling> Actually.. that's what happens anyway - if I select something, the blank one goes away, so I'm sunk anyway.
[08:40:10] <jaawerth> right, but you've consciously selected something
[08:40:11] <markalanevans> Spot__: ? what do you mean
[08:40:16] *** asher^ has quit IRC
[08:40:25] *** circ-user-lnrI9 has quit IRC
[08:40:27] *** ingsoc has joined #angularjs
[08:40:28] *** heavyhorse has quit IRC
[08:40:32] <Spot__> Grokling: good point, so for me it's preselecting or using size 1, if I want to avoid the UX issue
[08:40:34] <Grokling> Sure, but then realised that I fumbled, mis-clicked, or just made an error.
[08:40:50] <jaawerth> then too bad!
[08:40:56] <jaawerth> pick one!
[08:40:59] <jaawerth> ;-)
[08:41:14] <jaawerth> if the user should be allowed to re-select blank, there's where including the blank option comes in
[08:41:17] <Spot__> But it's kind of then that adding that null option with a label wouldn't be bad idea :)
[08:41:39] <markalanevans> Spot__: so you are saying it should work? What do you mean by using the promise
[08:41:50] <markalanevans> I will will show you what the code looks like.
[08:41:55] *** kapil__ has joined #angularjs
[08:42:04] <Grokling> I didn't try trackby (does that apply to ngOptions?) I think I'm going to end up with null options in all of my selects.
[08:42:08] *** lite_ has joined #angularjs
[08:42:22] <Grokling> null/blank
[08:42:39] *** blomman has joined #angularjs
[08:42:56] *** Superhard has joined #angularjs
[08:43:09] <markalanevans> on line 5
[08:43:25] <markalanevans> jaawerth: ^^
[08:43:35] *** juanpablo___ has joined #angularjs
[08:43:47] <markalanevans> After the ngResource came back, i was just updating the $scope.data.partner
[08:44:06] <markalanevans> and $scope.data.partner.verification_method was the ngModel on the select
[08:44:38] <markalanevans> The data would come back from the API and the all my other form fields would get set
[08:44:44] *** Skrypter has quit IRC
[08:45:14] <Grokling> Dates are proving more difficult than I thought they should. I'm about to make a plunker and see if it's just my app that's being a pain. I've taken a string from json, passed it through moment.js, and then expected my <input type='date'> field to show the date. But it doesn't. Clearly I've missed something along the way.
[08:45:21] *** jstroem has quit IRC
[08:45:22] <markalanevans> but the select box would only ever change the value the correct value if the value in the response was the first record of the ngOption
[08:45:44] *** falk_netstyler has joined #angularjs
[08:45:44] <Spot__> markalaevansa: Wait a sec
[08:45:58] *** jstroem has joined #angularjs
[08:46:03] *** Christer has joined #angularjs
[08:46:13] *** AWAW has joined #angularjs
[08:46:22] <markalanevans> Ok.
[08:46:50] <jaawerth> Grokling: You can use trackby with ngOptions - IIRC you justu can't use it with "select as.." syntax, but it'll work with all others
[08:47:05] <jaawerth> Grokling: the docs will say for sure - I wouldn't trust my memory on that one
[08:47:13] *** Superhard has quit IRC
[08:47:33] <jaawerth> Grokling: use $parsers and $formatters
[08:47:34] <Grokling> jaawerth: Thanks - I'll check into it again once I figure these pesky dates out.
[08:47:39] <jaawerth> Grokling: for your date issue
[08:48:05] <jaawerth> that approach works great both for datepicker plugins and for native
[08:48:06] <Grokling> jaawerth: You don't happen to have a plunker with working dates by any chance?
[08:48:08] *** juanpablo___ has quit IRC
[08:48:20] <jaawerth> I can whip one up
[08:48:27] *** recurrence has quit IRC
[08:48:40] *** techsethi_ has joined #angularjs
[08:49:05] <Grokling> That would be awesome.. I'd really like to figure out how to fail back to a datepicker if the html5 element isn't supported too.
[08:49:23] *** shyshy has quit IRC
[08:49:28] *** DoubleAW has quit IRC
[08:50:17] *** jstroem has quit IRC
[08:51:20] *** MattWelch has quit IRC
[08:51:49] *** SargoDarya has quit IRC
[08:52:33] <Spot__> markalanevans: Here's a working example
[08:53:43] *** TeddyMurray has quit IRC
[08:54:17] <markalanevans> Spot__: a tad different
[08:54:22] *** KushS has joined #angularjs
[08:54:24] <markalanevans> let me see if i can modify yours to show you want i mean
[08:54:35] <Spot__> OK
[08:54:47] *** kirfu has joined #angularjs
[08:54:57] *** tarnus has quit IRC
[08:55:00] *** g33k5z has joined #angularjs
[08:55:27] *** SargoDarya has joined #angularjs
[08:57:28] *** renlo has joined #angularjs
[08:59:22] *** g33k5z has quit IRC
[09:00:39] *** Aliks has quit IRC
[09:01:12] *** fbenoit has joined #angularjs
[09:02:08] *** joroc has joined #angularjs
[09:03:37] *** axsuul_ has quit IRC
[09:04:08] *** evilaliv3 has joined #angularjs
[09:04:50] <markalanevans> Spot__: well… it works…
[09:05:00] <markalanevans> Most bizzare
[09:05:04] *** jak124124 has quit IRC
[09:05:20] *** nfroidure has joined #angularjs
[09:05:28] <markalanevans> And this works...
[09:05:34] <markalanevans> Very bizzare
[09:05:40] *** aven1 has quit IRC
[09:05:56] *** finkbeine has joined #angularjs
[09:05:58] <Spot__> markalanevans: I guess you should try it then with your own code like that?
[09:06:00] <markalanevans> Hmm. let me use a different version of angular though...
[09:06:03] <Spot__> I'll look that soon
[09:06:22] *** captain_morgan has quit IRC
[09:07:04] *** heavyhorse has joined #angularjs
[09:07:23] *** trustyhank has joined #angularjs
[09:07:23] <markalanevans> Spot__: ok
[09:07:27] <markalanevans> So interesting
[09:07:31] *** bullicon has joined #angularjs
[09:07:33] <markalanevans> I have updated mine
[09:07:42] *** edzez__ has joined #angularjs
[09:07:47] <markalanevans> I switched to use version 1.2.27
[09:08:09] *** Aliks has joined #angularjs
[09:08:17] <Spot__> markalanevans: Does it work with 1.2.27 also?
[09:08:25] <markalanevans> Spot__: no
[09:08:30] *** guilbep has joined #angularjs
[09:08:33] <markalanevans> so try it for your self
[09:08:41] <markalanevans> Spot__: on line 7
[09:08:49] <markalanevans> at the end change the colors to red
[09:09:01] <Spot__> markalanevans: I'm on a meeting, so I'll just look it in an hour, OK? :)
[09:09:02] *** Ch4rAss has joined #angularjs
[09:09:14] <markalanevans> Doh. I'm about to head off.
[09:09:30] <markalanevans> But Spot__ you will see that if you choose the last color in the options
[09:09:31] <markalanevans> it doesn't work
[09:09:41] <markalanevans> So it works for red, purple, orange, blue
[09:09:42] *** cacts has quit IRC
[09:09:45] <markalanevans> but if you change it to black
[09:09:49] <markalanevans> the last option
[09:09:50] <markalanevans> it fails
[09:09:56] *** sigurding has quit IRC
[09:09:57] <markalanevans> it doesn't updat the select box
[09:10:07] <markalanevans> But it worked in 1.3...
[09:10:09] <markalanevans> !!!!
[09:10:19] *** evotuned has quit IRC
[09:10:30] <markalanevans> So it must be a bug
[09:10:55] *** evotuned has joined #angularjs
[09:11:12] *** MaxV has joined #angularjs
[09:11:19] *** lemur has quit IRC
[09:11:24] *** heavyhor53 has joined #angularjs
[09:11:37] *** StoneCypher has quit IRC
[09:11:37] *** cacts has joined #angularjs
[09:11:44] *** DoubleAW has joined #angularjs
[09:11:51] *** edzez_ has quit IRC
[09:11:53] *** lemur has joined #angularjs
[09:12:04] <jaawerth> Grokling: er, I think I got it backwards from what you need, but that's the general form of it
[09:12:38] *** ximenean_ has joined #angularjs
[09:13:13] <jaawerth> Grokling: wait, what format are you getting it from moment.js? a native date object?
[09:13:26] <Grokling> jaawerth: Thanks very much - there are a couple of things there I haven't encountered yet, so this will take some grappling.
[09:13:42] <Grokling> jaawerth: I don't think it's a native date format.. it's a moment.
[09:14:13] *** AWAW has quit IRC
[09:14:18] *** heavyhorse has quit IRC
[09:14:19] *** sjt003 has quit IRC
[09:14:27] <jaawerth> Grokling: so what you should be able to do is convert it into a string format, and in the $formatter do "return new Date(dateString)
[09:14:33] *** nemothekid has joined #angularjs
[09:14:36] *** edzez_ has joined #angularjs
[09:14:42] <jaawerth> or rather, do both of those things in the formatter
[09:14:57] *** evotuned has quit IRC
[09:15:00] *** renlo has quit IRC
[09:15:04] <jaawerth> just make sure whathever string format you use is compatible with the native date object's parser (it can handle a lot)
[09:15:04] <Grokling> So, given that it's already coming via JSON in a string format, I shouldn't need moment in there at all right?
[09:15:19] *** laax has joined #angularjs
[09:15:49] <jaawerth> what's the string look like?
[09:16:27] *** jstroem has joined #angularjs
[09:16:39] <Grokling> "1952-02-12T11:00:00.000Z"
[09:17:16] *** mbenadda has joined #angularjs
[09:18:14] *** edzez__ has quit IRC
[09:19:10] <ericbutters> and how to do it right?
[09:19:34] *** Menorah has quit IRC
[09:19:38] *** herbyme has quit IRC
[09:19:49] *** jagga has joined #angularjs
[09:20:12] <jaawerth> Grokling: yeah that should work - I also updated the plunk - just had to flip the parser and formatter since you want hte model to be a datestring. It converts it to an object on the way to the view, and back again when selected by a user
[09:20:35] *** laax has quit IRC
[09:20:46] <jaawerth> Grokling: That said.. you don't actually NEED this now that I think about it. You should be able to just wrap the incoming json data in new Date() when you set it to the model
[09:21:47] *** mbenadda has quit IRC
[09:22:02] *** t0rrieri has quit IRC
[09:22:08] *** bengillies has joined #angularjs
[09:22:26] *** jdivock has quit IRC
[09:22:37] *** mkusher has joined #angularjs
[09:23:26] *** jdivock has joined #angularjs
[09:23:39] *** johnkevinmbasco has quit IRC
[09:24:02] *** jdj_dk has joined #angularjs
[09:26:00]
<jaawerth> Grokling: I found the directive that wraps a jquery date-picker that I'd been helping someone else with recently - I cleaned up a couple of the questionable choices in there for you. The Date has been formatted in German, but you'll get the idea.. http://plnkr.co/edit/uP4FPapZOCYFgvVxDQwb?p=preview
[09:26:03] *** cheef has joined #angularjs
[09:26:14] *** Menorah has joined #angularjs
[09:26:23] <jaawerth> should be easy to do feature detection and fall back to that
[09:27:15] <jaawerth> ericbutters: Because Angular runs (at least) two digests on each cycle
[09:27:22] *** heavyhor53 has quit IRC
[09:27:29] *** tfennelly has joined #angularjs
[09:27:39] <jaawerth> ericbutters: That's the dirty-checking in action. It runs once, then runs again to make sure everything is stable. If there are changes, it runs AGAIN, etc
[09:27:43] *** tfennelly has quit IRC
[09:28:07] <jagga> jaawerth, is a german date just a date but with .'s?
[09:28:07] *** sigurding has joined #angularjs
[09:28:20] <jagga> I also like how you have dd MM yy
[09:28:22] <jaawerth> jagga: take a look at the days and stuff
[09:28:34] <jaawerth> jagga: haha that was how they wanted it
[09:28:40] <jagga> I see So Mo Di Mi Do Fre Sa
[09:28:58] *** foofoobar has joined #angularjs
[09:29:04] <jaawerth> yeah, that and the dd MM yy is the german formatting, at least according to this guy
[09:29:15] <jagga> well dd/MM/yy is the formatting here in the UK too
[09:29:23] <jagga> I wonder if only america have the weird MM/dd/yy formatting
[09:29:32] *** MrBaboon has joined #angularjs
[09:29:35] <jaawerth> probably, we also still use imperial units
[09:29:49] <jagga> makes absolutely no sense for america to have Month/Day/Year
[09:29:54] <jaawerth> we're crazy like that
[09:30:01] <jagga> :)
[09:30:25] *** gauravsaini03 has quit IRC
[09:30:34] <jaawerth> but yeah, it's the only time measurement that's out of order. pretty silly, thinking about it
[09:31:17] <alex_zhou> in china, yy/mm/dd
[09:31:24] <jagga> even that isnt bad
[09:31:33] <jagga> it's in a order, although descending
[09:31:39] <jaawerth> right, at least it's in order of size one way or the other
[09:31:40] <ericbutters> jaawerth: thanks
[09:31:41] <jagga> year > month > day....
[09:32:08] *** aven1 has joined #angularjs
[09:32:55] <jaawerth> ericbutters: you just gotta make sure any functions that execute on every digest (as opposed to conditional ones) are idempotent and relatively cheap to execute
[09:33:18] *** alpha080 has joined #angularjs
[09:33:43] *** grogs has joined #angularjs
[09:33:57] *** MrBaboon has quit IRC
[09:34:17] *** joroc has quit IRC
[09:35:12] *** sinequanon has quit IRC
[09:35:47] *** Menorah has quit IRC
[09:35:51] *** sinequanon has joined #angularjs
[09:36:04] *** grogs has quit IRC
[09:36:33] *** phzon has joined #angularjs
[09:37:00] <Grokling> jaawerth: Sorry - had a phone call there. Thanks for the link - it seems, as with everything that I've found hard about angular that I've just chosen to go down the difficult route instead of the normal one..
[09:38:30] *** SahanH has quit IRC
[09:39:02] *** trustyhank has quit IRC
[09:39:13] *** Greed has quit IRC
[09:39:21] *** laurensclaessen has joined #angularjs
[09:39:25] *** numenor has quit IRC
[09:39:35] *** dc_ has quit IRC
[09:40:18] *** Aerospark has quit IRC
[09:40:23] *** sinequanon has quit IRC
[09:40:27] *** Skrypter has joined #angularjs
[09:41:43] *** SargoDarya has quit IRC
[09:42:17] *** axsuul has joined #angularjs
[09:42:19] *** techsethi_ has quit IRC
[09:43:00] *** mbenadda has joined #angularjs
[09:43:26] *** gauravsaini03 has joined #angularjs
[09:43:39] *** tilgovi has quit IRC
[09:43:51] *** Menorah has joined #angularjs
[09:43:55] *** apoorvparijat has joined #angularjs
[09:44:39] *** mchammer has joined #angularjs
[09:45:59] *** illume has joined #angularjs
[09:46:52] *** nemothekid has quit IRC
[09:46:53] *** techsethi_ has joined #angularjs
[09:47:55] *** Greed has joined #angularjs
[09:48:43] *** mbersoult has joined #angularjs
[09:48:45] *** Sky[x] has quit IRC
[09:48:46] <mbersoult> Hello
[09:50:00] *** SargoDarya has joined #angularjs
[09:50:07] *** Leon has joined #angularjs
[09:50:13] *** SargoDarya has quit IRC
[09:50:13] *** SargoDarya has joined #angularjs
[09:51:10] *** Skrypter has quit IRC
[09:51:31] *** ogdabou has joined #angularjs
[09:53:41] *** asheshambasta has joined #angularjs
[09:54:30] *** ahtik has joined #angularjs
[09:55:15] *** patrick99e99 has joined #angularjs
[09:56:10] *** jdivock has quit IRC
[09:56:16] *** Greed has quit IRC
[09:56:23] *** jstroem has quit IRC
[09:56:48] *** jdivock has joined #angularjs
[09:56:55] *** KushS has quit IRC
[09:57:08] *** jdivock has quit IRC
[09:57:56] *** jdivock has joined #angularjs
[09:58:06] *** JR___ has quit IRC
[09:58:22] *** laax has joined #angularjs
[09:58:29] <Spot__> markalanevans: I tried with 1.2.27 now, and for me it works also with the last color...
[09:59:27] *** KushS has joined #angularjs
[09:59:51] *** Sky[x] has joined #angularjs
[10:00:08] *** patrick99e99 has quit IRC
[10:00:21] *** Greed has joined #angularjs
[10:01:06] *** lolmaus has quit IRC
[10:01:53] *** drag0nius has joined #angularjs
[10:01:53] *** KushS has quit IRC
[10:02:09] *** joroc has joined #angularjs
[10:03:43]
<ericbutters> jaawerth: could you pls take a look here: http://paste.ubuntu.com/9568004/ is it okay to do things like that? calling scope functions (like this) inside a ng-repeat?
[10:04:55] *** BALAG has quit IRC
[10:05:37] *** aven1 has quit IRC
[10:05:46] *** threesixes has quit IRC
[10:07:10] *** jaznow has joined #angularjs
[10:07:11] *** doginal has quit IRC
[10:07:38] *** qdk has quit IRC
[10:07:47] *** kirfu has quit IRC
[10:09:39] *** ahtik has quit IRC
[10:11:15] *** Ajans has joined #angularjs
[10:12:11] *** ries has joined #angularjs
[10:13:04] <ProLoser> any gulp masters in here?
[10:14:36] * Grokling is familiar with that need.
[10:14:58] <ProLoser> i’m having trouble getting source maps working
[10:15:52] *** Oxynum has joined #angularjs
[10:16:42] <Grokling> I have trouble everytime I add a new component into gulp. I adopt the Edison method. After ~2000 failures, it should work.
[10:17:30] *** kirfu has joined #angularjs
[10:18:14] *** DarrenCraig has joined #angularjs
[10:18:48] *** recurrence has joined #angularjs
[10:19:33] *** foofoobar has quit IRC
[10:19:39] *** Menorah has quit IRC
[10:19:40] *** AciD`` has joined #angularjs
[10:21:16] *** Sontakey has joined #angularjs
[10:22:12] *** kirfu has quit IRC
[10:22:32] *** cotko has joined #angularjs
[10:22:38] *** jonasliljestrand has joined #angularjs
[10:23:15] *** kris__ has joined #angularjs
[10:23:54] *** recurrence has quit IRC
[10:24:34] *** foofoobar has joined #angularjs
[10:25:17] *** tapout has joined #angularjs
[10:28:48] *** Inoperable has joined #angularjs
[10:29:15] *** jMyles has quit IRC
[10:30:06] *** mylord has quit IRC
[10:30:14] *** Iravan has quit IRC
[10:31:35] *** m8 has joined #angularjs
[10:31:37] *** StryKaizer has joined #angularjs
[10:31:48] *** Superhard has joined #angularjs
[10:31:51] *** Oxynum has quit IRC
[10:31:58] *** frkout has quit IRC
[10:32:10] *** aven1 has joined #angularjs
[10:32:20] *** juanpablo___ has joined #angularjs
[10:32:24] *** numenor has joined #angularjs
[10:34:11] *** chr1stopher has joined #angularjs
[10:35:02] *** ggrzybek is now known as ggrzybek_brb
[10:35:39] *** joroc has quit IRC
[10:35:57] *** denis has quit IRC
[10:36:37] *** juanpablo___ has quit IRC
[10:36:37] *** SahanH has joined #angularjs
[10:36:42] *** Superhard has quit IRC
[10:36:52] *** denis_ has joined #angularjs
[10:37:29] *** jdivock has quit IRC
[10:37:42] *** marr has joined #angularjs
[10:38:03] *** jdivock has joined #angularjs
[10:38:45] *** mylord has joined #angularjs
[10:39:17] *** Oxynum has joined #angularjs
[10:39:25] *** SomeKittens has quit IRC
[10:39:35] *** jdivock has joined #angularjs
[10:40:42] *** Oxynum has quit IRC
[10:41:13] *** chr1stopher has left #angularjs
[10:41:14] *** b1rkh0ff1 has quit IRC
[10:41:27] *** qdk has joined #angularjs
[10:41:28] *** evotuned has joined #angularjs
[10:41:33] *** ophite has joined #angularjs
[10:42:08] *** markwu has joined #angularjs
[10:43:13] *** b1rkh0ff has joined #angularjs
[10:43:54] *** tarnus has joined #angularjs
[10:44:07] *** chr1stopher has joined #angularjs
[10:44:11] *** g33k5z has joined #angularjs
[10:44:31] *** jdivock has quit IRC
[10:44:52] *** sk87 has joined #angularjs
[10:45:06] *** josh-k has joined #angularjs
[10:45:42] *** Oxynum has joined #angularjs
[10:46:03] *** evotuned has quit IRC
[10:46:47] *** kris___ has joined #angularjs
[10:47:03] *** azizur has joined #angularjs
[10:47:09] *** Lewix has joined #angularjs
[10:47:09] *** Lewix has joined #angularjs
[10:47:23] *** kris___ has joined #angularjs
[10:47:28] *** jdivock has joined #angularjs
[10:47:34] *** Mosselman has joined #angularjs
[10:47:56] *** Mosselman is now known as Guest86068
[10:48:17] *** foofoobar has quit IRC
[10:48:24] *** jstroem has joined #angularjs
[10:48:43] *** g33k5z has quit IRC
[10:49:01] *** Oxynum has quit IRC
[10:49:03] *** tarnus has quit IRC
[10:49:26] *** brwr has quit IRC
[10:49:29] *** Sebastien-L has joined #angularjs
[10:50:17] *** kris__ has quit IRC
[10:50:37] <Grokling> Anybody know stuff about dates? I have a recalcitrant input that REFUSES point blank to take a valid date as it's ng-model. I can make it work fine in a codepen, or plunker. I'm at a loss to figure this one out!
[10:51:04] *** cheef has quit IRC
[10:51:09] *** lemur has quit IRC
[10:52:01] <ProLoser> anyone a pro with coffee and source maps?
[10:52:02] <tapout> I'm doing the egghead angularjs controllers, and it seems to be messed up with 1.3.7. I've setup ng-controllers="FirstCtrl", and then in my main.js file, I setup function FirstCtrl($scope) { $scope.data = {message: "Hello"}; } ... and when I load the page in crhome, i get : Error: [ng:areq] Argument 'FirstCtrl' is not a function, got undefined
[10:52:15] <tapout> I checked out the /path/to/main.js, and it's there..
[10:52:33] *** bullicon has quit IRC
[10:52:40] *** OhShazzbot has quit IRC
[10:53:20] *** bullicon has joined #angularjs
[10:53:24] *** nemothekid has joined #angularjs
[10:53:27] *** bullicon has quit IRC
[10:53:34] *** sac has joined #angularjs
[10:54:31] *** sac has quit IRC
[10:55:01] *** edy has joined #angularjs
[10:55:14] *** edy has joined #angularjs
[10:55:15] *** sac has joined #angularjs
[10:55:21] <sac> i need help
[10:55:22] *** lexek_ has joined #angularjs
[10:56:02] *** Caroga_afk is now known as Caroga
[10:56:03] <Grokling> sac: Take a number ;-)
[10:56:45] <sac> how grokling:
[10:56:47] *** Lewix has quit IRC
[10:56:56] <Grokling> sac: Jokes. !ask
[10:56:57] <UniBot> Grokling, Don't ask to ask. Just state your question (with a !bin code sample) and wait for an answer
[10:57:21] <sac> i am unacble to understand the cascading dropdown concept
[10:57:30] *** tty has joined #angularjs
[10:57:35] <Grokling> Do you have an example?
[10:57:36] *** caitp has joined #angularjs
[10:57:38] <sac> in angular :grokling
[10:57:44] <tapout> what in the hell -- I'm following the egghead Controller video, cut/pasted his code... still doesn't work, cannot find the FirstCtrl function
[10:57:55] <sac> no
[10:58:45] <Grokling> tapout: I've seen a couple of people complain of that error recently.. Unfortunately I was never around to see the resolution.
[10:59:02] *** goodenough has quit IRC
[10:59:19] <sac> grokling can you help me?
[10:59:23] *** okdamn has joined #angularjs
[10:59:35] <Grokling> sac: maybe, but I don't yet know what the problem is.
[10:59:40] <okdamn> how can i check if user is on mobile device ?
[11:00:00] <sac> how can i show repeater inside a repeater
[11:00:08] <sac> ng-repeat inside ng-repeat
[11:00:18] <sac> for a collection
[11:00:21] *** jumpstracks has joined #angularjs
[11:00:34] <tapout> Grokling, and that's with : console.log(FirstCtrl);console.log(typeof FirstCtrl);
[11:00:47] *** ml has joined #angularjs
[11:00:48] <Caroga> sac supply an array/object and ng-repeat that within the ng-repeat statement, shouldnt be that hard ?
[11:01:40] *** jtimon has joined #angularjs
[11:01:57] <Caroga> google is your friend, my friend.
[11:02:06] <sac> grokling can u tell about it
[11:02:11] *** joroc has joined #angularjs
[11:02:15] <tapout> Caroga, any help for me? :)
[11:02:56] <Caroga> tapout, show contents of main.js please
[11:03:06] <Grokling> sac: Just nest them.
[11:03:11] *** caitp has quit IRC
[11:03:21] <Caroga> tapout, nvm found it
[11:03:25] *** gunn has quit IRC
[11:03:53] <Caroga> tapout, that is because the application isnt initiated in the document.
[11:03:53] <sac> wile nesting <option ng-repeat='x in getStates()' value="" ng-repeat='y in x.India' >{{y}} </option> </select>
[11:03:57] <sac> not working
[11:04:00] *** b1rkh0ff1 has joined #angularjs
[11:04:02] *** b1rkh0ff has quit IRC
[11:04:05] <tapout> ng-app is there?
[11:04:06] *** Nurbs has joined #angularjs
[11:04:18] *** chiburbs has quit IRC
[11:04:19] <Grokling> sac: use ng-options.
[11:04:20] <Caroga> yeah but you must provide a name with it
[11:04:30] <tapout> is it a new requirement?
[11:04:37] *** chiburbs has joined #angularjs
[11:04:43] *** Klumben has quit IRC
[11:04:44] <sac> how , for nested
[11:05:12] <Caroga> don't know if it's an requirement by choice, but I've noticed a couple of weeks ago that you must contain it
[11:05:13] <Caroga> also
[11:05:24] <Caroga> i do not see where it initiates angular at all
[11:05:59] <Grokling> <select ng-options="x.id as x.name for x in allMyXs">
[11:06:09] *** Aliks has quit IRC
[11:06:10] *** Klumben has joined #angularjs
[11:06:24] *** aven1 has quit IRC
[11:06:44] *** Aliks has joined #angularjs
[11:06:49] *** JR___ has joined #angularjs
[11:06:51] <Caroga> But that's just in a bird view tapout
[11:07:00] <sac> ok i will try
[11:07:08] <tapout> Caroga, it's complaining that FirstCtrl isn't a function
[11:07:32] <jaydubya> using ng-grid, I have to build up an object that defines the columns for a specific user. I know ng-grid has a visibility attribute but I couldn't figure out how to make that dynamic. So I thought I could read the prefs (which are stored in the $scope.user and push a new column if true but this gives me a "TypeError: Cannot assign to read only property 'index' of {field: 'fins.commit_arm', displayName: 'ARM Commit',
[11:07:32] <jaydubya> headerClass: 'text-center', cellFilter: 'noCentsCurrency', cellClass: 'text-right'}" error.
[11:07:50] *** Oxynum has joined #angularjs
[11:08:04] *** fbenoit has quit IRC
[11:08:11] <Caroga> tapout, it's weird since you do not define controllers that way..
[11:08:21] <jaydubya> I would appreciate even a tiny clue as to how else I could accomplish my task
[11:08:46] *** BALAG has joined #angularjs
[11:08:53] <BALAG> HI
[11:09:31] *** davidreis has joined #angularjs
[11:09:49] <Caroga> that's how you do it
[11:10:18] *** Skrypter has joined #angularjs
[11:10:22] *** davidreis has quit IRC
[11:10:57] *** Aliks has quit IRC
[11:11:07]
<ml> Hi all! Upgrading from 1.2.x to 1.3.x and just wanted to double check with you that it's by design that in 1.3.x I can't access the isolated scope in an ng-if on the root node of the template (template:'<div ng-if="test">{{test}}</div>'). ng-show does work though. Plunker here: http://plnkr.co/edit/nVsNbyzE8ZigiMxyjzZG?p=preview
[11:11:58] *** soee has joined #angularjs
[11:12:01] *** basiclaser_ has quit IRC
[11:12:21] *** Sky[x] has quit IRC
[11:12:41] *** davidreis has joined #angularjs
[11:12:44] *** Sky[x] has joined #angularjs
[11:12:44] *** alpha080 has quit IRC
[11:12:50] <sac> grokling r u there
[11:12:59] <Grokling> Sure.
[11:13:03] <tapout> Caroga, it must have changed since this guy did the egghead videos or something, because i copied his stuff 1:1 and it didn't work... I will try your method, thank you!
[11:13:37] <fernandojsg> btw 1.3.x is recommended for production environment? or it's just an beta or unestable release?
[11:13:55] *** Nivag_ has quit IRC
[11:14:06] *** mylord has quit IRC
[11:14:15] *** jumpstracks has quit IRC
[11:14:31] *** alpha080 has joined #angularjs
[11:15:01] <sac> i have some code , using service, directives ....now i want to seperate the controller code inside the directive using link:function
[11:15:20] *** jumpstracks has joined #angularjs
[11:15:23] *** ali has joined #angularjs
[11:15:27] *** Skrypter has quit IRC
[11:15:31] *** cebor has quit IRC
[11:15:32] <sac> may i send the code to ur mail
[11:15:46] *** ali is now known as Guest32587
[11:15:58] <Grokling> sac: !plunker
[11:15:59] *** sk87 has quit IRC
[11:15:59] *** Guest32587 is now known as alinou
[11:15:59]
<UniBot> sac, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help.
[11:16:53] <sac> ??
[11:17:02] *** Inoperable has quit IRC
[11:17:09] *** kris___ has quit IRC
[11:17:11] *** cebor has joined #angularjs
[11:17:14] *** apoorvparijat has quit IRC
[11:17:26] *** kris__ has joined #angularjs
[11:17:41] <sac> thanks
[11:17:43] <sac> ok
[11:17:52] *** chr1stopher has left #angularjs
[11:18:34] *** SahanH has quit IRC
[11:18:36] *** RK_ has joined #angularjs
[11:18:43] *** e0ipso|away is now known as e0ipso
[11:19:00] *** davidreis has quit IRC
[11:19:19] <RK_> hi
[11:19:27] *** jumpstracks has quit IRC
[11:19:44] *** Cronoh has quit IRC
[11:19:45] <Caroga> tapout, good luck !
[11:19:58] <tapout> Caroga, still doesn't work.. so weird :)
[11:20:09] <Caroga> share you code plx
[11:20:10] *** mak`` has joined #angularjs
[11:21:04] <RK_> I'm going to develop a new ERP in angularJS. I found that angular team will launch new version of angularJS 2.0 which is different from 1.x. Will they migrate or will they provide support existing version???
[11:21:30] *** finkbeine has quit IRC
[11:22:03] <Grokling> RK_: It's a while away yet. There is no planned migration path. Make all your stuff in services, and try not to worry too much.
[11:22:22] *** adben- has joined #angularjs
[11:22:51] <RK_> thnx <Grokling>=
[11:23:55] *** brzuchals has joined #angularjs
[11:24:25] *** nemothekid has quit IRC
[11:24:43] *** ProLoser|Mac has joined #angularjs
[11:24:53] <ProLoser|Mac> i need help configuring sass
[11:25:02] *** leolrrj has joined #angularjs
[11:25:03] <ProLoser|Mac> in gulp
[11:25:27] <Grokling> ProLoser|Mac: That one I actually do have working..
[11:25:38] *** lolmaus has joined #angularjs
[11:25:41] <ProLoser|Mac> sourcemaps
[11:25:51] <Grokling> Nope. Not sourcemaps.
[11:25:52] *** apoorvparijat has joined #angularjs
[11:26:41] *** eighty4 has quit IRC
[11:27:09] *** cannap has joined #angularjs
[11:27:44] *** eighty4 has joined #angularjs
[11:28:42] *** sk87 has joined #angularjs
[11:28:53] *** kris__ has quit IRC
[11:29:52] *** cacts has quit IRC
[11:29:58] *** ingsoc has quit IRC
[11:30:41] *** ziyadb has joined #angularjs
[11:31:14] *** mite_mitreski has joined #angularjs
[11:32:02] *** Nurbs_ has joined #angularjs
[11:32:12] *** aven1 has joined #angularjs
[11:32:22] *** kris__ has joined #angularjs
[11:32:31] *** Superhard has joined #angularjs
[11:32:34] <arkin> I have a directive, but I only want it to replace if a certain condition is met, possible?
[11:32:49] *** seriema has joined #angularjs
[11:32:52] <Grokling> So, my date problem is a bug in ionic. It doesn't work in beta 13, but works in nightly. Looks like I have to live on the bleeding edge.
[11:32:53] <fernandojsg> Grokling: are you working with 1.3x or 1.2x?
[11:33:00] *** arpu has joined #angularjs
[11:33:03] <Grokling> 1.2x
[11:33:16] *** Nurbs has quit IRC
[11:33:36] <Grokling> Actually.. I think maybe the nightly build is using 1.3.. I'll have to check.
[11:34:08] *** boxmein has joined #angularjs
[11:34:15] <fernandojsg> Grokling: I've started developing an app that wil be in production quite soon, is recommended to use 1.2x for production? or 1.3x is already usable for production enviroment too?
[11:34:29] *** rikkipitt has joined #angularjs
[11:34:39] <tty> i have a div text that i want to dynamically update with angular. i am using ng-bind="dataPop" on this div but all text inside that div is lost. can i show some static text in there? thanks!
[11:34:54] *** rikkipitt has quit IRC
[11:35:01] *** RK_ has quit IRC
[11:35:25] *** rikkipitt has joined #angularjs
[11:35:31] *** joroc has quit IRC
[11:36:06] *** pilva has joined #angularjs
[11:36:16] <jagga> I see Grokling, they fixed the UniBot issue
[11:36:21] <jagga> there is now only 1 unibot message :p
[11:36:26] *** blomman has quit IRC
[11:36:54] *** Superhard has quit IRC
[11:37:00] <Grokling> 1.3.7 is a stable release (hence why it's not a beta), so build a test suite that makes sure everything you need to work, works, and run with 1.3 would be my approach (because there's stuff in 1.3 that is really useful)
[11:37:01] *** blomman has joined #angularjs
[11:37:21] <fernandojsg> okok
[11:37:23] <Grokling> jagga: Yeah, ProLoser|Mac never fessed up as to how he fixed it, but he did.
[11:37:25] <fernandojsg> thank u
[11:37:41] *** Hestil has joined #angularjs
[11:37:50] <ProLoser> it’s not super reliable
[11:38:01] <Grokling> Hence the tests..
[11:38:12] <jagga> :)
[11:38:43] *** mylord has joined #angularjs
[11:39:13] *** davidreis has joined #angularjs
[11:39:51] *** Left_Turn has joined #angularjs
[11:40:09] *** davidreis has quit IRC
[11:41:32] *** blomman has quit IRC
[11:42:09] *** evotuned has joined #angularjs
[11:42:37] *** jtimon has quit IRC
[11:42:49] *** jtimon has joined #angularjs
[11:44:01] *** julaboy has joined #angularjs
[11:44:30] *** julaboy has quit IRC
[11:44:46] *** NanoArro1 has quit IRC
[11:44:52] *** olivvv has joined #angularjs
[11:44:55] *** s00pcan has quit IRC
[11:45:02] *** julaboy has joined #angularjs
[11:45:12] *** s00pcan has joined #angularjs
[11:45:47] *** jumpstracks has joined #angularjs
[11:46:45] *** tangorri has joined #angularjs
[11:46:49] *** ries has quit IRC
[11:46:57] *** laurensclaessen has quit IRC
[11:47:04] *** evotuned has quit IRC
[11:47:08] *** ko3t has left #angularjs
[11:47:11] *** zwacky has joined #angularjs
[11:47:46] *** sebhoss_ has joined #angularjs
[11:47:51] *** Inoperable has joined #angularjs
[11:48:12] *** sebhoss has quit IRC
[11:49:17] *** sahbeewah has quit IRC
[11:50:02] *** laax has quit IRC
[11:50:29] *** basiclaser_ has joined #angularjs
[11:50:55] *** sk87 has quit IRC
[11:50:58] *** pknordic_ has joined #angularjs
[11:51:41] *** mbersoult has quit IRC
[11:51:58] *** laurensclaessen has joined #angularjs
[11:52:25] *** swist has joined #angularjs
[11:53:30] *** Jaimin has joined #angularjs
[11:54:14] <Jaimin> Can anyone guide me how to prerender angular pages on server side for SEO
[11:54:34] *** jstroem has quit IRC
[11:54:48] *** jstroem has joined #angularjs
[11:55:05] <Jaimin> Pls.. Can anyone guide me how to prerender angular pages on server side for SEO
[11:55:15] <Grokling> Jaimin: !google angular seo
[11:55:15] *** caitp has joined #angularjs
[11:55:22] *** jtimon has quit IRC
[11:55:30] <numenor> Jaimin, phantomJs ?
[11:55:59] *** jtimon has joined #angularjs
[11:55:59] *** patrick99e99 has joined #angularjs
[11:56:27] <Jaimin> But isn't phantomJS would be very slow when I have millions of pages
[11:56:39] <Grokling> prerender.io, BromBone, angular-seo getseo.js Plenty of options out there on google..
[11:57:24] *** Nurbs_ has quit IRC
[11:57:43] *** mkusher has quit IRC
[11:58:36] *** sk87 has joined #angularjs
[11:59:04] *** laax has joined #angularjs
[11:59:09] <Jaimin> Grokling: ..but most of them uses phantomJS behind. My query is where using phantomJD in production for millions of pages advisable. Well..I am yet to try to run benchmark but seeking opinion if someone has using some working solution in production.
[11:59:35] *** Superhard has joined #angularjs
[11:59:38] <zomg> Jaimin: millions of pages?
[12:00:00] <zomg> phantom is only used to generate the page and then cache with that approach I think
[12:00:04] <Grokling> Jaimin, isn't the point to render out a static copy of your stuff? So it's not like you're doing that real time, or all the time. 2am would be fine?
[12:00:06] *** Sontakey has quit IRC
[12:01:01] *** alex_zhou has quit IRC
[12:01:06] *** patrick99e99 has quit IRC
[12:01:37] *** mal808 has quit IRC
[12:01:54] <Grokling> ericbutters: You might not be able to do that in 1.3? Also, it's going to get run A LOT, so your performance may suffer. Consider shifting it to somewhere less volatile (controller or service, and update it when necessary)
[12:01:54] *** axsuul has quit IRC
[12:02:07] <olivvv> hi
[12:02:14] *** joroc has joined #angularjs
[12:02:51] <olivvv> in a directive, there is dynamic update of a var, and I's like the template to be dynamically updated as well, to reflect those changes
[12:03:20] <Grokling> olivvv: Angular has magic to do that.
[12:03:25] <tangorri> anyone using Webstorm ? I got background task (indexing....) locked ...
[12:03:30] *** ries has joined #angularjs
[12:03:50] *** dannyc_ has joined #angularjs
[12:03:57] <olivvv> Grokling: I dont see it happening
[12:04:05] <Grokling> tangorri: Used to. But it sucked for performance, locking up, and hogging all my RAM. so, no longer.
[12:04:08] *** dsdeiz has quit IRC
[12:04:15] <olivvv> beside, I can do some code, but I suck at magics
[12:04:25] <Grokling> olivvv: There are some things you have to get right first.. Got some codes?
[12:04:28] <tangorri> Grokling : sublime or vim now ? :
[12:04:36] <Grokling> olivvv: !plunker
[12:04:36]
<UniBot> olivvv, paste your code here: http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS Try to isolate the specific problem (i.e. the least code you can use to show the issue - not your whole app), and get the code as near to running as you can, and someone will be happy to help.
[12:04:45] <Grokling> tangorri: sublime.
[12:04:48] <tangorri> Grokling : it run fine here
[12:04:49] *** aven1 has quit IRC
[12:04:54] <olivvv> no, no plunker this is a big app
[12:04:58] <tangorri> except the background task ...
[12:05:09] *** pspfolio has quit IRC
[12:05:13] <Grokling> olivvv: Read that unibot comment again carefully ;-)
[12:05:27] <Jaimin> Grokling: Agree your point is really valid. But not sure whether it would really possible for me to not do it realtime. Certain pages has to be realtime considering I have millions of pages ( basically I am running local search engine with company details having millions of such listing). Can PhantomJS can be used for realtime as well in production?
[12:06:13] <olivvv> yeah, but its going to take an hour, I'll find another way. thanks for listening anyway
[12:06:25] <ericbutters> Grokling: but how can i archive that? in that example i want to set the color-theme of each button.. so you mean first run ng-repeat and after change theme in a service? could you giva a short comment how to do? thanks!
[12:06:32] *** Oxynum has quit IRC
[12:07:01] <Grokling> olivvv: Really? An hour? I'm sure we can find something quicker than that..
[12:07:20] *** dannyc has quit IRC
[12:07:36] *** recurrence has joined #angularjs
[12:07:53] <Grokling> Jaimin: You might have to look at some kind of non-angular, realtime searchable site using the same data which provides deeplinks to your real app?
[12:08:03] *** zwacky has quit IRC
[12:08:51] <Grokling> ericbutters: So you have a theme your user can change? And the same theme applies to all of your ng-repeat elements?
[12:09:09] <numenor> Hello , can anyone tell me if its possible to use resove in a named view. I mean , if some condition fails , the named view and its controller should not init
[12:09:29] *** apoorvparijat has quit IRC
[12:09:30] *** Oxynum has joined #angularjs
[12:09:34] *** cakirke has joined #angularjs
[12:10:09] <ericbutters> Grokling: no, i read a json file containing user state information, depending on a user state i want to set the theme.
[12:10:14] *** Grokling_ has joined #angularjs
[12:10:31] *** seriema has quit IRC
[12:10:59] <ericbutters> Grokling: so lets say i render four buttons each with a different theme
[12:11:04] *** nc90 has joined #angularjs
[12:11:06] *** Nurbs_ has joined #angularjs
[12:11:11] <Grokling> ericbutters: So it's even more static. Make it an attribute of your user/identity in the relevant service, and bind to it (bindonce if you can)
[12:11:17] *** seriema has joined #angularjs
[12:11:40] *** Foxandxss has joined #angularjs
[12:11:58] *** recurrence has quit IRC
[12:12:01] *** chachan has joined #angularjs
[12:12:04] <Grokling> Basically: set once with your function, then consult the static value as often as you need.
[12:12:10] <ericbutters> Grokling: ok i try, thanks
[12:12:15] <Jaimin> Grokling : So do you mean, angularJS and PhantomJS ( or other tools you proposed) are not really an ideal solution for realtime server-side rendering? I should do it with non-angular only if I have realtime rendering?
[12:12:27] <numenor> Hello , can anyone tell me if its possible to use resove in a named view. I mean , if some condition fails , the named view and its controller should not init
[12:12:37] *** blomman has joined #angularjs
[12:12:54] *** juampy has joined #angularjs
[12:13:41]
<chachan> hi guys, I want to add ngGrid (section Server-Side paging) http://angular-ui.github.io/ng-grid/ but I'm not sure where to put the JS code, I was think of creating a directive and not abusing of $scope but I'm not sure if that's the best approach, any suggestion?
[12:14:00] <Grokling> Jaimin: I didn't say that, but if you're that concerned about realtime and performance, it's unlikely that you'll be satisfied with a system that loads and processes a bunch of stuff that is not relevant to it's desired outputs. Nobody likes wasting cycles. (except Microsoft, and people who write software in JVMs)
[12:14:21] *** joshontheweb has quit IRC
[12:14:22] *** recidive has joined #angularjs
[12:15:15] *** Left_Turn has quit IRC
[12:15:47] *** seriema has quit IRC
[12:16:17] *** rikkipitt has quit IRC
[12:16:23] <numenor> hello
[12:17:02] *** laax has quit IRC
[12:17:06] <Grokling> numenor: resolves are for states. That's a different level to a named view. Maybe you need a nested state instead?
[12:17:16] <numenor> nested state ?
[12:18:12] *** ahtik has joined #angularjs
[12:18:12] *** joshontheweb has joined #angularjs
[12:18:14] *** mal808 has joined #angularjs
[12:18:16] <numenor> Grokling. I will have a look at the link
[12:18:38] <numenor> Now as in my link, the tutorial, Please see the about page
[12:19:45] <numenor> Grokling: in the about page, there are two ui-views . I am plaaning a similar structure with the addition that a ui-view , based on some conditions, should not render
[12:19:53] <Spot__> sac: I've been using 1.3.x series in production with zero issues so far, for almost a year :)
[12:20:15] <Spot__> sac: And this ng-if, it's JavaScript's nature on isolating the scope with ng-if, however, you can workaround by using an object to pass the data
[12:20:26] <numenor> Grokling : I am not talking only of the html part on which i can do ng-if, I also do not want the controller to init.
[12:20:30] *** zwacky has joined #angularjs
[12:20:39] <Grokling> numenor: Yeah, use a state.
[12:20:59] <numenor> but the state is for the whole page, is it ?
[12:21:04] <Spot__> sac: You can have $scope.foo = {} and then define $scope.foo.bar and use <div ng-if="foo">{{ bar }}</div> (and pass data bidirectionally also from inputs, etc)
[12:21:05] *** juanpablo___ has joined #angularjs
[12:21:16] <Grokling> numenor: No, nested states.
[12:21:20] <numenor> okay
[12:21:51] <sac> what is the alternative way to get dynamic binding of select option
[12:21:57] *** blomman has quit IRC
[12:22:08] <Grokling> sac: alternative to what?
[12:22:11] <sac> when any change happens
[12:22:17] <numenor> Grokling : nested state can be placed side by side as shown in the about us page ?
[12:22:26] <sac> instead of $waych
[12:22:29] <sac> watch
[12:22:42] *** MattWelch has joined #angularjs
[12:22:43] *** jstroem has quit IRC
[12:22:53] <Grokling> numenor: Sorry - my browser is having "issues" atm. But more than likely, yes. It's a similar concept.
[12:23:04] *** jstroem has joined #angularjs
[12:23:05] <numenor> Grokling : okay
[12:23:27] <Spot__> sac: Oh, you want to trigger something when user changes it?
[12:23:28] <Grokling> sac: Bind to an object property, and change it using angular components.
[12:23:34] <sac> yes
[12:23:36] <Spot__> I'll add that to the plunker
[12:23:53] <numenor> Grokling : Do you suggest the stateHelper module ?
[12:24:30] <Grokling> numenor: I've never used it, so can't comment.
[12:24:33] <numenor> okay
[12:25:07] *** ingsoc has joined #angularjs
[12:25:20] *** DevX101 has joined #angularjs
[12:25:31] <sac> i am new here, i dont know how to use plnkr
[12:25:38] *** juanpablo___ has quit IRC
[12:25:44] <sac> <spot:>
[12:25:47] <Spot__> sac: You just click "Play" button to see it in action
[12:25:54] <Spot__> sac: You'll see the code on the left side
[12:26:15] <sac> it opens a angular editor screens
[12:26:16] *** swist has quit IRC
[12:26:32] <Spot__> Yep, when you click play button you'll see the app running on right pane
[12:26:41] <Spot__> And there's a select, which you can select a color
[12:26:47] <Grokling> sac: Then, when you get stuck, click the second to bottom icon on the right side (two arrows in a square) and put it in collaboration mode.
[12:26:48] *** sigurding has quit IRC
[12:26:51] <Spot__> And when you change the color, there'll be an alert dialog
[12:27:04] *** Nurbs_ has quit IRC
[12:27:18] <sac> how can i get ur file
[12:27:26] *** MattWelch has quit IRC
[12:27:30] *** elyssonmr has joined #angularjs
[12:28:04] <Grokling> sac: Don't be doing ng-model="foo" though.. fine for this example, but don't use it like that for real.
[12:28:21] *** boxmein has quit IRC
[12:29:33] <sac> thanks
[12:29:36] *** nc90 has quit IRC
[12:29:42] <sac> how will u see my code
[12:29:47] *** apertoire has quit IRC
[12:29:52] *** techsethi_ has quit IRC
[12:29:52] <Grokling> click the second to bottom icon on the right side (two arrows in a square) and put it in collaboration mode.
[12:30:01] <Grokling> Then paste the link.
[12:30:18] *** azizur6 has joined #angularjs
[12:30:50] <Spot__> Or you can also press "Fork" and then Save it (it requires you to signin with GitHub account)
[12:30:54] <sac> is compulsary to sign in first
[12:31:24] *** swist has joined #angularjs
[12:31:35] <Grokling> Maybe Spot__ will put it in collab mode for you if you don't want to sign up?
[12:32:12] *** \du has joined #angularjs
[12:32:15] *** aven1 has joined #angularjs
[12:32:30] *** mchapman has joined #angularjs
[12:32:32] *** azizur has quit IRC
[12:32:40] <sac> ok
[12:32:42] <Spot__> There's the collab link
[12:32:46] <Spot__> I forked also that as a public plunk
[12:32:50] <sac> it shows a link
[12:32:51] *** tarnus has joined #angularjs
[12:32:53] <Spot__> So it'll be found on the search index
[12:33:01] *** guy has joined #angularjs
[12:33:06] *** g33k5z has joined #angularjs
[12:33:11] *** kent\n has joined #angularjs
[12:33:20] <guy> I am assuming a few people have used mailchimp to design emails...
[12:33:28] <guy> I need to develop a similar editor
[12:33:40] *** olivvv has quit IRC
[12:33:47] <guy> would you say AngularJS is not the right library to use it for something like this?
[12:34:08] <bd-> it's probably a good fit
[12:34:25] <bd-> i made a email editor type thing in angular recently
[12:34:33] <sac> i know it
[12:34:44] <drag0nius> do angular components have to be defined before injecting module into another module?
[12:34:45] <sac> first thanks for help
[12:34:48] *** Ch4rAss has quit IRC
[12:34:51] <guy> Spot__: WSYIWYG is just a small component of the mailchimp editor.
[12:35:06] *** platonic has quit IRC
[12:35:10] <sac> i know it can u tell me for cascading dropdowns
[12:35:17] <Spot__> I've been using many wysiwyg editors together with SendGrid API, very easy to use mailing solution :)
[12:35:32] <drag0nius> like if i can do: angular.module('a',[]); angular.module('b',['a']); angular.module('a').value('v', {});
[12:35:43] <sac> thanks fora very nice help to u all guys
[12:35:50] *** ogdabou has quit IRC
[12:35:54] *** joroc has quit IRC
[12:35:55] <Spot__> sac: ur welcome :)
[12:36:11] <bd-> damn, sendgrid is expensive
[12:36:15] <sac> can u do it for cascading dropdowns
[12:36:38] <Spot__> bd-: It depends how many mails you need to send monthly
[12:36:52] <Grokling> sac: 'cascading dropdowns' is where the choice in the first dropdown affects the options in the second dropdown?
[12:36:58] *** swist has quit IRC
[12:37:06] <sac> yes..
[12:37:13] <sac> @grokliong
[12:37:14] *** swist has joined #angularjs
[12:37:23] <bd-> yea, i send quite a lot i guess
[12:37:25] <Spot__> bd-: With the free plan, you can get 400 emails per day
[12:37:37] *** g33k5z has quit IRC
[12:37:37] *** tarnus has quit IRC
[12:37:48] <Grokling> sac: So you need to structure your data object so that you can take the model bound to the first and use it as a filter on the second.
[12:37:49] <Spot__> 40k per mo is $9.95
[12:38:03] <bd-> yea, i send at least ~250k/mo
[12:38:30] <bd-> much cheaper to just rent a server to do it
[12:38:31] <Spot__> bd-: Then sendgrid would rob you clean :P
[12:39:09] *** sebhoss_ has quit IRC
[12:39:16] *** BALAG has quit IRC
[12:39:34] *** ahtik has quit IRC
[12:40:58] *** Hounddog has joined #angularjs
[12:41:15] *** jonasliljestrand has quit IRC
[12:41:17] *** ggrzybek_brb is now known as ggrzybek
[12:41:29] <sac> <spot> can u do it for cascading select options
[12:42:03] *** ruzu has joined #angularjs
[12:42:04] <ProLoser|Mac> i can't get sass sourcemaps working
[12:43:11] *** evotuned has joined #angularjs
[12:43:14] *** seriema has joined #angularjs
[12:43:45] <ruzu> hi, noob question; i'm looking to build a catalog/content site, and plan to go with server routing for easy seo; however i'd like a lot of intrapage spa-like features... is angular well suited for that admittedly vague project description? :P
[12:44:01] *** seriema has quit IRC
[12:44:04] *** Guest86068 has quit IRC
[12:44:22] *** Grokling_ has quit IRC
[12:44:33] *** seriema has joined #angularjs
[12:47:20] *** Websoftwarez has quit IRC
[12:47:57] *** evotuned has quit IRC
[12:48:42] *** techsethi_ has joined #angularjs
[12:48:45] *** lite_ has quit IRC
[12:49:03] *** seriema has quit IRC
[12:49:16] *** MetaCosm has joined #angularjs
[12:49:35] *** ogdabou has joined #angularjs
[12:49:46] *** MetaCosm_ has quit IRC
[12:50:17] *** Sadin has joined #angularjs
[12:51:17] *** RangerRick has quit IRC
[12:51:39] *** RangerRick has joined #angularjs
[12:51:49] *** leolrrj has quit IRC
[12:53:07] *** Sadin has quit IRC
[12:53:28] *** Click66 has quit IRC
[12:53:37] *** Oxynum has quit IRC
[12:54:11] *** sk87 has quit IRC
[12:54:47] *** PrinceAMD has joined #angularjs
[12:55:29] <Grokling> ruzu: Do either server side OR angular. Trying to mix them will hurt you. There are other SEO options (google them)
[12:55:31] *** Nurbs has joined #angularjs
[12:55:46] *** okdamn has quit IRC
[12:55:57] *** ppetermann has joined #angularjs
[12:56:34] *** soee has quit IRC
[12:57:04] <Caroga> tapout, I had to go away on a meeting. did you succeed ?
[12:57:17] *** yts has joined #angularjs
[12:57:25] *** fbenoit has joined #angularjs
[12:57:35] *** chachan has left #angularjs
[12:58:13] *** Oxynum has joined #angularjs
[12:58:42] *** soee has joined #angularjs
[12:58:54] *** sigurding has joined #angularjs
[12:58:56] *** Skrypter has joined #angularjs
[13:00:28] <Spot__> sac: There was already a good example there
[13:00:46] *** guy has quit IRC
[13:00:47] *** jlebrech has joined #angularjs
[13:01:04] <sac> thansk
[13:01:14] <sac> i want to show u smthing
[13:01:19] <sac> 1 min
[13:01:21] <sac> plz
[13:01:31] <Spot__> ok
[13:01:56] <jlebrech> is there a directive to put and modal box on top of another element instead of obscuring the whole window?
[13:02:15] *** joroc has joined #angularjs
[13:02:25] <bealtine> ui-bootstrap
[13:02:35] <Spot__> Yep, that's the easiest approach
[13:02:43] <Spot__> But it would take less than minute to make such directive yourself
[13:03:03] <sac> <spot>
[13:03:15] *** platonic has joined #angularjs
[13:03:24] *** jaznow has quit IRC
[13:03:32] <sac> lookit and i try to bind without $watch
[13:04:07] <sac> bind the 2nd select
[13:04:20] *** Skrypter has quit IRC
[13:04:37] *** macobo has quit IRC
[13:04:43] *** doerteDev has joined #angularjs
[13:05:21] <jlebrech> bealtine: where you talking to me? yeah, i'm just writing it myself
[13:06:00] *** Oxynum has quit IRC
[13:06:03] <bealtine> well you could wrap bootstrap yourself
[13:06:09] *** blomman has joined #angularjs
[13:06:29] <jlebrech> i hate css
[13:06:30] <jlebrech> :D
[13:06:32] *** aven1 has quit IRC
[13:06:45] *** soee has quit IRC
[13:06:58] *** Oxynum has joined #angularjs
[13:07:03] <Grokling> jlebrech: Me too. Sass and flexbox are real saviours.
[13:07:07] *** Tristanp has joined #angularjs
[13:07:18] *** laurensclaessen has quit IRC
[13:07:58] <jlebrech> i want to see something like asm.js but for css. asm.css, basically a subset that does everything with absolute positioning, or something.
[13:08:17] <Grokling> jlebrech: flexbox.
[13:08:20] *** recurrence has joined #angularjs
[13:08:28] <jlebrech> :)
[13:08:28] *** laax has joined #angularjs
[13:08:29] *** soee has joined #angularjs
[13:09:32] <G1eb> hi, i've made a simple timer for our angular app a while back using $interval to update the values
[13:09:33] <jlebrech> thing is with new css you have to mix it with old shit, i'd rather id be fully incompatible
[13:09:54] *** mmealling has joined #angularjs
[13:10:05] <G1eb> however, it does not account for loading time and at some point lags behind
[13:10:23] <G1eb> is this a known issue? how do people make timers without interval?
[13:10:51] *** jonasliljestrand has joined #angularjs
[13:11:45] <Grokling> jlebrech: Don't mix it. Then it will be incompatible. Just won't work - stuff will look crappy, but then you put up a splash that says 'Sorry, your browser is a POS, upgrade to something from the present decade"
[13:11:56] *** ahtik has joined #angularjs
[13:12:20] *** Oxynum has quit IRC
[13:12:45] <bealtine> i refuse to support < ie9 and older chrome/ff too
[13:12:46] <jlebrech> I mean mixing components together that use different css styles, you either had to hack css or rewrite one of the component
[13:13:12] *** recurrence has quit IRC
[13:13:15] <Spot__> sac: Happy now? :)
[13:13:21] <sac> thanks
[13:14:18] *** roachiep- has quit IRC
[13:14:26] *** kris___ has joined #angularjs
[13:14:29] *** jonatas_oliveira has joined #angularjs
[13:15:50] <sac> spot_ : this is my first time here , i fill very happy after getting this much of support
[13:16:20] *** rafagomes has joined #angularjs
[13:16:31] *** Leon has quit IRC
[13:17:03] *** Inoperable has quit IRC
[13:17:32] *** Tristanp has quit IRC
[13:17:55] *** julaboy_ has joined #angularjs
[13:18:09] *** cakirke has quit IRC
[13:18:16] *** kris__ has quit IRC
[13:18:28] *** phynweb_ has joined #angularjs
[13:18:44] *** juampy is now known as juampy_backlater
[13:18:47] *** DevX101 has quit IRC
[13:19:22] *** DevX101 has joined #angularjs
[13:19:33] *** julaboy_ has quit IRC
[13:19:55] *** ProLoser|Mac has quit IRC
[13:20:04] *** phynweb_ has quit IRC
[13:20:09] *** julaboy_ has joined #angularjs
[13:20:15] *** shaisnir has joined #angularjs
[13:20:21]
<ml> Hi all! Upgrading from 1.2.x to 1.3.x and just wanted to double check with you that it's by design that in 1.3.x I can't access the isolated scope in an ng-if on the root node of the template (template:'<div ng-if="test">{{test}}</div>'). ng-show does work though. Plunker here: http://plnkr.co/edit/nVsNbyzE8ZigiMxyjzZG?p=preview
[13:21:16] *** julaboy has quit IRC
[13:22:16] *** roachiepoopoo has joined #angularjs
[13:22:22] *** evilaliv3 has quit IRC
[13:22:34] *** boxmein has joined #angularjs
[13:23:30] *** DevX101 has quit IRC
[13:23:38] *** Click66 has joined #angularjs
[13:23:45] *** Superhard has quit IRC
[13:23:58] *** julaboy has joined #angularjs
[13:24:17] *** Superhard has joined #angularjs
[13:24:25] *** sac has quit IRC
[13:24:35] *** Superhard has joined #angularjs
[13:25:01] *** platonic has quit IRC
[13:25:31] *** DevX101 has joined #angularjs
[13:25:39] *** ycodr has quit IRC
[13:27:17] *** julaboy_ has quit IRC
[13:27:58] *** jlebrech has quit IRC
[13:28:12] *** g-nom3 has quit IRC
[13:28:23] *** g-nom3 has joined #angularjs
[13:29:48] *** Ch4rAss has joined #angularjs
[13:30:55] <drag0nius> when exactly components etc. get evaluated and assigned to module?
[13:31:28] *** sac has joined #angularjs
[13:31:37] *** Mosselman has joined #angularjs
[13:31:44] *** phynweb has joined #angularjs
[13:31:49] *** ome has quit IRC
[13:31:59] *** Mosselman is now known as Guest56017
[13:32:05] <drag0nius> at the point i am running 'angular.bootstrap(document, ['app'])' scripts needed to load 'app' are already loaded
[13:32:05] <drag0nius> and evaluated
[13:32:13] <drag0nius> but i still get unkownproviders
[13:32:16] *** aven1 has joined #angularjs
[13:32:42] <sac> spot__: unable to understand this line
[13:32:52] *** ahtik has quit IRC
[13:32:55] <sac> state as state for state in selectedCountry.states
[13:32:58] *** jlebrech has joined #angularjs
[13:33:12] *** Leon has joined #angularjs
[13:33:34] <Spot__> state in selectedCountry.states is oop basics :) ... selectedCountry is the selected object from the original array of objects.
[13:33:38] *** g33k5z_ has joined #angularjs
[13:33:51] <Spot__> And in selectedCountry object, there's name variable and states array
[13:34:43] <sac> ok
[13:34:46] <Spot__> And the array of states is just array of strings, so the syntax goes state as state (for state in selectedCountry.states -array)
[13:35:07] <sac> 'name': it is ajson format
[13:35:18] <Spot__> It would make more sense in that line, if you would have real unique id's for each state, plus a title
[13:35:27] *** o-ja has quit IRC
[13:35:43] *** joroc has quit IRC
[13:36:00] *** julaboy has quit IRC
[13:36:11] *** julaboy has joined #angularjs
[13:36:39] <sac> ok .for now i want to use it in custom directive using link:function
[13:36:44] <sac> can i use same code
[13:36:48] <Spot__> On real life data communication it would be something like {'countries':[{'id':1,'name':'usa','title':'United States','states':[{'id':1,'name':'alabama','title':'Alamaba'}, ... other states ... ]},{},{} ... ]}
[13:37:34]
<scav> hopefully someone knows: if i click on a link which is over https: will the url params be encrypted as well, or are they visible?
[13:37:34] <Spot__> You can pass the data to a directive, either using a controller, link or return - it depends which state you want the DOM manipulated.
[13:37:42] *** boxmein has quit IRC
[13:37:55] *** g33k5z_ has quit IRC
[13:38:20] <Spot__> scav: They are visible, you need to use POST with either JSON or url encoded format inside the body
[13:38:50] <sac> ok..i try to do it , if getting error , then will ping u ..
[13:38:50] *** Left_Turn has joined #angularjs
[13:39:06] <Spot__> sac: Or create a plunker of your problem, and ask anybody else :)
[13:39:12] *** raghunayyar has quit IRC
[13:39:20] <sac> ok
[13:39:21] *** sigurding has quit IRC
[13:39:27] <sac> :-)
[13:39:34] *** recurrence has joined #angularjs
[13:39:40] *** Websoftwarez has joined #angularjs
[13:39:44] <scav> Spot__: thank you
[13:39:46] <Spot__> sac: The easiest way on making custom directives is to just private scope some variables there, and have a controller - on which you can replace or append data to the dom.
[13:40:34] <sac> yes
[13:40:37] <Spot__> scav: But, in a previous company I worked in - they've did URL obfuscation with salt to the URL parameters, so it was 128 bytes long hash in the URLs :)
[13:40:47] <sac> i will go through that only
[13:40:51] <scav> Spot__: hehe
[13:40:54] *** julaboy_ has joined #angularjs
[13:41:30] *** sigurding has joined #angularjs
[13:42:09] <Spot__> scav: So lets say that they did want to pass foo=bar and bar=baz parameters, they did create a string "foo=bar&bar=baz", added some salt there - ending up if the salt would be foobar like "foo=bar&bar=bazfoobar" and then used some algorithm (I guess it was MD5, but maybe SHA256 would be modern choice).
[13:42:28] <Spot__> So the server can then parse the url parameters, and they are used normally as they would be simple get parameters :)
[13:42:42] *** s00pcan has quit IRC
[13:43:30] *** Poppa has joined #angularjs
[13:43:34] *** __danimal__ has joined #angularjs
[13:44:11] <Spot__> And if you add timestamp after the salt to a requirement, lets say for example that the code uses UTC and timestamp is always the timestamp of latest started hour. It would make it pretty powerful protection to break the link "security".
[13:44:14] *** evotuned has joined #angularjs
[13:44:14] *** stillbourne_ has joined #angularjs
[13:44:15] *** DevX101_ has joined #angularjs
[13:44:28] *** lsiv568 has joined #angularjs
[13:44:29] *** julaboy_ has quit IRC
[13:44:30] *** julaboy has quit IRC
[13:44:40] *** iH8Pickles has quit IRC
[13:44:40] *** demi` has quit IRC
[13:44:45] *** sixr420 has joined #angularjs
[13:45:02] <scav> Spot__: thats a good idea actually, but im not sure i want to send it unencryopted, this is a rather sensitive system
[13:45:05] *** zeitgist has joined #angularjs
[13:45:18] <scav> i mean, i work on the backend most of the time, and even there we have to consider local data access and stuff
[13:45:34] *** Zariel has quit IRC
[13:45:35] *** seanmarcia has quit IRC
[13:45:35] *** L0u1s has joined #angularjs
[13:45:41] *** sixr420- has quit IRC
[13:45:41] *** TinkerTyper has quit IRC
[13:45:41] *** seanmarcia has joined #angularjs
[13:45:49] *** e0ipso is now known as e0ipso|away
[13:46:01] *** teegee543 has quit IRC
[13:46:08] *** DevX101 has quit IRC
[13:46:09] *** julaboy_ has joined #angularjs
[13:46:10] *** krotscheck has quit IRC
[13:46:12] *** Zariel has joined #angularjs
[13:46:12] <Spot__> scav: And obviously as you probably are using AngularJS, if it's sensitive data you should consider using at least basic auth on REST communication, if not even OAuth2
[13:46:29] *** Inge- has quit IRC
[13:46:38] *** e0ipso|away is now known as e0ipso
[13:46:38] *** skakri has joined #angularjs
[13:46:39] *** Poppabear has quit IRC
[13:46:40] *** Superhard has quit IRC
[13:46:41] <scav> Spot__: we are on ssl with oauth2
[13:46:45] *** iH8Pickles has joined #angularjs
[13:46:49] <Spot__> scav: You can use OAuth2 as a cloud service, or setup it on backend side (I guess all modern backend systems support OAuth2 via a module pretty easily)
[13:46:55] *** Helzibah has quit IRC
[13:47:05] <Spot__> scav: Yes, so OAuth2 + protected URLs might be a viable choice.
[13:47:11] <scav> yeah, im doing that, i just had no idea how url params would be handled by the protocol :p
[13:47:19] *** teegee543 has joined #angularjs
[13:47:20] *** DevX101_ has quit IRC
[13:47:30] <L0u1s> hi, I'm using angular http cache like so for my GET requests: { cache: true }
[13:47:33] *** demi` has joined #angularjs
[13:47:36] *** Helzibah has joined #angularjs
[13:47:37] *** stillbourne has quit IRC
[13:47:50] *** Inge- has joined #angularjs
[13:47:52] <scav> my life would be a lot easier if javascript compiled to binary code though
[13:47:53] *** DevX101 has joined #angularjs
[13:47:54] *** ezakimak has quit IRC
[13:47:57] *** krotscheck has joined #angularjs
[13:47:59] *** IJNX has joined #angularjs
[13:48:00] <L0u1s> the problem is that this also caches non 200 statuses (like 500, 404, ...)
[13:48:02] *** Pookz has quit IRC
[13:48:06] *** __danimal__ has quit IRC
[13:48:20] <L0u1s> is there any way I could catch these statuses in $httpProviders.defaults.cache or something?
[13:48:24] *** brzuchals has quit IRC
[13:48:45] *** ezakimak has joined #angularjs
[13:48:50] *** DevX101_ has joined #angularjs
[13:48:52] *** gi_ has joined #angularjs
[13:48:53] *** julaboy_ has quit IRC
[13:48:56] *** Pookz has joined #angularjs
[13:49:02] *** evotuned has quit IRC
[13:49:16] <Spot__> scav: You can bind the salt to what comes from backend
[13:49:23] <Spot__> And you can even have multiple of salts for different APIs.
[13:49:36] *** azizur6 has quit IRC
[13:49:56] <scav> generally, as its all over ssl, its not to bad
[13:50:03] *** phzon has quit IRC
[13:50:05] <scav> as long as the pipe stays secure
[13:50:14] *** JR___ has quit IRC
[13:50:15] *** cheef has joined #angularjs
[13:50:27] <Spot__> scav: And if you want even a bit more extra security, you could write some algorithm of your own from math text book to randomize the data structure, and minimize all the javascript files.
[13:50:33] <scav> we just dont use refresh tokens, and invalidate access tokens every say 30 min
[13:51:10] <scav> or i can just write my own browser with my client app hard coded?
[13:51:21] <Spot__> :D
[13:51:27] *** denny009 has joined #angularjs
[13:51:30] <scav> but there is security, and its over doing it
[13:51:40] <scav> and i generally try to let smart and clever people do the security stuff
[13:51:44] *** TinkerTyper has joined #angularjs
[13:51:49] *** jtimon has quit IRC
[13:51:56] <Spot__> You can add a little bit easy steps all the way through, and have regular security reviews on the data models and communication.
[13:51:59] *** cheef has quit IRC
[13:51:59] <scav> security is complicated, hence someone else should do it
[13:52:02] <denny009> hello all I try to use Angular Material with AMD but I receive an error regarding Hammer....anyone has the same problem??
[13:52:14] <Spot__> I guess there's no good security, unless there's processes work ongoing :)
[13:52:19] *** DevX101 has quit IRC
[13:53:02] *** platonic has joined #angularjs
[13:53:09] <scav> Spot__: our backend is spring based with oauth, and i use method level security filtering, pattern matching for strange behaviour and oauth2 over ssl, i think its okay
[13:53:33] <scav> at least as okay as it can get, before it gets in the way of users
[13:53:38] <Spot__> Yep, I guess you wouldn't even need url obfuscation :P
[13:53:48] *** bayousoft has quit IRC
[13:54:10] <scav> you dont get anything from the api without a valid bearer token (all bearer token drama aside)
[13:54:19] *** fernandojsg has quit IRC
[13:54:38] <scav> though, the bearer token is likely where i will do most of the work to improve security, implementing a custom way of handling validity
[13:55:12] <scav> so yeah, i think ill just let the urls stay the way they are, and give users a one time login key they can enter on their own :p
[13:55:14] *** jdj_dk has quit IRC
[13:55:19] *** mmealling has quit IRC
[13:55:20] *** seriema has joined #angularjs
[13:56:11] <Spot__> It might be the other way around, if the urls seem to be obfuscated a hacker would be more interested what's inside the egg ;)
[13:56:24] <Spot__> Security is very psychological stuff
[13:56:44] <scav> indeed it is
[13:56:49] *** sebhoss has joined #angularjs
[13:56:53] *** patrick99e99 has joined #angularjs
[13:57:22] *** frem has quit IRC
[13:57:24] *** Zentdayn has joined #angularjs
[13:57:37] <scav> perceived and actual security comes to mind
[13:58:32] *** doug64k has quit IRC
[13:58:51] *** caitp has quit IRC
[13:59:13] *** Sebastien-L has quit IRC
[13:59:28] *** s00pcan has joined #angularjs
[13:59:39] *** shaisnir has quit IRC
[13:59:39] *** Huevos has joined #angularjs
[13:59:40] *** seriema has quit IRC
[14:00:11] *** Orbitrix has quit IRC
[14:00:14] *** qdk has quit IRC
[14:00:22] *** numenor has quit IRC
[14:00:26] *** tarnus has joined #angularjs
[14:00:30] <denny009> anyone use still angular material?
[14:00:44] *** MattWelch has joined #angularjs
[14:01:08] *** caitp has joined #angularjs
[14:01:12] *** doug64k has joined #angularjs
[14:01:28] *** patrick99e99 has quit IRC
[14:01:42] *** elrabin has joined #angularjs
[14:01:49] *** gi_ has quit IRC
[14:02:17] *** joroc has joined #angularjs
[14:02:53] *** IvailoStoianov has joined #angularjs
[14:03:02] *** laurensclaessen has joined #angularjs
[14:04:15] *** techsethi_ has quit IRC
[14:04:34] *** laurensclaessen has quit IRC
[14:04:43] *** jtimon has joined #angularjs
[14:04:52] *** laurensclaessen has joined #angularjs
[14:04:57] <SargoDarya> denny009: Wanted to try it, haven't yet had the time
[14:05:45] <denny009> SargoDarya: there's an annoing problem with AMD and angular material....I'm searching on google to find a good solution but still no fortune
[14:06:02] <SargoDarya> What's the problem?
[14:06:02] *** aven1 has quit IRC
[14:06:07] *** dk_thyms has joined #angularjs
[14:07:00] *** DevX101_ has quit IRC
[14:07:24] <denny009> SargoDarya: ngMaterial requires HammerJS to be preloaded.
[14:07:27] *** nc90 has joined #angularjs
[14:08:00] <SargoDarya> Are you using require.js?
[14:08:24] *** sigurding has quit IRC
[14:08:33] <denny009> SargoDarya: yes
[14:08:53] *** sigurding has joined #angularjs
[14:09:27] *** doug64k has quit IRC
[14:09:37] *** kp666 has quit IRC
[14:09:51] *** juanpablo___ has joined #angularjs
[14:10:39] <SargoDarya> I think you could configure require.js in a way that you can define the dependencies. Otherwise I would just try minifying all libraries.
[14:10:49] <SargoDarya> Are you loading HammerJS?
[14:11:08] *** pilva has quit IRC
[14:11:13] *** platonic has quit IRC
[14:11:30] <denny009> SargoDarya: hammer: "../bower_components/hammerjs/hammer" shim: hammer: exports: "Hammer"
[14:12:03] <SargoDarya> Have defined it as a dependency to md?
[14:12:18] <denny009> SargoDarya: ?
[14:12:36] <SargoDarya> you can define dependencies in the configuration for non amd scripts
[14:12:51] <denny009> SargoDarya: yes I know but deps of what?
[14:13:02] <SargoDarya> Deps of Angular Material Design
[14:13:03] *** iksik has quit IRC
[14:13:26] *** qdk has joined #angularjs
[14:13:41] <SargoDarya> if you go deps: ['Hammer'] it should work and load hammer before angular md
[14:13:42] <denny009> SargoDarya: ah no no Hammer isn't a deps of Material but material maybe need Hammer
[14:13:53] <SargoDarya> Yes, that's what I meant to say
[14:14:22] <denny009> SargoDarya: ngMaterial: exports: "angularMaterial" deps: ["angular", "Hammer"]
[14:14:32] *** juanpablo___ has quit IRC
[14:14:53] *** leolrrj has joined #angularjs
[14:15:12] <SargoDarya> That should actually work. Can you do a fiddle or try to reproduce it in a way?
[14:15:15] *** dk_thyms has quit IRC
[14:15:53] <denny009> SargoDarya: I can pastebin my config.coffee
[14:16:14] <SargoDarya> Would be an idea
[14:16:15] <burzum2> when I use require: 'ngModel', in my directive how can I access the ng-model data inside my directives controllers $scope?
[14:17:01] *** mrwn has joined #angularjs
[14:17:03] <SargoDarya> $scope.ngModel if you have it defined in scope
[14:17:47] *** doodlehaus has joined #angularjs
[14:18:02] *** cbeacock1 has joined #angularjs
[14:18:13] <SargoDarya> denny009: any console errors?
[14:18:19] *** loverajoel has joined #angularjs
[14:18:26] <SargoDarya> Can you check in which order the scripts are loaded?
[14:18:43]
<denny009> SargoDarya: Error: [$injector:modulerr] Failed to instantiate module myApplication due to: Error: [$injector:modulerr] Failed to instantiate module ngMaterial due to: Error: [$injector:nomod] Module 'ngMaterial' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.3.7/$injector/nomod?p0=ngM
[14:18:59] <denny009> SargoDarya: Error: ngMaterial requires HammerJS to be preloaded.
[14:19:24] <burzum2> SargoDarya i thought there is something more special to that, thanks
[14:19:37] *** foofoobar has joined #angularjs
[14:19:46] *** phzon has joined #angularjs
[14:20:22] *** kuzz0 has joined #angularjs
[14:20:22] *** Lewix has joined #angularjs
[14:21:08] <mylord> how can I enable CORS in browser, as in something similar to jquery: $.support.cors = true; ?
[14:21:10] <SargoDarya> burzum2: when using ngModel you have access to the ngModelController, that's one of the benefits
[14:21:22] *** pilva has joined #angularjs
[14:21:47] <SargoDarya> Oh, sorry, that was wrong, that was for something else.
[14:21:58] *** julaboy has joined #angularjs
[14:22:12] *** L0u1s has quit IRC
[14:22:12] <SargoDarya> $httpProvider.defaults.useXDomain = true;
[14:22:32] <burzum2> SargoDarya how would I access it? by looking at the documentation it would become the 4. arg of the link() method, correct?
[14:22:54] *** safani has joined #angularjs
[14:23:03] *** davi has quit IRC
[14:23:18] <SargoDarya> yes
[14:23:29] <SargoDarya> denny009: can't see anything wrong
[14:23:46] <denny009> SargoDarya: If you want I can share the project
[14:23:49] <SargoDarya> try running r.js over the code and check if it works.
[14:23:58] <SargoDarya> Sadly I have lots of work to do
[14:24:07] <mylord> SargoDarya: can you point me to an example? my quick search didn’t bring any.
[14:24:21] <burzum2> SargoDarya than you
[14:24:25] <burzum2> +k
[14:24:31] <mylord> (with ngCsp to enable cors client side)
[14:24:40] *** elrabin has quit IRC
[14:25:14] *** elrabin has joined #angularjs
[14:25:17] <SargoDarya> ngCsp is only for extensions
[14:25:38] *** techsethi_ has joined #angularjs
[14:25:39] *** tga0 has joined #angularjs
[14:26:06] *** tfennelly has joined #angularjs
[14:26:09] *** walden|afk is now known as walden
[14:26:12] *** julaboy_ has joined #angularjs
[14:26:15] *** g-nom3 has quit IRC
[14:26:15] *** tristanp has joined #angularjs
[14:26:17] *** elrabin has quit IRC
[14:26:29] *** g-nom3 has joined #angularjs
[14:26:35] *** doodlehaus has quit IRC
[14:26:46] *** AlSquirrel has joined #angularjs
[14:26:52] *** uris77 has quit IRC
[14:27:18] *** laurensclaessen has quit IRC
[14:27:25] *** gauravsaini03 has quit IRC
[14:28:16] *** Cronoh has joined #angularjs
[14:28:39] *** leolrrj has quit IRC
[14:29:01] <denny009> SargoDarya: ?
[14:29:02] *** julaboy has quit IRC
[14:29:17] *** AlSquire has quit IRC
[14:29:25] <SargoDarya> denny009: Sorry, try minimizing the code with r.js
[14:29:27] *** axsuul has joined #angularjs
[14:29:32] <SargoDarya> I'm a bit busy working
[14:29:33] *** Zentdayn has quit IRC
[14:29:58] <denny009> SargoDarya: I don't know how to do this... but if you want I can share my project
[14:30:12] <SargoDarya> I'm busy denny009 sorry
[14:30:23] <SargoDarya> look into r.js on google
[14:30:37] *** tfennelly has quit IRC
[14:31:15] *** mccarrontr1ck has joined #angularjs
[14:31:16] <denny009> SargoDarya: sorry but you mean require.js?
[14:31:22] *** alinou has quit IRC
[14:31:27] <SargoDarya> r.js is the optimizer of require.js
[14:31:47] *** bayousoft has joined #angularjs
[14:32:05] *** zwacky has quit IRC
[14:32:18] *** aven1 has joined #angularjs
[14:32:35] *** doerteDev has quit IRC
[14:33:31] <SargoDarya> Then take that one, sorry denny009, I really need to work now.
[14:33:37] *** Abhi_ has joined #angularjs
[14:33:38] *** ophite_ has joined #angularjs
[14:33:43] *** Zentdayn has joined #angularjs
[14:33:53] *** axsuul has quit IRC
[14:34:08] <denny009> SargoDarya: I try to do this r.js
[14:34:18] *** ophite has joined #angularjs
[14:34:40] *** xdissent has joined #angularjs
[14:35:01] *** laurensclaessen has joined #angularjs
[14:35:07] *** Dido has quit IRC
[14:35:18] <Abhi_> Hello guys!
[14:35:19] *** joroc has quit IRC
[14:35:29] <Abhi_> Just started using AngularJS
[14:36:01] <ophite> i am also just start angular
[14:36:27] <drag0nius> is it possible to add app dependency after it is declared with angular.module('...',[...])?
[14:36:44] <drag0nius> like adding extra stuff dynamically into the array part
[14:36:44] *** borisk_ has joined #angularjs
[14:36:45] *** ciwolsey has joined #angularjs
[14:37:31] *** Zentdayn has quit IRC
[14:37:55] *** ophite_ has quit IRC
[14:38:13] *** rhp has quit IRC
[14:39:27] *** recurrence has quit IRC
[14:40:10] *** dobladez has joined #angularjs
[14:40:22] *** leolrrj has joined #angularjs
[14:40:29] *** doug64k has joined #angularjs
[14:41:29] *** kapil__ has quit IRC
[14:41:29] *** julaboy_ has quit IRC
[14:41:43] *** julaboy has joined #angularjs
[14:42:14] *** ophite has quit IRC
[14:42:56] *** danecando has quit IRC
[14:44:06] *** rchavik has quit IRC
[14:44:42] *** zwacky has joined #angularjs
[14:45:15] *** evotuned has joined #angularjs
[14:45:21] *** julaboy_ has joined #angularjs
[14:45:43] *** SFeser has joined #angularjs
[14:45:56] *** jaznow has joined #angularjs
[14:46:01] *** g3funk is now known as braidn
[14:46:10] *** CanyonMan has quit IRC
[14:46:23] *** hansmaad has joined #angularjs
[14:46:31] *** aortmann has quit IRC
[14:46:36] *** s00pcan has quit IRC
[14:46:49] *** s00pcan has joined #angularjs
[14:47:28] *** Superhard has joined #angularjs
[14:47:42] *** Skrypter has joined #angularjs
[14:48:12] *** julaboy has quit IRC
[14:48:46] *** swist has quit IRC
[14:48:52] *** mmealling has joined #angularjs
[14:49:37] *** shaisnir has joined #angularjs
[14:49:58] *** evotuned has quit IRC
[14:50:05] *** sac has quit IRC
[14:50:15] *** julaboy_ has quit IRC
[14:50:22] *** Txandy has joined #angularjs
[14:50:44] *** julaboy has joined #angularjs
[14:51:07] *** jstroem has quit IRC
[14:51:14] <jaydubya> This is so weird ... I have been looking/verifying at this for the last 2 hours ... I am JUST alerting crap in the scope function to make the button work and still ng-click won't fire and there are no console errors ... <button class="btn btn-large btn-primary" ng-click="updateViewPrefs()">Update View Preferences</button>
[14:51:31] *** azizur has joined #angularjs
[14:51:42] *** swist has joined #angularjs
[14:51:51] *** Superhard has quit IRC
[14:51:54] *** leolrrj has quit IRC
[14:52:11] *** foofoobar has quit IRC
[14:52:30] *** Skrypter has quit IRC
[14:53:38] *** xxMatiasFxx has joined #angularjs
[14:53:48] *** dmamillzzzz is now known as dmamills
[14:54:08] <xxMatiasFxx> Hi I need to add some draggable functions, I was thinking of adding jQueryUI dependency, is it correct or will it have conflicts with AngularJs ?
[14:54:18] *** ahtik has joined #angularjs
[14:54:25] *** lsiv568 has quit IRC
[14:54:26] *** mrwn has quit IRC
[14:54:38] *** mokush has joined #angularjs
[14:54:42] *** Zentdayn has joined #angularjs
[14:55:07] *** mica has joined #angularjs
[14:55:19] *** b1rkh0ff has joined #angularjs
[14:55:21] *** sk87 has joined #angularjs
[14:55:23] *** mica has left #angularjs
[14:56:13] *** yojimmbo has joined #angularjs
[14:56:14] *** julaboy has quit IRC
[14:56:33] *** julaboy has joined #angularjs
[14:56:43] *** Mxyzpltk has joined #angularjs
[14:56:55] *** kapil__ has joined #angularjs
[14:57:01] *** b1rkh0ff1 has quit IRC
[14:57:04] *** yojimmbo has quit IRC
[14:57:31] *** yojimmbo has joined #angularjs
[14:57:55] *** Siecje has joined #angularjs
[14:57:58] *** advy has quit IRC
[14:58:26] *** leolrrj_ has joined #angularjs
[14:58:42] *** sk87 has quit IRC
[14:59:51] <drag0nius> when are module.requires resolved?
[15:00:01] *** Hounddog has quit IRC
[15:00:17] *** mrwn has joined #angularjs
[15:00:24] *** ahtik has quit IRC
[15:01:10] *** bbankes has joined #angularjs
[15:01:20] *** leolrrj has joined #angularjs
[15:01:38] *** VeeWee has quit IRC
[15:02:04] *** sigurding has quit IRC
[15:02:05] *** Sebastien-L has joined #angularjs
[15:02:13] *** merb has joined #angularjs
[15:02:20] *** joroc has joined #angularjs
[15:02:31] <denny009> uff...someone confident with requirejs?
[15:02:45] *** darrin has joined #angularjs
[15:02:51] <drag0nius> yeah, i definitely want to make it work
[15:02:53] *** jmckind has joined #angularjs
[15:03:01] *** jstroem has joined #angularjs
[15:03:08] <drag0nius> but it doesn't let me and idk why ;d
[15:03:21] *** mmeallin_ has joined #angularjs
[15:03:34] *** leolrrj_ has quit IRC
[15:03:47] *** ccohn has joined #angularjs
[15:03:56] *** gaboesquivel has joined #angularjs
[15:03:57] *** sk87 has joined #angularjs
[15:04:30] <xxMatiasFxx> Hi I need to add some draggable functions, I was thinking of adding jQueryUI dependency, is it correct or will it have conflicts with AngularJs ?
[15:04:44] *** Zentdayn has quit IRC
[15:04:44] *** aven1 has quit IRC
[15:04:59] *** goodenough has joined #angularjs
[15:05:35] <TweedleDee> is there a programatic way to access the only form on a page without its name?
[15:05:35] *** danecando has joined #angularjs
[15:05:49] <TweedleDee> if so I can abstract my navigation into its own navigationController
[15:05:57] *** mmealling has quit IRC
[15:05:59] <xxMatiasFxx> drag0nius, I need with sortable also
[15:06:00] <xxMatiasFxx> :S
[15:06:01] *** spatialbrew has joined #angularjs
[15:06:13] *** guy has joined #angularjs
[15:06:15] <drag0nius> TweedleDee: document.getElementsByTagName('form')[0]
[15:06:16] *** rchavik has joined #angularjs
[15:06:26] <TweedleDee> niiiiicce
[15:06:28] <TweedleDee> Thanks man
[15:06:35] <guy> What options do I have to use AngularJS with commonjs loader such as browserify?
[15:07:01] *** s00pcan has quit IRC
[15:07:03] *** mrwn has quit IRC
[15:07:09] <drag0nius> guy: i'm wrestling with RequireJS
[15:07:11] *** juanpablo___ has joined #angularjs
[15:07:15] *** s00pcan has joined #angularjs
[15:07:28] *** yano has quit IRC
[15:07:28] *** yano has joined #angularjs
[15:07:32] <Foxandxss> you guys like the headaches
[15:07:46] *** leolrrj has quit IRC
[15:07:52] *** hell_razer has joined #angularjs
[15:07:57] <drag0nius> i gotta make it work just once, and i am very used to AMD loaders
[15:08:13]
<tristanp> So I'm working on a broad directive to cross-fade the content of a div when its content changes. I'm having trouble "watching" the transcluded content though, can anyone take a bit of a look at my progress and tell me what they think? http://plnkr.co/edit/JFoULz4SO9pZq7ds8Qbt?p=preview
[15:08:17] <guy> Why... I could not develop a single app without AMD loader..
[15:08:28] *** Greed has quit IRC
[15:08:31] <drag0nius> guy: same here
[15:08:38] <Foxandxss> I couldn't develop any app with amd loader
[15:08:41] *** ProLoser|Mac has joined #angularjs
[15:08:53] <drag0nius> guy: you got anything working yet?
[15:09:09] *** Inoperable has joined #angularjs
[15:09:13] *** s00pcan has quit IRC
[15:09:16] <guy> the package I referred just now works fine
[15:09:19] <drag0nius> i started with defining all components in module.js file (angular.module(...,[...]).factory().controller()...)
[15:09:30] <guy> I am just surprised that AngularJS does not have native support for AMD loaders...
[15:09:43] *** nya has quit IRC
[15:09:55] <drag0nius> but i want to convert it into define(['./module'],function(app){app.controller(...)})
[15:09:58] <BahamutWC|Laptop> guy: angular was started before it existed
[15:10:18] *** BillCriswell has joined #angularjs
[15:10:28] <guy> BahamutWC|Laptop: adding the support would be relatively easy..
[15:10:35] <Foxandxss> we don't want AMD loaders
[15:10:37] <Foxandxss> period
[15:10:40] <drag0nius> why?
[15:10:46] *** recurrence has joined #angularjs
[15:10:48] <guy> though with v2 on the way, I have no intention to contribute
[15:10:52] *** DanSkaggs has joined #angularjs
[15:10:56] <drag0nius> it's either AMD loader or bazillion <script> tags in html file
[15:11:01] <BahamutWC|Laptop> angular does not officially support lazy loading though
[15:11:09] <Foxandxss> I have no scripts tags (just one)
[15:11:13] <Foxandxss> and I don't use AMD loader
[15:11:16] <drag0nius> Foxandxss: how?
[15:11:28] <BahamutWC|Laptop> build process
[15:11:29] <Foxandxss> I concat all my files
[15:11:30] <tristanp> well it's not a bazillion script tags if you concatenate your js files
[15:11:39] <drag0nius> i know when you build app it's like this
[15:11:43] <drag0nius> but how the heck do you develop it?
[15:11:55] <Foxandxss> guy: v2 will use ES6 and ES6 have their own modules
[15:11:59] *** rkjdid has joined #angularjs
[15:12:02] <drag0nius> you build it every single time you make a change?
[15:12:03] <BahamutWC|Laptop> you can use a build process to automate injection of scripts too
[15:12:14] *** __danimal__ has joined #angularjs
[15:12:22] <tristanp> you have a build tool like grunt automatically adds all the script tags every time you add or change a file
[15:12:35] *** s00pcan has joined #angularjs
[15:12:45] *** jstroem has quit IRC
[15:12:52] <tristanp> and when it's production time it does the additional step of concatenating all of them
[15:12:54] *** s00pcan has joined #angularjs
[15:13:07] *** ProLoser|Mac has quit IRC
[15:13:39] *** knownasilya has joined #angularjs
[15:13:58] *** julaboy has quit IRC
[15:14:00] <drag0nius> so how does it work? i've index.html with something like {% grunt_put_scripts_here %} and then grunt renders it every time?
[15:14:08] *** azizur has quit IRC
[15:14:17] <Foxandxss> for the basics no
[15:14:28] <Foxandxss> you just have <script src="app.js"></script>
[15:14:34] <Foxandxss> and grunt/gulp will generate that app.js for you
[15:14:48] <Foxandxss> perosnally I have an index.html using lodash
[15:14:50] <Foxandxss> because for production I create files like
[15:14:55] <Foxandxss> app-1231290378.js
[15:14:58] <Foxandxss> so I bust the cache
[15:15:02] *** julaboy has joined #angularjs
[15:15:12] *** Oxynum has joined #angularjs
[15:15:24] *** DanSkaggs has left #angularjs
[15:16:12] *** cboden has joined #angularjs
[15:16:18] *** guy has quit IRC
[15:16:39] *** kevinxu has joined #angularjs
[15:16:55] *** kevinxu has quit IRC
[15:17:03] *** Inoperable has quit IRC
[15:17:08] <drag0nius> to me AMD loader looks way easier, but since i can't get it to work properly...
[15:17:15] <tangorri> hmmm (svg)element.addClass() doesn't work if jquery is loaded ... ? ouch
[15:17:59] <Foxandxss> drag0nius: amd loader forces you to write extra code (At least require.js) to make all work
[15:18:05] <Foxandxss> I just write plain javascript, no extra stuff
[15:18:11] <Foxandxss> everything is done for my automatically
[15:18:18] <drag0nius> yeah, but you can see what depends on what in a glimpse of an eye
[15:18:25] *** gregc2 has joined #angularjs
[15:18:25] *** gregc2 is now known as ioudas
[15:18:30] <Foxandxss> me too
[15:18:36] <Foxandxss> I check the injections and I see what depends on what
[15:18:41] *** elrabin has joined #angularjs
[15:19:50] *** Hackwar1 has joined #angularjs
[15:19:55] <Foxandxss> anyway, people made that work, so there should be a way
[15:20:02] *** s00pcan has quit IRC
[15:20:12] *** livingstn has joined #angularjs
[15:20:17] *** akrikos has joined #angularjs
[15:20:36] <drag0nius> i came to the point where i'd have to do step-by-step debugging of angular
[15:20:44] *** dmack has joined #angularjs
[15:21:00] *** caitp has quit IRC
[15:21:04] *** s00pcan has joined #angularjs
[15:21:06] *** azizur has joined #angularjs
[15:21:10] *** s00pcan has quit IRC
[15:21:15] <drag0nius> every script file is loaded and evaluated, but angular can't load .factory/.value or whatever
[15:21:28] <drag0nius> inside angular.bootstrap()
[15:21:35] *** FIFOd[a] has joined #angularjs
[15:21:43] <drag0nius> as DI at least
[15:21:50] *** s00pcan has joined #angularjs
[15:21:52] *** Hackwar has quit IRC
[15:22:30] *** evanjs has joined #angularjs
[15:22:33] *** g33k5z_ has joined #angularjs
[15:23:36] *** s00pcan has quit IRC
[15:23:37] <TweedleDee> is it bad practice to have 2 controllers on a page 1 for the view so for example Personal.html has PersonalController.html and in the app.js I don't decalre a controller but in the html at the top level <div ng-controller="PersonalController as viewCtrl><div ng-controller="NavigationController as navCtrl"><button ng-click="navCtrl.next();>Next</button>etx etc regular view shit</div>
[15:23:53] *** Hackwar1 has quit IRC
[15:24:06] *** s00pcan has joined #angularjs
[15:24:18] <TweedleDee> or should I make a directive called navigation or something?
[15:24:32] <arkin> drag0nius: don't you think its faster to load a single file of code, versus loading require.js and then loading several other JS files
[15:24:37] <TweedleDee> 96% sure both would work...
[15:24:47] *** recurrence has quit IRC
[15:24:52] <drag0nius> arkin: when i want to put it into production i build it too
[15:25:00] <drag0nius> arkin: but i do not need to build it during development
[15:25:04] *** lsiv568 has joined #angularjs
[15:25:06] *** restangularnoob has joined #angularjs
[15:25:08] <arkin> its still faster
[15:25:24] <arkin> I build out two files, 1 full of libraries/plugins at gulp runtime
[15:25:34] <arkin> and then 1 which is the application which is watched and livereloaded
[15:25:37] *** richiebkr has joined #angularjs
[15:25:51] <drag0nius> i wonder, how are html/css files handled with builder?
[15:25:55] *** mrwhite has joined #angularjs
[15:26:06] *** mike has joined #angularjs
[15:26:08] <Foxandxss> concat them as well into app.css
[15:26:23] <drag0nius> and how about all those partials?
[15:26:29] *** mike is now known as Guest57944
[15:26:30] <TweedleDee> Come on you guru G homies help a man with a troubled javascript mind with the 'correct' answer
[15:26:58] <Foxandxss> which partials? I am a bit of css noob
[15:27:15] <tangorri> anyway to force use of internal jqlite when jquery's loaded ?
[15:27:16] *** g33k5z_ has quit IRC
[15:27:28] *** zwacky has quit IRC
[15:27:38] <Guest57944> hello to everyone. I try to import the jquery autocomplete in my project which is designed in angular.I load the jquery script but i get Uncaught TypeError: undefined is not a function
[15:27:48] *** doodlehaus has joined #angularjs
[15:27:50] *** test___ has joined #angularjs
[15:27:51] <Guest57944> How can i use it?
[15:28:07] <Foxandxss> TweedleDee: if they are different partials, not bad
[15:28:19] *** mal303 has joined #angularjs
[15:28:24] <denny009> Hey guys someone can help me in a configuration with requirejs?
[15:28:24] <drag0nius> Guest57944: are you sure you don't want to use ui-select?
[15:28:38] <TweedleDee> alright cool, the controller method is easier for me personally, so I was leaning toward that tho a directive isn't out of the realm of feasibility
[15:28:56] <Guest57944> yes i am sure
[15:28:56] *** test___ has quit IRC
[15:29:01] *** yojimmbo has quit IRC
[15:29:09] <Guest57944> it doesn't suite in my situation
[15:29:43] *** julaboy has quit IRC
[15:29:55] *** julaboy has joined #angularjs
[15:29:58] <restangularnoob> Anybody familiar with restangular able to spend a few minutes? I can't figure out why I'm not seeing in the site what I see when I go to the cli and do a curl
[15:30:22] *** richiebkr has quit IRC
[15:30:44] *** s00pcan has quit IRC
[15:30:49] *** macabre has joined #angularjs
[15:31:36] <drag0nius> restangularnoob: go into firebug XHR console and check what gets returned in a request
[15:31:50] <TweedleDee> ok and my earlier question of how to get access to a form without its name, var test = document.getElementsByTagName('form')[0]; gives me a different object than $scope.myFormName any way to get at the angular form object without its name?
[15:31:57] *** IvailoStoianov has quit IRC
[15:32:03] <drag0nius> restangularnoob: if it returns right thing, and you get undefined in code, you most likely forgot a return value in ElementTransformer
[15:32:06] <TweedleDee> the one that has #error, $valid, etc
[15:32:10] <TweedleDee> $error*
[15:32:22] *** aven1 has joined #angularjs
[15:32:40] *** mal808 has quit IRC
[15:32:44] *** mary5030 has joined #angularjs
[15:32:45] <restangularnoob> thx drag0nius I'll give that a shot
[15:32:50] *** bmac has joined #angularjs
[15:33:56] *** ericbutters has quit IRC
[15:34:57] *** mal303 has quit IRC
[15:35:04] *** joroc has quit IRC
[15:35:06] *** canthugeverycat has joined #angularjs
[15:35:32] <canthugeverycat> Hey guys, what plugin do you use for uploading images to the server that works on Android ?
[15:35:54] *** s00pcan has joined #angularjs
[15:37:44] *** nya has joined #angularjs
[15:38:18] *** Hestil has quit IRC
[15:38:22] *** Guest57944 has quit IRC
[15:38:28] *** Hestil_ has joined #angularjs
[15:39:14] *** g33k5z_ has joined #angularjs
[15:39:17] *** steeze has joined #angularjs
[15:39:29] *** zwacky has joined #angularjs
[15:39:43] *** g33k5z_ has quit IRC
[15:40:51] *** vassagus has joined #angularjs
[15:41:22] *** Hestil_ has quit IRC
[15:41:36] *** Hestil has joined #angularjs
[15:42:47] <G1eb> has anyone ever made a timer in angular?
[15:43:08] <canthugeverycat> Hey guys, what plugin do you use for uploading images to the server that works on Android ?
[15:43:30] <christo_m> dmack: you around?
[15:43:43] <dmack> you know it
[15:43:47] <dmack> when am I receiving my paycheck?
[15:43:50] <christo_m> dmack: hahah
[15:43:53] <christo_m> gg
[15:44:01] <dmack> :)
[15:44:03] <dmack> whats up?
[15:44:06] *** PrinceAMD has quit IRC
[15:44:09] <christo_m> man im having an issue with resolves.. i can console log the promise in teh router, but it isnt being injected properly in my controller
[15:44:19] <christo_m> in my controller, the injected resolve is undefined.
[15:44:57] *** Hestil_ has joined #angularjs
[15:45:01] *** Hestil has quit IRC
[15:45:57] <christo_m> in the controller, that console log is undefined
[15:46:16] *** evotuned has joined #angularjs
[15:46:32] <dmack> in your resolve, just do
[15:46:44] <dmack> return TuiService.load(appConfig.appName, appConfig.url).then(function(response) { console.log(response) }
[15:46:48] <dmack> see if you get a response there
[15:47:06] *** zwacky has quit IRC
[15:47:39] *** sturmination has joined #angularjs
[15:47:50] <christo_m> i know theres a response
[15:47:53] <christo_m> because i examined the object in console
[15:48:00] <christo_m> and the data property has the html i want.
[15:48:17] *** Superhard has joined #angularjs
[15:48:35] *** IJNX has quit IRC
[15:49:10] *** edy has quit IRC
[15:50:11] *** CodeFriar has quit IRC
[15:50:28] <dmack> everything seems good...show me the .load()
[15:50:39] *** evotuned has quit IRC
[15:51:03] *** deanclkclk has joined #angularjs
[15:51:38] <christo_m> dmack: its weird, when i do the .then in a console log in the router
[15:51:39] *** Siyfion has joined #angularjs
[15:51:45] <christo_m> the value is undefined..
[15:51:53] <christo_m> but if i just console log the promise and examine the state and data, its there
[15:51:57] *** night-owl is now known as zz_night-owl
[15:52:03] <dmack> do you ever resolve the promise in the .load()
[15:52:09] <dmack> what does .load() return?
[15:52:25] *** Zentdayn has joined #angularjs
[15:52:26] <christo_m> a promise.
[15:52:39] *** CodeFriar has joined #angularjs
[15:52:41] *** julaboy has quit IRC
[15:53:12] *** jharbaugh has quit IRC
[15:53:16] *** julaboy has joined #angularjs
[15:53:17] *** sahbeewah has joined #angularjs
[15:53:26] *** Superhard has quit IRC
[15:53:26] *** Zentdayn has quit IRC
[15:53:32] <dmack> weird, I feel like that should work
[15:53:46] *** jharbaugh has joined #angularjs
[15:54:00] <dmack> after line 30
[15:54:05] <dmack> promise.then(function(response) { console.log(response) }
[15:54:11] <dmack> wonder if that's undefined...
[15:54:35] *** tschundeee has joined #angularjs
[15:54:57] *** merb has quit IRC
[15:55:06] *** DigitallyBorn has joined #angularjs
[15:55:09] *** patrickarlt has joined #angularjs
[15:55:13] *** DigitallyBorn has quit IRC
[15:55:13] *** DigitallyBorn has joined #angularjs
[15:55:36] *** scythe__ has joined #angularjs
[15:56:39] *** lexek_ has quit IRC
[15:56:49] *** FunnyLookinHat has joined #angularjs
[15:56:51] *** zivester has joined #angularjs
[15:57:03] *** foofoobar has joined #angularjs
[15:57:05] *** andresdrojas has joined #angularjs
[15:57:11] *** tangorri has quit IRC
[15:57:13] *** DevX101 has joined #angularjs
[15:57:13] <christo_m> yup value is undefined
[15:57:18] <christo_m> but if i just console log the promise, the data is in there.
[15:57:33] <christo_m> dmack: not sure what the issue is
[15:57:34] <dmack> yeah, when you return in your resolve, it's unwrapping the promise
[15:57:44] *** patrick99e99 has joined #angularjs
[15:58:11] *** mrwn has joined #angularjs
[15:58:13] <dmack> oh, wait.
[15:58:18] *** restangularnoob has left #angularjs
[15:59:04] <dmack> oh ok, you have public/private methods
[15:59:11] <christo_m> yya
[15:59:31] *** williamtdr has quit IRC
[15:59:39] <dmack> if you just do the .load() in your controller, does it return data?
[15:59:45] <dmack> ie. move it out of the resolve
[16:00:04] *** AlSquirikou has joined #angularjs
[16:00:13] <Siyfion> Is there a way of exposing a ReactiveDict to a "sub-template" to allow it to edit it...?
[16:00:31] *** techsethi_ has quit IRC
[16:00:36] *** Jaimin has quit IRC
[16:00:38] *** Iravan_ has joined #angularjs
[16:01:06] *** nickgs has joined #angularjs
[16:01:26] <Siyfion> I create the ReactiveDict in the "master" template, which dynamically adds others, ideally I'd like them to update the dict with their values as & when they change, so that when the "save" button is pressed, it can use the dictionary to perform the update.
[16:01:51] *** michaelSharpe has joined #angularjs
[16:01:55] *** shackleford has joined #angularjs
[16:01:55] *** kris___ has quit IRC
[16:01:58] *** shackleford has quit IRC
[16:02:16] *** caitp has joined #angularjs
[16:02:21] *** joroc has joined #angularjs
[16:02:28] <Siyfion> Doh! Wrong channel. ignore me
[16:02:32] *** shackleford has joined #angularjs
[16:02:54] *** patrick99e99 has quit IRC
[16:03:12] <Lewix> everything on the server side?
[16:03:14] <Lewix> How would you do pagination with a large load of data?
[16:03:20] *** AlSquirrel has quit IRC
[16:03:43] <christo_m> welp i guess that owrked..
[16:03:44] <christo_m> worked*
[16:03:45] *** mmeallin_ has quit IRC
[16:03:47] <christo_m> dmack: so i cant use resolve?
[16:03:56] *** swist has quit IRC
[16:03:58] <dmack> you should be able to. not sure what's going on there...
[16:04:08] *** dcherman has joined #angularjs
[16:04:21] *** mmealling has joined #angularjs
[16:04:49] *** aven1 has quit IRC
[16:05:12] *** greengriminal has joined #angularjs
[16:05:19] *** saucey has joined #angularjs
[16:05:55] *** StryKaizer has quit IRC
[16:07:10] *** jdcasey has quit IRC
[16:07:20] *** jdcasey has joined #angularjs
[16:07:20] *** quantum543 has joined #angularjs
[16:07:47] *** michaelS_ has joined #angularjs
[16:08:20] *** siddart has joined #angularjs
[16:08:31] <christo_m> Argument 'TuiController' is not a function, got undefined
[16:08:33] <christo_m> god..
[16:09:03] <christo_m> got a problem in my controller somewhere
[16:09:10] *** Mxyzpltk has quit IRC
[16:09:15] <christo_m> anyway, i really wanted to use resolve, so that i do not change state till i know that the promise is there
[16:09:20] *** Click66 has quit IRC
[16:09:41] *** swist has joined #angularjs
[16:09:46] *** guy has joined #angularjs
[16:10:06] *** swist has quit IRC
[16:10:08] <guy> Foxandxss: When to expect Angular 2.0 beta out?
[16:10:13] <guy> alpha, or whatever else.
[16:10:36] <quantum543> has anyone faced hanging issue with firefox ? note:firefox shows script is not responding and asking to stop the script. unable to do debugging also.
[16:10:50] <dmack> christo_m:" looking
[16:10:51] <BahamutWC> I wouldn't expect it until 2016
[16:10:57] *** michaelSharpe has quit IRC
[16:10:58] <Foxandxss> guy: in a year maybe?
[16:11:06] <guy> oh....
[16:11:10] *** Sebastien-L has quit IRC
[16:11:46] *** sk87 has quit IRC
[16:12:13] *** Una has joined #angularjs
[16:13:20] *** Hestil_ has quit IRC
[16:13:21] *** Hestil has joined #angularjs
[16:15:02] *** shyshy has joined #angularjs
[16:15:11] <guy> Foxandxss: apart from speculation, is there any source that I could use to say that it is going to be at least a year?
[16:15:11] *** PrinceAMD has joined #angularjs
[16:15:14] *** PrinceAMD has joined #angularjs
[16:15:32] <Foxandxss> the team said that but I don't remember where
[16:16:34] <mbenadda> Also it's making use of ES6, so i don't think you can get a taste of angular 2 until ES6 doesn't get more browser support
[16:16:35] *** scriptThis has quit IRC
[16:16:54] *** Abhi_ has quit IRC
[16:17:15] <guy> mbenadda: 6to5, Traceur.. yes you can.
[16:17:15] *** dave_boling has joined #angularjs
[16:17:24] *** jdivock has joined #angularjs
[16:17:30] *** bmac has quit IRC
[16:17:43] <Foxandxss> the idea is not to use traceur
[16:17:45] <mbenadda> Yeah but only small parts and with approximately 0 stability
[16:18:03] *** sk87 has joined #angularjs
[16:18:03] <guy> ...
[16:18:11] <guy> Foxandxss: in ideal world
[16:18:31] <guy> you will still need to use it to support IE8/IE9, even in 2016
[16:18:32] <Foxandxss> it shouldn't take much longer
[16:18:32] *** bmac has joined #angularjs
[16:18:52] <Foxandxss> but not in angular
[16:18:52] *** sebhoss has quit IRC
[16:18:53] <Foxandxss> :)
[16:19:00] <Foxandxss> which is the topic right now here
[16:19:05] <mbenadda> Fewer and fewer people support IE8:9 though, depending on your market
[16:19:20] <mbenadda> So ideally in 2016 you should not need to transpile at all
[16:19:27] *** mzabriskie has joined #angularjs
[16:19:44] <quan__> 8 is kinda out the window
[16:19:48] <guy> now comes question of the day (showing my lack of understanding of Dart): will angularjs 2 depend on knowing Dart?
[16:19:56] *** pknordic_ has quit IRC
[16:20:26] <Foxandxss> Dont think so
[16:21:15] <BahamutWC> well, certain parts of 2.0 are already fairly stable
[16:21:30] <BahamutWC> di.js and zone.js are probably some of the most mature
[16:21:36] *** shaisnir has quit IRC
[16:21:57] <Foxandxss> yeah, I think the problem is more ES6/ATscript
[16:22:01] *** CanyonMan has joined #angularjs
[16:22:11] <BahamutWC> not sure about watchtower.js - the templating portion is the least mature, but it's not really implemented yet I think
[16:22:37] *** b1rkh0ff has quit IRC
[16:22:57] *** frankh_ has joined #angularjs
[16:24:01] *** Ajans1 has joined #angularjs
[16:24:17] *** Ajans has quit IRC
[16:24:36] *** encryptd_fractl has joined #angularjs
[16:24:41] *** mven has joined #angularjs
[16:24:49] <canthugeverycat> Guys, is there a channel on here for ionic developers ?
[16:24:52] <mbenadda> Foxandxss I think AtScript might cause a lot of people to rethink their commitment to angular, especially when you have to rewrite a lot of stuff to go 2.0
[16:24:56] *** mven has quit IRC
[16:25:00] <Foxandxss> canthugeverycat: #ionic
[16:25:22] *** jaznow has quit IRC
[16:26:02] <Foxandxss> mbenadda: you can use ES6 anyway
[16:26:07] *** mrwn has quit IRC
[16:26:14] *** nickgs has quit IRC
[16:26:26] <Foxandxss> you are not forced to use AtScript
[16:27:18] *** g33k5z_ has joined #angularjs
[16:27:46] *** fbenoit has quit IRC
[16:27:53] *** Embassy has joined #angularjs
[16:30:18] *** sigurding has joined #angularjs
[16:32:21] *** quantum543 has quit IRC
[16:32:23] *** aven1 has joined #angularjs
[16:32:42] *** denny009 has quit IRC
[16:33:45] *** Una has quit IRC
[16:34:27] *** Una has joined #angularjs
[16:35:32] *** gaboesquivel has quit IRC
[16:35:48] <christo_m> dmack: TuiService.load(appConfig.appName, appConfig.url).then(loadHtmlData(response));
[16:35:53] *** sjt003 has joined #angularjs
[16:35:59] <christo_m> why would this complain about response being undefined..
[16:36:08] *** mrwn has joined #angularjs
[16:36:12] *** joroc has quit IRC
[16:36:28] *** gaboesquivel has joined #angularjs
[16:36:34] *** Skrypter has joined #angularjs
[16:37:23] *** Greed has joined #angularjs
[16:37:49] *** jacuqesdancona has joined #angularjs
[16:37:56] <jacuqesdancona> is $route.current set after run?
[16:38:22] <jacuqesdancona> I want to lazyload and $inject a service based on possible params
[16:38:58] <jacuqesdancona> Since $$*property*'s shouldn't be used, how do I get params from the current url on run?
[16:39:25] <jacuqesdancona> I want to hook in an extra service when there's a transactionId in the url
[16:39:40] *** Embassy has quit IRC
[16:39:44] <jaawerth> hrm, not sure about the ngRoute behavior - I believe it is, but you can double-check with a $routeChangeSuccess event and logging $route.current
[16:39:47] *** jdivock has quit IRC
[16:39:49] *** alpha080 has quit IRC
[16:39:58] <jacuqesdancona> yeah, alreay tried that
[16:39:58] <jaawerth> that said, best way to do what you need to do is using a resolve block anwyway
[16:40:12] *** greengriminal has quit IRC
[16:40:21] *** kuadrosx has quit IRC
[16:40:22] <jacuqesdancona> I personally think the run block is best, since it only has to be run once
[16:40:31] *** mrwn has quit IRC
[16:40:40] <jaawerth> run block only runs on bootstrap of your app
[16:40:48] <jaawerth> not on route changes
[16:40:56] <jacuqesdancona> I know, that's pretty much what I want
[16:40:57] <dmack> it runs per module bootstrap.
[16:40:57] *** boneskull has joined #angularjs
[16:41:04] <jaawerth> ^
[16:41:05] <jacuqesdancona> I don't want to bloat my router with unnecessary resolves
[16:41:09] <jaawerth> so you're lazy loading modules?
[16:41:12] <jacuqesdancona> yeah
[16:41:17] *** Skrypter has quit IRC
[16:41:18] *** jdivock has joined #angularjs
[16:41:35] *** mchammer has quit IRC
[16:41:46] <jacuqesdancona> pretty much, when has transaction id, lazyload and $inject a service, which GETs the transaction ID
[16:41:53] *** Embassy has joined #angularjs
[16:42:01] *** tschundeee has quit IRC
[16:42:09] *** DevX101 has quit IRC
[16:42:33] *** mchammer has joined #angularjs
[16:42:36] *** blomman has quit IRC
[16:42:38] *** tschundeee has joined #angularjs
[16:42:45] *** DevX101 has joined #angularjs
[16:43:15] <jaawerth> hm.. I don't think you'd be able to get away with running that logic once anyway, though, because if you go back to a route you'd have to recheck the param. if you're lazy-loading for every unique param, that's more overhead than just using a resolve
[16:43:49] *** encryptd_fractl has quit IRC
[16:44:17] <ries> does angular have a build in ser ice to detect IE versions?
[16:44:18] <jacuqesdancona> Afaik, there's only one moment where a user can enter with a transaction id. Since paymentprocessors (atleast in my country) just redirect to a given route
[16:44:45] <jaawerth> ctanga's ui-router-extras module has a nice utility for lazy loading states, though - you might be able to look at what's going on in there and adapt it for your ngRoute code if you don't want to use ui-router
[16:44:53] <jacuqesdancona> So it could be > course/:id > payment processor > course/:id?transaction=234324
[16:45:43] *** yano has left #angularjs
[16:45:45] *** gaboesquivel has quit IRC
[16:45:49] <jacuqesdancona> I will, thanks jaawerth
[16:46:01] *** bayousoft has quit IRC
[16:46:13] <jaawerth> yeah, but course/:id is the given route, the transaction id would just get passed in. So once course/:id has loaded for a given route, it will have already lazy-loaded and wouldn't load again unless you made it, and if you did that you're kind of defeating the purpose of lazy-loading, no?
[16:46:40] *** Embassy has quit IRC
[16:46:45] *** bayousoft has joined #angularjs
[16:46:47] <jacuqesdancona> jaawerth: it's a comple new load of the app
[16:46:52] <fixxxermet> Why do I get errors when an input is type="number", when setting the ng-model that it is bound to?
[16:46:53] <jaawerth> ah
[16:46:56] <jaawerth> ew
[16:46:57] *** DevX101 has quit IRC
[16:46:58] <jacuqesdancona> so it has to (lazy)load everything again
[16:47:25] *** tschundeee has quit IRC
[16:47:29] *** dannyc_ has quit IRC
[16:47:29] *** Abhi_ has joined #angularjs
[16:47:36] *** encryptd_fractl has joined #angularjs
[16:47:39] <jacuqesdancona> I'd wish payment processors here would enable the use of iframe's, but no
[16:47:46] *** Klerith has joined #angularjs
[16:48:05] <jacuqesdancona> And it's understandable
[16:48:19] *** dannyc has joined #angularjs
[16:48:23] <jaawerth> so what you're lazy-loading are... server-rendered templates?
[16:48:26] *** Klerith has left #angularjs
[16:48:45] <jacuqesdancona> well, services, modules, etc
[16:48:52] *** Slowintrepid has joined #angularjs
[16:48:55] *** nickgs has joined #angularjs
[16:48:57] *** Superhard has joined #angularjs
[16:48:59] *** mrwn has joined #angularjs
[16:48:59] *** PrinceAMD has quit IRC
[16:49:17] *** azizur has quit IRC
[16:49:19] <jacuqesdancona> but when, and only on first load, there's a transaction id in the url, load up the transaction-aftercare-service and do stuff with the transaction
[16:49:22] <jaawerth> hrm, so you're grabbing them using AJAX based on route change.. huh
[16:49:31] *** PrinceAMD has joined #angularjs
[16:49:48] <jacuqesdancona> No, although my router also lazy loads resources
[16:49:49] <jaawerth> so does your router stay bootstrapped once, and then you're manually re-bootstrapping the rest of the app on top of that? just trying to picture the use-case.. it's interesting
[16:49:53] *** Iravan_ has quit IRC
[16:49:57] *** albivian has joined #angularjs
[16:49:59] <jacuqesdancona> lazyload module when needed > $inject module > use it
[16:50:14] <jacuqesdancona> yes
[16:50:18] <albivian> can someone help me with a problem i'm having with directives?
[16:50:46] <jacuqesdancona> It's a small, couple of kb's app, which then (for example) lazy loads a user service/model when a user is trying to login
[16:50:49] *** _45kb has joined #angularjs
[16:50:52] *** EoN has quit IRC
[16:51:01] <jaawerth> huh... it sounds like it could get complex fast if you aren't careful, but I don't see any reason why it wouldn't work. very clever!
[16:51:03] *** prosper_ has joined #angularjs
[16:51:05] <jacuqesdancona> but when there's a transaction id, I need to load a transactionservice
[16:51:14] *** shaisnir has joined #angularjs
[16:51:28] <jacuqesdancona> It's a huge app, with a high percentage of mobile users, so I have to be careful with resources :)
[16:51:31] <drag0nius> why is there $scope and this?
[16:51:43] <jaawerth> that's better than a lot of the lazy loading tricks I've read about (though I've never gone particularly into it, since I haven't had really huge apps to work on thus far)
[16:51:47] <drag0nius> $scope is legacy and this is for future?
[16:52:06] *** jagga has quit IRC
[16:52:22] *** mchammer has quit IRC
[16:52:35] *** Siecje has quit IRC
[16:52:39] <jaawerth> drag0nius: Well... that statement isn't untrue as far as 2.0 is concerned, but it's unrelated to "$scope" vs "this". The "this" approach is for using controller-as syntax
[16:52:49] *** ctanga has joined #angularjs
[16:53:18] <drag0nius> so $scope is good if you're lazy and don't want define controllers every time?
[16:53:18] *** pknordic_ has joined #angularjs
[16:53:25] <drag0nius> name*
[16:53:30] *** Superhard has quit IRC
[16:53:38] <jaawerth> basically, you're sticking properties right onto your controller object, and the controller object gets stuck on the relevant $scope. (doing ng-controller="FooController as foo" is the equivalent of doing ($scope.foo = this in the controller)
[16:53:49] *** jak124124 has joined #angularjs
[16:54:01] *** Christer has quit IRC
[16:54:08] <jaawerth> Um.. it's more about cleaning up your scopes
[16:54:19] *** ericbutters has joined #angularjs
[16:54:20] *** Ch4rAss has quit IRC
[16:54:27] *** Snugug has joined #angularjs
[16:54:34] <jacuqesdancona> But I'll just use $location for it, if angular is already parsing the queryparams, I don't think I should do it again
[16:54:36] <jaawerth> because now you can stick properties on that controller object and you aren't polluting your scope inheritance on the top level. It's also a nice defacto workaround for the "never put primitives on scope" issue
[16:55:01] <jaawerth> jacuqesdancona: hrm, it sounds like ui-router would be a much better router to use for something like that
[16:55:13] <drag0nius> is there some way to get element's height in native angular?
[16:55:23] *** sonicparke|bradm has joined #angularjs
[16:55:32] <drag0nius> or i should just go with jQuery?
[16:55:39] <jaawerth> if it's related to the DOM, use a directive
[16:55:45] *** tschundeee has joined #angularjs
[16:55:54] <jaawerth> but yeah - you can do that with the jqlite provided in the directive
[16:56:01] *** chrisshattuck has joined #angularjs
[16:56:07] <jaawerth> (and if you add jquery, it will replace jqlite for use in directivse)
[16:56:10] <drag0nius> the issue is with that fixed-top bootstrap navbar
[16:56:39] *** SargoDarya has quit IRC
[16:56:47] <jaawerth> what, so you want to get it to stay fied to the top of the screen when you scroll past it?
[16:56:47] *** mzabriskie has quit IRC
[16:56:54] <jaawerth> fixed*
[16:56:59] <drag0nius> you never used it, did you? :P
[16:57:04] <drag0nius> it doesn't occupy any space
[16:57:14] <drag0nius> so first lines of container end up behind it
[16:57:16] <jaawerth> it's been a while
[16:57:17] *** hansmaad has quit IRC
[16:57:26] <jaawerth> ah right, because of position: absolute
[16:57:28] *** ProLoser|Mac has joined #angularjs
[16:58:08] <jaawerth> yeah, that's directive territory.. I have to run to a meeting, but if you're still working on it in an hour I can give you an example
[16:58:25] *** DarrenCraig has quit IRC
[16:58:56] *** shinnya has joined #angularjs
[16:59:29] *** sonicparke|bradm has quit IRC
[16:59:32] *** Lewix has quit IRC
[16:59:40] *** FishErr has joined #angularjs
[17:00:28] *** prosper_ has quit IRC
[17:00:48] *** sonicparke|bradm has joined #angularjs
[17:00:56] *** julaboy_ has joined #angularjs
[17:00:57] *** jak124124 has quit IRC
[17:01:29] *** kapil__ has quit IRC
[17:02:13] *** julaboy__ has joined #angularjs
[17:02:13] *** julaboy_ has quit IRC
[17:02:13] *** opiates has joined #angularjs
[17:02:16] *** ProLoser|Mac has quit IRC
[17:02:24] *** joroc has joined #angularjs
[17:02:46] *** dmrs has quit IRC
[17:02:53] *** sonicparke|bradm has quit IRC
[17:03:09] *** sonicparke|bradm has joined #angularjs
[17:03:15] <christo_m> dmack: one last question (lies)
[17:03:29] <dmack> dont lie to me boy
[17:03:29] *** julaboy__ has quit IRC
[17:03:30] *** jak124124 has joined #angularjs
[17:03:32] *** dannyc has quit IRC
[17:03:33] <christo_m> if i want to fire something after ng-bind-html has bound html to an element
[17:03:37] *** sonicparke|bradm has quit IRC
[17:03:41] <christo_m> is it enough to just $scope.$watch it?
[17:03:48] <dmack> define "fire something"
[17:03:49] <christo_m> im noticing sometimse it works, sometimes its out of order.
[17:03:59] *** julaboy_ has joined #angularjs
[17:04:01] <christo_m> well, im building some things by drawing a canvas based on the html ive loaded
[17:04:12] <christo_m> the problem is that stuff needs to be there before i can invoke that method.
[17:04:29] <dmack> you might have to write a custom directive. possibly could hook into compile
[17:04:40] *** Una has quit IRC
[17:04:42] *** julaboy has quit IRC
[17:04:44] <dmack> $watch may work, but since it's HTML, not sure
[17:04:45] <christo_m> and then listen to when the element changes?
[17:04:48] <dmack> guess its just a string
[17:04:51] <christo_m> correct
[17:04:55] <dmack> wrap it in a directive
[17:04:59] <dmack> do your $watch there
[17:05:05] *** Una has joined #angularjs
[17:05:06] <christo_m> the thing is, theres definitely a lag between when the variable changes, and when its actually bound in the DOM
[17:05:15] *** busticated has joined #angularjs
[17:05:19] <christo_m> so it isnt enough to just watch the scope var
[17:05:32] *** chaohuanghong1 has joined #angularjs
[17:05:34] <christo_m> but yes, it is a directive, ill do it there
[17:05:37] <christo_m> instead of the controller that houses it.
[17:05:46] <dmack> right, you're getting into the nitty gritty now
[17:05:53] <dmack> stuff gets weird
[17:06:02] <dmack> look at the compile documentation.
[17:06:05] <dmack> pre/post link
[17:06:14] *** aven1 has quit IRC
[17:06:19] *** azizur has joined #angularjs
[17:06:26] <dmack> jlebrech: sup with your directive?
[17:06:29] *** FishErr has quit IRC
[17:06:33] <ericbutters> i want to edit heading of an accordion by clicking on a button. so i want to get a "dialog" or "popup" frame with an input box. how to archive that with angular?
[17:06:48] *** chaohuanghong has quit IRC
[17:07:30] *** mary5030 has quit IRC
[17:07:51] <jlebrech> dmack: i'm trying to pass attributes into it.
[17:07:59] <christo_m> dmack: so i have to take my regular link: function in my directive and nest it in a compile pre or post right?
[17:08:01] <jlebrech> dmack: @, & and = confuse me
[17:08:12] <dmack> so "
[17:08:30] <dmack> "action" in your case, will just pass the string
[17:08:36] <dmack> because you've set it to "@"
[17:08:56] <dmack> christo_m: yeah. there's pretty good docs on the angular site about the whole pre/post/compile process
[17:09:01] *** jak124124 has quit IRC
[17:09:30] *** zarglex has quit IRC
[17:09:53] *** pilbender has joined #angularjs
[17:10:13] <dmack> action_name in your template should be actionName
[17:10:15] *** julaboy_ has quit IRC
[17:10:28] *** julaboy has joined #angularjs
[17:10:33] <dmack> guess I don't really know what the directive does :P
[17:10:53] <jlebrech> thanks
[17:10:57] *** bkuberek has joined #angularjs
[17:11:20] *** adben- has quit IRC
[17:11:39] <_45kb> i tryed using the tabindex but won't work
[17:11:53] *** arpu has quit IRC
[17:11:55] *** Una has quit IRC
[17:12:08] *** arpu has joined #angularjs
[17:12:29] *** debunk has quit IRC
[17:12:29] *** jak124124 has joined #angularjs
[17:12:34] *** Ephemeral has quit IRC
[17:12:51] *** Abhi_ has quit IRC
[17:13:29] *** zlalanne has joined #angularjs
[17:14:48] *** Una has joined #angularjs
[17:14:58] *** scythe__ has quit IRC
[17:15:29] *** \du has quit IRC
[17:15:43] *** chrisshattuck has quit IRC
[17:15:52] *** mite_mitreski has quit IRC
[17:16:12] *** scythe__ has joined #angularjs
[17:16:37] <dmack> christo_m: this is pretty good guide also
[17:17:46] *** prbc_ has joined #angularjs
[17:17:46] *** hugofirth has joined #angularjs
[17:17:51] *** jao has joined #angularjs
[17:18:06] *** jao is now known as Guest42723
[17:18:30] *** tangorri has joined #angularjs
[17:18:35] *** __danima_ has joined #angularjs
[17:19:14] *** IvailoStoianov has joined #angularjs
[17:19:53] *** falk_netstyler has quit IRC
[17:19:53] *** jaredwilli has joined #angularjs
[17:19:53] <Guest42723> I am an experienced developer but brand new to everything that runs in the browser. I am comfortable in javascript. Very basic question about angular.js: How does angular get hold of the html before it gets rendered?
[17:19:53] *** julaboy has quit IRC
[17:19:53] <tangorri> join #jetbrains
[17:19:54] *** evotuned has joined #angularjs
[17:20:01] *** Foxandxss has quit IRC
[17:20:28] *** illume has quit IRC
[17:21:09] *** Nurbs has quit IRC
[17:21:18] <s3shs> Guest42723, I believe it extracts the "ng-app" outer div until it gets itself loaded. And then angular does the rendering by inserting the dynamic html. Or something like that.
[17:21:40] <s3shs> Remember the angular.js gets fetched first.
[17:21:42] *** Nurbs has joined #angularjs
[17:21:46] <s3shs> And thus executed.
[17:21:46] *** cthrax has joined #angularjs
[17:22:06] <drag0nius> does ng-include inherit scope?
[17:22:11] *** mspier|away is now known as mspier
[17:22:25] *** Roots47 has joined #angularjs
[17:22:29] *** sahbeewah has quit IRC
[17:22:32] <tangorri> drag0nius : by default yes
[17:22:34] *** ccohn has quit IRC
[17:22:39] <drag0nius> like i have long piece of html belonging to same controller, but i want to move it to another file for clarity
[17:22:41] *** mrwn has quit IRC
[17:22:42] *** __danimal__ has quit IRC
[17:22:45] <tangorri> you can
[17:22:48] *** tripu has quit IRC
[17:22:48] <s3shs> drag0nius, the stuff inside the include can access outer scopes in controllers you nest them im.
[17:22:50] <s3shs> in
[17:23:02] <Roots47> Hey guys, is there a way to access the attrs of a directive from a jasmine test FOLLOWING the link function such that if I change an attribute value in the link function it will show up in the test?
[17:23:08] <drag0nius> it works 'just so' i don't need to call $parentScope or anything like it?
[17:23:15] <tangorri> nope
[17:23:27] <tangorri> same as inline html
[17:23:32] <drag0nius> ok, thanks
[17:23:33] <s3shs> drag0nius, if you access your data through objects in the scope you should be good to go.
[17:23:39] *** D-Boy has quit IRC
[17:23:40] <tangorri> that said I recommand using controllerAs
[17:23:51] <drag0nius> yeah, i am using it everywhere i can
[17:23:59] *** AngularUI has joined #angularjs
[17:24:00] *** AngularUI has left #angularjs
[17:24:00] <drag0nius> sux not to know where variable came from
[17:24:09] <Guest42723> So the browser parses the HTML and executes it enough to see the loading of the angular.js script, and then: HTML -> DOM -> JS (including angular) -> rendering?
[17:24:16] *** encryptd_fractl has quit IRC
[17:24:20] *** F1LT3R has joined #angularjs
[17:24:30] *** lsiv568 has quit IRC
[17:24:40] *** techsethi_ has joined #angularjs
[17:24:49] *** lsiv568 has joined #angularjs
[17:24:53] *** tty has quit IRC
[17:25:05] *** Sbrun has joined #angularjs
[17:26:10] *** Linell has joined #angularjs
[17:26:16] *** jak124124 has quit IRC
[17:26:22] *** Slowintrepid has quit IRC
[17:26:38] *** nickgs has quit IRC
[17:26:47] *** pilbender has left #angularjs
[17:26:52] *** Nurbs has quit IRC
[17:26:53] *** arabot has joined #angularjs
[17:28:01] *** Oxynum has quit IRC
[17:28:11] *** chrisshattuck has joined #angularjs
[17:28:38] *** encryptd_fractl has joined #angularjs
[17:28:53] <tangorri> Guest17242 : the docs explain it well
[17:29:08] *** chrisshattuck has quit IRC
[17:29:11] <Guest17242> tangorri I concur
[17:29:21] <tangorri> it parse de entire dom, when it meets directives, watchers etc it compiles
[17:29:42] *** Slowintrepid has joined #angularjs
[17:30:02] *** sinious has joined #angularjs
[17:30:09] *** bayousoft has quit IRC
[17:30:22] *** MrBaboon has joined #angularjs
[17:30:39] *** whitebook has joined #angularjs
[17:30:45] *** bayousoft has joined #angularjs
[17:30:46] *** mzabriskie has joined #angularjs
[17:31:00] *** nodie has joined #angularjs
[17:31:04] <nodie> hi
[17:31:16] <nodie> question regarding debugging or playing with angular from chrome console
[17:31:30] *** D-Boy has joined #angularjs
[17:31:36] <drag0nius> is there some `value | empty: 'default value'` filter?
[17:31:39] <nodie> I'm trying to click on a link using Jquery from chrome console, the link has ng-click in it
[17:32:18] <nodie> I can find the link using its id... but when I $("#id").click() it I don't see any of the console log messages that I've in the angularjs scoped func
[17:32:26] *** aven1 has joined #angularjs
[17:32:40] <nodie> how can I fire the "onClick" on the link? is it possible using jquery or plan simple javascript?
[17:32:56] <tangorri> drag0nius : like in js : myVar = otherVar || defaultVar;
[17:33:05] <drag0nius> hmm... right
[17:33:07] *** juanluisrp has quit IRC
[17:33:51] <drag0nius> can i even use it in a template?
[17:35:18] *** MrBaboon has quit IRC
[17:35:49] *** dave_boling has quit IRC
[17:36:02] <drag0nius> ok, for some weird reason it was using Django template language to hint angular templates
[17:36:04] *** joroc has quit IRC
[17:36:48] *** Fenikkusu has quit IRC
[17:37:17] *** dsdeiz has joined #angularjs
[17:38:14] *** hugofirth has quit IRC
[17:38:53] *** _45kb has quit IRC
[17:39:32] *** Guest42723 has quit IRC
[17:39:49] *** renlo has joined #angularjs
[17:39:58] *** Guest42723 has joined #angularjs
[17:40:14] *** mchammer has joined #angularjs
[17:41:16] *** guilbep has quit IRC
[17:41:18] *** encryptd_fractl has quit IRC
[17:42:10] *** tarnus has quit IRC
[17:42:12] *** scythe__ has quit IRC
[17:42:19] *** davesidious has quit IRC
[17:44:58] *** sturmination has quit IRC
[17:45:18] *** mchapman has quit IRC
[17:45:20] *** hugofirth has joined #angularjs
[17:45:23] *** encryptd_fractl has joined #angularjs
[17:45:25] *** kakashiAL has joined #angularjs
[17:45:31] *** scythe__ has joined #angularjs
[17:46:12] *** tarnus has joined #angularjs
[17:46:15] *** evanjs has quit IRC
[17:46:43] *** evanjs has joined #angularjs
[17:47:43] *** Sbrun is now known as Nurbs
[17:47:47] *** moogey has joined #angularjs
[17:47:49] <s3shs> tangorri, and what if the caller passes otherVar as zero?
[17:48:07] *** deanclkclk has quit IRC
[17:48:24] *** sigurding has quit IRC
[17:48:38] *** scythe__ has quit IRC
[17:48:41] <macabre> does anyone know if ui-grid plays nicely with a specific date picket?
[17:48:54] *** SoulBlade has joined #angularjs
[17:49:22] *** ml has quit IRC
[17:49:24] <tangorri> s3shs : I think it defpends the angulars version
[17:49:44] *** Superhard has joined #angularjs
[17:49:47] <tangorri> classic js 0 is considered as undefined btw
[17:49:50] *** poacher2k has joined #angularjs
[17:50:09] *** deanclkclk has joined #angularjs
[17:50:10] <poacher2k> hey! anyone know if it's possible to use ngAria with angular 1.2 ?
[17:50:11] *** ericbutters has quit IRC
[17:50:18] <s3shs> tangorri, look at 'angular.isUndefined()'
[17:50:31] <s3shs> You can also do angular.isUndefined(val) || val === null
[17:50:48] <s3shs> (And you can define a function to do just that.)
[17:51:01] <s3shs> The whole v1 || v2 trick would be cool if javascript had an ounce of consistency.
[17:51:06] *** tschundeee has quit IRC
[17:51:10] <s3shs> But alas, it does not.
[17:51:23] *** Poppa is now known as Poppabear
[17:51:25] *** moogey has left #angularjs
[17:51:39] *** tschundeee has joined #angularjs
[17:51:43]
<jaydubya> I am creating an ng-grid with 9 "default" columns and an ability for a user to select from several more columns and choose up to 4. I have a solution in progress that is working but it is very verbose and I was wondering if there was a way in javascript to refactor this so it would be more readable and easier to maintain. https://gist.github.com/anonymous/676798ca0a17b9e1633f
[17:51:48] *** greengriminal has joined #angularjs
[17:52:00] <s3shs> jaydubya, ng-grid 2 or 3?
[17:52:48] <s3shs> I think what you'll want to do is make your grid with the max cols the user can have, and then just hide the columns you don't want.
[17:52:48] <jaydubya> 2.0.14
[17:53:00] <s3shs> 2 is nasty. I think 3 will be a better bet.
[17:53:13] <jaydubya> is 3 ui-grid?
[17:53:13] *** plekplek has quit IRC
[17:53:14] <s3shs> 3 is a complete rewrite written by a really smart guy.
[17:53:35] *** laurensclaessen has quit IRC
[17:53:41] <s3shs> This is what I get for taking a few months off from this stuff.
[17:53:52] *** moogey has joined #angularjs
[17:54:09] *** moogey has quit IRC
[17:54:14] *** recurrence has joined #angularjs
[17:54:18] <jaydubya> not smart enough to keep one of its better features -- ng-grid's drag-and-drop grouping is unique and grouping has been dropped from ui-grid
[17:54:25] *** Superhard has quit IRC
[17:54:27] *** moogey has joined #angularjs
[17:54:49] <s3shs> The grids I use are all pretty straight forward. I haven't done grouping.
[17:55:07] *** borisk_ has quit IRC
[17:55:08] <s3shs> ui-grid 3 has smarter scrollbars and better display... and just plain executes less code.
[17:55:10] <markalanevans> And it worked?
[17:55:12] <markalanevans> for black?
[17:55:14] <s3shs> And smarter scrolling.
[17:55:20] *** ogdabou has quit IRC
[17:55:24] *** lsiv568 has quit IRC
[17:56:11] *** ximenean_ has quit IRC
[17:56:18] *** tschundeee has quit IRC
[17:56:40] *** sonofdirt has joined #angularjs
[17:56:55] *** bzitzow has joined #angularjs
[17:57:02] *** mikehaas763 has joined #angularjs
[17:57:16] *** jiverson has joined #angularjs
[17:57:30] *** nickgs has joined #angularjs
[17:57:42] *** zwacky has joined #angularjs
[17:58:32] *** boneskull has quit IRC
[17:58:36] *** patrick99e99 has joined #angularjs
[17:58:59] <jaydubya> nickeddy: are you around?
[17:59:11] <s3shs> jaydubya, it appears ui-grid 3 has "hide column".
[17:59:25] *** g33k5z_ has quit IRC
[17:59:51] *** g33k5z has joined #angularjs
[18:00:18] <jaydubya> ng-grid and visibility: none but I couldn't find a way to make it dynamic so it wouldn't save me from having to "compose" a columnDefs object by hand
[18:00:19] *** g33k5z has joined #angularjs
[18:00:25] <nickeddy> jaydubya: what's up
[18:00:28] <jaydubya> ng-grad has^
[18:00:38] <jaydubya> nickeddy: you have a second?
[18:00:42] <nickeddy> sure
[18:00:48] *** ximenean_ has joined #angularjs
[18:01:25] *** Hestil_ has joined #angularjs
[18:01:36]
<jaydubya> can you look at this and see if there is some of your javascript kung-fu to make this more readable and maintainable --- not finished it yet but there's enough there to see where I am going ... thanks https://gist.github.com/anonymous/676798ca0a17b9e1633f
[18:01:49] <nickeddy> oh
[18:01:52] <nickeddy> sec
[18:01:55] <jaydubya> k
[18:01:58] *** nfroidure has quit IRC
[18:02:02] *** richiebkr has joined #angularjs
[18:02:15] *** Hestil has quit IRC
[18:02:28] *** joroc has joined #angularjs
[18:02:39] <nickeddy> jaydubya: just make the { visibility: $scope.user.viewoptions.view_commit_arm } in your columndefs
[18:02:48] *** Slowintrepid has quit IRC
[18:02:54] <nickeddy> err sorry
[18:03:07] <nickeddy> visible: $scope.user.viewoptions.blahbhlah
[18:03:19] *** SomeKittens has joined #angularjs
[18:03:32] *** patrick99e99 has quit IRC
[18:04:53] *** laurensclaessen has joined #angularjs
[18:06:07] *** aven1 has quit IRC
[18:06:13] *** rikko has joined #angularjs
[18:06:14] *** tfennelly has joined #angularjs
[18:06:23] <jaydubya> nickeddy: for the default 9, just hard-code true?
[18:06:44] *** shinnya has quit IRC
[18:06:45] <jaydubya> and that would save all of the if clauses
[18:07:01] <mylord> for directives, how can I assign the function that will set the scope?
[18:07:17] *** mtho11 has quit IRC
[18:07:19] *** jMyles has joined #angularjs
[18:07:31] *** renlo has quit IRC
[18:07:36] <nickeddy> jaydubya: the default is already true
[18:07:40] *** nickgs has quit IRC
[18:07:47] *** mtho11 has joined #angularjs
[18:07:53] *** TeddyMurray has joined #angularjs
[18:08:06] *** nickgs has joined #angularjs
[18:08:54] *** tfennelly has quit IRC
[18:08:55] *** jdivock has quit IRC
[18:09:23] *** ianpirro has joined #angularjs
[18:09:31] *** jdivock has joined #angularjs
[18:09:41] *** hugofirth has quit IRC
[18:10:11] *** ron1 has joined #angularjs
[18:10:17] *** pknordic_ has quit IRC
[18:10:28] *** davi has joined #angularjs
[18:10:52] *** sbellina has quit IRC
[18:10:58] <ron1> is there a default for ng-model? for example my model is often null, but i dont want the form empty, i want a fake password there
[18:11:33] *** g33k5z has quit IRC
[18:11:38] <ron1> eg, ng-model="user.password || 'placeholder'"
[18:12:00] *** g33k5z has joined #angularjs
[18:12:17] *** nickgs has quit IRC
[18:12:31] *** jonasliljestrand has quit IRC
[18:12:39] *** achrafinnovic has joined #angularjs
[18:12:51] <achrafinnovic> Hi
[18:13:08] *** bayousoft has quit IRC
[18:13:35] *** bayousoft has joined #angularjs
[18:14:03] *** jdivock has quit IRC
[18:14:11] <Roots47> Hey guys, is there a way to access the attrs of a directive from a jasmine test FOLLOWING the link function such that if I change an attribute value in the link function it will show up in the test?
[18:14:34] *** cacts has joined #angularjs
[18:14:39] *** Raging_Hog has joined #angularjs
[18:14:56] *** JR___ has joined #angularjs
[18:14:58] *** silo- has joined #angularjs
[18:16:14] *** ronnyek has joined #angularjs
[18:16:23] *** DevX101 has joined #angularjs
[18:16:51] <ronnyek> I am trying to build an angular directive... is there a way I can ahve the extent of my directive be an additional attribute on an input? eg, my-directive="some parameter"
[18:16:53] *** JesseH has joined #angularjs
[18:17:00] <moogey> Roots47: element.attr("{attribute}")
[18:17:45] <ronnyek> was that supposed to be for me?
[18:18:24] *** Guest42723 has quit IRC
[18:18:33] *** sigurding has joined #angularjs
[18:19:12] *** g33k5z has quit IRC
[18:19:40] *** JR___ has quit IRC
[18:19:47] *** axsuul has joined #angularjs
[18:20:20] *** Embassy has joined #angularjs
[18:20:22] *** cornerma1 has joined #angularjs
[18:20:44] *** NormySan has joined #angularjs
[18:21:00] *** loverajoel has quit IRC
[18:21:13] *** loverajoel has joined #angularjs
[18:21:23] *** debunk has joined #angularjs
[18:21:45] *** loverajoel has quit IRC
[18:22:15] *** tangorri has quit IRC
[18:22:15] *** MaxV has quit IRC
[18:22:25] *** tschundeee has joined #angularjs
[18:23:04] *** hrrz has joined #angularjs
[18:23:36] <hrrz> hey, i'm searching for a way to have video played in my app. but i want to have custom settings for my video player (timed popups, subtitles etc)
[18:23:40] *** cornerman has quit IRC
[18:23:42] *** cornerma1 is now known as cornerman
[18:23:51] <TweedleDee> can you put different ng-models on different options of a select?
[18:24:20] *** jacuqesdancona has quit IRC
[18:24:26] <TweedleDee> so that if I selected option 1 it updated ctrl.example.a but if I selected option 2, it would update ctrl.example.b
[18:24:41] *** g33k5z has joined #angularjs
[18:24:43] *** TommyO has joined #angularjs
[18:24:54] *** jacuqesdancona has joined #angularjs
[18:25:14] *** Skrypter has joined #angularjs
[18:25:21] *** bmac has quit IRC
[18:25:38] *** SahanH has joined #angularjs
[18:26:06] *** g33k5z has quit IRC
[18:26:13] *** jdivock has joined #angularjs
[18:26:28] *** whiteboo_ has joined #angularjs
[18:26:34] *** g33k5z has joined #angularjs
[18:26:48] *** shampine has joined #angularjs
[18:26:48] *** shampine has joined #angularjs
[18:27:18] *** ggrzybek has quit IRC
[18:27:23] *** eguneys has joined #angularjs
[18:27:45] *** pilva has quit IRC
[18:27:47] *** jtimon has quit IRC
[18:27:50] *** jonasliljestrand has joined #angularjs
[18:28:06] *** SoulBlade has quit IRC
[18:28:06] *** ggrzybek has joined #angularjs
[18:28:33] *** phzon has quit IRC
[18:28:35] *** whitebook has quit IRC
[18:28:45] *** iateadonut has joined #angularjs
[18:28:51] *** DevX101 has quit IRC
[18:28:57] *** ggrzybek has quit IRC
[18:29:14] *** tschundeee has quit IRC
[18:29:25] *** DevX101 has joined #angularjs
[18:29:31] *** jacuqesdancona has quit IRC
[18:29:45] *** hrrz has quit IRC
[18:29:53] *** Skrypter has quit IRC
[18:30:15] *** mikehaas763 has quit IRC
[18:30:52] *** g33k5z has quit IRC
[18:30:59] *** kuzz0 has quit IRC
[18:31:31] *** chiburbs has quit IRC
[18:31:50] *** chiburbs has joined #angularjs
[18:32:08] *** sk87 has quit IRC
[18:32:09] *** Leon has quit IRC
[18:32:29] *** aven1 has joined #angularjs
[18:33:07] *** Inoperable has joined #angularjs
[18:33:12] <drag0nius> what to do if gulp doesn't make files in right order?
[18:34:25] <drag0nius> basically my 'conf' module is required by most other modules, but it's put as the last script
[18:34:42] <drag0nius> i'm using generator-gulp-angular
[18:35:46] *** mchapman has joined #angularjs
[18:36:16] *** joroc has quit IRC
[18:36:45] *** eguneys has quit IRC
[18:37:35] *** juampy_backlater is now known as juampy
[18:38:33] *** jonasliljestrand has quit IRC
[18:38:37] <poacher2k> anyone ever experienced $http.post().success not being called on a successful request?
[18:39:05] *** deens has joined #angularjs
[18:39:18] *** Jagga has joined #angularjs
[18:39:22] *** Sebastien-L has joined #angularjs
[18:39:26] *** richiebk_ has joined #angularjs
[18:39:27] *** DevX101 has quit IRC
[18:40:10] *** jlebrech has quit IRC
[18:40:34] *** kpax has quit IRC
[18:40:55] *** scythe__ has joined #angularjs
[18:41:00] *** DevX101 has joined #angularjs
[18:41:24] *** richiebkr has quit IRC
[18:41:26] *** nickgs has joined #angularjs
[18:41:51] *** cliluw has quit IRC
[18:43:10] *** tilgovi has joined #angularjs
[18:45:20] *** bmac has joined #angularjs
[18:45:21] *** DevX101 has quit IRC
[18:45:39] *** whiteboo_ has quit IRC
[18:46:23] *** ProLoser|Mac has joined #angularjs
[18:46:24] *** alinou has joined #angularjs
[18:46:43] *** Aliks has joined #angularjs
[18:48:38] *** albivian has left #angularjs
[18:49:10] *** bayousoft has quit IRC
[18:49:27] <jaydubya> is the :selected attribute automatically added by Angular and if so, can you access it somehow?
[18:49:46] *** qdk has quit IRC
[18:49:49] *** whunt has joined #angularjs
[18:50:00] *** bayousoft has joined #angularjs
[18:50:21] *** cliluw has joined #angularjs
[18:50:33] *** ManBearPixel has joined #angularjs
[18:50:48] *** ManBearPixel has left #angularjs
[18:50:54] *** ProLoser|Mac has quit IRC
[18:50:56] *** nickgs has quit IRC
[18:51:01] *** Aliks has quit IRC
[18:51:05] *** m8 has quit IRC
[18:51:09] *** ManBearPixel has joined #angularjs
[18:51:26] *** cliluw has quit IRC
[18:52:00] *** snurfery has joined #angularjs
[18:52:07] *** ron1 has quit IRC
[18:52:12] *** ximenean_ has quit IRC
[18:52:35] *** csduarte_ has quit IRC
[18:52:36] <drag0nius> so
[18:52:45] <drag0nius> what do i do if gulp loads files in wrong order?
[18:52:48] *** cliluw has joined #angularjs
[18:52:51] *** jdivock has quit IRC
[18:53:13] <snurfery> drag0nius: specify the ones that need to be in specific order manually
[18:53:14] *** ximenean_ has joined #angularjs
[18:53:27] *** jdivock has joined #angularjs
[18:53:27] <snurfery> otherwise it does it alphabetically I think
[18:53:32] <snurfery> mornin yall
[18:53:33] *** jdivock has quit IRC
[18:53:48] *** jdivock has joined #angularjs
[18:54:02] *** laurensclaessen has quit IRC
[18:54:31] *** saucey has quit IRC
[18:54:43] *** Ajans1 has quit IRC
[18:54:55] *** Mxyzpltk has joined #angularjs
[18:55:16] <drag0nius> how about angular-loader? it said something like requiring it enables loading modules in any order?
[18:55:27] *** RobinBAwesome has joined #angularjs
[18:55:29] *** jonasliljestrand has joined #angularjs
[18:56:19] *** robdubya has quit IRC
[18:56:21] *** MrBaboon has joined #angularjs
[18:56:26] *** cacts|wtf has joined #angularjs
[18:56:52] *** shackleford has quit IRC
[18:57:22] *** gaboesquivel has joined #angularjs
[18:57:54] *** bengillies has quit IRC
[18:57:57] *** andresdrojas has quit IRC
[18:58:20] *** mspier is now known as mspier|away
[18:58:21] *** bengillies has joined #angularjs
[18:58:59] *** guy has quit IRC
[18:59:16] *** jdivock has quit IRC
[18:59:40] *** cacts has quit IRC
[18:59:47] *** crised has joined #angularjs
[18:59:57] *** IvailoStoianov has quit IRC
[19:00:10] *** Siyfion has quit IRC
[19:00:13] <crised> Has anyone used angular with resteasy?
[19:00:29] <mylord> where should I put server api calls related to my custom directives? in the directive controller or just my controller?
[19:00:47] <crised> Which poll mechanism is easy to use with angular? polling, long polling , server side events?
[19:01:17] *** mspier|away is now known as mspier
[19:01:33] *** mzabriskie has quit IRC
[19:01:59] *** safani has quit IRC
[19:01:59] *** KushS has joined #angularjs
[19:02:10] *** mrwhite has quit IRC
[19:02:11] <zwacky> mylord if you have multiple directives in play, you may want to consider putting your api calls into a service and inject that
[19:02:20] *** mzabriskie has joined #angularjs
[19:02:32] *** joroc has joined #angularjs
[19:02:45] <zwacky> mylord, having functionality in services is generally a good way to go, even for directives alone
[19:02:47] *** bengillies has quit IRC
[19:02:55] *** asheshambasta has left #angularjs
[19:02:59] <mylord> swacky, that’s what i do, but i was injecting it into my state(?) controller and not the directive’s controller..
[19:03:03] *** sonofdirt has quit IRC
[19:03:26] <mylord> so, now the q is whether to move controller logic to directive controller
[19:03:38] *** sonofdirt has joined #angularjs
[19:03:45] <mylord> and, if everything is in directive controllers, what’s the point of the other controllers?
[19:04:30] *** zz_night-owl is now known as night-owl
[19:04:31] *** hell_razer has quit IRC
[19:04:38] <zwacky> mylord, i tend to just pass the relevant things over attributes and isolated scope
[19:04:44] *** tristanp has quit IRC
[19:04:44] <zwacky> to my directives
[19:04:45] <snurfery> yup
[19:04:47] *** ekarlso- has joined #angularjs
[19:04:52] <ekarlso-> hey guys
[19:04:57] <ekarlso-> how far off is 2.0 ? :D
[19:05:01] *** goodenough has quit IRC
[19:05:18] *** Reskp has joined #angularjs
[19:05:19] <zwacky> so all the glueing happens in the non-directive controller and the calls happen in the injected services/factories
[19:05:27] *** goodenough has joined #angularjs
[19:05:31] *** despai has joined #angularjs
[19:05:33] *** Skrypter has joined #angularjs
[19:05:41] *** evilaliv3 has joined #angularjs
[19:05:56] <zwacky> ekarlso-, pretty far off
[19:06:04] *** aven1 has quit IRC
[19:06:05] <jaawerth> directive controllers are useful for both inter-directive communication and exposing an API to the directive
[19:06:18] <zwacky> ^
[19:06:20] <jaawerth> the other controllers are for setting stuff up on a higher level
[19:06:31] <zwacky> exactly. just depends on your use case
[19:06:32] *** ximenean_ has quit IRC
[19:06:34] *** wallerdev has joined #angularjs
[19:07:06] *** rchavik has quit IRC
[19:07:39] *** ivor has quit IRC
[19:08:07] *** cotko has quit IRC
[19:08:13] *** sonofdirt has quit IRC
[19:08:35] *** opiates has quit IRC
[19:08:40] *** night-owl is now known as zz_night-owl
[19:09:04] *** ron1 has joined #angularjs
[19:09:41] *** IvailoStoianov has joined #angularjs
[19:09:51] *** KD9AUS has joined #angularjs
[19:09:56] *** KD9AUS has quit IRC
[19:10:52] *** ioudas has quit IRC
[19:10:55] *** rikko has quit IRC
[19:11:03] *** gregc2 has joined #angularjs
[19:11:03] *** gregc2 is now known as ioudas
[19:11:05] *** codecone has joined #angularjs
[19:11:16] *** sigurding has quit IRC
[19:11:57] *** CodeFriar has quit IRC
[19:11:57] *** KD9AUS has joined #angularjs
[19:12:15] *** opiates has joined #angularjs
[19:12:39] *** JesseH has quit IRC
[19:12:39] *** iribarne has joined #angularjs
[19:13:26] *** tristanp has joined #angularjs
[19:14:14] *** bayousoft has quit IRC
[19:15:00] *** chiburbs has quit IRC
[19:15:07] *** bayousoft has joined #angularjs
[19:15:10] *** AimerPaddle has joined #angularjs
[19:15:28] *** zwacky has quit IRC
[19:15:43] *** CodeFriar has joined #angularjs
[19:16:39] *** StoneCypher has joined #angularjs
[19:16:59] *** AimerPaddle has quit IRC
[19:17:18] *** Roots47 has quit IRC
[19:17:18] *** treeface has joined #angularjs
[19:17:19] *** AimerPaddle has joined #angularjs
[19:17:31] *** Aerospark has joined #angularjs
[19:18:08] *** loverajoel has joined #angularjs
[19:18:33] *** KushS has quit IRC
[19:18:36] *** rikko has joined #angularjs
[19:18:57] *** zumba_addict has joined #angularjs
[19:19:08] *** chiburbs has joined #angularjs
[19:19:52] *** Raging_Hog has quit IRC
[19:19:55] *** JERE has quit IRC
[19:20:47] *** Bade has joined #angularjs
[19:21:09] *** goodenough has quit IRC
[19:21:54] *** KD9AUS has quit IRC
[19:22:09] *** JERE has joined #angularjs
[19:22:29] *** tomfriedhof has joined #angularjs
[19:22:36] *** jdivock has joined #angularjs
[19:22:57] *** dsdeiz has quit IRC
[19:23:11] *** durnik has joined #angularjs
[19:23:42] *** qdk has joined #angularjs
[19:23:44] *** Aerospark has quit IRC
[19:24:55] *** robdubya has joined #angularjs
[19:25:09] *** Aerospark has joined #angularjs
[19:25:14] *** tschundeee has joined #angularjs
[19:26:02] *** markwu has quit IRC
[19:26:28] *** bbankes has quit IRC
[19:26:49] *** g33k5z has joined #angularjs
[19:27:02] *** csduarte has joined #angularjs
[19:27:18] *** zwacky has joined #angularjs
[19:27:23] *** shackleford has joined #angularjs
[19:27:27] *** Hestil_ has quit IRC
[19:27:33] *** KushS has joined #angularjs
[19:28:06] *** bayousoft has quit IRC
[19:28:14] *** Reskp has quit IRC
[19:29:57] *** tschundeee has quit IRC
[19:31:10] *** sonofdirt has joined #angularjs
[19:31:33] *** lexek_ has joined #angularjs
[19:32:03] *** mbenadda has quit IRC
[19:32:12] <dmack> TIL you can't put a <form> inside a table
[19:32:13] *** jtimon has joined #angularjs
[19:32:29] *** mbenadda has joined #angularjs
[19:32:31] <dmack> crised: sockets
[19:32:31] *** g33k5z has quit IRC
[19:32:32] *** aven1 has joined #angularjs
[19:32:40] *** platonic has joined #angularjs
[19:32:47] *** nodie has quit IRC
[19:33:00] *** laax has quit IRC
[19:34:02] *** shackleford has quit IRC
[19:34:07] <crised> dmack: surely an option, but it doesn't seems like the simplest one
[19:34:12] *** CodeFriar has quit IRC
[19:34:28] *** CodeFriar has joined #angularjs
[19:34:43] <dmack> sockets are pretty trivial actually
[19:34:51] <dmack> longpolling sucks, but it's easy to implement
[19:35:06] *** joroc has quit IRC
[19:35:10] *** DevX101 has joined #angularjs
[19:35:31] *** jacuqesdancona has joined #angularjs
[19:35:34] *** bbankes has joined #angularjs
[19:36:07] *** Linell has quit IRC
[19:36:29] *** RedOrangeZ has quit IRC
[19:36:34] *** mary5030 has joined #angularjs
[19:37:26] *** nuizzy has joined #angularjs
[19:37:28] *** mary5030 has joined #angularjs
[19:37:34] *** herbyme has joined #angularjs
[19:37:49] <oniijin> thx jaawerth
[19:38:28] <jaawerth> heh, no problem
[19:38:37] <jaawerth> get thee to a git update!
[19:38:52] *** cacts|wtf has quit IRC
[19:38:54] *** josh-k has quit IRC
[19:38:59] <oniijin> yeah updatin sourcrtree
[19:39:10] *** lolmaus has quit IRC
[19:39:28] *** KushS has quit IRC
[19:39:29] <jaawerth> (but seriously, everyone here, if you're developing on OSX or Windows you need to update your client)
[19:39:50] *** zapplebee has joined #angularjs
[19:40:03] *** djvirgen has joined #angularjs
[19:40:09] *** jacuqesdancona has quit IRC
[19:40:27] <oniijin> should be fine tho unless ur cloning random repos all over the place
[19:41:17] <dmack> ^
[19:41:22] <jaawerth> I actually have a ~/dev/libs folder with cloned repos of useful or interesting libraries I want to hack at here and there (also it's where I build the docs for some libraries so I can host them offline)
[19:41:27] <dmack> github already protects you from it internally, but may as well update
[19:42:19] <oniijin> sourcrtree's update from yesterday patches vuln, in case anyone's using that
[19:42:22] <jaawerth> that is nice that github is doing that though
[19:42:29] <jaawerth> wonder if bitbucket is doing the same
[19:42:35] *** lsiv568 has joined #angularjs
[19:42:46] <oniijin> i would assume so? they updated their client
[19:42:49] *** KushS has joined #angularjs
[19:42:50] <jaawerth> yeah
[19:43:15] *** FIFOd[a] has quit IRC
[19:44:38] *** KushS has quit IRC
[19:44:45] *** Nivag_ has joined #angularjs
[19:44:56] *** vassagus has quit IRC
[19:45:19] *** zwacky has quit IRC
[19:45:21] *** ximenean_ has joined #angularjs
[19:45:25] *** dsdeiz has joined #angularjs
[19:45:34] <jaawerth> oniijin: that is a downside to developing on linux, no native sourcetree
[19:45:44] *** recurrence has quit IRC
[19:45:57] <dmack> sourcetree is really the only git GUI i use
[19:46:02] *** rafagomes has quit IRC
[19:46:10] <dmack> and i'm not a fan of GUIs typoically
[19:46:23] <dmack> but the gitflow support is quite nice
[19:46:28] <jaawerth> I just use regular git on the command line, but I've put some custom difftools in my git config so I can use either vimdiff or meld (which is very pretty) to look at file differences
[19:46:37] *** lsiv568 has quit IRC
[19:46:45] <oniijin> i never quite liked git cli
[19:46:55] <dmack> it's fine for simple stuff.
[19:46:56] *** Aerospark has quit IRC
[19:46:59] <oniijin> partially i can never remember the commands, but i like being able to see the branching
[19:47:03] <dmack> if you're the only dev on a project
[19:47:07] <dmack> yeah, same
[19:47:14] *** dllama has joined #angularjs
[19:47:14] <jaawerth> oniijin: it's pretty good using zsh, even better with a couple of plugins
[19:47:17] *** lolmaus has joined #angularjs
[19:47:22] <jaawerth> great, great autocompletion
[19:47:28] <oniijin> i like clicking buttons
[19:47:35] <dllama> hey guys, happy friday :)
[19:47:36] <jaawerth> also "cheat"
[19:47:43] <dmack> it all accomplishes the same thing anyway :)
[19:47:44] *** bbankes has quit IRC
[19:47:50] <dmack> the GitHub app is really bad though.
[19:47:59] *** cthrax has quit IRC
[19:48:00] <jaawerth> if you work with command line and get annoyed that you can never remember the exact command for very specific use cases for X, Y, and Z (and the man pages always bury that), check out chea
[19:48:04] <jaawerth> cheat*
[19:48:08] <drag0nius> looks like 'gulp-inject' and 'gulp-angular-filesort' isn't working for me
[19:48:09] <oniijin> i tried tower before, didnt like that much either
[19:49:00] *** DevX101 has quit IRC
[19:49:19]
<dllama> sorry to just jump into it, but i'm a bit stuck, still haven't gotten a great grasp on directives,so some parts a little confusing still. I basically made a "wrapper" for the bootstrap.ui progress bar, (was following their guide but didn't want to keep it the controller and moved it to a directive). would someone please take a look at https://gist.github.com/mvoloz/e744e02fd5b1bb3fd125 and tell me what i'm doing wrong with the values to
[19:49:32] *** Aerospark has joined #angularjs
[19:49:42] *** cthrax has joined #angularjs
[19:49:51] <dllama> with values being passed into the bootstrap.ui directive
[19:50:06] *** marr has quit IRC
[19:50:12] *** mokush has quit IRC
[19:50:22] *** jaredwilli has quit IRC
[19:50:43] *** Embassy has quit IRC
[19:50:46] *** deez79 has quit IRC
[19:50:52] *** marr has joined #angularjs
[19:50:55] *** deez79 has joined #angularjs
[19:50:56] *** alinou has quit IRC
[19:50:58] <jaawerth> dllama: well, as it is now it's going to grab the date once, when the link function runs, and set the info appropriately. Presumably you want it to update, right?
[19:51:17] <dllama> i do want it to update yes
[19:51:29] <jaawerth> so you'll need to use scope.$watch
[19:51:37] <dllama> i'm not returning it from the link function, so am not entirely sure how to return all of it u know
[19:51:46] *** azizur has quit IRC
[19:51:48] <dllama> sorry
[19:51:48] <jaawerth> returning.. what?
[19:51:53] <dllama> not returning the progressRounded values
[19:52:03] *** jstimm has joined #angularjs
[19:52:04] <jaawerth> why would you need to return them?
[19:52:13] *** jstimm has quit IRC
[19:52:17] <dllama> to insert into the template?
[19:52:38] <jaawerth> the link function is where you should manipulate the DOM
[19:52:40] <dllama> i know what you mean about not updating, but my primary thing right now is that it says progressRounded isn't defined
[19:52:52] <jaawerth> it should stay data-bound, in your case
[19:53:27] <jaawerth> just use data-binding in the template like you would anything else, the way you're just doing 'value="' + progressRounded +'... is working around angular's built in functionality
[19:53:40] *** KushS has joined #angularjs
[19:54:04] <jaawerth> ooh, I know what the best way to do this is, rather than scope.watch
[19:54:16] <jaawerth> custom filter time! I'll write you a quick example
[19:54:36] *** Superhard has joined #angularjs
[19:54:38] *** iribarne_ has joined #angularjs
[19:54:52] <jaawerth> welll. or you could just use a function. it's basically the same thing - I'll show you the function first
[19:55:24] *** Aliks has joined #angularjs
[19:55:26] *** Embassy has joined #angularjs
[19:55:37] <dllama> thank you very much!
[19:55:41] *** LakWork has joined #angularjs
[19:55:43] *** lolmaus has quit IRC
[19:56:40] *** LakWork has quit IRC
[19:56:46] *** KushS_ has joined #angularjs
[19:56:48] *** iribarne has quit IRC
[19:56:49] *** iribarne_ is now known as iribarne
[19:57:03] *** hell_razer has joined #angularjs
[19:57:22] *** LakWork has joined #angularjs
[19:57:32] *** ivor has joined #angularjs
[19:57:54] *** KushS has quit IRC
[19:59:01] *** zwacky has joined #angularjs
[19:59:05] *** iribarne has quit IRC
[19:59:18] *** Reskp has joined #angularjs
[19:59:28] *** patrick99e99 has joined #angularjs
[19:59:31] *** hell_razer has joined #angularjs
[19:59:46] *** hell_razer has quit IRC
[20:00:16] *** chrisbirk has quit IRC
[20:00:23] *** hell_razer has joined #angularjs
[20:00:37] *** hell_razer has quit IRC
[20:00:41] *** dmack has quit IRC
[20:00:45] *** axsuul has quit IRC
[20:01:02] *** nfroidure has joined #angularjs
[20:01:04] <poacher2k> anyone got a clue what can cause something that is being bound by ng-bind AND cloaked with ng-cloak to still leak an unparsed expression before completely loaded?
[20:01:18] *** hell_razer has joined #angularjs
[20:01:35] *** hell_razer has quit IRC
[20:01:39] <snurfery> "leak an unparsed expression" <-- whaddya mean
[20:01:45] *** nickgs has joined #angularjs
[20:01:50] <poacher2k> topright corner
[20:01:51] <christo_m> is it possible to capture a click event that does not happen on the directive in question
[20:02:07] <poacher2k> I forget the right term to describe this bug :3
[20:02:08] <christo_m> im basically trying to hide this directive if a click happens somewhere outside of it.
[20:02:10] *** encryptd_fractl has quit IRC
[20:02:13] *** hell_razer has joined #angularjs
[20:02:25] <jaawerth> dllama: does the progress need to be rounded to an integer?
[20:02:34] *** joroc has joined #angularjs
[20:02:36] <christo_m> should i be listening to clicks on a parent scope and then checking it in my directive?
[20:02:37] <dllama> sort of,
[20:02:43] <dllama> otherwise it returns things like 13.3333333333
[20:02:48] <dllama> and would look pretty horrible :)
[20:02:57] *** hell_razer has quit IRC
[20:03:12] <dllama> i mean i can do the rounding in rails
[20:03:15] <jaawerth> aw, plnkr is being a jerk again
[20:03:25] <dllama> if rounding is an issue, i can do it rails side
[20:03:33] *** Fuzzy has joined #angularjs
[20:03:37] *** hell_razer has joined #angularjs
[20:03:44] *** hell_razer has quit IRC
[20:03:48] *** Greed` has joined #angularjs
[20:03:52] *** mchapman has quit IRC
[20:04:03] *** silo has joined #angularjs
[20:04:09] *** omi has joined #angularjs
[20:04:09] *** NormySan^ has joined #angularjs
[20:04:24] <jaawerth> nah
[20:04:27] *** silo is now known as Guest65999
[20:04:29] <jaawerth> just wanted to make sure I understood the use-case
[20:04:33] *** omi is now known as Guest857
[20:04:37] *** patrick99e99 has quit IRC
[20:04:44] *** Aerospar_ has joined #angularjs
[20:04:57] *** aven1 has quit IRC
[20:04:58] *** mal303 has joined #angularjs
[20:05:01] <dllama> thats w/o rounding or setting dynamic styles
[20:05:09] <snurfery> poacher2k: I think you need to manually add the ng-cloak css rule so it hides it even before angular bootstraps
[20:05:23] <dllama> i guess bootstrap.ui defaults to alert, which is pretty scary looking :)
[20:05:27] *** KushS_ has quit IRC
[20:05:36] *** roachiep- has joined #angularjs
[20:05:43] *** shackleford has joined #angularjs
[20:06:13] *** Helzibah_ has joined #angularjs
[20:06:14] *** andreypopp__ has joined #angularjs
[20:06:16] *** mafs__ has joined #angularjs
[20:06:18] <snurfery> poacher2k: see those css rules in there? add that to your styles.css
[20:06:19] *** Phtes__ has joined #angularjs
[20:06:28] *** nickgs has quit IRC
[20:06:31] *** soee_ has joined #angularjs
[20:06:46] *** hkeide__ has joined #angularjs
[20:07:00] *** shackleford has quit IRC
[20:07:29] *** threepwood has joined #angularjs
[20:07:36] *** suffice has joined #angularjs
[20:07:39] *** alanp_ has joined #angularjs
[20:07:39] *** threepwood is now known as Guest81988
[20:07:40] <dllama> snurfery: i was thinking the same, but he said something about a leaked expression, so immediately thought it was above my scope of understanding ;)
[20:07:43] *** kakashiA1 has joined #angularjs
[20:07:48] *** davi_ has joined #angularjs
[20:07:51] *** Nivag__ has joined #angularjs
[20:07:55] *** Tweedle has joined #angularjs
[20:08:00] *** fbe_ has joined #angularjs
[20:08:00] <dllama> and i also typo'd the smilie, it was supposed to be :)
[20:08:03] *** zomg_ has joined #angularjs
[20:08:09] *** rx has joined #angularjs
[20:08:12] *** LakWork has quit IRC
[20:08:13] *** cyth has joined #angularjs
[20:08:20] *** RangeRick has joined #angularjs
[20:08:25] *** Solid1 has joined #angularjs
[20:08:27] *** alanp has quit IRC
[20:08:28] *** alanp_ is now known as alanp
[20:08:29] *** marktraceur is now known as marktraceurWMF
[20:08:33] *** Marble68 has joined #angularjs
[20:08:34] *** patrick-gpl has joined #angularjs
[20:08:34] *** marktraceurWMF is now known as marktraceur
[20:08:35] *** waldenraines has joined #angularjs
[20:08:35] *** mrkretta1 has joined #angularjs
[20:08:35] *** dman777_alter has joined #angularjs
[20:08:39] *** Fuzzier has quit IRC
[20:08:41] *** clamstar has quit IRC
[20:08:41] *** silo- has quit IRC
[20:08:42] *** sinious has quit IRC
[20:08:42] *** mccarrontr1ck has quit IRC
[20:08:43] *** roachiepoopoo has quit IRC
[20:08:43] *** BahamutWC has quit IRC
[20:08:44] *** TrafficMan has quit IRC
[20:08:45] *** rikkus has quit IRC
[20:08:45] *** eyebraus has quit IRC
[20:08:47] *** Helzibah has quit IRC
[20:08:47] *** TweedleDee has quit IRC
[20:08:48] *** walden has quit IRC
[20:08:49] *** cthrax has quit IRC
[20:08:49] *** deens has quit IRC
[20:08:49] *** debunk has quit IRC
[20:08:49] *** kakashiAL has quit IRC
[20:08:50] *** zlalanne has quit IRC
[20:08:51] *** Greed has quit IRC
[20:08:52] *** ulkesh has quit IRC
[20:08:52] *** atomi has quit IRC
[20:08:53] *** Nivag has quit IRC
[20:08:53] *** dman777 has quit IRC
[20:08:54] *** hkeide_ has quit IRC
[20:08:54] *** Phtes_ has quit IRC
[20:08:55] *** suffice_ has quit IRC
[20:08:55] *** zomg has quit IRC
[20:08:56] *** crawleyprint has quit IRC
[20:08:58] *** zwacky has quit IRC
[20:08:58] *** Aerospark has quit IRC
[20:08:58] *** robdubya has quit IRC
[20:08:59] *** Sebastien-L has quit IRC
[20:08:59] *** NormySan has quit IRC
[20:08:59] *** davi has quit IRC
[20:09:00] *** frankh_ has quit IRC
[20:09:00] *** knownasilya has quit IRC
[20:09:01] *** krotscheck has quit IRC
[20:09:01] *** soee has quit IRC
[20:09:02] *** RangerRick has quit IRC
[20:09:04] *** kalz has quit IRC
[20:09:04] *** mrkrettan has quit IRC
[20:09:05] *** Solid1_afk has quit IRC
[20:09:06] *** fbe has quit IRC
[20:09:07] *** paolo has quit IRC
[20:09:07] *** andreypopp_ has quit IRC
[20:09:07] *** mafs_ has quit IRC
[20:09:08] *** cythrawll has quit IRC
[20:09:09] *** Grokling has quit IRC
[20:09:09] *** glitch100 has quit IRC
[20:09:09] *** patrick-1pl has quit IRC
[20:09:10] *** shackleford has joined #angularjs
[20:09:10] *** mccarrontr1ck has joined #angularjs
[20:09:10] *** BahamutWC has joined #angularjs
[20:09:11] *** zwacky has joined #angularjs
[20:09:11] *** atomi_ has joined #angularjs
[20:09:11] *** achrafinnovic has quit IRC
[20:09:12] *** Guest81988 is now known as crawleyprint
[20:09:12] *** shackleford is now known as 16WAAOO19
[20:09:13] *** Nivag__ is now known as Nivag
[20:09:14] *** glitch100 has joined #angularjs
[20:09:14] *** zlalanne_ has joined #angularjs
[20:09:15] *** ulkesh_ has joined #angularjs
[20:09:15] *** cyth is now known as cythrawll
[20:09:16] <dllama> fails all around for me today
[20:09:17] *** krotscheck_ has joined #angularjs
[20:09:17] *** sebastien__ has joined #angularjs
[20:09:17] *** eyebraus has joined #angularjs
[20:09:18] *** debunk has joined #angularjs
[20:09:19] *** rikkus has joined #angularjs
[20:09:22] *** paolo has joined #angularjs
[20:09:23] *** krotscheck_ is now known as krotscheck
[20:09:29] *** Grokling has joined #angularjs
[20:09:44] *** knownasilya has joined #angularjs
[20:10:08] *** rx is now known as clamstar
[20:10:09] *** mafs__ is now known as mafs_
[20:10:26] *** pzuraq has joined #angularjs
[20:10:37] *** mal303 has quit IRC
[20:11:26] *** despai has quit IRC
[20:11:33] *** Phtes__ is now known as Phtes_
[20:11:40] *** chiburbs has quit IRC
[20:11:56] *** hkeide__ is now known as hkeide_
[20:12:04] *** basiclaser_ has quit IRC
[20:12:17] *** DevX101 has joined #angularjs
[20:12:26] <jaawerth> dllama: last question: is the rounding important to setting progressRounded ,etc? if I put that logic in with the non-rounded number and had progressRounded < 49, would you rather it round or would it be fine if 48.7 was still 'warning' ?
[20:12:41] *** kalz has joined #angularjs
[20:12:43] <dllama> that'll be fine
[20:12:50] <dllama> i can always adjust that if needed
[20:12:53] *** tga0 has quit IRC
[20:13:04] *** LakWork has joined #angularjs
[20:13:05] *** iribarne has joined #angularjs
[20:13:08] <snurfery> dllama: heh yeah leaked expression sounds like something you'd wanna visit a doctor for :)
[20:13:08] *** jonasliljestrand has quit IRC
[20:13:39] <snurfery> "... but we always use ng-cloak doctor!"
[20:13:58] *** andreypopp__ is now known as andreypopp_
[20:13:59] *** chiburbs has joined #angularjs
[20:14:36] *** gladely has joined #angularjs
[20:15:00] *** sheplu has joined #angularjs
[20:15:00] *** TrafficMan_ has joined #angularjs
[20:15:09] *** Reskp has quit IRC
[20:15:15] *** Reskp has joined #angularjs
[20:15:35] *** atomical has joined #angularjs
[20:16:57] *** Roots47 has joined #angularjs
[20:17:02] *** Inoperable has quit IRC
[20:17:03] *** phzon has joined #angularjs
[20:17:25] *** woah has joined #angularjs
[20:17:30] *** Guest857 is now known as sinious
[20:18:09] <drag0nius> so, i concatenated all my files, but it still cries about unknown provider
[20:18:10] <drag0nius> any ideas?
[20:18:35] <jaydubya> is the :selected attribute automatically added by Angular and if so, can you access it somehow?
[20:18:51] <drag0nius> jaydubya: what you mean by :selected attribute
[20:19:18] <drag0nius> :selected as you wrote it would be pseudo-class
[20:19:40] *** __danimal__ has joined #angularjs
[20:20:03] <jaydubya> I need to limit a bunch of checkboxes to no more than four. I'm trying to find something to count. When I consoled logged out something else, I saw that selected was being added to the object and was looking into it
[20:20:20] <drag0nius> checkboxes have :checked pseudo class
[20:20:40] <jaydubya> and can that be accessed?
[20:21:21] *** __danim__ has joined #angularjs
[20:21:29] *** phzon has quit IRC
[20:21:31] <drag0nius> actually, there is ng-change
[20:21:41] *** squeaky-clean has joined #angularjs
[20:22:04] *** sonofdir_ has joined #angularjs
[20:22:30] <poacher2k> snurfery: that's already in place :(
[20:22:34] <drag0nius> actually
[20:22:35] <poacher2k> (also sorry for going afk)
[20:22:40] *** Johnny13371337 has joined #angularjs
[20:22:42] *** Johnny13371337 has left #angularjs
[20:22:44] <snurfery> poacher2k: I don't see it in your source or css
[20:22:59] *** __danima_ has quit IRC
[20:23:00] *** julaboy has joined #angularjs
[20:23:08] <poacher2k> it's in index
[20:23:33] <poacher2k> line 13
[20:23:38] *** fouadm has joined #angularjs
[20:23:50] <drag0nius> ctrl.checkboxes = [true,true,true,false]; <input ng-repeat="cb in ctrl.checkboxes" ng-model="cb">
[20:23:52] <drag0nius> something like this
[20:24:02] *** mzabriskie has quit IRC
[20:24:19] <drag0nius> and you should have access to checked state of input element
[20:24:27] *** MistahKurtz has joined #angularjs
[20:24:39] <jaydubya> k, gonna try
[20:24:53] *** __danimal__ has quit IRC
[20:25:13] *** jaredwilli has joined #angularjs
[20:25:18] <poacher2k> snurfery: also, we're using ng-bind, so the cloaking shouldn't even be necessary :p
[20:25:24] *** sonofdir_ has quit IRC
[20:25:32] *** nemothekid has joined #angularjs
[20:25:49] <drag0nius> then you can do like ng-checked="cb && ctrl.getCheckedCount() < 4"
[20:26:03] *** nemothekid has quit IRC
[20:26:11] *** zomg_ is now known as zomg
[20:26:40] <jaydubya> but I actually can't stop them from selecting a fifth ... maybe flash a toastr ... hmmm
[20:26:46] <drag0nius> why not
[20:26:55] <drag0nius> what i just wrote prevents them from checking 4th
[20:27:03] *** yelvert has joined #angularjs
[20:27:12] <drag0nius> but you need to provide that ctrl.getCheckedCount() function
[20:27:18] <jaydubya> LOL, ok, maybe I can stop them
[20:27:23] *** moogey is now known as zz_moogey
[20:27:35] <jaydubya> like disable all the rest?
[20:27:47] <drag0nius> ng-checked sets current checked state of input
[20:27:52] *** LakWork has quit IRC
[20:27:59] *** Hestil has joined #angularjs
[20:28:04] *** tschundeee has joined #angularjs
[20:28:13] *** LakWork has joined #angularjs
[20:28:26] <drag0nius> passing <current_value> && <false if there are enough> makes it un-check stuff
[20:29:57] <jaydubya> ok, I need to plunker it so I can SEE what you are saying because concepts tend to be obtuse on a Friday afternoon
[20:30:14] <drag0nius> it's late evening here :P
[20:30:26] *** annlewis has quit IRC
[20:30:40] <jaydubya> even worse, LOL
[20:30:52] *** ColKurtz has joined #angularjs
[20:30:57] *** jaredwilli has quit IRC
[20:32:20] <dllama> jaawerth: still around bud? :)
[20:32:35] *** aven1 has joined #angularjs
[20:32:39] *** tschundeee has quit IRC
[20:32:43] *** Superhard has quit IRC
[20:32:44] *** Hestil has quit IRC
[20:33:54] *** Linell has joined #angularjs
[20:34:04] <snurfery> poacher2k: not in your footer you aren't
[20:34:06] <jaawerth> dllama: yeah sorry, had someone come into my office
[20:34:34] <jaawerth> dllama: I didn't get it all plugged up properly into the styles and things, so it isn't showing up, but if you inspect the element on devtools you'll see the attributes changing appropriately
[20:34:50] <dllama> thanks, chekcing it now!
[20:35:04] *** JERE has quit IRC
[20:35:17] *** joroc has quit IRC
[20:35:18] *** ProLoser|Mac has joined #angularjs
[20:35:48] *** anderskristo has quit IRC
[20:36:19] <jaawerth> dllama: whoops, go ahead and refresh. i also forgot to update a variable I changed in both places
[20:36:46] *** cellofellow has joined #angularjs
[20:37:03] <jaawerth> dllama: you don't even need a link function!
[20:37:25] <dllama> thank you, this is going into my collection of "guides" :)
[20:37:37] <poacher2k> snurfery: wow, thanks. that ends 2-3 hours of painful debugging
[20:37:40] *** Hestil has joined #angularjs
[20:37:57] <poacher2k> we added that footer quite late in the process, so it has completely and utterly slipped my mind
[20:38:16] <dllama> jaawerth: if there are like 10 items in the list, and i'm watching each, does the app @ some point become less responsive?
[20:38:27] <snurfery> I just searched for the text that I saw flash by, and noticed it occurred in 2 places
[20:38:27] *** vectra has quit IRC
[20:38:43] <jaawerth> dllama: one sec, I think I see another issue with it..
[20:38:59] <jaawerth> dllama: your use of ng-style is a bit off
[20:38:59] *** annlewis has joined #angularjs
[20:39:38] <poacher2k> loads of thanks no matter how simply you found it, snurfery!
[20:39:47] <jaawerth> when you use it in object form, it goes ng-style="{someClass: truthyFalsy, someClass: truthyFalsy}" and the classes appear or don't depending on the property value
[20:39:49] *** ProLoser|Mac has quit IRC
[20:39:53] <dllama> jaawerth: where did u see ng-style in what i pasted?
[20:40:06] <jaawerth> oh wait.. that's not even you
[20:40:06] <poacher2k> tired mind, launch tomorrow along with an ad campaign
[20:40:10] <jaawerth> it's the bootstrap template
[20:40:14] <jaawerth> you're using ui-bootstrap, right?
[20:40:16] <poacher2k> brain is getting sloppy :p
[20:40:18] <jaawerth> lol
[20:40:26] <poacher2k> (it's 20:40 in Norway)
[20:40:49] <dllama> yea
[20:40:51] *** richiebk_ has quit IRC
[20:40:58] <dllama> thats why i tried to stick to their format as much as possible
[20:41:04] *** vectra has joined #angularjs
[20:41:37] <jaawerth> oh and it's ng-style not ng-class
[20:41:42] <jaawerth> clearly I am having a bad brain day
[20:42:01] *** davi_ has quit IRC
[20:42:14] <dllama> i'm still not seeing where its used
[20:42:30] *** richiebkr has joined #angularjs
[20:42:38] <oniijin> it's friday jaawerth should be drinkin
[20:43:10] *** sebastien__ has quit IRC
[20:43:23] *** g33k5z has joined #angularjs
[20:43:27] <dllama> jaawerth: this is what i was using from bootstrap.ui
[20:43:28] <dllama> <progressbar class="progress-striped active" value="dynamic" type="{{type}}">{{type}} <i ng-show="showWarning">!!! Watch out !!!</i></progressbar>
[20:43:48] <dllama> i dont see any refrence to ng-style
[20:44:03] *** dotsspwe has joined #angularjs
[20:44:26] *** dotsspwe has joined #angularjs
[20:44:46] *** dotsspwe has left #angularjs
[20:45:14] <jaawerth> dllama: it's in dev tools, it made me confuse myself ;-)
[20:45:18] *** vassagus has joined #angularjs
[20:45:29] *** vassagus has joined #angularjs
[20:46:22] *** __danimal__ has joined #angularjs
[20:46:27] *** JERE has joined #angularjs
[20:47:01] <dllama> that would be how ui.bootstrap applies it though no?
[20:47:19] *** mccarrontr1ck has quit IRC
[20:47:22] *** bzitzow has quit IRC
[20:47:25] *** richiebkr has quit IRC
[20:47:40] *** g33k5z has quit IRC
[20:48:10] <Hestil> running karma with harmony flag? anyone?
[20:48:14] *** poacher2k has quit IRC
[20:48:18] <jaydubya> drag0nius: thanks ... my attempt wasn't getting even close ... LOL
[20:48:49] <Roots47> moogey: with the brackets?
[20:49:02] *** lsiv568 has joined #angularjs
[20:49:41] *** zapplebee has quit IRC
[20:49:44] *** TheDreamIsReal has joined #angularjs
[20:49:56] *** mccarrontr1ck has joined #angularjs
[20:50:16] *** __danim__ has quit IRC
[20:50:51] <Roots47> moogey: that doesn't work... I set an attrs.someProp if it doesn't exist. I'm checking for that in my unit test, but I can't access the attributes object.
[20:50:59] *** ianpirro has quit IRC
[20:51:33] *** Ch4rAss has joined #angularjs
[20:51:55] *** danecando has quit IRC
[20:52:14] *** scythe__ has quit IRC
[20:52:47] *** ron1 has quit IRC
[20:52:53] *** g33k5z_ has joined #angularjs
[20:53:47] *** {DV8} has joined #angularjs
[20:55:26] *** 16WAAOO19 has quit IRC
[20:56:15] *** woah has quit IRC
[20:56:49] *** scriptThis has joined #angularjs
[20:57:05] *** e0ipso is now known as e0ipso|away
[20:58:00] <Roots47> moogey: that doesn't work... I set an attrs.someProp if it doesn't exist in the link function. I'm checking for the end value in my unit test, but it's coming back as undefined.
[20:58:18] *** richiebkr has joined #angularjs
[20:58:34] *** Milkweed has joined #angularjs
[20:58:37] *** ColKurtz has quit IRC
[20:58:52] *** shackleford has joined #angularjs
[20:59:07] *** julaboy has quit IRC
[20:59:15] *** dmack has joined #angularjs
[20:59:20] *** jMyles has quit IRC
[20:59:43] *** scythe__ has joined #angularjs
[20:59:54] *** Aliks has quit IRC
[21:00:32] *** michaelS_ has quit IRC
[21:00:50] *** michaelSharpe has joined #angularjs
[21:01:06] *** Mxyzpltk has quit IRC
[21:01:19] *** Mxyzpltk has joined #angularjs
[21:01:24] *** dobladez has quit IRC
[21:01:26] *** soee_ is now known as soee
[21:01:37] *** dcherman2 has joined #angularjs
[21:02:37] *** joroc has joined #angularjs
[21:02:48] *** pzuraq has quit IRC
[21:02:58] *** richiebkr has quit IRC
[21:04:40] *** dcherman has quit IRC
[21:04:45] *** zlalanne_ has quit IRC
[21:05:11] *** aven1 has quit IRC
[21:06:26] *** dmack has quit IRC
[21:08:05] *** LakWork has quit IRC
[21:08:09] *** lsiv568 has quit IRC
[21:08:23] *** bbankes has joined #angularjs
[21:09:34] *** AngularUI has joined #angularjs
[21:09:34]
<AngularUI> [ng-grid] PaulL1 closed pull request #2398: fix for #2311 and other issues in grid editors (master...mater_input) http://git.io/goophg
[21:09:34] *** AngularUI has left #angularjs
[21:10:21] *** DLSteve has joined #angularjs
[21:11:08] *** ianpirro has joined #angularjs
[21:11:20] *** Snugug has quit IRC
[21:11:26] *** richiebkr has joined #angularjs
[21:12:21] *** chrisbirk has joined #angularjs
[21:12:34] *** julaboy has joined #angularjs
[21:15:35] *** pzuraq has joined #angularjs
[21:16:04] *** nfroidure has quit IRC
[21:16:32] *** prbc_ has quit IRC
[21:16:55] *** laax has joined #angularjs
[21:16:57] *** jonasliljestrand has joined #angularjs
[21:17:03] *** leolrrj has joined #angularjs
[21:17:08] *** prbc has joined #angularjs
[21:17:50] *** SahanH has quit IRC
[21:18:10] *** Aerospar_ has quit IRC
[21:18:29] *** pzuraq has quit IRC
[21:18:40] *** evotuned has quit IRC
[21:20:04] *** {DV8} has quit IRC
[21:20:06] *** g33k5z_ has quit IRC
[21:20:32] *** g33k5z has joined #angularjs
[21:20:48] *** DevX101 has quit IRC
[21:21:06] *** zeitgist_ has joined #angularjs
[21:21:30] *** richiebkr has quit IRC
[21:21:32] *** nfroidure has joined #angularjs
[21:21:39] *** laax has quit IRC
[21:21:52] *** prbc has quit IRC
[21:22:04] *** agrajag42 has joined #angularjs
[21:22:37] *** JERE has quit IRC
[21:22:42] *** Snugug has joined #angularjs
[21:22:49] *** julaboy has quit IRC
[21:23:08] *** wallerdev has quit IRC
[21:23:42] *** zeitgist has quit IRC
[21:23:44] *** prbc has joined #angularjs
[21:23:55] *** RobinBAwesome has quit IRC
[21:24:26] *** AngularUI has joined #angularjs
[21:24:26]
<AngularUI> [ng-grid] PaulL1 closed pull request #2351: fixes for #2346 #2303 (master...master) http://git.io/09YHXw
[21:24:26] *** AngularUI has left #angularjs
[21:24:27] *** lexek_ has quit IRC
[21:25:27] *** AngularUI has joined #angularjs
[21:25:28] <AngularUI> ng-grid/master b75df2f jcompagner: regression fix for: #2357 scrolling with large amount of columns,columns...
[21:25:28] <AngularUI> ng-grid/master 82074e8 Paul: Merge pull request #2379 from Servoy/row_inserts_before_current_fix...
[21:25:28] *** AngularUI has left #angularjs
[21:26:16] *** Marble68 has quit IRC
[21:26:47] *** AngularUI has joined #angularjs
[21:26:47]
<AngularUI> [ng-grid] PaulL1 closed pull request #2361: Fix #2134 Horizontal scroll bar covers up last row. (master...scrollbar_when_needed_fixes) http://git.io/25zGfQ
[21:26:48] *** AngularUI has left #angularjs
[21:27:43] *** h0ru5 has joined #angularjs
[21:28:09] *** Jagga has quit IRC
[21:28:23] *** lolmaus has joined #angularjs
[21:29:40] *** jaredwilli has joined #angularjs
[21:29:55] *** jaredwilli has quit IRC
[21:29:56] <tristanp> what is the name of that flag you can set on a directive to allow its scope to inherit stuff from the parent scope in which the directive is placed?
[21:30:02] *** djvirgen has quit IRC
[21:30:10] *** jaredwilli has joined #angularjs
[21:30:25] *** Aliks has joined #angularjs
[21:30:53] *** scriptThis has quit IRC
[21:31:01] *** doginal has joined #angularjs
[21:32:18] *** gunn has joined #angularjs
[21:32:38] *** aven1 has joined #angularjs
[21:32:40] *** morenoh149 has joined #angularjs
[21:32:44] *** LakWork has joined #angularjs
[21:32:53] *** Ch4rAss has quit IRC
[21:33:12] *** Sontakey has joined #angularjs
[21:33:20] *** lsiv568 has joined #angularjs
[21:34:21] *** adben- has joined #angularjs
[21:34:37] <dllama> jaawerth: u still around ?
[21:36:16] *** joroc has quit IRC
[21:36:32] *** shackleford has quit IRC
[21:36:54] *** darrin has quit IRC
[21:37:39] *** Ch4rAss has joined #angularjs
[21:38:13] <dllama> for the most part the custom filter u showed me works great, just a tiny thing thats kind of rattling my brain right now, in console, everything is logged twice, but also for 1 instance where the value is 83, returns wrong class :/
[21:38:34] *** Aerospark has joined #angularjs
[21:39:00] *** Milk_weed has joined #angularjs
[21:39:04] *** nc90_ has joined #angularjs
[21:39:17] *** techsethi_ has quit IRC
[21:39:20] *** Una has quit IRC
[21:39:26] *** FIFOd[a] has joined #angularjs
[21:39:41] *** Milk_weed has quit IRC
[21:39:44] *** Una has joined #angularjs
[21:39:56] *** one0one has joined #angularjs
[21:40:12] *** FIFOd[a] has joined #angularjs
[21:42:21] *** g33k5z has quit IRC
[21:42:41] *** 64MABF2YP has joined #angularjs
[21:43:43] *** shinnya has joined #angularjs
[21:43:52] *** ahtik has joined #angularjs
[21:43:54] *** nc90 has quit IRC
[21:43:55] *** mzabriskie has joined #angularjs
[21:43:56] *** NormySan^ has quit IRC
[21:43:56] *** ColKurtz has joined #angularjs
[21:44:40] *** ron1 has joined #angularjs
[21:44:54] *** richiebkr has joined #angularjs
[21:45:03] *** platonic has quit IRC
[21:45:20] *** Marble68 has joined #angularjs
[21:45:35] *** Charliechin has joined #angularjs
[21:45:58] *** IJNX has joined #angularjs
[21:46:10] *** dc has joined #angularjs
[21:47:04] *** 64MABF2YP has quit IRC
[21:48:43] *** livingstn has quit IRC
[21:49:13] *** FunnyLookinHat_ has joined #angularjs
[21:49:16] *** ColKurtz has quit IRC
[21:49:47] *** jmckind has quit IRC
[21:50:00] *** richiebkr has quit IRC
[21:51:01] *** AltsT-dima has joined #angularjs
[21:51:07] *** lsiv568 has quit IRC
[21:51:08] *** g33k5z has joined #angularjs
[21:51:57] *** platonic has joined #angularjs
[21:51:59] *** FunnyLookinHat has quit IRC
[21:52:02] *** MetaCosm_ has joined #angularjs
[21:52:06] *** sk87 has joined #angularjs
[21:52:16] <christo_m> How can I force a method to be called immediately after a state is loaded with UI Router?
[21:52:24] *** PrinceAMD has quit IRC
[21:54:02] *** KushS has joined #angularjs
[21:54:03] *** azureRaven has joined #angularjs
[21:54:24] *** richiebkr has joined #angularjs
[21:54:27] *** azureRaven has quit IRC
[21:54:34] *** sk87 has quit IRC
[21:54:57] *** MetaCosm has quit IRC
[21:55:13] *** azureRaven has joined #angularjs
[21:55:21] *** d0ngz has joined #angularjs
[21:55:31] <d0ngz> hello, anyone know why im getting: File exists: /home/overl0rd/.npm/7dc56acb-0rd-npm-lodash-2-4-1-package-tgz.lock
[21:55:37] <d0ngz> Move it away, and try again.
[21:55:37] *** dimetron has joined #angularjs
[21:55:53] <scythe__> what library does everyone recommend for login/signup, passport? and has anyone had succes with passport?
[21:56:00] <d0ngz> everytime im trying to generate my angularjs project with yo angular
[21:56:10] *** tilgovi has quit IRC
[21:56:25] *** IvailoStoianov has quit IRC
[21:56:44] *** jdivock_ has joined #angularjs
[21:57:00] *** ericbutters has joined #angularjs
[21:57:31] *** sonofdir_ has joined #angularjs
[21:57:40] *** merpnderp has joined #angularjs
[21:58:16] *** gladely has quit IRC
[21:58:20] *** jdivock_ has quit IRC
[21:58:34] *** richiebkr has quit IRC
[21:58:37] *** KushS has quit IRC
[21:58:43] <merpnderp> Anyone ran into this with ie10? I have a number input field that I validate, change from a string to a number, then cast back to a string and update the model. Only in IE10 it disapears. If you highlight the field, the number is there, but otherwise it disapears.
[21:59:11] *** juanpablo___ has quit IRC
[21:59:36] *** jdivock_ has joined #angularjs
[21:59:39] *** juanpablo___ has joined #angularjs
[21:59:44] <merpnderp> This is what I'm doing to it that makes it disappear in IE10.
[21:59:58] <merpnderp> But IE9, 11,FF, Chrome it works perfectly.
[22:00:12] *** Pappu has joined #angularjs
[22:00:20] *** jdivock has quit IRC
[22:00:23] *** patrick99e99 has joined #angularjs
[22:00:37] *** Pappu has quit IRC
[22:00:56] *** Pappu has joined #angularjs
[22:01:16] *** Pappu has quit IRC
[22:01:42] *** LakWork has quit IRC
[22:02:11] *** richiebkr has joined #angularjs
[22:02:18] *** richiebkr has joined #angularjs
[22:02:22] *** g33k5z has quit IRC
[22:02:40] *** joroc has joined #angularjs
[22:02:47] *** g33k5z has joined #angularjs
[22:03:56] *** shackleford has joined #angularjs
[22:04:40] *** Fuzzy has quit IRC
[22:04:51] *** shackleford has joined #angularjs
[22:05:26] *** patrick99e99 has quit IRC
[22:06:10] *** phzon has joined #angularjs
[22:06:34] *** aven1 has quit IRC
[22:06:50] *** leolrrj has quit IRC
[22:07:08] *** hrrz has joined #angularjs
[22:07:12] *** s3b` has joined #angularjs
[22:07:19] *** g33k5z has quit IRC
[22:07:25] *** akrikos has quit IRC
[22:07:30] <dmamills> Does anyone have any ideas on how to transclude html that contains angular markup? my problem is that it is being rendered before the transclude gets access to it
[22:07:37] *** ProLoser|Mac has joined #angularjs
[22:07:38] *** wallerdev has joined #angularjs
[22:08:16]
<hrrz> hey, i'm an angularjs beginner. I am using https://github.com/Wildhoney/ngVideo and this livrary has several internal components which the develoepr can use. However - I don't understand how to include these components e.g. components/Timeline.js
[22:08:20] *** proteneer has joined #angularjs
[22:08:23] *** s3b` has left #angularjs
[22:08:34] *** TeddyMurray has quit IRC
[22:08:57] *** evotuned has joined #angularjs
[22:09:15] *** ngbot has joined #angularjs
[22:09:15]
<ngbot> [angular.js] btford fast-forwarded g3_v1_3 from 7d70dcd to 56a7abd: http://git.io/q3LJJQ
[22:09:15] *** ngbot has left #angularjs
[22:10:22] *** ngbot has joined #angularjs
[22:10:23]
<ngbot> [angular.js] btford fast-forwarded g3_v1_3 from 56a7abd to 661f6d9: http://git.io/7iETCQ
[22:10:23] *** ngbot has left #angularjs
[22:10:39] *** shaisnir has quit IRC
[22:10:54] *** phzon has quit IRC
[22:11:16] *** ngbot has joined #angularjs
[22:11:16]
<ngbot> [angular.js] btford fast-forwarded g3_v1_3 from 661f6d9 to ae637ac: http://git.io/9GBuHA
[22:11:16] *** ngbot has left #angularjs
[22:11:17] *** jdivock_ has quit IRC
[22:11:31] *** despai has joined #angularjs
[22:12:09] *** falk_netstyler has joined #angularjs
[22:12:12] *** ngbot has joined #angularjs
[22:12:12]
<ngbot> [angular.js] btford fast-forwarded g3_v1_3 from ae637ac to 6e80d0a: http://git.io/jZaZbg
[22:12:12] *** ngbot has left #angularjs
[22:12:43] <iShortBus> christo_m: you could use the resolve function within ui-router. or just create a function and call it when the controller loads
[22:12:50] *** busticated has quit IRC
[22:12:53] *** jdivock has joined #angularjs
[22:13:00] *** zumba_addict has quit IRC
[22:13:10] *** ngbot has joined #angularjs
[22:13:10] *** ngbot has left #angularjs
[22:13:11] *** falk_netstyler has quit IRC
[22:13:36] <iShortBus> christo_m: you can also use the on document ready
[22:13:47] *** charuru has joined #angularjs
[22:14:57] *** Bade has quit IRC
[22:15:42] *** cacts|works has quit IRC
[22:15:52] *** nfroidure has quit IRC
[22:16:54]
<hrrz> hey, i'm an angularjs beginner. I am using https://github.com/Wildhoney/ngVideo and this livrary has several internal components which the develoepr can use. However - I don't understand how to include these components e.g. components/Timeline.js
[22:17:21] *** RobinBAwesome has joined #angularjs
[22:18:32] *** iribarne has quit IRC
[22:18:49] *** doginal has quit IRC
[22:20:40] *** DevX101 has joined #angularjs
[22:21:39] *** stormbytes has quit IRC
[22:22:28] *** ngbot has joined #angularjs
[22:22:28] <ngbot> angular.js/master 47a55ca Brian Ford: docs(changelog): release notes for 1.3.8 prophetic-narwhal
[22:22:29] *** ngbot has left #angularjs
[22:22:43] *** TeddyMurray has joined #angularjs
[22:23:38] *** danecando has joined #angularjs
[22:23:40] *** djvirgen has joined #angularjs
[22:24:01] <kakashiA1> I am using an array in my scope that I got from my database and I use it with a reduce function, but I get a undefined error but the functions works like a champ
[22:24:18] *** doginal has joined #angularjs
[22:24:30] *** platonic has quit IRC
[22:25:07] <drag0nius> is there some gulp-related channel?
[22:25:20] *** iribarne has joined #angularjs
[22:25:29] *** jacuqesdancona has joined #angularjs
[22:25:31] *** hrrz has quit IRC
[22:25:54] <cilkay> Hello. I have a Clients resource I'm fetching using ngResource from Django Rest Framework. That works fine. I need to also get a Defaults resource with virtually every GET. There is no relationship between Defaults and Clients. Various values that drive the UI are derived from values stored in Defaults. What would be the best practice getting Defaults? Should it be a separate GET request? Should it be one GET request and let the back-en
[22:25:54] <cilkay> d handle the details of how to combine Clients and Defaults in the JSON?
[22:26:04] *** Guest17242 is now known as Sasha
[22:26:38] <kakashiA1> my reduce function with my scope variable that I have from my database is inside a $watch, but at the beginning it is undefined, after that error I can use that function like nothing happens
[22:26:47] <cilkay> I'm leaning towards making two GET requests, one for Defaults and the other for everything else. It's more overhead but I can always deal with optimizing that later.
[22:26:52] <drag0nius> cilkay: what exactly are those defaults?
[22:26:59] <kakashiA1> so I checked that variable outside $watch and it is also unedfined
[22:27:02] <drag0nius> cilkay: you shouldn't be forced to send anything on every single request
[22:27:03] <kakashiA1> that I dont understand
[22:27:29] *** Sasha is now known as anonymause
[22:27:59] <cilkay> drag0nius: Defaults is used to turn features on/off depending on the client.
[22:28:02] *** IJNX has quit IRC
[22:28:28] *** chiburbs has quit IRC
[22:28:29] <cilkay> In the UI, that could show/hide fields, entire tab containers, etc.
[22:28:36] <drag0nius> cilkay: i'm usually 1. getting user object 2. doing anything else
[22:28:52] <drag0nius> cilkay: you want to do that in real-time?
[22:28:58] <cilkay> yes
[22:29:07] <drag0nius> cilkay: django isn't suited for such communication
[22:29:08] *** Aliks has quit IRC
[22:29:18] <cilkay> Well not "real" real-time.
[22:29:21] <cilkay> :)
[22:29:33] *** tschundeee has joined #angularjs
[22:29:34] <cilkay> It's very unlikely that a feature is going to change for a given user in a given session.
[22:29:47] *** chiburbs has joined #angularjs
[22:29:49] *** jacuqesdancona has quit IRC
[22:30:08] <drag0nius> cilkay: maybe you should use cookies? you don't need to send them with every request, just on value change
[22:30:30] *** Bade has joined #angularjs
[22:30:34] <cilkay> That could work. It's probably not necessary to query the db for something that changes so infrequently.
[22:30:54] *** elyssonmr has quit IRC
[22:31:00] <drag0nius> cilkay: you actually achieved sending stuff on every request?
[22:31:10] *** zwacky has quit IRC
[22:31:11] *** platonic has joined #angularjs
[22:31:26] <cilkay> No, that's what I was inquiring about.
[22:31:35] <drag0nius> cilkay: as far as i know, DRF can't even do that, unless you make custom ViewSet base-class
[22:31:40] <kakashiA1> anyone?
[22:31:42] *** azureRaven has quit IRC
[22:31:48] <drag0nius> cilkay: and then override very single method on it to do what you want
[22:32:09] <cilkay> drag0nius: Yes, I read that and it looked like a lot of unnecessary complexity.
[22:32:15] <dllama> jaawerth: if u still here, thank you very much again! and forget what i said before about wrong classes showing up, i actually gave you wrong information. its working great :)
[22:32:40] *** aven1 has joined #angularjs
[22:32:52] <drag0nius> cilkay: you shouldn't even do what you want to do :P
[22:32:59] *** frem has joined #angularjs
[22:33:00] <cilkay> drag0nius: Thank you. You've sharpened up my thinking on this. A cookie is probably the best approach.
[22:33:07] *** mspier is now known as mspier|away
[22:33:17] <drag0nius> cilkay: or HTTP header
[22:33:37] *** Aerospark has quit IRC
[22:33:47] <drag0nius> cilkay: i'd go with something like 'X-NEEDS-NEW-CONFIG' sent in responses and then client would manually request that new config
[22:33:48] *** zeitgist_ has quit IRC
[22:34:00] <cilkay> I'd probably have to create a context processor for that in Django.
[22:34:13] *** anonymause is now known as Sasha
[22:34:19] *** tschundeee has quit IRC
[22:34:25] *** zeitgist_ has joined #angularjs
[22:34:47] <kakashiA1> is it normal that the scope variable is at the beginning undefined? because I have a function that I run in my $watch and it say that this variable is undefined
[22:35:12] <drag0nius> cilkay: how do you know you need to reload config?
[22:35:19] *** tristanp has quit IRC
[22:35:30] *** bzitzow has joined #angularjs
[22:35:52] *** tristanp has joined #angularjs
[22:36:10] *** scythe__ has quit IRC
[22:36:12] <kakashiA1> is there a way to tell $watch not to run at the first time?
[22:36:20] <cilkay> drag0nius: This is a rewrite of a fat-client application. In the current application, Defaults is read on launch and is held in global variables until the user quits the application.
[22:36:23] *** joroc has quit IRC
[22:36:34] *** melter has joined #angularjs
[22:36:35] *** mokush has joined #angularjs
[22:36:37] <drag0nius> cilkay: sounds reasonable
[22:36:48] *** jumpstracks has quit IRC
[22:37:13] *** andreas_ has joined #angularjs
[22:37:16] <cilkay> Yes, and that works for a stateful fat-client application.
[22:37:20] *** jdivock has quit IRC
[22:37:47] *** ximenean_ has quit IRC
[22:37:54] *** mccarrontr1ck has quit IRC
[22:37:55] *** jdivock has joined #angularjs
[22:38:02] *** nemothekid has joined #angularjs
[22:38:13] *** Charliechin has quit IRC
[22:38:35] <drag0nius> cilkay: but still, when exactly do you know you need to send new config to client?
[22:38:46] *** DevX101 has quit IRC
[22:38:53] *** jdivock has quit IRC
[22:38:56] <drag0nius> cilkay: you could do something like custom middleware to add that HTTP header
[22:39:06] *** zeitgist_ has quit IRC
[22:39:15] <drag0nius> cilkay: which would have values like 'false' when you don't need new config and 'true' when you do need new config
[22:39:26] <drag0nius> cilkay: and then client would request that new config in separate request
[22:39:39] *** TeddyMurray has quit IRC
[22:39:54] <cilkay> Releases of that fat-client application are every few months. It's never pushed to the customers. Customers download the version they want and on startup, there is a routine that does things like schema migration and applies any other changes, including changes to Defaults.
[22:39:57] *** chiburbs has quit IRC
[22:40:29] *** sahbeewah has joined #angularjs
[22:40:42] *** tristanp has quit IRC
[22:41:00] <drag0nius> cilkay: sounds like client don't even need new Defaults after it started
[22:41:05] <cilkay> drag0nius: One of the attributes of the application is the version number, which is also stored in the database.
[22:41:18] *** jdivock has joined #angularjs
[22:41:39] *** ngbot has joined #angularjs
[22:41:40] *** ngbot has left #angularjs
[22:41:55] *** rikko has joined #angularjs
[22:41:57] <cilkay> Defaults is read and a bunch of calculations are done to set global booleans that are tested at runtime. E.g. is_featureA_enabled, is_featureB_enabled, etc.
[22:41:59] *** Embassy has quit IRC
[22:42:05] *** chiburbs has joined #angularjs
[22:42:12] *** despai has quit IRC
[22:42:18] *** proteneer has quit IRC
[22:42:40] <drag0nius> cilkay: when exactly client has to get new Defaults?
[22:42:47] *** AltsT-dima has quit IRC
[22:42:52] *** ximenean_ has joined #angularjs
[22:42:54] <drag0nius> cilkay: from what you said so far you need it just during loading
[22:42:57] *** doginal has quit IRC
[22:43:02] <cilkay> That's it.
[22:43:09] *** nuizzy has quit IRC
[22:43:16] <cilkay> Defaults would only change for a different version of the application.
[22:44:19] <cilkay> Essentially, you'd have the same values in Defaults for not just a given session but for a release. I suppose it could even be hard-coded in the application. The creators of the software just created a UI for storing those values in the db.
[22:44:25] <drag0nius> cilkay: i'm not sure how correct would it be, but i would send API version in HTTP header
[22:44:30] *** ProLoser|Mac has quit IRC
[22:45:02] <cilkay> We have API version in the URI endpoints. E.g. localhost/api/v1/clients
[22:45:09] <drag0nius> cilkay: client would remember that value and when it changes to new value client would request new Defaults
[22:45:19] <cilkay> All great ideas.
[22:45:25] *** Sky[x] has quit IRC
[22:45:39] *** AltsT-dima has joined #angularjs
[22:45:40] <drag0nius> so you have like /api/v1/ ... /api/v10 ?
[22:45:48] *** TeddyMurray has joined #angularjs
[22:45:54] <drag0nius> and you want to make some kind of auto-updater?
[22:45:57] <cilkay> We only have api/v1 right now but yes, we could have api/vNNN
[22:46:01] <cilkay> Eventually, yes.
[22:46:08] <cilkay> This is all under development right now.
[22:46:21] *** spatialbrew has quit IRC
[22:46:40] *** jumpstracks has joined #angularjs
[22:46:56] <drag0nius> that /api/v1 won't ever change?
[22:46:58] *** ProLoser|Mac has joined #angularjs
[22:47:02] *** d10n-work has joined #angularjs
[22:47:03] *** nuizzy has joined #angularjs
[22:47:17] *** nickgs has joined #angularjs
[22:47:17] <cilkay> Nope, that will be frozen once in production.
[22:47:30] *** ximenean_ has quit IRC
[22:47:35] <drag0nius> and you want the client to know when new version is released?
[22:47:37] <cilkay> If it changes, it can't be v1 any more. It'll have to be v2
[22:47:46] *** jdivock has quit IRC
[22:47:49] *** Fuzzy has joined #angularjs
[22:47:53] <cilkay> We don't push versions to customers. They pull versions.
[22:47:55] *** mccarrontr1ck has joined #angularjs
[22:48:05] <cilkay> They may have good reasons not to be on the latest release(s).
[22:48:09] <drag0nius> they pull versions when they want to
[22:48:11] *** cacts|works has joined #angularjs
[22:48:17] *** atomical has quit IRC
[22:48:19] *** woah has joined #angularjs
[22:48:24] *** jdivock has joined #angularjs
[22:48:27] <cilkay> Exactly. They have a window of about 18 months for supported versions.
[22:48:52] <cilkay> They can continue running any version. It'll just be unsupported after 18 months (or 24 months - not sure which).
[22:49:04] <drag0nius> if you want send version number with every request, headers are easiest and have least overhead
[22:49:28] <drag0nius> client will know the version changed through that header
[22:49:32] <cilkay> Typically, they'll have an internal staging environment where they'll be running a production and a test version.
[22:49:47] <drag0nius> but he won't have to take any action until he wants to
[22:50:02] <cilkay> Deployment right now is in the form of binaries. That'll eventually change to deployment of virtual machine images.
[22:50:11] *** adamdicarlo has joined #angularjs
[22:50:41] <drag0nius> anyway, this conversation might be more django-related
[22:50:56] *** cuppscakes has joined #angularjs
[22:50:58] *** chiburbs has quit IRC
[22:51:01] *** waldenraines is now known as walden
[22:51:23] <drag0nius> people on #django will give you more ideas, i'd go with that HTTP header containing version number as it costs close to nothing to pull version number from settings.py
[22:51:26] *** cuppscakes has left #angularjs
[22:51:44] <cilkay> drag0nius: Thanks again.
[22:51:52] <drag0nius> only real overhead would be those few-teen bytes per request
[22:52:11] *** morenoh150 has joined #angularjs
[22:52:37] *** woah has quit IRC
[22:52:37] *** prbc has quit IRC
[22:52:46] *** Aliks has joined #angularjs
[22:53:12] *** TheAceOfHearts has joined #angularjs
[22:55:02] *** morenoh149 has quit IRC
[22:55:07] *** loverajoel has quit IRC
[22:55:18] *** chiburbs has joined #angularjs
[22:55:23] *** busticated has joined #angularjs
[22:56:13] *** Aliks_ has joined #angularjs
[22:56:41] *** ronnyek has quit IRC
[22:56:47] *** Aliks has quit IRC
[22:58:01] *** cthrax has joined #angularjs
[22:58:11] *** nickgs has quit IRC
[22:59:14] *** TeddyMurray has quit IRC
[22:59:17] *** caitp has quit IRC
[22:59:28] <cilkay> drag0nius: Thanks for that. There seem to be as many approaches to versioning as there are APIs. :)
[22:59:38] <drag0nius> cilkay: exactly
[22:59:50] *** shaisnir has joined #angularjs
[23:00:00] *** Aerospark has joined #angularjs
[23:00:14] *** __danimal__ has quit IRC
[23:00:20] *** despai has joined #angularjs
[23:00:41] *** yelvert has quit IRC
[23:00:43] *** mccarron_ has joined #angularjs
[23:00:45] *** Fenikkusu has joined #angularjs
[23:00:51] *** Aerospark has quit IRC
[23:01:16] <Fenikkusu> Are there any best practices when developing using angular.module().service()?
[23:01:33] *** nickgs has joined #angularjs
[23:01:33] <Fenikkusu> Specifically when it comes to inheritence?
[23:01:39] <Fenikkusu> injection*
[23:01:52] *** sonofdir_ has quit IRC
[23:01:58] *** jsoverson has joined #angularjs
[23:02:43] *** joroc has joined #angularjs
[23:02:55] *** djvirgen1 has joined #angularjs
[23:03:40] <Fenikkusu> IE: myService() {}; myService.prototype.myFunction = function() {}; angular.module('myService', []).service('myService', [$timeout, myService]);
[23:03:48] *** mccarrontr1ck has quit IRC
[23:03:51] *** MistahKurtz has quit IRC
[23:04:37] *** plekplek has joined #angularjs
[23:04:38] *** crised has quit IRC
[23:04:38] *** tomfriedhof has quit IRC
[23:04:56] *** djvirgen has quit IRC
[23:05:18] *** Snugug has quit IRC
[23:05:51] *** chrisshattuck has joined #angularjs
[23:06:04] *** aven1 has quit IRC
[23:06:07] *** laax has joined #angularjs
[23:06:30] *** nabdev has quit IRC
[23:07:30] *** chrisbirk has quit IRC
[23:07:42] *** Ch4rAss has quit IRC
[23:08:08] *** chrisshattuck has quit IRC
[23:08:20] *** opiates has quit IRC
[23:08:41] *** opiates has joined #angularjs
[23:09:29] *** DevX101 has joined #angularjs
[23:10:14] *** sigurding has joined #angularjs
[23:10:22] <Linell> Is there any reason that `track by $index` wouldn't make stuff unique?
[23:10:42] *** laax has quit IRC
[23:11:06] <Linell> I've got a list of users and they've got a unique id, but there can be more than one of that user in the array since they may have taken more than one kind of test
[23:11:19] *** ProLoser|Mac has quit IRC
[23:11:31] <Linell> Can't track by id since they may be there twice, and test_type is obviously not unique. `track by (user.id+user.test_type)` isn't working either
[23:12:26] *** Una has quit IRC
[23:12:37] *** Reskp has quit IRC
[23:13:42] *** Reskp has joined #angularjs
[23:13:47] *** SexualRickshaw has quit IRC
[23:14:16] *** vinimdocarmo has joined #angularjs
[23:15:03] *** subone has joined #angularjs
[23:15:04] *** walden is now known as walden|afk
[23:16:46]
<subone> What has changed with scopes in 1.3.x? I have this directive http://pastebin.com/6qufCB7A , but after upgrading from 1.2 to 1.3 now scope.debug only appears in $parent for the template
[23:17:16] *** BillCriswell has quit IRC
[23:17:23] *** DevX101 has quit IRC
[23:17:55] *** DevX101 has joined #angularjs
[23:19:18] *** Aliks has joined #angularjs
[23:19:27] *** SomeKittens has quit IRC
[23:20:04] *** DevX101_ has joined #angularjs
[23:20:22] *** cbeacock1 has quit IRC
[23:20:23] *** trampi has quit IRC
[23:21:20] *** Reskp has quit IRC
[23:21:28] *** FIFOd[a] has quit IRC
[23:21:56] *** Aliks_ has quit IRC
[23:21:57] *** DevX101 has quit IRC
[23:22:01] *** FIFOd[a] has joined #angularjs
[23:22:24] *** F1LT3R has quit IRC
[23:22:30] *** nemothekid has quit IRC
[23:24:00] *** dcherman2 has quit IRC
[23:24:20] *** mzabriskie has quit IRC
[23:24:53] *** apertoire has joined #angularjs
[23:25:13] *** ctanga has quit IRC
[23:25:17] *** evotuned has quit IRC
[23:25:28] *** julaboy has joined #angularjs
[23:25:37] *** doodlehaus has quit IRC
[23:25:42] *** TheDreamIsReal has quit IRC
[23:25:57] *** Reskp has joined #angularjs
[23:26:20] *** sigurding has quit IRC
[23:26:30] *** FIFOd[a] has quit IRC
[23:27:16] <subone> Removing the isolate scope seems to fix it, but I'm still wondering why that is
[23:28:39] *** stormbytes has joined #angularjs
[23:29:36] *** Tweedle has quit IRC
[23:29:52] *** TeddyMurray has joined #angularjs
[23:30:27] *** tschundeee has joined #angularjs
[23:30:46] <ericbutters> how to set display size (length) of md-input?
[23:30:50] *** mokush has quit IRC
[23:31:42] *** leolrrj has joined #angularjs
[23:31:58] *** leolrrj has quit IRC
[23:32:06] *** dcherman has joined #angularjs
[23:32:37] *** SomeKittens has joined #angularjs
[23:32:43] *** aven1 has joined #angularjs
[23:32:52] *** evanjs has quit IRC
[23:34:17] *** swist has joined #angularjs
[23:34:49] *** iribarne_ has joined #angularjs
[23:35:46] *** tschundeee has quit IRC
[23:35:46] *** joroc has quit IRC
[23:36:17] *** vassagus has quit IRC
[23:36:20] *** cboden has quit IRC
[23:36:40] <ericbutters> sry i meant md-text float, how to change width?
[23:36:54] *** jumpstracks has quit IRC
[23:37:19] *** Coldice has joined #angularjs
[23:37:22] <Coldice> Hello!
[23:37:37] <Coldice> I'm new to Angular.JS
[23:38:30] <Coldice> Wow, what a long ling, Sorry for that! Anyhow, i'm using stateProvider
[23:38:37] *** nickgs has quit IRC
[23:38:44] *** iribarne has quit IRC
[23:38:44] *** iribarne_ is now known as iribarne
[23:39:01] *** jdcasey has quit IRC
[23:39:04] *** nickgs has joined #angularjs
[23:39:06] *** mspier|away is now known as mspier
[23:39:49] *** evanjs has joined #angularjs
[23:40:04] *** jsoverson has quit IRC
[23:40:04] *** steeze has quit IRC
[23:40:10] <subone> Seems like it can't find the module you are wanting to use
[23:40:39] <subone> Coldice: paste the url there, and you'll see what it's saying
[23:40:44] *** jumpstracks has joined #angularjs
[23:41:01] <Coldice> subone: You can visit the pastebin and load the url in browser :)
[23:41:09] <Coldice> Right
[23:41:27] *** michaelSharpe has quit IRC
[23:41:29] <Coldice> I may have done something wrong, I'll check. Thanks!
[23:42:03] *** evotuned has joined #angularjs
[23:42:07] <subone> oh, TIL. I didn't know those were working clickable links :p
[23:42:07] *** julaboy has quit IRC
[23:42:21] <subone> I wonder why I thought that
[23:42:24] *** Tristanp has joined #angularjs
[23:42:35] *** michaelSharpe has joined #angularjs
[23:42:52] *** KushS has joined #angularjs
[23:43:03] *** evanjs has quit IRC
[23:43:07] *** jumpstracks has quit IRC
[23:43:25] *** michaelSharpe has quit IRC
[23:43:35] <subone> Coldice: did you include the js file?
[23:43:40] *** nickgs has quit IRC
[23:43:40] *** vassagus has joined #angularjs
[23:43:47] <Coldice> I'm new to Angular.JS and using this with Node.js. First time into this. Coming from PHP world myself. Anyhow, I bought a theme that is included with Angular.JS so there is much to learn
[23:43:51] *** ximenean_ has joined #angularjs
[23:43:59] *** jsoverson has joined #angularjs
[23:44:32] *** jumpstracks has joined #angularjs
[23:44:51] <Coldice> I see the problem I think... lol
[23:44:52] *** melter has quit IRC
[23:44:57] <subone> Well, usually that error is indicative of including the module as a dependency but forgetting to include the js file... or the definition of the module otherwise breaking somehow
[23:45:22] *** vinimdocarmo has quit IRC
[23:45:30] <Coldice> Geh... I guess var FullKontroll = angular.module("mainModule" - is not the same as: var FullKontroll = angular.module("FullKontroll"
[23:45:33]
<m0> Hello, I am wondering about some architecture where I want to create a tabular component, where each tab is a component. When each tab is loaded, it should call a method in that component to load data. Lazy loaded tabs. I am following the example of Directives in the docs, http://plnkr.co/edit/OqCrwHgeuwRbhaMB4i6s?p=preview How can I create the notion of lazy loaded tabs?
[23:45:49] *** jsoverson has quit IRC
[23:45:58] <subone> Ah, yes, not naming the module correctly will do it as well
[23:46:17] *** jumpstracks has quit IRC
[23:46:43] <subone> m0: you could bind the loading funciton to an ng-click on the tab
[23:46:44] <Coldice> subone: Thank you! :) Now my next question is probably heavily debated...
[23:47:00] <Coldice> How do I restrict to a login before the user can view the route: / ?
[23:47:19] *** djvirgen1 has quit IRC
[23:47:22] *** KushS has quit IRC
[23:47:32] <subone> Coldice: I use an http interceptor which redirects to login on 403 response
[23:47:42] *** bayousoft has joined #angularjs
[23:48:06] *** deanclkclk has quit IRC
[23:48:07] <m0> subone: I am trying to organize my tabs in a way that every tab has a different directive, like peopleTab videosTab etc. When peopleTab is being selected, I want it to call a method within peopleTab directive controller.
[23:48:20] *** juanpablo____ has joined #angularjs
[23:48:21] <Coldice> Is there anything like in the PHP world (laravel) where I create a filter for all routes?
[23:48:28] *** andreas_ has quit IRC
[23:48:34] *** ximenean_ has quit IRC
[23:48:38] <Coldice> That seems to do it
[23:49:08] *** juanpablo___ has quit IRC
[23:49:53] *** deanclkclk has joined #angularjs
[23:50:04] <subone> Coldice: You could watch for location change and cancel it, but I prefer my way as the front-end doesn't really care to keep track of whether you are logged in, it just redirects to login when the back-end says you are logged out. But you're probably right that others handle it differently
[23:50:10] *** sahbeewah has quit IRC
[23:50:17] *** Fuzzy has quit IRC
[23:50:54] <Coldice> subone, backend is Node.js which is currently nothing - trying to understand AnuglarJS currently
[23:51:04] *** scythe__ has joined #angularjs
[23:51:14] <subone> good luck!
[23:51:33] *** julaboy has joined #angularjs
[23:52:54] *** Fuzzy has joined #angularjs
[23:52:57] *** djvirgen has joined #angularjs
[23:53:37] *** sinious has quit IRC
[23:54:25] *** zivester has quit IRC
[23:54:48] *** freeman42 has joined #angularjs
[23:55:38] <m0> subone: I was doing that recently, but what do I do, how do I listen on tab changes?
[23:56:22] *** Foxandxss has joined #angularjs
[23:56:44] <m0> subone: the most ideal approach how I would have done in vanilla js, keep track of list of tabs in my tabpane, when a tab as been selected, call a method in the tab that it has been selected. I wanted to see how directives play a role here.
[23:58:21] *** srsgores has joined #angularjs
[23:58:41] *** codeman has joined #angularjs
[23:58:49] <subone> IDK, what initiates a tab change?
[23:58:54] *** foofoobar has quit IRC
[23:59:03] *** ziyadb has quit IRC
[23:59:15] *** foofoobar has joined #angularjs
[23:59:27] *** jlfama has joined #angularjs
[23:59:44] *** jumpstracks has joined #angularjs
[23:59:51] *** ctanga has joined #angularjs