[00:00:26] *** ciwolsey has joined #angularjs
[00:00:48] *** atomical has joined #angularjs
[00:00:49] *** bayousoft has quit IRC
[00:01:10] *** DLSteve has joined #angularjs
[00:01:26] *** DoubleAW has quit IRC
[00:01:41] *** Siecje has left #angularjs
[00:01:57] *** JeffBuhrt has left #angularjs
[00:02:19] *** zwischenzug has joined #angularjs
[00:02:44] *** yoshokatana has quit IRC
[00:03:25] *** tschundeee has quit IRC
[00:03:30] *** SargoDarya has quit IRC
[00:04:29] *** OddDuck` is now known as OddDuck
[00:04:38] *** mikehaas763_ has joined #angularjs
[00:04:42] *** Solid1 is now known as Solid1_afk
[00:04:49] *** OddDuck has quit IRC
[00:04:49] *** OddDuck has joined #angularjs
[00:05:08] *** whunt_ has joined #angularjs
[00:05:08] *** Silne30_ has quit IRC
[00:05:10] *** sirkitree|afk is now known as sirkitree
[00:05:25] *** Guest22_ has joined #angularjs
[00:05:32] *** flaviogranero has joined #angularjs
[00:05:38] *** dc_ has joined #angularjs
[00:05:41] *** DoubleAW has joined #angularjs
[00:05:50] *** Silne30 has joined #angularjs
[00:05:52] *** whunt has quit IRC
[00:06:14] *** mokush has quit IRC
[00:06:32] *** mrkake has quit IRC
[00:07:41] *** dc has quit IRC
[00:07:45] *** jeffscottward has quit IRC
[00:08:12] *** Guest22 has quit IRC
[00:08:12] *** defaultdict has quit IRC
[00:08:15] *** Foxandxss has quit IRC
[00:08:16] *** mikehaas763 has quit IRC
[00:08:41] *** defaultdict has joined #angularjs
[00:08:43] *** spycomb has joined #angularjs
[00:09:27] *** mrkake has joined #angularjs
[00:09:43] *** mmealling has quit IRC
[00:09:49] *** atomical has quit IRC
[00:09:52] *** Sgeo has quit IRC
[00:09:58] *** richiebkr has quit IRC
[00:10:05] *** Johnny13371337 has quit IRC
[00:10:20] *** Sgeo has joined #angularjs
[00:11:02] *** artisangoose has quit IRC
[00:11:26] *** atomical has joined #angularjs
[00:11:36] *** doginal has joined #angularjs
[00:12:29] *** jdivock has quit IRC
[00:13:35] *** josh-k has quit IRC
[00:13:56] *** richiebkr has joined #angularjs
[00:14:24] *** vassagus has quit IRC
[00:15:17] *** oste has quit IRC
[00:15:26] *** Aerospark has quit IRC
[00:16:33] *** cannap has quit IRC
[00:16:51] *** flaviogranero has quit IRC
[00:16:55] <ProLoser> rodr1go: hallo
[00:17:06] <ProLoser> is rodyhaddad around anymore?
[00:18:17] *** kesshi has joined #angularjs
[00:18:43] *** emanresu404 has quit IRC
[00:19:30] *** sonofdir_ has quit IRC
[00:19:44] *** juanpablo_ has quit IRC
[00:19:51] *** lucasjones has quit IRC
[00:20:16] *** ctanga has quit IRC
[00:20:20] *** juanpablo_ has joined #angularjs
[00:20:30] *** axsuul has joined #angularjs
[00:20:41] *** TheDreamIsReal has quit IRC
[00:20:43] *** axsuul has quit IRC
[00:21:06] *** mven has quit IRC
[00:21:22] *** axsuul has joined #angularjs
[00:21:25] *** Nivag_ has quit IRC
[00:21:35] *** Marble68 has quit IRC
[00:21:36] *** lucasjones has joined #angularjs
[00:23:00] *** moritzs has joined #angularjs
[00:23:43] *** rkjdid has quit IRC
[00:24:26] *** yts has quit IRC
[00:24:31] *** juanpablo_ has quit IRC
[00:24:36] *** axsuul_ has joined #angularjs
[00:25:02] *** mary5030 has quit IRC
[00:25:03] *** XoneFobic has quit IRC
[00:25:12] *** MalfaitRobin has quit IRC
[00:25:35] *** mary5030 has joined #angularjs
[00:25:54] *** yelvert has quit IRC
[00:26:20] *** tschundeee has joined #angularjs
[00:27:13] *** encryptd_fractl has quit IRC
[00:27:52] *** AWAW has joined #angularjs
[00:28:03] *** DoubleAW has quit IRC
[00:28:07] *** AWAW is now known as DoubleAW
[00:28:34] *** tschunde_ has joined #angularjs
[00:28:38] *** axsuul has quit IRC
[00:29:02] *** Txandy has quit IRC
[00:30:04] *** mary5030 has quit IRC
[00:30:44] *** kuzzz0 has quit IRC
[00:30:57] *** tschundeee has quit IRC
[00:31:03] *** fairuz has quit IRC
[00:31:22] *** FunnyLookinHat has quit IRC
[00:31:28] *** kalusn has quit IRC
[00:34:41] *** zwacky has quit IRC
[00:36:46] *** davesidious_ has joined #angularjs
[00:37:36] *** ron_frown has joined #angularjs
[00:38:09] *** davesidious has quit IRC
[00:38:09] *** MistahKurtz has joined #angularjs
[00:38:26] *** cellofellow has joined #angularjs
[00:38:50] *** zB0hs has joined #angularjs
[00:39:05] *** annlewis has joined #angularjs
[00:39:08] *** disgrntld has quit IRC
[00:39:21] *** doginal has quit IRC
[00:40:00] *** shackleford has quit IRC
[00:40:14] *** whunt_ is now known as whunt
[00:40:19] *** Mael has quit IRC
[00:41:15] *** Zenithar has quit IRC
[00:41:29] *** fedenunez has joined #angularjs
[00:43:15] *** Zenithar has joined #angularjs
[00:44:57] *** Danavu has quit IRC
[00:45:57] *** alpha080 has joined #angularjs
[00:45:59] *** kalusn has joined #angularjs
[00:45:59] *** tschunde_ has quit IRC
[00:46:11] *** Foxandxss has joined #angularjs
[00:46:15] *** DANtheBEASTman has joined #angularjs
[00:46:26] *** mange has joined #angularjs
[00:46:47] *** tschundeee has joined #angularjs
[00:46:55] *** crewshin_ has joined #angularjs
[00:47:09] *** mikehaas763_ is now known as mikehaas763
[00:47:20] *** zwacky has joined #angularjs
[00:47:20] *** tschundeee has quit IRC
[00:47:21] *** ChanServ sets mode: +o Foxandxss
[00:47:31] <cavallari> how can i add a class conditionally on angular??
[00:47:39] <Foxandxss> ngClass
[00:47:39] *** mikehaas763 is now known as Guest43209
[00:47:43] *** CanyonMan has joined #angularjs
[00:47:59] <cavallari> for example, if $scope.phones.length > 0 them add class phones
[00:48:07] *** tschundeee has joined #angularjs
[00:48:10] *** gladely has joined #angularjs
[00:48:27] *** elrabin has quit IRC
[00:48:40] *** tschundeee has quit IRC
[00:48:53] *** elrabin has joined #angularjs
[00:49:13] *** tschundeee has joined #angularjs
[00:49:20] <henn1nk> cavallari: <div data-ng-class="{ phones.length > 1 'phones' : ''}">..</div>
[00:49:27] *** tschundeee has joined #angularjs
[00:49:40] *** seriema has joined #angularjs
[00:49:59] <henn1nk> cavallari: but you should create a function lime phone.isAvailable() or something else for this
[00:50:00] *** tschundeee has quit IRC
[00:50:03] <henn1nk> like
[00:50:10] *** greengriminal has joined #angularjs
[00:50:34] *** tschundeee has joined #angularjs
[00:50:45] *** tschundeee has joined #angularjs
[00:50:57] *** alpha080 has quit IRC
[00:51:00] <henn1nk> cavallari: than you can do <div data-ng-class="{'phones':phones.areAvailable()}">..</div>
[00:51:19] *** tschundeee has quit IRC
[00:51:37] <cavallari> to say the truth
[00:51:47] <cavallari> phones is an array
[00:51:50] *** flaviogranero has joined #angularjs
[00:51:52] <cavallari> wich contain errors
[00:52:09] *** tschundeee has joined #angularjs
[00:52:10] <cavallari> i will need to create ng-repeat= "phone in phones"
[00:52:10] *** happyface has quit IRC
[00:52:26] <henn1nk> cavallari: yes in your $scope.phones.areAvailable() function you can return $scope.phones.length > 0 ? true : false
[00:52:27] <cavallari> then ng-class="phone.errors > 0"
[00:52:39] *** tschundeee has quit IRC
[00:52:43] *** deanclkclk has joined #angularjs
[00:52:51] *** jiverson_ has quit IRC
[00:52:57] *** DevX101 has quit IRC
[00:53:11] *** tschundeee has joined #angularjs
[00:53:16] <henn1nk> cavallari: can you do: ng-class="{phone.errors > 0 ? 'phones' : ''}">
[00:53:20] *** elrabin has quit IRC
[00:53:30] *** tschundeee has joined #angularjs
[00:53:31] *** DevX101 has joined #angularjs
[00:53:58] *** tschundeee has quit IRC
[00:54:10] <Foxandxss> caitp: ping
[00:54:29] *** pknordic has quit IRC
[00:54:34] <cavallari> didnt wor =(
[00:54:39] <cavallari> * work
[00:54:45] *** tschundeee has joined #angularjs
[00:54:57] *** swist has quit IRC
[00:55:04] *** macabre has quit IRC
[00:55:17] *** tschundeee has quit IRC
[00:55:47] <crewshin_> Doh... sorry for the pastebin.
[00:55:50] *** tschundeee has joined #angularjs
[00:56:12] *** doginal has joined #angularjs
[00:56:35] *** miroslavicc has joined #angularjs
[00:56:54] *** RobinBAwesome has quit IRC
[00:57:09] *** seriema has quit IRC
[00:57:13] *** tschundeee has joined #angularjs
[00:57:29] <caitp> Foxandxss, yeah?
[00:57:38] *** emmesswhy has quit IRC
[00:57:42] *** swist has joined #angularjs
[00:57:51] <Foxandxss> caitp: did something change about the CLA? googlebot says no for me
[00:58:06] *** DevX101 has quit IRC
[00:58:07] <caitp> yeah, I think it was blogged about
[00:58:08] <Foxandxss> then I realized that in my signed CLA there wasnt a github username, not sure if that got deleted or that is new
[00:58:13] <Foxandxss> I recall something
[00:58:14] <Foxandxss> let me check
[00:58:35] <Foxandxss> yeah
[00:58:57] *** rud has quit IRC
[00:58:58] <Foxandxss> yeah, fixed then
[00:59:30] *** diosney has quit IRC
[00:59:33] <Foxandxss> it is an easy PR :P
[00:59:41] *** FIFOd[a] has quit IRC
[00:59:48] *** cotko has joined #angularjs
[01:00:05] *** mchapman has joined #angularjs
[01:01:06] *** tilgovi has quit IRC
[01:01:45] *** tschundeee has quit IRC
[01:02:15] *** jeffisabelle has quit IRC
[01:02:28] *** Guest30554 has joined #angularjs
[01:03:29] <dllama> guys, i got a stupid problem and i'm hoping someone can help me, i know i'll need to post my code in a bit, but i'm kind of hoping someone has come accross this and can just tell me w/o me having to replicate everything. i'm trying to add a signature pad to my app, i got it working on desktop, and tablet, can't get it working on iphone. created a plnkr, tested it on iphone works, copied the directive into my app, and nothing happens
[01:03:35] <dllama> this is the plunk
[01:03:37] *** zwacky has quit IRC
[01:04:31] *** g33k5z has joined #angularjs
[01:04:33] *** soee has quit IRC
[01:04:36] *** ninkotech has quit IRC
[01:04:45] <Foxandxss> don't have iphone to try I am afraid :P
[01:04:57] *** codeman has joined #angularjs
[01:05:05] *** ninkotech has joined #angularjs
[01:05:06] *** qdk has joined #angularjs
[01:05:10] *** tfennelly has quit IRC
[01:05:21] <dllama> hmm i didn't think to test in safari locally
[01:05:26] <dllama> only tested it in chrome
[01:05:38] <Foxandxss> yeah, that could help
[01:05:43] <Foxandxss> I found safari picky sometimes
[01:05:50] *** mzabriskie has quit IRC
[01:06:11] <dllama> works in safari exactly samea as in chrome
[01:06:24] <dllama> 5hrs on this so far, last 1.5 i been tearing out my hair lol
[01:06:38] *** RobinBAwesome has joined #angularjs
[01:06:52] *** fedenunez has quit IRC
[01:09:03] *** MistahKurtz has quit IRC
[01:09:05] *** rud has joined #angularjs
[01:09:05] *** rud has joined #angularjs
[01:09:07] *** g33k5z has quit IRC
[01:09:48] *** evilaliv3 has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:16] *** tfennelly has joined #angularjs
[01:10:40] *** ahtik has quit IRC
[01:11:05] *** Lynxium has quit IRC
[01:11:16] *** Guest43209 has quit IRC
[01:12:08] <crewshin_> Hah nvm guys. I think I figured it out. Angular is a bit confusing at times :)
[01:12:15] *** tfennell_ has joined #angularjs
[01:12:24] *** ninjaparade has quit IRC
[01:12:53] *** JoeGaudet has joined #angularjs
[01:13:07] *** ries has quit IRC
[01:13:21] *** earthquake has joined #angularjs
[01:13:58] *** AciD`` has quit IRC
[01:15:29] *** zwacky has joined #angularjs
[01:15:33] *** siddart has quit IRC
[01:16:00] *** tfennelly has quit IRC
[01:16:36] *** RobinBAwesome has quit IRC
[01:16:37] *** DV8_ has quit IRC
[01:16:57] *** dotsspwe has quit IRC
[01:17:12] *** Guest30554 has quit IRC
[01:18:01] *** platonic has joined #angularjs
[01:18:03] *** kentaro0919 has joined #angularjs
[01:18:19] *** MuffinMan` has joined #angularjs
[01:18:50] *** lexek_ has quit IRC
[01:19:14] *** emmesswhy has joined #angularjs
[01:20:02] *** dnull has joined #angularjs
[01:20:40] *** tfennell_ has quit IRC
[01:20:46] *** dylan9o4 has joined #angularjs
[01:20:57] *** emmesswhy has quit IRC
[01:21:15] *** emmesswhy has joined #angularjs
[01:21:35] *** Lynxium has joined #angularjs
[01:21:50] *** disorder20 has quit IRC
[01:22:17] *** moritzs has quit IRC
[01:22:22] *** tfennelly has joined #angularjs
[01:22:23] *** platonic has quit IRC
[01:22:47] *** axsuul_ has quit IRC
[01:23:37] *** tilgovi has joined #angularjs
[01:23:48] *** gunn has joined #angularjs
[01:23:57] <dylan9o4> Hey guys, I have my first app with angular, its for a schedule where it retrieves xml from the scheduler API, turns it into JSON object via php, then that object is parsed through angular and its html directives. It takes quite a while for an object to be parsed, only approx 40 shift elements to be processed at a time. This will not be changed by the viewer and I was wondering if there is anything apparent that could be done to ma
[01:24:52] *** boxmein has quit IRC
[01:25:19] *** oste has joined #angularjs
[01:25:20] *** startupality has joined #angularjs
[01:25:20] *** tomphp has quit IRC
[01:26:54] *** tfennelly has quit IRC
[01:27:35] *** MacWinner has joined #angularjs
[01:27:42] *** Fishy has joined #angularjs
[01:27:42] *** yamit has quit IRC
[01:27:47] *** windsurf_ has joined #angularjs
[01:28:07] <windsurf_> is there a way, maybe with batarang to call a method of a particular scope from the console?
[01:28:15] *** tschundeee has joined #angularjs
[01:28:17] *** axsuul has joined #angularjs
[01:28:28] <windsurf_> so if i had some element with foo scope I could just $scope.doFoo() in the console
[01:28:36] <windsurf_> just wondering how to get a reference to that $scope
[01:28:46] <windsurf_> I can see the scope in batarang
[01:28:51] *** sabrehagen1 has joined #angularjs
[01:29:27] *** emanresu404 has joined #angularjs
[01:29:49] *** bostonaholic has quit IRC
[01:29:59] *** zwischenzug has quit IRC
[01:30:28] *** Aerospark has joined #angularjs
[01:30:32] *** soj has quit IRC
[01:30:48] *** jeffisabelle has joined #angularjs
[01:30:55] *** richiebkr has quit IRC
[01:31:08] <windsurf_> Also, there’s a stripped down jquery in angular isn’t there? I’d like to do $(x) but I can’t – is there some way of doing this without adding jQuery externally?
[01:31:38] <Foxandxss> you have jQlite
[01:31:45] <Foxandxss> but normally there is no need of $(x) in angular
[01:32:40] *** umib0zu has quit IRC
[01:33:01] *** tschundeee has quit IRC
[01:33:01] *** soj has joined #angularjs
[01:33:52] *** emanresu404 has quit IRC
[01:34:31] *** mspier|away is now known as mspier
[01:35:21] *** bbankes_ has quit IRC
[01:35:48] *** rchavik has joined #angularjs
[01:36:14] *** mary5030 has joined #angularjs
[01:36:44] *** soj has quit IRC
[01:36:49] *** it0a has joined #angularjs
[01:37:29] *** RobinBAwesome has joined #angularjs
[01:37:31] *** KushS has joined #angularjs
[01:38:54] *** Aerospark has quit IRC
[01:39:06] *** startupality has quit IRC
[01:39:22] *** Lewix has joined #angularjs
[01:39:33] *** dacuca has quit IRC
[01:39:38] *** Aerospark has joined #angularjs
[01:41:03] *** mary5030 has quit IRC
[01:41:12] *** zwischenzug has joined #angularjs
[01:41:22] *** chachan has joined #angularjs
[01:42:13] *** JoeGaudet has quit IRC
[01:42:56] *** startupality has joined #angularjs
[01:43:32] *** zB0hs has quit IRC
[01:44:27] *** chachan_ has joined #angularjs
[01:44:40] *** caitp has quit IRC
[01:44:55] *** russellm has quit IRC
[01:45:22] *** Josh_ has quit IRC
[01:45:50] *** russellm has joined #angularjs
[01:46:05] *** chachan has quit IRC
[01:46:07] *** lexek_ has joined #angularjs
[01:46:16] *** crewshin_ has quit IRC
[01:46:53] *** fedenunez has joined #angularjs
[01:46:59] *** JR___ has joined #angularjs
[01:47:14] *** Saturn2888 has joined #angularjs
[01:47:32] *** jdcasey has quit IRC
[01:47:46] *** SargoDarya has joined #angularjs
[01:49:00] *** chachan_ has quit IRC
[01:49:42] *** dannyc has joined #angularjs
[01:49:45] *** woah has joined #angularjs
[01:50:37] *** night-owl is now known as zz_night-owl
[01:50:54] *** chachan has joined #angularjs
[01:51:04] *** leolrrj has quit IRC
[01:51:08] <sabrehagen1> hey guys, i'm having an issue where the data in my service isn't being updated in my binding. i have a provider that is being used to store the current user's info. i display this info in my UserInfo controller, then update it elsewhere in another controller, and i need the UserInfo controller to display the new info.
[01:51:29] *** pknordic has joined #angularjs
[01:51:35] *** Foxandxss has quit IRC
[01:51:38] *** tfennelly has joined #angularjs
[01:52:09] <sabrehagen1> can anybody give my any ideas why this reference isn't updating? i never 'destroy' the currentUser object by overwriting it, i only extend it.
[01:52:09] *** rho has quit IRC
[01:52:13] *** tsalb has quit IRC
[01:52:16] *** SargoDarya has quit IRC
[01:52:54] *** seriema has joined #angularjs
[01:53:18] *** rikko has joined #angularjs
[01:53:19] *** chachan_ has joined #angularjs
[01:53:33] *** zwacky has quit IRC
[01:53:33] *** ninjaparade has joined #angularjs
[01:53:47] *** Aerospark has quit IRC
[01:54:24] *** dannyc has quit IRC
[01:54:41] *** leolrrj has joined #angularjs
[01:54:43] *** chachan_ has quit IRC
[01:55:04] *** ron1 has joined #angularjs
[01:55:05] *** swist has quit IRC
[01:55:10] *** scythe__ has quit IRC
[01:55:20] *** chachan has quit IRC
[01:55:40] *** swist has joined #angularjs
[01:56:00] *** cthrax has quit IRC
[01:56:09] *** snapwich has quit IRC
[01:56:26] *** dsdeiz has joined #angularjs
[01:56:27] *** johnkevinmbasco has joined #angularjs
[01:56:49] <windsurf_> how do I access jqlite?
[01:57:08] *** kalusn has quit IRC
[01:57:22] *** k-dawg has joined #angularjs
[01:57:34] *** DevX101 has joined #angularjs
[01:57:37] <moogey> windsurf_ elements already come as jqlite elements, but for those that aren't angular.element()
[01:57:51] <windsurf_> moogey: thx
[01:58:18] *** doginal has quit IRC
[01:58:37] *** leolrrj has quit IRC
[01:58:38] *** fedenunez has quit IRC
[01:58:44] *** seriema has quit IRC
[01:59:09] *** tfennelly has quit IRC
[01:59:57] *** __danimal__ has joined #angularjs
[02:00:10] <windsurf_> moogey: in the console how can I get a reference to a particular element’s $scope?
[02:00:15] *** scythe__ has joined #angularjs
[02:01:24] *** lemur has joined #angularjs
[02:01:32] *** sgen_ has quit IRC
[02:01:44] *** g33k5z has joined #angularjs
[02:02:14] *** d4rklit3 has quit IRC
[02:03:02] *** startupality has quit IRC
[02:03:02] *** d4rklit3 has joined #angularjs
[02:03:07] *** walden|afk is now known as walden
[02:03:17] <windsurf_> thank you
[02:03:21] *** KushS has quit IRC
[02:03:22] *** windsurf_ has quit IRC
[02:03:24] *** Akufen has quit IRC
[02:05:31] *** fourq has joined #angularjs
[02:06:40] *** DevX101 has quit IRC
[02:07:18] *** DevX101 has joined #angularjs
[02:07:19] *** phzon has joined #angularjs
[02:07:20] *** vbabiy has joined #angularjs
[02:07:34] *** dylan9o4 has quit IRC
[02:07:42] *** Aliks has quit IRC
[02:08:43] *** bkuberek has joined #angularjs
[02:08:48] *** broberson has joined #angularjs
[02:10:07] *** Routh has quit IRC
[02:10:21] *** broberson has left #angularjs
[02:10:57] *** rtpg has joined #angularjs
[02:11:17] *** vbabiy has quit IRC
[02:11:29] *** phzon has quit IRC
[02:11:30] *** Akufen has joined #angularjs
[02:11:32] *** DevX101 has quit IRC
[02:12:41] *** SomeKittens has joined #angularjs
[02:13:16] *** Aerospark has joined #angularjs
[02:13:43] *** Siecje has joined #angularjs
[02:14:22] *** crewshin_ has joined #angularjs
[02:14:40] *** sgen__ has joined #angularjs
[02:14:43] *** DaveDH2_ has quit IRC
[02:15:47] *** helen_ has joined #angularjs
[02:15:50] *** caitp has joined #angularjs
[02:16:27] *** woah has quit IRC
[02:16:49] *** rob__ has joined #angularjs
[02:16:51] *** cavallari has quit IRC
[02:16:52] *** morenoh149 has quit IRC
[02:17:02] *** broberson has joined #angularjs
[02:17:26] *** rob__ is now known as bobbydigitales
[02:18:03] *** cavallari has joined #angularjs
[02:18:11] *** Guest22 has joined #angularjs
[02:18:11] *** jonasliljestrand has quit IRC
[02:18:16] *** tskaggs has quit IRC
[02:18:45] *** Guest22_ has quit IRC
[02:18:47] *** platonic has joined #angularjs
[02:18:48] *** mmealling has joined #angularjs
[02:19:50] *** BillCriswell has joined #angularjs
[02:20:27] *** encryptd_fractl has joined #angularjs
[02:20:57] *** fairuz has joined #angularjs
[02:21:30]
<bobbydigitales> hey, I'm using angularjs 1.3.5 after having used 1.0.1 for a long time. I get an "unknown provider a" after using the Google closure compiler to minify it using "simple optimizations" (works fine without that). I had this problem in the past and changed my method siganture to use the array form, but that's not working here. Here's a gist showing the error and the code: https://gist.github.com/bobbydigitales/313e527bc22ce5c37eb9
[02:21:34] *** DLSteve has quit IRC
[02:22:19] *** Saturn2888 has quit IRC
[02:22:31] *** doodlehaus has joined #angularjs
[02:22:39] <bobbydigitales> any ideas why the parameters are being minified now?
[02:22:48] *** Aerospark has quit IRC
[02:23:25] *** platonic has quit IRC
[02:23:28] <helen_> mayb use array form for the conifg?
[02:23:31] *** Aerospark has joined #angularjs
[02:23:33] *** nemothekid has quit IRC
[02:24:02] *** walden is now known as walden|afk
[02:24:15] *** windsurf_ has joined #angularjs
[02:25:11] *** jtimon has quit IRC
[02:25:27] <windsurf_> what would be the proper way to only render a partial within a view if x = true? Currently I’ve just got an ng-show on it but one could view source and see the restricted content.
[02:25:38] <windsurf_> They could also just see the object data i guess
[02:25:45] <windsurf_> it’s not super secure in this situation but i’m still curious
[02:26:10] *** encryptd_fractl has quit IRC
[02:26:31] *** encryptd_fractl has joined #angularjs
[02:26:47] <helen_> windsurf_: u should be restricting stuff on ur backend, not front end
[02:26:58] *** doginal has joined #angularjs
[02:27:14] *** caitp has quit IRC
[02:27:14] <windsurf_> helen_: yes makes sense
[02:27:16] <helen_> but if u use ng-if itll remove the content, still not secure
[02:28:12] <windsurf_> helen_: ok thanks – but if i used the server, then woudl ng-if still be the right way to go – say my foo object from the server will have a property called x which will be conditionally be null (or an object if authorized to see it)
[02:28:17] <windsurf_> is that a good approach?
[02:28:22] *** Superhard has quit IRC
[02:28:26] *** TheAceOfHearts has quit IRC
[02:28:36] *** tschundeee has joined #angularjs
[02:28:43] <helen_> as long as ur sending the data to the front end any1 can see it xd
[02:28:48] *** swist has quit IRC
[02:29:13] <helen_> but ng if makes it so u cant see it from inspecting source? ;p
[02:29:56] *** jeffisabelle has quit IRC
[02:29:57] *** marr has quit IRC
[02:30:10] <helen_> i would still filter data/content thats unauth from the server either way
[02:30:11] <windsurf_> helen_: yep, i know – so if I send my object with a x:null property when not authorized and x:{message:’hello’} when user IS authorized then I’m restricting on the server but would I use that in combination with ng-if?
[02:30:16] <windsurf_> i think yes?
[02:30:23] *** cotko has quit IRC
[02:30:51] <windsurf_> just wanting to keep it to one server call with a partially vs fully populated object
[02:31:10] <helen_> well it doesnt make much of a difference to me, i usually only care about using ng-if vs ng-show when i dont want to have a bunch of HTML that i dont need
[02:31:11] *** encryptd_fractl has quit IRC
[02:31:11] *** Mccxiv has quit IRC
[02:31:21] *** Lewix has quit IRC
[02:31:38] <windsurf_> ok
[02:31:38] <windsurf_> thx
[02:31:42] <helen_> in terms of securing stuff, i just dont see ng if and ng show making too much of a difference :P
[02:31:45] *** crewshin_ has quit IRC
[02:31:49] *** Mccxiv has joined #angularjs
[02:32:10] <windsurf_> ok
[02:32:39] *** robdubya has quit IRC
[02:32:44] *** codeman has quit IRC
[02:32:51] <broberson> it'd probably be a mistake to assume that the thing talking to your server api is an instance of your angular app.
[02:32:54] *** kesshi has quit IRC
[02:33:13] *** tschundeee has quit IRC
[02:33:34] *** lexek_ has quit IRC
[02:34:44] *** rob__ has joined #angularjs
[02:34:56] *** caitp has joined #angularjs
[02:35:01] *** bzitzow has quit IRC
[02:35:34] <caitp> bobbydigitales: you can write your code so that it is minification-safe, then you can use whatever crazy minfication strategy
[02:35:34] *** woah has joined #angularjs
[02:35:36] *** bkuberek has quit IRC
[02:36:47] *** bobbydigitales has quit IRC
[02:37:42] *** merobertsjr has quit IRC
[02:38:00] *** motionman has joined #angularjs
[02:40:09] *** broberson has left #angularjs
[02:40:48] *** annlewis has quit IRC
[02:41:23] *** annlewis has joined #angularjs
[02:43:21] <windsurf_> is ngIf preferred over ngShow for long-lasting chunks of html? In my case user will see various chunks of html if they are signed in
[02:43:31] <windsurf_> seems like it’d be more efficient
[02:43:33] <ghanima> anyone on
[02:43:47] *** opiates_ has joined #angularjs
[02:43:52] *** Shrooms has quit IRC
[02:44:18] *** deanclkclk has quit IRC
[02:45:03] *** flaviogranero has quit IRC
[02:45:04] *** ryez has joined #angularjs
[02:45:50]
<ghanima> was wondering if I could get some advice in regards to integrating nodejs with angularjs... want to use https://www.npmjs.com/package/checkdns but everything I read talks about integrating express and wrapping the
[02:45:52] *** annlewis has quit IRC
[02:45:58] <ghanima> module in there and then making a rest call against it
[02:46:22] <ghanima> looking to execute this from within the controller of my app
[02:46:47] *** Shrooms has joined #angularjs
[02:47:03] *** jonathanpglick has quit IRC
[02:47:05] *** __danimal__ has quit IRC
[02:47:06] *** woah has quit IRC
[02:47:16] *** gunn has quit IRC
[02:47:18] *** doodlehaus has quit IRC
[02:47:33] *** ome has joined #angularjs
[02:48:09] *** Shrooms has quit IRC
[02:48:11] *** windsurf_ has quit IRC
[02:48:28] *** ngbot has joined #angularjs
[02:48:28] <ngbot> angular.js/master 924e68c Caitlin Potter: fix(ngAria): trigger digest on ng-click via keypress, pass $event to expression...
[02:48:29] *** ngbot has left #angularjs
[02:49:07] *** woah has joined #angularjs
[02:49:14] *** ron1 has quit IRC
[02:49:15] *** Shrooms has joined #angularjs
[02:49:27] *** ron_frown has quit IRC
[02:49:37] *** fotoflo has joined #angularjs
[02:49:38] *** __danimal__ has joined #angularjs
[02:49:56] *** annlewis has joined #angularjs
[02:50:31] *** andreas has quit IRC
[02:50:57] *** motionman has quit IRC
[02:51:05] <fotoflo> hi all, i have a controller: angular.module(‘app.controller('LoginCtrl', ['$scope','$http', function ($scope, $http) { $scope.login = function(){debugger;} }])
[02:51:05] *** i_am_nader has quit IRC
[02:51:12] <fotoflo> whoops hit enter too soon
[02:51:15] *** glaksmono has joined #angularjs
[02:51:52] <fotoflo> hi all, i have a controller: angular.module(‘myApp’).controller('LoginCtrl', ['$scope','$http', function ($scope, $http) { $scope.login = function(){debugger;} }]) —— but i am not getting access to $http when i hit that debugger — any ideas why?
[02:52:13] *** bayousoft has joined #angularjs
[02:52:35] *** woah has quit IRC
[02:52:54] <fotoflo> do i have to do something dffent to get that $http?
[02:53:18] *** Br00t4L17y has joined #angularjs
[02:53:25] *** bostonaholic has joined #angularjs
[02:53:55] *** seriema has joined #angularjs
[02:54:02] *** nemothekid has joined #angularjs
[02:54:02] *** bostonaholic has quit IRC
[02:54:06] <Br00t4L17y> Download link on the main page broken?
[02:54:17] <helen_> fotoflo: use $http in there ;p
[02:54:24] <Br00t4L17y> thanks
[02:54:52] <fotoflo> helen_: i type it when i hit the conole but i dont get anything
[02:55:27] <helen_> function () { var http = $http; debugger; } try that?
[02:55:30] *** gunn has joined #angularjs
[02:56:08] *** shyshy has joined #angularjs
[02:56:18] *** chrisshattuck has quit IRC
[02:58:12] *** seriema has quit IRC
[02:58:29] *** {DV8} has joined #angularjs
[02:59:02] *** arkanciscan_ has quit IRC
[02:59:20] *** chrisshattuck has joined #angularjs
[02:59:38] *** SahanH has joined #angularjs
[03:00:00] <fotoflo> oh i tried that :-)
[03:00:02] *** Shrooms has quit IRC
[03:00:03] <fotoflo> didnt work
[03:00:32] *** rob__ has quit IRC
[03:01:31] *** shinnya has quit IRC
[03:01:51] *** asher^ has joined #angularjs
[03:01:59] <fotoflo> hmm, i put a debugger on the controller and it seemed to work on the “first pass”, (i guess when it was initlized, that $http was there) and then hwne i hit the login function its not there
[03:02:07] *** codeman has joined #angularjs
[03:02:36] *** greengriminal has quit IRC
[03:02:54] *** kakashiAL has joined #angularjs
[03:02:54] *** Br00t4L17y has quit IRC
[03:02:55] *** elrabin has joined #angularjs
[03:03:11] *** motionman has joined #angularjs
[03:03:56] <fotoflo> helen_: its getting called by a ng-click="login()" that shouldnt cause a problem right?
[03:03:59] *** davek_ has joined #angularjs
[03:04:05] <helen_> nope
[03:04:07] <helen_> it should work xd
[03:04:24] *** codeman has quit IRC
[03:05:22] *** fedenunez has joined #angularjs
[03:05:48] *** Oxynum has joined #angularjs
[03:05:49] *** foucher has joined #angularjs
[03:06:19] *** codeman has joined #angularjs
[03:06:30] *** kakashiA1 has quit IRC
[03:06:48] *** mspier is now known as mspier|away
[03:07:00] *** caitp has quit IRC
[03:07:12] <fotoflo> any way to figure ourt why it’s not working?
[03:07:43] *** markalanevans has quit IRC
[03:07:53] *** Lewix has joined #angularjs
[03:07:53] *** Lewix has joined #angularjs
[03:07:57] *** codeman has quit IRC
[03:08:23] *** macabre has joined #angularjs
[03:08:30] *** ron1 has joined #angularjs
[03:08:35] *** Shrooms has joined #angularjs
[03:08:36] *** Shrooms has joined #angularjs
[03:09:03] <CanyonMan> in an angular-bootstrap $model does the item list HAVE to be called 'items' ???
[03:09:46] *** codeman has joined #angularjs
[03:10:17] *** Oxynum has quit IRC
[03:10:19] *** emmesswhy has quit IRC
[03:10:48] *** codeman has quit IRC
[03:11:01] <CanyonMan> Error: [$injector:unpr] Unknown provider: itemsProvider <- items
[03:11:17] *** emmesswhy has joined #angularjs
[03:11:25] *** mven has joined #angularjs
[03:11:26] <helen_> fotoflo: it should work
[03:11:31] <helen_> fotoflo: for sure ><
[03:11:47] <helen_> fotoflo: unless ur not using $http in the function then it wont show in the debugger
[03:12:27] <helen_> fotoflo: i would tell u to plunkr it but i think plunkr is broken ><
[03:12:28] <fotoflo> you should be able to type $http into the console when you are in the function’s runtime env and get $http var returned to you
[03:12:43] <helen_> did u really try what i put up there? function () { var http = $http; debugger; } try that?
[03:12:45] *** emmesswhy has quit IRC
[03:13:22] *** mven has quit IRC
[03:13:24] *** Guest22 has quit IRC
[03:13:29] *** shampine has quit IRC
[03:13:33] *** emmesswhy has joined #angularjs
[03:13:39] <fotoflo> helen_: interesting - what you said works
[03:13:40] *** mven has joined #angularjs
[03:13:46] <fotoflo> i guess its lazy loaded?
[03:14:17] <fotoflo> thanks!@
[03:14:20] *** tskaggs has joined #angularjs
[03:14:45] *** Aerospark has quit IRC
[03:14:56] <helen_> fotoflo: im actually not sure about the "why" it happens, i just know from experience lol
[03:16:03] *** SergioFilhow has quit IRC
[03:16:08] <helen_> i kinda wanna know tho ;p
[03:16:12] *** ludkiller has quit IRC
[03:16:36] *** SergioFilhow has joined #angularjs
[03:18:14] *** ludkiller has joined #angularjs
[03:18:16] *** jaredwilli has joined #angularjs
[03:18:45] *** rchavik_ has joined #angularjs
[03:19:07] *** busticated has quit IRC
[03:19:29] *** conan_the_destro has quit IRC
[03:19:40] *** patric100e99 has quit IRC
[03:20:05] *** RedOrangeZ has quit IRC
[03:20:10] <CanyonMan> There's nothing special about "items" is there? i.e. in resolve: { items: ... }
[03:20:17] *** dc_ has quit IRC
[03:20:25] <asher^> CanyonMan you can use whatever you like
[03:20:31] <CanyonMan> it explodes
[03:20:39] <CanyonMan> I have it sharing scope with its container which works fine
[03:20:45] <CanyonMan> so I want: resolve: { }
[03:20:49] <CanyonMan> or to leave the 'resolve' out entirely
[03:20:58] *** jareddlc has quit IRC
[03:21:06] <asher^> remove the dependency in the modal controller
[03:21:06] *** SergioFilhow has quit IRC
[03:21:26] *** axsuul has quit IRC
[03:21:29] <CanyonMan> oh geeze, there it is
[03:21:31] <CanyonMan> thanks
[03:21:56] *** axsuul has joined #angularjs
[03:22:01] <CanyonMan> yeaht hanks. I didn't get how that worked before.
[03:22:04] <macabre> is ui-calendar the goto for most angular apps? anyone else know of any others?
[03:22:06] *** cornerma1 has joined #angularjs
[03:22:22] *** rchavik has quit IRC
[03:22:57] *** dsdeiz has quit IRC
[03:23:03] <CanyonMan> is that the same as datepicker?
[03:23:17] <CanyonMan> I'm using a datepicker from angular-bootstrap and am fairly happy with it
[03:23:57] <macabre> CanyonMan: i think so
[03:24:00] <CanyonMan> oh no
[03:24:05] <CanyonMan> you want a full blown calendar, not just a date picker
[03:24:32] <macabre> CanyonMan: yes, i believe its fullcalendar.js
[03:24:56] *** bkuberek has joined #angularjs
[03:25:19] *** cornerman has quit IRC
[03:25:24] *** cornerma1 is now known as cornerman
[03:26:16] *** tripu has joined #angularjs
[03:26:23] *** axsuul has quit IRC
[03:27:09] <fotoflo> helen_: i think it lasy loads the dependancies based on the code inside the functions
[03:28:11] *** tskaggs has quit IRC
[03:28:33] <helen_> yea probably xd
[03:28:36] *** tschundeee has joined #angularjs
[03:29:02] *** debunk has quit IRC
[03:29:13] *** Superhard has joined #angularjs
[03:29:52] *** scythe__ has quit IRC
[03:30:02] *** BadBadtz-Maru has joined #angularjs
[03:30:24]
<ghanima> was wondering if I could get some advice in regards to integrating nodejs with angularjs... want to use https://www.npmjs.com/package/checkdns but everything I read talks about integrating express and wrapping the module in there and then making a rest call against it
[03:31:26] *** doginal has quit IRC
[03:32:06] <elrabin> yes - that's what you should do, ghanima. are you wanting to use that directly from the client?
[03:32:21] *** nya has joined #angularjs
[03:32:27] *** ron1 has quit IRC
[03:32:29] <ghanima> elrabin: to say it simply yes
[03:32:38] *** jaredwilli has quit IRC
[03:32:58] <ghanima> I am trying to make as little code as possible this script does something really simple not trying to complicate it
[03:33:25] *** tschundeee has quit IRC
[03:33:50] *** Iravan has joined #angularjs
[03:34:07] *** RobinBAwesome has quit IRC
[03:34:21] *** Superhard has quit IRC
[03:34:51] <elrabin> not sure you'll be able to port that to the client
[03:35:02] *** JeffBuhrt has joined #angularjs
[03:35:14] <elrabin> i think you may be able to use WebRTC to do the same thing
[03:35:34] *** chachan has joined #angularjs
[03:36:27] <CanyonMan> what i think i really want is to let my $modal get its own scope that's a child of the current scope
[03:36:36] *** SargoDarya has joined #angularjs
[03:36:48] *** mven has quit IRC
[03:37:13] *** chachan_ has joined #angularjs
[03:37:28] <CanyonMan> boom, and it worked.
[03:37:50] *** frkout_ has joined #angularjs
[03:37:55] *** mdcox has quit IRC
[03:37:56] *** sbellina has joined #angularjs
[03:37:57] *** JeffBuhrt has left #angularjs
[03:37:59] *** mven has joined #angularjs
[03:38:52] *** dannyc has joined #angularjs
[03:39:52] *** chachan has quit IRC
[03:39:52] *** chachan__ has joined #angularjs
[03:40:35] *** doginal has joined #angularjs
[03:40:42] *** SargoDarya has quit IRC
[03:40:46] *** RobinBAwesome has joined #angularjs
[03:40:55] *** sirkitree is now known as sirkitree|afk
[03:41:28] *** chachan_ has quit IRC
[03:41:36] *** chrisshattuck has quit IRC
[03:41:48] *** frkout has quit IRC
[03:42:29] *** RobinBAwesome has quit IRC
[03:42:43] *** TheAceOfHearts has joined #angularjs
[03:43:36] *** dannyc has quit IRC
[03:44:45] *** axsuul has joined #angularjs
[03:44:50] *** g33k5z has quit IRC
[03:45:25] *** axsuul_ has joined #angularjs
[03:45:29] *** emmesswhy has quit IRC
[03:47:48] *** caitp has joined #angularjs
[03:48:34] *** emmesswhy has joined #angularjs
[03:48:48] *** Oka has quit IRC
[03:49:07] *** axsuul has quit IRC
[03:49:23] *** nloding has joined #angularjs
[03:49:42] *** whunt has quit IRC
[03:49:49] *** dave_boling has joined #angularjs
[03:50:59] *** lexek_ has joined #angularjs
[03:52:00] *** flaviogranero has joined #angularjs
[03:52:46] *** opiates_ is now known as opiates
[03:52:46] *** scriptThis has joined #angularjs
[03:53:05] *** MistahKurtz has joined #angularjs
[03:53:12] <MistahKurtz> hmm
[03:53:27] *** woah has joined #angularjs
[03:54:57] *** nloding_ has joined #angularjs
[03:55:06] *** seriema has joined #angularjs
[03:55:34] <nloding_> anyone have an example of a working authentication http interceptor for v1.3?
[03:55:37] *** nloding has quit IRC
[03:55:41] *** rud has quit IRC
[03:56:45] *** flaviogranero has quit IRC
[03:57:39] *** sgen__ has quit IRC
[03:58:37] *** robdubya has joined #angularjs
[03:59:16] *** kakashiA1 has joined #angularjs
[03:59:56] *** kentaro0919 has quit IRC
[04:00:07] *** seriema has quit IRC
[04:00:28] *** 64MABEEXP has joined #angularjs
[04:00:39] *** gladely has quit IRC
[04:01:41] <s3shs> nloding_, I don't have an example but do just that. What's your issue
[04:01:42] <s3shs> ?
[04:01:57] *** kirfu has joined #angularjs
[04:02:00] <robdubya> evening
[04:02:08] <s3shs> robdubya, howdy.
[04:02:16] *** kakashiAL has quit IRC
[04:02:32] *** mmealling has quit IRC
[04:02:37] <robdubya> howdy
[04:03:38] *** snapwich has joined #angularjs
[04:04:02] *** helen_ has quit IRC
[04:04:19] *** snapwich has quit IRC
[04:04:29] *** ddelrio1986 has joined #angularjs
[04:06:48] *** nemothekid has quit IRC
[04:07:32] *** platonic has joined #angularjs
[04:07:57] *** moogey has quit IRC
[04:08:33] *** kuadrosx has quit IRC
[04:09:19] *** opiates has quit IRC
[04:10:50] *** nloding_ has quit IRC
[04:11:13] *** BahamutWC has joined #angularjs
[04:11:32] *** BahamutWC has quit IRC
[04:12:01] *** Aliks has joined #angularjs
[04:12:14] *** platonic has quit IRC
[04:12:17] *** BahamutWC has joined #angularjs
[04:12:41] *** kuadrosx has joined #angularjs
[04:12:44] *** TheAceOfHearts has quit IRC
[04:14:03] *** BillCriswell has quit IRC
[04:14:25] *** dc has joined #angularjs
[04:15:05] *** Lewix has quit IRC
[04:16:15] *** ddelrio1986 has quit IRC
[04:16:31] *** bostonaholic has joined #angularjs
[04:16:46] *** pknordic has quit IRC
[04:17:07] *** SergioFilhow has joined #angularjs
[04:17:58] *** ddelrio1986 has joined #angularjs
[04:18:34] *** doginal has quit IRC
[04:19:23] *** dsdeiz has joined #angularjs
[04:19:41] *** JR___ has quit IRC
[04:20:55] *** Siecje has left #angularjs
[04:21:06] *** ddelrio1986 has quit IRC
[04:21:16] *** Una has joined #angularjs
[04:21:20] *** mven has quit IRC
[04:21:29] *** SergioFilhow has quit IRC
[04:22:00] *** chachan__ has quit IRC
[04:22:22] *** frkout_ has quit IRC
[04:22:48] *** frkout has joined #angularjs
[04:23:50] *** dave_boling has quit IRC
[04:24:17] *** mmealling has joined #angularjs
[04:24:45] *** recidive has quit IRC
[04:25:12] *** nemothekid has joined #angularjs
[04:25:42] *** dcherman has joined #angularjs
[04:28:10] *** morenoh149 has joined #angularjs
[04:28:36] *** tschundeee has joined #angularjs
[04:28:39] *** TheAceOfHearts has joined #angularjs
[04:29:58] *** Superhard has joined #angularjs
[04:29:58] *** katsh has joined #angularjs
[04:30:16] <katsh> robdubya: do you have the plunks from yesterday?
[04:30:30] <katsh> i forked, but now showing in my plunks section
[04:31:44] <robdubya> think the plunker API is down, saw a tweet about it earlier
[04:32:03] <katsh> damn
[04:32:11] <katsh> was going to go over your code again
[04:32:25] <katsh> thanks ill wait for it to comeback
[04:33:09] *** tschundeee has quit IRC
[04:33:28] *** nashimus has quit IRC
[04:33:31] *** annlewis has quit IRC
[04:33:36] *** rchavik_ is now known as rchavik
[04:33:39] *** Una has quit IRC
[04:34:00] <katsh> thanks
[04:34:10] <sabrehagen1> hey guys, i'm having an issue where the data in my service isn't being updated in my binding. i have a provider that is being used to store the current user's info. i display this info in my UserInfo controller, then update it elsewhere in another controller, and i need the UserInfo controller to display the new info.
[04:34:27] <sabrehagen1> can anybody give my any ideas why this reference isn't updating? i never 'destroy' the currentUser object by overwriting it, i only extend it.
[04:34:33] *** Superhard has quit IRC
[04:34:35] *** Aliks has quit IRC
[04:35:11] *** Aliks has joined #angularjs
[04:36:07] *** rtpg has quit IRC
[04:38:15] *** Hackwar has joined #angularjs
[04:39:32] *** Aliks has quit IRC
[04:39:43] *** Hackwar1 has quit IRC
[04:40:14] *** axsuul_ has quit IRC
[04:41:26] *** Left_Turn has quit IRC
[04:42:00] <CanyonMan> Can I send a $modal an isolated scope like a directive, with '=
[04:42:03] <CanyonMan> and two-way binding?
[04:42:38] *** markalanevans has joined #angularjs
[04:43:39] *** TheAceOfHearts has quit IRC
[04:43:46] <robdubya> sabrehagen1 plunker is borked at the moment
[04:44:31] <katsh> why does the channel prefer plunkr over others?
[04:44:45] <robdubya> bc its made in angular
[04:44:48] <CanyonMan> and it's awesome
[04:45:23] *** JR___ has joined #angularjs
[04:45:32] *** juampy has quit IRC
[04:46:06] *** renlo has joined #angularjs
[04:47:12] *** MistahKurtz has quit IRC
[04:47:33] <sabrehagen1> i watched an egghead tutorial on it, and this seems to be exactly what he was doing, but it's just not working for me
[04:47:41] <sabrehagen1> is there any way to use a debugger to trace this kind of thing?
[04:47:51] <robdubya> likely because you're binding to a primitive value, if i had to guess
[04:48:07] <robdubya> 11-14
[04:48:47] <sabrehagen1> robdubya: so binding to primitives dosen't work? i need to bind to an object?
[04:49:21] *** fotoflo has quit IRC
[04:49:23] <robdubya> in JS, strings and other primitives copy the value - whereas objects copy the reference
[04:49:43] <robdubya> eg ng-model="foo" is usually gonna break
[04:49:48] <robdubya> ng-model="foo.bar" is typically fine
[04:50:04] *** Lewix has joined #angularjs
[04:50:08] <sabrehagen1> ohh nice
[04:50:13] <sabrehagen1> let me try that out
[04:50:13] *** Lewix has quit IRC
[04:50:13] *** Lewix has joined #angularjs
[04:50:55] *** SoulBlade has joined #angularjs
[04:53:13] *** woah has quit IRC
[04:53:45] *** rikko has quit IRC
[04:54:06] *** chrisshattuck has joined #angularjs
[04:55:10] *** TheAceOfHearts has joined #angularjs
[04:55:23] *** djvirgen1 has quit IRC
[04:55:58] *** seriema has joined #angularjs
[04:56:08] *** emmesswhy has quit IRC
[04:56:44] *** codeman has joined #angularjs
[04:56:54] *** mven has joined #angularjs
[04:57:01] *** kapil__ has joined #angularjs
[04:57:01] *** Oddman has quit IRC
[04:57:26] *** Siva has joined #angularjs
[04:57:36] *** afuggini has quit IRC
[05:00:16] <Siva> where to exactly use factories rather services? help
[05:00:45] *** seriema has quit IRC
[05:00:54] *** afuggini has joined #angularjs
[05:01:45] *** asher^ has quit IRC
[05:01:57] *** fedenunez has quit IRC
[05:02:52] *** zz_night-owl is now known as night-owl
[05:03:33] <elrabin> just different syntaxes for the same thing siva
[05:03:45] *** BadBadtz-Maru has quit IRC
[05:04:22] *** annlewis has joined #angularjs
[05:04:48] <Siva> thx erabin
[05:05:07] *** trustyhank has joined #angularjs
[05:06:14] *** asher^ has joined #angularjs
[05:06:43] *** etoxin has joined #angularjs
[05:06:45] *** trustyhank has quit IRC
[05:07:00] *** dsdeiz has quit IRC
[05:07:08] <sabrehagen1> i have an empty object i.e. var a = {}. how do i check if a equals {}?
[05:07:49] *** robdubya has quit IRC
[05:08:08] *** Lewix has quit IRC
[05:08:58] *** annlewis has quit IRC
[05:09:19] *** etoxin has quit IRC
[05:09:25] *** __danimal__ has quit IRC
[05:10:58] <elrabin> sabrehagen1: assuming it doesn't have a proto, Object.keys(a).length === 0
[05:12:47] *** robdubya has joined #angularjs
[05:12:49] *** codeman has quit IRC
[05:13:06] *** pknordic has joined #angularjs
[05:13:45] *** vonnegut has quit IRC
[05:13:55] *** shackleford has joined #angularjs
[05:14:20] *** dave_boling has joined #angularjs
[05:14:47] *** andy__ has joined #angularjs
[05:14:54] <andy__> hi
[05:15:03] <andy__> anyone is here?
[05:15:19] <andy__> no one?
[05:15:37] *** mary5030 has joined #angularjs
[05:15:57] <andy__> hihihi
[05:16:23] *** patrick99e99 has joined #angularjs
[05:16:39] *** shacklef_ has joined #angularjs
[05:18:12] *** Oxynum has joined #angularjs
[05:18:24] *** shackleford has quit IRC
[05:18:47] *** etoxin has joined #angularjs
[05:18:49] <elrabin> hi andy__
[05:19:24] <andy__> i was wondering
[05:19:25] *** SomeKittens has quit IRC
[05:19:34] *** chrisshattuck has quit IRC
[05:19:37] <andy__> when is the angular js 2.0 release@@?
[05:20:39] *** shacklef_ has quit IRC
[05:20:41] <robdubya> not close enough for you to worry about :)
[05:20:41] *** axsuul has joined #angularjs
[05:20:54] <robdubya> 1.4 is targeted for spring 2014 @ ng-conf
[05:21:01] <robdubya> so after that, presumably
[05:21:05] *** patrick99e99 has quit IRC
[05:21:17] *** shackleford has joined #angularjs
[05:21:29] <andy__> oh my god, that long way to go...
[05:21:31] *** etoxin has quit IRC
[05:21:31] *** btfriar has joined #angularjs
[05:21:45] <BahamutWC> probably not till 2016 is my guess
[05:21:49] *** jordandotdev has joined #angularjs
[05:21:58] <andy__> @[]@"""""""""" 2016'''''
[05:21:58] *** shackleford has quit IRC
[05:22:18] <s3shs> I think I'll write a giant app in angular 2.0 and spend all my time keeping my code compatible with every release.
[05:22:37] *** Oxynum has quit IRC
[05:22:48] <andy__> but you need to wait till 2016~~ haha
[05:22:58] <BahamutWC> robdubya is already using ES6 + di.js heh
[05:22:59] <s3shs> Damn, foiled again.
[05:23:30] <robdubya> yeah but even i'm not insane enough to fuck about with compiling the DOM
[05:23:42] <BahamutWC> that's just stupid at this point
[05:23:50] *** afuggini has quit IRC
[05:24:02] *** chrisbirk has joined #angularjs
[05:24:02] <s3shs> robdubya, what could possibly go wrong?
[05:24:02] *** kkthxbye has quit IRC
[05:25:08] *** macabre has quit IRC
[05:25:32] *** SargoDarya has joined #angularjs
[05:26:14] *** fotoflo has joined #angularjs
[05:26:24] *** dcherman2 has joined #angularjs
[05:27:12] *** Aliks has joined #angularjs
[05:27:22] *** bostonaholic has quit IRC
[05:27:45] *** Aliks has quit IRC
[05:27:57] *** dimetron has joined #angularjs
[05:28:07] <robdubya> i'm gonna switch to polymer anyway :p
[05:28:24] *** axsuul_ has joined #angularjs
[05:28:25] *** anderskristo has quit IRC
[05:28:29] *** dotsspwe has joined #angularjs
[05:28:33] <s3shs> Does it handle checkboxes better than angular? If it does, I'm in.
[05:28:34] *** axsuul has quit IRC
[05:28:37] *** tschundeee has joined #angularjs
[05:28:37] *** axsuul_ has quit IRC
[05:28:54] *** vonnegut has joined #angularjs
[05:29:47] *** Rebirth has joined #angularjs
[05:29:47] *** bostonaholic has joined #angularjs
[05:29:50] *** anderskristo has joined #angularjs
[05:29:53] *** SargoDarya has quit IRC
[05:30:17] *** dcherman has quit IRC
[05:30:18] *** herbyme has joined #angularjs
[05:30:41] *** Superhard has joined #angularjs
[05:30:47] *** zanea is now known as zanea|away
[05:30:50] <s3shs> Ooh, pretty.
[05:32:02] <s3shs> Does polymer come with its own css? Nice looking stuff. Is it repsonsive?
[05:32:28] <Siva> nice polymer
[05:32:35] <s3shs> Re: on-animationend="{{ checkboxAnimationEnd }}"
[05:32:45] <s3shs> I like the way angular adorns with ng and {{}} are implied.
[05:32:54] <robdubya> yes, yes, nd yes
[05:33:01] *** Fire-Dragon-DoL has quit IRC
[05:33:21] *** tschundeee has quit IRC
[05:33:27] *** hatzopoulos_ has joined #angularjs
[05:33:41] <s3shs> Does its binding require a sweep like angular? Or setters like ember? Or object.observe like unsupported?
[05:33:49] <s3shs> Something else?
[05:33:55] *** mdcox has joined #angularjs
[05:34:24] *** Aerospark has joined #angularjs
[05:34:25] *** trustyhank has joined #angularjs
[05:34:30] *** neilff has quit IRC
[05:34:37] *** mzabriskie has joined #angularjs
[05:34:37] *** hatzopoulos has quit IRC
[05:34:38] *** mickhansen has quit IRC
[05:34:38] *** dotty has quit IRC
[05:34:38] *** JonathanNeal has quit IRC
[05:34:39] *** bejames1 has quit IRC
[05:34:40] *** dcherman has joined #angularjs
[05:34:53] *** bejames has joined #angularjs
[05:34:55] *** Superhard has quit IRC
[05:35:02] *** jordandotdev has quit IRC
[05:35:03] *** lebster has quit IRC
[05:35:03] *** amatecha has quit IRC
[05:35:04] *** dsdeiz has joined #angularjs
[05:35:09] <robdubya> its using O.o
[05:35:19] <robdubya> or their polyfill (observe-js)
[05:35:19] *** dotty has joined #angularjs
[05:35:27] *** joshontheweb has quit IRC
[05:35:31] *** trustyhank has quit IRC
[05:35:34] *** ProLoser has quit IRC
[05:35:34] *** ebryn has quit IRC
[05:35:35] *** Fifty5Plus has quit IRC
[05:35:35] *** ZucchiniZe has quit IRC
[05:35:35] *** ggherdov has quit IRC
[05:35:36] <s3shs> That's kind of forward-leaning.
[05:35:40] <s3shs> But cool at the same time.
[05:35:47] *** ivor has joined #angularjs
[05:36:05] *** vectra has quit IRC
[05:36:05] *** ETBlue has quit IRC
[05:36:05] *** mattattaque has quit IRC
[05:36:06] *** pchittum has quit IRC
[05:36:06] *** twisted` has quit IRC
[05:36:06] *** phishy has quit IRC
[05:36:07] *** isacloud has quit IRC
[05:36:07] *** mafs_ has quit IRC
[05:36:08] *** fbe_ has quit IRC
[05:36:08] *** joshontheweb has joined #angularjs
[05:36:13] <robdubya> its in chrome already (wooo)
[05:36:29] <s3shs> Still experimental though? Or is it mainstream now?
[05:36:30] *** rtpg has joined #angularjs
[05:36:35] *** dcherman2 has quit IRC
[05:36:36] *** RangerRick has quit IRC
[05:36:37] <robdubya> O.o is in chrome stable
[05:36:37] *** ivor has quit IRC
[05:36:44] <s3shs> (I've been under a rock for a bit.)
[05:36:44] *** rtpg has quit IRC
[05:36:56] *** RangerRick has joined #angularjs
[05:37:01] *** rtpg has joined #angularjs
[05:37:16] <s3shs> Nice. Is angular using it if it's there?
[05:37:27] <robdubya> Promise / Map / Set / O.o and some other stuff all in stable
[05:37:33] *** axsuul has joined #angularjs
[05:37:34] <robdubya> not sure what ng2 is doing with that actually
[05:37:40] *** KushS has joined #angularjs
[05:37:42] *** lebster has joined #angularjs
[05:37:48] *** KushS has quit IRC
[05:37:49] *** axsuul has quit IRC
[05:37:51] *** Fifty5Plus has joined #angularjs
[05:37:53] *** ProLoser has joined #angularjs
[05:37:53] *** phishy has joined #angularjs
[05:37:55] *** mafs_ has joined #angularjs
[05:37:55] *** pchittum has joined #angularjs
[05:37:56] *** jordandotdev has joined #angularjs
[05:37:56] *** isacloud has joined #angularjs
[05:37:57] <BahamutWC> watchtower.js is the O.o layer in angular
[05:37:57] *** ebryn has joined #angularjs
[05:38:05] <BahamutWC> angular 2.0*
[05:38:07] *** fbe has joined #angularjs
[05:38:15] *** ETBlue_ has joined #angularjs
[05:38:23] *** axsuul has joined #angularjs
[05:38:25] *** rtpg has quit IRC
[05:38:29] <s3shs> I wonder how compatible old apps will be with O.o.
[05:38:37] *** rtpg has joined #angularjs
[05:38:41] <s3shs> My app is pretty wild. I can foresee pain.
[05:38:41] <BahamutWC> good luck supporting old IE :P
[05:38:45] *** ZucchiniZe has joined #angularjs
[05:38:47] *** vectra has joined #angularjs
[05:38:48] <s3shs> Who cares about IE.
[05:38:57] *** twisted` has joined #angularjs
[05:39:02] *** JonathanNeal has joined #angularjs
[05:39:04] *** amatecha has joined #angularjs
[05:39:05] *** mickhansen has joined #angularjs
[05:39:11] <BahamutWC> companies who rake in the $ from IE support :(
[05:39:12] *** btfriar has quit IRC
[05:39:26] *** freelyfred has joined #angularjs
[05:39:46] <SoulBlade> man i should just switch to polymer now
[05:39:56] *** mattattaque has joined #angularjs
[05:40:16] <SoulBlade> looks interesting
[05:40:26] *** lemur has quit IRC
[05:40:31] <SoulBlade> web components + sugar
[05:40:33] *** Shai-Tan has quit IRC
[05:40:46] *** doginal has joined #angularjs
[05:40:47] *** mary5030 has quit IRC
[05:41:09] *** lemur has joined #angularjs
[05:41:19] *** mary5030 has joined #angularjs
[05:41:26] *** codeman has joined #angularjs
[05:41:47] <davek_> SoulBlade, are you subtle angular flame bait #489123?
[05:41:53] <davek_> You're a little late.
[05:42:22] *** xxMatiasFxx has joined #angularjs
[05:44:03] *** ips|malc has quit IRC
[05:44:16] *** ips|malc has joined #angularjs
[05:44:34] *** advy has joined #angularjs
[05:44:46] *** ron1 has joined #angularjs
[05:45:31] *** ggherdov has joined #angularjs
[05:45:37] *** lemur has quit IRC
[05:46:01] *** xxMatiasFCxx has quit IRC
[05:46:01] *** mary5030 has quit IRC
[05:46:27] *** ron_frown has joined #angularjs
[05:47:01] *** mary5030 has joined #angularjs
[05:48:25] *** robdubya has quit IRC
[05:49:04] *** renlo has quit IRC
[05:49:04] *** robdubya has joined #angularjs
[05:49:05] *** bostonaholic has quit IRC
[05:49:05] *** MacWinner has quit IRC
[05:49:05] <robdubya> davek_ i started it :o
[05:50:13] *** dylan9o4 has joined #angularjs
[05:52:31] <dylan9o4> Hey guys, if i have an multidimensional object/array that I have multiple embedded ng-repeat elements in the dom, and markup bindings, is there a way to keep this under a single scope instead of in my case, creating hundreds of them?
[05:52:57] *** themime has joined #angularjs
[05:53:22] *** jaydubya has quit IRC
[05:54:03] *** jaydubya has joined #angularjs
[05:54:07] <davek_> Troublemaker.
[05:54:50] <dylan9o4> ?
[05:54:52] *** ChadStrat has joined #angularjs
[05:58:34] *** elrabin_ has joined #angularjs
[06:01:49] *** platonic has joined #angularjs
[06:01:49] *** herbyme has quit IRC
[06:01:50] *** burzum has joined #angularjs
[06:01:50] *** seriema has joined #angularjs
[06:01:50] *** elrabin has quit IRC
[06:01:51] *** jaydubya has quit IRC
[06:01:51] *** burzum2 has quit IRC
[06:01:52] *** robdubya has quit IRC
[06:01:52] <SoulBlade> yea - im not really planning to switch in the immediate future.. but def plan to play with it
[06:01:54] *** elrabin_ has joined #angularjs
[06:01:54] *** herbyme has joined #angularjs
[06:01:54] *** elrabin_ has quit IRC
[06:01:54] *** platonic has quit IRC
[06:01:55] *** elrabin_ has joined #angularjs
[06:01:55] *** seriema has quit IRC
[06:01:55] *** elrabin_ is now known as 7F1AB7Z94
[06:01:55] *** JeffBuhrt1 has joined #angularjs
[06:02:28] *** {DV8} has quit IRC
[06:02:40] *** Siva has quit IRC
[06:02:51] *** kuadrosx has quit IRC
[06:02:59] *** {DV8} has joined #angularjs
[06:03:34] *** lemur has joined #angularjs
[06:04:02] *** doginal has quit IRC
[06:04:47] *** ciwolsey has quit IRC
[06:04:50] *** MuffinMan` has quit IRC
[06:05:41] *** annlewis has joined #angularjs
[06:05:54] *** SergioFilhow has joined #angularjs
[06:06:36] *** renlo has joined #angularjs
[06:07:37] *** 7F1AB7Z94 has quit IRC
[06:08:56] *** stormbytes has joined #angularjs
[06:08:59] *** neilff has joined #angularjs
[06:10:06] *** annlewis has quit IRC
[06:10:17] *** SergioFilhow has quit IRC
[06:10:57] *** codeman has quit IRC
[06:12:18] *** andy__ has quit IRC
[06:12:34] *** ron1 has quit IRC
[06:12:40] *** herbyme has quit IRC
[06:13:02] *** tskaggs has joined #angularjs
[06:13:26] *** ron1 has joined #angularjs
[06:13:42] *** tskaggs has quit IRC
[06:14:24] *** ChadStrat has quit IRC
[06:15:20] *** Lewix has joined #angularjs
[06:17:33] *** mary5030 has quit IRC
[06:18:09] *** mary5030 has joined #angularjs
[06:18:17] *** Nivag_ has joined #angularjs
[06:18:54] *** Oxynum has joined #angularjs
[06:18:55] *** Sna4x8 has quit IRC
[06:19:00] *** Aerospark has quit IRC
[06:20:02] *** Sna4x8 has joined #angularjs
[06:21:16] *** kirfu has quit IRC
[06:21:50] *** Aerospark has joined #angularjs
[06:22:25] *** mary5030 has quit IRC
[06:22:28] *** sinclair_ has joined #angularjs
[06:22:49] <stormbytes> does every service get its own module, generally speaking?
[06:22:57] <stormbytes> i'm trying to decide a good way to organize code
[06:22:59] *** Raging_Hog has joined #angularjs
[06:23:54] *** Oxynum has quit IRC
[06:23:56] *** it0a has quit IRC
[06:23:57] *** ron_frown has quit IRC
[06:24:00] *** knownasilya has quit IRC
[06:24:06] *** sinclair has quit IRC
[06:24:06] *** aboudreault has quit IRC
[06:24:09] *** SomeKittens has joined #angularjs
[06:24:14] *** ron_frown has joined #angularjs
[06:24:19] *** sinclair_ is now known as sinclair
[06:24:24] *** Aerospark has quit IRC
[06:24:26] <sabrehagen1> before i left i asked "i have an empty object i.e. var a = {}. how do i check if a equals {}?" elrabin said "assuming it doesn't have a proto, Object.keys(a).length === 0". this seems 'ugly' to me especially if a proto is added later. is there another way of checking if a equals {}?
[06:24:44] *** Shadda has quit IRC
[06:24:47] *** afuggini has joined #angularjs
[06:24:54] *** _ritchie_ has joined #angularjs
[06:25:01] *** gunn has quit IRC
[06:25:05] *** dllama1 has joined #angularjs
[06:25:06] *** Lewix has quit IRC
[06:25:09] *** Aerospark has joined #angularjs
[06:25:22] *** k-dawg has quit IRC
[06:25:34] *** one0one_h has joined #angularjs
[06:25:43] *** _ritchie_ has quit IRC
[06:26:00] *** k-dawg has joined #angularjs
[06:26:38] *** one0one has quit IRC
[06:26:38] *** ppppaul has quit IRC
[06:26:38] *** dllama has quit IRC
[06:27:00] *** ppppaul has joined #angularjs
[06:27:28] *** boneskull has joined #angularjs
[06:27:38] *** gunn has joined #angularjs
[06:27:52] *** aboudreault has joined #angularjs
[06:28:14] *** ron1 has quit IRC
[06:28:22] *** ali has joined #angularjs
[06:28:37] *** tschundeee has joined #angularjs
[06:28:46] *** ali is now known as Guest19290
[06:29:00] *** Guest19290 is now known as alinou
[06:29:10] *** afuggini has quit IRC
[06:30:02] *** Shadda has joined #angularjs
[06:30:25] *** tschunde_ has joined #angularjs
[06:30:39] *** Raging_Hog has quit IRC
[06:33:05] *** tschundeee has quit IRC
[06:33:50] *** woah has joined #angularjs
[06:34:20] *** davek_ has quit IRC
[06:34:21] <themime> im pretty sure prototypes are used for the equivalent of a "class" in javascript, so really Object.keys(a).length === 0 should be fine
[06:34:42] *** scythe__ has joined #angularjs
[06:34:57] *** tschunde_ has quit IRC
[06:35:14] *** markalanevans has quit IRC
[06:35:28] *** dylan9o4 has quit IRC
[06:36:08] *** Shai-Tan has joined #angularjs
[06:36:47] <themime> so really i have no idea i guess lol
[06:36:51] *** davek_ has joined #angularjs
[06:36:51] *** davek_ has joined #angularjs
[06:37:46] *** tfennelly has joined #angularjs
[06:37:53] *** renlo has quit IRC
[06:38:07] *** robdubya has joined #angularjs
[06:40:03] *** atomical has quit IRC
[06:41:21] *** atomical has joined #angularjs
[06:41:53] *** renlo has joined #angularjs
[06:41:57] *** tfennelly has quit IRC
[06:42:25] *** rikko has joined #angularjs
[06:43:49] *** dave_boling has quit IRC
[06:45:09] <jaawerth> sabrehagen: perh MDN, Object.keys only returns an object's own enumerable properties, which means no prototypes would be included. The main downside to that approach is browser compatibility - IE8 doesn't support Object.keys, though most other browsers should. So if you're okay with IE9 and up, that'd work
[06:46:45] <jaawerth> sabrehagen: a nice quick way would be to just use a "deep comparison" via angular.equals({}, yourObj)
[06:46:53] <sabrehagen1> jaawerth: themime: thanks guys, but it looks like lodash has isEmpty. nice solutino :)
[06:46:57] *** rikko has quit IRC
[06:47:19] <jaawerth> yeah, if you're using lodash that's the easiest way, though angular.equals would make it less lib-dependent
[06:47:20] <themime> oh yea i hear great things about lodash good idea
[06:48:06] *** King has joined #angularjs
[06:48:26] <jaawerth> angular.equals would essentially just check for strict equiv (===) and if that fails, start comparing properties. It wouldn't be expensive, becauuse it would immediately hit an "unequal" state when it compares an existing property in one object with a nonexistent in the other
[06:48:27] <King> how to start with angularjs
[06:48:28] *** markalanevans has joined #angularjs
[06:48:29] <sabrehagen1> jaawerth: i'm using restangular which requires lodash, so i can just use the existing ball and chain :P
[06:48:30] *** King is now known as Guest53126
[06:48:47] <jaawerth> *shrug* whatever you want
[06:48:56] <Guest53126> how to learn about creating own directive??
[06:50:18] <Guest53126> thank u..
[06:50:27] *** VeeWee has joined #angularjs
[06:50:45] *** Aerospark has quit IRC
[06:51:21] <jaawerth> FYI, custom directives are probably the part of angular with the steepest learning curve, so it isn't the best place to start (I'd probably start with the official tutorial)
[06:51:26] *** markalanevans has quit IRC
[06:52:02] <davek_> Anyone using express on the back end?
[06:52:38] <jaawerth> often, yes. doesn't mean I can answer your question though ;-)
[06:52:54] <davek_> Its an express integration testing question just to clarify.
[06:53:07] <davek_> Just trying to get a feel for how other people test because my current strategy is causing problems.
[06:53:28] *** kp666 has joined #angularjs
[06:53:45] *** SoulBlade has quit IRC
[06:54:13] <jaawerth> ah, I haven't really gotten a set way of doing that yet either, not integrated anyway
[06:54:28] *** bayousoft has quit IRC
[06:54:33] <jaawerth> figured I'd soon give a shot at hooking up protractor tests to the API and starting there, though
[06:54:37] <themime> mongoose, postman, and meditation/prayer/etc
[06:54:43] *** herbyme has joined #angularjs
[06:55:01] <davek_> Oh I seperate that I mean integration in like "submit request, does it return expected things"?
[06:55:18] <davek_> themime, is this... directed at anybody?
[06:55:20] <davek_> None of those really help me.
[06:55:46] <themime> it was partially a joke. i should use jasmine or something but haven't yet
[06:56:30] <jaawerth> davek_: well.. what are you using for your tests on the client side?
[06:56:45] *** emmesswhy has joined #angularjs
[06:57:03] *** platonic has joined #angularjs
[06:57:17] <jaawerth> you could always test the API using another node server with, say the "should" module to drive the API calls and check for expect responses
[06:57:26] <jaawerth> expected*
[06:57:57] *** tschundeee has joined #angularjs
[06:58:06] *** seriema has joined #angularjs
[06:58:15] *** mspier|away is now known as mspier
[06:58:39] *** bkuberek has quit IRC
[06:59:03] *** frkout_ has joined #angularjs
[06:59:05] *** NormySan has joined #angularjs
[06:59:12] *** scythe__ has quit IRC
[06:59:38] <davek_> jaawerth, angular e2e but I mock things.
[07:00:12] <jaawerth> ah. well you can't use mocked httpBackend sadly
[07:00:20] *** Iravan has quit IRC
[07:00:57] *** Iravan has joined #angularjs
[07:01:50] *** platonic has quit IRC
[07:02:01] *** frkout has quit IRC
[07:02:28] *** seriema has quit IRC
[07:03:04] *** oste has quit IRC
[07:03:09] *** Sadin has quit IRC
[07:04:23] *** djvirgen has joined #angularjs
[07:04:39] *** annlewis has joined #angularjs
[07:04:43] *** elrabin has joined #angularjs
[07:05:20] *** d4rklit3 has quit IRC
[07:06:09] *** asher^ has quit IRC
[07:08:43] *** markalanevans has joined #angularjs
[07:09:13] *** Raging_Hog has joined #angularjs
[07:09:19] *** annlewis has quit IRC
[07:09:27] <Guest53126> how to code efficiently in AngularJS??
[07:09:43] <davek_> Not using IRC.
[07:09:53] <Guest53126> IRC??
[07:10:23] *** pen has joined #angularjs
[07:10:40] <sabrehagen1> inter-racial coitus
[07:11:12] *** axsuul has quit IRC
[07:11:21] *** elrabin has quit IRC
[07:12:43] *** TyrfingMjolnir has joined #angularjs
[07:14:24] *** SargoDarya has joined #angularjs
[07:14:29] *** {DV8} has quit IRC
[07:15:07] *** dcherman has quit IRC
[07:15:51] *** tilgovi has quit IRC
[07:16:40] <jaawerth> plnkr, y u no up?
[07:16:49] <themime> damn again it was out like all last week
[07:16:55] <jaawerth> yeah
[07:17:02] *** dannyc has joined #angularjs
[07:17:12] *** patrick99e99 has joined #angularjs
[07:17:29] *** foucher has quit IRC
[07:18:38] *** SargoDarya has quit IRC
[07:19:50] *** Superhard has joined #angularjs
[07:20:15] <elmcrest> by accident anyone with a One+ One invite for me?
[07:20:27] *** entzi has joined #angularjs
[07:20:32] *** ivor has joined #angularjs
[07:20:43] *** herbyme has quit IRC
[07:20:52] *** lemur has quit IRC
[07:21:08] <sabrehagen1> i'm having trouble working out how to store the logged in state of my user. if the user is logged in, i want to show a certain section. i'm using a binding with ng-show, but i can't think of what value to bind to other than a boolean primitive. therefore, when i change my boolean primitive, it won't be propagated. what's the right method here?
[07:21:30] *** dannyc has quit IRC
[07:21:32] *** lemur has joined #angularjs
[07:21:57] *** patrick99e99 has quit IRC
[07:23:54] *** axsuul has joined #angularjs
[07:23:59] *** Superhard has quit IRC
[07:24:10] <themime> whats wrong with a boolean
[07:24:14] *** sgen_ has joined #angularjs
[07:24:42] <themime> don't store it on the scope but thats just for inheritance
[07:24:46] <themime> reasons
[07:25:32] <themime> $scope.user.isLoggedIn
[07:25:40] <themime> ng-show="user.isLoggedIn"
[07:26:03] *** lemur has quit IRC
[07:26:24] *** NormySan has quit IRC
[07:27:05] *** lemur has joined #angularjs
[07:27:20] <sabrehagen1> i have isLoggedIn in my service, and in my controller i have $scope.isLoggedIn = Authentication.isLoggedIn;. Then when the value in Authentication is updated, the scope doesn't change with the value
[07:27:27] *** Guest53126 has quit IRC
[07:28:43] *** mary5030 has joined #angularjs
[07:28:56] <fairuz> $scope.isLoggedIn = Authentication.isLoggedIn this will only done once
[07:29:21] <sabrehagen1> fairuz: okay, so how to i 'bind' it?
[07:29:25] <themime> sabrehagen1: is the value in Authentication updated from an external source?
[07:29:35] <themime> also sabrehagen1 fairuz don't store primitive types on the scope
[07:30:11] *** Leon has joined #angularjs
[07:30:12] <themime> $scope.user = {}; $scope.user.isLoggedIn = Authentication.isLoggedIn
[07:30:31] <sabrehagen1> themime: yes, it's updated from an external source. also, i'm not clear on this 'don't store primitives on the scope' practice. can you explain its justification please?
[07:30:43] *** Leon is now known as Guest90410
[07:30:53] *** jdj_dk has joined #angularjs
[07:31:01] *** e0ipso|away is now known as e0ipso
[07:31:36] <jaawerth> that's more javascript than angular
[07:31:38] <themime> but your issue is probably because the value is being updated outside the angular scope - i just had this issue today, its one of the few times you're allowed to call $apply
[07:31:38] <sabrehagen1> haha i just read that :)
[07:31:39] <jaawerth> primitives copy by value
[07:32:12] *** jdj_dk has quit IRC
[07:32:15] <sabrehagen1> jaawerth: and objects are all by ref?
[07:32:18] <davek_> Primates copy by observation.
[07:32:26] <jaawerth> sabrehagen: yes
[07:32:50] <jaawerth> but you have to be careful of the dot rule - if you aren't copy an object property, you'll overwrite the reference.
[07:33:20] *** mary5030 has quit IRC
[07:33:26] <themime> yea, which /could/ be the issue but since Authentication value is being updated from an external angular doesn't know it needs to update the controller's views - it DOES update the value even if its a primitive type though
[07:33:48] <sabrehagen1> jaawerth: ahh i see. so $scope.user.isLoggedIn = true; won't break the reference?
[07:33:54] *** phzon has joined #angularjs
[07:34:13] <jaawerth> it still won't bind though, it's a primitive
[07:34:18] <themime> it will bind
[07:34:26] <themime> thats not his issue
[07:34:39] <jaawerth> if you did $scope.user = UserSvc, sure
[07:34:53] <jaawerth> THEN UserSvc.loggedIn would stay bound to $scope.user
[07:35:00] *** vita has joined #angularjs
[07:35:04] <themime> jaawerth: why wouldn't $scope.user.isLoggedin = Authentication.isLoggedIn not work?
[07:35:11] *** geekyvin has joined #angularjs
[07:35:15] <jaawerth> because you're just copying a primitive from one object to the other
[07:35:19] <jaawerth> aka copying the value. once
[07:35:20] *** jdj_dk has joined #angularjs
[07:35:29] *** geekyvin has quit IRC
[07:35:38] *** geekyvin_ has joined #angularjs
[07:35:39] <themime> damnit plunker such a frustrating time to be down
[07:35:49] <themime> jaawerth: angular still has a watch on it though
[07:35:56] <jaawerth> it doesn't matter
[07:36:03] <jaawerth> unless you're watching the service
[07:36:09] <themime> jaawerth: his issue is that Authentication.isLoggedIn is being updated from an external source
[07:36:14] <themime> ooh
[07:36:14] <themime> hm
[07:36:21] <themime> i think its both
[07:36:24] <jaawerth> themime: all you need to know is: I'm right :P
[07:37:11] *** gunn has quit IRC
[07:37:28] *** gsh has quit IRC
[07:37:39] <jaawerth> sabrehagen: What I usually do is either stick the whole service on $scope (well, I use controllerAs and stick it on the controller object, keeping my scopes cleaner) or keep transient data like that in a sub-object of the service (UserSvc.data, for example) so you can do $scope.user = UserSvc.data
[07:38:01] <sabrehagen1> jaawerth: i'll try that now...
[07:38:11] <themime> i like 'state' too if thats appropriate
[07:38:25] *** phzon has quit IRC
[07:38:42] <themime> jaawerth: if his service value is being updated from an external source, I'm right too.
[07:38:58] <jaawerth> themime: it doesn't matter how it's updated, you're still wrong
[07:39:09] <themime> uuuh no, thats why $apply exists
[07:39:18] <jaawerth> this has nothing to do with the digest cycle
[07:39:24] <themime> my comment is totally unrelated to primitive types now
[07:39:29] <themime> so get that out of your head
[07:39:57] <themime> if he has an external auth lib updating his service value, even if its on an object like it should be, his interface won't update because its being updated outside angular's scope
[07:40:08] <sabrehagen1> still here, just watching this discussion go through to see if i can gleam any info from it
[07:40:14] *** geekyvin_ has quit IRC
[07:40:15] *** pknordic has quit IRC
[07:40:32] <themime> in addition, he had the primtive type on scope, and in addition to THAT he was passing by value
[07:40:40] <jaawerth> themime: $http will automatically call a digest when its promise is resolved
[07:40:48] *** RedOrangeZ has joined #angularjs
[07:41:03] <jaawerth> if it isn't using HTTP for some reason, sure
[07:41:07] <themime> jaawerth: you are not listening, im not talking about from $http, im talking about from an external source, for instance, a callback for a websocket
[07:41:37] <jaawerth> lol, we really aren't talking hypothetical though - this is pretty clearly a primitive issuse
[07:41:55] *** jaydubya has joined #angularjs
[07:42:15] *** busata_ has joined #angularjs
[07:42:40] <themime> i asked him if it was being updated from an external source and he said yes - i was going off of that as well. its possible that information is misinformed. i don't know about you but i fix one issue, then realize my problem is from another, fix that too. it doesn't make that initial error any less wrong
[07:42:44] *** mange has quit IRC
[07:42:49] <jaawerth> yeah, by your definition of "external source"
[07:42:51] <themime> ive fixed*
[07:42:56] <jaawerth> I interpret that as being from an API
[07:43:05] <sabrehagen1> jaawerth: themime is right i believe
[07:43:24] <jaawerth> sabrehagen: are you not using $http?
[07:43:32] <themime> sabrehagen1: if you are making a $http call to an API, my concern is not a factor
[07:43:46] <jaawerth> "external source" isn't exactly clear ;-)
[07:43:56] <sabrehagen1> my value is coming from a service, and the value in that service is being updated by a different controller to the one it is being displayed on
[07:44:32] <themime> jaawerth: right. ive been trying to clarify this whole time your head has been filling the channel
[07:44:34] *** MattWelch has quit IRC
[07:44:36] <sabrehagen1> jaawerth: i never mentioned anything about $http ;) but the update to the service value is done inside an $http response on a different controller
[07:44:48] <jaawerth> yeah, so that triggers the digest
[07:44:53] <themime> sabrehagen1: that should be fine then
[07:44:59] <themime> sabrehagen1: although id stick that call in a factory
[07:45:08] <themime> $http doesn't really belong in controllers
[07:45:19] <sabrehagen1> themime: regardless, i mightn't always update the value via http
[07:45:29] <jaawerth> themime: my head? This is still likely a primitive issue.
[07:46:19] *** asher^ has joined #angularjs
[07:46:29] *** jaydubya has quit IRC
[07:46:53] <jaawerth> because $scope.user.isLoggedin = Authentication.isLoggedIn is simply not going to stay bound
[07:47:52] <sabrehagen1> jaawerth: that's fine, i'm happy to change to $scope.user = Authentication.currentUser
[07:48:02] <sabrehagen1> jaawerth: that should stay bound, right?
[07:48:11] <jaawerth> yeah
[07:48:19] <jaawerth> that'll work for sure
[07:48:45] *** asher^ has joined #angularjs
[07:48:47] *** sigurding has joined #angularjs
[07:48:48] *** asher^ has quit IRC
[07:49:13] *** MattWelch has joined #angularjs
[07:49:16] *** asher^ has joined #angularjs
[07:49:25] <sabrehagen1> let me try and implement this in my code
[07:49:41] <themime> jaawerth: 10 minutes ago i acknowledged that, but hadn't clarified "external source" with sabrehagen1 yet, and thats when you started saying i was wrong without listening to the data /I/ had because nothing else mattered but you being right
[07:49:46] <themime> 15*
[07:50:21] <jaawerth> <themime> jaawerth: why wouldn't $scope.user.isLoggedin = Authentication.isLoggedIn not work?
[07:50:31] <jaawerth> <themime> jaawerth: angular still has a watch on it though
[07:50:33] *** johnkevinmbasco has quit IRC
[07:50:36] <themime> right
[07:50:36] <themime> and then
[07:50:38] <jaawerth> <themime> jaawerth: his issue is that Authentication.isLoggedIn is being updated from an external source
[07:51:04] *** sabrehagen2 has joined #angularjs
[07:51:10] *** jdj_dk has quit IRC
[07:51:13] *** vita has quit IRC
[07:51:25] <jaawerth> certainly you then said "take the primitive stuff out of your head" but I didn't acknowledge that because that took us into hypothetical land
[07:51:30] <themime> jaawerth: right and right after that, 15m ago, i said, "1:36:19 AM <themime> i think its both" and tried to move on from that but youre head was up your ass
[07:51:47] *** mzabriskie has quit IRC
[07:51:49] <jaawerth> *sigh* except it isn't both
[07:52:01] *** Skrypter_ has joined #angularjs
[07:52:06] <jaawerth> but whatever, I'm fine having my head up my ass if it means we don't have to keep talking about this
[07:52:11] <themime> *signugburp* right, but at that point we hadn't clarified "external source"
[07:52:13] *** Lewix has joined #angularjs
[07:52:13] *** Lewix has joined #angularjs
[07:52:22] *** ghanima has quit IRC
[07:52:43] <themime> thats fine, i can tell youre at that point where it won't matter anyway
[07:53:04] *** Skrypter_ is now known as Skrypter
[07:53:21] *** tfennelly has joined #angularjs
[07:53:26] <jaawerth> I was trying (and failing with gusto) to stop a common and easily-explained issue from being overcomplicated
[07:53:31] *** AngularUI has joined #angularjs
[07:53:32]
<AngularUI> [bootstrap] Dawil opened pull request #3109: Use `ng-if` to hide inactive tabs (master...patch-1) http://git.io/qmxSaQ
[07:53:32] *** AngularUI has left #angularjs
[07:53:54] *** sabrehagen1 has quit IRC
[07:53:55] *** herbyme has joined #angularjs
[07:53:57] *** Yahkob has joined #angularjs
[07:53:59] <sabrehagen2> so, when not logged in, my currentUser object will be {}, but when logged in, currentUser will look like {name:'myname', picture:'assets/picture.jpg'}. i need to use an ng-show to show the user info section when logged in. what is the best way to operate on this object with ng-show to show or hide the user info section?
[07:54:39] *** SergioFilhow has joined #angularjs
[07:54:58] <fotoflo> i want to build a UI element that changes a 3-7-2 bootstrap layout to a 3-9 layout by toggling that right-hand col. THis si something i could do with just about 3 lines of easy jquery - how would I do it in Angular?
[07:55:33] <jaawerth> sabrehagen2: well, once you've got the model set up and glued it to the scope in a way that stays bound, you should be able to just do ng-show="user.isLoggedIn" and angular will take care of the rest!
[07:55:35] *** frkout_ has quit IRC
[07:55:41] *** Cronoh has joined #angularjs
[07:55:45] *** frkout has joined #angularjs
[07:56:05] *** renlo has quit IRC
[07:56:11] *** frkout has quit IRC
[07:56:26] <Cronoh> hi i am using ui-select and trying to get just a very basic example working, but when i click the dropdown it doesnt show my options for some reason
[07:56:39] *** frkout has joined #angularjs
[07:57:21] <Cronoh> it does have the items in there though i believe because if i type and hit enter it does select the items... but i assumed i would be able to see my options
[07:57:47] <Cronoh> plnkr.co seems to be down and it is used for every example
[07:57:48] *** platonic has joined #angularjs
[07:57:52] *** tfennelly has quit IRC
[07:58:59] *** SergioFilhow has quit IRC
[07:59:05] *** seriema has joined #angularjs
[07:59:25] *** herbyme has quit IRC
[07:59:33] *** jangoh has joined #angularjs
[07:59:44] *** mspier is now known as mspier|away
[07:59:47] *** entzi has quit IRC
[07:59:48] *** herbyme has joined #angularjs
[07:59:48] <Cronoh> actually please disregard sorry it appears to be some kind of ui issue
[08:00:27] <themime> jaawerth: i understand your reason, it can be frustrating to watch someone needlessly overcomplicate something, but you did it by trying to shut me down, which is disruptive, pushes people from the channel, and creates a hostile environment where people are afraid to share answers and ask questions. i was tired at 2am, and i wasn't wrong about the external
[08:00:27] <themime> lib. a PM would have been more appropriate, its not like i was saying you were wrong and slamming a beer, i was actively researching and trying to replicate before i realized it was just late and i was derping
[08:01:10] *** ron_frown has quit IRC
[08:01:14] <jaawerth> themime: well I'm sorry if I created a hostile environment - I interpreted it as you being stubborn and muddying an issue as a result, correctly or otherwise
[08:01:55] *** doginal has joined #angularjs
[08:02:29] *** platonic has quit IRC
[08:02:54] <jaawerth> fotoflo: well there are a few ways to do the setup, but what you're looking for is ng-class ;-)
[08:03:06] <fotoflo> just to swap the class?
[08:03:12] *** dnull has quit IRC
[08:04:21] <jaawerth> actually, it may even be simpler without it come to think of it
[08:04:24] *** seriema has quit IRC
[08:04:29] *** ryez has quit IRC
[08:04:37] *** instence has joined #angularjs
[08:04:38] *** annlewis has joined #angularjs
[08:04:38] *** 64MABEEXP has quit IRC
[08:04:58] <fotoflo> Arent I supposed to use a directive?
[08:05:32] *** instence_ has quit IRC
[08:05:34] <jaawerth> you could just have (in a parent scope of the grid divs) $scope.grid = {left: 3, middle: 7, right: 2}; and then in your left div, class="col-sm-{{grid.left}}", middle would have class="col-sm-{{grid.middle}}", right would have class="col-sm-{{grid.right}}"
[08:06:01] <themime> jaawerth: all good. i was overly stuck on the external lib as that issue just happened to me today and it was fresh in my memory
[08:06:04] <jaawerth> well.. if you want to get fancy with the logic you could write a custom directive to handle the overall layout - it's what I'd do
[08:06:19] *** recurrence has joined #angularjs
[08:06:19] *** recurrence has joined #angularjs
[08:06:26] <jaawerth> BUT if you want to get it done quickly, that would do it - then you just change grid.right = 0 and grid.middle = 9
[08:06:42] *** geekyvin_ has joined #angularjs
[08:06:45] <geekyvin_> Hi there, I have a search box which on the input will get a json data from a server and create a menu list from the json data. so, I've created a funcion in the controller that is triggered when there is a change in the search box through ng-change, also the function calls a different function createMenu which injects the list elements with something like,
[08:06:46] <geekyvin_> element.append('<li id = '+id+' class = product ng-click = handleClick('+id+') >'+name+'</li>');
[08:06:47] <geekyvin_> but the handleClick method seems to be never triggered when I click the list item. can anyone tell me how to resolve this? any help will be appreciated. thanks! :)
[08:06:48] *** Yahkob is now known as jak
[08:07:05] *** robksawyer has joined #angularjs
[08:07:12] *** jak is now known as jak124124
[08:07:27] *** dancek has quit IRC
[08:07:39] *** finnlake has quit IRC
[08:07:45] <fotoflo> its going to be a big application, but i dont want to to be an unmanageable application
[08:07:56] <jaawerth> how often are you going to reuse this grid?
[08:08:02] *** codeman has joined #angularjs
[08:08:12] <fotoflo> probably not going to change this one much
[08:08:57] *** elrabin has joined #angularjs
[08:09:22] *** annlewis has quit IRC
[08:09:38] *** sabrehagen1 has joined #angularjs
[08:10:08] *** glitch-hat has joined #angularjs
[08:10:09] *** sabrehagen2 has quit IRC
[08:10:17] *** caitp has quit IRC
[08:10:42] *** jMyles has quit IRC
[08:11:10] *** Hackwar has quit IRC
[08:11:41] *** one0one_h has quit IRC
[08:12:09] *** ggrzybek has joined #angularjs
[08:12:22] *** codeman has quit IRC
[08:12:39] *** soee has joined #angularjs
[08:13:02] *** johnnyfive has quit IRC
[08:13:15] <jaawerth> fotoflo: if you know that's the exact grid you need, one simple way to achieve this would just be ng-class="{col-sm-7: rightCol, col-sm-9: !rightCol}" or just ng-class="someFunc()" where $scope.someFunc = function() { return ($scope.rightCol) ? 'col-sm-7' : 'col'sm'9'; }; for the middle - for the right colum nit doesn't matter, since you can just use ng-show="rightCol"
[08:13:25] *** afuggini has joined #angularjs
[08:13:29] <jaawerth> (doesn't matter what other classes it has when it's hidden!)
[08:14:47] <fotoflo> nice
[08:14:49] *** geekyvin_ has quit IRC
[08:14:57] <jaawerth> fotoflo: actually I'm being dumb - the simplest would be ng-class="(rightCol) ? 'col-sm-7' : 'col-sm-9'" - combine the two ;-)
[08:15:14] *** SargoDarya has joined #angularjs
[08:15:28] <jaawerth> any of the three would work. the function way would be best if you want to keep your templates from being too verbose
[08:16:14] <jaawerth> themime: ah, gotcha. yeah, the websocket thing is definitely something that crops up, for sure
[08:16:33] *** elrabin has quit IRC
[08:16:38] <themime> jaawerth: i was excited to finally use $apply in a proper was lol
[08:16:59] <themime> way*
[08:16:59] <jaawerth> hehe, I usually use it when I'm listening to raw DOM events in a directive
[08:17:16] <fotoflo> class="col-sm-{{grid.left}}" looks best to mee
[08:17:18] <fotoflo> but isnt rendering
[08:17:51] *** bzitzow has joined #angularjs
[08:17:56] <Cronoh> if i have an ng-include that grabs a template, and inside of that template i use a ui-select, is it normal that you then cant see the dropdown for example, if it goes outside of the templates html area? It seems like the dropdown list is getting cut off right where the scope of ng-include end
[08:17:58] *** afuggini has quit IRC
[08:18:07] <jaawerth> it might freak out if it evaluates to invalid class before the JS loads
[08:18:13] <jaawerth> that's one of the reasons ng-class is around
[08:18:29] <jaawerth> though I swear I've used it before with no problems
[08:19:27] *** SargoDarya has quit IRC
[08:19:30] <jaawerth> Cronoh: that sounds like a possible CSS issue. do you have it set to overflow: hide?
[08:19:41] *** ghanima has joined #angularjs
[08:19:52] <fotoflo> whats the command to make it wait to render until everything is loaded/
[08:19:58] *** johnnyfive has joined #angularjs
[08:20:24] *** Oxynum has joined #angularjs
[08:20:31] <fotoflo> ng-ngcloak
[08:20:47] <jaawerth> ng-cloak'd do it
[08:21:03] <fotoflo> so it still doesnt like class="col-sm-{{grid.left}}"
[08:21:15] <jaawerth> though IIRC that's still just applying a class so wouldn't prevent it if it's a broken class situation
[08:21:22] <jaawerth> are you getting any errors?
[08:21:39] *** illume has joined #angularjs
[08:21:49] *** metasansana has quit IRC
[08:22:53] *** djvirgen has quit IRC
[08:23:04] *** earthquake has quit IRC
[08:23:37] *** Aliks has joined #angularjs
[08:24:20] <fotoflo> oh it looks like something else isnt working
[08:24:23] <fotoflo> im not getting any errors
[08:24:25] *** charuru has quit IRC
[08:24:34] <fotoflo> <p>right: {{grid.right}}</p> but this isnt rendering anything eeither
[08:24:42] *** red_horned_rihno has joined #angularjs
[08:24:47] *** Oxynum has quit IRC
[08:24:48] *** red_horned_rihno has quit IRC
[08:25:24] *** red_horned_rihno has joined #angularjs
[08:26:01] *** red_horned_rihno has joined #angularjs
[08:26:41] *** sgen_ has quit IRC
[08:26:42] *** Anton_ has quit IRC
[08:28:02] *** dan2k3k4 has joined #angularjs
[08:29:44] *** bkuberek has joined #angularjs
[08:30:18] *** sheplu has quit IRC
[08:31:15] *** rikko has joined #angularjs
[08:31:32] *** intellix has joined #angularjs
[08:32:02] *** zwischenzug2 has joined #angularjs
[08:32:17] *** chrisbirk has quit IRC
[08:32:33] *** yelvert has joined #angularjs
[08:32:42] *** kroogs has quit IRC
[08:33:08] *** kroogs has joined #angularjs
[08:33:37] *** zwischenzug has quit IRC
[08:34:27] *** pknordic has joined #angularjs
[08:34:36] *** bkuberek has quit IRC
[08:34:44] *** Anton_ has joined #angularjs
[08:34:56] *** red_horned_rihno has quit IRC
[08:35:32] *** red_horned_rihno has joined #angularjs
[08:35:38] *** doerteDev has joined #angularjs
[08:35:51] *** red_horned_rihno has quit IRC
[08:36:15]
<jaawerth> fotoflo: plnkr's down so I had to use stupid jsfiddle, so it won't actually show the columns as columns unless you make the preview window nice and wide (at the expense of the code windows), but here's the idea: http://jsfiddle.net/ta80euvu/
[08:36:17] *** rikko has quit IRC
[08:36:28] *** SahanH has quit IRC
[08:36:55] <fotoflo> looks like i have some other problem
[08:36:58] *** martianboy has joined #angularjs
[08:36:58] *** IJNX has joined #angularjs
[08:37:27] <fotoflo> when i click a ng-click its not called the associated function
[08:37:37] <fotoflo> and my {{}} arent all readnering
[08:37:39] <fotoflo> but some are
[08:37:57] *** shyshy has quit IRC
[08:38:09] <fotoflo> figured it out
[08:38:13] <fotoflo> dumb mistake
[08:40:42] *** jacuqesdancona_ has joined #angularjs
[08:41:02] *** lemur has quit IRC
[08:41:14] *** iksik has joined #angularjs
[08:41:23] *** fred-fri has joined #angularjs
[08:41:40] *** lemur has joined #angularjs
[08:41:49] <fred-fri> how can i force anything entered here to be displayed in lower case <input type="text" data-ng-model="tags" id="tags" class="form-control" placeholder="Comma separated tags">
[08:42:02] *** plekplek has joined #angularjs
[08:42:05] <fred-fri> aĺso prefereably sent to controller as lowercase
[08:42:09] *** kalusn has joined #angularjs
[08:42:24] *** SoulBlade has joined #angularjs
[08:42:29] <soee> good morning
[08:42:35] *** sgen_ has joined #angularjs
[08:44:55] *** sigurding has quit IRC
[08:44:56] <jaawerth> fotoflo: I'd use ng-model rather than ng-click for toggling state (unless you have a particular need to)
[08:45:02] *** jae has left #angularjs
[08:45:08] <jaawerth> fotoflo: oh, I missed that you'd solved it;-)
[08:46:16] *** Successful has joined #angularjs
[08:47:10] *** TheDreamIsReal has joined #angularjs
[08:47:11] <fotoflo> im embarrased to say that I did $scope = {} at some point in my code
[08:47:12] *** SoulBlade has quit IRC
[08:47:14] <fotoflo> killing everything
[08:47:19] <fotoflo> but leaving what was before it in tact
[08:47:26] <fotoflo> and throwing me for a huge loop
[08:50:37] *** Superhard has joined #angularjs
[08:51:16] *** kalusn has quit IRC
[08:51:20] *** IJNX has quit IRC
[08:52:53] *** Lewix has quit IRC
[08:53:23] *** tfennelly has joined #angularjs
[08:54:53] *** sigurding has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:09] *** SexualRickshaw has quit IRC
[08:55:10] *** Superhard has quit IRC
[08:55:35] *** Anton_ has quit IRC
[08:55:36] *** SexualRickshaw has joined #angularjs
[08:55:46] <fred-fri> jaawerth: cheers
[08:56:01] *** Guest90410 has quit IRC
[08:56:09] *** illume has quit IRC
[08:56:24] *** Leon has joined #angularjs
[08:56:33] *** ngbot has joined #angularjs
[08:56:34] <ngbot> angular.js/master 85758ce Peter Bacon Darwin: docs(CHANGELOG): remove reverted commit
[08:56:34] *** ngbot has left #angularjs
[08:56:58] *** ngbot has joined #angularjs
[08:56:59] <ngbot> angular.js/v1.2.x efd0490 Peter Bacon Darwin: docs(CHANGELOG): remove reverted commit
[08:56:59] *** ngbot has left #angularjs
[08:57:19] <Leon> any one running cordova with angular 1.3?
[08:57:37] *** tfennelly has quit IRC
[08:58:18] *** SargoDarya has joined #angularjs
[08:58:32] *** platonic has joined #angularjs
[08:58:34] *** sahbeewah has joined #angularjs
[08:58:53] *** laurensclaessen has joined #angularjs
[08:59:00] *** bzitzow has quit IRC
[08:59:33] *** Sky[x] has joined #angularjs
[08:59:46] *** frkout_ has joined #angularjs
[09:00:01] <sabrehagen1> how would i set all properties of an object to undefined using lodash or underscore? i know i need to use each(), but i don't know how to do the assignment
[09:00:12] *** seriema has joined #angularjs
[09:00:17] *** intellix has quit IRC
[09:00:43] <sabrehagen1> wait, i think i've got it...
[09:01:30] *** axsuul has quit IRC
[09:03:10] *** platonic has quit IRC
[09:03:23] *** frkout has quit IRC
[09:03:28] *** busata_ has quit IRC
[09:03:30] *** swirlycheetah has joined #angularjs
[09:03:38] *** Anton_ has joined #angularjs
[09:03:47] <jaawerth> sabrehagen: just to warn you, if you set UserSvc.currentUser to undefined, you're gonna run into dot problems again ;-)
[09:03:49] *** ries has joined #angularjs
[09:04:06] <sabrehagen1> jaawerth: i'm going to be doing it for each user property :)
[09:04:12] <sabrehagen1> thanks for the heads up though ;)
[09:04:18] <jaawerth> haha sure
[09:04:24] <jaawerth> so you mean each propert of .currentUser, etc?
[09:04:29] <sabrehagen1> yep
[09:04:34] <jaawerth> ah, gotcha
[09:04:39] *** annlewis has joined #angularjs
[09:04:40] <sabrehagen1> nice mind reading :)
[09:05:13] <jaawerth> heh
[09:05:32] *** dannyc has joined #angularjs
[09:06:14] *** seriema has quit IRC
[09:06:39] *** ali4ever4 has joined #angularjs
[09:06:58] *** nfroidure has joined #angularjs
[09:07:18] <sabrehagen1> i am using a provider for my UsrSvc, and i hate putting all my functions inline in the $get section, but i can't place them in the provider body because $http et al aren't available at that time, so i end up with a whole string of functions being returned from $get. is there a better way of doing this?
[09:07:55] *** windsurf_ has joined #angularjs
[09:08:55] *** bullicon has joined #angularjs
[09:09:20] *** emmesswhy has quit IRC
[09:09:31] *** Iravan has quit IRC
[09:09:40] *** annlewis has quit IRC
[09:09:41] *** Iravan has joined #angularjs
[09:09:52] <windsurf_> I was doing $scope.event = EventResource.get({event_id:$stateParams.event_id}) but now I need to know when it’s done so that I can take one of the event object’s properties and make another resource call. Should I be using then() and in the success handler set $scope.event instead and then query my other resource?
[09:09:53] *** dannyc has quit IRC
[09:09:53] *** kroogs has quit IRC
[09:11:02] *** jagga has joined #angularjs
[09:12:24] *** Click66 has joined #angularjs
[09:12:28] *** sheplu has joined #angularjs
[09:12:54] <jaawerth> sabrehagen1: you can declare the functions as you normally would (not in the $get) and then attach them to the $get after declaring them - or even before, really, since function declarations jump to the top of your nearest closure
[09:13:07] *** elrabin has joined #angularjs
[09:13:09] <iShortBus> windsurf_: what i'd do then is just use .then, like you said, and not bind it to $scope.event until you're in your callback
[09:13:13] <themime> ugggg i always forgot vm. on my new html pages
[09:13:18] *** recurrence has quit IRC
[09:13:19] <sabrehagen1> jaawerth: i'll try that, but i haven't had luck in the past
[09:13:28] <windsurf_> iShortBus: cool, it’s working.
[09:13:43] <jaawerth> sabrehagen1: how come you're using a provider instead of a factory? need it to be configurable?
[09:13:49] <sabrehagen1> yep
[09:13:56] *** Joy has joined #angularjs
[09:13:59] *** Aliks has quit IRC
[09:14:08] *** afuggini has joined #angularjs
[09:14:14] <themime> sabrehagen1: jaawerth was about to say the same, i only use factories and promises, $resource is more than i need
[09:14:22] <jaawerth> sabrehagen1: one thing that helps when doing it this way is to annotate the functions manually
[09:14:43] <sabrehagen1> jaawerth: how do you mean?
[09:15:03] <jaawerth> sabrehagen1: like, say you have function getSomthing($http) that you're going to attach to your $get in your provider
[09:15:17] *** Joy has quit IRC
[09:15:33] *** illume has joined #angularjs
[09:15:33] *** edzez__ is now known as edzez
[09:15:34] <jaawerth> sabrehagen1: before attaching it, do getSomething.$inject = ['$http']
[09:15:36] <iShortBus> themime: I use a mixture. It really depends on the needs. If i know i'm happy with the response exactly how it comes, then i defer to factories. but you can also daisy-chain .then on $resouce. it's just within a subobject
[09:16:16] *** jstroem has joined #angularjs
[09:16:47] <themime> yea i definitely see how $resource is useful, when i started it seemed required and i actually avoided it for a bit so i like to make sure people understand its not /required/ and in fact many people who seem to know what theyre doing (at least last i checked) don't use it for one reason or another
[09:16:49] <sabrehagen1> jaawerth: where would i put 'getSomething.$inject = ['$http']'
[09:16:51] <jaawerth> sabrehagen1: that way angular.injector, which will operator on your provider to create your service later, should know what to inject into it on its own (not unlike using array syntax or relying on ng-annotate)
[09:17:13] *** sebhoss has joined #angularjs
[09:17:27] *** StryKaizer has joined #angularjs
[09:17:33] <jaawerth> sabrehagen1: right after declaring the function (though again, you could probably get away with doing it before, even though it seems unintuitive)
[09:17:50] <iShortBus> windsurf_: if you want to use $resource and do the binding. The other option would be
[09:17:50] <iShortBus> $scope.event = EventResource.get({event_id:$stateParams.event_id}) .$promise.then(function(res){
[09:17:50] <iShortBus> // Your other code here
[09:17:50] <iShortBus> })
[09:18:07] *** patrick99e99 has joined #angularjs
[09:18:12] <windsurf_> iShortBus: oh, that’s nice
[09:18:14] *** afuggini has quit IRC
[09:18:18] <windsurf_> a bit of what i had and new
[09:18:23] <windsurf_> easier to understand too
[09:18:27] <windsurf_> in my situation
[09:18:47] <iShortBus> for sure. I recently found this out myself
[09:18:50] *** peldan has joined #angularjs
[09:19:24] <themime> sabrehagen1: keep in mind im declaring the module in another file
[09:20:20] <themime> angular.module('modName') // retrieves || angular.module('modName',[]) // creates a module "modName"
[09:21:12] *** Oxynum has joined #angularjs
[09:21:17] *** elrabin has quit IRC
[09:21:28] *** frkout_ has quit IRC
[09:21:45] <jaawerth> sabrehagen1: what's cool is you can do this with any function, you just need to call $injector.invoke on it yourself at some point if it isn't already going to be done for you (though in the case of your provider, invoke will be called automatically)
[09:21:47] *** Leon has quit IRC
[09:21:55] *** frkout has joined #angularjs
[09:22:05] *** uru|away is now known as uru
[09:22:17] *** fernandojsg has joined #angularjs
[09:22:18] *** jstroem has quit IRC
[09:22:29] *** jstroem has joined #angularjs
[09:22:30] <fernandojsg> Hi everyone!
[09:22:33] <themime> sabrehagen1: not sure i haven't really been keeping up so im not sure what your exact issue is, just happened to be working on a new project and could quickly copy a relevant page
[09:22:47] *** patrick99e99 has quit IRC
[09:22:50] <jaawerth> ohhh
[09:22:51] *** jstroem has quit IRC
[09:22:55] *** bengillies has joined #angularjs
[09:23:18] <jaawerth> sabrehagen1: So, $injector.invoke gets called on your $get, I don't believe it will be called on all sub-functions thereof
[09:23:20] *** jstroem has joined #angularjs
[09:23:41] <fernandojsg> Grokling: hey are you there? :D
[09:23:42] <sabrehagen1> jaawerth: bummer :/
[09:25:39] <jaawerth> sabrehagen1: no big deal, you just gotta get $injector.invoke called in it somewhere services are legal
[09:25:48] *** bengillies has quit IRC
[09:25:56] <jaawerth> er, call $injector.invoke() that is
[09:26:11] *** bobbydigitales has joined #angularjs
[09:26:30] *** Oxynum has quit IRC
[09:27:00] <jaawerth> sabrehagen1: you can also use array syntax instead of the $inject property, btw, same result - so long as invoke gets called
[09:27:05] <sabrehagen1> jaawerth: i'll leave that for another day, i already have too many changes for my head to comprehend...
[09:27:34] <jaawerth> haha, yeah providers can make things messy. I used to start out using them and now I start them off as factories until I really need them to be otherwise
[09:27:46] <themime> ^
[09:27:54] *** chr1stopher has joined #angularjs
[09:28:00] *** bengillies has joined #angularjs
[09:28:19] *** tangorri has joined #angularjs
[09:28:37] *** DrMabuse has joined #angularjs
[09:28:38] <jaawerth> it still isn't so bad once you get used to manually injecting, but it certainly aint pretty
[09:28:42] *** jowe has joined #angularjs
[09:28:59] <sabrehagen1> jaawerth: the only reason i had to use it was because i needed data available at the config stage, and i wanted to keep it all logically related in the one service/provider
[09:29:06] *** mariusz has quit IRC
[09:29:08] *** ron1 has joined #angularjs
[09:29:13] <jaawerth> yeah, makes sense
[09:29:25] <bobbydigitales> Just wanted to come back and say thanks to helen_ for suggesting the fix to my earlier problem. Using the array form for the config solved the problem :)
[09:29:25] *** SomeKittens has quit IRC
[09:29:37] *** sigurding has quit IRC
[09:30:00] *** kalusn has joined #angularjs
[09:30:02] *** zwacky has joined #angularjs
[09:30:48] *** jaydubya has joined #angularjs
[09:30:58] <sabrehagen1> jaawerth: looks like i'm not getting off easy...i think i need to use this $injector.invoke(). where would i call that?
[09:31:09] *** guilbep has joined #angularjs
[09:31:51] *** sigurding has joined #angularjs
[09:32:11] *** asher^ has quit IRC
[09:32:14] *** wdna has joined #angularjs
[09:32:25] <tangorri> bjourrr
[09:32:30] *** jeffisabelle has joined #angularjs
[09:32:47] *** MattWelch has quit IRC
[09:32:48] <wdna> hay, why this data-ng-class="{'nav-tab-item-selected': nav.selected_map[tab_key][item_id]}" not working like I expect? the nav-tab... class set when key in array is set.
[09:32:53] <jaawerth> sabrehagen1: $injector is basically a service itself, so I THINK you can get away with injecting it into that $get function of yours
[09:33:07] *** jeffisabelle has quit IRC
[09:33:08] <jaawerth> sabrehagen1: then you can loop through the object of functions, calling $injector.invoke on them
[09:33:23] *** mariusz has joined #angularjs
[09:33:34] *** ron1 has quit IRC
[09:33:42] *** jeffisabelle has joined #angularjs
[09:33:53] *** bealtine has joined #angularjs
[09:34:02] *** kkthxbye has joined #angularjs
[09:34:05] <jaawerth> sabrehagen1: though... what are you actually doing with these functions, btw?
[09:34:17] *** evilaliv3 has joined #angularjs
[09:34:29] *** frobs has joined #angularjs
[09:34:45] <jaawerth> sabrehagen1: are you just using them as-is, as factories? or using them as constructors that you're passing to a .service call?
[09:35:46] *** jaydubya has quit IRC
[09:36:09] <jaawerth> hrm. yeah, I think injector $injector into your $get and looping through calling invoke will fix it. hard to say seeing just snippets, though
[09:36:10] *** windsurf_ has quit IRC
[09:36:25] <jaawerth> stupid plnkr
[09:36:25] *** Sjimi has joined #angularjs
[09:36:42] <jaawerth> why must you bue the only decent js snippet thingy out there
[09:36:45] *** DrMabuse_ has joined #angularjs
[09:36:56] <sabrehagen1> so would i have to call inject on user.logout()?
[09:37:25] *** Rebirth has quit IRC
[09:37:35] <jaawerth> sabrehagen1: so, your $get is essentially what gets called when its time to instantiate your provider into a factory, yes?
[09:38:08] <jaawerth> sabrehagen1: basically, what you're doing is putting $invoke in there (into the root function of your $get) and making part of that process about injecting the dependencies into all of the pieces
[09:38:09] <sabrehagen1> yep...
[09:39:57] <jaawerth> now, the other thing you can do, if those pieces are themselves constructor functions (as in, they get "new" called on them to instantiate an object) is simply pass yourProvider.someFunc into a .service call (which will cause it to be injected as normal), but that depends on how they're all structured
[09:40:13] *** DrMabuse has quit IRC
[09:40:21] *** dan2k3k4 has joined #angularjs
[09:40:31] <jaawerth> that's the flow, after all. provider --> construct a factory ---> construct a service ;-)
[09:40:46] <sabrehagen1> jaawerth: man you have a lot of knowledge....how long have you been doing angular for?
[09:41:23] <jaawerth> umm 13 months, I think
[09:41:35] <sabrehagen1> you've really delved into it
[09:41:36] <jaawerth> dating back to when I dove in headfirst with a project
[09:42:20] <sabrehagen1> which is exactly what i'm doing :P
[09:42:23] *** OddDuck has quit IRC
[09:42:24] <jaawerth> I have no idea how long it normally takes someone... but I can get a little obsessive about picking things apart ;-)
[09:42:38] *** mchammer has joined #angularjs
[09:42:44] <jaawerth> sabrehagen1: haha, nice! yeah I can tell
[09:42:50] *** OddDuck has joined #angularjs
[09:42:50] *** OddDuck has joined #angularjs
[09:42:53] <iShortBus> jaawerth: it's the best way to learn
[09:43:01] <fernandojsg> :D
[09:43:24] *** SergioFilhow has joined #angularjs
[09:43:34] <fernandojsg> *I think I'm..
[09:43:35] *** Joseph_Silber has quit IRC
[09:43:47] <iShortBus> especially when you're first app is an established product with over 5K lines of code and you're asked to refactor the entire thing.
[09:43:57] *** Joseph_Silber has joined #angularjs
[09:44:15]
<sabrehagen1> i appreciate all the help on $injector, but i'm really lost as to how to apply it. would you mind editing this code as a sample. sorry, i know it's a big ask, but i just can't get my logout function to work...http://pastebin.com/FqnNpXrd
[09:44:27] <iShortBus> fernandojsg: that
[09:45:33] *** SargoDarya has quit IRC
[09:45:37] <fernandojsg> btw a quick question
[09:45:39] *** sandelius has joined #angularjs
[09:45:50] <fernandojsg> do you use $resource, Restangular or simple $http factories for RESTful apis?
[09:46:03] *** SargoDarya has joined #angularjs
[09:46:16] *** instence_ has joined #angularjs
[09:46:16] <fairuz> fernandojsg: I'm interested to know the answer for this question too.
[09:46:23] <fairuz> I use Restangular personally
[09:47:37] *** SergioFilhow has quit IRC
[09:47:54] *** instence has quit IRC
[09:47:56] <fernandojsg> fairuz: I've never used restangular, just wanted to give a try. I've used $http and lately some $resource
[09:48:07] <iShortBus> fernandojsg: it really depends. I started by using factories and have slowly started moving to $resource (more due to my ever increasing understanding of $resource). But really it comes down to what is right for the job.
[09:48:09] <fernandojsg> fairuz: are you using OOP for the resources? or more singleton way
[09:48:16] *** chhsiao1981 has quit IRC
[09:48:28] <jaawerth> personally I tend to wrap $http, but always feel like I'd like restangular if I actually used it in a project (rather than just tooling around)
[09:48:48] <iShortBus> now that i've also realized that you can access the promise on a $resource, i'll probably be moving to $resource completely.
[09:48:51] <fairuz> fernandojsg: I put inside a factory
[09:48:55] <fairuz> *put it
[09:48:59] *** chhsiao1981 has joined #angularjs
[09:49:07] *** ETBlue_ is now known as ETBlue
[09:49:12] <jaawerth> right now I'm working with a somewhat bizarro API that may or may not be properly restful (and I've found that a lot of published APIs that claim to be restful are actually LYING), and restangular is a bit rest-centric (though it's very easy to add custom methods)
[09:49:27] *** shaisnir has joined #angularjs
[09:49:32] *** night-owl is now known as zz_night-owl
[09:49:33] <fairuz> jaawerth: true
[09:49:38] <fernandojsg> right now what I'm doing is having a Factory that returns a $resource acting with just simple RESTful interface
[09:49:44] <jaawerth> for this current project, I'm actually trying a somewhat homecooked approach using $interpolate to build the API. This may or may not turn out to be a terrible idea.
[09:49:47] <fairuz> Me myself need to add some interceptor to restangular to be able to work with it
[09:49:58] *** dancek has joined #angularjs
[09:50:01] *** josh-k has joined #angularjs
[09:50:10] <fernandojsg> but then I've created another factory to act like a wrapper of it, to extend the functionality, add the UI layers for some operations (like show modal when deleting) and so on
[09:50:18] <iShortBus> fernandojsg: that's been my primary move as well. (either $resource or returning $http.get)
[09:50:19] <fairuz> let say GET abc.com/factories, Restangular expects an array
[09:50:22] <fernandojsg> and just wanted to know if someone has done something in that way of OOP
[09:50:38] <fairuz> But normal API, even Google will wrap the array inside an object along with some extra data
[09:50:44] *** josh-k has quit IRC
[09:51:09] *** josh-k has joined #angularjs
[09:51:51] <jaawerth> there are some terrible, terrible APIs out there
[09:51:54] *** phzon has joined #angularjs
[09:51:59] <jaawerth> all of which claim to be RESTful
[09:52:03] * jaawerth shakes fist
[09:52:28] <iShortBus> JSON ==? RESTful
[09:52:29] <iShortBus> lol
[09:52:57] <iShortBus> which is sadly the consensus (even though it's wrong)
[09:53:21] *** tfennelly has joined #angularjs
[09:53:22] *** sachin has joined #angularjs
[09:53:25] *** jeffisabelle has joined #angularjs
[09:53:27] *** g33k5z has joined #angularjs
[09:53:39] <fairuz> oh too long :)
[09:53:44] *** Sjimi has quit IRC
[09:53:51] <fernandojsg> does anyone follow similar aproach?
[09:54:04] <sachin> i want to save uploaded file path into variable..so what i have to do
[09:54:15] *** itamaryu has joined #angularjs
[09:54:22] <iShortBus> tl;dr ;)
[09:54:30] *** cotko has joined #angularjs
[09:54:31] <iShortBus> fernandojsg: i normally do something like the top example
[09:54:37] <fernandojsg> fairuz: just take a look at the first three functions on the second link hehe. .buildAssociations and .init :D
[09:54:38] <iShortBus> with $resource or $http
[09:54:45] <jaawerth> yeah, that makes sense
[09:54:55] <fairuz> This is what I have with Restangular
[09:55:08] <jaawerth> people talk crap about $resource but it's good for wrapping in factories and such as a sort of compromise between $http and restangular
[09:55:46] *** Valion__ has quit IRC
[09:55:49] <fernandojsg> iShortBus: yep, but after that do you use a singleton way to modify the object right? For example ChunkFactory.delete({id:1}); ChunkFactory.doAction({id:1}); ... instead of chunk.delete(), chunk.doAction()
[09:56:06] <sachin> hey guy i want to store uploaded file path into variable in locahost path
[09:56:13] <sachin> plzzzzzz help me some one
[09:56:34] *** Valion__ has joined #angularjs
[09:56:39] *** yelvert has quit IRC
[09:57:12] *** glitch-hat has quit IRC
[09:57:13] *** yelvert has joined #angularjs
[09:57:26] <iShortBus> fernandojsg: yes to first part
[09:57:52] *** g33k5z has quit IRC
[09:57:52] *** plantain has quit IRC
[09:57:55] <jaawerth> sabrehagen1: oof, yeah..
[09:58:08] <fernandojsg> iShortBus: and if you need for example to show a modal dialog while deleting an resource, you include it on your controller directly?
[09:58:10] *** tfennelly has quit IRC
[09:58:14] *** ABCDEFGMinor has quit IRC
[09:58:29] *** plantain has joined #angularjs
[09:58:32] *** uru is now known as uru|away
[09:58:40] <fernandojsg> iShortBus: my problem is that I needed to call the "delete" from many places and i wated so show a dialog and some notification, so not to repeat myself on every view controller I needed to create a wrapper to include that UI
[09:58:41] *** chr1stopher has quit IRC
[09:58:53] *** ABCDEFGMinor has joined #angularjs
[09:59:00] *** sachin has quit IRC
[09:59:02] <jaawerth> sabrehagen1: it should be cleaner if you just inject $injector and call invoke on each applicable function (you shouldn't have to wrap it, just declare and invoke)
[09:59:06] <fairuz> fernandojsg: Sounds like a good solution
[09:59:11] <iShortBus> yeah, grab the resource, create a delete function within ctrl scope, pass data to modalInstance, pull factory into modal instance...etc
[09:59:47] *** jangoh has quit IRC
[10:00:10] <iShortBus> fernandojsg: then making it it's own singleton is your best plan. $scope.bob = new Person('bob')
[10:00:19] <fernandojsg> yep what I try to do is to remove as much as I can code form the controller
[10:00:23] <fairuz> I normally have one service/factory for the $resource/Restangular and one service for the modal UI. Then just combine both in the controller
[10:00:29] <sabrehagen1> jaawerth: the thing i just don't understand is where to inject $injector and where to call invoke
[10:00:31] *** cotko has quit IRC
[10:00:35] <iShortBus> then you can have all the fun you want with just bob
[10:00:36] <fernandojsg> so I include it in a service wrapping every functionality on the resource
[10:00:54] *** ahtik has joined #angularjs
[10:01:00] *** frkout_ has joined #angularjs
[10:01:18] <jaawerth> sabrehagen1: it might take some fiddling. But it SHOULD work in the root $get function. instead of returning your giant object of functions, assign it to a variable, thehn loop through its properties and call invoke on each one
[10:01:19] *** cotko has joined #angularjs
[10:01:22] *** seriema has joined #angularjs
[10:01:33] <iShortBus> a signal modal only works if you have one modal type or you make your own modal generation service
[10:01:46] *** yuradoc has joined #angularjs
[10:01:59] <fernandojsg> so basically i don't need anythign in my controller and in my view I've something like <div ng-repeat images in image"><button ng-click="image.delete()">
[10:02:12] <sabrehagen1> jaawerth: mah gawd :(((
[10:02:39] *** yuradoc has quit IRC
[10:02:43] *** tfennelly has joined #angularjs
[10:02:57] *** Sjimi has joined #angularjs
[10:03:03] <jaawerth> sabrehagen1: $get: function($injector) { var funcs = { func1: myFunc1, func2: myFunc2, etc..}; _.forEach(funcs, $injector.invoke); return funcs; would be kind of a shorthand approach
[10:03:29] <sabrehagen1> jaawerth: yes, that looks much nicer
[10:03:38] *** fbenoit has joined #angularjs
[10:03:50] *** robksawyer has quit IRC
[10:04:01] *** sebhoss has quit IRC
[10:04:02] *** frkout has quit IRC
[10:04:15] <aven1> please :)?
[10:04:17] <jaawerth> assuming I'm not wrong! I don't have this stuff committed super well to memory, I still have to fiddle with it a bit myself when I do it. So.. we'll just put an asterix with that advice
[10:04:28] <sabrehagen1> np
[10:04:33] *** alpha080 has joined #angularjs
[10:04:37] *** annlewis has joined #angularjs
[10:04:37] *** dannyc has joined #angularjs
[10:04:38] <iShortBus> fernandojsg: so clean, gonna start moving my stuff to that. esp with 2.0 coming out eventually
[10:05:01] <jaawerth> aven1: plnkr is down
[10:05:05] <aven1> it is?
[10:05:14] <jaawerth> for me, anyway, and some others in here, yeah
[10:05:15] <fernandojsg> yep
[10:05:17] <iShortBus> yeah
[10:05:19] <aven1> ermm'
[10:05:20] <iShortBus> same here
[10:05:30] <iShortBus> aven1: pae.st is up
[10:05:33] <fernandojsg> but i think we should wait a year or so to get it :D
[10:05:36] <aven1> what's up wit them
[10:05:39] <aven1> with
[10:05:42] *** seriema has quit IRC
[10:05:47] *** DarrenCraig has joined #angularjs
[10:05:50] *** jak124124 has quit IRC
[10:07:05] *** kroogs has joined #angularjs
[10:07:07] <dllama1> hey guys, have a question. i'm using ng-options to show a list of accounts returned by a service, when i create a new account within that same view, as part of the successcall of the post to the create method on the api, i'm updaing the "allAccounts" value. logging it in concolse shows that there is infact a new one. however the drop down doesn't update entirely, it actualy just adds a blank field in place of where the newly added value
[10:07:10] *** dllama1 is now known as dllama
[10:07:14] <aven1> maybe you can help without it , i want to create a ng-match directive for forms i'm using angular, i have something like ng-match="otherModel" how do i get the value of the model in the directive?
[10:07:29] <aven1> angular 1.3
[10:07:40] *** qdk has quit IRC
[10:08:32] *** thomastuts has joined #angularjs
[10:08:47] <iShortBus> aven1: can you paste your code somewhere else? lol pae.st, pastebin.com
[10:08:53] <aven1> yea
[10:09:07] *** annlewis has quit IRC
[10:09:26] *** sebhoss has joined #angularjs
[10:09:42] *** marr has joined #angularjs
[10:10:56] *** geekyvin_ has joined #angularjs
[10:11:19] *** swirlycheetah has quit IRC
[10:11:20] <iShortBus> thomastuts: this is nice, and would go well with the node lib i use for my configs
[10:11:39] *** kroogs has quit IRC
[10:12:08] *** sigurding has quit IRC
[10:12:43] *** Hatzopoulos has joined #angularjs
[10:12:48] *** Proditor has quit IRC
[10:12:57] *** DrMabuse_ has quit IRC
[10:13:03] *** jstroem has quit IRC
[10:13:09] *** josh-k_ has joined #angularjs
[10:13:22] *** swist has joined #angularjs
[10:13:32] *** jstroem has joined #angularjs
[10:13:42] *** jowe has quit IRC
[10:14:01] <iShortBus> aven1: of `otherModel` or the one bound to ng-model?
[10:14:27] <thomastuts> iShortBus: awesome, good to hear :) any feature that's missing that you'd need? next feature on the roadmap is being able to add rules for certain properties, which means that not only can you check for them being defined or not, you can validate them (e.g. the 'timeOut' property can only be a number between 0 and 2000)
[10:14:49] *** Proditor has joined #angularjs
[10:15:25] *** aslate has joined #angularjs
[10:16:17] *** TyrfingMjolnir has quit IRC
[10:16:24] *** motionman has quit IRC
[10:16:32] *** hatzopoulos_ has quit IRC
[10:16:38] *** josh-k has quit IRC
[10:16:50] *** kesshi has joined #angularjs
[10:17:03] *** swirlycheetah has joined #angularjs
[10:17:14] *** ries has quit IRC
[10:17:17] <aven1> iShortBus i pasted the code
[10:17:49] *** sigurding has joined #angularjs
[10:18:32] *** bkuberek has joined #angularjs
[10:19:26] *** k308 has quit IRC
[10:19:31] *** elrabin has joined #angularjs
[10:20:01] <iShortBus> i may be wrong, but i'm pretty sure that should word. anyone else have any input?
[10:20:09] *** rikko has joined #angularjs
[10:20:10] <jaawerth> aven1: scope: { newEmail: '=' }.
[10:20:34] <thomastuts> iShortBus: you probably know this already, but your website has the yeoman favicon :D
[10:20:38] *** startupality has joined #angularjs
[10:20:41] <iShortBus> yeah,
[10:20:43] *** zeitgist has joined #angularjs
[10:20:44] <iShortBus> just so lazy
[10:20:45] <iShortBus> lol
[10:20:51] *** geekyvin_ has quit IRC
[10:20:56] <jaawerth> or what iShortBus did would work, it's kinda the same thing and depends on your exact use-case
[10:21:10] *** nabdev has joined #angularjs
[10:21:27] <jaawerth> aven1: are you just trying to validate it and require that it matches the other email field?
[10:21:37] *** e0ipso is now known as e0ipso|away
[10:21:46] <aven1> yes
[10:21:55] <aven1> confirmEmail should match newEmail
[10:22:01] *** basiclaser_ has quit IRC
[10:22:12] <jaawerth> ah, in that case you don't need a custom directive - you can use the built-in ng-pattern
[10:22:23] <iShortBus> that as well ^
[10:22:30] *** axsuul has joined #angularjs
[10:22:35] <aven1> how ?
[10:22:39] *** woah has quit IRC
[10:22:44] <iShortBus> jaawerth: right when you said that, i was like, wait there's a built-in for this. lol
[10:22:53] <jaawerth> hehe
[10:23:18] *** bkuberek has quit IRC
[10:23:25] *** IsraelOrtuno has joined #angularjs
[10:23:33] *** jaznow has joined #angularjs
[10:23:46] <iShortBus> but i can't remember how... lol. can you help aven1 with this one.
[10:24:23] *** lexek_ has quit IRC
[10:24:35] *** ninjaparade has quit IRC
[10:24:40] <jaawerth> well, to your first email input you'd just want to add ng-change="setRegexp()", and $scope.setRegexp = function setRegexp() { $scope.matchEmail = new RegExP($scope.email1) }
[10:24:41] *** rtpg has quit IRC
[10:24:48] *** DrMabuse has joined #angularjs
[10:24:49] *** rikko has quit IRC
[10:25:05] <jaawerth> then <input ng-model="email2" ng-pattern="matchEmail">
[10:25:06] *** alpha080 has quit IRC
[10:25:09] <jaawerth> or something along those lines
[10:26:15] <iShortBus> god, it's later than i thought. be back on in like 7 hours.
[10:26:21] <jaawerth> actually, forget the ng-change
[10:26:56] <aven1> can i just go ng-pattern="newEnail"
[10:26:56] <aven1> ?
[10:27:12] *** glosoli has joined #angularjs
[10:27:21] <jaawerth> just <input ng-model="email1"> <input ng-model="email2" ng-pattern="regExp(email1)"> where $scope.regExp = function(val) { return new RegExp(val); }
[10:27:24] *** gunn has joined #angularjs
[10:27:30] *** elrabin has quit IRC
[10:27:34] *** jstroem has quit IRC
[10:27:42] <aven1> ic
[10:27:45] *** lemur has quit IRC
[10:28:02] <jaawerth> I believe ng-pattern requires a regular expression
[10:28:04] <aven1> ok last question
[10:28:04] *** uru|away is now known as uru
[10:28:05] *** jstroem has joined #angularjs
[10:28:11] <glosoli> Is $rootScope the scope of the module, or something even above that ?
[10:28:29] <aven1> if the model is like formData.newEmail
[10:28:31] *** lemur has joined #angularjs
[10:28:48] <iShortBus> glosoli: the app
[10:28:59] <aven1> how do i use it in scope : { newEmail: '=' }
[10:29:00] <aven1> ?
[10:29:01] *** tarnus has joined #angularjs
[10:29:03] *** MaxV has joined #angularjs
[10:29:25] <glosoli> iShortBus: just wondering how expensive it is to use broadcast on $rootScope to communicate directive with controller
[10:29:30] <glosoli> any ideas ?
[10:29:40] <glosoli> Since it's the app scope, it sounds like a lot of work for the js
[10:29:46] <iShortBus> glosoli: based on benchmarks, emit is preferred
[10:29:58] <iShortBus> but try to avoid broadcasting as much as possible
[10:30:07] <iShortBus> b/c it is 'slow'
[10:30:15] <iShortBus> and therefore expensive
[10:30:23] <glosoli> iShortBus: though if I use emit it is not that bad ?
[10:30:34] <glosoli> it seems like emit is even better suited for what I need
[10:31:07] <zbzzn> iShortBus, broadcast sends the message to child scopes while emit sends to parent scopes
[10:31:18] *** SoulBlade has joined #angularjs
[10:31:19] *** Sebastien-L has joined #angularjs
[10:31:20] <zbzzn> nothing to do with performance
[10:31:28] <zbzzn> they are completley different things
[10:31:33] *** azizur has joined #angularjs
[10:31:43] *** yelvert has quit IRC
[10:31:50] <iShortBus> thank you for the correction zbzzn. Gonna do some more reading up on that :)
[10:32:12] *** sabrehagen1 has left #angularjs
[10:32:22] *** jstroem has quit IRC
[10:32:30] <iShortBus> zbzzn: would you agree that it's more of a last option tho. Avoid if you can, but if not just use it?
[10:32:35] *** AlSquire has joined #angularjs
[10:32:40] *** kalusn has quit IRC
[10:32:47] <iShortBus> aven1: what do you mean?
[10:32:48] <zbzzn> I am not the right person to ask, I avoid using both
[10:32:57] *** lemur has quit IRC
[10:33:25] <glosoli> zbzzn: So you use some sort of shared service to communicate your directives to controllers ?
[10:33:36] <glosoli> (just curious for what kind of approached do I have)
[10:33:40] <glosoli> approaches"
[10:33:41] *** mlq has quit IRC
[10:33:52] *** tarnus has quit IRC
[10:34:45] <iShortBus> glosoli: i'd use a factory.
[10:35:02] <zbzzn> can you define "
[10:35:09] <zbzzn> communicate your directives to controllers
[10:35:16] <zbzzn> doh
[10:35:22] <zbzzn> copy-paste fail
[10:35:36] <arkin> I need to pass an object of data to my view, whats the best way of doing this?
[10:35:44] *** SoulBlade has quit IRC
[10:35:57] <iShortBus> arkin: what do you mean?
[10:36:18] <arkin> I have an object of details, I want to pass it to a view
[10:36:26] <arkin> from another view
[10:36:28] *** Sky[x] has quit IRC
[10:36:44] <iShortBus> factory
[10:36:53] <zbzzn> You can put the data on a service and then reference it from the "view" scope
[10:37:00] <iShortBus> so it becomes a shared service
[10:37:05] <zbzzn> are you coming from Backbone?
[10:37:07] <glosoli> zbzzn: I have some click function in my directive, and on click I want the upper scope controller got get notified about the change on the clicked object name
[10:37:42] <glosoli> s/got get/to get
[10:37:49] <zbzzn> glosoli, you need to bind the directive click handler with the scope of the controller
[10:37:52] *** mtsr has joined #angularjs
[10:37:59] <aven1> i mean if i got directive-name="formData.newEmail" how do i use it in the directive scope?
[10:38:02] *** tschundeee has quit IRC
[10:38:14] <zbzzn> I think it can be done via the "&" symbol in the directive
[10:38:17] *** alpha080 has joined #angularjs
[10:38:27] <glosoli> zbzzn: So what you mean is, have handler of the click in the controller, and just access that controller's handler from a directive ?
[10:38:28] <zbzzn> read about isolated scope and &
[10:38:30] <arkin> ok that works I gues
[10:38:37] *** tschundeee has joined #angularjs
[10:38:51] *** PeterMetz has joined #angularjs
[10:38:54] <zbzzn> glosoli, no. I mean you can bind the handler, not directly call it
[10:39:02] *** TheAceOfHearts has quit IRC
[10:39:09] <glosoli> zbzzn: ok gonna read on this, thanks
[10:39:15] <iShortBus> aven1: what zbzzn said.
[10:39:22] *** Superhard has joined #angularjs
[10:39:44] *** JR___ has quit IRC
[10:40:00] <aven1> with &?
[10:40:08] <iShortBus> within the directive when you make your scope: { newEmail: '&' } will make scope.newEmail = dir-name="formData.newEmail"
[10:40:12] <zbzzn> glosoli, you can also do what you suggest but IMHO it is not a nice way
[10:40:20] *** chr1stopher has joined #angularjs
[10:40:48] <zbzzn> unless your directive is used only in this one specific place to do one thing
[10:41:09] <zbzzn> then you can just set the directive scope to false and be done with it
[10:41:20] <glosoli> I see, okay thanks
[10:41:28] <jaawerth> wait, & is kinda overcomplicating things I think
[10:41:56] <jaawerth> scope: {newEmail: '='} --> you can pass data into the directive using new-email="someScopeVal" and access it from within the directive via scope.newEmail
[10:42:14] <jaawerth> '&' is for passing in an expression that's evaluated on parent scope
[10:42:36] *** KadeYuy has joined #angularjs
[10:42:41] <jaawerth> which, admittedly, could be helpful here for your purposes
[10:42:44] <zbzzn> There are two conversations mixed here :), I was talking about glosoli's issue
[10:42:47] <aven1> yea but if i got ng-match="formData.newEmail"
[10:42:47] <aven1> ?
[10:42:49] <jaawerth> oh, heh
[10:42:53] <iShortBus> wouldn't newEmail just be ng-model in the example that aven1 had above?
[10:42:54] *** AWAW has joined #angularjs
[10:43:13] *** tschundeee has quit IRC
[10:43:15] <jaawerth> aven1: then you'd want scope: { ngMatch: '=' }
[10:43:34] <aven1> let me try
[10:43:44] <jaawerth> iShortBus: yeah, possibly.. depends on the use-case
[10:44:05] *** pknordic_ has joined #angularjs
[10:44:12] *** SergioFilhow has joined #angularjs
[10:44:18] *** Superhard has quit IRC
[10:44:18] *** platonic has joined #angularjs
[10:44:37] <iShortBus> jaawerth: this is true, and i believe this is still based on the initial use case.
[10:44:49] <iShortBus> okay, actually going to sleep. bye. lol
[10:45:37] *** DoubleAW has quit IRC
[10:45:42] <aven1> jaawerth that will give me scope.ngMatch = formData.newEmail?
[10:46:18] <aven1> because i get undefined
[10:46:23] <aven1> oh wait
[10:46:31] <dllama> can i return a template placeholder from API to be filled in via angular? for example i'm returning a large document and i want to populate the email address from the user form, from rails, teh form is returned with value being {{userEmail}} which matches my scope.
[10:46:32] *** pknordic has quit IRC
[10:47:21] <aven1> jaawerth when the formData.newEmail is changed the scope.ngMatch stay the same...
[10:47:22] *** frem has quit IRC
[10:47:48] *** KadeYuy has quit IRC
[10:48:15] *** Todilo has joined #angularjs
[10:48:58] <aven1> this is the problem
[10:49:06] *** SergioFilhow has quit IRC
[10:49:14] *** platonic has quit IRC
[10:49:54] <Todilo> hello everyone. I have problem with character encoding. in js I write $scope.name = "hallå"; note, non-english character. When I print it to the view it does not work(comes out as a questionmark). What approach should I use to be able to use non-english characters i and printing them as easily as possible
[10:50:08] <jaawerth> aven1: do you have an updated version of your code? I have no idea what value is where with what you're doing
[10:50:59] *** rikko has joined #angularjs
[10:51:26] *** freelyfred has quit IRC
[10:52:05] *** zwacky has quit IRC
[10:52:07] <aven1> ok sec
[10:53:43] *** Successful has quit IRC
[10:53:52] *** AciD`` has joined #angularjs
[10:54:28] *** g33k5z_ has joined #angularjs
[10:55:08] *** pilva has joined #angularjs
[10:55:17] *** rikko has quit IRC
[10:56:30] *** dancek has quit IRC
[10:57:17] *** zz_night-owl is now known as night-owl
[10:57:39] *** glitch-hat has joined #angularjs
[10:59:01] *** toin0u|away is now known as toin0u
[10:59:04] *** g33k5z_ has quit IRC
[10:59:08] <aven1> just for example it's not really working
[11:01:05] *** Aerospark has joined #angularjs
[11:01:16] *** neuro_sys__ has joined #angularjs
[11:01:28] *** kapil__ has quit IRC
[11:01:31] <neuro_sys__> don't you think web.telegram.org is a masterpiece?
[11:02:10] *** Click66 has quit IRC
[11:02:17] *** seriema has joined #angularjs
[11:02:56] *** afuggini has joined #angularjs
[11:02:56] *** davidreis has joined #angularjs
[11:03:21] *** Click66 has joined #angularjs
[11:04:18] *** startupality has quit IRC
[11:04:33] *** zwacky has joined #angularjs
[11:04:38] *** annlewis has joined #angularjs
[11:04:41] *** jlebrech has joined #angularjs
[11:05:24] <aven1> jaawerth?
[11:06:42] *** Iravan has quit IRC
[11:07:09] *** kroogs has joined #angularjs
[11:07:25] *** Caroga_afk is now known as Caroga
[11:07:29] *** seriema has quit IRC
[11:07:37] *** peldan has quit IRC
[11:07:42] *** afuggini has quit IRC
[11:07:44] *** balr0g has quit IRC
[11:08:08] *** peldan has joined #angularjs
[11:08:21] *** kesshi has quit IRC
[11:08:31] *** Grokling_ has quit IRC
[11:08:39] <jaawerth> aven1: that's because the validator only runs when the input in question is updated
[11:09:02] <aven1> yes
[11:09:14] <aven1> but scope.ngMatch doesn't change
[11:09:21] *** annlewis has quit IRC
[11:09:32] *** axsuul has quit IRC
[11:10:05] <Todilo> who does {{ name }} not print non-english characters correctly?
[11:10:08] <aven1> it's undefined all the time and if i give it a start value it will stay that value
[11:10:10] <Todilo> *why
[11:10:12] *** davidreis has joined #angularjs
[11:10:19] <aven1> even if i change formData.newEmail
[11:10:39] <jaawerth> aven1: yes it does, your watcher just isn't logging the new value until data is entered into the second input
[11:10:47] <jaawerth> or rather, your validator
[11:10:49] *** mrkake has quit IRC
[11:11:17] <jaawerth> of you add scope.watch('ngMatch', function(val) { console.log(val) }) to taht directive, you'll see it changing
[11:11:59] *** mak`` has joined #angularjs
[11:11:59] <aven1> is there something like plnkr?
[11:12:08] *** dancek has joined #angularjs
[11:12:25] <jaawerth> that would be the quick fix - aside from having your validator function, you'd also need scope.$watch('ngMatch', function(newVal, oldVal) { if (newVal !== oldVal) { ngModelCtrl.$validate(); } });
[11:12:25] *** peldan has quit IRC
[11:12:34] *** kroogs has quit IRC
[11:12:34] *** drej has quit IRC
[11:13:49] *** Todilo has quit IRC
[11:14:00] *** kesshi has joined #angularjs
[11:15:22] *** samsamm777 has joined #angularjs
[11:15:56] *** drej has joined #angularjs
[11:16:04] *** azizur has quit IRC
[11:16:20] *** SargoDarya has quit IRC
[11:16:25] *** glitch-hat has quit IRC
[11:16:49] <jaawerth> there's the working version that uses scope.$watch
[11:17:03] *** SargoDarya has joined #angularjs
[11:17:19] <jaawerth> I mention the other fix (which wouldn't require a watch) in there, but as I mentioned it could be less maintainable since you'd always have to remember to add that ng-change
[11:17:38] *** swist has quit IRC
[11:18:51] <jaawerth> aven1: your problem was that your second input doesn't validate unless that input itself is changing, even when a digest is called
[11:19:00] *** patrick99e99 has joined #angularjs
[11:19:23] *** mrkake has joined #angularjs
[11:19:43] *** jaydubya has joined #angularjs
[11:19:49] *** Successful has joined #angularjs
[11:20:14] <aven1> jaawerth the problem is for some reason it's not working in my real code but it does in the example\
[11:21:14] *** Emerald214 has joined #angularjs
[11:21:20] <Emerald214> hi all
[11:21:24] *** ingsoc has joined #angularjs
[11:21:40] *** GreenJello has quit IRC
[11:21:55] <aven1> also when i use the $watch in my code it's not working
[11:21:58] <Emerald214> anybody help me this?
[11:22:00] *** red_horned_rihno has joined #angularjs
[11:22:02] *** peldan has joined #angularjs
[11:22:43] <aven1> i mean it's not being watched
[11:22:44] *** Oxynum has joined #angularjs
[11:22:49] <jaawerth> aven1: if it works in a clean example but not in your code, that's usually due to either an error in copying over or something interfering in your code
[11:23:21] <jaawerth> aven1: I promise you the code I just sent you is the way to do it though
[11:23:36] *** jonasliljestrand has joined #angularjs
[11:23:37] <advy> Hello, After updating angular ui router to 0.2.13 slashes are not preserved when generating URL by reverse routing via ui-sref. I have a state which matches any URL. So while generating URL using ui-sref it encodes slashes to %252F
[11:23:54] *** patrick99e99 has quit IRC
[11:23:57] *** jaydubya has quit IRC
[11:23:58] <jaawerth> aven1: hmm how did $parse get in there?
[11:24:13] <aven1> it's nothing i'm not using that
[11:24:42] <jaawerth> ah
[11:24:44] <aven1> what can prevent watch from watching
[11:25:03] <jaawerth> oh, one other scenario that will still break this is adding and deleting text to one and not the other, since undefined !== ""
[11:25:34] <aven1> the thing is tha value isn't being watched
[11:25:47] <jaawerth> it is in the fiddle
[11:25:50] <aven1> yea
[11:25:51] *** Left_Turn has joined #angularjs
[11:25:58] <aven1> i mean in my code.. don't know why :|
[11:26:06] <jaawerth> guess it's time to debug ;-)
[11:26:16] <jaawerth> usually that means a digest isn't being triggered
[11:26:25] <jaawerth> are you setting the value from somewhere other than user input?
[11:26:27] *** tripu has quit IRC
[11:27:22] <jaznow> Good morning all, Plunker down?, no t too good morning after all... xD
[11:27:25] <aven1> hmm when the directive is loaded the watch is running one time
[11:27:30] *** Oxynum has quit IRC
[11:27:30] <aven1> and that's it
[11:27:47] <aven1> in the controller i'm setting formData to empty object
[11:27:56] *** doginal has quit IRC
[11:28:27] *** mrru has joined #angularjs
[11:28:39] *** Aerospark has quit IRC
[11:29:25] *** edy has joined #angularjs
[11:30:13] <jaawerth> that wouldn't cause it
[11:31:10] <aven1> so i'm lost
[11:31:33] *** jonkri has joined #angularjs
[11:32:08] <jonkri> How can I send a signal/event to or call a "method" on a given (child) directive?
[11:32:19] *** yelvert has joined #angularjs
[11:32:33] *** bobbydigitales has quit IRC
[11:32:39] *** SergioFilhow has joined #angularjs
[11:34:10] *** sk87 has quit IRC
[11:34:30] <aven1> this is weird
[11:34:40] *** SergioFilhow has quit IRC
[11:34:54] *** AngularUI has joined #angularjs
[11:34:54]
<AngularUI> [bootstrap] p4fg opened pull request #3112: Fix for memory-leak in typeahead (master...master) http://git.io/lCA5RA
[11:34:54] *** AngularUI has left #angularjs
[11:35:16] *** SergioFilhow has joined #angularjs
[11:35:53] *** aendrew has joined #angularjs
[11:36:11] *** glitch-hat has joined #angularjs
[11:36:18] *** startupality has joined #angularjs
[11:36:30] *** m8 has joined #angularjs
[11:36:47] *** abe has joined #angularjs
[11:37:57] *** lexek_ has joined #angularjs
[11:38:15] <jaawerth> jonkri: you can stick functions on a child directive's controller ( this.foo = function()... ) and grab it from a parent directive using element.$controller
[11:38:24] <jaawerth> jonkri: actually I think it's just element.controller
[11:38:35] *** abe has joined #angularjs
[11:39:01] *** yelvert has quit IRC
[11:39:03] *** evilaliv3 has quit IRC
[11:39:22] <jaawerth> and if your child element has more than directive/a directive with more than one controller, you just grab it by name. for example, element.controller('ngModel')
[11:40:00] *** SergioFilhow has quit IRC
[11:40:06] *** Superhard has joined #angularjs
[11:40:50] *** Nivag_ has quit IRC
[11:42:27] *** greengriminal has joined #angularjs
[11:42:31] *** KushS has joined #angularjs
[11:42:59] *** flaviogranero has joined #angularjs
[11:43:22] <jonkri> jaawerth: Thanks a lot. So simple, and I started to think it wasn't possible. :)
[11:43:23] *** JeffBuhrt1 has quit IRC
[11:43:47] *** JeffBuhrt has joined #angularjs
[11:44:40] *** kapil__ has joined #angularjs
[11:44:44] <jaawerth> haha, sure thing!
[11:44:49] *** Superhard has quit IRC
[11:45:53] <jaawerth> yeah, it took me a while to find that as a way to expose an API/alternative to using isolate scope and '&', which is fine for hooking things up to events/conditions (for the parent to EXPOSE an API) but not so much when you want to manipulate it from the parent
[11:46:09] <aven1> :| that watcher!
[11:46:54] *** laurensclaessen has quit IRC
[11:47:25] <jaawerth> aven1: if you can reproduce the issue outside the context of your code (in that fiddle, or plnkr when it comes back), I can help you, but otherwise there's presumably something going on elsewhere in your code that's interfering
[11:48:24] *** DLSteve has joined #angularjs
[11:49:34] *** Anton_ has quit IRC
[11:49:53] *** jtimon has joined #angularjs
[11:50:19] <jaawerth> actually, I gotta go anyway.. but good luck!
[11:51:50] *** GreenJello has joined #angularjs
[11:52:29] <jonkri> jaawerth: Have a nice day! :)
[11:52:45] *** martianboy has quit IRC
[11:54:17] *** laurensclaessen has joined #angularjs
[11:54:51] *** chr1stopher has quit IRC
[11:55:59] *** Emerald214 has quit IRC
[11:56:08] *** azizur has joined #angularjs
[11:57:05] *** dnewkerk has quit IRC
[11:57:31] *** Anton_ has joined #angularjs
[11:58:08] *** mnngfltg has joined #angularjs
[11:58:09] *** jtimon has quit IRC
[11:58:29] *** tschundeee has joined #angularjs
[11:58:35] *** numenor has joined #angularjs
[11:58:57] *** dnewkerk has joined #angularjs
[11:59:49] *** kesshi has quit IRC
[12:01:03] *** frankblizzar has joined #angularjs
[12:02:03] *** jangoh has joined #angularjs
[12:02:19] *** Christer has joined #angularjs
[12:02:56] <numenor> Hello, I have a problem with IE 10 + . I have added a custom header X-... whic works in chrome, ff safari etc. But IE fails saying Request header x-... was not present in the Access-Control-Allow-Headers list.
[12:03:14] *** seriema has joined #angularjs
[12:03:17] <numenor> Hello, I have a problem with IE 10 + . I have added a custom header X-... whic works in chrome, ff safari etc. But IE fails saying Request header x-... was not present in the Access-Control-Allow-Headers list.
[12:03:22] <numenor> Anyone please ?
[12:03:35] *** dnewkerk has quit IRC
[12:03:40] *** afuggini has joined #angularjs
[12:04:12] *** martianboy has joined #angularjs
[12:04:38] *** annlewis has joined #angularjs
[12:04:53] *** tschundeee has quit IRC
[12:05:21] *** Alina-malina has quit IRC
[12:05:32] *** itamaryu has quit IRC
[12:05:38] *** rikkipitt has joined #angularjs
[12:06:05] <fairuz> Do you have this x-.. header inside Access-Control-Allow-Headers?
[12:06:52] *** sk87 has joined #angularjs
[12:06:59] <aven1> omg
[12:07:09] *** Solid1_afk is now known as Solid1
[12:07:16] *** bkuberek has joined #angularjs
[12:08:34] *** diraol has joined #angularjs
[12:08:38] *** afuggini has quit IRC
[12:09:20] *** annlewis has quit IRC
[12:09:36] *** tschundeee has joined #angularjs
[12:09:39] *** samsamm777 has quit IRC
[12:09:43] *** alpha080 has quit IRC
[12:10:00] *** rtpg has joined #angularjs
[12:10:42] *** seriema has quit IRC
[12:11:19] *** alpha080 has joined #angularjs
[12:11:47] *** VictorBjelkholm has joined #angularjs
[12:11:56] *** evilaliv3 has joined #angularjs
[12:12:06] *** chr1stopher has joined #angularjs
[12:12:20] *** VictorBjelkholm has joined #angularjs
[12:12:26] *** bkuberek has quit IRC
[12:12:51] *** diraol has joined #angularjs
[12:14:42] *** cannap has joined #angularjs
[12:15:08] *** crised has joined #angularjs
[12:15:20] *** Oxynum has joined #angularjs
[12:15:24] *** Alina-malina has joined #angularjs
[12:15:25] *** Alina-malina has joined #angularjs
[12:15:30] *** fairuz has quit IRC
[12:15:40] *** \du has joined #angularjs
[12:15:40] *** \du has joined #angularjs
[12:16:24] *** KadeYuy has joined #angularjs
[12:16:35] *** rafagomes has joined #angularjs
[12:16:36] *** geekyvin_ has joined #angularjs
[12:16:40] *** Grokling_ has joined #angularjs
[12:16:55] *** \du has quit IRC
[12:17:04] *** \du has joined #angularjs
[12:17:04] *** \du has joined #angularjs
[12:17:22] *** diraol has quit IRC
[12:17:52] <fernandojsg> numenor: you could delete the X-Request-With from default headres
[12:17:55] <fernandojsg> something like:
[12:17:56] <fernandojsg> $httpProvider.defaults.useXDomain = true; $httpProvider.defaults.headers.common = 'Content-Type: application/json'; delete $httpProvider.defaults.headers.common['X-Requested-With'];
[12:17:56] *** tarnus has joined #angularjs
[12:18:02] <aven1> any idea why scope.$watch doesn't work with ng-model on input[type="email"]?
[12:18:26] <numenor> fairuz , yes I do
[12:18:30] *** mdedetrich has quit IRC
[12:18:41] <numenor> Works in chrome ,ff, safari
[12:18:52] <numenor> fernandojsg, Will try
[12:19:50] *** VictorBjelkholm has quit IRC
[12:20:05] *** VictorBjelkholm has joined #angularjs
[12:20:13] *** SoulBlade has joined #angularjs
[12:20:30] *** VictorBjelkholm has joined #angularjs
[12:20:45] *** zwacky has quit IRC
[12:21:12] <numenor> fernandojsg, Now chrome complains : Request header field 0 is not allowed by Access-Control-Allow-Headers.
[12:21:17] *** zwacky has joined #angularjs
[12:21:33] *** cavallari has joined #angularjs
[12:21:36] *** johnnyfive has quit IRC
[12:21:45] <fernandojsg> which headers is returning your server?
[12:21:47] <fernandojsg> can you post them?
[12:21:54] <numenor> Sure .
[12:21:58] <fernandojsg> paste
[12:22:35] <numenor> Access-Control-Allow-Origin:*
[12:22:36] <numenor> Cache-Control:no-cache
[12:22:36] <numenor> Content-Length:272
[12:22:36] <numenor> Content-Type:application/json; charset=utf-8
[12:22:36] <numenor> Date:Tue, 16 Dec 2014 11:22:07 GMT
[12:22:37] <numenor> Expires:-1
[12:22:39] <numenor> Pragma:no-cache
[12:22:40] <numenor> Server:Microsoft-IIS/7.5
[12:22:42] *** tarnus has quit IRC
[12:22:42] <numenor> X-AspNet-Version:4.0.30319
[12:22:44] <numenor> X-Powered-By:ASP.NET
[12:22:58] <numenor> I am trying to add X-sessionToken
[12:23:36] <numenor> the only change I saw is that IE converts the X-sessionToken to small caps x-sessiontoken
[12:24:46] *** tschundeee has quit IRC
[12:24:56] *** SoulBlade has quit IRC
[12:25:19] <numenor> fernandojsg : IE complains, Request header x-sessiontoken was not present in the Access-Control-Allow-Headers list.
[12:25:21] *** tschundeee has joined #angularjs
[12:25:36] <numenor> fernandojsg : Have pasted the headers above
[12:25:47] <fernandojsg> ah sorry i didnt read the begining, i assumed you had a CORS problems or so :)
[12:26:01] <numenor> fernandojsg : Yes
[12:26:18] <numenor> fernandojsg : It just doesnt work in IE , works on every other browser
[12:26:27] <fernandojsg> and you've added this parameter in the defaults headers from angularjs right?
[12:26:45] <numenor> I have added it in the interceptor
[12:26:52] <numenor> httpInterceptor
[12:27:01] <fernandojsg> did you try to add tthis parameter in lowercase to check if it's that the problem in IE? i mean in lowercase in the request header from angularjs
[12:27:23] *** sigurding has quit IRC
[12:27:35] <numenor> Didnt try that, lemme see
[12:27:39] *** Aerospark has joined #angularjs
[12:28:44] *** sebhoss has quit IRC
[12:29:25] *** sinclair has quit IRC
[12:29:26] *** defaultdict has quit IRC
[12:29:46] *** defaultdict has joined #angularjs
[12:30:05] *** tschundeee has quit IRC
[12:30:10] *** laurensclaessen has quit IRC
[12:30:11] *** DrMabuse has quit IRC
[12:30:22] <numenor> fernandojsg : Adding in small caps with the camel case doesnt work . doesnt work in chrome too, Chrome adds the value two times to the same header
[12:30:36] *** Aerospark has quit IRC
[12:30:45] <numenor> I wonder why this would work only in IE
[12:30:53] <numenor> I wonder why this would'nt work only in IE
[12:31:11] *** frkout_ has quit IRC
[12:31:13] *** threesixes has quit IRC
[12:31:29] <fernandojsg> using x-sessiontoken doesnt' work?
[12:31:32] *** jtimon has joined #angularjs
[12:31:34] *** Click66 has quit IRC
[12:31:44] *** frkout has joined #angularjs
[12:31:54] *** Cydmax has joined #angularjs
[12:32:05] <numenor> Yes, Keeping in smal caps doesnt work
[12:32:11] *** frkout has joined #angularjs
[12:32:54] *** Aerospark has joined #angularjs
[12:33:02] <fernandojsg> can you paste the exact error that IE is showing?
[12:33:03] *** platonic has joined #angularjs
[12:33:24] <numenor> Sure, give me a sec, cleaning cache and restarting
[12:34:17] <numenor> fernandojsg : Request header x-sessiontoken was not present in the Access-Control-Allow-Headers list.
[12:34:27] *** tschundeee has joined #angularjs
[12:34:39] <numenor> fernandojsg : I think the server should send in small caps
[12:35:00] <fernandojsg> ok
[12:35:06] <fernandojsg> but in the paste that you put before
[12:35:10] *** laurensclaessen has joined #angularjs
[12:35:13] <fernandojsg> it doesnt include the Access-Control-Allow-Headers: x-sessiontoken
[12:35:25] <fernandojsg> or i didnt see it
[12:35:49] <fernandojsg> just Access-Control-Allow-Origin:* but not headers: x-sessiontoken
[12:35:53] *** sinclair has joined #angularjs
[12:36:03] *** glitch-hat has quit IRC
[12:36:04] *** Sjimi has quit IRC
[12:36:29] <numenor> fernandojsg : Oh , let me check ,
[12:36:37] *** dobladez has joined #angularjs
[12:37:01] <numenor> fernandojsg : Yes, It isnt there
[12:37:06] *** spatialbrew has joined #angularjs
[12:37:30] <numenor> fernandojsg : wonder how it works in chrome, FF
[12:37:33] *** RangerRick has quit IRC
[12:37:34] <fernandojsg> so make sure you put them in your serverside code :D
[12:37:48] <fernandojsg> maybe it just ignore empty fields
[12:37:49] <numenor> Sure.. Will have to talk to an another guy
[12:37:50] *** Foxandxss has joined #angularjs
[12:37:51] <fernandojsg> or take them as any *
[12:37:56] *** RangerRick has joined #angularjs
[12:37:58] <numenor> Okay
[12:38:01] *** platonic has quit IRC
[12:38:07] *** lugzer has joined #angularjs
[12:38:25] <numenor> Thanks fernandojsg
[12:39:22] *** glitch-hat has joined #angularjs
[12:39:30] *** elyssonmr has joined #angularjs
[12:40:19] *** KadeYuy has quit IRC
[12:41:27] *** jonatas_oliveira has joined #angularjs
[12:41:40] *** Akufen has quit IRC
[12:41:45] *** thalfeld has joined #angularjs
[12:42:12] *** azizur has quit IRC
[12:42:14] *** Sjimi has joined #angularjs
[12:43:10] *** g33k5z has joined #angularjs
[12:43:53] *** Akufen has joined #angularjs
[12:44:30] *** fred-fri has quit IRC
[12:44:37] *** ngbot has joined #angularjs
[12:44:37] <ngbot> angular.js/master d604f94 Jesús Rodríguez Rodríguez: fix(CHANGELOG): missing version number for 1.2.28...
[12:44:37] *** ngbot has left #angularjs
[12:45:03] <Foxandxss> yay, they accepted my PR
[12:45:30] *** tschundeee has quit IRC
[12:46:02] *** tschundeee has joined #angularjs
[12:46:05] <jagga> Foxandxss, I'm a bit of a gitnub. Does that just mean you can make changes to their source? As in contribute?
[12:46:07] *** Txandy has joined #angularjs
[12:46:17] <Foxandxss> of course
[12:46:22] <Foxandxss> that is the beauty of open source
[12:46:26] <Foxandxss> to contribute on the source
[12:46:31] <jagga> Yeah, good stuff
[12:46:45] <Foxandxss> when you show your source is because well, you want to share it and also you want others to collaborate
[12:47:01] <jagga> \ye
[12:47:03] <jagga> aye*
[12:47:03] *** Aerospark has quit IRC
[12:47:31] *** g33k5z has quit IRC
[12:47:53] *** DLSteve has quit IRC
[12:49:16] *** jstroem has joined #angularjs
[12:49:38] *** lexek_ has quit IRC
[12:50:25] *** test234 has joined #angularjs
[12:50:40] *** tschundeee has quit IRC
[12:50:47] *** DLSteve has joined #angularjs
[12:51:15] *** leolrrj has joined #angularjs
[12:51:18] <numenor> fernandojsg : Worked, The token was present in camel case but IE somehow doesnt see it, Had to convert to small caps at the backend to make it work in IE
[12:51:39] *** tamaspap has joined #angularjs
[12:51:56] <fernandojsg> numenor: good :) so it's now working in both browsers?
[12:51:58] <crised> What's the difference between Angular Google Maps and ui-maps?
[12:52:08] <numenor> fernandojsg : Yes :)
[12:52:23] <fernandojsg> ;)
[12:52:24] *** Sjimi has quit IRC
[12:52:38] *** alexgv99 has quit IRC
[12:53:15] *** jonasliljestrand has quit IRC
[12:53:21] *** sigurding has joined #angularjs
[12:54:21] *** swirlycheetah has quit IRC
[12:54:31] *** PrinceAMD has joined #angularjs
[12:55:00] *** storresi has joined #angularjs
[12:55:24] *** rafagomes_ has joined #angularjs
[12:56:03] *** rafagomes has quit IRC
[12:57:38] *** glitch-hat has quit IRC
[12:58:15] *** tamaspap has quit IRC
[12:58:50] *** Aerospark has joined #angularjs
[12:59:13] *** Alina-malina has quit IRC
[12:59:22] *** fedenunez has joined #angularjs
[13:00:45] *** DrMabuse has joined #angularjs
[13:01:09] *** tschundeee has joined #angularjs
[13:01:20] *** Lingo has joined #angularjs
[13:01:47] *** shaisnir has quit IRC
[13:03:25] *** test234 has quit IRC
[13:03:30] *** Sjimi has joined #angularjs
[13:03:32] *** japhar81 has quit IRC
[13:04:05] *** dsdeiz has quit IRC
[13:04:35] *** annlewis has joined #angularjs
[13:06:32] *** seriema has joined #angularjs
[13:08:31] *** jaydubya has joined #angularjs
[13:08:59] *** annlewis has quit IRC
[13:10:17] *** kroogs has joined #angularjs
[13:10:19] *** Sgeo_ has joined #angularjs
[13:10:52] *** Ax` has joined #angularjs
[13:11:39] *** seriema has quit IRC
[13:11:58] *** themime_ has joined #angularjs
[13:12:09] *** jstroem has quit IRC
[13:12:26] *** jstroem has joined #angularjs
[13:12:46] *** glosoli has quit IRC
[13:12:48] *** jstroem has quit IRC
[13:12:57] *** jaydubya has quit IRC
[13:13:04] *** alpha080 has quit IRC
[13:13:11] *** jstroem has joined #angularjs
[13:14:07] *** Sgeo has quit IRC
[13:14:10] *** themime has quit IRC
[13:14:10] *** Mer|inDMC has joined #angularjs
[13:14:12] *** themime_ is now known as themime
[13:14:26] *** red_horned_rihno has quit IRC
[13:14:28] *** Shadda has quit IRC
[13:14:29] *** ome has quit IRC
[13:14:30] *** gcann has quit IRC
[13:14:30] *** felipesabino has quit IRC
[13:14:31] *** KodaSimon has quit IRC
[13:14:31] *** MerlinDMC has quit IRC
[13:14:32] *** ceej_irccloud has quit IRC
[13:14:33] *** eyebraus has quit IRC
[13:14:33] <Ax`> I'm using ngAnimate to animate between views in my app. The problem i have is on the first load ng-enter is being applied to the view and I'd prefer to stop the animation triggering
[13:14:34] <Ax`> is there a simple way of doing this?
[13:14:53] *** vectra has quit IRC
[13:14:54] *** jumz_ has quit IRC
[13:14:54] *** rikkus has quit IRC
[13:15:02] *** alpha080 has joined #angularjs
[13:15:16] *** kroogs has quit IRC
[13:15:18] *** DrMabuse has quit IRC
[13:15:21] *** Sebastien-L has quit IRC
[13:15:21] *** mafs_ has quit IRC
[13:15:22] *** DANtheBEASTman has quit IRC
[13:15:22] *** red_horned_rihno has joined #angularjs
[13:15:26] *** kwmiebach has quit IRC
[13:15:26] *** derrzzaa has quit IRC
[13:15:27] *** e0ipso|away is now known as e0ipso
[13:15:36] *** DrMabuse has joined #angularjs
[13:15:38] *** gcann has joined #angularjs
[13:15:57] *** leolrrj has quit IRC
[13:16:05] *** davidreis has quit IRC
[13:16:15] *** fourq_ has quit IRC
[13:16:19] *** ETBlue has quit IRC
[13:16:26] *** KodaSimon has joined #angularjs
[13:16:27] *** jumz_ has joined #angularjs
[13:16:31] *** leolrrj has joined #angularjs
[13:16:34] *** ceej_irccloud has joined #angularjs
[13:16:39] *** Lingo___ has joined #angularjs
[13:16:46] *** eyebraus has joined #angularjs
[13:16:50] *** vectra has joined #angularjs
[13:16:52] *** pxz has quit IRC
[13:16:53] *** hkeide_ has quit IRC
[13:16:54] *** reduce has quit IRC
[13:17:08] *** e0ipso is now known as e0ipso|away
[13:17:16] *** kwmiebach has joined #angularjs
[13:17:41] *** suffice_ has joined #angularjs
[13:18:00] *** martianboy has quit IRC
[13:18:01] *** thomastuts has quit IRC
[13:18:01] *** suffice has quit IRC
[13:18:02] *** merlinsbrain has quit IRC
[13:18:02] *** Templarian has quit IRC
[13:18:02] *** Anton_ has quit IRC
[13:18:03] *** ABCDEFGMinor has quit IRC
[13:18:03] *** Phtes_ has quit IRC
[13:18:11] *** reduce has joined #angularjs
[13:18:16] *** tschunde_ has joined #angularjs
[13:18:20] *** mafs_ has joined #angularjs
[13:18:34] *** ETBlue_ has joined #angularjs
[13:18:46] *** leolrrj has quit IRC
[13:18:56] *** rikkus has joined #angularjs
[13:19:06] *** fedenunez has quit IRC
[13:19:14] *** leolrrj has joined #angularjs
[13:19:16] *** Superhard has joined #angularjs
[13:19:19] *** ABCDEFGMinor has joined #angularjs
[13:19:26] *** jlebrech has quit IRC
[13:19:29] *** ome has joined #angularjs
[13:19:31] *** abe has quit IRC
[13:19:43] *** Phtes_ has joined #angularjs
[13:19:46] *** fourq_ has joined #angularjs
[13:19:53] *** merlinsbrain has joined #angularjs
[13:19:56] *** patrick99e99 has joined #angularjs
[13:20:12] *** xxMatiasFxx has quit IRC
[13:20:12] *** andreypopp_ has quit IRC
[13:20:13] *** DANtheBEASTman has joined #angularjs
[13:20:13] *** Lingo has quit IRC
[13:20:14] *** octarine has quit IRC
[13:20:19] *** Templarian has joined #angularjs
[13:20:24] *** Sebastien-L has joined #angularjs
[13:20:31] *** isacloud has quit IRC
[13:20:31] *** apipkin has quit IRC
[13:20:33] *** tschundeee has quit IRC
[13:20:34] *** paolo has quit IRC
[13:20:34] *** imanc_ has quit IRC
[13:20:39] *** apipkin_ has joined #angularjs
[13:20:43] *** Templarian has quit IRC
[13:20:43] *** Templarian has joined #angularjs
[13:20:45] *** isacloud_ has joined #angularjs
[13:20:46] *** apipkin_ has quit IRC
[13:20:46] *** apipkin_ has joined #angularjs
[13:20:47] *** isacloud_ has quit IRC
[13:20:47] *** isacloud_ has joined #angularjs
[13:20:51] *** IvailoStoianov has joined #angularjs
[13:20:53] *** jlebrech has joined #angularjs
[13:21:04] *** speakingcode has quit IRC
[13:21:05] *** lele has quit IRC
[13:21:05] *** tanepiper___ has quit IRC
[13:21:06] *** andreypopp_ has joined #angularjs
[13:21:24] *** speakingcode has joined #angularjs
[13:21:51] *** octarine has joined #angularjs
[13:22:15] *** xyNNN has quit IRC
[13:22:16] *** Anton_ has joined #angularjs
[13:22:21] *** artee_ has quit IRC
[13:22:54] *** artee_ has joined #angularjs
[13:22:55] *** imanc_ has joined #angularjs
[13:23:06] *** Sky[x] has joined #angularjs
[13:23:08] *** greatdex has joined #angularjs
[13:23:08] *** xyNNN has joined #angularjs
[13:23:13] *** felipesabino has joined #angularjs
[13:23:14] *** paolo has joined #angularjs
[13:23:17] *** zeezey has quit IRC
[13:23:44] *** SergioFilhow has joined #angularjs
[13:23:54] *** yelvert has joined #angularjs
[13:24:02] *** tripu has joined #angularjs
[13:25:14] *** shaym_ has joined #angularjs
[13:25:16] *** patrick99e99 has quit IRC
[13:25:56] *** tanepiper___ has joined #angularjs
[13:25:56] *** swist has joined #angularjs
[13:26:07] *** jaydubya has joined #angularjs
[13:26:26] *** Zaran- has joined #angularjs
[13:26:27] *** jordandotdev has quit IRC
[13:27:46] *** ahtik has quit IRC
[13:27:57] *** tomdale___ has joined #angularjs
[13:28:01] *** SergioFilhow has quit IRC
[13:28:11] *** mdedetrich has joined #angularjs
[13:28:15] *** yelvert has quit IRC
[13:28:20] *** cavallari has quit IRC
[13:28:58] *** azizur has joined #angularjs
[13:29:24] *** mmealling has quit IRC
[13:29:30] *** iksik has quit IRC
[13:29:54] *** __danimal__ has joined #angularjs
[13:30:00] *** ries has joined #angularjs
[13:30:11] *** CanyonMan has quit IRC
[13:30:14] *** ludkille- has joined #angularjs
[13:30:33] *** xxMatiasFxx has joined #angularjs
[13:30:38] *** jharbaug_ has joined #angularjs
[13:31:15] *** paolo has quit IRC
[13:31:16] *** DANtheBEASTman has quit IRC
[13:31:17] *** zwacky has quit IRC
[13:31:17] *** rtpg has quit IRC
[13:31:18] *** frankblizzar has quit IRC
[13:31:19] *** zeitgist has quit IRC
[13:31:19] *** josh-k_ has quit IRC
[13:31:20] *** mchammer has quit IRC
[13:31:20] *** jacuqesdancona_ has quit IRC
[13:31:21] *** ludkiller has quit IRC
[13:31:21] *** Zaran_ has quit IRC
[13:31:22] *** jharbaugh has quit IRC
[13:31:22] *** Torrieri has quit IRC
[13:31:22] *** scorphus has quit IRC
[13:31:23] *** tomdale__ has quit IRC
[13:31:24] *** brezel has quit IRC
[13:31:50] *** tomdale___ is now known as tomdale__
[13:31:55] *** rtpg has joined #angularjs
[13:31:58] *** bkuberek has joined #angularjs
[13:32:12] *** hkeide_ has joined #angularjs
[13:32:33] *** iksik has joined #angularjs
[13:32:43] *** paolo has joined #angularjs
[13:32:44] *** paolo has joined #angularjs
[13:33:07] *** fedenunez has joined #angularjs
[13:33:22] *** neuro_sys__ has quit IRC
[13:33:28] *** azizur has quit IRC
[13:34:07] *** cavallari has joined #angularjs
[13:34:24] *** afuggini has joined #angularjs
[13:34:25] *** pxz has joined #angularjs
[13:35:01] *** lsiv568 has joined #angularjs
[13:35:17] *** DrMabuse_ has joined #angularjs
[13:35:30] *** Raging_Hog has quit IRC
[13:35:35] *** dimetron has quit IRC
[13:36:11] *** davidreis has joined #angularjs
[13:36:18] *** bkuberek has quit IRC
[13:36:23] *** shaisnir has joined #angularjs
[13:36:58] *** frankblizzar has joined #angularjs
[13:38:19] *** sk87 has quit IRC
[13:38:25] *** simplyshipley has joined #angularjs
[13:38:31] *** DrMabuse has quit IRC
[13:38:38] *** afuggini has quit IRC
[13:38:52] *** wdna has quit IRC
[13:39:22] *** brezel has joined #angularjs
[13:40:23] *** shaisnir has quit IRC
[13:40:50] *** aendrew has quit IRC
[13:41:35] *** mchammer has joined #angularjs
[13:42:33] *** Sky[x] has quit IRC
[13:43:51] *** g33k5z_ has joined #angularjs
[13:44:14] *** flaviogranero has quit IRC
[13:44:47] *** geekyvin_ has quit IRC
[13:45:04] *** Skrypter has quit IRC
[13:45:06] *** DrMabuse_ has quit IRC
[13:45:37] *** Skrypter has joined #angularjs
[13:46:52] *** tschunde_ has quit IRC
[13:47:24] *** tschundeee has joined #angularjs
[13:47:38] *** jacuqesdancona_ has joined #angularjs
[13:48:03] *** phzon has quit IRC
[13:48:16] *** g33k5z_ has quit IRC
[13:48:27] *** zeroquake has joined #angularjs
[13:48:43] *** greatdex has quit IRC
[13:48:57] *** jstroem has quit IRC
[13:49:17] *** jstroem has joined #angularjs
[13:50:04] *** jstroem has quit IRC
[13:50:09] *** Skrypter has quit IRC
[13:50:22] *** jstroem has joined #angularjs
[13:50:55] *** flaviogranero has joined #angularjs
[13:50:55] *** jstroem has quit IRC
[13:51:09] *** shaisnir has joined #angularjs
[13:51:23] *** jstroem has joined #angularjs
[13:52:26] *** vonnegut has quit IRC
[13:52:30] *** tschundeee has quit IRC
[13:52:30] *** DLSteve has quit IRC
[13:53:01] *** DLSteve has joined #angularjs
[13:53:12] *** lolmaus has joined #angularjs
[13:54:06] *** DANtheBE- has joined #angularjs
[13:54:07] *** zeitgist has joined #angularjs
[13:54:07] *** DANtheBEASTman has joined #angularjs
[13:54:07] *** zwacky has joined #angularjs
[13:54:07] *** josh-k_ has joined #angularjs
[13:54:08] *** 77CAAZKZJ has joined #angularjs
[13:54:08] *** Torrieri has joined #angularjs
[13:54:10] *** kp666 has quit IRC
[13:55:13] *** ingsoc1 has joined #angularjs
[13:56:20] <lolmaus> I've found a mistake in Angular docs. Where do i submit a fix?
[13:56:56] *** ingsoc has quit IRC
[13:57:17] *** sebhoss has joined #angularjs
[13:57:44] *** swist has quit IRC
[13:58:47] *** loverajoel has joined #angularjs
[13:59:19]
<kpax> I have this nested template displaying a file tree. I am having serious performance issues. Browser takes one core for up to a minute when populating about 5-600 items. Is this over the head for angular and the browser? http://pastebin.com/3QhJ5b1z
[13:59:26] <kpax> Or am I doing something very bad
[13:59:33] <kpax> with my nested template
[13:59:46] <kpax> Hopefully you can read it without the model
[14:00:22] *** tarnus has joined #angularjs
[14:00:34] *** MattWelch has joined #angularjs
[14:00:38] *** lugzer has quit IRC
[14:01:02] *** lugzer has joined #angularjs
[14:01:24] *** fedenunez1 has joined #angularjs
[14:01:27] *** fedenunez has quit IRC
[14:01:57] *** edzez has quit IRC
[14:02:32] *** thalfeld has quit IRC
[14:04:05] *** zwacky_ has joined #angularjs
[14:04:10] *** hello has joined #angularjs
[14:04:36] *** glitch-hat has joined #angularjs
[14:04:37] *** annlewis has joined #angularjs
[14:05:01] *** hello has left #angularjs
[14:05:10] *** GreenJello has quit IRC
[14:05:54] *** fedenunez1 has quit IRC
[14:06:17] *** bmac has joined #angularjs
[14:06:50] *** borvoh has joined #angularjs
[14:07:08] *** Mad-C has joined #angularjs
[14:07:50] *** seriema has joined #angularjs
[14:08:09] *** hatzopoulos_ has joined #angularjs
[14:08:17] *** ETBlue_ is now known as ETBlue
[14:08:30] *** phzon has joined #angularjs
[14:08:45] *** zeitgist has quit IRC
[14:08:45] *** DANtheBEASTman has quit IRC
[14:08:46] *** zwacky has quit IRC
[14:08:47] *** josh-k_ has quit IRC
[14:08:47] *** 77CAAZKZJ has quit IRC
[14:08:47] *** Torrieri has quit IRC
[14:08:57] *** SoulBlade has joined #angularjs
[14:08:58] *** recidive has joined #angularjs
[14:09:03] *** annlewis has quit IRC
[14:09:17] *** hswolff has quit IRC
[14:09:43] *** sandelius has quit IRC
[14:10:33] *** hswolff has joined #angularjs
[14:10:37] *** jstroem has quit IRC
[14:10:53] *** mchapman has quit IRC
[14:10:59] *** dgrebb has quit IRC
[14:11:07] *** jstroem has joined #angularjs
[14:11:08] *** Hatzopoulos has quit IRC
[14:11:08] *** aendrew has joined #angularjs
[14:11:19] *** dgrebb has joined #angularjs
[14:11:42] *** glaksmono has quit IRC
[14:11:44] *** busticated has joined #angularjs
[14:12:05] *** seriema has quit IRC
[14:12:17] *** akrikos has joined #angularjs
[14:12:28] *** seriema has joined #angularjs
[14:12:35] *** seriema has joined #angularjs
[14:12:37] *** jonasliljestrand has joined #angularjs
[14:13:28] *** SoulBlade has quit IRC
[14:14:51] *** startupality has quit IRC
[14:15:14] *** FunnyLookinHat has joined #angularjs
[14:15:14] *** FunnyLookinHat has joined #angularjs
[14:15:57] *** ericbutters has joined #angularjs
[14:16:37] *** DanielKarp has joined #angularjs
[14:16:39] <ericbutters> hello, where can i find information about the "floating" button of material design?
[14:16:50] *** mdedetrich has quit IRC
[14:16:50] *** edzez has joined #angularjs
[14:17:38] *** tristanp has joined #angularjs
[14:17:48] *** DrMabuse has joined #angularjs
[14:18:11] *** tomphp has joined #angularjs
[14:18:44] *** rikkipitt has quit IRC
[14:19:38] *** azizur has joined #angularjs
[14:21:04] *** fernandojsg has quit IRC
[14:21:49] *** platonic has joined #angularjs
[14:22:10] *** davidreis has quit IRC
[14:22:11] *** tomphp has quit IRC
[14:22:48] *** sahbeewah has quit IRC
[14:23:23] *** Fishy has quit IRC
[14:23:48] *** zemanel has joined #angularjs
[14:24:10] *** ahtik has joined #angularjs
[14:24:31] *** SergioFilhow has joined #angularjs
[14:24:44] *** danecando has quit IRC
[14:26:27] *** fedenunez has joined #angularjs
[14:26:44] *** platonic has quit IRC
[14:28:11] *** balr0g has joined #angularjs
[14:29:13] *** SergioFilhow has quit IRC
[14:30:04] *** josh-k has joined #angularjs
[14:30:07] *** zwacky_ has quit IRC
[14:30:47] *** silversurfer has joined #angularjs
[14:30:53] <silversurfer> hi
[14:31:06] *** silversurfer has quit IRC
[14:31:17] *** mccarrontr1ck has joined #angularjs
[14:31:33] *** Torrieri has joined #angularjs
[14:32:26] *** busticated has quit IRC
[14:32:49] *** xxMatiasFCxx has joined #angularjs
[14:32:54] *** tschundeee has joined #angularjs
[14:32:59] *** dman777_alter has joined #angularjs
[14:33:09] *** Cydmax has quit IRC
[14:33:11] *** swist has joined #angularjs
[14:33:37] *** azizur has quit IRC
[14:33:51] *** xxMatiasFxx has quit IRC
[14:33:58] *** DrMabuse has quit IRC
[14:34:15] *** rikkipitt has joined #angularjs
[14:34:20] *** t0rrieri has joined #angularjs
[14:34:58] *** KushS has quit IRC
[14:35:22] *** walden|afk is now known as walden
[14:37:13] *** VictorBjelkholm has quit IRC
[14:38:59] *** livingstn has joined #angularjs
[14:39:00] *** edzez has quit IRC
[14:39:09] *** ries has quit IRC
[14:39:50] *** azizur has joined #angularjs
[14:40:12] *** mmealling has joined #angularjs
[14:40:16] *** cboden has joined #angularjs
[14:40:29] *** ali4ever4 has quit IRC
[14:40:32] *** mmealling has quit IRC
[14:40:45] *** mmealling has joined #angularjs
[14:40:52] *** lsiv568 has quit IRC
[14:41:32] *** mdxprograms has joined #angularjs
[14:41:42] *** ries has joined #angularjs
[14:42:39] *** zwacky_ has joined #angularjs
[14:43:54] *** Cydmax has joined #angularjs
[14:43:57] *** edzez has joined #angularjs
[14:44:14] *** pilva1 has joined #angularjs
[14:44:28] *** red_horned_rihno has quit IRC
[14:44:33] *** Lewix has joined #angularjs
[14:44:33] *** Lewix has joined #angularjs
[14:45:34] *** boxmein has joined #angularjs
[14:45:40] *** afuggini has joined #angularjs
[14:45:43] *** lsiv568 has joined #angularjs
[14:46:07] *** tfennelly has quit IRC
[14:46:13] *** Torrieri has quit IRC
[14:46:21] *** vbabiy has joined #angularjs
[14:46:33] *** pilva has quit IRC
[14:46:40] *** newb has joined #angularjs
[14:46:41] *** startupality has joined #angularjs
[14:47:06] *** johnkevinmbasco has joined #angularjs
[14:47:10] *** drej has quit IRC
[14:47:43] *** seriema has quit IRC
[14:48:05] *** lawd has joined #angularjs
[14:48:09] *** seriema has joined #angularjs
[14:48:19] <lawd> hello anyone have experience with smart table
[14:48:58] *** motionman has joined #angularjs
[14:49:01] *** jstroem has quit IRC
[14:49:04] *** danecando has joined #angularjs
[14:49:05] *** walden is now known as walden|brb
[14:49:13] *** walden|brb is now known as walden
[14:50:19] *** startupality has quit IRC
[14:50:21] *** diosney has joined #angularjs
[14:50:45] <johnkevinmbasco> Hi guys, in your opinion, do you think its a nice idea to share angularjs services on multiple angularjs apps?
[14:50:52] <johnkevinmbasco> to make code DRY?
[14:51:09] *** knownasilya has joined #angularjs
[14:51:12] *** jmckind has joined #angularjs
[14:51:16] *** jeffisabelle has quit IRC
[14:52:37] <johnkevinmbasco> can you guys share the disadvantages of that approach?
[14:52:39] *** leolrrj has quit IRC
[14:52:48] *** Raging_Hog has joined #angularjs
[14:52:50] *** leolrrj has joined #angularjs
[14:53:18] *** seriema has quit IRC
[14:54:30] *** fairuz has joined #angularjs
[14:54:37] *** Hackwar has joined #angularjs
[14:54:45] *** DLSteve has quit IRC
[14:55:11] *** Ax` has quit IRC
[14:56:25] *** rafagomes_ has quit IRC
[14:56:28] *** dmack has joined #angularjs
[14:56:57] *** azizur has quit IRC
[14:57:27] *** startupality has joined #angularjs
[14:57:34] <thews-work> I went through a couple demo apps, and started to attempt to build my own angular frontend to an existing API. For making what I consider to be simple forms I'm struggling a little bit with populating NG options from another section of API that it passed using area_id
[14:57:56] <thews-work> are there any demos / Docs I can see where that case is used? it seems like it should be such a simple thing
[14:58:12] *** aendrew has quit IRC
[14:58:26] <ericbutters> "floating action button" is not part of angular yet? only polymer?
[14:59:27] *** Guest58073 has joined #angularjs
[14:59:38] *** bmac has quit IRC
[14:59:49] *** azizur has joined #angularjs
[15:00:04] *** japhar81 has joined #angularjs
[15:00:13] *** davidreis has joined #angularjs
[15:00:51] *** bmac has joined #angularjs
[15:00:57] *** rchavik has quit IRC
[15:01:05] *** annlewis has joined #angularjs
[15:01:51] *** leolrrj has quit IRC
[15:02:04] *** fbenoit has quit IRC
[15:02:10] *** leolrrj has joined #angularjs
[15:02:21] *** startupality has quit IRC
[15:02:44] *** VeeWee has quit IRC
[15:03:24] *** i_am_nader has joined #angularjs
[15:03:48] *** mdxprograms has quit IRC
[15:03:53] *** pknordic_ has quit IRC
[15:03:59] *** jdcasey has joined #angularjs
[15:04:00] *** Guest58073 has quit IRC
[15:04:00] *** i_am_nader has quit IRC
[15:04:01] *** fbenoit has joined #angularjs
[15:04:25] <Lewix> what's the diff between scope.$root and $rootScope
[15:05:18] *** azizur has quit IRC
[15:05:25] *** ggrzybek is now known as ggrzybek_brb
[15:05:40] *** diosney has quit IRC
[15:05:50] *** JeffBuhrt has quit IRC
[15:05:56] *** rolandschuetz_ has joined #angularjs
[15:06:30] *** FunnyLookinHat has quit IRC
[15:07:14] <rolandschuetz_> How can I achieve this inside an ng-repeat? class=“{{board-class{{i}}“ where I have a $scope.board-class-1 = “class1 class2“;
[15:07:38] *** juanpablo_ has joined #angularjs
[15:07:43] *** jdivock has joined #angularjs
[15:07:54] <rolandschuetz_> Eh, of course this should be $scope[‚board-class-1‘] = “class1 class2“;
[15:08:30] *** mven has quit IRC
[15:09:05] *** evilaliv3 has quit IRC
[15:09:09] *** tscosj has joined #angularjs
[15:09:15] *** tscosj has joined #angularjs
[15:09:23] *** prosper_ has joined #angularjs
[15:09:43] *** SexualRickshaw has quit IRC
[15:09:47] <tscosj> hello, angularjsers! :D
[15:09:55] *** DrMabuse has joined #angularjs
[15:10:20] *** thomastuts has joined #angularjs
[15:10:55] *** juampy has joined #angularjs
[15:11:31] <thomastuts> anyone around who's experienced in debugging performance? we have a pretty large-ish app that takes up 750MB of memory, however, if i open devtools, the memory usage spikes up to 1.5GB and then the tab crashes completely (showing an 'Aw snap' error)
[15:11:48] *** macabre has joined #angularjs
[15:11:54] *** sk87 has joined #angularjs
[15:12:17] *** yelvert has joined #angularjs
[15:12:29] <soee> do you gusy create separate controllers that handle records list (show/delete) and separate for create / edit record ?
[15:12:46] *** davesidious_ is now known as davesidious
[15:13:11] *** lemur has joined #angularjs
[15:13:15] <rolandschuetz_> thomastuts: There is obviously some kind of memory leak (I don’t think you load so much data on purpose). So try removing everything, adding part by part and see when your memory usage skyrockets. That’s where you problem is
[15:13:21] *** darrin has joined #angularjs
[15:13:44] <thomastuts> the weird thing is that it worked fine earlier today, i've gone back to those commits and now it happens there too
[15:13:56] <thomastuts> i'm starting to think it might have something to do with my build system or something
[15:14:06] *** DanielKarp has quit IRC
[15:14:38] <rolandschuetz_> thomastuts: Hmm… I can’t tell you. Did you try in a differnet browser?
[15:14:47] *** DanielKarp has joined #angularjs
[15:14:53] <thomastuts> yeah, canary and FF nightly, reproducible
[15:14:54] *** sigurding has quit IRC
[15:15:19] *** sigurding has joined #angularjs
[15:15:26] <thomastuts> sucks not being able to get into devtools to make a profile or something
[15:15:35] *** boxmein has quit IRC
[15:16:25] *** rho_ has joined #angularjs
[15:16:37] *** CanyonMan has joined #angularjs
[15:17:00] *** yelvert has quit IRC
[15:17:18] *** DanielKarp has quit IRC
[15:17:39] *** marc_v92 has joined #angularjs
[15:17:51] <rolandschuetz_> thomastuts: Hmm.. yeah, sounds bad. But than any angular performance knowledge wouldn’t help you anyway. Bst approach is to completely delete your index template, see if it now runs smooth. Then add part by part and see where everything breaks.
[15:18:00] *** Sjimi has quit IRC
[15:18:32] *** doodlehaus has joined #angularjs
[15:18:57] *** Sjimi has joined #angularjs
[15:20:12] *** FIFOd[a] has joined #angularjs
[15:20:17] *** bberry_ has joined #angularjs
[15:20:21] *** jacuqesdancona__ has joined #angularjs
[15:20:23] *** stillbourne_ has joined #angularjs
[15:20:28] *** Lingo_____ has joined #angularjs
[15:20:33] *** JeffBuhrt has joined #angularjs
[15:20:39] *** Poppa has joined #angularjs
[15:20:46] *** patrick99e99 has joined #angularjs
[15:20:53] *** numenor has quit IRC
[15:21:21] *** zemanel_ has joined #angularjs
[15:21:39] *** sebhoss_ has joined #angularjs
[15:21:52] *** mivv has joined #angularjs
[15:22:05] *** Hackwar1 has joined #angularjs
[15:22:20] *** lemur has quit IRC
[15:22:24] *** DonnyKnuth has joined #angularjs
[15:22:30] *** vbabiy_ has joined #angularjs
[15:22:38] *** christo_1 has joined #angularjs
[15:22:44] *** plantian1 has joined #angularjs
[15:22:52] *** lemur has joined #angularjs
[15:23:03] <DonnyKnuth> question: what are some high quality open source projects that use angularjs? Looking to follow a project or two on github to learn angular...
[15:23:05] *** Bennit_GRR has joined #angularjs
[15:23:37] *** thebad has joined #angularjs
[15:23:57] *** mven has joined #angularjs
[15:24:06] *** thebad has quit IRC
[15:24:07] *** mven has quit IRC
[15:24:35] *** webster_ has joined #angularjs
[15:25:01] *** prosper_ has quit IRC
[15:25:06] *** lawd has quit IRC
[15:25:08] *** kc3_ has joined #angularjs
[15:25:09] *** mven has joined #angularjs
[15:25:10] *** miica has joined #angularjs
[15:25:20] *** SergioFilhow has joined #angularjs
[15:25:27] <rolandschuetz_> What is the correct way of doing this? ng-class=“classes-sting-in-my-scope-{{i}}“
[15:25:33] *** kuadrosx has joined #angularjs
[15:25:36] *** Aerospark has quit IRC
[15:25:42] *** patrick99e99 has quit IRC
[15:25:56] <rolandschuetz_> Where i should be replaced by 1, 2, etc. inside an ng-repeat?
[15:26:14] *** FunnyLookinHat has joined #angularjs
[15:26:22] *** alinou has quit IRC
[15:26:31] *** lemur has quit IRC
[15:26:36] *** frankbli_ has joined #angularjs
[15:26:51] *** s00pcan_ has joined #angularjs
[15:27:05] *** lemur has joined #angularjs
[15:27:09] *** yano has joined #angularjs
[15:27:17] *** Aerospark has joined #angularjs
[15:27:30] *** ron1 has joined #angularjs
[15:27:57] *** frankblizzar has quit IRC
[15:28:25] *** g33k5z has joined #angularjs
[15:29:02] *** denny_ has joined #angularjs
[15:29:12] *** paralle21_ has joined #angularjs
[15:29:16] <thomastuts> rolandschuetz_: to get the index in an ng-repeat you can access the $index property
[15:29:22] *** g33k5z has quit IRC
[15:29:24] *** e0ipso|away is now known as e0ipso
[15:29:26] *** denny_ is now known as Guest74916
[15:29:48] *** bitnumus_ has joined #angularjs
[15:29:48] *** g33k5z has joined #angularjs
[15:29:54] *** SergioFilhow has quit IRC
[15:30:04] <rolandschuetz_> thomastuts: I’m not looking for the index, I want the current value
[15:30:13] *** rho_ has quit IRC
[15:30:14] *** Hackwar has quit IRC
[15:30:15] *** vbabiy has quit IRC
[15:30:17] *** zemanel has quit IRC
[15:30:18] *** sebhoss has quit IRC
[15:30:18] *** jacuqesdancona_ has quit IRC
[15:30:19] *** artee_ has quit IRC
[15:30:20] *** Lingo___ has quit IRC
[15:30:21] *** Txandy has quit IRC
[15:30:22] *** chr1stopher has quit IRC
[15:30:22] *** mnngfltg has quit IRC
[15:30:26] *** ivor has quit IRC
[15:30:26] *** aboudreault has quit IRC
[15:30:27] *** Sna4x8 has quit IRC
[15:30:27] *** russellm has quit IRC
[15:30:29] *** joshfinnie has quit IRC
[15:30:29] *** ryst has quit IRC
[15:30:30] *** christo_m has quit IRC
[15:30:30] *** plantian has quit IRC
[15:30:31] *** miica_ has quit IRC
[15:30:31] *** Nivag has quit IRC
[15:30:32] *** webster has quit IRC
[15:30:32] *** Poppabear has quit IRC
[15:30:33] *** s00pcan has quit IRC
[15:30:33] *** kc3 has quit IRC
[15:30:34] *** stillbourne has quit IRC
[15:30:34] *** Bennit has quit IRC
[15:30:35] *** joepie91 has quit IRC
[15:30:35] *** bberry has quit IRC
[15:30:36] *** parallel21 has quit IRC
[15:30:37] *** richleland has quit IRC
[15:30:37] *** vlcn has quit IRC
[15:30:38] *** bitnumus has quit IRC
[15:30:41] *** ajk27_ has quit IRC
[15:30:41] <Guest74916> hello all I'm reading the documentation to understand when I must use the link function inside a directive but it's not clear for me. The documentation says:"use link when you want to manipulate the dom" but whne
[15:30:42] *** zemanel_ is now known as zemanel
[15:30:43] *** g33k5z has quit IRC
[15:30:43] *** bitnumus_ is now known as Guest41132
[15:30:44] *** webster_ is now known as webster
[15:30:45] *** vlcn has joined #angularjs
[15:30:45] <rolandschuetz_> thomastuts: I should have used {{id}} in the example, would have nbeen clearer
[15:30:46] *** edzez_ has joined #angularjs
[15:30:47] *** g33k5z has joined #angularjs
[15:30:48] *** joshfinnie has joined #angularjs
[15:31:02] *** IJNX has joined #angularjs
[15:31:19] *** chr1stopher has joined #angularjs
[15:31:23] <thomastuts> then you'd just add it to the class attribute
[15:31:29] *** ryst has joined #angularjs
[15:31:34] *** russellm has joined #angularjs
[15:31:44] <thomastuts> <div ng-repeat="fruit in fruits" class="fruit-{{ fruit.id }}">...</div>
[15:31:44] *** lemur has quit IRC
[15:31:49] *** ngbot has joined #angularjs
[15:31:49]
<ngbot> [angular.js] petebacondarwin pushed 8 new commits to master: http://git.io/0ATzFA
[15:31:50] <ngbot> angular.js/master d161cc6 thorn0: docs(select): improve formatting and wording...
[15:31:50] <ngbot> angular.js/master 24eb528 Aleksey Bobyr: docs(guide/expression): update diff list between JavaScript and Angular expressions...
[15:31:50] <ngbot> angular.js/master 25152bb Alexander Tseung: docs(tutorial/index): improve capitalization...
[15:31:50] *** ngbot has left #angularjs
[15:31:56] *** rikkipitt has quit IRC
[15:31:56] *** rho_ has joined #angularjs
[15:31:59] *** joepie91 has joined #angularjs
[15:32:12] *** mnngfltg has joined #angularjs
[15:32:14] *** Alina-malina has joined #angularjs
[15:32:20] *** rho_ is now known as rho
[15:32:26] *** marc_v92 has quit IRC
[15:32:38] *** Sna4x8 has joined #angularjs
[15:33:14] <Guest74916> hello all I'm reading the documentation to understand when I must use the link function inside a directive but it's not clear for me. The documentation says:"use link when you want to manipulate the dom" but when? when the dom must change without user interaction?
[15:33:18] *** dsdeiz has joined #angularjs
[15:33:32] *** vassagus has joined #angularjs
[15:33:33] *** ivor has joined #angularjs
[15:33:52] *** edzez has quit IRC
[15:33:57] *** cavallari has quit IRC
[15:34:06] *** tripu has quit IRC
[15:34:07] *** Nivag has joined #angularjs
[15:34:18] <aven1> when something happen and you want to change the dom
[15:34:23] *** Ajans has quit IRC
[15:34:29] *** jaredwilli has joined #angularjs
[15:34:30] <rolandschuetz_> thomastuts: It’s a bit more complicated, I want to apply the CSS classes saved in $acope.classes[id]
[15:34:48] <thomastuts> rolandschuetz_: then why not just access them?
[15:35:04] *** plekplek has quit IRC
[15:35:07] *** tripu has joined #angularjs
[15:35:08] <rolandschuetz_> thomastuts: No sure how?
[15:35:08] <thomastuts> class="fruit-{{ classes[fruit.id] }}
[15:35:29] <rolandschuetz_> that didn’t work? Are you sure that works?
[15:35:39] *** artee_ has joined #angularjs
[15:35:39] *** ggrzybek_brb is now known as ggrzybek
[15:35:51] *** aboudreault has joined #angularjs
[15:35:52] <rolandschuetz_> Ah… wait. So I can access the variable like js. I think I got it.
[15:35:56] *** annlewis has quit IRC
[15:35:59] *** Sky[x] has joined #angularjs
[15:36:25] *** PeterMetz has quit IRC
[15:36:33] *** ngbot has joined #angularjs
[15:36:34]
<ngbot> [angular.js] petebacondarwin pushed 6 new commits to v1.2.x: http://git.io/sV0l7g
[15:36:34] <ngbot> angular.js/v1.2.x f2c8767 Peter Bacon Darwin: docs(guide/expression): update diff list between JavaScript and Angular expressions...
[15:36:34] <ngbot> angular.js/v1.2.x 8802d51 Alexander Tseung: docs(tutorial/index): improve capitalization...
[15:36:34] <ngbot> angular.js/v1.2.x d8a95a9 Zachary Lopez: docs(angular.identity): add @param and @returns tags...
[15:36:34] *** ngbot has left #angularjs
[15:36:38] *** staticinteger has joined #angularjs
[15:36:51] <staticinteger> Wassup guys :)
[15:38:26] <rolandschuetz_> thomastuts: Works, thak you :)
[15:38:35] *** Guest41132 is now known as bitnumus
[15:38:36] *** amortimer has left #angularjs
[15:38:42] *** bitnumus has quit IRC
[15:38:42] *** bitnumus has joined #angularjs
[15:40:41] *** marc_v92 has joined #angularjs
[15:40:46] *** ppppaul has quit IRC
[15:40:49] *** edzez__ has joined #angularjs
[15:41:04] *** DrMabuse has quit IRC
[15:41:05] *** atomical has quit IRC
[15:42:24] *** cornerma1 has joined #angularjs
[15:42:44] *** atomical has joined #angularjs
[15:43:56] *** IvailoStoianov has quit IRC
[15:44:02] *** edzez_ has quit IRC
[15:44:15] *** Snugug has joined #angularjs
[15:45:24] *** DrMabuse has joined #angularjs
[15:45:58] *** sirkitree|afk is now known as sirkitree
[15:46:06] *** cornerman has quit IRC
[15:46:09] *** sirkitree has left #angularjs
[15:46:10] *** cornerma1 is now known as cornerman
[15:46:23] *** PeterMetz has joined #angularjs
[15:46:26] *** zlalanne has joined #angularjs
[15:46:58] *** yano has quit IRC
[15:47:19] *** leolrrj has quit IRC
[15:48:02] *** silo- has joined #angularjs
[15:48:27] *** afuggini has quit IRC
[15:48:52] *** Solid1 is now known as Solid1_afk
[15:49:08] *** jdivock has quit IRC
[15:49:22] *** bkuberek has joined #angularjs
[15:49:24] *** annlewis has joined #angularjs
[15:49:39] *** afuggini has joined #angularjs
[15:49:44] *** dllama has quit IRC
[15:50:03] *** dllama has joined #angularjs
[15:50:54] <Guest74916> hello all I'm reading the documentation to understand when I must use the link function inside a directive but it's not clear for me. The documentation says:"use link when you want to manipulate the dom" but when? when the dom must change without user interaction?
[15:51:20] *** tripu has quit IRC
[15:51:34] *** sbellina has quit IRC
[15:52:16] *** milka has joined #angularjs
[15:52:23] <staticinteger> Guest74916: Do you want it to change on an interval (Like every second/minute/etc.)?
[15:53:07] <CHC> is this an appropriate channel to ask about ui-select?
[15:53:10] *** BillCriswell has joined #angularjs
[15:53:10] <Guest74916> staticinteger: so you confirm that the link function is used when i want change the dom without user interaction?
[15:53:46] <Guest74916> staticinteger: becouse I think that if there's user interaction I can use a controller inside the directive
[15:53:53] *** IvailoStoianov has joined #angularjs
[15:54:05] <Guest74916> staticinteger: and changing the dom
[15:54:05] *** jstroem has joined #angularjs
[15:54:06] <staticinteger> Guest74916: I'm trying to figure out what you are doing so that I can give you the best advice lol
[15:54:09] *** jMyles has joined #angularjs
[15:54:13] *** arpu has joined #angularjs
[15:54:20] *** Linell has joined #angularjs
[15:54:26] *** jdivock has joined #angularjs
[15:54:44] *** yano has joined #angularjs
[15:54:54] <Guest74916> staticinteger: no no I want to do nothing for the moment. Before to start I want understand when I must use a controller inside the directive(custom)and when a link funcion
[15:54:56] *** flaviogr1 has joined #angularjs
[15:55:23] *** __danima_ has joined #angularjs
[15:55:23] <CHC> well no answer so i'll ask anyways, i've implemented ui-select and i keep getting this error whenever i select any data
[15:55:25] <CHC> "Error: [$sce:unsafe] Attempting to use an unsafe value in a safe context."
[15:55:29] *** Fishy__ has joined #angularjs
[15:55:37] *** archit has joined #angularjs
[15:56:05] <Guest74916> staticinteger: I'm reading the documentation and it show the example of the time so I've thinked that maybe you must use the link to modify the DM when there isn't user interaction
[15:56:11] *** soee has quit IRC
[15:56:22] *** tristanp has quit IRC
[15:56:28] <staticinteger> Guest74916: Ohhhh okay, Well you would use link when manipulating the dom of the custom directive directly.
[15:56:39] *** flaviogranero has quit IRC
[15:56:43] *** Efrem has joined #angularjs
[15:56:47] <archit> but as i implement it in real html/css it throwing error of [[object HTMLUListElement]]
[15:57:03] <archit> and my list is not getting reflected .
[15:57:06] *** flaviogr1 is now known as flaviogranero
[15:57:15] *** richleland has joined #angularjs
[15:57:21] <Guest74916> staticinteger: still no clear...what mean "manipulating the dom directly"
[15:57:29] *** flaviogranero has quit IRC
[15:57:50] *** SoulBlade has joined #angularjs
[15:58:14] *** SexualRickshaw has joined #angularjs
[15:58:19] *** __danimal__ has quit IRC
[15:58:31] <staticinteger> Guest74916: Think of it like this: when you want to edit something like the text that is the direct child of the directive, use link. If you are going any deeper than that then use a controller
[15:58:34] *** jstroem has quit IRC
[16:00:10] <Guest74916> staticinteger: ok so think to the example posted by archit that show and hide the element of a tree...You must use a controller or a directive?
[16:00:21] *** qdk has joined #angularjs
[16:01:00] <Guest74916> staticinteger: sorry controller or link
[16:01:00] *** mw_ has joined #angularjs
[16:01:12] *** lawd has joined #angularjs
[16:01:15] *** Caroga is now known as Caroga_afk
[16:01:16] <archit> staticinteger- Any idea why this issue i am getting .
[16:01:25] <lawd> yoo anyone good with smart table
[16:01:32] *** evilaliv3 has joined #angularjs
[16:01:45] *** azizur has joined #angularjs
[16:01:48] *** Aerospark has quit IRC
[16:02:00] <staticinteger> Guest74916: Controller, as he is manipulating deeper than the directive itself
[16:02:05] *** vonnegut has joined #angularjs
[16:02:10] *** mary5030 has joined #angularjs
[16:02:15] *** tomphp has joined #angularjs
[16:02:16] *** SoulBlade has quit IRC
[16:02:17] <staticinteger> archit: one second, let me check on that for you :)
[16:02:30] *** nemothekid has quit IRC
[16:02:30] *** macobo has joined #angularjs
[16:02:31] <archit> thanks staticinteger
[16:02:45] <staticinteger> archit: no problem at all ^-^
[16:02:56] <Guest74916> staticinteger: sorry again but I'm not able to understand what mean: "as he is manipulating deeper than the directive itself"
[16:03:00] *** dave_boling has joined #angularjs
[16:03:08] *** dacuca has joined #angularjs
[16:03:11] *** cacts has joined #angularjs
[16:03:18] *** mw_ has quit IRC
[16:03:24] <lawd> anyone have experience with smarttable?
[16:04:24] *** pknordic_ has joined #angularjs
[16:04:35] <staticinteger> archit: the array is showing up in my console (Google Chrome) I don't seem to be getting the error. Maybe it's a browser problem?
[16:04:50] <archit> oh is it
[16:04:58] <archit> did you checked the link?
[16:05:47] <staticinteger> archit: yeah, the only errors I'm getting are the resources that failed to load
[16:06:16] *** encryptd_fractl has joined #angularjs
[16:06:17] <staticinteger> archit: Love the site btw, it has a very nice design :)
[16:06:41] <archit> not sure , Are you getting the left menu on the link . I am just getting [[object HTMLUListElement]]
[16:06:43] <DonnyKnuth> can anyone recommend a high quality angular js project to follow on Github?
[16:06:53] <archit> thanks. :)
[16:07:14] <staticinteger> archit: ohh wait, okay I see your problem
[16:07:27] *** oste has joined #angularjs
[16:07:30] <staticinteger> archit: I missunderstood you lol, okay, let me see what I can do
[16:07:46] *** JERE has joined #angularjs
[16:07:47] *** fourq has quit IRC
[16:08:04] *** ppppaul has joined #angularjs
[16:09:19] *** intellix has joined #angularjs
[16:09:26] *** valify has quit IRC
[16:09:26] *** dylan9o4 has joined #angularjs
[16:09:29] *** Mxyzpltk has joined #angularjs
[16:09:32] <staticinteger> archit: is script.js the js file that has the functionality for this?
[16:09:35] <archit> k no issue , please also look at the fiddle which is working fine
[16:09:45] <archit> no
[16:09:52] <archit> it will be category.js
[16:10:10] *** dgrebb has quit IRC
[16:10:15] *** sbellina has joined #angularjs
[16:10:17] *** DrMabuse has quit IRC
[16:10:19] *** Marble68 has joined #angularjs
[16:10:24] <staticinteger> archit: Looking at the source on your site right now, I'm going to see if I can spot what is causing it :)
[16:10:33] *** platonic has joined #angularjs
[16:10:43] *** iksik has quit IRC
[16:10:54] <dylan9o4> Hey guys, trying to figure out what's wrong with my page, ng-enter transitions properly, but ng-leave jumps straight to the CSS values, no transition. any help would be appreciated
[16:11:13] *** scriptThis has quit IRC
[16:11:29] *** shackleford has joined #angularjs
[16:11:44] <dylan9o4> you can see what i mean by clicking "previous week"
[16:11:52] *** evanjs has joined #angularjs
[16:12:07] *** shackleford has joined #angularjs
[16:12:38] *** pushpak has joined #angularjs
[16:12:42] *** ppppaul has quit IRC
[16:12:56] *** kroogs has joined #angularjs
[16:13:00] <staticinteger> archit: try parsing the "data" variable into JSON using angular.fromJson()
[16:13:01] *** marc_v92 has quit IRC
[16:13:09] *** tga has joined #angularjs
[16:13:14] <tga> greetings
[16:13:32] *** ppppaul has joined #angularjs
[16:13:40] <tga> after logging in I want to make all my http (and resource) calls with token authentication, so I'm setting up a http interceptor
[16:14:11] <tga> thing is, the interceptor can't get access to instances of my services -- so where is the best place to save the token so that the interceptor can check it?
[16:14:13] *** g33k5z has quit IRC
[16:14:46] <tga> I can put it in a cookie or localStorage, it's just strange to use cookies for communication between my modules
[16:14:56] *** g33k5z_ has joined #angularjs
[16:14:57] <archit> you mean like this - $scope.Categories =angular.fromJson(data) ;
[16:15:02] *** platonic has quit IRC
[16:15:09] <staticinteger> tga: I use nodejs for my backend and set a cookie with the auth token
[16:15:41] *** bayousoft has joined #angularjs
[16:15:47] <staticinteger> archit: yeah, not sure if that will help at all, but it's worth a shot. I'm trying to see if anything else could be causing this
[16:15:50] *** illume has quit IRC
[16:16:04] <archit> i tried this but no luck :(
[16:16:22] *** IsraelOrtuno has quit IRC
[16:16:26] <tga> staticinteger: in my case I need to set a header, just a cookie won't do
[16:16:56] <staticinteger> archit: actually it looks like you're passing the raw object right into the model
[16:16:57] *** IsraelOrtuno has joined #angularjs
[16:17:21] <staticinteger> archit: let me check your jsfiddle and see what it does with this object. It seems there should be something parsing it
[16:17:37] <staticinteger> tga: what are you using for your backend?
[16:17:42] *** shinnya has joined #angularjs
[16:17:45] <archit> i dont think so , if you see the link and console it is showing data over there
[16:17:54] *** Alina-malina has quit IRC
[16:17:57] *** kroogs has quit IRC
[16:18:01] *** rafagomes has joined #angularjs
[16:18:32] *** weems|mac has joined #angularjs
[16:18:51] *** roolo has joined #angularjs
[16:19:04] <lawd> anyone know smarttable?
[16:19:27] *** Alina-malina has joined #angularjs
[16:19:28] *** Alina-malina has joined #angularjs
[16:20:20] <staticinteger> archit: hmmm this is quite baffling.
[16:20:24] <jaznow> Hi all, i'm looking for a sample of a double list (left) -> (right), where you can move elements from left list to right list, and also, have a search filter on the left list. I don't know what to look for on google :S
[16:20:48] <staticinteger> archit: I'm comparing both to see if I can find any differences
[16:21:32] <roolo> Hi there. I want to have input with some processed value, but back in it's model a want the raw value.
[16:21:34] *** toin0u is now known as toin0u|away
[16:21:55] *** AngularUI has joined #angularjs
[16:21:55] <AngularUI> ng-grid/master 96625e2 Brian Hann: fix(Tutorials): Point back to angular 1.2.26...
[16:21:55] *** AngularUI has left #angularjs
[16:21:58] *** bayousoft has quit IRC
[16:22:03] *** jplussier has joined #angularjs
[16:22:26] <Takumo> Right, I've got a jQuery slideshow inside of an ng-template script tag -- but within $(document).ready() the slideshow isn't visible to jQuery (i.e. it can't attach events to it)
[16:22:27] <jplussier> Hey angular, can someone explain a trivial example of how I can select/highlight the contents of a textarea after it is revealed using ng-show?
[16:22:32] *** bayousoft has joined #angularjs
[16:22:35] *** ron1 has quit IRC
[16:22:36] <roolo> I found NgModelController, but it looks like i need to have 1) display for the value 2) input for the value. Am i corret?
[16:22:42] <roolo> * Am i correct?
[16:22:52] <Takumo> how would I attach jQuery events to something in an ng-template <script> ?
[16:23:02] <archit> hmm Ok , I am also looking
[16:23:13] *** thomastuts has quit IRC
[16:23:44] <staticinteger> Takumo: add a class to the script
[16:23:56] <staticinteger> Takumo: the script tag that is
[16:24:05] <Takumo> staticinteger: and then I can attach events to dom elements in that script tag?
[16:24:12] *** marcelaraujo has joined #angularjs
[16:24:31] <staticinteger> Takumo: Whoops I read that wrong
[16:24:54] *** DonnyKnuth has quit IRC
[16:24:54] *** DonnyKnuth has joined #angularjs
[16:25:09] *** Guest74916 has quit IRC
[16:25:09] *** Guest74916 has joined #angularjs
[16:25:21] *** boxmein has joined #angularjs
[16:25:22] *** Snugug has quit IRC
[16:25:22] *** Snugug has joined #angularjs
[16:25:24] *** zlalanne has quit IRC
[16:25:24] *** zlalanne has joined #angularjs
[16:25:24] *** jstroem has joined #angularjs
[16:25:31] *** archit has quit IRC
[16:25:31] *** archit has joined #angularjs
[16:25:31] *** ron1 has joined #angularjs
[16:25:37] *** lawd has quit IRC
[16:25:37] *** lawd has joined #angularjs
[16:25:41] <staticinteger> Takumo: Just add classes to whatever you want to change and make sure to include JQuery at the body level
[16:25:45] *** marcelaraujo has quit IRC
[16:25:46] *** dylan9o4 has quit IRC
[16:25:47] *** dylan9o4 has joined #angularjs
[16:25:59] *** SergioFilhow has joined #angularjs
[16:26:08] <staticinteger> Takumo: Angular should have no affect on jquery events if you are including your own jquery
[16:26:39] <Takumo> jQuery is loaded at the top of <head>
[16:27:05] <staticinteger> Takumo: I meant head, been doing way too much angular stuff xD
[16:27:36] *** ahtik has quit IRC
[16:27:43] *** japhar81 has quit IRC
[16:28:01] *** cthrax has joined #angularjs
[16:28:11] *** johnkevinmbasco has quit IRC
[16:28:14] *** leolrrj has joined #angularjs
[16:28:28] *** shaisnir has quit IRC
[16:28:37] *** PigDude_ has joined #angularjs
[16:28:56] *** bayousoft has quit IRC
[16:29:07] <archit> any luck staticinteger
[16:29:14]
<PigDude_> what's the most flexible/best engineered autocomplete directive for angular? i see <https://github.com/darylrowland/angucomplete/> for instance which emphasizes out-of-the-box usability, less important for what i'm working on
[16:29:20] *** jstroem has quit IRC
[16:29:21] <staticinteger> archit: not yet, still searching though :)
[16:29:22] *** bayousoft has joined #angularjs
[16:29:36] *** jstroem has joined #angularjs
[16:29:49] *** pilva1 has quit IRC
[16:29:52] <tga> staticinteger: django rest framework
[16:30:14] <PigDude_> my instinct is to write my own autcomplete but the guy i'm working with prefers a library; it's not too easy to separate the good angular libs from the poor ones
[16:30:32] <staticinteger> tga: I believe you can get header information with angular's $http
[16:30:38] *** walden is now known as walden|brb
[16:30:43] *** SergioFilhow has quit IRC
[16:30:51] <staticinteger> tga: you don't want to set a cookie?
[16:30:52] *** cavallari has joined #angularjs
[16:31:06] *** alpha080 has quit IRC
[16:31:07] *** Successful has quit IRC
[16:31:31] <PigDude_> (being able to specify the URL in the directive attributes is a *bad idea* in my opinion)
[16:31:37] <tga> staticinteger: as far as I can tell I need a header, not a cookie
[16:31:48] *** ome has quit IRC
[16:32:11] <staticinteger> tga: you get the header directly from the http request
[16:32:14] <tga> staticinteger: so I'm doing that in an interceptor, the question is how can the interceptor get the auth token
[16:32:18] *** busticated has joined #angularjs
[16:32:31] *** binjured has quit IRC
[16:32:34] *** dnewkerk has joined #angularjs
[16:32:38] <tga> since the interceptor doesn't have access to my services
[16:32:45] *** bbankes has joined #angularjs
[16:33:01] *** swist has quit IRC
[16:33:17] <aven1> how do i chain 3 promises ?
[16:33:22] *** peldan has quit IRC
[16:33:22] *** shyshy has joined #angularjs
[16:33:36] <PigDude_> tga: your interceptor does have access to your services.
[16:33:39] <DonnyKnuth> last time I'll ask otherwise I'll assume they're none: what are some popular high quality angularjs projects to follow?
[16:33:55] *** pooopybum has joined #angularjs
[16:33:57] <staticinteger> tga: hmmm I haven't worked with interceptors much, are you doing a plain old get request to the rest api?
[16:33:58] *** peldan has joined #angularjs
[16:34:06] *** Aerospark has joined #angularjs
[16:34:06] <tga> uh wait, can I just in ject $httpProvider into any controller?
[16:34:08] <PigDude_> tga: see it is very simple
[16:34:19] <PigDude_> tga: no you can only inject providers in config blocks
[16:34:22] <tga> I was setting up my interceptor in .config, and that only gets providers
[16:34:28] <tga> right
[16:34:35] *** jeffscottward has joined #angularjs
[16:34:45] <PigDude_> tga: have you opened the link i sent you ...
[16:34:45] <tga> so I can have either providers or services, but not both
[16:35:00] *** Aerospark has quit IRC
[16:35:11] *** Cronoh has quit IRC
[16:35:18] <tga> PigDude_: what's tl
[16:35:30] *** swist has joined #angularjs
[16:35:32] *** rolandschuetz_ has quit IRC
[16:35:35] <lawd> anyone have experience with smart tabl
[16:35:36] <staticinteger> archit: I don't think it's something on the script side of things
[16:35:43] *** sonofdirt has joined #angularjs
[16:35:45] <staticinteger> archit: I'm checking the html
[16:36:00] <archit> k
[16:36:00] *** prosper_ has joined #angularjs
[16:36:13] <archit> html is just 2 line of code
[16:36:25] <PigDude_> tga: I hope that paste makes this obvious
[16:36:49] <PigDude_> DonnyKnuth: good idea
[16:37:00] *** rafagomes has quit IRC
[16:37:04] <PigDude_> aven1: what does 'chain' mean to you?
[16:37:10] *** mrru has quit IRC
[16:37:12] *** g33k5z_ has quit IRC
[16:37:32] <staticinteger> archit: I can't seem to find where you defined ng-controller on your website
[16:37:32] <aven1> it means the first one resolves when it finishes the 2nd resolves and when it finsihes the 3rd
[16:37:37] <staticinteger> archit: I think that's the problem
[16:37:38] *** g33k5z has joined #angularjs
[16:37:41] *** jstroem has quit IRC
[16:37:42] *** k-dawg has quit IRC
[16:37:49] <DonnyKnuth> PIgDude_ what's a good idea?
[16:37:52] <staticinteger> archit: You're missing the controller I think
[16:38:02] <PigDude_> DonnyKnuth: your approach to determining library popularity
[16:38:03] <archit> its defined
[16:38:03] <DonnyKnuth> PigDude_
[16:38:03] *** g33k5z has quit IRC
[16:38:04] *** jstroem has joined #angularjs
[16:38:10] <archit> in category page
[16:38:14] *** g33k5z has joined #angularjs
[16:38:33] *** rolandschuetz has joined #angularjs
[16:38:36] <PigDude_> aven1: somePromise.then(function() {}).then(function() {}) ...
[16:38:36] *** rolandschuetz has quit IRC
[16:39:05] <tga> PigDude_: so you can't inject services into config, but you can use a service as an injector, and that can depend on other services
[16:39:10] <scav> if i have multiple partials, included with ng-include, is it possible to have ng-click in one of them, and ng-show in a different? i cannot get that to work
[16:39:10] *** dnewkerk has quit IRC
[16:39:19] *** pooopybum has quit IRC
[16:39:25] <PigDude_> tga: correct
[16:39:38] <scav> like, i click a button in one of my included partials, but hidden content in a different partial is not shown
[16:39:38] <tga> I didn't know that you could do that, all injector examples I've seen were regular functions
[16:39:40] *** DonnyKnuth has quit IRC
[16:39:49] *** lsiv568 has quit IRC
[16:40:14] <staticinteger> archit: try moving ng-controller="CategoryCtrl" to the .panel-body div
[16:40:44] <PigDude_> scav: where is the value bound to scope? is it implicit (only in html) or do you set it up in a controller?
[16:41:08] *** rafagomes has joined #angularjs
[16:41:20] <scav> PigDude_: only in html, i can get it to work in the same html file, but not across different files
[16:41:27] <staticinteger> archit: because in the jsfiddle they have the controller defined on the direct parent of the div with data-angular-treeview="true"
[16:41:28] *** kapil__ has quit IRC
[16:41:32] <scav> PigDude_: i assume im going to have to scope it in the controller?
[16:41:40] *** it0a has joined #angularjs
[16:42:06] <staticinteger> archit: or controller statement rather
[16:42:28] *** archit has quit IRC
[16:42:49] *** Guest74916 has quit IRC
[16:43:12] *** AngularUI has joined #angularjs
[16:43:12] <AngularUI> ng-grid/master bc2c68a Brian Hann: fix(GridRenderContainer): Redraw with scroll %...
[16:43:12] *** AngularUI has left #angularjs
[16:43:16] *** cthrax has quit IRC
[16:43:31] *** FunnyLookinHat has quit IRC
[16:43:41] <aven1> PigDude_ it means the first one resolves when it finishes the 2nd resolves and when it finsihes the 3rd
[16:43:48] <PigDude_> scav: so that probably will fail w/ nested includes like that
[16:43:54] <PigDude_> scav: not sure but i wouldn't depend on it
[16:44:21] <PigDude_> scav: ng-include creates a new scope implicitly for the included template, so it must be some weird corner case where angular thinks each template is referring to a different value, not sure
[16:44:25] <PigDude_> aven1: so do that
[16:44:31] *** kkthxbye has quit IRC
[16:44:35] <PigDude_> scav: yea, give that a try
[16:44:46] <PigDude_> tga: there ya go :)
[16:45:29] *** IJNX has quit IRC
[16:45:54] <scav> PigDude_: thank you, i assumed it was hard for angular to keep track, but it has impressed me before :p
[16:46:15] *** jplussier has quit IRC
[16:46:26] *** garbanzio has joined #angularjs
[16:46:42] <staticinteger> archit: you have ng-controller="CategoryCtrl" set on the body tag; it should be on the div with class="panel-body" :)
[16:46:52] *** swist has quit IRC
[16:47:21] *** mivv has quit IRC
[16:47:39] *** doerteDev has quit IRC
[16:47:46] *** BahamutWC has quit IRC
[16:47:48] *** garbanzio has quit IRC
[16:48:06] *** mivv has joined #angularjs
[16:48:12] *** Rebirth has joined #angularjs
[16:48:19] *** laurensclaessen has quit IRC
[16:48:29] *** dcherman has joined #angularjs
[16:48:31] *** garbanzio has joined #angularjs
[16:48:32] <aven1> pigdude it's a bit more complicated
[16:48:37] *** DanSkaggs has joined #angularjs
[16:48:39] <tga> PigDude_: heh, funny, Circular dependency found: $http <- $templateFactory <- $view <- $state <- AppState <- TokenInterceptor <- $http <- $ionicTemplateCache
[16:49:06] *** jplussier has joined #angularjs
[16:49:31] <chr1stopher> hm i just build a blank app with ng-swipe-right and it works pretty good on android. but my actual project has a much worse grade of detection for the swiper, maybe because of overlaying divs.. anyone got an idea how i can try to debug this? the div to swipe has z-index 100 and should be on the top of all. do i need to consider anything else?
[16:49:47] <tga> otoh I don't know why my app state depends on $state
[16:49:53] <tga> looks like I can remove that
[16:50:26] <scav> PigDude_: that worked, thanks for the input
[16:51:27] *** jangoh has quit IRC
[16:51:30] *** BahamutWC has joined #angularjs
[16:51:42] *** IsraelOrtuno has quit IRC
[16:51:57] *** IsraelOrtuno has joined #angularjs
[16:52:14] *** lsiv568 has joined #angularjs
[16:52:15] *** gunn_ has joined #angularjs
[16:52:22] *** gunn has quit IRC
[16:52:40] <staticinteger> well I gotta get back to work guys. Tttyl!
[16:52:44] <staticinteger> ttyl*
[16:52:50] *** staticinteger has left #angularjs
[16:52:51] *** laurensclaessen has joined #angularjs
[16:52:58] *** Anton_ has quit IRC
[16:54:54] *** jonkri has quit IRC
[16:55:02] *** ggrzybek has quit IRC
[16:55:19] *** tschundeee has quit IRC
[16:55:22] *** tubiz has joined #angularjs
[16:55:32] *** bmac has quit IRC
[16:55:37] *** markalanevans has quit IRC
[16:55:47] *** tschundeee has joined #angularjs
[16:56:24] *** startupality has joined #angularjs
[16:56:52] *** tristanp has joined #angularjs
[16:57:03] *** shacklef_ has joined #angularjs
[16:57:46] *** FunnyLookinHat has joined #angularjs
[16:58:38] *** cotko has quit IRC
[16:58:55] *** startupality has quit IRC
[16:58:59] *** cthrax has joined #angularjs
[16:59:04] *** Solid1_afk is now known as Solid1
[16:59:18] *** mikehaas763 has joined #angularjs
[16:59:32] *** loverajoel has quit IRC
[16:59:57] <garbanzio> anyone know the difference between a shim and a sham? is it enough to just include es6-shim.min.js or do i also need to include es6-sham.min.js?
[16:59:57] *** advy has quit IRC
[17:00:21] *** bmac has joined #angularjs
[17:00:45] *** ron1 has quit IRC
[17:00:55] *** shackleford has quit IRC
[17:01:02] *** dnewkerk has joined #angularjs
[17:01:08] *** Anton_ has joined #angularjs
[17:01:33] *** tristanp has quit IRC
[17:01:46] *** intellix has quit IRC
[17:02:07] *** walden|brb is now known as walden
[17:02:14] *** illume has joined #angularjs
[17:02:42] *** okdamn has joined #angularjs
[17:02:49] *** sonofdirt has quit IRC
[17:02:53] *** lsiv568 has quit IRC
[17:02:55] <okdamn> hey anyway to replace links in a plain stirng {{string}} ?
[17:03:12] *** lsiv568 has joined #angularjs
[17:03:25] *** hell_razer has joined #angularjs
[17:03:44] *** startupality has joined #angularjs
[17:04:37] *** zlalanne has quit IRC
[17:04:49] <lawd> anybody use smarttable before
[17:04:52] *** jmckind has quit IRC
[17:05:05] *** bbrere has joined #angularjs
[17:05:17] <bbrere> Hi Guys
[17:05:20] *** jstroem has quit IRC
[17:05:31] *** cacts|works has joined #angularjs
[17:05:35] *** Shaz has quit IRC
[17:05:46] *** jstroem has joined #angularjs
[17:05:54] *** intellix has joined #angularjs
[17:06:12] *** sonofdirt has joined #angularjs
[17:06:30] *** testingstuffs has joined #angularjs
[17:07:02] *** azizur has quit IRC
[17:07:12] <bbrere> how to bind php variable to angularjs ?
[17:07:23] *** ahtik has joined #angularjs
[17:07:32] <bbrere> I need to populate me html from and make valitation in angularjs
[17:07:56] *** tristanp has joined #angularjs
[17:08:07] *** fbenoit_ has joined #angularjs
[17:08:10] *** snapwich has joined #angularjs
[17:08:25] *** archit has joined #angularjs
[17:08:32] *** jmckind has joined #angularjs
[17:08:33] *** Fire-Dragon-DoL has joined #angularjs
[17:08:37] *** Fire-Dragon-DoL has quit IRC
[17:08:41] <bbrere> It's only one variable, I don't one use ajax
[17:08:56] *** Poppa is now known as Poppabear
[17:09:23] *** Fire-Dragon-DoL has joined #angularjs
[17:09:30] *** conan_the_destro has joined #angularjs
[17:09:45] *** Anton_ has quit IRC
[17:09:59] *** Fire-Dragon-DoL has quit IRC
[17:10:01] <tga> is something like RestangularProvider global for the whole app?
[17:10:15] *** Fire-Dragon-DoL has joined #angularjs
[17:10:17] *** simplyshipley has quit IRC
[17:10:34] <tga> I have a few API wrappers that can be used independently -- do I configure Restangular in each one or just once per app?
[17:10:43] *** simplyshipley has joined #angularjs
[17:11:00] *** hiddentoken has joined #angularjs
[17:11:08] *** siddart has joined #angularjs
[17:11:17] *** chrisshattuck has joined #angularjs
[17:11:22] *** fbenoit has quit IRC
[17:11:33] *** Oxynum has quit IRC
[17:11:34] *** ron1 has joined #angularjs
[17:11:48] *** ahtik has quit IRC
[17:12:21] *** japhar81 has joined #angularjs
[17:13:42] *** jmckind has quit IRC
[17:13:42] *** cendrao has joined #angularjs
[17:14:00] *** Lingo_____ has quit IRC
[17:14:01] *** DrMabuse has joined #angularjs
[17:14:40] *** sigurding has quit IRC
[17:14:43] *** cendrao has quit IRC
[17:14:44] *** tfennelly has joined #angularjs
[17:14:49] *** macobo has quit IRC
[17:14:52] *** MTBNut has joined #angularjs
[17:14:56] *** pilva has joined #angularjs
[17:15:18] *** zeezey has joined #angularjs
[17:15:28] *** christo_1 is now known as christo_m
[17:15:37] *** okdamn has quit IRC
[17:15:43] *** derrzzaa has joined #angularjs
[17:16:25] *** MTBNut has quit IRC
[17:16:27] *** azizur has joined #angularjs
[17:16:34] *** jmckind has joined #angularjs
[17:16:37] *** sandelius has joined #angularjs
[17:16:42] *** sebhoss_ has quit IRC
[17:16:43] *** MTBNut has joined #angularjs
[17:16:55] *** baweaver has joined #angularjs
[17:17:50] *** Anton_ has joined #angularjs
[17:18:25] *** jplussier has joined #angularjs
[17:18:41] *** whunt has joined #angularjs
[17:18:58] <mivv> Is there a way to get the newer $window.location.href when hooking into $stateChangeSuccess? It's always one behind since I guess it doesn't get updated until after that?
[17:20:14] *** nemothekid has joined #angularjs
[17:20:16] *** SargoDarya has quit IRC
[17:20:17] *** Alina-malina has quit IRC
[17:20:19] *** seriema has joined #angularjs
[17:20:29] *** plantian1 has left #angularjs
[17:20:31] *** jagga has quit IRC
[17:20:44] *** ctanga has joined #angularjs
[17:21:04] *** dnewkerk has quit IRC
[17:21:22] *** dsdeiz has quit IRC
[17:21:37] *** patrick99e99 has joined #angularjs
[17:21:46] *** lsiv568 has quit IRC
[17:21:51] <MTBNut> Hi, I am using the ngcontroller directive to display tabs on my site. is there a way to control tab visibility using cookies? if a user has a particular cookie, the tab displays; if not, tab is not displayed.
[17:23:56] *** sbellina has quit IRC
[17:24:15] *** sigurding has joined #angularjs
[17:24:22] *** jstroem has quit IRC
[17:24:26] *** tristanp has quit IRC
[17:24:26] *** intellix has quit IRC
[17:24:46] *** jstroem has joined #angularjs
[17:25:13] *** shackleford has joined #angularjs
[17:25:19] *** phoenixw has joined #angularjs
[17:26:32] *** seriema has quit IRC
[17:26:42] <cavallari> MTBNut: sure it´s possible, since cookies are like stored variables...
[17:26:44] *** patrick99e99 has quit IRC
[17:26:56] *** arabot has joined #angularjs
[17:26:59] <dllama> anyone got a workaround for using bootstrap dropdowns in navbar? for some directives i prefer angularstrap over ui.bootstrap, but seems the use of both (or any in my case actually) seems to have completely broken the dropdown functionality. In chrome i see it tries to add a class to the parent, but doesn't actually do anything, doesn't add "open" to the parent elemnt
[17:27:00] *** renlo has joined #angularjs
[17:27:20] *** jstroem has quit IRC
[17:27:38] *** jstroem has joined #angularjs
[17:28:00] *** Deterus has joined #angularjs
[17:28:04] *** testingstuffs has quit IRC
[17:28:37] *** shacklef_ has quit IRC
[17:28:38] *** mspier|away is now known as mspier
[17:28:39] *** shackleford has quit IRC
[17:29:04] <MTBNut> @<cavallari> can you point me to an area on Angular documentation where I might get some info on how to proceed?
[17:29:14] *** Sawbones has joined #angularjs
[17:29:28] *** moogey has joined #angularjs
[17:29:35] *** chachan has joined #angularjs
[17:29:38] *** baweaver has quit IRC
[17:29:39] *** Guest36309 is now known as adam12
[17:29:51] <cavallari> well, i would need to see some code
[17:29:58] <cavallari> to help you
[17:30:01] *** Alina-malina has joined #angularjs
[17:30:12] <cavallari> how the tabs are displayed?
[17:30:14] *** Alina-malina has quit IRC
[17:30:14] *** Alina-malina has joined #angularjs
[17:30:33] *** cthrax has quit IRC
[17:30:37] *** ChadStrat has joined #angularjs
[17:31:18] *** cacts has quit IRC
[17:31:27] *** StryKaizer has quit IRC
[17:31:35] *** kreeves has joined #angularjs
[17:31:43] *** tristanp has joined #angularjs
[17:31:49] *** peldan_ has joined #angularjs
[17:32:07] <mivv> Figured out my issue I needed to use the $location service instead of $window
[17:32:17] *** drag0nius has joined #angularjs
[17:32:20] *** jonasliljestrand has quit IRC
[17:32:32] <drag0nius> how do i inspect rootScope during debug?
[17:32:37] *** baweaver has joined #angularjs
[17:32:49] *** woah has joined #angularjs
[17:33:02] *** t0rrieri has quit IRC
[17:33:07] *** jiverson has joined #angularjs
[17:33:29] *** shackleford has joined #angularjs
[17:33:32] *** ghanima has quit IRC
[17:33:41] *** startupality has quit IRC
[17:33:59] *** {DV8} has joined #angularjs
[17:34:21] *** Cronoh has joined #angularjs
[17:34:21] *** sandelius has quit IRC
[17:34:24] *** peldan has quit IRC
[17:35:51] *** njbair has joined #angularjs
[17:35:59] *** peldan_ has quit IRC
[17:36:04] *** tristanp has quit IRC
[17:36:26] *** peldan has joined #angularjs
[17:37:00] *** rtpg has quit IRC
[17:37:24] *** startupality has joined #angularjs
[17:37:58] *** morenoh149 has quit IRC
[17:38:04] *** milka has quit IRC
[17:38:08] *** archit has quit IRC
[17:38:13] *** recidive has quit IRC
[17:38:32] <MTBNut> <cavallari> Another option I just realized is that the ng-class="{ active: panel.isSelected(5)} can probably be changed to inactive? It would show the tab, but it would be dead to someone without the proper cookie?
[17:38:37] *** dan2k3k4 has quit IRC
[17:38:56] *** simplyshipley has quit IRC
[17:39:00] *** cthrax has joined #angularjs
[17:39:05] *** fbenoit_ has quit IRC
[17:39:07] *** recidive has joined #angularjs
[17:39:35] *** simplyshipley has joined #angularjs
[17:40:05] *** mchammer has quit IRC
[17:40:20] *** lsiv568 has joined #angularjs
[17:40:59] *** tristanp has joined #angularjs
[17:41:02] *** startupality has quit IRC
[17:41:08] *** peldan has quit IRC
[17:41:19] *** platonic has joined #angularjs
[17:41:22] *** alinou has joined #angularjs
[17:41:27] *** mivv has quit IRC
[17:41:50] *** edrock has joined #angularjs
[17:42:03] <drag0nius> what is the proper way to set something in $rootScope?
[17:42:07] <lawd> anybody good with smart table?
[17:42:10] *** gunn_ has quit IRC
[17:42:14] *** ivor has quit IRC
[17:42:19] <edrock> is there anyway to embed a second angular app within one
[17:42:19] <drag0nius> i mean like settings it inside a controller is obviously not a good idea
[17:42:20] *** ali4ever4 has joined #angularjs
[17:42:24] *** woah has quit IRC
[17:42:42] <Foxandxss> drag0nius: that is never a good idea
[17:42:46] <Foxandxss> so, don't do it
[17:43:21] <dllama> anyone got a workaround for using bootstrap dropdowns in navbar? for some directives i prefer angularstrap over ui.bootstrap, but seems the use of both (or any in my case actually) seems to have completely broken the dropdown functionality. In chrome i see it tries to add a class to the parent, but doesn't actually do anything, doesn't add "open" to the parent elemnt
[17:43:27] *** jacuqesdancona__ has quit IRC
[17:43:54] *** jdivock has quit IRC
[17:43:55] *** diosney has joined #angularjs
[17:44:01] *** jacuqesdancona__ has joined #angularjs
[17:44:26] *** storresi has quit IRC
[17:45:09] *** sigurding has quit IRC
[17:45:37] *** platonic has quit IRC
[17:45:44] <jplussier> Not sure if maybe I misunderstand $q?
[17:45:54] *** edrock has quit IRC
[17:46:22] *** csduarte_ has quit IRC
[17:46:32] *** emmesswhy has joined #angularjs
[17:46:42] *** SoulBlade has joined #angularjs
[17:46:47] *** japhar81 has quit IRC
[17:46:48] *** csduarte has joined #angularjs
[17:46:56] *** Anton_ has quit IRC
[17:47:04] *** prosper_ has quit IRC
[17:47:09] *** richiebkr has joined #angularjs
[17:47:29] *** mikerrrrrr has joined #angularjs
[17:47:43] *** bmac has quit IRC
[17:47:55] <bd-> you don't need to do the text settings stuff inside a promise
[17:48:00] *** mtsr has quit IRC
[17:48:10] *** s00pcan_ has quit IRC
[17:48:28] *** jacuqesdancona__ has quit IRC
[17:48:41] <Ownix> whats b etter, ng-init or using $sciope.variableToInit ?
[17:48:50] <bd-> also it's advised to do dom manipulations in a directive rather than controller
[17:49:02] *** DrMabuse_ has joined #angularjs
[17:49:21] *** whunt has quit IRC
[17:49:24] *** gladely has joined #angularjs
[17:49:28] <bd-> but whatever, i suspect what you're wanting is $timeout(function() { document.query...select(); })
[17:49:32] <bd-> rather than using $q
[17:49:42] *** leolrrj has quit IRC
[17:50:29] *** s00pcan has joined #angularjs
[17:50:45] *** leolrrj has joined #angularjs
[17:50:50] *** cthrax has quit IRC
[17:50:57] *** SoulBlade has quit IRC
[17:51:05] *** kesshi has joined #angularjs
[17:51:05] <jiverson> do not use ng-init
[17:51:08] *** renlo has quit IRC
[17:51:25] *** crewshin_ has joined #angularjs
[17:51:29] <jplussier> bd-: oh, yeah, I guess that's a trivial way to do that
[17:51:35] <bd-> i think there are some good cases to use ng-init to call a initialisation function inside the controller
[17:51:47] <bd-> mostly when using nested scopes/views and ui-router
[17:52:02] <jiverson> agreed but generally speaking ng-init should not be used
[17:52:04] <bd-> otherwise you have to $watch a variable that the parent controller sets
[17:52:32] *** DrMabuse has quit IRC
[17:53:06] *** ycodr has quit IRC
[17:53:17] *** DrMabuse_ has quit IRC
[17:53:17] *** ycodr has joined #angularjs
[17:53:27] *** prosper_ has joined #angularjs
[17:53:30] *** lsiv568 has quit IRC
[17:53:36] *** recidive has quit IRC
[17:53:52] *** ciwolsey has joined #angularjs
[17:53:53] *** davidreis has quit IRC
[17:54:56] *** Anton_ has joined #angularjs
[17:55:13] *** herbyme has quit IRC
[17:55:33] *** recidive has joined #angularjs
[17:55:35] *** swist has joined #angularjs
[17:55:42] *** nfroidure has quit IRC
[17:55:42] *** Sjimi has quit IRC
[17:55:47] *** laurensclaessen has quit IRC
[17:56:35] *** shackleford has quit IRC
[17:56:35] *** motionman has quit IRC
[17:56:38] *** MaxV has quit IRC
[17:56:56] *** startupality has joined #angularjs
[17:57:02] *** artisangoose has joined #angularjs
[17:57:09] <drag0nius> ok, so i have: 1. "user" value which has is_loaded and data (returned from server) attribtues
[17:57:12] *** tfennelly has quit IRC
[17:57:12] *** frobs has quit IRC
[17:57:29] <drag0nius> 2. restangular object setting .data on every request returning user
[17:57:44] *** prosper_ has quit IRC
[17:57:45] *** AngularUI has joined #angularjs
[17:57:45] <AngularUI> ng-grid/master aa15563 Shane Walters: chore(Header/Footer) Remove group-panel elements from header and footer. Grouping should be in it's own feature module when it is developed
[17:57:45] *** AngularUI has left #angularjs
[17:57:48] *** SahanH has joined #angularjs
[17:58:02] *** SomeKittens has joined #angularjs
[17:58:13] <drag0nius> ok i know whats wrong on 3rd step ;d
[17:58:44] *** Deterus has quit IRC
[17:59:00] *** AlSquirrel has joined #angularjs
[17:59:10] *** startupality has quit IRC
[17:59:53] *** swist has quit IRC
[17:59:58] *** glosoli has joined #angularjs
[18:00:04] *** loverajoel has joined #angularjs
[18:00:14] *** glosoli has quit IRC
[18:00:14] *** glosoli has joined #angularjs
[18:00:22] *** recidive has quit IRC
[18:00:36] *** bbrere has quit IRC
[18:00:54] *** richiebk_ has joined #angularjs
[18:01:26] <jlebrech> what's the best plugin to upload files?
[18:01:29] *** moritzs has joined #angularjs
[18:01:36] *** yelvert has joined #angularjs
[18:02:04] *** AlSquire has quit IRC
[18:02:56] *** ycodr has quit IRC
[18:03:15] <ries> gent’s, I properly missed it, but how do yuo configure a directive that doesn’0t require a value?
[18:03:19] <cavallari> MTBNut: Sorry, i had to go out for a minute
[18:03:26] <cavallari> did you get what you´re trying?
[18:03:27] <ries> To avoid : attribute resolved to undefined. Maybe you meant to use a string literal like
[18:03:37] *** shackleford has joined #angularjs
[18:03:56] *** jdivock has joined #angularjs
[18:04:54] *** loverajoel has quit IRC
[18:05:12] *** scythe__ has joined #angularjs
[18:05:12] *** richiebkr has quit IRC
[18:05:14] *** phoenixw has quit IRC
[18:05:19] *** ycodr has joined #angularjs
[18:05:26] *** hatzopoulos_ is now known as hatzopoulos
[18:05:44] *** recidive has joined #angularjs
[18:05:49] *** shackleford has quit IRC
[18:06:08] <tristanp> the intention is to reroute outside of the app when they visit a certain state
[18:06:10] *** yelvert has quit IRC
[18:06:10] *** baweaver has quit IRC
[18:06:43] *** m8 has quit IRC
[18:06:52] *** Anton_ has quit IRC
[18:07:00] *** dc has quit IRC
[18:07:01] *** pushpak has quit IRC
[18:07:24] <MTBNut> <cavallari> I cannot find any related documentation. Does Angular have any methods of reading cookies?
[18:08:02] <dllama> anyone got a workaround for using bootstrap dropdowns in navbar? for some directives i prefer angularstrap over ui.bootstrap, but seems the use of both (or any in my case actually) seems to have completely broken the dropdown functionality. In chrome i see it tries to add a class to the parent, but doesn't actually do anything, doesn't add "open" to the parent elemnt
[18:08:11] <drag0nius> MTBNut: $cookies ?
[18:08:18] *** leolrrj has quit IRC
[18:08:38] *** lexek_ has joined #angularjs
[18:08:38] *** baweaver has joined #angularjs
[18:08:51] <cavallari> answered
[18:08:58] *** ChadStrat has quit IRC
[18:09:16] *** jplussier has quit IRC
[18:09:18] *** recidive has quit IRC
[18:09:26] *** ctanga has quit IRC
[18:10:43] *** cavallari has quit IRC
[18:10:44] *** robdubya has quit IRC
[18:11:20] *** cavallari has joined #angularjs
[18:11:49] *** mrru has joined #angularjs
[18:12:01] *** bayousoft has quit IRC
[18:12:02] *** dan2k3k4 has joined #angularjs
[18:12:08] *** csduarte_ has joined #angularjs
[18:12:40] *** bayousoft has joined #angularjs
[18:12:59] *** csduarte has quit IRC
[18:13:18] *** jonathanpglick has joined #angularjs
[18:13:38] *** tschundeee has quit IRC
[18:13:45] <MTBNut> <drag0nius> <cavallari> Reading up on it now, looks like this is what I need. Thanks both of you.
[18:13:48] *** lawd has quit IRC
[18:14:13] *** tschundeee has joined #angularjs
[18:14:38] *** loverajoel has joined #angularjs
[18:14:38] *** dotsspwe1 has joined #angularjs
[18:14:41] <cavallari> np
[18:14:43] *** SergioFilhow has joined #angularjs
[18:14:48] *** dotsspwe has quit IRC
[18:15:01] *** Anton_ has joined #angularjs
[18:15:22] *** dotsspwe has joined #angularjs
[18:15:52] *** yelvert has joined #angularjs
[18:16:30] *** rikko has joined #angularjs
[18:16:36] *** dan2k3k4 has quit IRC
[18:16:56] *** ahtik has joined #angularjs
[18:17:36] *** tomphp has quit IRC
[18:17:55] *** pushpak has joined #angularjs
[18:18:06] *** s00pcan has quit IRC
[18:18:08] *** edy has quit IRC
[18:18:15] *** AngularUI has joined #angularjs
[18:18:15]
<AngularUI> [ng-grid] jcompagner opened pull request #2361: Fix #2134 Horizontal scroll bar covers up last row. (master...scrollbar_when_needed_fixes) http://git.io/25zGfQ
[18:18:15] *** AngularUI has left #angularjs
[18:18:43] *** tschundeee has quit IRC
[18:18:50] *** TheAceOfHearts has joined #angularjs
[18:19:10] *** patrick99e99 has joined #angularjs
[18:19:10] <cavallari> Do anyone here know any good ajax uploader for angular?
[18:19:10] *** SergioFilhow has quit IRC
[18:19:15] *** dotsspwe1 has quit IRC
[18:19:28] *** s00pcan has joined #angularjs
[18:20:12] *** yelvert has quit IRC
[18:20:27] *** mica has joined #angularjs
[18:20:50] *** SargoDarya has joined #angularjs
[18:20:50] *** SargoDarya has joined #angularjs
[18:21:04] *** jdivock_ has joined #angularjs
[18:21:41] *** mica has left #angularjs
[18:21:48] *** hell_razer has quit IRC
[18:22:28] *** seriema has joined #angularjs
[18:23:43] *** davidreis has joined #angularjs
[18:23:55] *** loverajoel has quit IRC
[18:23:55] *** sigurding has joined #angularjs
[18:24:00] *** jdivock has quit IRC
[18:24:12] *** chr1stopher has left #angularjs
[18:24:19] *** zeezey has quit IRC
[18:24:19] *** zeezey has joined #angularjs
[18:25:06] *** nabdev has quit IRC
[18:25:19] *** jdivock has joined #angularjs
[18:25:31] *** jdivock_ has quit IRC
[18:25:34] *** morenoh149 has joined #angularjs
[18:25:42] *** SargoDarya has quit IRC
[18:26:34] *** Shadda has joined #angularjs
[18:26:36] *** NormySan has joined #angularjs
[18:26:49] *** seriema has quit IRC
[18:27:07] *** DarrenCraig has quit IRC
[18:27:27] *** zwacky_ has quit IRC
[18:27:38] *** bzitzow has joined #angularjs
[18:28:01] *** PigDude_ has quit IRC
[18:28:15] *** tschundeee has joined #angularjs
[18:28:54] *** cliluw has quit IRC
[18:28:59] *** josh-k has quit IRC
[18:29:04] *** sheplu has quit IRC
[18:30:25] <oste> is it possible to “reset” an angular directive from within jquery?
[18:30:39] *** emmesswhy has quit IRC
[18:30:52] <BobbieBarker> no
[18:30:55] <oste> or javascript for that matter
[18:30:58] <oste> damnit.
[18:31:11] *** Christer has quit IRC
[18:31:24] <oste> i pulling in a chunk of html that contains directive code...
[18:31:55] *** scythe__ has quit IRC
[18:31:57] *** jlebrech has quit IRC
[18:32:02] *** cliluw has joined #angularjs
[18:32:17] *** scythe__ has joined #angularjs
[18:33:30] <crised> Is this GeoJson [{ "type": "Point", "coordinates": [-36, -72] }] valid for <ui-gmap-markers models="randomMarkers" coords="'self'" icon="'icon'">
[18:33:30] <crised> </ui-gmap-markers>\
[18:33:34] *** Snugug has quit IRC
[18:33:36] <crised> ?
[18:33:40] <jaawerth> well if you destroy and recreate it on the DOM (like with ng-if), that will cause any directives therein to compile and link from scratch
[18:33:52] <jaawerth> oste: ^
[18:33:52] *** t0rrieri has joined #angularjs
[18:33:58] <BobbieBarker> that is true
[18:34:05] *** AngularUI has joined #angularjs
[18:34:05] <AngularUI> ng-grid/master 3fa149f Shane Walters: chore(docs) Add a note about gridOptions.footerTemplate
[18:34:05] *** AngularUI has left #angularjs
[18:34:08] <BobbieBarker> i also would recommend just embracing angular and quit trying to do janky shit
[18:34:14] <jaawerth> that too
[18:34:18] <jaawerth> data driven, etc, etc
[18:34:24] *** laurensclaessen has joined #angularjs
[18:34:27] <BobbieBarker> you know... modern web development
[18:34:46] <oste> working with a frankenstein over here
[18:34:54] <BobbieBarker> BURN IT with fire
[18:35:15] *** kesshi has quit IRC
[18:35:27] <quan__> the scientist or the monster ?
[18:35:58] *** robdubya has joined #angularjs
[18:36:00] *** dannyc has quit IRC
[18:36:12] *** sk87 has quit IRC
[18:36:14] *** loverajoel has joined #angularjs
[18:36:25] *** SahanH has quit IRC
[18:36:50] *** dannyc has joined #angularjs
[18:37:46] *** mspier is now known as mspier|away
[18:37:46] *** ghanima has joined #angularjs
[18:37:50] *** sigurding has quit IRC
[18:38:06] *** mzabriskie has joined #angularjs
[18:38:09] *** laurensclaessen has quit IRC
[18:38:16] *** woah has joined #angularjs
[18:38:23] *** t0rrieri has quit IRC
[18:38:46] *** merobertsjr has joined #angularjs
[18:40:13] *** richiebk_ has quit IRC
[18:40:30] *** zwacky_ has joined #angularjs
[18:40:35] *** gladely has quit IRC
[18:40:36] *** mnngfltg has quit IRC
[18:40:36] *** ianpirro has joined #angularjs
[18:40:58] *** Guest22 has joined #angularjs
[18:41:06] *** richiebkr has joined #angularjs
[18:41:08] *** prosper_ has joined #angularjs
[18:41:38] *** rikkipitt has joined #angularjs
[18:42:30] *** mspier|away is now known as mspier
[18:42:42] *** kesshi has joined #angularjs
[18:43:05] <iShortBus> oste: don't you love frankenstein projects? i'm about to set my current project on fire.
[18:43:06] *** doginal has joined #angularjs
[18:43:23] *** jaznow has quit IRC
[18:43:47] <oste> its a blasty blast
[18:43:47] *** zeroquake has quit IRC
[18:43:47] *** Mccxiv has quit IRC
[18:44:08] *** ianpirro_ has joined #angularjs
[18:44:20] *** Mccxiv has joined #angularjs
[18:45:26] *** japhar81 has joined #angularjs
[18:45:39] *** prosper_ has quit IRC
[18:45:42] *** richiebkr has quit IRC
[18:45:57] *** vbabiy_ has quit IRC
[18:46:00] *** Paul_B_Hartzog has joined #angularjs
[18:46:03] *** whunt has joined #angularjs
[18:46:05] *** SergioFilhow has joined #angularjs
[18:46:18] *** RobinBAwesome has joined #angularjs
[18:46:22] *** ianpirro has quit IRC
[18:47:03] *** baweaver has quit IRC
[18:47:15] *** IJNX has joined #angularjs
[18:47:38] *** richiebkr has joined #angularjs
[18:48:45] *** Una has joined #angularjs
[18:48:58] *** roolo has quit IRC
[18:49:23] *** jdcasey has quit IRC
[18:50:26] *** Snugug has joined #angularjs
[18:50:34] *** dman777_alter has quit IRC
[18:50:50] *** shackleford has joined #angularjs
[18:51:49] *** richiebkr has quit IRC
[18:51:49] *** tangorri has quit IRC
[18:52:36] *** bzitzow has quit IRC
[18:52:39] *** doginal has joined #angularjs
[18:52:43] *** Txandy has joined #angularjs
[18:54:43] *** jacuqesdancona__ has joined #angularjs
[18:55:12] *** dylan9o4 has quit IRC
[18:55:27] *** Mxyzpltk has quit IRC
[18:55:57] *** cavallari has quit IRC
[18:55:58] *** emmesswhy has joined #angularjs
[18:56:18] *** jpstone has joined #angularjs
[18:56:38] *** Mxyzpltk has joined #angularjs
[18:56:43] *** rikkipit_ has joined #angularjs
[18:56:46] *** richiebkr has joined #angularjs
[18:56:59] *** sigurding has joined #angularjs
[18:57:02] *** rikkipitt has quit IRC
[18:57:07] *** cavallari has joined #angularjs
[18:57:14] *** IvailoStoianov_ has joined #angularjs
[18:58:00] *** phzon has quit IRC
[18:58:22] *** bzitzow has joined #angularjs
[18:58:34] *** Guest22 has quit IRC
[18:58:58] *** cthrax has joined #angularjs
[18:59:10] *** Guest22 has joined #angularjs
[18:59:11] *** jacuqesdancona__ has quit IRC
[18:59:13] *** IvailoStoianov has quit IRC
[18:59:19] *** IvailoStoianov_ is now known as IvailoStoianov
[18:59:33] *** DrMabuse has joined #angularjs
[18:59:56] *** tscosj has quit IRC
[19:01:00] *** jotaefe has joined #angularjs
[19:01:07] *** wallerdev has joined #angularjs
[19:01:08] *** daviesge- has quit IRC
[19:01:10] *** richiebkr has quit IRC
[19:01:21] *** richiebkr has joined #angularjs
[19:01:39] *** daviesgeek has joined #angularjs
[19:01:49] *** afuggini has quit IRC
[19:02:01] *** dmack has quit IRC
[19:02:23] *** afuggini has joined #angularjs
[19:02:35] *** tschundeee has quit IRC
[19:02:59] *** AlSquirrel has quit IRC
[19:03:07] *** tschundeee has joined #angularjs
[19:03:21] *** BahamutWC|Work_ has joined #angularjs
[19:03:24] *** ngbot has joined #angularjs
[19:03:25]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/RfCMng
[19:03:25] <ngbot> angular.js/master 0b4e150 Kevin Primat: docs(Angular): fix punctuation...
[19:03:25] *** ngbot has left #angularjs
[19:03:33] *** TT_ has joined #angularjs
[19:03:37] *** pilva has quit IRC
[19:03:57] *** TT_ is now known as Guest46543
[19:04:16] *** Guest46543 has quit IRC
[19:04:24] *** zemanel has quit IRC
[19:04:24] *** livingstn has quit IRC
[19:04:26] *** Nivag_ has joined #angularjs
[19:04:37] *** BahamutWC|Work has quit IRC
[19:04:37] *** BahamutWC|Work_ is now known as BahamutWC|Work
[19:04:43] *** DrMabuse has quit IRC
[19:05:14] *** jareddlc has joined #angularjs
[19:05:14] *** ngbot has joined #angularjs
[19:05:15] <ngbot> angular.js/master bdbe4fd Kevin Primat: docs(Angular): improve sentence flow...
[19:05:15] *** ngbot has left #angularjs
[19:05:45] *** shackleford has quit IRC
[19:06:03] *** ianpirro_ has quit IRC
[19:06:20] *** doginal has quit IRC
[19:07:07] *** Anton_ has quit IRC
[19:07:14] *** tschundeee has quit IRC
[19:07:47] *** ioudas has joined #angularjs
[19:07:47] *** PeterMetz has quit IRC
[19:08:23] *** sandelius has joined #angularjs
[19:08:30] *** tfennelly has joined #angularjs
[19:09:01] *** baweaver has joined #angularjs
[19:09:19] *** d4rklit3 has joined #angularjs
[19:09:38] *** sigurding has quit IRC
[19:09:46] *** dc has joined #angularjs
[19:10:17] *** MistahKurtz has joined #angularjs
[19:10:44] *** jheady has joined #angularjs
[19:11:25] *** lele has joined #angularjs
[19:11:53] *** hatzopoulos has quit IRC
[19:12:29] *** ko3t has joined #angularjs
[19:12:55] *** recidive has joined #angularjs
[19:12:56] *** lsiv568 has joined #angularjs
[19:13:35] *** Raging_Hog has quit IRC
[19:13:53] *** vbabiy has joined #angularjs
[19:14:27] *** rud has joined #angularjs
[19:15:16] *** Anton_ has joined #angularjs
[19:15:35] *** bengillies has quit IRC
[19:16:02] *** bengillies has joined #angularjs
[19:16:07] *** mtsr has joined #angularjs
[19:16:09] *** kroogs has joined #angularjs
[19:16:27] *** tilgovi has joined #angularjs
[19:16:44] *** jrist has quit IRC
[19:17:02] *** guilbep has quit IRC
[19:17:49] <jaawerth> Spot__: MOAR DOTS
[19:18:35] *** cavallari has quit IRC
[19:18:36] *** Snugug has quit IRC
[19:18:46] *** dmack has joined #angularjs
[19:19:02] *** tschundeee has joined #angularjs
[19:19:03] *** dylan9o4 has joined #angularjs
[19:19:26] *** ChadStrat has joined #angularjs
[19:19:46] *** mtsr has quit IRC
[19:19:50] *** cavallari has joined #angularjs
[19:19:51] <jaawerth> Spot__: in other words, it's because you've got primitives directly on $scope, and primitives break scope inheritance because their value is copied directly over. ng-if creates a child scope, so the "foo" value you're storing is only stored in on the child scope level.
[19:20:00] *** richiebkr has quit IRC
[19:20:07] *** Shrooms has quit IRC
[19:20:13] *** Anton_ has quit IRC
[19:20:18] <dylan9o4> Hey guys, is there any reason why an ng-view ng-leave not transition while ng-enter would, the css transition is set on the view class itself, so I dont get it
[19:20:22] *** jhertz has quit IRC
[19:20:23] *** sbellina has joined #angularjs
[19:20:44] *** tubiz has quit IRC
[19:20:51] *** bengillies has quit IRC
[19:21:05] *** kroogs has quit IRC
[19:21:34] *** Hestil has joined #angularjs
[19:21:55] *** oniijin_ has joined #angularjs
[19:22:08] *** IsraelOrtuno has quit IRC
[19:22:09] <moogey> jaawerth: that still doesn't work. :( I could only get it to work when my.foo had already been initted
[19:22:23] <jaawerth> moogey: I hadn't set $scope.my in the parent yet. refresh ;-)
[19:22:34] *** oniijin has quit IRC
[19:22:34] <jaawerth> jumped the gun a little on sharing the plunk
[19:22:40] *** IsraelOrtuno has joined #angularjs
[19:22:50] *** oniijin_ is now known as oniijin
[19:22:51] <moogey> lol
[19:22:52] *** juampy has quit IRC
[19:22:53] <moogey> !m jaawerth
[19:23:06] <moogey> ah man, good job jaawerth
[19:23:12] <jaawerth> hehe
[19:23:35] *** AimerPaddle has joined #angularjs
[19:23:40] <jaawerth> basically, you're in the same boat if you edit "foo" before "bar" without creating $scope.my in the parent - because then the "my" wrapper object is created in the child, breaking inheritance again.
[19:23:42] <Spot__> jaawerth: It works if I have $scope.foo = {}; in controller and then use foo.bar in ng-model inside ng-if's
[19:23:50] <jaawerth> right, same reason
[19:23:52] *** seriema has joined #angularjs
[19:23:54] *** jdivock has quit IRC
[19:23:54] *** cellofellow has quit IRC
[19:24:19] *** richiebkr has joined #angularjs
[19:24:21] *** tomphp has joined #angularjs
[19:24:21] <jaawerth> scope inheritance works by javascript's native prototypical inheritance, which is kinda funky if you haven't played with it before
[19:24:33] *** Siecje has joined #angularjs
[19:24:36] *** tskaggs has joined #angularjs
[19:24:46] *** cavallari has quit IRC
[19:25:06] *** sbellina has quit IRC
[19:25:18] *** IsraelOrtuno has quit IRC
[19:25:28] <Spot__> Luckily there' ng-show :P ...
[19:25:31] *** IsraelOrtuno has joined #angularjs
[19:25:50] <oniijin> howdy jaawerth
[19:25:57] <jaawerth> yeah, but in general it's bad to set primitives directly on scope unless you're in an ng-repeat and don't WANT it to propagate back up
[19:26:02] <jaawerth> oniijin: hey thar!
[19:26:14] <oniijin> i see ur up to the usual dottin it up
[19:26:15] *** mmealling has quit IRC
[19:26:22] <jaawerth> moar dottin'
[19:26:22] *** dllama has left #angularjs
[19:26:54] *** chrisbirk has joined #angularjs
[19:27:08] *** sheplu has joined #angularjs
[19:27:28] *** richiebk_ has joined #angularjs
[19:27:39] *** vdrizzle-work has joined #angularjs
[19:28:03] *** ColKurtz has joined #angularjs
[19:28:09] *** seriema has quit IRC
[19:28:10] *** jheady has left #angularjs
[19:28:13] *** richiebk_ has quit IRC
[19:28:14] *** evanjs has quit IRC
[19:28:20] <jaawerth> I've decided somebody (maybe me) needs to write a gulp plugin for routes
[19:28:21] *** richiebk_ has joined #angularjs
[19:28:26] <jaawerth> either compiling them or mapping them
[19:28:26] *** Anton_ has joined #angularjs
[19:28:27] *** richiebkr has quit IRC
[19:28:39] *** jrist has joined #angularjs
[19:29:04] <jaawerth> so you can generate a proper directory structure for your route definitions but still look at them all in one spot if you need to
[19:29:16] <jaydubya> I extracted a method to a service and now I get "Error: [$rootScope:infdig]" and the link in the console doesn't give any hints on trying to solve it
[19:29:19] *** yelvert has joined #angularjs
[19:29:26] *** saturdayplace has joined #angularjs
[19:29:32] <MistahKurtz> So I have two different forms, `foo` and `bar`, that I'm considering widgetizing as directives. I have different contexts where I might edit `foo` alone, or `bar` alone, or both of them together grouped under a single resource (so both of them as child forms)
[19:29:55] <jaawerth> jaydubya: did you google the error?
[19:29:59] <jaawerth> infdig?
[19:30:05] *** platonic has joined #angularjs
[19:30:05] <jaydubya> yes, infinite digests
[19:30:08] *** wowa has joined #angularjs
[19:30:11] <jaydubya> but no solution
[19:30:19] *** Anton_ has quit IRC
[19:30:24] <jaawerth> well, it means something you're doing isn't idempotent
[19:30:28] *** yelvert has quit IRC
[19:30:41] <jaydubya> i'm just returning a value
[19:30:47] *** frankbli_ has quit IRC
[19:30:53] *** yelvert has joined #angularjs
[19:30:53] <jaawerth> without modifying it at all?
[19:31:20] <MistahKurtz> has anyone else tried approaching forms like I suggested?
[19:31:27] *** jeffscottward has quit IRC
[19:31:45] <jaawerth> basically if you're returning a value, but the act of running a digest can cause that value to change (for example, if the value is a constantly-updating timer, or if you're doing n++), it's going to cause that to happen because angular's dirty checking causes more digests to trigger until values stop changing
[19:31:45] *** ehynds has joined #angularjs
[19:32:22] <jaawerth> well that certainly won't cause it
[19:32:32] *** peldan has joined #angularjs
[19:32:34] *** apparition168 has quit IRC
[19:32:40] <jaydubya> it is a single value in the API but I am needing it in several places, so I thought I should extract it to the service and then BOOM!
[19:32:42] *** jpstone has quit IRC
[19:32:43] <jiverson> yeah are calling $digest or $apply anywhere?
[19:32:47] <jaydubya> no
[19:32:48] *** apparition168 has joined #angularjs
[19:32:54] *** cavallari has joined #angularjs
[19:33:08] <jaawerth> then I imagine it has to do with wherever you removed it from
[19:33:16] *** jdivock has joined #angularjs
[19:33:38] <MistahKurtz> to ask a more pointed question...is it possible to have submit handlers for child forms that run before the parent form's submit handler?
[19:33:39] *** livingstn has joined #angularjs
[19:33:39] <jaawerth> this isn't like a 200-line controller, is it?
[19:33:50] *** Snugug has joined #angularjs
[19:33:55] <jaydubya> no way, 212 lines
[19:33:57] *** tristanp has quit IRC
[19:34:01] *** lewdev has joined #angularjs
[19:34:08] *** robdubya has quit IRC
[19:34:13] <jaawerth> lol
[19:34:35] *** t0rrieri has joined #angularjs
[19:34:42] *** platonic has quit IRC
[19:34:44] *** knoopx2 has joined #angularjs
[19:34:45] <jaawerth> okay, and how are you interactiong with taht function call?
[19:34:50] <jaawerth> interacting*
[19:34:55]
<saturdayplace> Just getting started with the tutorial, and getting this error when trying to `npm start`: http://dpaste.com/1GNRRFB
[19:35:12] *** Cydmax has left #angularjs
[19:35:34] *** rzec_ has joined #angularjs
[19:35:34] <jaawerth> yep, that's your problem right there
[19:35:38] *** Aerospark has joined #angularjs
[19:35:39] *** SoulBlade has joined #angularjs
[19:35:46] <jaydubya> huh?
[19:35:47] <jaawerth> that function is not idempotent - it's creating a new promise every time
[19:36:11] *** knoopx2 has quit IRC
[19:36:16] <jaydubya> i think I need to learn what idempotent is, huh?
[19:36:18] *** shackleford has joined #angularjs
[19:36:19] *** Siecje has left #angularjs
[19:36:29] <jaawerth> and because you're executing it directly on your view, the digest is tracking the output value of the function (your promise) and rerunning digests looking for it to stabilize to a single value, which it never will
[19:36:39] *** Superhard has quit IRC
[19:36:44] <jaawerth> idempotent = "run multiple times with the same input and get the same result"
[19:36:52] <jaydubya> gotcha
[19:36:52] <jiverson> rzec_ are you askign to see if you can run protractor on a none angular site?
[19:36:54] *** knoopx2 has joined #angularjs
[19:36:59] *** OnkelTem has quit IRC
[19:37:12] *** ColKurtz has quit IRC
[19:37:14] *** lsiv568 has quit IRC
[19:37:19] <rzec_> jiverson: pretty much and whether Protractor will continue to work on non-angular sites
[19:37:27] *** cavallari has quit IRC
[19:37:34] <jaydubya> would it matter if I don't put it into a factory and just do it in each controller?
[19:37:34] *** lsiv568 has joined #angularjs
[19:37:46] *** prosper_ has joined #angularjs
[19:37:48] *** cavallari has joined #angularjs
[19:37:53] <jaawerth> no, the issue is in the nature of $http
[19:37:55] *** OnkelTem has joined #angularjs
[19:37:57] *** leolrrj has joined #angularjs
[19:38:08] *** Anton_ has joined #angularjs
[19:38:32] *** ctanga has joined #angularjs
[19:38:53] <jiverson> yes it will there is a little bit of setup depending on how you are using it
[19:39:29] <jaawerth> the returned data from a promise may or may not be equal for a given input (in the case of $http, it depends on whether anything's changed on your API's end), but every promise is a unique object, and that is what the digest is looking at. Also, even if it didn't cause infinite digests, by putting the function call directly on scope, you're basically causing it to spam your server by making an HTTP call every digest
[19:39:34] *** t0rrieri has quit IRC
[19:39:40] *** Superhard has joined #angularjs
[19:39:40] *** Skrypter has joined #angularjs
[19:39:46] *** illume has quit IRC
[19:40:04] <jaawerth> what you want to do is have a function that invokes your factory function without returning a result (or returning something that will be the same for a given input)
[19:40:08] *** davidreis has quit IRC
[19:40:14] *** SoulBlade has quit IRC
[19:40:15] *** Aerospark has quit IRC
[19:40:37] *** IsraelOrtuno has quit IRC
[19:40:38] <Lewix> jaawerth: $http.pendingRequest - is it possible that it never < 1
[19:40:42] <saturdayplace> Ah, looks like package.json has the port number hard-coded so trying to change it with the `-p` flag doesn't seem to work.
[19:40:42] *** cavallari1 has joined #angularjs
[19:40:42] *** robdubya has joined #angularjs
[19:40:51] *** freelyfred has joined #angularjs
[19:40:51] <Lewix> it's*
[19:40:57] <jaydubya> jaawerth: so, I should call it ONCE when I instantiate the $scope.loan object and store it there and use it that way?
[19:41:03] *** IsraelOrtuno has joined #angularjs
[19:41:13] <jaawerth> $scope.getFoos = function(id) { $http.get('/foo/' + id).then(function(res) { $scope.foo = res.data; }) }, something like that
[19:41:23] <jaydubya> and that way it is not called in the view
[19:41:27] <jaawerth> and yeah, just call it when you need to
[19:41:28] *** shackleford has quit IRC
[19:41:29] <jaydubya> gotcha .. thanks!!!
[19:41:54] *** cavallari has quit IRC
[19:41:58] *** bmac has joined #angularjs
[19:42:01] <jaawerth> you'd never put getFoos(someId) right in your template anyway because even if it isn't triggering infinite digests, you'd still end up with a billion API calls
[19:42:05] *** leolrrj has quit IRC
[19:42:06] *** morenoh149 has quit IRC
[19:42:08] *** jeffscottward has joined #angularjs
[19:42:20] *** fotoflo has quit IRC
[19:42:29] *** RobinBAwesome has quit IRC
[19:42:29] *** MacWinner has joined #angularjs
[19:43:03] *** raibutera has joined #angularjs
[19:43:06] *** srsgores has joined #angularjs
[19:43:48] *** jbelmont has joined #angularjs
[19:44:04] *** cthrax has quit IRC
[19:44:13] *** Superhard has quit IRC
[19:44:13] *** Aliks has joined #angularjs
[19:44:15] <srsgores> (see line 10 of app.js)
[19:44:26] *** prosper_ has quit IRC
[19:44:32] <jaydubya> jaawerth: I'll still watch it ... I've never seen 3211 errors in the console before ... LOL
[19:44:34] <robdubya> dont use primitives
[19:45:11] <robdubya> srsgores ^
[19:45:39] <srsgores> robdubya: should I be using literals instead?
[19:45:54] <oniijin> lol
[19:45:57] *** garbanzio has quit IRC
[19:46:09] *** Efrem is now known as Efrem-Away
[19:46:25] *** loverajoel has quit IRC
[19:46:45] <jaawerth> I wish .ts were a domain so we could register moardo.ts
[19:46:52] *** gladely has joined #angularjs
[19:47:04] <jaydubya> (Note to self: The infinite Digest error is LETHAL to MAMP PRO)
[19:47:13] *** juanpablo_ has quit IRC
[19:47:13] <jaawerth> lol
[19:47:34] <jaawerth> alright, back later
[19:47:40] *** jMyles has quit IRC
[19:48:08] *** fotoflo has joined #angularjs
[19:48:19] *** azizur has quit IRC
[19:48:21] *** juanpablo_ has joined #angularjs
[19:48:22] *** Anton_ has quit IRC
[19:48:23] *** fotoflo has left #angularjs
[19:48:27] *** juanpablo_ has quit IRC
[19:48:35] *** juanpablo_ has joined #angularjs
[19:48:44] *** yolodu76 has joined #angularjs
[19:48:54] *** {DV8} has quit IRC
[19:49:11] *** yolodu76 has quit IRC
[19:49:41] *** garbanzio has joined #angularjs
[19:50:29] *** DrMabuse_ has joined #angularjs
[19:50:33] *** morenoh149 has joined #angularjs
[19:50:39] *** tristanp has joined #angularjs
[19:51:03] *** tsalb has joined #angularjs
[19:51:19] *** yuradoc_ has joined #angularjs
[19:52:06] *** t0rrieri has joined #angularjs
[19:52:24] *** moogey has quit IRC
[19:53:00] *** g33k5z has quit IRC
[19:53:17] *** moogey has joined #angularjs
[19:53:26] *** g33k5z has joined #angularjs
[19:54:02] *** Skrypter has quit IRC
[19:54:16] *** jotaefe has quit IRC
[19:54:37] *** Skrypter has joined #angularjs
[19:54:45] *** sandelius has quit IRC
[19:54:52] *** jotaefe has joined #angularjs
[19:55:58] *** \du has quit IRC
[19:56:15] <themime> srsgores: instead of $scope.primitiveType do something like $scope.options = {}; $scope.options.primivtiveType
[19:56:28] *** Anton_ has joined #angularjs
[19:56:52] *** jmckind has quit IRC
[19:57:27] *** apparition168 has quit IRC
[19:57:43] *** g33k5z has quit IRC
[19:57:48] *** debunk has joined #angularjs
[19:57:52] *** lugzer has quit IRC
[19:58:10] *** leolrrj has joined #angularjs
[19:58:44] *** sigurding has joined #angularjs
[19:58:55] *** Skrypter has quit IRC
[19:59:18] *** jotaefe has quit IRC
[19:59:33] *** DLSteve has joined #angularjs
[20:00:07] *** cavallari1 has quit IRC
[20:00:21] <shadowhand> i can't for the life of me get a <select ng-options ng-change> to work properly
[20:00:25] *** jdcasey has joined #angularjs
[20:00:33] *** cavallari has joined #angularjs
[20:00:40] <themime> shadowhand: plunker that shiz
[20:00:44] <shadowhand> no matter what i try, the ng-model set on the select never works
[20:00:45] *** sonofdirt has quit IRC
[20:01:02] *** sonofdirt has joined #angularjs
[20:01:07] *** dmack has quit IRC
[20:01:19] <srsgores> themime: got a working example yet? I'm not sure I understand
[20:01:38] <robdubya> srsgores object literals, yeah
[20:01:53] *** eristic_ is now known as eristic
[20:02:20] *** Anton_ has quit IRC
[20:02:47] <themime> srsgores: what was the issue? im not sure whats going on in this plunker, i just added object literals ha
[20:02:51] *** Paul_B_Hartzog has quit IRC
[20:03:09] *** lolmaus has quit IRC
[20:03:21] <srsgores> themime: in your plunker, the option was just blank (nothing showed)
[20:03:29] *** Lewix has quit IRC
[20:03:31] <themime> i didn't look at it before my bad
[20:04:03] <dylan9o4> Hey guys, is there any reason why an ng-view ng-leave not transition while ng-enter would, the css transition is set on the view class itself, so I dont get it
[20:04:04] *** IanOlson has joined #angularjs
[20:04:20] *** RobinBAwesome has joined #angularjs
[20:04:23] <themime> srsgores: wait im confused the one you sent me /does/ populate what was the issue prior?
[20:04:28] <shadowhand> themime: so... when i run it it plunker, i can't replicate it
[20:04:43] <shadowhand> but when i run it locally, $scope.changedRole is always undefined
[20:04:47] <jaydubya> in an ng-repeat, is there any way to total one of the repeated variable?
[20:04:53] *** wmbutler has joined #angularjs
[20:04:59] <srsgores> themime: it populates the first time, but when the type changes, the type option doesn't
[20:05:27] <themime> ooh gotcha
[20:05:44] *** sandelius has joined #angularjs
[20:05:50] *** jheady has joined #angularjs
[20:06:11] *** bmac has quit IRC
[20:06:17] *** platonic has joined #angularjs
[20:06:27] <shadowhand> themime: any idea what would cause that
[20:06:29] *** jheady has quit IRC
[20:06:39] *** RavenHursT has joined #angularjs
[20:06:45] *** jheady has joined #angularjs
[20:06:51] *** mikene_ has joined #angularjs
[20:07:05] <themime> srsgores: ah i think its because your stuff gets set ONCE when the controller starts
[20:07:10] *** knoopx2 has left #angularjs
[20:07:25] *** raibutera has quit IRC
[20:07:29] <RavenHursT> So I'm looking to find a simple way to add a "domainFaviconUrl()" method that will be easily accessible to all my views.
[20:07:39] <themime> srsgores: you change it it doesnt update? i dunno these scope references scope variables seems odd, normally youd have that in a factory, not sure if thats related or not..
[20:07:53] <mikene_> народ как отсортировать массив?
[20:08:54] *** jheady has quit IRC
[20:08:56] <themime> srsgores: $scope.conditions = ["Trigger Date", $scope.person.type]; // type is a bool and won't update if type changes because its by value (lol jaawerth )
[20:09:03] <RavenHursT> Was thinking about just adding the method to the $rootScope so that it would be prototypically enherited on all $scopes... but thought I'd at least come in here and ask if there was possibly another way since this solution just seems like it's "poluting" the $rootScope.
[20:09:11] <themime> rather than objects which are by-reference
[20:09:36] <themime> RavenHursT: make a factory and inject the factory
[20:09:37] *** disorder20 has joined #angularjs
[20:09:44] *** ko3t has quit IRC
[20:09:55] *** jheady has joined #angularjs
[20:10:10] *** whatadewitt has joined #angularjs
[20:10:14] *** SargoDarya has joined #angularjs
[20:10:18] <srsgores> themime: so would I have to pass in an object literal? Like $scope.agent?
[20:10:20] *** peldan has quit IRC
[20:10:23] *** Anton_ has joined #angularjs
[20:10:28] *** sigurding has quit IRC
[20:10:45] *** TheAceOfHearts has quit IRC
[20:10:46] *** jheady has left #angularjs
[20:10:49] *** baweaver has quit IRC
[20:10:54] *** peldan has joined #angularjs
[20:11:10] <whatadewitt> i'm going a bit crazy here, adding toState.name.replace('.', ' '); as classes on my body tag, and when i move from analytics.stats to analytics.summary the "analytics class" toggles itself off?
[20:11:11] <themime> srsgores: that might work if you update your ng-options, but id have to glance at the html again. the whole paradigm just seems a little sketchy i guess, which i don't like saying unless i have a solid alternative to present but unfortunately i don't
[20:11:22] <whatadewitt> using ui-router FWIW
[20:11:30] <shadowhand> themime: the only difference i see between my local code and plunker is that pluker is only on v1.3.6 and i'm on v1.3.7 locally
[20:11:31] <themime> in ng-options rather than reference type youd have to reference person.type
[20:11:31] *** soee has joined #angularjs
[20:11:32] *** glitch-hat has quit IRC
[20:11:47] *** tristanp has quit IRC
[20:11:50] *** cavallari has quit IRC
[20:12:06] <themime> shadowhand: hard to tell in those cases, sorry
[20:12:13] *** Oxynum has joined #angularjs
[20:12:14] <shadowhand> :-\
[20:12:27] *** yuradoc_ has quit IRC
[20:12:30] <shadowhand> i swear to god, every time i get near a <select> with ng, everything falls apart
[20:12:34] * jaawerth smells MOAR DOTS
[20:12:41] *** rikkipit_ has quit IRC
[20:12:51] <oniijin> lol
[20:12:58] *** sigurding has joined #angularjs
[20:13:40] *** mspier is now known as mspier|away
[20:13:55] *** Guest22_ has joined #angularjs
[20:14:10] *** ninjaparade has joined #angularjs
[20:14:14] *** Guest22 has quit IRC
[20:14:23] *** Snugug has quit IRC
[20:14:38] *** jiverson has quit IRC
[20:14:38] *** saturdayplace has quit IRC
[20:14:40] *** SargoDarya has quit IRC
[20:14:45] *** dave_boling has quit IRC
[20:14:48] *** Sky[x] has quit IRC
[20:15:01] *** fedenunez has quit IRC
[20:15:03] *** jiverson has joined #angularjs
[20:15:10] <RavenHursT> themime: right.. so I thought about doing that, that would work for accessing the url factory from the controller.. but I don't really need this info in my controllers, I need it in my views. So for every view that I need this in, I'd still have to go do $scope.domainFaviconUrl = Service; I'm trying to avoid that code duplication all over the place.
[20:15:16] *** PigDude_ has joined #angularjs
[20:15:24] *** Sontakey has joined #angularjs
[20:15:31] *** bkuberek_ has joined #angularjs
[20:15:42] *** peldan has quit IRC
[20:15:45] *** PigDude_ has quit IRC
[20:15:47] *** elrabin has joined #angularjs
[20:16:09] *** bayousoft has quit IRC
[20:16:25] *** fedenunez has joined #angularjs
[20:16:36] *** PigDude_ has joined #angularjs
[20:16:42] *** Oxynum has quit IRC
[20:16:45] *** bayousoft has joined #angularjs
[20:17:02] *** Snugug has joined #angularjs
[20:17:04] *** kesshi has quit IRC
[20:17:25] *** devers has joined #angularjs
[20:17:49] <devers> what causes ngView to fire keyframe animations on the element on route changes?
[20:17:52] <themime> RavenHursT: i dunno ive not done child/parent stuff as it seems to be frowned upon - my instinct even if you do child/parent youd have to explicitly get the value off the parent in the child controllers - at that point, might as well do it the clean way
[20:17:59] <devers> even when ngAnimate is not used
[20:18:13] * themime reads up on angular parent/child controllers
[20:18:21] *** peldan has joined #angularjs
[20:18:26] *** shackleford has joined #angularjs
[20:18:36] <themime> srsgores: will take a look in a min
[20:18:41] *** shaym_ has quit IRC
[20:18:45] *** deanclkclk has joined #angularjs
[20:18:47] *** baweaver has joined #angularjs
[20:18:51] *** shackleford has quit IRC
[20:18:51] *** bkuberek has quit IRC
[20:18:59] <RavenHursT> Well.. all scopes (minus isolate scopes) prototypically inherit from $rootScope, right? So seems like it should be accessible..
[20:19:27] *** shackleford has joined #angularjs
[20:20:06] *** bkuberek_ has quit IRC
[20:20:26] *** Sontakey has left #angularjs
[20:20:34] *** ali4ever4 has quit IRC
[20:20:40] <themime> RavenHursT: right but based on my experience on angular im not sure if you can count on that value being accessibly directly by the child view - this is a vague feeling im checking out inheritance now, its not something ive delved into with angular
[20:20:41] <jaawerth> RavenHursT: well, you could use controller-as syntax with a high-level controller. that way it isn't propagating directly through the scope, that high-level controller is, and you'd be accessing the method through it
[20:21:04] <shadowhand> themime: downgrade to 1.3.6 locally did not fix the issue
[20:21:10] <shadowhand> (insert rage guy)
[20:21:18] *** bmac has joined #angularjs
[20:21:21] <RavenHursT> jaawerth: can you elaborate?
[20:22:05] <themime> jaawerth: he doesn't want to have to explicitly set anything in the child scopes, would your solution prevent that? would the child view be vm.parentVal or vm.parent.parentVal?
[20:22:08] *** mspier|away is now known as mspier
[20:22:11] <RavenHursT> BTW.. just tried it on the $rootScope.. and was able to access the method in a view buried deep in my app
[20:22:13] *** Hestil has quit IRC
[20:22:18] *** RobinBAwesome has quit IRC
[20:22:34] <jaawerth> well no, but you can't have it both ways, and controller-as is a way to avoid polluting your scopes by de-factor wrapping stuff up in a parent controller's object
[20:22:42] <oniijin> lol
[20:22:54] <themime> RavenHursT: also keep in mind because you /can/ do something doesn't mean you /should/
[20:23:14] <oniijin> if u put something on rootscope of course u can access it anywhere
[20:23:15] <jaawerth> You'll always be able to access the stuff in the child views unless you're using isolate scopes
[20:23:29] <RavenHursT> themime: Right.. which is why I'm asking the question in the first place ;-)
[20:23:34] <jaawerth> and everything inherits from $rootScope
[20:23:40] <shadowhand> themime: okay, now this is interesting
[20:23:58] <shadowhand> themime: as soon as i removed the <form> wrapping the <select>, everything started working
[20:24:00] <themime> shadowhand: im sorry but i haven't been following your issue
[20:24:02] <jaawerth> I myself tend to put $log on $rootScope so I can use it during development without injecting it everywhere
[20:24:02] <shadowhand> is that normal?
[20:24:13] <RavenHursT> oniijin: Not true.. you'd have to manually inject $rootScope into directives that have isolate scopes.
[20:24:23] <themime> shadowhand: i don't know maybe someone else here knows
[20:24:53] *** seriema has joined #angularjs
[20:25:03] <themime> jaawerth: ha thats clever i like that
[20:26:01] *** leolrrj has quit IRC
[20:26:31] *** leolrrj has joined #angularjs
[20:26:36] <themime> RavenHursT: putting it on rootscope would /work/ but still kinda rubs me the wrong way. if you have one page with 10 controllers, its spread to all those controllers - really you only need it on the /parent/ "page". it probably wouldn't actually have any bad results but it just seems like a bad habit to get into
[20:26:59] *** Lewix has joined #angularjs
[20:27:19] <jaawerth> anyway, using a parent controller would cover most scenarios, you'd just have to inject it where needed when an isolate scope is involved (or copy it from scope.$parent)
[20:27:29] <jaawerth> the latter would be a very messy thing to do, though
[20:27:34] <themime> like make a factory, and only inject it once per page/parent controller, rather than per individual controller. rootScope seems a little overkill
[20:27:35] *** Efrem-Away is now known as Efrem
[20:27:43] <jaawerth> but if you don't want to inject and don't want to inherit, you're basically looking at using a global variable
[20:27:56] *** munky has joined #angularjs
[20:28:19] *** bzitzow has quit IRC
[20:28:29] *** weeyum has joined #angularjs
[20:28:32] *** tristanp has joined #angularjs
[20:28:36] *** cavallari has joined #angularjs
[20:28:46] *** ezakimak_laptop is now known as ezakimak
[20:28:54] *** Anton_ has quit IRC
[20:29:19] *** debunk has quit IRC
[20:29:24] *** seriema has quit IRC
[20:29:42] *** RobinBAwesome has joined #angularjs
[20:29:44] *** g33k5z has joined #angularjs
[20:30:03] *** PeterMetz has joined #angularjs
[20:30:04] *** pushpak has quit IRC
[20:31:09] *** mmealling has joined #angularjs
[20:31:25] <RavenHursT> jaawerth: ..Which is exactly what I'm looking for. I mean, AngularJS has .constant(), but that, like factories/services are, is/are only accessible in controllers, unless you manually attach them to the $scope of a given view. I just wish there were a way to create view-accessible contants/factories/services
[20:31:37] *** leolrrj has quit IRC
[20:31:41] *** Mad-C has quit IRC
[20:31:51] <RavenHursT> hmmmm... may have just answered my own question..
[20:32:29] *** IsraelOrtuno has quit IRC
[20:32:35] <themime> srsgores: youre still setting a primitive type - once a primitive is set, if you change it in a different location it won't update because its by-value - you need to pass an object which is by-value and will be updated when other references are updated. i tried updating your plunker but its just tightly coupled with primitives, i think youll need to redesign
[20:32:35] <themime> the concept - maybe manually updates refs with ng-change?
[20:32:54] <RavenHursT> since all I'm really looking for here, is a way to create an easy way to handle the src attrib for <img>'s... I could just write a directive that does this... duh
[20:33:29] *** MistahKurtz has quit IRC
[20:34:04] *** treeface has joined #angularjs
[20:34:06] *** MistahKurtz has joined #angularjs
[20:34:08] *** glosoli has left #angularjs
[20:34:12] <crised> Are these points valid GJson points? $scope.markers = [
[20:34:12] <crised> {
[20:34:12] <crised> "id": 0,
[20:34:12] <crised> "type": "Point",
[20:34:12] <crised> "coordinates": [100.0, 0.0]
[20:34:13] <crised> },
[20:34:13] <crised> {
[20:34:13] <crised> "id": 1,
[20:34:13] <crised> "type": "Point",
[20:34:14] <crised> "coordinates": [100.0, 0.0]
[20:34:14] <crised> }
[20:34:15] <crised> ];
[20:34:28] *** sigurding has quit IRC
[20:34:35] *** kesshi has joined #angularjs
[20:34:42] <crised> sorry about that, I thought it was going to be pasted in one line
[20:34:58] <crised> anyhow I get: MarkersParentModel: no valid coords attribute found
[20:35:14] <crised> <ui-gmap-markers models="markers" idKey="id" coords="coordinates" icon="'icon'"> </ui-gmap-markers>
[20:35:19] <TweedleDee> do update just the view value from a directive I thought you pass in ngModel into your link funciton then just set the ngModel.$viewValue = "whatever"? doesn't seem to be updating tho the code has no errors?
[20:35:40] <crised> angular-ui docs: The name of the property in the models array containing the marker coordinates. Must refer to an object containing latitude and longitudeproperties, or New in v1.1 a GeoJSON Point object.'
[20:35:49] <crised> doesn't work for me, could I be facing a bug?
[20:36:26] *** threesixes has joined #angularjs
[20:36:46] <themime> RavenHursT: woah woah you can definitely use factories in other factories AND directories and damn near everywhere but a config bloc
[20:36:52] *** whatadewitt has quit IRC
[20:36:56] *** Anton_ has joined #angularjs
[20:37:08] *** Hestil has joined #angularjs
[20:37:32] *** Superhard has joined #angularjs
[20:37:47] <RavenHursT> themime: Right.. but I cannot access those factories directly from a view w/o manually attaching said factory to said view.
[20:37:52] <RavenHursT> AFAIK anyway.
[20:38:04] *** rtpg has joined #angularjs
[20:38:22] <jaawerth> RavenHursT: ah, I usually do this with css/sass
[20:38:41] <jaawerth> but you could also accomplish this with a directive pretty easily
[20:39:05] *** whatadewitt has joined #angularjs
[20:39:05] <jaawerth> you'd just inject your service into the DOM. The service would be capable of looking up your desired value by some "key"
[20:39:44] *** IJNX has quit IRC
[20:39:46] *** leolrrj has joined #angularjs
[20:39:46] *** davidreis has joined #angularjs
[20:39:47] <themime> RavenHursT: i guess, to me, that readability is worth the 2 seconds it takes me to add it. if i have 10 pages (with a page aka parent controller), with 100 controllers, and i only add it to the parent page controller, that "global" only shows up on 10 controllers - if you put it on rootscope youll have it on 110 controllers, 100 of which don't need it
[20:39:55] <jaawerth> you'd get essentially the same effect as using a scope property, but you'd just be using strings on your view and letting the directive do the work of looking it up
[20:40:07] *** glitch-hat has joined #angularjs
[20:40:18] <jaawerth> handling presentation stuff like that is exactly what directives are for ;-)
[20:40:24] *** babykosh has joined #angularjs
[20:40:29] <progrock> hmm, how do people handle random static files like favicon, apple-touch-icon, etc. with gulp.js ... do you just have to list all of them, and have it copy to build folder?
[20:40:38] <jaawerth> RavenHursT: ^^
[20:41:04] *** shampine has joined #angularjs
[20:41:04] *** shampine has joined #angularjs
[20:41:53] *** Mccxiv has quit IRC
[20:42:13] *** RavenHursT has quit IRC
[20:42:17] *** Superhard has quit IRC
[20:42:26] *** rtpg has quit IRC
[20:42:55] <srsgores> themime: any ideas on how to do this yet?
[20:42:56] *** tschundeee has quit IRC
[20:43:20] <themime> srsgores: don't have time unforunately by i have a demo explicitly clarying the issue
[20:43:25] <themime> srsgores: its almost done
[20:43:31] *** tschundeee has joined #angularjs
[20:43:44] *** rafagomes_ has joined #angularjs
[20:43:55] <srsgores> themime: ok, thanks for your help
[20:44:03] *** richiebk_ has quit IRC
[20:44:08] <crised> this was my bug, '' were missing: coords="'coordinates'"
[20:44:13] *** srsgores has left #angularjs
[20:44:46] *** debunk has joined #angularjs
[20:45:06] *** devers has quit IRC
[20:45:13] *** caitp has joined #angularjs
[20:45:24] *** richiebkr has joined #angularjs
[20:45:26] *** rafagomes has quit IRC
[20:46:03] <themime> damnit he left
[20:46:07] <themime> ARRG I HATE THAT SO MUCH
[20:46:19] *** neilff has joined #angularjs
[20:46:20] *** Johnny13371337 has joined #angularjs
[20:46:34] *** phzon has joined #angularjs
[20:46:41] <treeface> themime, lol
[20:46:47] <treeface> themime, the lesson is: never try
[20:46:53] *** loverajoel has joined #angularjs
[20:47:11]
<themime> jaawerth: since srsgores left ill just send this to you, its a quick demo of why trying to link to primitive types is bad (not $scope inheritance but the thing i was derping on last night) http://plnkr.co/edit/OhaeBXHzDWz71neWKFqk?p=preview
[20:47:28] <themime> jaawerth: so when it comes up we have something we can send people to lol
[20:47:49] <themime> ug those variable names are awful
[20:47:53] <jiverson> yeah good idea that is a key issue with many using angular .....always use the '.'
[20:47:54] *** elyssonmr has quit IRC
[20:48:17] <themime> another good one would some simple ng-repeat that shows prim types on $scope getting undefined
[20:48:30] <themime> dat dot doe
[20:48:36] *** tschundeee has quit IRC
[20:49:15] *** robot443 has joined #angularjs
[20:49:30] *** Anton_ has quit IRC
[20:49:31] <treeface> hey guys i have a noob question regarding e2e testing. i understand that external services should be mocked out because those services should have their own tests, but what happens when the external service changes?
[20:50:01] <treeface> what i mean to say is...i could have tests on both ends that both pass, but the output of one side may not integrate with the output of the other
[20:50:03] *** richiebkr has quit IRC
[20:50:28] <treeface> is there some trick that people normally use to gain some sort of peace of mind in this regard?
[20:50:56] *** phzon has quit IRC
[20:51:08] *** ron1 has quit IRC
[20:51:30] *** loverajoel has quit IRC
[20:51:30] <lebster> how do i make sure a self init service resolves its data before its used in another service via dependency injection??
[20:51:53] *** jeffscottward has quit IRC
[20:52:05] *** jhwhite has joined #angularjs
[20:52:14] <jiverson> lebster use promises for that
[20:52:15] *** jdummy has joined #angularjs
[20:52:33] *** jeffscottward has joined #angularjs
[20:52:37] <jdummy> Is it possible to create a new scope object within a service?
[20:52:44] <jiverson> yes
[20:52:46] *** jheady has joined #angularjs
[20:53:10] *** __danimal__ has joined #angularjs
[20:53:12] <jdummy> jiverson: by injecting $rootScope and calling $rootScope.$new()?
[20:53:25] <jiverson> yes it will be a child of rootscope
[20:53:52] *** jheady has left #angularjs
[20:54:01] <jdummy> jiverson: then I don't know where I'm going wrong :(
[20:54:03] <jiverson> now it will not have children scope since it will not be on the DOM if it is a service/factory
[20:54:09] *** leolrrj has quit IRC
[20:54:23] <jdummy> I'm trying to $compile a template for printing
[20:54:39] *** richiebkr has joined #angularjs
[20:54:59] *** zanea|away is now known as zanea
[20:55:09] <jdummy> thanks jiverson
[20:55:12] <jiverson> sounds like you need a directive but I am unsure what the context is of your issue
[20:55:34] <jdummy> I don't actually need to render the template to the dom
[20:55:50] *** rikko has quit IRC
[20:56:08] *** bmac has quit IRC
[20:56:29] <jiverson> ok seems different but you should be able to create a new scope then use that to compile the template
[20:56:42] *** __danima_ has quit IRC
[20:56:52] *** munky has quit IRC
[20:56:54] *** loverajoel has joined #angularjs
[20:57:00] *** doginal has joined #angularjs
[20:57:03] <jiverson> that is very similiar to how you would unit test a directive if you are looking for more information
[20:57:08] *** jbeaudry has joined #angularjs
[20:57:35] *** Anton_ has joined #angularjs
[20:58:23] <jaawerth> aww, I wrote up an awesome little directive for RavenHursT that maps attribute strings to image sources and they're gone :(
[20:58:41] <jaawerth> (though that's still best accomplished by css anyway)
[20:58:54] *** leolrrj_ has joined #angularjs
[20:59:12] *** baweaver has quit IRC
[20:59:12] *** cavallari has quit IRC
[20:59:13] *** richiebkr has quit IRC
[20:59:25] <oniijin> lol seems overkill
[20:59:49] *** ron1 has joined #angularjs
[21:00:02] <jaawerth> it's what they wanted
[21:00:17] <oniijin> they seemed like a numnut
[21:00:20] <jaawerth> wanted to be able to use a "variable" on a view without injecting the values in scope all over the place
[21:00:41] <jaawerth> all you need is a service containing a "map" and a directive that looks up property names based on strings passed into the attributes
[21:00:44] *** elrabin has quit IRC
[21:01:05] <oniijin> right, seems more like they needed to figure out better app design
[21:01:10] <themime> jdummy: the toastr code Foxandxss wrote has a great example of it
[21:01:17] <jaawerth> yeah
[21:01:21] *** jhwhite has quit IRC
[21:01:22] <jaawerth> like css maps
[21:01:22] *** jdivock has quit IRC
[21:01:26] *** stormbytes has quit IRC
[21:01:28] <jaawerth> and/or sprites
[21:01:32] *** wallerdev has quit IRC
[21:01:46] *** jdivock has joined #angularjs
[21:02:20] *** rafagomes_ has quit IRC
[21:02:32] *** j_wright has quit IRC
[21:02:46] *** jdivock has quit IRC
[21:02:56] *** axsuul has joined #angularjs
[21:03:26] <jdummy> Hmmm... there must be something else I'm doing wrong. $compile just complains that "Undefined is not a function"... but everything *seems* correct
[21:03:31] *** richiebkr has joined #angularjs
[21:03:53]
<jaawerth> themime: you might be more interested in this one, though, which involves primitives on services and a similar issue. I wrote it as a little "challenge" when I had to interview someone one time (it's in the form of a "test" because I wrote it as part of a "challenge" when I had to interview someone (it wasn't a make-or-break thing, just wanted to see how they approached it) http://plnkr.co/edit/lLBZ99?p=preview
[21:04:04] <jaawerth> ack, sorry
[21:04:09] <jaawerth> department of redundancy department
[21:04:12] * jaawerth is tired
[21:04:24] *** dmack has joined #angularjs
[21:04:32] <oniijin> need moar cocaine
[21:04:34] <crised> How can I enclose this whole statement $http.get('state.json').....
[21:04:39] <crised> to call it as a function?
[21:04:46] <oniijin> service
[21:04:47] <themime> you are calling it as a function
[21:04:51] <themime> ooh
[21:04:59] <crised> themime: how is that?
[21:05:03] *** ChadStrat has quit IRC
[21:05:08] <jaawerth> function getJSON() { return $http.get('state.json'); }
[21:05:10] <oniijin> http.get is a function
[21:05:10] <crised> I want to call it like poll();
[21:05:11] <jdummy> I basically have two objects and some HTML. One of the objects has the actual data, the other object contains a bunch of strings that may contain template variables... I'm using $interpolate to replace those with the data, then throwing the resultant object against the template
[21:05:14] <themime> a service like oniijin said. really a factory
[21:05:23] *** peldan has quit IRC
[21:05:29] <oniijin> or just wrap it in a function dec
[21:05:30] *** rhp has joined #angularjs
[21:05:36] *** MaxV has joined #angularjs
[21:05:38] <themime> and you can use $interval in the factory to poll
[21:05:46] <nickeddy> :|
[21:05:57] <themime> or make a polling factory that calls your other factory to that makes the get
[21:05:57] <jaawerth> crised: see above - you wrap it as normal, you just need to make sure you're returning the $http call itself if you want access to the promise as a return value
[21:05:58] *** peldan has joined #angularjs
[21:05:58] <jdummy> renderer() actually
[21:05:59] <themime> or use websockets
[21:06:08] *** wallerdev has joined #angularjs
[21:06:18] *** RobinBAwesome has quit IRC
[21:06:30] *** Oka has joined #angularjs
[21:06:39] *** crewshin_ has quit IRC
[21:06:45] *** treeface has quit IRC
[21:06:45] <jaydubya> I am using ui-router ... I have an abstract route that loads a template and several child routes that switch content in that template. The controller for the abstract (EditLoanController) loads all of the necessary objects to edit the loan. Each child route has its own controller for specifics (which I think should be a child controller). in a child controller, I can add data to an object from EditLoanController. How
[21:06:46] <jaydubya> ever, if I refresh the page, I get major errors that the existing object is undefined. If I navigate through the menu, all is cool. Is there a way around this behavior?
[21:06:53] <crised> $interval(function () { poll(); }, 3000); function poll () { $http.get('state.json'). success(function (data, status, headers, config) { $scope.markers = data; }). error(function (data, status, headers, config) { // log error }); }
[21:07:03] <jaawerth> my eyes!
[21:07:06] <crised> jaawerth: that works ok, is that good written?
[21:07:12] <crised> ;)
[21:07:12] <nickeddy> crised: please don't paste like that
[21:07:13] <nickeddy> ever again
[21:07:14] *** bayousoft has quit IRC
[21:07:15] *** scythe__ has quit IRC
[21:07:20] <jaydubya> it's not well pasted!
[21:07:21] <themime> my retinas are white now :(
[21:07:22] <jaawerth> yeah, please use a gist
[21:07:24] *** axsuul has quit IRC
[21:07:26] <jaawerth> or, uh, pastebin, or anything
[21:07:43] <jaydubya> write it on paper and send via carrier pigeon
[21:07:44] <themime> also i like using then() rather than success/fail
[21:07:52] *** bayousoft has joined #angularjs
[21:07:53] <crised> jaawerth: what about now?
[21:07:53] *** davidreis has quit IRC
[21:07:56] *** jotaefe has joined #angularjs
[21:08:13] <themime> crised: now throw that in a factory
[21:08:18] *** richiebkr has quit IRC
[21:08:27] *** mzabriskie has quit IRC
[21:08:29] <oniijin> carrier hawks ftw
[21:08:45] <crised> themime: how?
[21:08:57] <jaawerth> crised: that works fine, but themime is right - stuff like that is best abstracted into a factory
[21:09:03] *** leolrrj_ has quit IRC
[21:09:03] <jaawerth> controllers should be short and sweet ;-)
[21:09:10] *** Oka has left #angularjs
[21:09:38] <jaawerth> also: I would recommend using vanilla setInterval, checking to see if the data has changed, and only calling scope.$apply if it has
[21:09:47] <jdummy> peregrine falcon delivery service at your um... service
[21:09:50] <jaawerth> that way you aren't calling a full digest every 3 seconds
[21:10:09] <crised> jaawerth: it shuold be like 30 seconds in reality
[21:10:16] <jaawerth> that's an optimization that can always late until later though (plus, yeah, you may want to switch to websockets come optimization-time anyway)
[21:10:32] <jaawerth> ah if it's 30 seconds then whatever ;-)
[21:10:46] *** peldan has quit IRC
[21:10:50] <jaawerth> oh, I'd just make sure you store the $interval's return value somewhere so you can cancel it if necessary
[21:10:51] *** jmckind has joined #angularjs
[21:11:16] <oniijin> sounds like receipe for fustercluck
[21:11:16] <jaawerth> but other than that, and keeping it in a factory, you'er good to go
[21:11:23] <themime> isn't $interval not only perferred because of digest but also because of testing? i feel like a better way is to use $interval and turn off the digest somehow - this is purely theoretical
[21:11:45] <oniijin> uh, then that would just be js interval
[21:11:50] <jaawerth> interval is literally just setInterval wrapped in a promise and a $scope.$apply
[21:11:55] <oniijin> loll
[21:12:01] <jaawerth> er, $interval is*
[21:12:02] *** shinnya has quit IRC
[21:12:10] <oniijin> $intervalAs
[21:12:13] <oniijin> dicks
[21:12:17] <oniijin> falcons
[21:12:26] <jaawerth> lolwut
[21:12:31] *** richiebkr has joined #angularjs
[21:12:33] <themime> right but for unit testing i thought $interval, etc were prefered so you can mock them - i guess you could make your own wrapper around setInterval if you needed to
[21:12:55] <themime> haha have your own little checking inside to discern if its the time to run the digest
[21:13:00] <crised> themime: could you help me in the factory>
[21:13:06] <jaydubya> +1 for gist!
[21:13:12] *** davidreis has joined #angularjs
[21:13:12] <crised> :-D
[21:13:22] <oniijin> u got gizt
[21:13:22] <themime> crised: maybe in an hour :( i have a work meeting soon
[21:13:23] <jaawerth> it depends on whether you need to optimized. normally I'm against premature optimization, but if you're calling an $interval like once every couple seconds or less.. that's a lot of extra global digests
[21:13:32] <crised> themime: :(
[21:13:40] <crised> jaawerth: did you see the gist? How to do that factory?
[21:13:56] *** jotaefe has quit IRC
[21:13:59] *** zoite has joined #angularjs
[21:14:04] <lebster> jaawerth: kind of sucks to have to use a promise when it only loads once for the whole time the app is used
[21:14:23] *** walden is now known as walden|brb
[21:14:33] <jaawerth> lebster: what, you mean with $interval vs setInterval?
[21:14:49] *** leolrrj has joined #angularjs
[21:14:54] *** sheplu has quit IRC
[21:15:06] <lebster> jaawerth: nah talkinga about using promises for the service class that self inits
[21:15:07] *** peldan has joined #angularjs
[21:15:29] <iShortBus> crised: you want to convert this to a factory?
[21:15:35] *** zwacky_ has quit IRC
[21:16:07] <jaawerth> crised: you need to declare it as a factory or service
[21:16:36] <jaawerth> crised: I'd use a service with a function to start the polling and a function to stop the polling, oh, and a property where the data is stored
[21:16:51] *** MaxV_ has joined #angularjs
[21:17:00] *** richiebkr has quit IRC
[21:17:01] *** prosper_ has joined #angularjs
[21:17:10] *** shinnya has joined #angularjs
[21:17:11] <crised> iShortBus: yes!
[21:17:22] *** evanjs has joined #angularjs
[21:17:23] <crised> jaawerth: how to do that factory?
[21:17:28] <oniijin> google
[21:17:30] *** Sebastien-L has quit IRC
[21:17:36] *** icholy has joined #angularjs
[21:17:44] *** bkuberek has joined #angularjs
[21:17:49] *** jmckind has quit IRC
[21:17:53] *** kile has joined #angularjs
[21:18:16] *** kile has left #angularjs
[21:18:19] *** AlecksG has joined #angularjs
[21:18:38] *** kroogs has joined #angularjs
[21:18:41] <crised> syntax error
[21:18:42] *** icholy has left #angularjs
[21:18:46] <oniijin> im not google
[21:19:13] <jaydubya> can you "redirect" inside of ui-router? like test to see if the "parent objects" are in place and if not, redirect to get them?
[21:19:14] *** Mosselman has joined #angularjs
[21:19:19] <Mosselman> hi everyone
[21:19:25] *** Skrypter has joined #angularjs
[21:19:27] *** jdivock has joined #angularjs
[21:19:37] *** MaxV has quit IRC
[21:20:06] <MacWinner> upgrading from 1.3.5 to 1.3.7 breaks my orderBy filter if the object property being sorted on is a date.. I see some notes in the changelog that orderBy was changed, but i'm not clear if this should be affecting me or not.
[21:20:23] *** MaxV_ has quit IRC
[21:20:30] <Mosselman> I have a question regarding form validation. I have found several sources claiming that I can do: `formName.inputName.$valid` which is supposed to be a boolean, but all I get is `undefined`
[21:20:39] <Mosselman> What am I misunderstanding?
[21:20:45] *** MaxV has joined #angularjs
[21:21:00] <iShortBus> crised: do you want to use the `new` keyword when pulling a poll
[21:21:09] *** elrabin has joined #angularjs
[21:21:11] <MacWinner> Mosselman, i are you using ng-form directive?
[21:21:13] *** bmac has joined #angularjs
[21:21:15] *** richiebkr has joined #angularjs
[21:21:16] *** sbellina has joined #angularjs
[21:21:19] <crised> iShortBus: I'm not sure...
[21:21:26] *** jmckind has joined #angularjs
[21:21:38] <Mosselman> MacWinner: no, should I?
[21:21:46] <iShortBus> `new` would make it a singleton (think class)
[21:21:46] *** JohnBat26 has joined #angularjs
[21:21:46] <Mosselman> None of the examples do, but I am guessing they are old
[21:22:06] *** SargoDarya has joined #angularjs
[21:22:19] *** bayousoft has quit IRC
[21:22:23] <MacWinner> Mosselman, i've never used it myself, but I think you might need to..
[21:22:29] <MacWinner> Mosselman, checkout ng-form examples
[21:22:37] <Mosselman> thanks MacWinner will have a look
[21:22:38] *** axsuul has joined #angularjs
[21:22:51] *** bayousoft has joined #angularjs
[21:22:51] *** axsuul has quit IRC
[21:23:29] *** axsuul has joined #angularjs
[21:23:29] *** kroogs has quit IRC
[21:23:43] *** axsuul has quit IRC
[21:24:03] *** IJNX has joined #angularjs
[21:24:04] *** gsxrgeek has joined #angularjs
[21:24:18] *** bmac_ has joined #angularjs
[21:24:21] *** axsuul has joined #angularjs
[21:24:22] <jaawerth> er, except I forgot to assign the properties
[21:24:31] *** SoulBlade has joined #angularjs
[21:24:35] *** axsuul has quit IRC
[21:25:02] *** leolrrj has quit IRC
[21:25:04] *** whatadewitt has quit IRC
[21:25:05] <iShortBus> crised: i agree with jaawerth. ignore my link
[21:25:12] *** axsuul has joined #angularjs
[21:25:13] *** simplyshipley has quit IRC
[21:25:19] *** bayousoft has quit IRC
[21:25:25] *** gsxrgeek has quit IRC
[21:25:26] <jaawerth> there, updated with start and stop functions!
[21:25:27] *** axsuul has quit IRC
[21:25:37] *** sbellina has quit IRC
[21:25:37] *** richiebkr has quit IRC
[21:25:46] *** seriema has joined #angularjs
[21:25:49] *** gsxrgeek has joined #angularjs
[21:25:51] *** fotoflo has joined #angularjs
[21:25:52] *** bayousoft has joined #angularjs
[21:25:55] *** fotoflo has left #angularjs
[21:26:07] *** axsuul has joined #angularjs
[21:26:11] <Mosselman> MacWinner: it seems to do more, but it contradicts most sources I have found.
[21:26:16] *** bmac has quit IRC
[21:26:21] *** axsuul has quit IRC
[21:26:31] *** gsxrgeek has quit IRC
[21:26:32] *** richiebkr has joined #angularjs
[21:26:32] <crised> jaawerth: reading it
[21:26:33] *** SargoDarya has quit IRC
[21:26:37] *** alinou has quit IRC
[21:26:53] *** fotoflo has joined #angularjs
[21:27:04] *** axsuul has joined #angularjs
[21:27:15] <jaawerth> oh, and I'd make the polling frequency come from a value that you can inject
[21:27:16] *** yts has joined #angularjs
[21:27:17] *** doginal has quit IRC
[21:27:19] *** axsuul has quit IRC
[21:27:20] <jaawerth> that way you can easily tune/configure it
[21:27:20] <fotoflo> hi all, I want to use angular.ui dropdown, but for an element at the bottom of the page, so i want the dropdown to go UP. is there any solution for this?
[21:27:35] <crised> jaawerth: looks far more complicated
[21:27:56] *** MistahKurtz has quit IRC
[21:27:57] *** axsuul has joined #angularjs
[21:28:15] <jaawerth> pollSvc.start() to start polling, pollSvc.stop() to stop, pollSvc.data to access the current data values stored in the service
[21:28:22] *** bayousoft has quit IRC
[21:28:25] <Mosselman> MacWinner: it seems you can only use those booleans ($valid, $invalid, etc) on formfield in checks, but they return no values :S
[21:28:37] *** moritzs has quit IRC
[21:28:38] *** mikerrrrrr has quit IRC
[21:28:46] *** metasansana has joined #angularjs
[21:28:46] *** metasansana has joined #angularjs
[21:28:48] <jaawerth> $valid and $invalid are a part of ng-model-controller
[21:28:48] *** SoulBlade has quit IRC
[21:28:57] *** bayousoft has joined #angularjs
[21:29:08] <jaawerth> they're true or false
[21:29:20] *** chrisbirk has quit IRC
[21:29:23] <jaydubya> |topic
[21:30:06] <crised> jaawerth: Why would I want to make a service/
[21:30:08] <crised> ?
[21:30:26] <oniijin> :facepalm:
[21:31:33] *** bmac_ has quit IRC
[21:31:53] *** jheady has joined #angularjs
[21:32:09] *** seriema has quit IRC
[21:32:26] *** MistahKurtz has joined #angularjs
[21:33:43] <fotoflo> hi all, I want to use angular.ui dropdown, but for an element at the bottom of the page, so i want the dropdown to go UP. is there any solution for this?
[21:33:46] <Grokling> crised: You don't 'want' to make a service. You NEED to make a service.
[21:34:13] *** diosney has quit IRC
[21:34:19] <jaawerth> crised: so your app has a unified API/ a single source of truth/isn't an unmaintainable mess of 300+ line controllers
[21:34:29] *** richiebkr has quit IRC
[21:34:41] <oniijin> i think only way to learn is for him to do all his api calls in controller
[21:34:47] <oniijin> then realize WHATHAVEIDONE
[21:35:02] *** tristanp has quit IRC
[21:35:31] <Grokling> Or, he could just use jQuery, seeing as that's the answer for everything, including 'how do I make spaghetti'..
[21:35:49] <oniijin> same thing
[21:35:51] *** pen has quit IRC
[21:36:02] *** TheAceOfHearts has joined #angularjs
[21:36:05] *** Tyler_ has joined #angularjs
[21:36:08] *** JesseH has joined #angularjs
[21:36:09] <Tyler_> Hey dudes!
[21:36:15] <Tyler_> Is there a good javascript tagging system?
[21:36:18] *** moogey is now known as moogey_eat
[21:36:29] <Tyler_> that's not a thing I can jquery, is it?
[21:36:32] *** diosney has joined #angularjs
[21:36:41] <oniijin> uh what
[21:36:42] *** walden|brb is now known as walden
[21:36:56] *** davidreis has quit IRC
[21:36:57] <Grokling> A combination of rattlecan.js and delinquent_youth.js perhaps?
[21:36:58] *** prosper_ has quit IRC
[21:37:01] *** wallerdev has quit IRC
[21:37:03] <Tyler_> nice
[21:37:07] <Tyler_> oh crap
[21:37:13] <Tyler_> I thought you were serious...
[21:37:21] <crised> jaawerth: thanks
[21:37:39] <crised> Grokling: thanks
[21:38:09] *** tristanp has joined #angularjs
[21:38:35] <MacWinner> Mosselman, apologies.. I don't have much context about this since I haven't used the form stuff.. Just somethign I remember reading
[21:38:37] *** Superhard has joined #angularjs
[21:38:54] *** doginal has joined #angularjs
[21:38:58] *** jheady has quit IRC
[21:39:13] *** richiebkr has joined #angularjs
[21:39:45] *** areologist has joined #angularjs
[21:40:20] *** sahbeewah has joined #angularjs
[21:41:35] *** jMyles has joined #angularjs
[21:41:57] *** JesseH has quit IRC
[21:42:36] *** JesseH has joined #angularjs
[21:42:51]
<jaawerth> crised: also if you get something like an interval going in a controller and don't listen for the $destroy event to clean up after it, you can wind up with a rogue interval that just keeps going - and next time that controller gets instantiated, it'd double - try checking and unchecking that checkbox.. then do it two or three more times (I thought it would be entertaining to make this) http://plnkr.co/edit/wPkYWc49966YmCMMnrna?p=info
[21:42:51] <Mosselman> MacWinner: oh no, not at all :). I am just thinking out loud. I have stumbled on something very curious (at least to me). When you create a form `<form name='someForm'...` a variable named `someForm` is suddenly available. When I run `someForm.$valid` in my developer console I get `undefined`, but when I output `{{someForm.$valid}}` into my template I can actually see its value change to `true` when I fill in all the required fields :S
[21:42:56] *** Guest22_ has quit IRC
[21:43:03] *** IvailoStoianov has quit IRC
[21:43:04] *** Superhard has quit IRC
[21:43:17] <jaawerth> crised: much easier to manage with a singleton service that you can turn on and off from anywhere
[21:43:31] <MacWinner> Mosselman, someForm's variable is withing the angular scope
[21:43:35] *** JesseH has quit IRC
[21:43:37] *** richiebkr has quit IRC
[21:43:45] <MacWinner> you won't be able to console.log it without getting a handle on teh scope
[21:43:53] *** Tyler_ has quit IRC
[21:44:08] *** inspiron has joined #angularjs
[21:44:10] <Mosselman> MacWinner: sorry, I forgot to mention that I set window.$scope = $scope
[21:44:16] *** JesseH has joined #angularjs
[21:44:17] *** Isemog has joined #angularjs
[21:44:17] *** deanclkclk has quit IRC
[21:44:20] <dylan9o4> how do i run an http query only once, not every time the controller is reloaded?
[21:44:21] <jaawerth> that's..
[21:44:23] *** rikko has joined #angularjs
[21:44:25] <Mosselman> MacWinner: and I do have access to someForm, just not someForm.$valid
[21:44:26] <jaawerth> nooooo
[21:44:27] *** rakesh_ has joined #angularjs
[21:44:36] *** rakesh_ has left #angularjs
[21:44:38] *** jacuqesdancona__ has joined #angularjs
[21:44:46] <Lewix> jaawerth: help
[21:45:00] *** pknordic_ has quit IRC
[21:45:05] <MacWinner> Mosselman, are you console.log(window.$scope.someForm)
[21:45:07] *** ghanima has quit IRC
[21:45:15] <inspiron> i have an object data = { id: 'blah' } and I have a var propertyName = 'id'; How can I use the propertyName variable to call id on data?
[21:45:16] <MacWinner> Mosselman, are you console.log(window.$scope.someForm.$valid) i mean
[21:45:20] <Grokling> dylan9o4: Easy - just check if you already have the stuff you want, and only get it if you don't?
[21:45:32] <jaawerth> Lewix: ?
[21:45:59] <MacWinner> Mosselman, in dev console, you can get a handle on teh scope by clicking an html element, then in console do myscope = angular.element($0).scope()
[21:46:04] <dylan9o4> Grokling: Right now I have the query in a factory, and it runs every time the controller loads
[21:46:09] <Grokling> inspiron: data[propertyName]
[21:46:16] <Lewix> jaawerth: so im using an isolate scope with {boolean: "=boolean"} and in the link property i access it with either scope.boolean or attrs.boolean . boolean is a property of the parent scope that i set in the view ng-show= "boolean=true" / but i get a error
[21:46:19] *** stormbytes has joined #angularjs
[21:46:43] <jaawerth> Lewix: that's because '=' is for passing data, it won't evaluate an expression
[21:46:44] <inspiron> Grokling, thanks
[21:46:56] *** phoenixw has joined #angularjs
[21:47:09] <Lewix> jaawerth: ahhh
[21:47:24] <oniijin> ...
[21:47:24] *** Isemog has left #angularjs
[21:47:30] <Grokling> dylan9o4: Make your factory function a bit smarter - it can still run everytime, just doesn't necessarily have to contact the api.
[21:47:32] <jaawerth> Lewix: use '&' to evaluate an expression on parent scope's context (and I assume you were looking for boolean === true there, which you can shortcut to just "boolean" or "!!boolean" )
[21:47:32] <Lewix> jaawerth: i should use & i guess and create a function instead
[21:47:53] <jaawerth> & doesn't need functions, you can pass in any expression (it's the same way ng-click works)
[21:47:57] *** e0ipso is now known as e0ipso|away
[21:48:03] <jaawerth> you just call/evaluate it as a function from your directive
[21:48:06] *** richiebkr has joined #angularjs
[21:48:07] <Mosselman> MacWinner: I'll try again, but I am sure that I have the right values, etc. When I do `someForm` in the console I see the form element with the classes, etc that it should have `ng-invalid`, etc, then I change the values and it gets a class `ng-valid`, it all works, the only thing is that I can't programmatically check if the form is valid such as `someForm.$valid`. But when I output that to the template html it does show up, that is the weirde
[21:48:08] <jaawerth> scope.boolean()
[21:48:14] <Lewix> jaawerth: thanks ill try that
[21:48:32] <Lewix> jaawerth: any diff betweet scope.boolean = true and attrs.booleand = true that i should know about?
[21:48:44] *** frem has joined #angularjs
[21:48:44] *** JesseH has quit IRC
[21:48:53] *** richiebkr has quit IRC
[21:48:58] *** leolrrj has joined #angularjs
[21:48:59] *** jacuqesdancona__ has quit IRC
[21:49:00] <MacWinner> Mosselman, is your someForm your DOM element? or your angular scope? they are different
[21:49:00] *** richiebkr has joined #angularjs
[21:49:03] <jaawerth> Mosselman: that's because your form someForm object gets populated by the form directive, so it doesn't initially exist within your controller
[21:49:10] *** axsuul_ has joined #angularjs
[21:49:21] <Lewix> jaawerth: i guess i can use both in a directive
[21:49:22] *** axsuul_ has quit IRC
[21:49:25] *** JesseH has joined #angularjs
[21:49:45] <Mosselman> MacWinner: jaawerth so in my controller I need to use $scope.someForm.$valid?
[21:49:47] <jaawerth> Mosselman: you just need to defer any that uses the ngModelController stuff in the controller until after a single digest. If you're using angular 1.3+, you can do this with a bindOnce watcher
[21:50:00] <MacWinner> Mosselman, oh.. yeah.. what jaawerth said too.. but that's assuming your are using ng-form directive I think.. since directives will have their own scope
[21:50:06] *** axsuul_ has joined #angularjs
[21:50:11] <Lewix> ng-click="boolean" is equivalent to "boolean=true" ...interesting
[21:50:12] <MacWinner> Mosselman, yeah.. I think so.. try it out
[21:50:18] <jaawerth> yeah, it sounds like this is being done from a controller and not a directive though
[21:50:19] *** axsuul_ has quit IRC
[21:50:25] <Mosselman> jaawerth: MacWinner yes that seems to be it, your angular.element... thing worked
[21:50:44] *** lexek_ has quit IRC
[21:50:47] <jaawerth> you CAN use angular.element, but that's kind of a nasty thing to do outside of a directive
[21:50:52] <MacWinner> Mosselman, if in your template {{ someForm.$valid }} works then in your controller, you would use $scope.someForm.$valid
[21:51:02] *** axsuul_ has joined #angularjs
[21:51:25] <jaawerth> you just need to either initialize $scope.someForm = {} or defer the call with $timeout or a one-time watcher
[21:51:29] <Mosselman> MacWinner: `$scope.someForm.$valid` does not work however.
[21:51:34] *** phoenixw has quit IRC
[21:51:35] *** sonofdirt has quit IRC
[21:51:48] <Mosselman> jaawerth: how would this defer work?
[21:51:52] <jaawerth> one sec
[21:51:55] <MacWinner> Mosselman, what jaawarth said..
[21:51:57] <jaawerth> you using 1.3+?
[21:52:00] *** axsuul_ has joined #angularjs
[21:52:11] *** sonofdirt has joined #angularjs
[21:52:14] *** axsuul_ has quit IRC
[21:52:25] *** Aerospark has joined #angularjs
[21:52:36] *** axsuul has quit IRC
[21:52:48] *** JesseH has quit IRC
[21:52:49] <Mosselman> 1.2.27 apparently
[21:52:55] *** axsuul has joined #angularjs
[21:52:57] <Mosselman> (ionic framework)
[21:53:10] *** axsuul has quit IRC
[21:53:16] *** JesseH has joined #angularjs
[21:54:00] *** axsuul has joined #angularjs
[21:54:10] *** sonofdir_ has joined #angularjs
[21:54:12] *** sonofdirt has quit IRC
[21:54:14] *** axsuul has quit IRC
[21:54:27] *** jonathanpglick has quit IRC
[21:54:34] <oniijin> are u talkin bout mgmessages deferred
[21:54:52] *** axsuul has joined #angularjs
[21:55:07] *** axsuul has quit IRC
[21:55:42] *** Una has quit IRC
[21:55:44] *** raibutera has joined #angularjs
[21:55:47] *** axsuul has joined #angularjs
[21:56:00] *** Una has joined #angularjs
[21:56:06] *** Aerospark has quit IRC
[21:56:19] *** JesseH has quit IRC
[21:56:29] *** mikene_ has quit IRC
[21:56:31] *** MistahKurtz has quit IRC
[21:56:49] *** sharkcat has joined #angularjs
[21:56:51] *** bkuberek_ has joined #angularjs
[21:56:51] *** emmesswhy has quit IRC
[21:56:58] *** kesshi has quit IRC
[21:56:59] *** bkuberek has quit IRC
[21:57:08] *** cthrax has joined #angularjs
[21:57:22] *** rzec_ has quit IRC
[21:57:25] <Lewix> jaawerth: there's no difference between ng-show="blah=true" and ng-show="blah" (even i havent defined blah yet) right
[21:57:32] *** ghanima has joined #angularjs
[21:58:19] *** fedenunez has quit IRC
[21:58:24] <oniijin> blah=true == true
[21:59:02] *** danecando has quit IRC
[21:59:07] <Mosselman> jaawerth: thanks!
[21:59:15] <jaawerth> ===
[21:59:32] *** jaydubya has quit IRC
[21:59:39] <Mosselman> although I see that when using 1.2.27 I have to do some other things
[21:59:44] <oniijin> =========
[21:59:47] <Lewix> oniijin: sorry?
[22:00:10] <oniijin> you're assigning blah to true, so of course that ngshow will show
[22:00:19] <jaawerth> Lewix: why don't you try <input type="checkbox" ng-model="blah"><p ng-show="blah=true">Hi!</p> in a plnkr and see what happens ;-)
[22:00:21] *** glitch-hat has quit IRC
[22:00:25] *** jaydubya has joined #angularjs
[22:00:32] *** whunt_ has joined #angularjs
[22:00:35] <jaawerth> I'm not being sarcastic, it might help you learn
[22:00:47] <Lewix> jaawerth: i tried on my code. im double checking to make sure nothing is wrong with my logic here=)
[22:00:57] <oniijin> triple check
[22:02:43] *** bzitzow has joined #angularjs
[22:02:59] *** doug64k has joined #angularjs
[22:03:17] *** wallerdev has joined #angularjs
[22:03:20] *** dobladez has quit IRC
[22:03:24] *** DrMabuse_ has quit IRC
[22:03:25] *** whunt has quit IRC
[22:03:28] *** ChadStrat has joined #angularjs
[22:03:28] *** MaxV has quit IRC
[22:04:05] *** baweaver has joined #angularjs
[22:04:12] *** D-Boy has quit IRC
[22:04:22] *** D-Boy has joined #angularjs
[22:04:26] *** fernandojsg has joined #angularjs
[22:05:09] <nickeddy> oniijin: quadruple
[22:05:25] *** AngularUI has joined #angularjs
[22:05:25]
<AngularUI> [ng-grid] PaulL1 opened pull request #2363: Fix #2343 (selection) header height (master...2343_header_height) http://git.io/CCZLkQ
[22:05:25] *** AngularUI has left #angularjs
[22:05:36] <fernandojsg> Hi everyone
[22:06:15] *** SergioFilhow_ has joined #angularjs
[22:07:02] *** dotsspwe has quit IRC
[22:07:11] *** Sadin has joined #angularjs
[22:07:13] *** davi has joined #angularjs
[22:07:26] *** SergioFilhow has quit IRC
[22:07:26] *** bayousoft has quit IRC
[22:07:30] *** kesshi has joined #angularjs
[22:07:34] <Grokling> Lewix: Can you explain the difference between a = b , a == b and a === b ?
[22:07:37] *** TheAceOfHearts has quit IRC
[22:07:50] *** qdk has quit IRC
[22:07:52] <Lewix> tchip
[22:08:01] *** bayousoft has joined #angularjs
[22:08:04] <nickeddy> tchip is the wrong answer, sorry
[22:08:14] *** andrew9183 has joined #angularjs
[22:08:19] *** mrru has quit IRC
[22:08:26] <Grokling> ^ this guy...
[22:08:41] *** marcelaraujo has joined #angularjs
[22:08:48] <nickeddy> <3 Grokling
[22:08:58] *** emanresu404 has joined #angularjs
[22:09:06] <inspiron> i have a $watch that watches on myVar. I changed myVar... myVar = 'newValue' but the watch didn't fire
[22:09:06] *** crewshin_ has joined #angularjs
[22:09:06] *** Nivag_ has quit IRC
[22:09:13] <fernandojsg> what is going on with those = ? :D
[22:09:27] *** jbeaudry has quit IRC
[22:09:41] <jiverson> inspiron create a plunker
[22:10:09] <inspiron> k
[22:10:15] *** Sadin has quit IRC
[22:10:24] <Grokling> I rather suspect watches are just as vulnerable to primitive assignment as $scope is..
[22:10:28] *** livingstn has quit IRC
[22:10:37] *** artisangoose has quit IRC
[22:11:06] *** DrMabuse_ has joined #angularjs
[22:11:23] <fernandojsg> hey Grokling I was playing again a little bit with your advices about OOP X)
[22:11:40] *** tilgovi has quit IRC
[22:11:42] *** shaisnir has joined #angularjs
[22:12:15] <Grokling> fernandojsg: Don't mind me... today, I have no idea what I'm talking about ;-)
[22:12:26] *** Sadin has joined #angularjs
[22:12:28] <fernandojsg> Grokling: hahaha
[22:12:35] *** jonatas_oliveira has quit IRC
[22:13:04] <Grokling> It's just after 10am, and already I feel like having a beer.
[22:13:32] *** Lewix has quit IRC
[22:13:48] *** jbeaudry has joined #angularjs
[22:13:57] *** Mxyzpltk has quit IRC
[22:13:57] <fernandojsg> Grokling: the more drunk you're the more original your code solutions :)
[22:13:59] *** Guest22 has joined #angularjs
[22:14:22] *** Mxyzpltk has joined #angularjs
[22:14:24] * Grokling thinks it's very rude that Lewix quit without answering his question.
[22:15:56] *** DrMabuse_ has quit IRC
[22:16:29] *** bayousoft has quit IRC
[22:16:39] *** TheAceOfHearts has joined #angularjs
[22:16:49] <jaawerth> burzum: angular.module('newModule', []); - the [] is where you register dependencies on your module, but it's ALSO how you declare a new module
[22:17:06] <jaawerth> burzum: angular.module('newModule') (without the []) is then an accessor for that module
[22:17:17] *** bayousoft has joined #angularjs
[22:18:15] <PigDude_> Grokling: welcome to irc, where worrying about who might've been rude is a pointless endeavor.
[22:18:20] <burzum> jaawerth, thats good to know as well, thanks :) but im trying to understand the module pattern and how angular is made available so that I can just call "angular.module()", I dont see where its doing window.angular = {} or returning an object in the anonymous function.
[22:18:40] *** __danimal__ has quit IRC
[22:18:50] *** whunt_ has quit IRC
[22:18:55] *** sonofdirt has joined #angularjs
[22:18:59] *** sonofdir_ has quit IRC
[22:19:03] <PigDude_> burzum: `angular' is provided as the browser executes angular.js (or angular.min.js)
[22:19:11] <jaawerth> it does it the same way other libraries do it
[22:19:13] *** busticated has quit IRC
[22:19:14] <burzum> PigDude_, im aware of it
[22:19:18] <PigDude_> burzum: which is why your code can use `angular` functions
[22:19:24] <jaawerth> the same weay jquery defines window.$ and lodash defines window._
[22:19:27] *** mikehaas763 has quit IRC
[22:19:28] *** dnewkerk has joined #angularjs
[22:20:07] <Grokling> PigDude_: Thanks for the welcome.. been here for a while ;-)
[22:20:09] <burzum> my issue is that this example on this page differs from what I see in angular.js i cant find the return or assignment of window.angular
[22:20:27] *** ehynds has quit IRC
[22:20:44] <PigDude_> burzum: as jaawerth said, you can create a module w/ angular.module(moduleName, moduleDeps), and you can access a created module with angular.module(moduleName)
[22:21:00] <burzum> thats not my question pigdude
[22:21:01] <PigDude_> burzum: could you point to this example?
[22:21:30] <jiverson> inspiron myService.myVar needs to be on the scope for the watcher to work
[22:21:36] <jaawerth> github is a magical place ;-)
[22:21:38] <PigDude_> burzum: angular's module system is separate from other JS module systems/patterns you might read about
[22:21:51] *** bmac has joined #angularjs
[22:21:51] <burzum> PigDude_ im aware of this as well and thats still not my question :)
[22:21:59] <PigDude_> burzum: it is designed for dependency injection, like most of angular: angular's module system provides a distinct "config" phase
[22:22:00] *** dc has quit IRC
[22:22:20] *** davi has quit IRC
[22:22:34] *** dc_ has joined #angularjs
[22:22:57] <Grokling> burzum: You just want to know how angular gets connected to window right?
[22:22:58] <burzum> jaawerth, thank you, havent seen it in this mass assignment and with the or condition :/
[22:23:01] <PigDude_> burzum: well i'm running out of questions to answer. you ask 'how can i expose my anonymouse "module" to window?', you do that via `angular.module(moduleName)`
[22:23:11] <inspiron> k
[22:23:13] <inspiron> thanks
[22:23:15] <burzum> Grokling yes, jaawerth just answered my questions
[22:23:18] *** mokush has joined #angularjs
[22:23:52] *** debunk has quit IRC
[22:23:57] <Foxandxss> uhhhhh
[22:23:59] <Foxandxss> uhhhhhhhhhh
[22:23:59] <Foxandxss> uhhhhhhhhh
[22:24:01] <Foxandxss> PigDude_: hey
[22:24:09] <PigDude_> hey Foxandxss how's it going?
[22:24:16] <PigDude_> i'm working at a place that uses angular again :P
[22:24:19] <PigDude_> been a few years huh
[22:24:19] <robdubya> in top level scope, window.angular == angular
[22:24:19] *** woah has quit IRC
[22:24:21] *** lsiv568 has quit IRC
[22:24:28] <robdubya> === angular even
[22:24:35] *** marcelaraujo has quit IRC
[22:24:36] <Grokling> fernandojsg: Did you come to any startling realisations about OOP?
[22:24:38] <Foxandxss> PigDude_: good and you? we lost you!
[22:24:59] *** neoven has joined #angularjs
[22:25:15] <jaawerth> I've decided we need a gulp module that maps ui-router routes
[22:25:15] <PigDude_> Foxandxss: still hanging in there!
[22:25:23] <jaawerth> so you can split them up but still be able to view them at a glance
[22:25:27] <robdubya> ctanga made one
[22:25:28] <robdubya> kinda
[22:25:30] *** rhp has quit IRC
[22:25:39] <Foxandxss> PigDude_: that is good, you left and you deleted your domain so I wasn't able to search you, you did well hidding :P
[22:25:41] <jaawerth> I've tried splitting them into my modules, hate it, but I don't like having them totally central either- ohhh?
[22:25:42] *** tristanp has quit IRC
[22:25:42] *** tschundeee has joined #angularjs
[22:25:50] <PigDude_> ah haha my domain is still around :) oinksoft.com
[22:25:52] <jaawerth> ctanga: I SUMMON THEE
[22:26:03] <fotoflo> anyone know how to make the angular ui.boostrap dropdown go UP? or is there another solution?
[22:26:18] <Foxandxss> PigDude_: wasn't there when I looked :P
[22:26:20] <PigDude_> but yea i was mostly off IRC for a while, excpet idling in ##closure-tools and crying that nobody asks questions there anymore
[22:26:25] <Grokling> jaawerth: You have to stare into a mirror and say his name three times..
[22:26:36] <Foxandxss> I see
[22:26:42] <jaawerth> oh, he'll show up
[22:26:46] *** whunt has joined #angularjs
[22:26:46] <jaawerth> you'lllll see
[22:26:53] <jaawerth> (probably when I'm gone though)
[22:26:56] *** PeterMetz has quit IRC
[22:27:07] <Foxandxss> he is waiting for that
[22:27:10] *** 1JTABESYQ has joined #angularjs
[22:27:10]
<1JTABESYQ> [ng-grid] PaulL1 closed pull request #2363: Fix #2343 (selection) header height (master...2343_header_height) http://git.io/CCZLkQ
[22:27:11] *** 1JTABESYQ has left #angularjs
[22:27:12] *** 92AAAQHRV has joined #angularjs
[22:27:12] <92AAAQHRV> ng-grid/master 6b5bfd2 Paul Lambert: Fix #2343 (selection) header height
[22:27:12] <92AAAQHRV> ng-grid/master 6afe789 Paul: Merge pull request #2363 from PaulL1/2343_header_height...
[22:27:13] *** 92AAAQHRV has left #angularjs
[22:27:22] *** woah has joined #angularjs
[22:27:25] *** tristanp has joined #angularjs
[22:27:32] <areologist> I'm looking to create an offline first angular app and so far I feel like I'm reinventing the wheel. anyone have experience with this?
[22:27:37] *** jmckind has quit IRC
[22:27:54] <robdubya> areologist that's pretty much the default
[22:28:08] *** ahtik has quit IRC
[22:28:10] <robdubya> if you're talking about APIs vs say, indexeddb
[22:28:12] <robdubya> that's just services
[22:28:13] *** jmckind has joined #angularjs
[22:28:32] <Foxandxss> PigDude_: how is going on? what are you doing this days?
[22:28:35] *** recurrence has joined #angularjs
[22:29:05] *** MaxV has joined #angularjs
[22:29:27] <PigDude_> Foxandxss: still programming for a living! i was in california for a year working on python backend for some medical devices, now i am in boston working on application performance monitoring software
[22:29:37] <PigDude_> Foxandxss: you?
[22:29:54] <areologist> robdubya, what I'm doing is loading some minimal infrastructure to appcache and manually bootstrapping everything else and storing it in the best available local storage
[22:30:08] <Foxandxss> I also moved for a while, didn't work out, so back at my parents home
[22:30:13] <Foxandxss> breathing for a living
[22:30:18] <PigDude_> haha
[22:30:19] <robdubya> uuuughhhh appcache
[22:30:19] <Foxandxss> which is not bad :P
[22:30:22] *** babykosh has quit IRC
[22:30:23] *** doginal has quit IRC
[22:30:27] *** uru is now known as uru|away
[22:30:33] *** tschundeee has quit IRC
[22:30:37] <Grokling> Foxandxss: How did the book work out?
[22:30:39] *** tilgovi has joined #angularjs
[22:30:59] <PigDude_> yea was going to ask did you keep writing all of those angularjs posts? i remember you were getting pretty serious about that
[22:31:09] <Foxandxss> the book is moving forward but I want to explain the stuff nicely, so I move stuff around to make a good order
[22:31:16] <PigDude_> this is like ng-book?
[22:31:20] <Foxandxss> no
[22:31:21] *** dacuca has quit IRC
[22:31:23] <PigDude_> ah ok
[22:31:32] <Foxandxss> check my blog, angular-tips.com
[22:31:34] <Foxandxss> there is a link
[22:31:40] <PigDude_> looking good!
[22:31:41] <Foxandxss> also I admin here, some days
[22:31:45] <areologist> robdubya, yes, I frakin hate appcache so far
[22:31:46] *** ChanServ sets mode: +o Foxandxss
[22:31:49] <Foxandxss> :P
[22:31:50] *** dacuca has joined #angularjs
[22:31:57] <areologist> thanks, PigDude_, have you used any of those?
[22:31:58] *** japhar81 has quit IRC
[22:31:58] <robdubya> it pretty much sucks
[22:32:04] <PigDude_> oh man you're even an op now Foxandxss :)
[22:32:13] *** whunt has quit IRC
[22:32:20] *** sonofdirt has quit IRC
[22:32:22] <areologist> I've tried a couple things on GitHub and been displeased
[22:32:35] *** jlebrech has joined #angularjs
[22:32:37] <PigDude_> areologist: no but hoodie is a popular "offline first" framework so things related to that might be a good starting point
[22:32:40] <areologist> wondering if anyone's had production success with angular and something in particular
[22:32:46] <PigDude_> areologist: good chance in your research you find something more to-the-point
[22:32:48] <robdubya> yeah i'd handle it outside of angular entirely
[22:33:01] <areologist> thanks, PigDude; I've messed with some Hoodie stuff, but not the exact things you shared
[22:33:22] <christo_m> how can i have a directive get access to a controller in a grand parent element?
[22:33:25] <areologist> robdubya, yes, the angular stuff is manually bootstrapped
[22:33:27] <christo_m> i have a value defined in the grand parent controllers scope
[22:33:31] <Foxandxss> PigDude_: yeah, doing support here
[22:33:32] <jaydubya> I would like to reuse a factory for both new and edit -- if new, the $scope.blah won't exist but if edit, $scope.blah will exist. If I try to do anything with $scope.blah (in new), I get "unable to ... undefined". How do you guys protect a factory since my doing $scope.blah = {}; at the top wipes out the existing in edit.
[22:33:33] *** weeyum has quit IRC
[22:33:34] <christo_m> but i cant see it in the directive's link function scope
[22:33:49] <PigDude_> christo_m: a directive not using isolate scope can access controller scope properties
[22:33:57] <jaydubya> OR do I just need two factories ... but there would be copy and paste <-- BAD!!!
[22:33:58] <PigDude_> christo_m: there's also $rootScope if you like global-ish stuff
[22:34:00] <christo_m> PigDude_: do i inject $scope?
[22:34:05] <christo_m> i want to avoid using rootScope.
[22:34:26] <PigDude_> christo_m: what are you doing in the directive that you need to access parent scope? just read a value? you should have access to it
[22:34:33] *** bmac has quit IRC
[22:34:33] <areologist> Hmm. PigDude_, hoodie-angular seems to require node and couchdb
[22:34:34] <christo_m> PigDude_: how do i access it then?
[22:34:45] <PigDude_> christo_m: scope.propName
[22:34:47] *** fernandojsg has quit IRC
[22:34:53] <christo_m> PigDude_: doesnt work
[22:35:12] *** tilgovi has quit IRC
[22:35:19] <CanyonMan> in a $q the then returns anew promise right
[22:35:21] *** h0ru5 has joined #angularjs
[22:35:30] <CanyonMan> what if I want to have it return my own rpomise, can I do that?
[22:35:42] <christo_m> PigDude_: $scope.isUrlFocused = false; in the grandparent controller
[22:35:52] *** debunk has joined #angularjs
[22:35:56] <christo_m> in the linke i pass scope, element etc etc, i should just do scope.isUrlFocused and see it
[22:35:58] <PigDude_> christo_m: can you show your directive code? do you set scope config on it?
[22:36:03] <christo_m> PigDude_: ya sec
[22:36:14] *** Nivag_ has joined #angularjs
[22:36:26] *** Fishy__ has quit IRC
[22:36:37] <CanyonMan> getSomethingPromise.then( function() { return_my_new_promise() }.then( function() { return the_next_promise() } ) .then( function() { return yet another one } );
[22:36:51] <CanyonMan> does that make sense? The angular $q page isn't making it clear to me
[22:37:09] <PigDude_> christo_m: I only see you setting that value here. keep in mind the caveat of child scope lookup
[22:37:10] <jiverson> yes you can chain promises CanyonMan if that is your question
[22:37:14] *** jlebrech has quit IRC
[22:37:17] *** scythe__ has joined #angularjs
[22:37:19] *** MaxV has quit IRC
[22:37:19] *** kesshi has quit IRC
[22:37:22] *** borvoh has quit IRC
[22:37:26] <CanyonMan> What I really want to do is to chain $resource requests
[22:37:31] <CanyonMan> to make one after the other after the other
[22:37:50] <PigDude_> christo_m: change parent's assignment from $scope.isUrlFocused = false; to $scope.dummy = { isUrlFocused: false }, then you should be able to access scope.dummy.isUrlFocused in child
[22:37:51] *** dacuca has quit IRC
[22:38:05] <dcherman> CanyonMan: in series, or in parallel? if in series, then you're doing it correctly by chaining through .then()
[22:38:06] <christo_m> hmm
[22:38:06] <areologist> plus Hoodie does way too much. I've got a very lean homegrown solution in the works but so far it's quirky in FireFox for reasons I don't understand and I've not even begun to test in mobile browsers. Feeling discouraged and like I'm reinventing the wheel.
[22:38:20] *** dacuca has joined #angularjs
[22:38:41] <areologist> anyway, thanks ppl
[22:38:52] *** NormySan has quit IRC
[22:38:57] *** walden is now known as walden|brb
[22:39:21] *** Superhard has joined #angularjs
[22:39:26] *** dacuca has quit IRC
[22:39:30]
<burzum> jaawerth i still dont get how angular.forEach for example gets assigned. by looking ath the link youve shown me before I see that angular gets defined and all the functions that become available as angular.someFunctionName() after that in the same root scope? I dont see anything similar to this https://carldanley.com/js-module-pattern/
[22:39:44] *** shaisnir has quit IRC
[22:40:01] *** davek_ has quit IRC
[22:40:02] <christo_m> PigDude_: didnt work either
[22:40:06] <christo_m> i may just have to use rootScope..
[22:40:44] <PigDude_> christo_m: shouldn't need to do that, sharing scopes w/ directives is pretty common thing to do
[22:40:46] <Foxandxss> $rootScope is wrong
[22:40:53] <christo_m> PigDude_: well it doesnt work lol
[22:40:54] <christo_m> not sure
[22:40:58] *** ngbot has joined #angularjs
[22:40:59] <ngbot> angular.js/master fb2c585 Georgios Kalpakas: fix(filterFilter): let expression object `{$: '...'}` also match primitive items...
[22:40:59] *** ngbot has left #angularjs
[22:41:03] <jaawerth> burzum: that's the unbuilt/unconcatenated form
[22:41:08] <jiverson> do not use rootscope in directives i beg you
[22:41:14] <PigDude_> christo_m: can you put it in a plnkr?
[22:41:22] <jaawerth> burzum: angular uses build tools to concatenate, minify, etc their code, and I believe it also wraps everything in a closure
[22:41:26] <burzum> jaawerth so there is a built script that will concatenate it?
[22:41:29] <jaawerth> it will make more sense if you look at the compiled form
[22:41:43] <burzum> jaawerth i didnt know that, thanks again
[22:41:48] *** newb has quit IRC
[22:41:58] <jaawerth> burzum: yes, they use grunt IIRC
[22:42:10] <jaawerth> you can see their gruntfile in the angular github repo
[22:42:10] *** lsiv568 has joined #angularjs
[22:42:19] <jaawerth> I would recommend exploring there for such things
[22:42:44] *** ngbot has joined #angularjs
[22:42:44] <ngbot> angular.js/master 83f88c1 kwypchlo: refactor(orderBy): remove unneeded function wrapping
[22:42:44] *** ngbot has left #angularjs
[22:43:00] *** opiates_ has joined #angularjs
[22:43:06] *** ctanga has quit IRC
[22:43:29] <jiverson> their build will wrap it all up in a nice closure
[22:43:37] *** patrick99e99 has quit IRC
[22:43:39] <jaawerth> util.wrap
[22:44:01] *** RobinBAwesome has joined #angularjs
[22:44:03] <jaawerth> 'tis in the gruntfile
[22:44:10] *** ngbot has joined #angularjs
[22:44:10] <ngbot> angular.js/master cd77c08 kwypchlo: perf(limitTo): replace for loop with slice
[22:44:10] *** ngbot has left #angularjs
[22:44:30] *** Superhard has quit IRC
[22:44:49] <christo_m> PigDude_: well plunker isnt working , gg
[22:44:58] <PigDude_> christo_m: jsfiddle works too
[22:45:00] <areologist> also it looks like the hoodie appcache loader is just a wrapper around appcache-nanny, a library I've already hacked on and determined it won't work for me
[22:45:04] *** leolrrj has quit IRC
[22:45:12] <jaawerth> burzum: closures?
[22:45:24] <christo_m> this should work?
[22:45:27] *** loverajoel has quit IRC
[22:45:34] *** pknordic_ has joined #angularjs
[22:45:35] *** Sna4x8 has quit IRC
[22:45:35] <jaawerth> burzum: you can access window (and attach stuff to it) from anywhere
[22:45:46] <PigDude_> christo_m: need to see the html too
[22:45:48]
<burzum> jaawerth i see that and im looking at https://carldanley.com/js-module-pattern/ this and understand it I think but both examples there do a new MyModule() but I cant find that one in the angular build.
[22:45:55] <PigDude_> christo_m: plnkr seems to be online
[22:45:58] <christo_m> PigDude_: why did you wrap it like that though?
[22:46:05] <PigDude_> christo_m: wrap what?
[22:46:10] <PigDude_> christo_m: you mean the dummy example?
[22:46:10] <christo_m> PigDude_: like you put it in a dummy object
[22:46:11] <christo_m> why
[22:46:28] *** annlewis has quit IRC
[22:46:31] <jaawerth> well, there are a million ways to do things, particularly in a loose language like javascript
[22:46:55] <PigDude_> christo_m: basically, in some cases scope item can be ambiguous and binding to properties of some object bound to scope works around that
[22:46:56] *** loverajoel has joined #angularjs
[22:47:00] <jaawerth> but still, I again recommend you take a look at the built (but not minified) source
[22:47:36] *** doginal has joined #angularjs
[22:47:41] *** startupality has joined #angularjs
[22:47:42] *** sandelius has quit IRC
[22:47:46] <PigDude_> christo_m: nowadays people use ng-controller="SomeController as some" and access {{ some.value }}, so this cannot be ambiguous. it's better.
[22:47:47] *** wolf2k_huh is now known as wolfman2000
[22:48:03] *** fedenunez has joined #angularjs
[22:48:08] <PigDude_> christo_m: i've gotta jump on the train in a second but good luck!
[22:48:49] <areologist> robdubya: you said earlier that offline first is the default; just wondering how you approach it. I imagine you aren't using hoodie for all your apps.
[22:48:49] *** PigDude_ has quit IRC
[22:49:07] *** wowa has quit IRC
[22:49:13] *** mak`` has quit IRC
[22:49:16] *** Aerospark has joined #angularjs
[22:49:36] *** bayousoft has quit IRC
[22:49:42] *** Mosselman has left #angularjs
[22:49:45] <areologist> I mean offline first in a strong sense: app can be loaded without internet connection and a subset of features available, with syncing infrastructure when connection is available
[22:50:04] *** CrashHD has joined #angularjs
[22:50:05] *** bayousoft has joined #angularjs
[22:50:14] <areologist> what I tend to see, e.g., firebase apps, is offline first in an attenuated sense
[22:50:16] *** pknordic_ has quit IRC
[22:51:25] <areologist> I can only concur with the person who wrote that "appCache is a dbag" article.
[22:51:26] *** startupality has quit IRC
[22:51:38] *** loverajoel has quit IRC
[22:52:40] <jaawerth> burzum: that's because you never attached your function to your object
[22:52:42] *** whunt has joined #angularjs
[22:52:54] <tga> this is interesting, I'm probably screwing something up with $q
[22:53:13] *** Sky[x] has joined #angularjs
[22:53:18] <tga> $q.all takes deferreds or promises?
[22:53:26] <CanyonMan> yeah, in series ... I don't want to kill the backend
[22:53:33] <CanyonMan> i'm getting a list which is a list of 97 items
[22:53:41] *** AngularUI has joined #angularjs
[22:53:42]
<AngularUI> [ng-grid] PaulL1 opened pull request #2367: Fix #2355 (selection) allow width smaller than 30 px (master...2355_selection_width) http://git.io/-Ny9-w
[22:53:42] *** AngularUI has left #angularjs
[22:53:47] <CanyonMan> then for each one of those 97, I have to query for a list of subitems which unfortunately is the only way to do it because of this sutpid api
[22:53:49] *** MTBNut has quit IRC
[22:53:50] <burzum> jaawerth, yes, i begin to feel like a complete idiot and wasting your time - but where is angular doing that? ive tried searching the source for angular = and window.angular = but couldnt really figure it out
[22:54:01] *** spatialbrew has quit IRC
[22:54:08] *** bkuberek_ has quit IRC
[22:54:16] *** vonnegut has quit IRC
[22:54:37] *** bkuberek has joined #angularjs
[22:55:21] *** ctanga has joined #angularjs
[22:55:27] *** jonathanpglick has joined #angularjs
[22:55:35] <CanyonMan> For this next step I'd actually kind of like to build up an array of deferreds and then have them all run in series with a single command like $q.allOneAtATime()
[22:55:38] <CanyonMan> but i don't know how to do that
[22:55:44] *** ChadStrat has quit IRC
[22:55:51] <jaawerth> burzum: um, I don't believe they have the built source on the github repo but if you take a look at the angular.js (not minified) in a code editor (with syntax highlighting for your eyes) you'll see the start of a self-invoking function early on
[22:55:54] * jaawerth checks
[22:56:02] <jaawerth> burzum: line 6 for 1.3.6
[22:56:06] *** dotsspwe has joined #angularjs
[22:56:10] *** danecando has joined #angularjs
[22:56:33] <jaawerth> and it uses a weird syntax that makes sublimetext's bracket finding capability cry
[22:56:36] <jaawerth> haha
[22:56:46] *** one0one has joined #angularjs
[22:56:48] <burzum> moment, need to download that version
[22:56:48] *** sheplu has joined #angularjs
[22:56:55] <jaawerth> alright
[22:57:00] <jaawerth> I'll be back in 10 though
[22:57:05] <jaawerth> but if you say stuff, I'll see it then ;-)
[22:57:15] <burzum> that? (function(window, document, undefined) {'use strict';
[22:57:17] *** moogey_eat is now known as moogey
[22:57:31] <jaawerth> yes
[22:57:48] *** ingsoc1 has quit IRC
[22:57:50] <jaawerth> burzum: and then line... 25998 closes it
[22:57:52] *** ingsoc has joined #angularjs
[22:58:01] *** fedenunez has quit IRC
[22:58:02] *** fedenunez1 has joined #angularjs
[22:58:06] *** whunt has quit IRC
[22:58:20] *** elrabin has quit IRC
[22:58:22] <jaawerth> but you haven't attached anything to your object there
[22:58:27] *** busticated has joined #angularjs
[22:58:32] * jaawerth is in an infinite loop
[22:58:33] *** recidive has quit IRC
[22:58:35] *** tschundeee has joined #angularjs
[22:59:05] *** shaisnir has joined #angularjs
[22:59:19] *** AngularUI has joined #angularjs
[22:59:19]
<AngularUI> [ng-grid] PaulL1 closed pull request #2367: Fix #2355 (selection) allow width smaller than 30 px (master...2355_selection_width) http://git.io/-Ny9-w
[22:59:19] *** AngularUI has left #angularjs
[22:59:47] <jaawerth> I commented the line I added
[22:59:49] *** Oxynum has joined #angularjs
[23:00:10] *** darrin has quit IRC
[23:00:33] <CanyonMan> If you do $q.all( [ p1, p2, p3 ] )
[23:00:39] <CanyonMan> does it run them all at once if it can?
[23:00:47] <CanyonMan> or is it basically series?
[23:00:51] *** glitch-hat has joined #angularjs
[23:01:31] <jiverson> CanyonMan I think they run in series yes
[23:01:37] *** IsraelOrtuno has joined #angularjs
[23:01:40] <CanyonMan> ok that's what i want
[23:01:46] <jiverson> then you get 1 callback when they all are completed
[23:01:58] *** whunt has joined #angularjs
[23:02:09] <jiverson> well success and fail callback
[23:02:18] *** dmack has quit IRC
[23:02:55] *** Mxyzpltk has quit IRC
[23:03:30] *** evilaliv3 has quit IRC
[23:03:34] *** tschundeee has quit IRC
[23:03:42] <burzum> jaawerth the way you did it i would expect to find angular.forEach = forEach; in the angular source but I cant find that (either its me or the formatting or syntax of it)
[23:03:43] *** doginal has quit IRC
[23:03:45] <jaawerth> burzum: it's all in there, but they use a lot of tricks
[23:03:56] <jaawerth> just spend some time with it
[23:04:03] <jaawerth> for the record, I'm not on the angular team either ;-)
[23:04:11] <burzum> im already banging my head against this for ~1.5h ;)
[23:04:14] *** helen_ has joined #angularjs
[23:04:29] <jaawerth> how much have you used angular itself?
[23:04:37] <jaawerth> rather than reading the code?
[23:04:42] *** whunt_ has joined #angularjs
[23:04:52] *** JBreit has quit IRC
[23:04:55] <jaawerth> it's good that you're reading the code but a good balance is going to help, if you haven't developed with it a ton
[23:04:55] <burzum> ive written a comment module for a site using only angular
[23:05:03] <burzum> did some other forms with it as well
[23:05:15] <burzum> there is an existing app and new stuff is done in angular now
[23:05:25] *** Snugug has quit IRC
[23:05:25] *** glitch-hat has quit IRC
[23:05:38] *** whunt has quit IRC
[23:05:44] <jaawerth> but they have a bunch of closures within closures within closures going on in there
[23:05:48] *** dmamills is now known as dmamillzzzzzzzz
[23:05:50] *** JohnBat26 has quit IRC
[23:05:54] *** Efrem has quit IRC
[23:06:01] <jaawerth> I certainly don't know everything that their code is doing, I still learn new things all the time by reading it
[23:06:07] <jaawerth> anyway, back in 10 (this time for real)
[23:06:11] <burzum> jaawerth honestly i could not really get warm with JS because it *always* appears like a huge mess to me
[23:06:22] *** fedenunez1 has quit IRC
[23:06:30] <burzum> which it obviously still is for me after digging in that source :)
[23:06:45] <Grokling> CanyonMan: They'll start in series.. but there's no constraint around finishing before the next one starts. Which is the point of $q.all - only return when all of these promise chains have completed.
[23:06:48] *** denysonique_ has quit IRC
[23:07:01] *** kentaro0919 has joined #angularjs
[23:07:01] *** AngularUI has joined #angularjs
[23:07:01]
<AngularUI> [ng-grid] PaulL1 opened pull request #2368: Fix #2356 #1979 (gridMenu): add enableHiding to tutorial (master...2356_column_hiding) http://git.io/qIjuZA
[23:07:01] *** AngularUI has left #angularjs
[23:07:33] *** denysonique has joined #angularjs
[23:07:56] <stormbytes> anyone have a quick fix to AngularJS $http.post() json vs. query params problem?
[23:08:34] *** jmckind has quit IRC
[23:08:34] *** doug64k has quit IRC
[23:08:53] <stormbytes> this is just funny at this point > 50% of the web runs on php an AngularJS implements a (default) post configuration that half the internet doesn't understand by default.
[23:09:01] *** BillCriswell has quit IRC
[23:09:13] <stormbytes> leave it to Google to have a revolution-of-1
[23:09:25] <stormbytes> and then force it on everything trough Google+
[23:09:39] *** lsiv568 has quit IRC
[23:09:49] *** bayousoft has quit IRC
[23:10:40] *** doginal has joined #angularjs
[23:10:51] <themime> stormbytes: yea but most angular apps don't have a php backend :)
[23:10:54] *** SargoDarya has joined #angularjs
[23:11:02] <fotoflo> what happned to the Angular Batarang extension? it seems all messed up...
[23:11:32] <themime> fotoflo: haha oh man. you have no idea. or maybe you do lol
[23:11:34] *** Kay-z has joined #angularjs
[23:11:40] *** bayousoft has joined #angularjs
[23:11:44] <Grokling> stormbytes: I think it's called 'progress'
[23:11:52] *** rud has quit IRC
[23:11:54] <stormbytes> themime i wasnt aware angular apps 'had' a backend
[23:12:02] <stormbytes> Grokling lmao
[23:12:18] *** jbelmont has quit IRC
[23:12:34] *** Hestil has quit IRC
[23:12:37] <stormbytes> *anything* that stems from Google will ultimately end in the ground, always.
[23:12:41] *** mokush has quit IRC
[23:12:47] <tga> I'm gettin a Cannot read property 'then' of undefined when using controller as syntax
[23:12:50] *** tristanp has quit IRC
[23:12:55] <stormbytes> its the company that thinks its a religion
[23:12:55] <CanyonMan> Ifone of the things in $q.all fails I want it to continue on :(
[23:12:57] <tga> but not when using $scope for the exact same thing
[23:13:04] *** fedenunez has joined #angularjs
[23:13:06] *** gunn has joined #angularjs
[23:13:08] *** ingsoc has quit IRC
[23:13:21] *** SoulBlade has joined #angularjs
[23:13:33] *** zwacky_ has joined #angularjs
[23:13:33] *** crised has quit IRC
[23:13:34] *** walden|brb is now known as walden
[23:13:37] *** bayousoft has quit IRC
[23:13:43] *** josh-k has joined #angularjs
[23:13:46] <tga> CanyonMan: then don't use .all(), roll your own
[23:13:57] *** ghanima has quit IRC
[23:14:05] <themime> stormbytes: relax bruh
[23:14:14] <Grokling> CanyonMan: Then you need to handle the failure before it returns to the $q.all, OR, handle it in the error handler of $q.all.
[23:14:15] *** josh-k has quit IRC
[23:14:22] *** bayousoft has joined #angularjs
[23:14:25] *** jaredwilli has quit IRC
[23:14:37] <themime> stormbytes: very few apps /don't/ have a backend, but ive seen you here before and know youre not an idiot, so i assume youre trying to make some kind of point?
[23:14:38] *** josh-k has joined #angularjs
[23:15:14] *** SargoDarya has quit IRC
[23:15:16] *** sgen_ has quit IRC
[23:15:16] *** CodeFriar has quit IRC
[23:15:20] <tga> when using controller as does the controller run multiple times or something?
[23:15:39] <themime> tga: not anymore than usual
[23:15:46] <stormbytes> themime, not sure about the 'not an idiot' part, but apps no longer 'have' a backend -- front end (html/javascript, whatever) is 'loosely-coupled' to whatever resources exist in the backend via common protocols (http/REST, whatever)
[23:15:46] *** FIFOd[a] has quit IRC
[23:16:07] *** Kay-z has quit IRC
[23:16:24] <Grokling> Pedantry. Have vs Use
[23:16:27] <themime> come on man even you couldn't find a different word for "backend"
[23:16:39] *** bayousoft has quit IRC
[23:16:40] *** ChadStrat has joined #angularjs
[23:16:52] <stormbytes> themime - when > 50% of the web uses query strings for POST requests and AngularJS 'decides' it would be in the interest of 'progress' to set it up to send 'json' by default, that's called a revolution-of-1
[23:16:53] *** neoven has quit IRC
[23:17:04] <themime> a loosely coupled backend is still a backend? just because you can swap out backends doesn't make it any less of a backend
[23:17:23] <tga> I'm getting a Cannot read property 'then' of undefined in a Object.ngIfWatchAction, not too sure what this has to do with 'controller as'
[23:17:27] <inspiron> anyone know how to align an angular dropdown menu window to the left? by default it aligns the window to the right
[23:17:28] *** nemothekid has quit IRC
[23:17:29] *** bayousoft has joined #angularjs
[23:17:32] <stormbytes> themime -- dude, there *is* no 'backend' or front-end, only data exchange.
[23:17:47] <stormbytes> its a 'resource'
[23:17:52] *** SoulBlade has quit IRC
[23:17:58] *** fedenunez has quit IRC
[23:18:05] *** IsraelOrtuno has quit IRC
[23:18:15] *** peldan has quit IRC
[23:18:16] <stormbytes> its not 'married' to angular anymore then it is to safari, chrome, my macbook air or this coffee table its sitting on
[23:18:21] *** CodeFriar has joined #angularjs
[23:18:31] *** IsraelOrtuno has joined #angularjs
[23:18:41] *** peldan has joined #angularjs
[23:19:06] <themime> stormbytes: you just sound upset you have to call $http(opts) instead of $http.post
[23:19:11] <jiverson> stormbytes are you trying to post via query params and not json right?
[23:19:21] *** dacuca has joined #angularjs
[23:19:22] <Grokling> What's the consensus on busting JSON strings into proper JS dates?
[23:19:34] <jiverson> you can set a default header and use transform request
[23:19:37] *** caitp has quit IRC
[23:19:38] *** tga0 has joined #angularjs
[23:19:38] <nickeddy> Grokling: moment.js
[23:19:53] <tga0> man, digitalocean is lagging for me like there is no tomorrow
[23:20:23] <stormbytes> jiverson yeah I'm right about there now, I tried to change the headers in the actual request... no dice
[23:20:26] *** doug64k has joined #angularjs
[23:20:54] <Grokling> nickeddy: Of course. I'm having a stupid morning. Thanks.
[23:20:57] <stormbytes> jiverson this 'data: "token=" + ping.id,' works with 'headers: {'Content-Type': 'application/x-www-form-urlencoded'}'
[23:21:06] <stormbytes> but it is beyond arse-backwards to have to do that
[23:21:10] <nickeddy> Grokling: no worries :)
[23:21:18] *** nemothekid has joined #angularjs
[23:21:57] *** jMyles has quit IRC
[23:22:04] *** Soxad has joined #angularjs
[23:22:13] *** sbellina has joined #angularjs
[23:22:25] <tga0> so I am doing a $http call in a controller, keeping the promise, and doing a then() on it
[23:22:42] <tga0> using 'controller as', I have some ng-ifs on mycontroller.foo
[23:22:50] <tga0> and those get me a Cannot read property 'then' of undefined
[23:22:59] <stormbytes> themime what's the point of having $http.post if you "have to use $http(opts)" ?
[23:23:03] <tga0> trouble is, I only have one then and that works on the $http promise
[23:23:10] *** peldan has quit IRC
[23:23:17] <tga0> stormbytes: you don't have to use opts?
[23:23:20] <stormbytes> themime and it doesn't work regardless ugh
[23:23:24] <tga0> you can $http.post('/foo', data)
[23:23:43] <stormbytes> tga0 you haven't been following the rant
[23:23:49] <tga0> oh sorry
[23:23:52] <stormbytes> i'm trying to do exactly that
[23:23:57] <tga0> I have my own $http-related party here
[23:23:57] *** startupality has joined #angularjs
[23:24:01] <stormbytes> :)
[23:24:29] *** jonatas_oliveira has joined #angularjs
[23:24:49] <stormbytes> tga0 got a plunk?
[23:24:59] <tga0> oh, actually it's something related to $animate
[23:25:06] <tga0> inside a ngIfDirective
[23:25:14] <stormbytes> there you go
[23:25:18] <themime> stormbytes: that link you gave was 2 years old. Grokling had it, its progress man. we're not doing 8 year old jquery anymore. i moved to angular to get away from that. i switched to java and then meanstack because php seemed outdated as well. i think it has its uses still but... just because 50% of people do something doesn't mean /shit/. i don't know if
[23:25:19] <themime> you've noticed but there are a lot of people who don't think about anything they're doing
[23:25:24] <Soxad> hey what do you guys use to parse the $http string
[23:25:34] *** akrikos has quit IRC
[23:25:34] *** robot443 has quit IRC
[23:25:36] <tga0> using angular-animate 1.2 with angular 1.3.6 is not a good idea, right?
[23:26:04] *** ron1 has quit IRC
[23:26:30] <Grokling> stormbytes: slightly less than 50% of web developers are below average.. Maybe there's a connection there?
[23:26:33] *** h0ru5 has quit IRC
[23:26:36] <themime> Grokling: :)
[23:26:54] *** sbellina has quit IRC
[23:27:13] <tga0> damn, so much wasted time, I was using an old version of angular-animate with a new version of angular
[23:28:03] <themime> stormbytes: oh and we use .net at work. had 0 issues patching into our old non-restful hackjob of a backen- back-facing resource
[23:28:06] <stormbytes> themime dude, progress is a personal *choice* -- i'm with you on mean stack, exploring that route myself after 10+ years of php and dabbling in ruby for half as long, so chill. If you'd bother to actually contemplate what I wrote -- my issue is with Angular ("Google") for crappy "configuration" in defiance of convention. Angular is a *client* app -- what good is its $http implementation if HALF the f*** web doesn't understand it out of the box?
[23:28:24] *** peldan has joined #angularjs
[23:28:36] <stormbytes> themime .net?? dude you're on MS and you're preaching to me about 'progress' ?? lmao
[23:28:40] *** Sky[x] has quit IRC
[23:28:46] <tga0> what's wrong with the $http configuration again?
[23:28:57] <helen_> stormbytes: for what its worth $resource works pretty well with post and that problem?
[23:29:03] <tga0> I'm using the defaults without any problems here
[23:29:17] *** inspiron has quit IRC
[23:29:26] <themime> stormbytes: exactly. sometimes we don't have a choice of the resources, but if my shitty backend didn't work right away i wouldn't have spent 30m ranting in irc. i guess thats the difference to me
[23:29:46] *** peldan has quit IRC
[23:29:56] <stormbytes> themime shitty backend? I'm using Sinatra/thin for testing -- that's rack
[23:30:18] *** peldan has joined #angularjs
[23:30:20] <themime> stormbytes: i was talking about my .net
[23:30:23] *** seriema has joined #angularjs
[23:30:28] <themime> and half the web doesn't matter - ive never seen anyone else complain about this, so in the angular world, its clearly not a big deal
[23:30:43] <themime> i guess irc doesn't represent the whole angular world
[23:30:52] <stormbytes> that post you said was "2 years old" -- do you have a better solution, a full 2-years-later ??
[23:31:23] *** walden is now known as walden|brb
[23:31:35] *** davek_ has joined #angularjs
[23:31:40] *** bayousoft has quit IRC
[23:31:44] <stormbytes> i'm not pointlessly arguing statistics... i'm po'd cuz i have to spend my time debugging friggin **boiler plate crap that Angular has to needlessly complicate
[23:31:59] <stormbytes> and if you're working in .net you should understand what that is like
[23:32:13] *** bayousoft has joined #angularjs
[23:32:25] <morenoh149> hi guys
[23:32:30] *** chrisshattuck has quit IRC
[23:33:12] <stormbytes> i don't understand why $http.post('/url', {foo: "bar"}) can't be sent as /url/?foo=bar
[23:33:16] <stormbytes> how much is that to ask for?
[23:33:25] <stormbytes> crap
[23:33:30] *** cboden has quit IRC
[23:33:35] *** mary5030 has quit IRC
[23:33:51] *** jonatas_oliveira has quit IRC
[23:33:59] <helen_> u can do resource.save '/url', {foo: "bar"}, data :P and thatll work
[23:34:09] <themime> stormbytes: i don't enough about it, im poking around but i don't have a php server to test with anymore. im curious now about it but don't have a way to test
[23:34:23] <themime> helen_: don't think you have the full scope of the issue
[23:34:28] *** jonatas_oliveira has joined #angularjs
[23:34:29] <Soxad> are you guys using jquery to parse your $http strings?
[23:34:38] <stormbytes> bah.. well, i'm gonna play with it and hopefully figure it out. i'm trying to isolate the problem
[23:34:46] <helen_> no, cuz ive only been here for a few minutes , but that would give the url he wants
[23:34:50] *** peldan has quit IRC
[23:34:58] *** mary5030 has joined #angularjs
[23:35:22] *** ngbot has joined #angularjs
[23:35:22]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 6cb5fbf to fd1528a: http://git.io/T-YKFA
[23:35:22] *** ngbot has left #angularjs
[23:35:33] <helen_> but gotta go for awhile so cant figure out the full scope unfortunately :(
[23:36:05] *** seriema has quit IRC
[23:36:30] *** ngbot has joined #angularjs
[23:36:31]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from fd1528a to 32eec67: http://git.io/9h6nWg
[23:36:31] *** ngbot has left #angularjs
[23:36:48] <Grokling> Interestingly, w3schools ref on http methods says: query strings (name/value pairs) is sent in the URL of a GET request: /test/demo_form.asp?name1=value1&name2=value2
[23:36:52] <Grokling> query strings (name/value pairs) is sent in the HTTP message body of a POST request: POST /test/demo_form.asp HTTP/1.1 name1=value1&name2=value2
[23:36:56] <stormbytes> i'm gonna drop the post request and us GET even though it isn't RESTful
[23:37:13] *** IJNX has quit IRC
[23:37:41] *** ngbot has joined #angularjs
[23:37:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 32eec67 to 8b56c08: http://git.io/ndBPyw
[23:37:41] *** ngbot has left #angularjs
[23:37:47] <themime> stormbytes: oh, i just remembered i started with php and had a similiar issue and i hacked the json out of the body in php (i knew waaaaay more about php than angular at the time so i didn't even think about f inding an angular solution)
[23:38:06] <stormbytes> Grokling didn't know that
[23:38:27] <stormbytes> php rocked back then :)
[23:38:32] <stormbytes> php was the shite
[23:38:41] *** ngbot has joined #angularjs
[23:38:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8b56c08 to 337ce67: http://git.io/sCU95w
[23:38:41] *** ngbot has left #angularjs
[23:38:50] <stormbytes> php is so yesterday now
[23:39:04] <stormbytes> even with the late emergenc of composer
[23:39:07] <themime> stormbytes: so what is your issue exactly? does your backend (resource whatever) not accept json?
[23:39:43] *** sinious has joined #angularjs
[23:39:43] *** emanresu404 has quit IRC
[23:39:52] <stormbytes> seemingly... not entirely sure yet
[23:39:54] *** startupality has quit IRC
[23:39:58] <Grokling> Seems like his backend violates the HTTP standard perhaps..
[23:40:01] <fotoflo> hmm, suddenly the scope in one of my controllers broke… any good ways to find out where?
[23:40:27] <stormbytes> $http.post('/url', { data: "foo"}) doesn't work at all -- doesn't send via POST -- 404
[23:40:31] *** BrianTheAss has joined #angularjs
[23:40:34] *** macobo has joined #angularjs
[23:40:40] *** ngbot has joined #angularjs
[23:40:40]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 337ce67 to f297aa5: http://git.io/o2SZHw
[23:40:41] *** ngbot has left #angularjs
[23:40:55] <stormbytes> well actually i think updating headers did work 'a little' -- like i said, i'm still isolating the problem
[23:41:09] <BrianTheAss> For your enjoyment, I just discovered: responseType: "json" should be used sparingly, especially if you return un wrapped strings, guids, INTs or other single values. If the return body looks like "some value" rather than {"value":"some value"}, then responseType: "json" will fail on Chrome and Firefox.
[23:41:10] <themime> stormbytes: have you confirmed your php actually works? like via postman or something?
[23:41:20] *** herbyme has joined #angularjs
[23:41:40] *** ngbot has joined #angularjs
[23:41:40]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from f297aa5 to 924e68c: http://git.io/J3llgw
[23:41:41] *** ngbot has left #angularjs
[23:41:47] *** jMyles has joined #angularjs
[23:42:06] <stormbytes> themime -- no, no i'm not using a php backend here, i'm just saying the same problem occurs with php machines (which is > 50% of the web)
[23:42:12] <stormbytes> i'm using sinatra/thin
[23:42:33] <sinious> Anyone know why a bound $scope property can be changed (with or without $apply called after) yet never updates a view? I can console.log($scope.var); and it's full of new data, a ng-repeat is just not 'seeing' it
[23:42:40] *** ngbot has joined #angularjs
[23:42:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 924e68c to 85758ce: http://git.io/CyXByg
[23:42:41] *** ngbot has left #angularjs
[23:42:43] *** netameta has quit IRC
[23:42:46] *** wa5ted has quit IRC
[23:42:57] *** doginal has quit IRC
[23:43:06] *** wa5ted has joined #angularjs
[23:43:20] <themime> stormbytes: is that node?
[23:43:26] <themime> ooh ruby
[23:43:26] <jaawerth> anyone used textAngular with 1.3.x? it says it's still on 1.2.x but I'm thinking about trying it out anyway, rather than wrapping quill (ngQuill has wayyyyy too many configuration attributes and I'd rather rewrite it myself than use that API)
[23:43:28] <stormbytes> ruby
[23:43:35] *** ngbot has joined #angularjs
[23:43:35]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 85758ce to d604f94: http://git.io/4EBUWQ
[23:43:36] *** ngbot has left #angularjs
[23:43:55] <themime> jaawerth: andrew9183 mentioned looking at it but im not sure if he made any progress
[23:43:56] <jaawerth> ooh nevermind they're on a 1.3.x release now
[23:44:25] *** recurrence has quit IRC
[23:44:25] <BrianTheAss> sinious, do you have sample code of this posted anywhere, like on plunker?
[23:44:28] <jaawerth> that must have just been merged in the past week
[23:44:29] <themime> stormbytes: my question still stands regardless of the language - you said you got a 404, that doesn't seem at all like a query parameters thing
[23:44:40] *** ngbot has joined #angularjs
[23:44:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from d604f94 to d161cc6: http://git.io/OT1T0g
[23:44:41] *** ngbot has left #angularjs
[23:44:57] <themime> stormbytes: thats what happens to me when i forget to add my new route to my app in express
[23:44:59] *** davek_ has quit IRC
[23:44:59] <stormbytes> themime i got a 404 on $http.post() but when I use $http(config) it works
[23:45:01] *** DANtheBE- is now known as Danavu
[23:45:08] *** yelvert has quit IRC
[23:45:20] <stormbytes> themime i test all my routes manually
[23:45:22] <themime> whats your config look like? non-json?
[23:45:25] <stormbytes> all 4 of them lol
[23:45:36] *** ngbot has joined #angularjs
[23:45:36]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from d161cc6 to 24eb528: http://git.io/U3Y8iA
[23:45:36] *** ngbot has left #angularjs
[23:45:46] <sinious> BrianTheAss: it's one of those odd situations where I can get a demo to work just fine. It just "suddenly" doesn't work anymore and I can't reproduce it. The only difference now is I'm caching data I get from $https and if I recover it and apply it to a $scope property it never triggers a digest
[23:46:00] <stormbytes> themime i need to isolate the problem -- not that i don't love any excuse to rant at Google ;) bbl
[23:46:06] *** GreenJello has joined #angularjs
[23:46:09] <fotoflo> when i pull scope from the console i get something like this: {$id: 1, $$childTail: ChildScope, $$childHead: ChildScope, $$prevSibl… not the scope that I have defined
[23:46:17] <fotoflo> anyone have an idea why?
[23:46:41] *** ngbot has joined #angularjs
[23:46:41]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 24eb528 to 25152bb: http://git.io/usFrCw
[23:46:42] *** ngbot has left #angularjs
[23:46:47] <jaawerth> um, because that stuff is in scope?
[23:46:49] <nickeddy> fotoflo: that is a scope...
[23:46:51] <Foxandxss> fotoflo: that is the scope
[23:47:14] <Soxad> im trying to figure out how to scrape data from an $http GET string, i have tried using regular expressions and figured there has to be a better way, what do you guys use to parse html?
[23:47:15] <fotoflo> err. ok. But for example i have $scope.org = {name : “my org”} and that’s not showing up
[23:47:21] *** raibutera has quit IRC
[23:47:22] <themime> stormbytes: ah gotcha good luck
[23:47:27] <nickeddy> fotoflo: it's there, look for it.
[23:47:36] *** ngbot has joined #angularjs
[23:47:36]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 25152bb to a5f037d: http://git.io/2hcR4w
[23:47:36] *** ngbot has left #angularjs
[23:47:41] <fotoflo> its not - its not rendering on template either
[23:47:44] *** Oxynum has quit IRC
[23:47:49] <stormbytes> themime :)
[23:47:51] <nickeddy> fotoflo: make a plnkr
[23:48:01] <stormbytes> themime will look at that... k back to skull cracking
[23:48:15] <fotoflo> isnt plunkr down?
[23:48:28] <themime> fotoflo: was up like 10m ago
[23:48:34] <fotoflo> k, its back up
[23:49:48] *** ngbot has joined #angularjs
[23:49:48]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from a5f037d to e3bf1ed: http://git.io/OtjMaA
[23:49:48] *** ngbot has left #angularjs
[23:50:38] *** Oxynum has joined #angularjs
[23:50:46] *** ngbot has joined #angularjs
[23:50:46]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e3bf1ed to 4a18274: http://git.io/j8zWTw
[23:50:46] *** ngbot has left #angularjs
[23:51:45] *** ngbot has joined #angularjs
[23:51:45]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 4a18274 to b62c858: http://git.io/EbPdPg
[23:51:45] *** ngbot has left #angularjs
[23:52:22] *** D9 has joined #angularjs
[23:52:30] *** Soxad has quit IRC
[23:52:39] *** elrabin has joined #angularjs
[23:52:40] *** dc___ has joined #angularjs
[23:52:48] *** ngbot has joined #angularjs
[23:52:48]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b62c858 to e091bb7: http://git.io/Fe5gkg
[23:52:49] *** ngbot has left #angularjs
[23:52:49] *** dc_ has quit IRC
[23:53:04] *** patrickarlt has joined #angularjs
[23:53:24] *** baweaver has quit IRC
[23:53:27] *** farn5w0rth has quit IRC
[23:53:31] *** sharkcat has quit IRC
[23:53:40] *** ngbot has joined #angularjs
[23:53:40]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e091bb7 to 0b4e150: http://git.io/Q3pbCg
[23:53:40] *** ngbot has left #angularjs
[23:53:44] *** deanclkclk has joined #angularjs
[23:54:11] *** OddDuck has quit IRC
[23:54:11] *** walden|brb is now known as walden
[23:54:32] *** OddDuck has joined #angularjs
[23:54:32] *** OddDuck has joined #angularjs
[23:54:43] *** ngbot has joined #angularjs
[23:54:44]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0b4e150 to bdbe4fd: http://git.io/GYCM6A
[23:54:44] *** ngbot has left #angularjs
[23:55:46] *** ngbot has joined #angularjs
[23:55:47]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from bdbe4fd to fb2c585: http://git.io/opFrDw
[23:55:47] *** ngbot has left #angularjs
[23:55:57] *** it0a has quit IRC
[23:56:11] *** recidive has joined #angularjs
[23:56:28] *** crewshin_ has quit IRC
[23:56:42] *** mven has quit IRC
[23:56:43] *** ngbot has joined #angularjs
[23:56:43]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from fb2c585 to 83f88c1: http://git.io/L3M_5Q
[23:56:43] *** ngbot has left #angularjs
[23:56:53] *** dc___ has quit IRC
[23:57:01] *** tga0 has quit IRC
[23:57:18] *** bayousoft has quit IRC
[23:57:21] *** dc_ has joined #angularjs
[23:57:48] *** ngbot has joined #angularjs
[23:57:48] *** ngbot has left #angularjs
[23:57:50] <fotoflo> is there any way to get an earlier version of angular batarang/
[23:57:56] *** metasansana has quit IRC
[23:58:24] *** tilgovi has joined #angularjs
[23:58:59] *** doginal has joined #angularjs
[23:59:01] *** annlewis has joined #angularjs
[23:59:24] *** tga0 has joined #angularjs
[23:59:33] *** davek_ has joined #angularjs
[23:59:33] *** davek_ has joined #angularjs