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

Toggle Join/Part | bottom
[00:00:02] *** zeroquake has quit IRC
[00:00:15] *** AngularUI has joined #angularjs
[00:00:16] <AngularUI> [bootstrap] greenboxal opened pull request #2515: feat(datepicker): add open-on-focus option (master...master) http://git.io/mCPhZQ
[00:00:16] *** AngularUI has left #angularjs
[00:00:41] <house> omg. tfg. i finally got this PUT issue (ie. angular $resource sending an array to the api when it needed to be sending an object) working after untold hours of owrking the problem.
[00:00:47] *** Methylated has quit IRC
[00:01:00] *** arizzo_ has quit IRC
[00:01:17] <house> good feeling.. (and learned a lot in the process about $resource)
[00:01:38] *** arizzo_ has joined #angularjs
[00:02:03] *** arizzo has quit IRC
[00:02:48] *** Snugug has quit IRC
[00:02:51] *** dhcar_AFK is now known as dhcar
[00:04:25] *** prbc has quit IRC
[00:04:28] <davemerwin> I've been looking everwhere and I can't see a clear way to do this. How do I update a $scope object once I've done a PATCH with the returned promise? The patch works, but I can't get the changed object back into the scope.
[00:04:35] *** jharbaugh has quit IRC
[00:05:04] *** btyne has quit IRC
[00:05:09] *** DrShoggoth has quit IRC
[00:05:11] *** jharbaugh has joined #angularjs
[00:05:41] *** TorchDragon has quit IRC
[00:06:09] *** arizzo_ has quit IRC
[00:07:22] *** jharbaug_ has joined #angularjs
[00:07:36] *** smoothgrips has quit IRC
[00:07:53] *** dhcar is now known as dhcar_AFK
[00:08:06] *** stirlingw has quit IRC
[00:08:11] *** jharbaugh has quit IRC
[00:08:24] *** fedenunez has quit IRC
[00:08:28] *** spookyfork has quit IRC
[00:08:39] *** Xethron has quit IRC
[00:10:22] *** jobelenus has quit IRC
[00:11:06] *** simsketch_ has quit IRC
[00:11:10] *** yaru22 has quit IRC
[00:12:00] *** Sawbones has quit IRC
[00:12:02] *** tomzx is now known as tomzx`afk
[00:12:52] *** BillCriswell has joined #angularjs
[00:12:56] *** phuh has quit IRC
[00:13:03] *** francisl has joined #angularjs
[00:13:22] *** phuh has joined #angularjs
[00:13:26] *** panchisco has quit IRC
[00:14:01] *** panchisco has joined #angularjs
[00:14:18] *** UniBot has joined #angularjs
[00:14:26] *** UniBot has joined #angularjs
[00:14:57] *** francisl has quit IRC
[00:15:01] *** Sgeo has joined #angularjs
[00:15:08] *** jamto11 has joined #angularjs
[00:15:53] *** tonycoco has quit IRC
[00:16:15] *** volk_ has quit IRC
[00:16:30] *** wilmoore has quit IRC
[00:17:34] *** lordkryss has joined #angularjs
[00:19:04] *** Scarlioni has quit IRC
[00:19:42] *** tplaner has joined #angularjs
[00:20:04] <shacklef_> Is there a way to pass an object from a controller to another controller
[00:20:31] *** thomasreggi has joined #angularjs
[00:21:41] *** Fishy has joined #angularjs
[00:22:08] *** arkanciscan has quit IRC
[00:23:15] *** yoshokatana has joined #angularjs
[00:24:25] *** davedev24_ has quit IRC
[00:24:34] *** Rahul_Roy has quit IRC
[00:24:36] *** davedev24_ has joined #angularjs
[00:24:53] *** chasematterhorn has joined #angularjs
[00:27:52] *** yoshokatana has quit IRC
[00:28:28] *** dcherman2 has quit IRC
[00:28:44] *** fold has quit IRC
[00:29:52] *** zfogg has joined #angularjs
[00:30:59] *** mamarilmanson has quit IRC
[00:31:32] *** gunn has quit IRC
[00:33:12] *** artisangoose has quit IRC
[00:34:42] *** Reskp has quit IRC
[00:35:14] *** b1rkh0ff has quit IRC
[00:35:39] *** mary5030 has quit IRC
[00:35:43] <zfogg> /set env TERM screen-256color
[00:35:47] *** calumet has joined #angularjs
[00:35:58] *** arizzo has joined #angularjs
[00:36:05] *** zfogg has quit IRC
[00:36:14] *** mary5030 has joined #angularjs
[00:36:18] *** zivester has quit IRC
[00:36:37] *** TorchDragon has joined #angularjs
[00:36:38] *** arizzo has joined #angularjs
[00:37:04] *** zfogg has joined #angularjs
[00:37:43] *** ccohn has joined #angularjs
[00:38:33] *** robclancy has quit IRC
[00:38:55] *** fairchild has joined #angularjs
[00:39:28] <davek> http://www.directiv.es/angular-round-progress-directive/readme
[00:39:37] *** Snugug has joined #angularjs
[00:39:40] <davek> Shit if you're going to make a web development site, at least make sure its half way usable.
[00:39:51] *** night-owl2 has joined #angularjs
[00:40:07] <SuperPhly> hey guys, i have some router-ui states setup for internal pages, but what is the "home" page state? What do you typically name ".com/"
[00:40:07] <BahamutWC|Work> ads...
[00:40:12] *** thomasreggi has quit IRC
[00:40:23] *** mary5030 has quit IRC
[00:40:51] *** cigol has joined #angularjs
[00:41:01] *** Harsha has joined #angularjs
[00:41:04] *** TorchDragon has quit IRC
[00:41:11] <zfogg> SuperPhly: 'main'
[00:41:18] *** arizzo has quit IRC
[00:41:22] *** b1rkh0ff has joined #angularjs
[00:41:31] <SuperPhly> zfogg: cool, and then the sub-states are children of main?
[00:41:38] *** thomasreggi has joined #angularjs
[00:41:42] *** Destos has quit IRC
[00:41:43] *** kas84 has quit IRC
[00:41:49] *** FunnyLookinHat has quit IRC
[00:42:13] <zfogg> SuperPhly: generally, or siblings
[00:42:40] <SuperPhly> zfogg: thanks.
[00:42:52] <tplaner> is there a better way to set a base route url other than: base href?
[00:43:00] *** JmZ is now known as JmZ_
[00:43:24] *** JosephSilber has quit IRC
[00:43:59] *** Sauvin has joined #angularjs
[00:45:04] *** ccohn has quit IRC
[00:45:37] *** ccohn has joined #angularjs
[00:45:45] <Harsha> Hi
[00:46:02] *** bencc has joined #angularjs
[00:46:04] <davek> Holy god http://angular-js.in/angular-progress-arc/
[00:46:09] *** arizzo has joined #angularjs
[00:46:10] <Harsha> I need some help of embedding reveal js to create slides using angularjs
[00:46:13] *** Jdubs has quit IRC
[00:46:19] *** Red-Beard has quit IRC
[00:46:30] *** Methylated has joined #angularjs
[00:47:08] *** zumba_addict has joined #angularjs
[00:47:22] <zumba_addict> hey folks
[00:47:23] *** Harsha has quit IRC
[00:47:28] *** lucasefe has quit IRC
[00:47:29] *** DrMabuse has quit IRC
[00:47:31] *** avree has quit IRC
[00:47:58] *** Harsha has joined #angularjs
[00:48:33] *** sonofdirt has quit IRC
[00:48:36] *** avree has joined #angularjs
[00:48:51] *** jonnybro has joined #angularjs
[00:49:02] *** apetro_ has quit IRC
[00:49:16] *** dcherman has joined #angularjs
[00:49:31] *** JosephSilber has joined #angularjs
[00:49:47] *** Aerospark has joined #angularjs
[00:49:48] *** ccohn has quit IRC
[00:50:03] *** arizzo has quit IRC
[00:50:36] *** arizzo has joined #angularjs
[00:50:54] *** Aerospark has quit IRC
[00:51:47] *** nanoyak has quit IRC
[00:51:55] *** shinnya has quit IRC
[00:53:10] *** nanoyak has joined #angularjs
[00:53:15] *** cspra85 has quit IRC
[00:53:23] *** marr has quit IRC
[00:53:43] *** zumba_addict has quit IRC
[00:54:53] *** arizzo has quit IRC
[00:55:12] *** cthrax has joined #angularjs
[00:55:41] *** Jdubs has joined #angularjs
[00:55:54] *** nemothekid has quit IRC
[00:57:09] *** shinnya has joined #angularjs
[00:57:10] *** Nivag has joined #angularjs
[00:58:14] *** shacklef_ has quit IRC
[00:58:33] *** mikehaas763 has quit IRC
[01:01:07] *** thomasreggi has quit IRC
[01:01:33] *** chrisshattuck has quit IRC
[01:02:28] *** tomzx`afk is now known as tomzx
[01:02:32] *** kirfu has quit IRC
[01:03:18] *** McDuckie has quit IRC
[01:03:52] *** one_zero has joined #angularjs
[01:03:52] *** scrooge_mcduck has joined #angularjs
[01:03:58] <scrooge_mcduck> hello
[01:04:06] <da_wunder> hi
[01:04:48] *** davemerwin has quit IRC
[01:04:57] *** Jdubs has quit IRC
[01:05:35] *** jordandotdev has quit IRC
[01:06:54] <scrooge_mcduck> lol
[01:07:04] *** mennea has quit IRC
[01:07:09] *** Jdubs has joined #angularjs
[01:07:23] *** geilt has joined #angularjs
[01:07:34] *** mennea has joined #angularjs
[01:08:23] *** walkling has joined #angularjs
[01:08:26] *** slainer68 has quit IRC
[01:08:41] *** Willow has joined #angularjs
[01:10:45] *** kirfu has joined #angularjs
[01:10:52] *** RobinBAwesome has quit IRC
[01:11:07] *** wallerdev has quit IRC
[01:11:23] *** uf6667 has quit IRC
[01:12:10] *** cthrax has quit IRC
[01:12:57] *** phuh has quit IRC
[01:13:01] *** slainer68 has joined #angularjs
[01:13:33] *** phuh has joined #angularjs
[01:13:44] *** night-owl2 has quit IRC
[01:14:00] <tplaner> hey guys, I have $locationProvider.html5Mode(true); and a base route set, and there seems to be a slight flicker when I switch between pages which was not present before...any thoughts?
[01:15:14] *** avree has quit IRC
[01:15:22] *** kirfu has quit IRC
[01:15:39] *** Harsha has quit IRC
[01:16:06] *** wafflejock has joined #angularjs
[01:16:13] *** JimTheDev has quit IRC
[01:16:33] *** Jdubs has quit IRC
[01:17:10] *** heidi has quit IRC
[01:17:49] <scrooge_mcduck> is there any way to change an proeprty/attribute of an directive instance?
[01:17:54] <linagee> ls -altr
[01:18:02] *** mary5030 has joined #angularjs
[01:18:03] <linagee> wrong window. :)
[01:18:33] *** JosephBergevin__ has quit IRC
[01:19:45] *** BillCris_ has joined #angularjs
[01:19:48] *** mercwithamouth has joined #angularjs
[01:19:50] *** waylon999 has quit IRC
[01:19:54] *** Joseph_Silber has joined #angularjs
[01:19:55] *** fold has joined #angularjs
[01:20:05] *** BillCris_ has quit IRC
[01:20:07] *** waylon999 has joined #angularjs
[01:20:25] *** henn1nk has quit IRC
[01:20:32] *** McDuckie has joined #angularjs
[01:20:53] <McDuckie> is there any way to change an proeprty/attribute of an directive instance?
[01:21:00] *** elrabin has quit IRC
[01:21:10] <McDuckie> from the controller containing it
[01:21:11] *** Nizumzen has quit IRC
[01:21:47] *** jamto11 has quit IRC
[01:21:48] *** slainer6_ has joined #angularjs
[01:22:02] *** night-owl2 has joined #angularjs
[01:22:26] *** Jorer_ has joined #angularjs
[01:22:28] *** mattp__ has joined #angularjs
[01:23:40] *** iksik__ has joined #angularjs
[01:23:59] *** IanOlson has quit IRC
[01:24:07] *** panchisco has quit IRC
[01:24:13] *** aliljet_ has joined #angularjs
[01:24:20] *** r4vi_ has joined #angularjs
[01:24:25] *** error404_ has joined #angularjs
[01:24:27] *** Simone\_ has joined #angularjs
[01:24:31] *** zerd_ has joined #angularjs
[01:24:38] *** qpok_ has joined #angularjs
[01:24:38] *** omsmith has joined #angularjs
[01:24:39] *** o3u has joined #angularjs
[01:24:42] *** linagee__ has joined #angularjs
[01:24:46] *** suffice_ has joined #angularjs
[01:24:49] *** heathkit has joined #angularjs
[01:24:49] *** plitzenberger has joined #angularjs
[01:24:50] *** GeertJohan has joined #angularjs
[01:24:50] *** GeertJohan has joined #angularjs
[01:25:00] *** Noeble has joined #angularjs
[01:25:02] *** kalehv has joined #angularjs
[01:25:03] *** armdale has quit IRC
[01:25:11] *** cigol has quit IRC
[01:25:27] *** armdale has joined #angularjs
[01:25:48] *** blackkbo- has joined #angularjs
[01:25:55] *** itsmeandrewd has quit IRC
[01:25:56] *** McDuckie_ has joined #angularjs
[01:25:57] *** mary5030_ has joined #angularjs
[01:26:06] *** wafflejock has quit IRC
[01:26:48] *** night-owl2 has quit IRC
[01:26:50] *** elxa_ has joined #angularjs
[01:26:56] *** encrypt3d_fracti has quit IRC
[01:27:02] *** gjvc_ has joined #angularjs
[01:27:51] *** hachiya_ has joined #angularjs
[01:28:42] *** McDuckie has quit IRC
[01:28:47] *** AlexZanf has quit IRC
[01:28:47] *** jr3 has quit IRC
[01:28:57] *** Fistful_of_Coins has quit IRC
[01:29:05] *** o3u is now known as Fistful_of_coins
[01:29:28] *** mary5030 has quit IRC
[01:29:29] *** slainer68 has quit IRC
[01:29:30] *** scrooge_mcduck has quit IRC
[01:29:30] *** JosephSilber has quit IRC
[01:29:31] *** tplaner has quit IRC
[01:29:31] *** BillCriswell has quit IRC
[01:29:32] *** blackkbot has quit IRC
[01:29:33] *** pluma has quit IRC
[01:29:33] *** conan_the_destro has quit IRC
[01:29:35] *** zerd has quit IRC
[01:29:36] *** mven has quit IRC
[01:29:37] *** elxa has quit IRC
[01:29:38] *** bronson has quit IRC
[01:29:39] *** iksik_ has quit IRC
[01:29:40] *** xMopxShell has quit IRC
[01:29:41] *** zonetti has quit IRC
[01:29:41] *** hachiya has quit IRC
[01:29:42] *** mdallastella has quit IRC
[01:29:42] *** everett has quit IRC
[01:29:43] *** _rgn has quit IRC
[01:29:43] *** Orginator has quit IRC
[01:29:43] *** Pwnna has quit IRC
[01:29:44] *** mu has quit IRC
[01:29:45] *** clamstar has quit IRC
[01:29:45] *** MalfaitRobin has quit IRC
[01:29:45] *** Simone\ has quit IRC
[01:29:46] *** niko has quit IRC
[01:29:46] *** Mattias has quit IRC
[01:29:47] *** baseonmars has quit IRC
[01:29:48] *** gjvc has quit IRC
[01:29:49] *** rodr1go has quit IRC
[01:29:49] *** dwayne has quit IRC
[01:29:50] *** lukegb has quit IRC
[01:29:50] *** heathkit_ has quit IRC
[01:29:51] *** GeertJohan_ has quit IRC
[01:29:51] *** omsmith_ has quit IRC
[01:29:52] *** error404 has quit IRC
[01:29:54] *** aliljet has quit IRC
[01:29:55] *** asm89 has quit IRC
[01:29:55] *** Jorer has quit IRC
[01:29:56] *** SirFunk has quit IRC
[01:29:56] *** InezK has quit IRC
[01:29:57] *** qpok has quit IRC
[01:29:57] *** r4vi has quit IRC
[01:29:58] *** linagee has quit IRC
[01:29:58] *** Noeble_ has quit IRC
[01:29:59] *** mattp_ has quit IRC
[01:30:00] *** suffice has quit IRC
[01:30:00] *** Johnny- has quit IRC
[01:30:00] *** howitdo has quit IRC
[01:30:01] *** eMBee has quit IRC
[01:30:02] *** ajk27 has quit IRC
[01:30:04] *** rx has joined #angularjs
[01:30:04] *** lukegb has joined #angularjs
[01:30:05] *** Pwnna has joined #angularjs
[01:30:05] *** patrickarlt has joined #angularjs
[01:30:05] *** rx is now known as clamstar
[01:30:05] *** Orginator has joined #angularjs
[01:30:10] *** rodr1go has joined #angularjs
[01:30:18] *** zonetti_ has joined #angularjs
[01:30:26] *** Guest35583 has joined #angularjs
[01:30:32] *** rodr1go is now known as Guest20666
[01:30:33] *** Orginator has joined #angularjs
[01:30:33] *** blueadept has quit IRC
[01:30:36] *** zonetti_ is now known as zonetti
[01:30:42] *** Mattias has joined #angularjs
[01:30:51] *** MalfaitRobin has joined #angularjs
[01:30:59] *** SirFunk has joined #angularjs
[01:31:03] *** Orginator has joined #angularjs
[01:31:21] *** everett has joined #angularjs
[01:31:30] *** eMBee has joined #angularjs
[01:31:32] *** Orginator has joined #angularjs
[01:31:33] *** dwayne has joined #angularjs
[01:31:34] *** heidi has joined #angularjs
[01:31:43] *** mdallastella has joined #angularjs
[01:31:48] *** ckboii89 has quit IRC
[01:31:51] *** niko has joined #angularjs
[01:31:55] *** pluma has joined #angularjs
[01:32:03] *** Orginator has joined #angularjs
[01:32:07] *** asm89 has joined #angularjs
[01:32:16] *** baseonmars has joined #angularjs
[01:32:23] *** Schtive has quit IRC
[01:32:29] *** whunt_ has quit IRC
[01:32:31] *** bencc has quit IRC
[01:32:32] *** Orginator has joined #angularjs
[01:32:38] *** McDuckie_ has quit IRC
[01:32:41] *** heidi has quit IRC
[01:33:02] *** Orginator has joined #angularjs
[01:33:08] *** ckboii89 has joined #angularjs
[01:33:21] *** Johnny- has joined #angularjs
[01:33:33] *** Orginator has joined #angularjs
[01:34:40] *** blueadept has joined #angularjs
[01:34:55] *** trave has quit IRC
[01:35:22] *** kernal has quit IRC
[01:35:28] *** mennea has quit IRC
[01:35:32] *** Reskp has joined #angularjs
[01:36:59] *** scrooge_mcduck has joined #angularjs
[01:37:01] *** howitdo has joined #angularjs
[01:37:10] *** rho has quit IRC
[01:37:25] *** SoldierCoder has joined #angularjs
[01:37:56] <SoldierCoder> hi
[01:38:14] *** armdale has quit IRC
[01:39:21] *** danyim has joined #angularjs
[01:39:35] *** DerekPerkins_ has quit IRC
[01:39:51] <house> hello private coder.
[01:40:19] *** Reskp has quit IRC
[01:40:23] *** simb has quit IRC
[01:40:25] <BahamutWC|Work> he could be a specialist coder
[01:40:33] <house> pfc coder
[01:40:33] *** Jae has quit IRC
[01:40:37] <house> (im his commanding opfficer)
[01:40:50] <SoldierCoder> no you are not
[01:40:57] <house> drop and giv eme 100
[01:41:04] *** arizzo has joined #angularjs
[01:41:07] <snurfery> just started messing with angular-breadcrumbs
[01:41:10] <snurfery> not bad
[01:41:15] <snurfery> angular-breadcrumb* that is
[01:41:17] <house> oh yeah?
[01:41:22] <house> so much to explore.
[01:41:27] <snurfery> https://github.com/ncuillery/angular-breadcrumb/
[01:41:31] <house> checking
[01:41:31] <snurfery> works well with ui-router
[01:42:09] <house> looks good.
[01:42:17] <ckboii89> im so confused
[01:42:29] <ckboii89> i have a api route that checks something in the back end
[01:42:36] <ckboii89> and the json returns what is intended
[01:42:41] *** ericbarnes has joined #angularjs
[01:42:57] <ckboii89> but when i do the actual service call through angular it returns not what i want..?
[01:43:09] *** simb has joined #angularjs
[01:43:34] *** dcherman2 has joined #angularjs
[01:43:52] *** \du has quit IRC
[01:45:23] <house> you'd have to post your code to get a chance at a helpful response. best place to stage your code is here
[01:45:24] <house> http://plnkr.co/
[01:46:06] *** {DV8} has joined #angularjs
[01:46:11] <house> pfc coder. you may stop doing those push ups now.
[01:46:11] *** blueadept has quit IRC
[01:46:13] *** bahoo has left #angularjs
[01:46:33] *** slainer6_ has quit IRC
[01:47:04] *** dcherman has quit IRC
[01:48:09] *** DrMabuse has joined #angularjs
[01:49:03] *** lilVaratep has quit IRC
[01:50:04] *** DrMabuse_ has joined #angularjs
[01:50:06] *** rho has joined #angularjs
[01:50:07] <davek> For those that use express on the back end and employ promises heavily in route handlers, how do you deal with exceptions? I'm currently trying to implement a custom 'RequestException' class that indicates a recoverable/notifiable exception in the route logic, just curious if this is the usual method.
[01:50:20] *** thomasreggi has joined #angularjs
[01:50:41] *** slainer68 has joined #angularjs
[01:50:48] *** lucasefe has joined #angularjs
[01:51:22] *** lordkryss has quit IRC
[01:51:46] *** Aerospark has joined #angularjs
[01:51:53] *** tp1_ has quit IRC
[01:52:25] *** arizzo has quit IRC
[01:52:28] *** whitebook has joined #angularjs
[01:52:34] *** DrMabuse has quit IRC
[01:53:05] *** thomasreggi has quit IRC
[01:53:07] *** arizzo has joined #angularjs
[01:53:15] <house> using wildfly here.
[01:53:59] <ckboii89> https://gist.github.com/gwong89/e54aa4300e405d1723a4
[01:54:03] *** DrMabuse_ has quit IRC
[01:54:11] <house> but my next project is MEAN based.. lots to get into there, im sure.
[01:55:13] *** panchisco has joined #angularjs
[01:55:26] *** mary5030_ has quit IRC
[01:55:34] *** mguillech has quit IRC
[01:55:47] *** {DV8} has quit IRC
[01:55:57] *** Aerospark has quit IRC
[01:56:00] *** whitebook has quit IRC
[01:56:21] *** tp1 has joined #angularjs
[01:56:39] *** BahamutWC|Work has quit IRC
[01:57:06] *** patrickarlt has quit IRC
[01:57:22] *** arizzo has quit IRC
[01:57:28] *** McDuckie has joined #angularjs
[01:57:35] *** mtsr has quit IRC
[01:57:45] *** scrooge_mcduck has quit IRC
[01:57:47] *** patrickarlt has joined #angularjs
[01:59:55] *** bmac has joined #angularjs
[02:00:39] *** DerekPerkins has joined #angularjs
[02:00:42] *** dcherman2 has quit IRC
[02:00:53] *** danielpquinn has quit IRC
[02:01:02] *** Guest35583 is now known as InezK_away
[02:01:32] *** InezK_away is now known as Guest32109
[02:01:34] *** Joseph_Silber has quit IRC
[02:01:57] *** danielpquinn has joined #angularjs
[02:02:14] *** dcherman2 has joined #angularjs
[02:02:23] *** patrickarlt has quit IRC
[02:02:23] *** rho has quit IRC
[02:02:27] *** UniBot has quit IRC
[02:03:37] *** nanoyak has quit IRC
[02:03:57] *** robertzehnder has joined #angularjs
[02:04:17] *** vintik has quit IRC
[02:04:19] *** dark_splinter has joined #angularjs
[02:04:23] *** rburns has quit IRC
[02:04:31] *** RedOrangeZ has quit IRC
[02:05:10] *** simb has quit IRC
[02:05:35] *** OddDuck has quit IRC
[02:06:03] <Left_Turn> i didnt realize angular was so complex
[02:06:09] *** McDuckie has quit IRC
[02:06:17] *** timppa_ has joined #angularjs
[02:06:40] *** danielpquinn has quit IRC
[02:06:42] *** ericbarnes has quit IRC
[02:07:11] *** mercwithamouth has quit IRC
[02:07:46] <Left_Turn> is it fair to say angular is for big projects & other libraries are for smaller?
[02:07:56] *** bbrown has quit IRC
[02:08:25] *** timppa has quit IRC
[02:08:36] *** hugorodrigues has quit IRC
[02:08:46] *** plitzenberger has quit IRC
[02:09:05] *** mindlace has quit IRC
[02:09:11] *** hugorodrigues has joined #angularjs
[02:09:12] *** nitsujw has quit IRC
[02:09:34] *** wallerdev has joined #angularjs
[02:10:01] *** jamto11 has joined #angularjs
[02:10:27] *** RobinBAwesome has joined #angularjs
[02:10:31] *** danyim has quit IRC
[02:10:45] *** whunt has joined #angularjs
[02:10:49] *** geilt has quit IRC
[02:11:04] *** geilt has joined #angularjs
[02:11:55] *** thomasreggi has joined #angularjs
[02:12:27] *** secondjeff has joined #angularjs
[02:12:33] *** thomasreggi has quit IRC
[02:12:49] *** JoshGlzBrk has joined #angularjs
[02:12:54] *** yaru22 has joined #angularjs
[02:12:58] *** phuh has quit IRC
[02:13:01] *** scrooge_mcduck has joined #angularjs
[02:13:24] *** phuh has joined #angularjs
[02:13:50] *** jamto11 has quit IRC
[02:13:56] *** tsalb has quit IRC
[02:14:06] *** wdgreg has joined #angularjs
[02:15:37] *** RobinBAwesome has quit IRC
[02:15:49] *** JoshGlzB_ has joined #angularjs
[02:15:59] *** dhcar_AFK is now known as dhcar
[02:16:04] *** JoshGlzBrk has quit IRC
[02:16:44] *** armdale has joined #angularjs
[02:17:13] *** yaru22 has quit IRC
[02:17:57] *** night-owl has joined #angularjs
[02:18:54] *** secondjeff has quit IRC
[02:19:13] *** MANCHUCK has joined #angularjs
[02:19:47] *** chasematterhorn has quit IRC
[02:19:56] *** MacWinner has joined #angularjs
[02:20:57] *** whunt has quit IRC
[02:21:03] *** jlyndon_ is now known as jlyndon
[02:21:57] *** dcherman2 has quit IRC
[02:23:00] <davek> Left_Turn, angular scales pretty well to projects of any size greater than a single static page.
[02:23:02] *** encrypt3d_fracti has joined #angularjs
[02:24:33] *** bluesm has quit IRC
[02:25:04] *** tp1 has quit IRC
[02:25:15] <Left_Turn> ah i see davek
[02:25:59] *** {DV8} has joined #angularjs
[02:27:34] *** encrypt3d_fracti has quit IRC
[02:28:35] *** boneskull has quit IRC
[02:28:53] <house> angular can be used for projects large and small.. what your dealing with is the learning curve.
[02:29:00] *** whunt has joined #angularjs
[02:29:07] <house> once you get over that (which I myself am still scaling)
[02:29:12] <house> it gets better and bettter
[02:29:14] *** vintik has joined #angularjs
[02:29:53] <house> http://www.bennadel.com/resources/uploads/2013/feelings_about_angularjs_over_time.png
[02:30:01] *** Aerospark has joined #angularjs
[02:31:21] <house> i think you are right now is the second trough
[02:31:42] *** danielpquinn has joined #angularjs
[02:32:47] <wdgreg> Has anyone here read ng-book?
[02:33:06] *** shinnya has quit IRC
[02:33:18] *** BillCriswell has joined #angularjs
[02:33:33] *** panchisco has quit IRC
[02:36:14] *** danielpquinn has quit IRC
[02:36:18] *** bahoo has joined #angularjs
[02:36:19] *** Reskp has joined #angularjs
[02:36:30] <davek> Oh man, spent all day getting a nifty little radial progress button working. Absolutely zero functional value but so gratifying.
[02:37:35] *** jgladwill has quit IRC
[02:37:47] *** rburns has joined #angularjs
[02:37:48] *** Sgeo has quit IRC
[02:37:55] *** TorchDragon has joined #angularjs
[02:38:12] *** linojon has joined #angularjs
[02:38:27] *** calumet has quit IRC
[02:38:31] *** briantrice has quit IRC
[02:38:55] <bahoo> Hey, recovering jQuery addict here. :D this post says only put your jQuery (when absolutely necessary!) into the directives, but then points to examples where the directives don’t have much code & it puts all the code into controllers, where jQuery shouldn’t be going? http://joelhooks.com/blog/2014/02/11/lets-make-full-ass-angularjs-directives/
[02:39:14] <bahoo> Should I be moving all my logic from a link method to a controller? Is that good form?
[02:39:38] *** Guest32109 is now known as InezK
[02:40:33] *** drej has joined #angularjs
[02:41:16] *** JoshGlzBrk has joined #angularjs
[02:41:20] *** JoshGlzB_ has quit IRC
[02:41:23] *** Reskp has quit IRC
[02:42:23] *** TorchDragon has quit IRC
[02:44:05] *** panchisco has joined #angularjs
[02:44:46] *** hswolff has joined #angularjs
[02:45:14] *** alpha080 has joined #angularjs
[02:45:20] *** rburns has quit IRC
[02:45:32] <Left_Turn> ah youre right house
[02:45:42] <house> ;)
[02:46:23] *** ckboii89 has quit IRC
[02:46:30] <Left_Turn> ill give it the extra effort just to get past that curve:(
[02:46:35] *** JoshGlzBrk has quit IRC
[02:46:49] <house> stick with it.. its worth it.. angular is the future of web front end.
[02:47:29] <house> and you have 700 friends in here to help.
[02:49:07] <Left_Turn> heh good point
[02:49:15] *** xMopxShell has joined #angularjs
[02:50:02] *** UniBot has joined #angularjs
[02:50:37] *** r0ok has quit IRC
[02:50:41] <Aerospark> I think i'm going down the a very tough path... So I bought a themeforest template, and I am trying to add it into an angular app generated with yo angular-fullstack
[02:50:54] *** krawek has quit IRC
[02:51:07] *** subnl2 has joined #angularjs
[02:51:27] <Aerospark> but there is just error after error... I just want the front page to be the themeforest page, but it has alot of jquery and asset folders that don't match angulars setup
[02:51:29] <zfogg> bahoo: try to put programming logic into directive link functions, yes... controllers are mostly for binding data between factories/services and views, if I understand correctly.
[02:52:43] *** scrooge_mcduck has quit IRC
[02:53:49] *** conan_the_destro has joined #angularjs
[02:54:06] <bahoo> Thanks zfogg. Seems like separating them makes sense here.
[02:54:18] *** jonnybro has quit IRC
[02:56:23] *** mkc has joined #angularjs
[02:56:56] *** Foxandxss has quit IRC
[02:57:57] *** calumet has joined #angularjs
[02:58:24] *** subnl2 has left #angularjs
[02:58:25] *** Aliks_ has quit IRC
[02:58:26] *** dhcar is now known as dhcar_AFK
[02:58:57] *** defaultdict has quit IRC
[03:00:21] *** slainer68 has quit IRC
[03:00:33] *** SoldierCoder has quit IRC
[03:00:47] *** yaru22 has joined #angularjs
[03:02:44] *** jamto11 has joined #angularjs
[03:04:22] *** bulkan has joined #angularjs
[03:05:00] *** wallerdev has quit IRC
[03:05:23] *** yaru22 has quit IRC
[03:05:42] *** mmitchel_ has quit IRC
[03:06:01] *** mary5030 has joined #angularjs
[03:06:16] <house> you need to fit the view code (from your theme forest package) into a new angular project
[03:06:36] <house> add the css and js includes in the angular index
[03:06:48] <house> and then wire up the routes
[03:07:10] <house> drop the view code in the route destinations
[03:07:24] *** waylon999 has quit IRC
[03:07:44] <house> trying to go the oppostie route (fitting the angular code to the themforest bundle) wont work
[03:09:51] *** mspier is now known as mspier_off
[03:10:42] *** Reskp has joined #angularjs
[03:10:45] *** mary5030 has quit IRC
[03:11:23] *** DerekPerkins has quit IRC
[03:11:54] *** MuffinMan` has quit IRC
[03:13:00] *** phuh has quit IRC
[03:13:25] *** phuh has joined #angularjs
[03:13:36] *** jordandotdev has joined #angularjs
[03:14:14] *** s3shs has joined #angularjs
[03:14:51] *** quikilr has quit IRC
[03:15:00] *** MANCHUCK has quit IRC
[03:15:16] *** Reskp has quit IRC
[03:15:24] *** KernelCurry has quit IRC
[03:15:43] *** MANCHUCK has joined #angularjs
[03:16:30] *** subnl has quit IRC
[03:17:19] *** tomzx is now known as tomzx`afk
[03:17:31] *** bphogan_afk is now known as bphogan
[03:17:42] *** briantrice has joined #angularjs
[03:19:27] *** whoughton has joined #angularjs
[03:20:24] *** tomzx`afk is now known as tomzx
[03:21:55] *** bphogan is now known as bphogan_afk
[03:22:14] <whoughton> having a weird issue where I am trying to do an orderBy for an ng-repeat and it just doesn't seem to be doing anything
[03:22:19] <whoughton> <li ng-cloak ng-repeat="job in jobs | orderBy: 'ts'" ...
[03:22:30] <whoughton> where ts is a timestamp on the object in question
[03:22:37] <whoughton> (as an actual number)
[03:22:58] *** bphogan_afk is now known as bphogan
[03:23:23] <whoughton> oh, does orderby only work on arrays?
[03:23:28] *** woebtz has quit IRC
[03:23:41] <whoughton> duh, ok
[03:24:10] *** MANCHUCK has quit IRC
[03:24:12] *** lw has joined #angularjs
[03:25:20] *** zfogg has quit IRC
[03:26:02] *** davedev24_ has quit IRC
[03:26:23] *** bphogan is now known as bphogan_afk
[03:27:16] *** bejames has quit IRC
[03:27:24] *** hachiya_ is now known as hachiya
[03:27:25] *** wallerdev has joined #angularjs
[03:28:13] *** Sgeo has joined #angularjs
[03:28:40] *** xastey- has joined #angularjs
[03:28:41] *** Aerospark has quit IRC
[03:29:07] *** Left_Turn has quit IRC
[03:29:53] *** xastey has quit IRC
[03:30:46] *** Aerospark has joined #angularjs
[03:31:27] *** kernal has joined #angularjs
[03:31:44] *** MacWinner has quit IRC
[03:31:49] *** blueadept has joined #angularjs
[03:31:49] *** blueadept has joined #angularjs
[03:32:22] *** danielpquinn has joined #angularjs
[03:33:53] *** wilmoore has joined #angularjs
[03:34:59] *** kalehv has quit IRC
[03:35:44] *** kalehv has joined #angularjs
[03:36:05] *** AngularUI has joined #angularjs
[03:36:05] <AngularUI> [ng-grid] swalters closed pull request #1318: Example of using a decorator to set default options (3.0-pinned-containers...3.0-pinned-containers) http://git.io/Z8myYA
[03:36:05] *** AngularUI has left #angularjs
[03:36:11] *** vintik has quit IRC
[03:37:11] *** danielpquinn has quit IRC
[03:37:20] *** kalehv_ has joined #angularjs
[03:37:45] *** jonashw has joined #angularjs
[03:37:56] <jonashw> hey all
[03:39:20] *** wilmoore has quit IRC
[03:39:22] *** TorchDragon has joined #angularjs
[03:39:33] <jonashw> say I'm passing an object reference to a directive (isolate scope) via an attribute: <div my-directive="some.modelValue"></div>. In my directive controller/link, how can I write an arbitrary primitive value to the bound property and have it update in the parent scope.
[03:39:37] <jonashw> ?
[03:40:16] *** kalehv has quit IRC
[03:41:40] *** hswolff has quit IRC
[03:42:03] <jonashw> (some.modelValue is a string)
[03:42:26] <davek> If you've bound it appropriately, it will simply be scope.isolateVariableName.
[03:42:32] <jonashw> it is that
[03:42:35] <jonashw> and I can read that
[03:42:40] <davek> Also you need to bind it with '='
[03:42:42] <jonashw> my directive template shows the value I expect
[03:42:50] <jonashw> and it is bound with =
[03:42:57] <davek> Then it's done.
[03:43:04] <jonashw> I wish
[03:43:07] <jonashw> something isn't right
[03:43:18] <jonashw> I think it has to do with the property being for a primitive
[03:43:27] <davek> You're binding the property of an object not an object, FYI.
[03:43:41] <davek> So it's working exactly as intended just not as you expect.
[03:43:46] *** panchisco has quit IRC
[03:43:57] *** TorchDragon has quit IRC
[03:43:59] *** lw has quit IRC
[03:44:05] <jonashw> right
[03:44:08] *** bigos has quit IRC
[03:44:53] <jonashw> I've achieved what I'm after by using a callback in the parent scope to update the value: <div my-directive="onSave"></div>
[03:45:02] <jonashw> but I want the update to be done within the directive instead
[03:45:16] *** panchisco has joined #angularjs
[03:46:17] *** Snugug has quit IRC
[03:46:44] *** s3shs has quit IRC
[03:46:55] *** mtho11 is now known as mtho11|away
[03:47:04] *** patrickarlt has joined #angularjs
[03:47:33] *** Sawbones has joined #angularjs
[03:47:53] *** AciD`` has quit IRC
[03:48:24] *** Sawbones has quit IRC
[03:48:25] *** danyim has joined #angularjs
[03:48:29] *** kirfu has joined #angularjs
[03:49:40] *** Sawbones has joined #angularjs
[03:49:42] <davek> jonashw, a plunkr would be good.
[03:51:11] *** hswolff has joined #angularjs
[03:52:16] *** diffkid_ has quit IRC
[03:52:27] *** JosephBergevin has joined #angularjs
[03:53:22] *** simsketch_ has joined #angularjs
[03:53:57] *** simsketch_ has joined #angularjs
[03:56:43] *** hswolff has quit IRC
[03:56:50] *** bmac has quit IRC
[03:57:06] *** hswolff has joined #angularjs
[03:57:18] *** ckboii89 has joined #angularjs
[03:57:55] *** tplaner has joined #angularjs
[03:59:32] *** ckboii89_ has joined #angularjs
[03:59:56] *** ryot-calvin has joined #angularjs
[03:59:58] *** ckboii89 has quit IRC
[04:00:31] *** colock has quit IRC
[04:00:35] *** kirfu has quit IRC
[04:00:44] *** kirfu has joined #angularjs
[04:01:08] *** Sawbones has quit IRC
[04:01:33] *** yaru22 has joined #angularjs
[04:01:50] *** colock has joined #angularjs
[04:02:03] *** JimTheDev has joined #angularjs
[04:02:04] *** hswolff_ has joined #angularjs
[04:02:04] *** nathggns has joined #angularjs
[04:03:09] *** danyim has quit IRC
[04:03:11] *** hswolff has quit IRC
[04:03:11] *** hswolff_ is now known as hswolff
[04:04:50] *** cyen_ has joined #angularjs
[04:05:30] *** milky has quit IRC
[04:05:56] <cyen_> hello
[04:06:02] *** milky has joined #angularjs
[04:06:02] *** quikilr has joined #angularjs
[04:06:07] *** yaru22 has quit IRC
[04:06:17] *** zarul has quit IRC
[04:06:21] *** milky is now known as Guest50762
[04:07:02] <cyen_> Is it possible to create an angularjs directive so that it watches whenever a span tag has been clicked on?
[04:07:59] *** hswolff_ has joined #angularjs
[04:08:00] <cyen_> I am trying to make this complex application, but I don't know if I understand directives enough that it is possible to do what I am trying to do..
[04:09:26] *** hswolff has quit IRC
[04:10:19] *** UniBot has quit IRC
[04:11:00] *** bijan07077 has joined #angularjs
[04:11:17] *** Reskp has joined #angularjs
[04:11:39] *** bijan07077 has quit IRC
[04:11:45] <ryot-calvin> cyen_: yes, it's possible
[04:11:53] *** simsketch_ has quit IRC
[04:12:00] *** frankfang has joined #angularjs
[04:12:28] <cyen_> ryot-calvin: How would you do that? I feel like directives are constrained to their templates, or whatever element their attributeis one.
[04:12:41] <cyen_> ryot-calvin: How would you do that? I feel like directives are constrained to their templates, or whatever element their attribute is on*.
[04:13:02] *** phuh has quit IRC
[04:13:20] <ryot-calvin> cyen_: it's easier if the parts of the DOM you're manipulating are all contained within the element the directive is on, but that's mostly from a code-reuse/design standpoint
[04:13:26] *** phuh has joined #angularjs
[04:13:34] *** hswolff has joined #angularjs
[04:13:37] *** kirfu has quit IRC
[04:13:41] <ryot-calvin> cyen_: you can create any kind of event handler within the `link` parameter your directive returns
[04:14:03] *** bijan07077 has joined #angularjs
[04:14:06] <cyen_> ryot-calvin: Oh, okay. That does make sense... So, I do not have to define a template?
[04:14:14] <ryot-calvin> not at all
[04:14:31] *** hswolff_ has quit IRC
[04:14:45] *** whunt has quit IRC
[04:15:17] <ryot-calvin> cyen_: if you look in `angular.js`, most of their directives don't define templates.
[04:15:52] <cyen_> ryot-calvin: Oh, good. So, within the link function, I can pass in the elem that was clicked on and it's attributes?
[04:15:55] *** Reskp has quit IRC
[04:16:20] *** calumet has quit IRC
[04:16:54] <cyen_> ryot-calvin: How would I target the element that was clicked on so I could get information from it?
[04:17:03] *** cigarshark has quit IRC
[04:17:06] *** htowngangsta has quit IRC
[04:18:03] *** kirfu has joined #angularjs
[04:18:05] *** danyim has joined #angularjs
[04:18:05] <ryot-calvin> cyen_: you could pass that element's ID to the directive as an attribute of the element the directive is on, or you could use ng-click on the span tag to modify a model that the directive can watch.
[04:19:28] *** jareddlc has quit IRC
[04:19:54] *** nitsujw has joined #angularjs
[04:20:02] *** DoubleAW has quit IRC
[04:20:12] <cyen_> ryot-calvin: Let me make sure I am understanding... When you say "Pass the element's Id to the directive as an attribute of the element the diirective is on" do you mean like how when you define a directive, you have a scope... and you can specify attributes within that scope...
[04:20:22] <ryot-calvin> cyen_: you could even have the span element $broadcast/$emit an event that the directive watches for.
[04:20:25] <cyen_> ryot-calvin: that can be used as methods?
[04:20:40] *** DoubleAW has joined #angularjs
[04:20:48] *** blueadept` has joined #angularjs
[04:20:51] <cyen_> ryot-calvin: Would that work when there's multiple span tags? There's a lot of them. It's around each word in an essay
[04:20:51] *** frankfang has quit IRC
[04:21:09] *** digia is now known as digia|away
[04:21:48] *** jonashw has quit IRC
[04:22:47] *** kirfu has quit IRC
[04:23:17] *** blueadept has quit IRC
[04:23:26] *** blueadept` is now known as blueadept
[04:23:31] *** blueadept has joined #angularjs
[04:23:35] *** kalehv_ has quit IRC
[04:24:38] *** nathggns has quit IRC
[04:25:14] *** nathggns has joined #angularjs
[04:25:30] *** InezK is now known as InezK_away
[04:26:15] <ryot-calvin> cyen_: <div mydirective="span.clicker"> ===> elm.mydirective, or with isolated scope: {mydirective:'@'} and scope.mydirective.
[04:27:30] <ryot-calvin> $broadcast/$emit would work with lots of span tags, but it obviously adds to your markup if you need to add the directive to every single one
[04:28:28] <ryot-calvin> it'd be easier to just do something like $(elm.mydirective).click(function(){...}); in your link parameter.
[04:28:29] *** nathggns has quit IRC
[04:29:04] *** plitzenberger has joined #angularjs
[04:29:12] *** zfogg has joined #angularjs
[04:29:15] <ryot-calvin> though if you're already identifying every span that this applies to with a classname, you could just make that your directive name
[04:29:19] <cyen_> ryot-calvin: What is this attribute doing? : <div mydirective="span.clicker"
[04:29:31] <cyen_> ryot-calvin: Is that calling a method inside the link of my directive?
[04:29:37] *** nathggns has joined #angularjs
[04:30:01] <ryot-calvin> cyen_: no, that's just passing a css selector to the directive so it knows which elements to set the onclick callback on.
[04:30:07] *** conan_the_destro has quit IRC
[04:30:19] *** mmitchel_ has joined #angularjs
[04:31:33] *** jtimon has quit IRC
[04:32:42] <cyen_> ryot-calvin: Oh, I think I see. Could I make it more specific? something like #id > span?
[04:32:56] <damoncasale> How do I force a view to reload itself?
[04:33:00] *** fairchild has quit IRC
[04:33:06] <ryot-calvin> @cyen_: yep.
[04:33:14] *** danielpquinn has joined #angularjs
[04:33:19] *** volk_ has joined #angularjs
[04:33:24] <damoncasale> For instance, a user has just logged in via a modal dialog, which goes away to reveal the "dashboard" view underneath.
[04:33:37] <damoncasale> I want to refresh the dashboard view to reflect user-specific content.
[04:34:05] <ryot-calvin> damoncasale: angular should already do that for you
[04:34:20] <damoncasale> How would it know to refresh the view?
[04:34:34] <ryot-calvin> damoncasale: very clever dirty state checking
[04:34:37] <damoncasale> Here's my URL:
[04:34:38] <damoncasale> https://69.16.208.95/~opamobil/
[04:35:19] <damoncasale> I can log in using damoncasale/private (it's a test site, I don't care about security atm), but the popup goes away w/o any way of informing the view that it's now dirty.
[04:35:28] *** frankfang has joined #angularjs
[04:35:34] *** elxa_ is now known as elxa
[04:35:37] <damoncasale> That's what I'm asking, I guess. How do I mark the underlying view as dirty?
[04:35:54] *** fairchild has joined #angularjs
[04:37:24] <ryot-calvin> @damoncasale: look up $dirty/$pristine and ng-dirty and ng-pristine
[04:37:32] *** Lnxmad has joined #angularjs
[04:37:48] <ryot-calvin> you an set those manually, but I'm not sure how you're binding/modifying your models that angular isn't detecting the model change on its own
[04:37:48] <cyen_> ryot-calvin: I've made a directive="span.clicker", but how do I attach an onclick listener to the directive? Do I define that somewhere in my link?
[04:37:54] *** danielpquinn has quit IRC
[04:38:24] <damoncasale> I don't think I've bound my model properly, is the problem.
[04:38:24] <ryot-calvin> cyen_: yea, if you're using jquery, just do $(elm.whateverattributethatvalueissetto).click(function(){ ... });
[04:38:34] <damoncasale> Need to figure out how to do that.
[04:38:37] <Lnxmad> hey guys, quick question.. is there an easy way to include all the scripts used in the index.html? I have my angular files broken out and I feel there must be a better way than to just keep adding them
[04:39:17] *** oste has joined #angularjs
[04:39:28] <cyen_> ryot-calvin: Thing is, I need to use angular. Whatever I click on is necessary to create a model in the backend, and I need that to update the model on the front-end as well
[04:40:17] *** UniBot has joined #angularjs
[04:40:24] <ryot-calvin> damoncasale: does it actually display the correct initial data from the model?
[04:40:32] *** Aliks_ has joined #angularjs
[04:40:47] *** plitzenberger has quit IRC
[04:40:56] *** Olsonfold has quit IRC
[04:41:39] <ryot-calvin> cyen_: using jquery with angular isn't an option?
[04:42:03] <cyen_> ryot-calvin: Not unless I could update a model on the back and front end with it...
[04:42:19] <ryot-calvin> this is completely unrelated
[04:42:20] *** mettjus has quit IRC
[04:42:42] <cyen_> ryot-calvin: Oh. Maybe I am misunderstanding then.
[04:42:54] <ryot-calvin> you're just using a utility library to handle the onclick event
[04:43:02] <cyen_> ryot-calvin: I could use jquery inside of angular ot get the elements information I need.. okay.
[04:43:04] <ryot-calvin> it doesn't affect angular
[04:43:06] <ryot-calvin> yea
[04:43:10] <ryot-calvin> you don't need to
[04:43:19] <davek> Lnxmad, generally you'll use something like gulp or grunt to concatenate the files then minify the result (or not for development purposes).
[04:43:34] <Lnxmad> ah
[04:43:48] <Lnxmad> I figured that for production
[04:43:49] <damoncasale> ryot-calvin: Well, the initial data is nothing. It's supposed to dynamically request the "feed" records from the server, but since the userid is zero when I first hit the page, it gets nothing.
[04:43:55] <davek> I generally concat my directive, service, app and controller files into one single <yourapp>.js file then take all of my vendor/support scripts and concat them into <yourapp>-vendor.js or some such.
[04:43:55] <Lnxmad> but for dev, do I just keep adding them?
[04:44:02] <davek> Lnxmad, wha?
[04:44:02] *** nagappan has quit IRC
[04:44:04] <damoncasale> So, I need to update the userid.
[04:44:08] *** Hackwar has joined #angularjs
[04:44:09] *** bulkan has quit IRC
[04:44:14] *** bahoo has quit IRC
[04:44:17] <davek> You usually will use a gulp/grunt glob to watch the relevant files and re-concatenate them as you work.
[04:44:18] <cyen_> ryot-calvin: How do I use jquery inside of my link function though? Is that where I use jquery?
[04:44:20] <Lnxmad> davek, adding the <script> tags for each js file
[04:44:31] <damoncasale> Gimme a bit, I think I might need to explicitly set a watch on my AuthService.
[04:44:31] <davek> Lnxmad, no that's what I'm saying here...
[04:44:34] *** nagappan has joined #angularjs
[04:44:39] <ryot-calvin> cyen_: yes, you use it like you'd normally do, so long as you've linked to it from your page
[04:44:40] <davek> You only need to have two script includes with this method.
[04:44:46] *** bulkan has joined #angularjs
[04:45:12] <Lnxmad> but during development..
[04:45:24] <Lnxmad> whats the best way..while keeping them seperate?
[04:46:15] <ryot-calvin> Lnxmad: I just add them manually, unless it's something handled by bower
[04:46:17] *** Grokling_ has joined #angularjs
[04:46:18] *** danyim has quit IRC
[04:46:29] <Lnxmad> ah
[04:46:31] <Lnxmad> gotcha
[04:46:38] *** panchisco has quit IRC
[04:46:38] <cyen_> ryot-calvin: Sorry for newb question, but how do I link my link function to my directive?
[04:46:55] *** danyim has joined #angularjs
[04:47:00] *** Hackwar1 has quit IRC
[04:47:07] *** Fire-Dragon-DoL has quit IRC
[04:47:27] *** bijan07077 has quit IRC
[04:47:41] <ryot-calvin> cyen_: angular.module('mymodule').directive('mydirective', function(){ return {link: function(){ ... }}});
[04:47:42] *** nathggns has quit IRC
[04:48:02] *** davemerwin has joined #angularjs
[04:48:15] *** nathggns has joined #angularjs
[04:48:24] *** Samuel_M has joined #angularjs
[04:48:24] *** Aliks_ has quit IRC
[04:48:25] <Samuel_M> hi
[04:48:27] <ryot-calvin> cyen_: have you read this: https://docs.angularjs.org/guide/directive
[04:48:40] <ryot-calvin> it gives you a good rundown of the basics
[04:49:05] *** bulkan has quit IRC
[04:49:21] <cyen_> ryot-calvin: I have.. could you take a look at my plunker? http://plnkr.co/edit/nWI3AX?p=preview
[04:49:27] *** slainer68 has joined #angularjs
[04:49:29] <Samuel_M> What is wrong with my logout function? - https://github.com/ng-bottle-libraries/angular-app/blob/master/app/scripts/services/user.js#L74
[04:49:59] <Samuel_M> (it doesn't clear any cookies or redirect the user)
[04:50:18] *** panchisco has joined #angularjs
[04:50:26] *** BillCriswell has quit IRC
[04:50:34] *** Nijikokun has quit IRC
[04:51:16] *** tplaner has quit IRC
[04:51:27] *** danyim has quit IRC
[04:51:53] *** r0ok has joined #angularjs
[04:52:44] *** b1rkh0ff has quit IRC
[04:52:50] *** nathggns has quit IRC
[04:53:47] *** davedev24_ has joined #angularjs
[04:54:14] *** volk_ has quit IRC
[04:54:33] *** volk__ has joined #angularjs
[04:54:38] *** whunt has joined #angularjs
[04:55:28] <davemerwin> I'm trying to update a $scope object after a patch, but the promise isn't injecting into the $scope. Can you guys recommend any good tutorials about this? I've looked and I can only hind bits and pieces
[04:56:05] <ryot-calvin> cyen_: are you able to see my modifications?
[04:57:08] <cyen_> ryot-calvin: No, but I have it so I can get inside my link function. So, that's good.
[04:57:34] <ryot-calvin> cyen_: http://plnkr.co/edit/vCWc8bAmzoMbOtHMIfSo?p=preview
[04:58:34] <cyen_> ryot-calvin: I am not getting an alert
[04:58:50] <ryot-calvin> after clicking on the punctuation marks?
[04:58:54] *** slainer68 has quit IRC
[04:59:04] <Samuel_M> Why doesn't my logout function redirect the page and clears cookies? - https://github.com/ng-bottle-libraries/angular-app/blob/master/app/scripts/services/user.js#L74
[04:59:46] *** JakeSays has joined #angularjs
[05:00:38] <cyen_> ryot-calvin: Yeah, nothing.
[05:00:42] <ryot-calvin> weird
[05:00:58] <ryot-calvin> change the alert to a console.log() and open the javascript console
[05:01:00] *** pluma has quit IRC
[05:01:14] <cyen_> ryot-calvin: Oh
[05:01:18] <cyen_> ryot-calvin: Nevermind
[05:01:25] *** Scathen^C has joined #angularjs
[05:01:27] *** panchisco has quit IRC
[05:01:53] *** r0ok has quit IRC
[05:02:17] *** yaru22 has joined #angularjs
[05:02:20] <cyen_> ryot-calvin: What are the parameters you pass in the directive used for? Could I databind the information off the tools I click in a model? or would I have to set that in an isolated scope?
[05:05:03] *** TyrfingMjolnir has joined #angularjs
[05:06:02] *** BillCriswell has joined #angularjs
[05:06:14] <ryot-calvin> cyen_: those are just the default parameters that angular passes to your link function: the directive's scope, the directive element (wrapped in jqlite), the element's attributes, and the directive's controller.
[05:06:15] *** bejames has joined #angularjs
[05:06:45] *** seydoggy has joined #angularjs
[05:06:58] <ryot-calvin> cyen_: I'm not sure wht you mean by the second question
[05:07:11] *** yaru22 has quit IRC
[05:07:42] *** asdofindia has joined #angularjs
[05:08:01] *** Ansikt has joined #angularjs
[05:08:23] *** Nijikokun has joined #angularjs
[05:11:25] *** jobelenus has joined #angularjs
[05:11:40] *** jamto11 has quit IRC
[05:11:52] *** TyrfingMjolnir has quit IRC
[05:12:03] *** Reskp has joined #angularjs
[05:12:12] *** TyrfingMjolnir has joined #angularjs
[05:12:35] <cyen_> ryot-calvin: If I wanted to use the data from the ele I clicked, would I pass in a ngModel to the scope?
[05:12:55] <bc> Samuel_M: I'd make use of the error callback for then() and check to make sure you're not getting an error back.
[05:13:02] *** phuh has quit IRC
[05:13:20] <bc> Samuel_M: e.g. .then(successFun, errorFun)
[05:13:28] *** phuh has joined #angularjs
[05:13:40] <ryot-calvin> cyen_: You could do that. Or you could even just not use an isolated scope.
[05:14:52] <bc> Samuel_M: function error(response) { console.log(response); } // for example; not trying to be capt. obvious
[05:15:00] <cyen_> ryot-calvin: Okay. I already pass it in, so I could see that... What if I wanted to share the controller's model between two directives?
[05:15:25] *** mrogne has joined #angularjs
[05:15:51] *** cotko has joined #angularjs
[05:16:14] <ryot-calvin> cyen_: same thing; you can reference the model from as many directives as you want
[05:16:33] *** Reskp has quit IRC
[05:17:01] *** whunt has quit IRC
[05:17:17] *** davemerwin has quit IRC
[05:17:53] *** davemerwin has joined #angularjs
[05:17:53] <cyen_> ryot-calvin: Okay. I think I was over-complicating the stuff. Thank you for your help. I've been stuck tryign to wrap my head around directives with the isolated scope, link and how they communicate. :/
[05:18:29] <ryot-calvin> np. it can be a little confusing at first.
[05:19:54] *** Grokling_ has quit IRC
[05:22:47] *** davemerwin has quit IRC
[05:22:48] *** juampy_away has quit IRC
[05:25:39] *** InezK_away is now known as InezK
[05:25:42] *** encrypt3d_fracti has joined #angularjs
[05:25:55] <bc> yikes, this channel has gotten large over the past two years.
[05:26:07] *** fairchild is now known as fairchild_away
[05:26:56] *** fairchild_away has quit IRC
[05:28:10] *** seydoggy has quit IRC
[05:28:50] *** seydoggy has joined #angularjs
[05:30:09] *** encrypt3d_fracti has quit IRC
[05:30:17] *** mehlah has quit IRC
[05:31:01] *** ericbarnes has joined #angularjs
[05:31:07] <Aerospark> how do i access a .bowerrc file?
[05:31:16] <Aerospark> bower install isn't working :(
[05:31:17] *** fairchild has joined #angularjs
[05:31:30] <Aerospark> and .bowerrc disappeared as soon as i saved it
[05:32:31] *** steffengy has quit IRC
[05:32:32] *** steffengy1 has joined #angularjs
[05:32:56] *** seydoggy has quit IRC
[05:32:58] *** TyrfingMjolnir has quit IRC
[05:33:37] *** ngoyal has joined #angularjs
[05:34:00] *** danielpquinn has joined #angularjs
[05:35:15] *** volk__ has quit IRC
[05:35:31] *** InezK is now known as InezK_away
[05:36:17] *** swalberg has joined #angularjs
[05:38:28] *** jamesshijie has joined #angularjs
[05:38:39] *** danielpquinn has quit IRC
[05:39:00] <swalberg> Hi, I have a view where ng-repeat adds an id to a bunch of links, then I want to use $anchorScroll() to bring whatever's in the url fragment into focus. Since angular is adding the IDs I think I have to call $anchorScroll after the ng-repeat finishes, but I'm not sure how do that. setTimeout 1000 works but that's obviously slow. Any pointers?
[05:40:43] *** TorchDragon has joined #angularjs
[05:41:23] *** simb has joined #angularjs
[05:41:27] *** Siecje has quit IRC
[05:42:35] <damoncasale> Okay, now I have a template which expects a $scope array named feed containing a collection of objects. I have an AuthService watch which fires off an AJAX request to get the feed data, which then updates the $scope feed array.
[05:42:43] <damoncasale> But, my view doesn't update.
[05:42:44] <damoncasale> What gives/
[05:42:46] <damoncasale> ?
[05:43:28] *** SomeKittens has quit IRC
[05:43:57] <damoncasale> I'm calling $scope.apply().
[05:44:55] *** simsketch_ has joined #angularjs
[05:45:04] *** TorchDragon has quit IRC
[05:45:52] *** patrickarlt has quit IRC
[05:46:35] *** patrickarlt has joined #angularjs
[05:47:58] *** calvinx has joined #angularjs
[05:48:21] <bc> damoncasale: it's $scope.$apply
[05:49:04] <bc> damoncasale: $scope.$apply(function () { /* update your $scope in here */ });
[05:49:43] <damoncasale> Yeah, says I'm already in the middle of a digest. :-/
[05:49:57] *** InezK_away is now known as InezK
[05:50:34] *** Silne30 has quit IRC
[05:50:53] *** patrickarlt has quit IRC
[05:52:31] <damoncasale> Anyway, here's my page: https://69.16.208.95/~opamobil/#/dashboard/feed
[05:52:46] *** wdgreg has quit IRC
[05:52:54] <damoncasale> You can login with damoncasale / private, and then the modal is supposed to go away and the posts refresh on the dashboard.
[05:53:26] <damoncasale> The AJAX fires off, gets data, and the $scope.feed object is regenerated...but no page update. :-/
[05:53:31] <bc> damoncasale: then you're trying to call $scope.$apply inside of another $scope.$apply probably
[05:53:43] <damoncasale> Yes, so it should already update.
[05:53:45] <damoncasale> But it's not?
[05:53:59] <damoncasale> Does ng-repeat know enough to refresh itself?
[05:54:08] *** whunt has joined #angularjs
[05:54:10] <bc> damoncasale: try setTimeout() to delay it a bit
[05:54:33] <damoncasale> Okay, sec...
[05:54:39] *** fedenunez has joined #angularjs
[05:55:02] *** cotko has quit IRC
[05:55:23] *** Tidwell has joined #angularjs
[05:55:55] *** bejames has quit IRC
[05:56:00] *** Scathen^C has quit IRC
[05:56:18] <damoncasale> Nope, didn't help.
[05:57:03] <bc> damoncasale: $timeout() ?
[05:57:15] <damoncasale> Yes, using that.
[05:57:39] <damoncasale> Hmm, this is odd...
[05:57:43] *** BillCriswell has quit IRC
[05:57:57] <damoncasale> Okay, the posts are being returned as a promise, but apparently I'm not processing it correctly.
[05:58:23] *** Ansikt has quit IRC
[05:58:37] *** whunt has quit IRC
[06:00:21] *** Scathen^C has joined #angularjs
[06:00:37] <bc> damoncasale: I see you're using $watch, and that $apply in there probably won't work
[06:00:46] *** mmitchel_ has quit IRC
[06:00:50] *** TyrfingMjolnir has joined #angularjs
[06:00:57] *** tomzx is now known as tomzx`afk
[06:00:57] <damoncasale> Just changed stuff up.
[06:01:15] <damoncasale> Changed it to use .then to process the promise, and got rid of the $apply.
[06:01:18] <bc> damoncasale: you probably don't need that $apply inside the $watch
[06:01:26] <damoncasale> Do I need to put apply inside the .then?
[06:03:12] *** yaru22 has joined #angularjs
[06:03:15] <bc> damoncasale: not positive, but I don't think so
[06:05:42] *** ascarter has quit IRC
[06:06:29] *** asdofindia has quit IRC
[06:06:35] *** nitsujw has quit IRC
[06:07:42] *** yaru22 has quit IRC
[06:09:32] <damoncasale> I figured it out. Hadn't updated my template to include the stuff that needs to refresh. ^^;;
[06:09:38] <damoncasale> Anyway, next issue...
[06:09:55] *** hugorodrigues has quit IRC
[06:09:55] *** iksik__ has quit IRC
[06:10:01] <damoncasale> In my template, I have a bunch of fields, e.g., feeditem.avatar, that are supposed to be rendered with an ng-repeat.
[06:10:07] <damoncasale> How come that's not happening?
[06:10:46] *** boneskull has joined #angularjs
[06:11:16] <damoncasale> Also, is this valid?
[06:11:17] *** iksik has joined #angularjs
[06:11:18] <damoncasale> <div ng-repeat="feeditem in feed" class='entry {{ feeditem.theme }}'>
[06:11:44] <damoncasale> Putting single quotes around "feeditem in feed" gives me a weird error. And can I use feeditem, right in the same DIV?
[06:11:49] *** oste has quit IRC
[06:11:58] <damoncasale> I'm not seeing any subtitution, which makes me wonder wtf is going on.
[06:12:51] *** nitsujw has joined #angularjs
[06:12:52] *** Reskp has joined #angularjs
[06:13:13] *** phuh has quit IRC
[06:13:27] *** phuh has joined #angularjs
[06:13:51] *** jamesshijie has quit IRC
[06:17:32] *** Reskp has quit IRC
[06:19:28] *** Tidwell has quit IRC
[06:19:38] *** [n0b0dy] has quit IRC
[06:20:02] *** [n0b0dy] has joined #angularjs
[06:21:50] *** yogurt_truck has quit IRC
[06:22:59] <damoncasale> Okay, that's even weirder.
[06:23:33] <damoncasale> I thought there wasn't any substitution happening. Turns out there is...but in the meantime, the browser is trying to load the un-substituted image.
[06:23:55] <damoncasale> So it's trying to find the path of img/{{feeditem.avatar}} .
[06:24:01] <damoncasale> Any suggestions for handling that?
[06:24:31] <damoncasale> I'd rather not have spurious image loading failures cluttering up my network log.
[06:25:25] *** BillCriswell has joined #angularjs
[06:25:45] *** motionman has joined #angularjs
[06:25:45] *** motionman has joined #angularjs
[06:26:19] *** encrypt3d_fracti has joined #angularjs
[06:28:14] *** JimTheDev has quit IRC
[06:29:05] *** Snugug has joined #angularjs
[06:29:21] *** [n0b0dy] has quit IRC
[06:29:33] *** [n0b0dy] has joined #angularjs
[06:29:36] *** seydoggy has joined #angularjs
[06:29:36] *** sadna has joined #angularjs
[06:30:34] *** motionman has quit IRC
[06:30:34] *** {DV8} has quit IRC
[06:30:40] *** fixl has joined #angularjs
[06:30:56] *** Silne30 has joined #angularjs
[06:31:01] *** simb has quit IRC
[06:31:11] *** encrypt3d_fracti has quit IRC
[06:31:18] *** JimTheDev has joined #angularjs
[06:31:21] *** sadna has quit IRC
[06:31:51] *** {DV8} has joined #angularjs
[06:34:39] *** moritzs has joined #angularjs
[06:34:46] *** danielpquinn has joined #angularjs
[06:34:47] *** seydoggy has quit IRC
[06:35:17] *** Silne30 has quit IRC
[06:35:54] *** ngoyal has quit IRC
[06:36:06] *** nitsujw has quit IRC
[06:36:27] *** jobelenus has quit IRC
[06:36:41] *** nitsujw has joined #angularjs
[06:37:21] *** calvinx has quit IRC
[06:38:01] *** mmitchel_ has joined #angularjs
[06:38:31] *** Tidwell has joined #angularjs
[06:39:02] *** danielpquinn has quit IRC
[06:39:56] *** bijan07077 has joined #angularjs
[06:40:17] *** subnl2 has joined #angularjs
[06:40:38] *** rud has joined #angularjs
[06:40:58] *** BillCriswell has quit IRC
[06:43:09] *** motionman has joined #angularjs
[06:43:24] *** slainer68 has joined #angularjs
[06:43:27] *** mmitchel_ has quit IRC
[06:43:41] *** trinode has quit IRC
[06:45:02] *** Joshee has joined #angularjs
[06:47:13] *** roobik has quit IRC
[06:47:53] *** danyim has joined #angularjs
[06:47:54] *** mindlace has joined #angularjs
[06:48:20] *** slainer68 has quit IRC
[06:48:32] *** motionman has quit IRC
[06:49:32] *** nitsujw has quit IRC
[06:49:47] *** RyanHirsch has quit IRC
[06:49:53] *** moritzs has quit IRC
[06:50:05] *** nemothekid has joined #angularjs
[06:50:39] *** Snugug has quit IRC
[06:51:58] *** mindlace has quit IRC
[06:52:19] *** danyim has quit IRC
[06:53:56] *** Tidwell has quit IRC
[06:54:48] *** JimTheDev has quit IRC
[06:55:48] *** zfogg has quit IRC
[07:00:12] *** RyanHirsch has joined #angularjs
[07:00:18] *** roobik has joined #angularjs
[07:02:29] *** gunn has joined #angularjs
[07:02:47] *** bahoo has joined #angularjs
[07:03:30] *** fedenunez has quit IRC
[07:03:57] *** yaru22 has joined #angularjs
[07:06:27] *** Samuel_M has quit IRC
[07:06:35] *** wilmoore has joined #angularjs
[07:06:59] *** Aliks_ has joined #angularjs
[07:07:17] *** cacts|wtf has joined #angularjs
[07:07:28] *** roobik has quit IRC
[07:08:03] *** yaru22 has quit IRC
[07:08:22] *** RyanHirsch has quit IRC
[07:09:06] *** cacts|works has quit IRC
[07:09:23] *** blueadept has quit IRC
[07:12:01] *** Hackwar1 has joined #angularjs
[07:13:04] *** phuh has quit IRC
[07:13:29] *** phuh has joined #angularjs
[07:13:35] *** Reskp has joined #angularjs
[07:14:13] *** Hackwar has quit IRC
[07:14:13] *** jamesshijie has joined #angularjs
[07:16:10] *** rburns has joined #angularjs
[07:16:23] *** mennea has joined #angularjs
[07:18:23] *** Reskp has quit IRC
[07:18:37] *** jamesshijie has quit IRC
[07:18:49] *** roobik has joined #angularjs
[07:18:52] *** RyanHirsch has joined #angularjs
[07:22:23] *** TyrfingMjolnir has quit IRC
[07:23:11] *** Aliks_ has quit IRC
[07:25:47] *** roobik has quit IRC
[07:25:56] *** fairchild is now known as fairchild_away
[07:26:32] *** RyanHirsch has quit IRC
[07:27:06] *** fairchild_away has quit IRC
[07:29:19] *** bijan07077 has quit IRC
[07:29:34] *** fairchild has joined #angularjs
[07:29:55] *** calvinx has joined #angularjs
[07:30:30] *** johnstorey has quit IRC
[07:31:34] *** {DV8} has quit IRC
[07:32:16] *** gunn has quit IRC
[07:33:41] *** fairchild is now known as fairchild_away
[07:33:52] *** faddah has quit IRC
[07:34:08] *** TyrfingMjolnir has joined #angularjs
[07:34:20] *** drej has quit IRC
[07:34:39] *** fairchild_away has quit IRC
[07:35:16] *** drej has joined #angularjs
[07:35:31] *** danielpquinn has joined #angularjs
[07:35:34] *** Scathen^C has quit IRC
[07:35:37] *** drej has quit IRC
[07:37:21] *** roobik has joined #angularjs
[07:37:32] *** RyanHirsch has joined #angularjs
[07:37:36] *** fairchild has joined #angularjs
[07:37:57] *** KamalKaur has joined #angularjs
[07:37:59] *** nemothekid has quit IRC
[07:38:06] *** nemothekid has joined #angularjs
[07:38:23] *** frankfang has quit IRC
[07:38:50] *** Jae has joined #angularjs
[07:39:18] *** mmitchel_ has joined #angularjs
[07:40:27] *** danielpquinn has quit IRC
[07:40:36] *** hugorodrigues has joined #angularjs
[07:41:58] *** TorchDragon has joined #angularjs
[07:42:27] *** KamalKaur has quit IRC
[07:43:24] *** Aliks_ has joined #angularjs
[07:43:37] *** MattWelch has quit IRC
[07:43:48] *** mmitchel_ has quit IRC
[07:45:09] *** hugorodrigues has quit IRC
[07:46:10] *** ChanServ sets mode: +o caitp
[07:46:15] *** ChanServ sets mode: -o caitp
[07:46:25] *** ericbarnes has quit IRC
[07:46:40] *** TorchDragon has quit IRC
[07:50:08] *** damoncasale has quit IRC
[07:50:11] *** TyrfingMjolnir has quit IRC
[07:50:35] *** TyrfingMjolnir has joined #angularjs
[07:51:04] *** motionman has joined #angularjs
[07:51:04] *** motionman has joined #angularjs
[07:51:54] *** roobik has quit IRC
[07:52:11] *** MattWelch has joined #angularjs
[07:52:34] *** RyanHirsch has quit IRC
[07:52:47] *** mindlace has joined #angularjs
[07:53:37] *** Methylated has quit IRC
[07:53:59] *** caitp has quit IRC
[07:54:13] *** bejames has joined #angularjs
[07:55:42] *** caitp has joined #angularjs
[07:55:50] *** kernal has quit IRC
[07:56:42] *** MattWelch has quit IRC
[07:57:21] *** jonashw has joined #angularjs
[07:57:28] <jonashw> hii
[07:58:06] *** simsketch_ has quit IRC
[07:58:57] *** calvinx has quit IRC
[07:59:52] *** alpha080 has quit IRC
[08:00:19] *** mkc has quit IRC
[08:01:03] *** gunn has joined #angularjs
[08:03:20] *** KamalKaur has joined #angularjs
[08:03:23] *** roobik has joined #angularjs
[08:04:20] *** subnl2 has left #angularjs
[08:04:42] *** yaru22 has joined #angularjs
[08:05:27] *** Methylated has joined #angularjs
[08:08:58] *** MattWelch has joined #angularjs
[08:09:23] *** yaru22 has quit IRC
[08:10:11] *** KamalKaur has quit IRC
[08:12:54] *** motionman has quit IRC
[08:13:10] *** phuh has quit IRC
[08:13:35] *** phuh has joined #angularjs
[08:14:23] *** Reskp has joined #angularjs
[08:14:43] *** jangoh has joined #angularjs
[08:15:34] *** jamesshijie has joined #angularjs
[08:16:46] *** epantzar has joined #angularjs
[08:18:12] *** Mouzi has joined #angularjs
[08:18:37] *** Reskp has quit IRC
[08:20:23] *** jamesshijie has quit IRC
[08:20:26] *** frankfang has joined #angularjs
[08:20:52] *** chrisshattuck has joined #angularjs
[08:24:20] *** Ethix has quit IRC
[08:24:34] *** sneakertack has joined #angularjs
[08:24:46] *** Methylated has quit IRC
[08:25:51] <jonashw> davek, I came up with a solution. It involves taking 1) the object containing the value of interest 2) the name of the property containing the value of interest: http://plnkr.co/edit/cxAmYqBE9aV9co3pn2hy?p=preview
[08:26:01] *** armdale has quit IRC
[08:26:20] <jonashw> with those, it becomes trivial to update primitive properties from within the directive
[08:26:20] *** jshultz has quit IRC
[08:26:59] *** caitp has quit IRC
[08:27:08] *** ngoyal has joined #angularjs
[08:27:10] *** epantzar has quit IRC
[08:29:34] *** fairchild is now known as fairchild_away
[08:30:07] *** Aliks_ has quit IRC
[08:30:17] *** heidi has joined #angularjs
[08:31:00] *** fairchild_away has quit IRC
[08:31:30] *** heidi has quit IRC
[08:31:34] *** Silne30 has joined #angularjs
[08:31:42] *** ngoyal has quit IRC
[08:32:04] *** gunn has quit IRC
[08:32:47] *** Sgeo_ has joined #angularjs
[08:35:33] *** Sgeo has quit IRC
[08:35:38] *** Vinnyceptr has joined #angularjs
[08:36:17] *** danielpquinn has joined #angularjs
[08:36:27] *** Silne30 has quit IRC
[08:36:33] *** Sgeo has joined #angularjs
[08:37:01] *** JosephBergevin has quit IRC
[08:37:31] *** epantzar has joined #angularjs
[08:38:22] *** kemm0 has quit IRC
[08:38:28] *** roobik has quit IRC
[08:38:51] *** bulkan has joined #angularjs
[08:39:36] *** Sgeo_ has quit IRC
[08:40:10] *** mmitchel_ has joined #angularjs
[08:40:22] *** danyim has joined #angularjs
[08:40:38] *** Aliks_ has joined #angularjs
[08:40:54] *** danielpquinn has quit IRC
[08:44:34] *** danyim has quit IRC
[08:44:43] *** Ilyas has joined #angularjs
[08:45:41] *** tyfighter has joined #angularjs
[08:46:19] *** mmitchel_ has quit IRC
[08:47:35] *** emps has quit IRC
[08:48:02] *** MattWelch has quit IRC
[08:50:50] *** RyanHirsch has joined #angularjs
[08:50:58] *** roobik has joined #angularjs
[08:54:48] *** Left_Turn has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:31] *** scmx has joined #angularjs
[08:56:14] *** phuh has quit IRC
[08:56:43] *** phuh has joined #angularjs
[08:56:48] *** Methylated has joined #angularjs
[08:58:21] *** roobik has quit IRC
[08:58:32] *** Methylated has quit IRC
[08:59:18] *** simsketch has joined #angularjs
[08:59:18] *** RyanHirsch has quit IRC
[09:00:00] *** charuru has quit IRC
[09:00:23] *** scmx has quit IRC
[09:01:28] *** charuru has joined #angularjs
[09:01:47] *** phuh has quit IRC
[09:02:47] *** JosephBergevin has joined #angularjs
[09:03:27] *** ryot-calvin has quit IRC
[09:03:42] *** uf6667 has joined #angularjs
[09:03:57] *** AngularUI has joined #angularjs
[09:03:57] <AngularUI> [bootstrap] guenter-wolf opened pull request #2517: bug #2506 Datepicker displays wrong week numbers (master...patch-1) http://git.io/glVSYA
[09:03:57] *** AngularUI has left #angularjs
[09:04:02] *** walkling has quit IRC
[09:05:19] *** yaru22 has joined #angularjs
[09:06:20] *** Aliks_ has quit IRC
[09:06:47] *** vintik has joined #angularjs
[09:07:46] *** Aerospark has quit IRC
[09:08:23] *** fitzerald has joined #angularjs
[09:09:42] *** yaru22 has quit IRC
[09:09:46] *** RyanHirsch has joined #angularjs
[09:09:52] *** chrisshattuck has quit IRC
[09:09:59] *** [n0b0dy] has quit IRC
[09:10:00] *** roobik has joined #angularjs
[09:10:09] *** [n0b0dy] has joined #angularjs
[09:10:40] *** Yahkob has joined #angularjs
[09:10:55] *** fds has joined #angularjs
[09:11:00] *** vintik has quit IRC
[09:11:11] *** fds has quit IRC
[09:11:23] *** RedOrangeZ has joined #angularjs
[09:13:12] *** dylanlindgren has joined #angularjs
[09:13:15] *** Scathen^C has joined #angularjs
[09:13:21] *** jk-5 is now known as jk-5|gone
[09:13:27] *** anjumkaiser has joined #angularjs
[09:13:43] *** RandomStranger- has joined #angularjs
[09:14:10] *** Scathen^C has quit IRC
[09:14:10] *** slainer68 has joined #angularjs
[09:15:02] *** Reskp has joined #angularjs
[09:15:14] *** RandomStranger has quit IRC
[09:15:30] *** Methylated has joined #angularjs
[09:17:36] *** Methylated has quit IRC
[09:18:53] *** JosephBergevin has quit IRC
[09:19:02] *** epantzar has quit IRC
[09:19:12] *** slainer68 has quit IRC
[09:19:23] *** simsketch has quit IRC
[09:19:39] *** Reskp has quit IRC
[09:20:50] *** Vinnyceptr has quit IRC
[09:20:51] *** MANCHUCK has joined #angularjs
[09:21:12] *** Yahkob has quit IRC
[09:22:10] *** Olsonfold has joined #angularjs
[09:22:11] *** zarul has joined #angularjs
[09:22:11] *** _rgn has joined #angularjs
[09:22:11] *** mu has joined #angularjs
[09:22:27] *** zarul has quit IRC
[09:23:00] *** mu is now known as Guest74110
[09:23:08] *** pluma has joined #angularjs
[09:23:08] *** pluma has joined #angularjs
[09:23:10] *** zarul has joined #angularjs
[09:25:03] *** prbc has joined #angularjs
[09:25:24] *** MANCHUCK has quit IRC
[09:25:54] *** prbc has quit IRC
[09:28:19] *** blackkbo- has quit IRC
[09:28:19] *** blackkbo- has joined #angularjs
[09:28:25] *** bahoo has quit IRC
[09:28:33] *** jordandotdev has quit IRC
[09:28:34] *** jordandotdev has joined #angularjs
[09:28:39] *** cyen_ has quit IRC
[09:28:39] *** cyen_ has joined #angularjs
[09:28:55] *** hugorodrigues has joined #angularjs
[09:29:28] *** prbc has joined #angularjs
[09:29:59] *** bahoo has joined #angularjs
[09:31:04] *** bejames has quit IRC
[09:31:46] *** encrypt3d_fracti has joined #angularjs
[09:32:21] *** bahoo has quit IRC
[09:33:36] *** hugorodrigues has quit IRC
[09:34:43] *** bahoo has joined #angularjs
[09:34:51] *** Aliks_ has joined #angularjs
[09:35:03] *** anjumkaiser has quit IRC
[09:36:28] *** encrypt3d_fracti has quit IRC
[09:37:03] *** danielpquinn has joined #angularjs
[09:39:09] *** mzehrer_ has joined #angularjs
[09:39:40] *** emps has joined #angularjs
[09:39:41] *** mzehrer__ has joined #angularjs
[09:39:45] *** jamesshijie has joined #angularjs
[09:41:54] *** ngbot has joined #angularjs
[09:41:54] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/TcynSg
[09:41:54] <ngbot> angular.js/master 2e0a4e3 Pawel Kozlowski: docs(Scope): clarify naming in the $watch example...
[09:41:54] *** ngbot has left #angularjs
[09:41:56] *** danielpquinn has quit IRC
[09:42:02] *** epantzar has joined #angularjs
[09:42:13] *** mmitchel_ has joined #angularjs
[09:42:47] *** linojon has quit IRC
[09:42:54] *** danyim has joined #angularjs
[09:43:16] *** BobbieBarker has joined #angularjs
[09:43:29] *** dylanlin_ has joined #angularjs
[09:44:00] *** TorchDragon has joined #angularjs
[09:44:01] <BobbieBarker> so i found a new error that i haven't enountered before
[09:44:02] <BobbieBarker> Error: [$compile:multidir] Multiple directives [avatar, bsTooltip] asking for new/isolated scope on: <img ng-src="{{src}}" alt="{{alt}}" class="avatar" ng-repeat="member in members | limitTo:limit" user="member" bs-tooltip="">
[09:44:04] *** jamesshijie has quit IRC
[09:44:13] *** tyfighter has quit IRC
[09:44:27] *** deg- has quit IRC
[09:44:35] <BobbieBarker> when ever i try to apply bs-tooltip onto the template in the avatar directive it gives me this error
[09:45:04] *** dylanlindgren has quit IRC
[09:46:03] <BobbieBarker> i more or less understand it, but i don't understand how to solve the problem
[09:47:04] *** Left_Turn has quit IRC
[09:47:24] *** danyim has quit IRC
[09:48:20] *** DrMabuse has joined #angularjs
[09:48:24] *** mmitchel_ has quit IRC
[09:48:24] *** DrMabuse has quit IRC
[09:48:42] *** TorchDragon has quit IRC
[09:50:32] *** [n0b0dy] has quit IRC
[09:50:42] *** [n0b0dy] has joined #angularjs
[09:50:42] *** RandomStranger has joined #angularjs
[09:50:49] *** b1rkh0ff has joined #angularjs
[09:51:29] *** cctom has joined #angularjs
[09:51:32] *** RandomStranger- has quit IRC
[09:52:17] *** deg- has joined #angularjs
[09:52:25] *** Silne30 has joined #angularjs
[09:54:04] *** prbc has quit IRC
[09:54:39] *** prbc has joined #angularjs
[09:55:13] *** grump has joined #angularjs
[09:55:47] *** ckboii89_ has quit IRC
[09:56:12] *** prikk has joined #angularjs
[09:56:54] *** Silne30 has quit IRC
[09:57:15] *** rtpg has joined #angularjs
[09:58:15] *** shorne has joined #angularjs
[09:58:44] *** davi has joined #angularjs
[09:59:02] *** prbc has quit IRC
[10:01:21] *** Left_Turn has joined #angularjs
[10:01:28] *** ajk27 has joined #angularjs
[10:03:59] *** cctom has quit IRC
[10:04:12] *** combat has quit IRC
[10:05:26] <cyen_> hello
[10:05:41] *** dylanlin_ has quit IRC
[10:06:05] *** dylanlindgren has joined #angularjs
[10:06:12] *** yaru22 has joined #angularjs
[10:07:39] *** noobee has joined #angularjs
[10:07:59] <noobee> who keeps on getting into problems one by one in your journey of building angular app?
[10:08:14] *** combat has joined #angularjs
[10:09:20] *** RandomStranger has quit IRC
[10:09:35] *** RandomStranger has joined #angularjs
[10:11:11] *** yaru22 has quit IRC
[10:12:36] *** tschundeee has quit IRC
[10:13:37] *** bahoo has quit IRC
[10:15:22] *** secondjeff has joined #angularjs
[10:15:54] *** Reskp has joined #angularjs
[10:16:11] *** apetro_ has joined #angularjs
[10:19:07] *** Methylated has joined #angularjs
[10:20:14] *** secondjeff has quit IRC
[10:20:40] *** Reskp has quit IRC
[10:23:25] *** Schtive has joined #angularjs
[10:24:11] *** dark_splinter has quit IRC
[10:25:43] *** nielsle has quit IRC
[10:25:58] *** jangoh has quit IRC
[10:26:41] *** ckboii89 has joined #angularjs
[10:28:01] *** ngoyal has joined #angularjs
[10:28:36] *** kayoone has joined #angularjs
[10:28:37] *** grump has quit IRC
[10:28:49] *** tp1 has joined #angularjs
[10:28:50] <noobee> i got Error: [$rootScope:inprog] $apply already in progress when using element.trigger('click')
[10:29:06] *** jonashw has quit IRC
[10:30:44] *** ckboii89 has quit IRC
[10:31:56] *** Siecje has joined #angularjs
[10:32:34] *** ngoyal has quit IRC
[10:33:48] *** zfogg has joined #angularjs
[10:34:08] *** dylanlindgren has quit IRC
[10:34:09] *** ome has joined #angularjs
[10:34:20] *** MissBoob has joined #angularjs
[10:34:28] *** combat has quit IRC
[10:34:36] *** grump has joined #angularjs
[10:34:39] <MissBoob> anyone using firebase?
[10:35:06] *** dylanlindgren has joined #angularjs
[10:35:20] <ome> MissBoob: You're probably better off without them.
[10:35:44] <MissBoob> any reason for that?
[10:35:56] <ome> It is not opensource, they pretend to be, but they're not.
[10:35:59] *** Joshee has quit IRC
[10:36:00] <ome> Which makes it even worst.
[10:36:20] <ome> You will be locked down and at the mercy of a company who can decided what to do with your data and how much charge you.
[10:36:20] <MissBoob> I know they are not
[10:36:31] <MissBoob> so...
[10:36:40] <MissBoob> would you rather suggest going with node.js and socket.io?
[10:36:46] <ome> Yes.
[10:36:47] <MissBoob> or pure php+angular+pusherer?
[10:36:51] *** cigol has joined #angularjs
[10:37:00] <MissBoob> or pusher/pubnub
[10:37:22] <ome> Anything, but it all depends on what you want.
[10:37:31] <ome> Meteor is also a very attractive option.
[10:37:49] *** danielpquinn has joined #angularjs
[10:37:49] <MissBoob> I want to get started
[10:38:00] <cyen_> Does anyone know if I can share a $scope between two controllers in angularjs?
[10:38:24] <ome> MissBoob: Also, consider CouchDB, it has an HTTP API and there is some examples around with angularjs.
[10:38:47] *** Grokling_ has joined #angularjs
[10:39:30] <ome> cyen_: No, you shouldn't do it. What are you trying to do?
[10:39:32] *** combat has joined #angularjs
[10:39:35] *** dmg91 has quit IRC
[10:40:12] *** dylanlindgren has quit IRC
[10:40:15] <ome> MissBoob: You want to get started with what? Angular? or Realtime web apps?
[10:40:20] <cyen_> ome: I have this model in one of my controllers, and I am trying to update it, except I wander into another controller's scope and so my models change, but it is necessary to go into another controller's scope
[10:40:52] <cyen_> ome: Can't I specify in my directive which controller I want to use?
[10:41:25] <ome> cyen_: If you create an example, it would be a lot more likely that you get proper help.
[10:41:56] <cyen_> ome: One sec
[10:42:00] *** davi has quit IRC
[10:42:36] *** danielpquinn has quit IRC
[10:42:42] *** MissBoob has quit IRC
[10:43:19] *** dylanlindgren has joined #angularjs
[10:45:09] *** mmitchel_ has joined #angularjs
[10:45:35] *** jordandotdev has quit IRC
[10:47:16] *** vader has joined #angularjs
[10:48:50] *** DrMabuse has joined #angularjs
[10:49:28] *** RandomStranger has quit IRC
[10:49:42] *** mmitchel_ has quit IRC
[10:50:13] *** robdubya_ has quit IRC
[10:53:20] *** tp1 has quit IRC
[10:53:35] *** AciD`` has joined #angularjs
[10:53:59] *** DrMabuse has quit IRC
[10:56:05] *** apetro_ has quit IRC
[10:56:05] <cyen_> ome: http://plnkr.co/edit/3Wu7UH?p=preview
[10:56:16] *** tarnus has joined #angularjs
[10:56:27] <cyen_> ome: Check the plnkr out
[10:58:47] <ome> cyen_: Use a data service. Like so: http://www.thinkster.io/angularjs/9jfpSmbx1j/angularjs-sharing-data-between-controllers
[10:59:13] *** Schtive has quit IRC
[10:59:35] *** prikk has quit IRC
[10:59:59] <cyen_> ome: Is that the best way? Would you mind explaining what a service is in the context of angular?
[11:00:38] *** tarnus has quit IRC
[11:00:52] *** Cydmax has joined #angularjs
[11:01:14] <ome> cyen_: I think that would be the best solution, but I am not a angular guru by any means. The angular documentation has a great deal of information on services: https://docs.angularjs.org/guide/services
[11:01:46] *** jangoh has joined #angularjs
[11:03:27] *** danyim has joined #angularjs
[11:03:43] <cyen_> ome: Can't you specify a controller in the directives?
[11:04:14] *** tgkokk has joined #angularjs
[11:04:28] *** danyim_ has joined #angularjs
[11:04:29] *** danyim has quit IRC
[11:04:31] <cyen_> ome: Which, if I specify a controller, I could also get the scope I need?... I am not sure.
[11:05:45] <cyen_> ome: But seeing eggheads tutorial does look easy. I was just wondering if it was possible, and if you knew. If not, it's okay. I think service is easier.
[11:06:07] *** uf6668 has joined #angularjs
[11:06:45] *** yaru22 has joined #angularjs
[11:06:54] *** uf6667 has quit IRC
[11:07:27] *** rtpg has quit IRC
[11:08:07] *** Aliks_ has quit IRC
[11:10:36] *** rburns has quit IRC
[11:10:51] *** orion1111 has joined #angularjs
[11:11:22] *** yaru22 has quit IRC
[11:12:27] <ome> cyen_: I am not sure, why don't you just give it a try and let me know too. :)
[11:12:31] *** NaOH has quit IRC
[11:13:03] *** danyim_ has quit IRC
[11:13:52] *** instence_ has joined #angularjs
[11:14:48] *** marr has joined #angularjs
[11:15:54] *** instence has quit IRC
[11:16:34] *** Reskp has joined #angularjs
[11:17:12] *** hugorodrigues has joined #angularjs
[11:21:29] *** Reskp has quit IRC
[11:22:11] *** hugorodrigues has quit IRC
[11:23:23] *** joshontheweb has quit IRC
[11:24:50] *** Corealis has joined #angularjs
[11:27:02] *** ckboii89 has joined #angularjs
[11:28:21] <Corealis> Do you really need JQuery when using Angularjs? I try to avoid using Jquery components in my projects. I would rather create similar components using directives instead of involving Jquery. Should I?
[11:30:42] *** bicranial has joined #angularjs
[11:31:05] *** DrMabuse has joined #angularjs
[11:31:08] *** ckboii89 has quit IRC
[11:33:06] *** InezK is now known as InezK_away
[11:35:07] <ome> Corealis: You don't need to. angularjs will use jQLite if jquery is not loaded.
[11:35:38] <ome> Corealis: Also, there is a project that has all bootstrap components in Angularjs, which you might like.
[11:35:52] *** LoveAndHappiness has joined #angularjs
[11:36:12] *** scmx has joined #angularjs
[11:36:46] <Corealis> ome: Hi! I'll have a look at that. I would like to use Bootstrap and it seems to be dependent on Jquery
[11:37:12] *** tarkus has quit IRC
[11:37:12] <ome> Corealis: Here is the link: http://angular-ui.github.io/bootstrap/
[11:37:39] <Corealis> ome: Nice!
[11:38:21] *** bluesm has joined #angularjs
[11:38:35] *** danielpquinn has joined #angularjs
[11:38:53] *** dutis has joined #angularjs
[11:39:41] <Corealis> ome: JQuery and angularjs is two different approaches to create web apps. The more I learn about angularjs the more convinced I am that I don't need JQuery. Data-binding is way better than event-driven DOM manipulation IMO
[11:41:13] *** jamesshijie has joined #angularjs
[11:42:28] *** Methylated has quit IRC
[11:43:26] <ome> Corealis: True, but because of how browser behave differently you need and underlying library to normalize these changes instead of building them directly into your library (angularjs, in this case) that is why Angularjs uses JQlite.
[11:43:39] *** danielpquinn has quit IRC
[11:44:05] *** tschundeee has joined #angularjs
[11:44:29] *** one_zero has quit IRC
[11:45:14] *** TorchDragon has joined #angularjs
[11:45:37] *** jamesshijie has quit IRC
[11:46:06] *** mmitchel_ has joined #angularjs
[11:46:27] *** sneakertack has quit IRC
[11:46:47] <Corealis> ome: I can live with JQlite. I don't need the other fancy element methods that jquery provides. Angularjs seems to come up with a new eco-system for the same stuff and I would like to stick with one framework. The problem at the moment seems to be that there is so many other templates, frameworks and plugins that dependes on Jquery. Hopefully these will be rewritten in angularjs some time
[11:46:47] <Corealis> in the future :)
[11:48:33] *** tschundeee has quit IRC
[11:49:12] *** evilaliv3 has joined #angularjs
[11:49:36] *** TorchDragon has quit IRC
[11:50:22] *** mmitchel_ has quit IRC
[11:51:04] *** Cydmax has quit IRC
[11:52:32] *** shorne has quit IRC
[11:52:43] <Corealis> Angularjs is really cool. For years I've avoided javascript, but now it's really easy to go from C#/WPF/MVVM to Angularjs. I don't think I will look back.
[11:53:10] *** LoveAndHappiness has quit IRC
[11:53:12] *** wilmoore has quit IRC
[11:53:13] *** pvde has joined #angularjs
[11:54:09] *** LoveAndHappiness has joined #angularjs
[11:54:46] *** wilmoore has joined #angularjs
[11:55:13] *** Ir1sh has joined #angularjs
[11:56:50] <Ir1sh> has anyone deployed their api hitting angularjs app on aws cloudfront or indeed any cdn? Any advice / articles?
[11:58:05] *** Scathen^C has joined #angularjs
[11:58:19] *** zfogg has quit IRC
[11:58:30] *** frostig has quit IRC
[11:58:53] *** LoveAndHappiness has quit IRC
[11:59:19] *** slainer68 has joined #angularjs
[11:59:48] *** ngbot has joined #angularjs
[11:59:49] <ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/3dG83Q
[11:59:49] <ngbot> angular.js/master 4152155 Bernhard Hofmann: docs(ngChange) might not evaluate due to ngPattern...
[11:59:49] <ngbot> angular.js/master 583f37d Peter Bacon Darwin: docs(ngChange): clarify when the ngChange expression is evaluated...
[11:59:49] *** ngbot has left #angularjs
[11:59:58] *** Siecje has quit IRC
[12:01:25] *** ThomasBS has joined #angularjs
[12:01:40] *** zfogg has joined #angularjs
[12:02:31] *** frankfang has quit IRC
[12:02:33] *** Grokling_ has quit IRC
[12:04:15] *** davi has joined #angularjs
[12:04:27] *** davi has joined #angularjs
[12:05:29] *** lordkryss has joined #angularjs
[12:05:46] <ThomasBS> Morning! Anyone around to help me sort my little problem with multiple $http calls? I've read it has something to do with doing multiple http calls will be asynchronous and I need to use some sort of callback (or angulars $q)
[12:06:15] *** frostig has joined #angularjs
[12:07:48] *** yaru22 has joined #angularjs
[12:08:12] *** scmx has quit IRC
[12:09:47] *** dariocravero has joined #angularjs
[12:12:12] *** yaru22 has quit IRC
[12:14:22] *** bicranial has quit IRC
[12:15:14] *** dutis has quit IRC
[12:15:31] *** noobee has quit IRC
[12:15:51] *** joker666 has joined #angularjs
[12:16:36] *** Foxandxss has joined #angularjs
[12:17:09] *** MuffinMan` has joined #angularjs
[12:17:25] *** Reskp has joined #angularjs
[12:19:07] *** epantzar has quit IRC
[12:19:17] *** Scathen^C has quit IRC
[12:19:44] *** hychen has joined #angularjs
[12:20:37] *** Nek has joined #angularjs
[12:22:07] *** Reskp has quit IRC
[12:23:39] *** tgkokk has quit IRC
[12:24:02] *** zfogg has quit IRC
[12:24:51] *** tgkokk has joined #angularjs
[12:25:27] *** MattWelch has joined #angularjs
[12:25:53] <joker666> anybody?
[12:27:07] *** joker666 has quit IRC
[12:27:34] *** ngoyal has joined #angularjs
[12:28:21] *** fold has quit IRC
[12:28:31] *** zfogg has joined #angularjs
[12:29:08] *** Scathen^C has joined #angularjs
[12:30:10] *** MattWelch has quit IRC
[12:31:04] *** Siecje has joined #angularjs
[12:31:54] *** ngoyal has quit IRC
[12:32:32] *** mven has joined #angularjs
[12:32:34] *** epantzar has joined #angularjs
[12:33:01] <Foxandxss> boneskull: nice testing helper
[12:33:07] <cyen_> Hi, could someone figure out why my list isn't updating? http://plnkr.co/edit/3Wu7UH?p=preview
[12:33:50] *** Scathen^C has quit IRC
[12:34:52] <cyen_> I have a list shared between two controllers
[12:35:02] <cyen_> and the list isn't updating
[12:35:11] <cyen_> on the front end.
[12:35:16] <Foxandxss> I am looking
[12:35:24] <Foxandxss> but how it is supposed to be updated?
[12:35:30] <Foxandxss> thjere are a lot of of moving parts
[12:35:33] <cyen_> Thank you
[12:35:47] <cyen_> Yes, there is... It's a project I've been working on
[12:35:58] <cyen_> It should be updated by the variable $scope.critiques
[12:36:20] *** scmx has joined #angularjs
[12:36:35] <Foxandxss> but doing what
[12:37:00] <cyen_> I push a critique object inside the array
[12:37:10] <cyen_> when you click :capitalization' and then on a word
[12:37:34] <Foxandxss> the button does nothing technically
[12:37:42] <cyen_> I gather info from the <span> and then push that into a critique model, and then push that into the list
[12:37:58] <cyen_> Right... it's all jquery and the directives. The directive, ButtonTools
[12:38:12] <Foxandxss> there is a lot of uneeded jquery
[12:38:16] <Foxandxss> and a lot of unbular rtight there
[12:38:26] <Foxandxss> ungular*
[12:38:26] <Foxandxss> grr
[12:38:42] <cyen_> O.o
[12:39:21] *** danielpquinn has joined #angularjs
[12:39:46] <Foxandxss> there is a lot weird here
[12:39:54] <Foxandxss> that ng-repeat is not working
[12:40:47] <cyen_> Exactly.,..
[12:40:50] <cyen_> That's my problem
[12:40:51] *** ccohn has joined #angularjs
[12:40:56] <cyen_> Could you help me clean my code up then?
[12:41:00] <Foxandxss> it doesn't have any controller associated
[12:41:08] <cyen_> Oh, you're right
[12:42:12] *** MuffinMan` has quit IRC
[12:42:15] <cyen_> but that still didn't fix my problem... are you getting my updated code?
[12:42:21] <cyen_> I've been adding comments and such.
[12:43:04] *** ccohn has quit IRC
[12:43:05] <Foxandxss> another wrong thing
[12:43:14] <cyen_> ?
[12:43:15] <Foxandxss> if you do any classic event likt he click you have on there
[12:43:24] <Foxandxss> you need to call $scope.$apply
[12:43:33] <Foxandxss> so angular will know about it
[12:43:45] *** ccohn has joined #angularjs
[12:43:52] <cyen_> so, if I change it to the on, it will be ok?
[12:44:12] <Foxandxss> that would be something fixed
[12:44:15] <Foxandxss> at least
[12:44:23] *** danielpquinn has quit IRC
[12:45:43] *** \du has joined #angularjs
[12:45:54] *** zfogg has quit IRC
[12:46:41] *** tp1 has joined #angularjs
[12:46:50] *** mmitchel_ has joined #angularjs
[12:47:20] *** MANCHUCK has joined #angularjs
[12:47:26] <cyen_> Foxandxss: I fixed the syntax error if you want to update to the newest? http://plnkr.co/edit/3Wu7UH?p=preview
[12:48:19] *** dariocravero has quit IRC
[12:48:35] *** ccohn has quit IRC
[12:48:57] *** motionman has joined #angularjs
[12:48:57] *** motionman has joined #angularjs
[12:49:09] *** mtsr has joined #angularjs
[12:49:11] <Foxandxss> your code is using a lot of jQuery instead of pure angular
[12:49:21] <Foxandxss> you're trying to use angular if it were jQuery
[12:49:22] <Foxandxss> that is wrong
[12:49:25] <ThomasBS> Hi guys.. Can anybody help me sort my little problem with multiple $http calls? I've read it has something to do with doing multiple http calls will be asynchronous and I need to use some sort of callback (or angulars $q)
[12:49:28] <ThomasBS> http://laravel.io/bin/oer9Q
[12:49:35] <cyen_> Yeah, I don't know any other way to extract information from span tags. How else would I do that?
[12:49:43] <cyen_> The span tags are dynamically generated
[12:49:54] *** ankoh has joined #angularjs
[12:49:56] <Foxandxss> I would recommend learning angular then
[12:50:23] <boneskull> Foxandxss thx, hope people like it
[12:50:31] <Foxandxss> boneskull: will try
[12:50:35] <Foxandxss> soon
[12:50:36] <Foxandxss> :P
[12:50:54] *** MattWelch has joined #angularjs
[12:50:57] *** DrJae has joined #angularjs
[12:51:15] *** nemothekid has quit IRC
[12:51:50] *** tgkokk has quit IRC
[12:52:12] *** Jae has quit IRC
[12:52:16] *** DrJae is now known as Jae
[12:52:23] *** Jae has joined #angularjs
[12:52:43] <cyen_> I have read tutorials and examples of angular and it is complicated. I was told to use directives to glean the information from the span tags, because I could add ng-click on each span tag, but someone told me that would be a lot of watchers
[12:52:47] <cyen_> and slow down performance
[12:52:48] *** mmitchel_ has quit IRC
[12:53:30] <Foxandxss> you have to keep reading I am afraid
[12:54:44] <cyen_> What should I look up?
[12:55:05] *** pbjorklund has joined #angularjs
[12:55:24] <Foxandxss> that is a good question, what I read was long ago
[12:55:25] *** MattWelch has quit IRC
[12:55:27] *** ThomasBS has quit IRC
[12:55:33] *** mtsr has quit IRC
[12:55:38] <Foxandxss> the newest books are the pro angular of apress, ng-book
[12:55:49] <Foxandxss> there are two good tutorials at thinkster also
[12:56:13] <Foxandxss> oh, was looking at thomas paste, he ran
[12:57:03] *** tarnus has joined #angularjs
[12:57:42] *** bulkan has quit IRC
[12:57:53] <cyen_> but you can't tell me what's wrong? Just that I am structuring my program incorrectly?
[12:58:03] <Foxandxss> yes
[12:58:11] <Foxandxss> you're using jQuery events instead of ng-click
[12:58:13] <Foxandxss> for example
[12:58:17] *** bulkan has joined #angularjs
[12:58:19] <Foxandxss> creating some weird factories I don't see them needed
[12:58:28] <cyen_> I can't put an ng-click on each span tag in my document
[12:58:37] <Foxandxss> why is that?
[12:58:42] <cyen_> There are a TON of words
[12:58:55] <Foxandxss> wrap every line then
[12:59:10] <cyen_> every line is defined by...? a paragraph?
[12:59:18] <Foxandxss> use that then
[12:59:34] <cyen_> So, if the user clicks on my paragraph, add a symbol to the end of the paragraph?
[12:59:42] <cyen_> and collect the paragraphs information?
[12:59:47] <Foxandxss> do what you need to do
[12:59:53] *** juampy has joined #angularjs
[13:00:08] <Foxandxss> to be honest, I never understood your original problem
[13:00:19] <Foxandxss> I just looked on those things that re wrong at plain sight
[13:00:45] <cyen_> I can re-do the factories, I use them as a way to communicate variables between two controllers
[13:01:22] *** tarnus has quit IRC
[13:01:29] <cyen_> .. but my main issue was I have this 'critiques' array, and for some reason it won't display on my document, although it does update. You can tell by the console.errors (I had to use console errors.. console logs weren't printing out on my MEAN.IO stack...)
[13:01:38] *** mettjus has joined #angularjs
[13:02:02] <Foxandxss> yes sorry, I am doing two things at the same time
[13:02:38] *** bulkan has quit IRC
[13:03:46] *** mtsr has joined #angularjs
[13:04:19] *** Ilyas has quit IRC
[13:05:29] *** hugorodrigues has joined #angularjs
[13:06:06] *** tgkokk has joined #angularjs
[13:07:25] *** Rahul_Roy has joined #angularjs
[13:08:45] *** moritzs has joined #angularjs
[13:09:14] *** moritzs has quit IRC
[13:10:11] *** hugorodrigues has quit IRC
[13:10:19] *** moritzs has joined #angularjs
[13:10:22] *** prbc has joined #angularjs
[13:11:18] *** corealix has joined #angularjs
[13:11:27] *** prbc has quit IRC
[13:12:00] *** prbc has joined #angularjs
[13:14:04] *** pvde has quit IRC
[13:16:26] *** mettjus has quit IRC
[13:16:46] *** Scathen^C has joined #angularjs
[13:17:52] *** prbc has quit IRC
[13:18:08] *** Reskp has joined #angularjs
[13:18:28] *** prbc has joined #angularjs
[13:18:44] *** corealix has quit IRC
[13:19:03] *** moritzs has quit IRC
[13:20:30] *** frankfang has joined #angularjs
[13:20:31] *** prbc_ has joined #angularjs
[13:20:59] *** prbc has quit IRC
[13:22:45] *** Reskp has quit IRC
[13:23:22] *** jangoh has quit IRC
[13:24:27] *** combat has quit IRC
[13:24:49] *** cyen_ has quit IRC
[13:25:07] *** prbc_ has quit IRC
[13:25:35] *** prbc has joined #angularjs
[13:26:23] *** wilmoore has quit IRC
[13:26:28] *** combat has joined #angularjs
[13:26:34] *** scmx has quit IRC
[13:27:27] *** imanc has quit IRC
[13:28:08] *** tangorri has quit IRC
[13:31:55] *** DevAntoine has joined #angularjs
[13:31:57] <DevAntoine> hi
[13:32:12] <DevAntoine> is there a guide to release an angularjs directive?
[13:32:15] *** Methylated has joined #angularjs
[13:32:31] <DevAntoine> I don't mean, to write a directive, but to release it for open source
[13:32:50] *** t_p has joined #angularjs
[13:34:48] *** tp1 has quit IRC
[13:34:53] *** encrypt3d_fracti has joined #angularjs
[13:36:35] *** shorne has joined #angularjs
[13:36:51] *** fixl has quit IRC
[13:37:32] *** tp1 has joined #angularjs
[13:37:34] *** uf6668 has quit IRC
[13:38:38] *** mtsr has quit IRC
[13:39:35] *** encrypt3d_fracti has quit IRC
[13:39:59] *** tp1_ has joined #angularjs
[13:40:07] *** danielpquinn has joined #angularjs
[13:40:25] *** ajk27 has quit IRC
[13:40:33] *** combat has quit IRC
[13:40:48] *** ajk27 has joined #angularjs
[13:41:54] *** tp1 has quit IRC
[13:41:56] *** t_p has quit IRC
[13:42:21] *** jamesshijie has joined #angularjs
[13:43:11] *** combat has joined #angularjs
[13:44:02] *** jamto11 has joined #angularjs
[13:44:23] *** charuru has quit IRC
[13:44:36] *** danielpquinn has quit IRC
[13:45:37] *** ianchak has joined #angularjs
[13:45:48] *** tschundeee has joined #angularjs
[13:46:34] *** jamesshijie has quit IRC
[13:47:14] *** TorchDragon has joined #angularjs
[13:48:58] *** mmitchel_ has joined #angularjs
[13:49:53] *** tschundeee has quit IRC
[13:49:57] *** epantzar has quit IRC
[13:50:14] *** seydoggy has joined #angularjs
[13:51:07] *** evilaliv3 has quit IRC
[13:51:28] *** DuelShark has joined #angularjs
[13:51:48] *** TorchDragon has quit IRC
[13:52:14] *** jamto11 has quit IRC
[13:53:54] *** mmitchel_ has quit IRC
[13:55:12] *** maxikon has quit IRC
[13:55:16] *** jordandotdev has joined #angularjs
[13:56:31] *** lordkryss has quit IRC
[13:57:35] *** combat has quit IRC
[13:58:20] *** umesh has joined #angularjs
[13:59:40] *** combat has joined #angularjs
[14:00:32] *** MattWelch has joined #angularjs
[14:00:36] *** DevAntoine has quit IRC
[14:00:46] *** tarnus has joined #angularjs
[14:01:03] *** LoveAndHappiness has joined #angularjs
[14:01:09] *** mehlah has joined #angularjs
[14:01:59] *** [n0b0dy] has quit IRC
[14:02:08] *** [n0b0dy] has joined #angularjs
[14:02:09] *** maxikon has joined #angularjs
[14:02:32] *** Reskp has joined #angularjs
[14:02:52] *** Cydmax has joined #angularjs
[14:02:54] *** siddart has quit IRC
[14:03:28] <LoveAndHappiness> why are there so many different databases... :/
[14:04:44] *** henn1nk has joined #angularjs
[14:04:56] *** san has joined #angularjs
[14:05:01] <san> hai
[14:05:20] *** san is now known as Guest32478
[14:05:47] <Guest32478> i am san-dio from australia
[14:06:41] *** Cydmax has quit IRC
[14:06:41] <Guest32478> i need clear idea for angularjs i am beginner any one suggestion
[14:09:18] *** wdgreg has joined #angularjs
[14:09:41] *** Bjii has joined #angularjs
[14:10:07] <Bjii> What is this
[14:10:23] *** Bjii has quit IRC
[14:10:44] *** MANCHUCK has quit IRC
[14:11:19] *** Reskp has quit IRC
[14:11:38] *** MANCHUCK has joined #angularjs
[14:13:00] *** ianchak has quit IRC
[14:13:21] *** ianchak has joined #angularjs
[14:15:12] *** pvde has joined #angularjs
[14:15:43] *** muzik has joined #angularjs
[14:16:33] <muzik> Hi All. So i am about to rewrite a site i have with angularjs, but i have a concern. Since it is all in one page, couldnt people easily just view the source and copy your page?
[14:16:40] *** bejames has joined #angularjs
[14:17:34] *** \du has quit IRC
[14:17:35] *** siddart has joined #angularjs
[14:18:24] *** cotko has joined #angularjs
[14:18:49] *** asdofindia has joined #angularjs
[14:19:14] *** Reskp has joined #angularjs
[14:19:41] *** kofight has joined #angularjs
[14:21:07] *** Reskp has quit IRC
[14:21:36] *** shorne has quit IRC
[14:22:34] *** bijan07077 has joined #angularjs
[14:23:23] *** davi has quit IRC
[14:23:48] *** asdofindia has quit IRC
[14:23:49] *** bijan07077 has quit IRC
[14:24:03] *** Guest32478 has quit IRC
[14:26:04] *** prbc has quit IRC
[14:26:50] *** texinwien has joined #angularjs
[14:27:06] *** Methylated has quit IRC
[14:27:42] *** plysiu has quit IRC
[14:27:43] *** mers has joined #angularjs
[14:28:49] *** bijan07077 has joined #angularjs
[14:28:55] *** BobbieBarker has quit IRC
[14:29:02] *** tp1 has joined #angularjs
[14:29:02] *** BobbieBarker has joined #angularjs
[14:29:59] *** bejames has quit IRC
[14:30:45] *** \du has joined #angularjs
[14:30:50] *** benjamingr has joined #angularjs
[14:31:52] *** metavige has joined #angularjs
[14:31:54] *** tp1_ has quit IRC
[14:32:31] <metavige> exit
[14:32:32] *** metavige has quit IRC
[14:34:15] *** wdgreg has quit IRC
[14:34:30] <house> no more then they usually could.
[14:35:00] *** LoveAndHappiness has quit IRC
[14:35:07] *** LoveAndHappiness has joined #angularjs
[14:37:27] *** jtimon has joined #angularjs
[14:40:09] *** plysiu has joined #angularjs
[14:40:09] *** DrMabuse_ has joined #angularjs
[14:40:53] *** danielpquinn has joined #angularjs
[14:41:10] *** combat has quit IRC
[14:42:14] *** combat has joined #angularjs
[14:43:00] *** \du has quit IRC
[14:43:18] *** plysiu has quit IRC
[14:43:34] *** DrMabuse has quit IRC
[14:44:44] *** jamieshepherd has joined #angularjs
[14:45:12] *** danielpquinn has quit IRC
[14:46:09] *** blackkbo- is now known as blackkbot
[14:46:09] *** fedenunez has joined #angularjs
[14:47:29] *** calumet has joined #angularjs
[14:49:11] *** bijan07077 has quit IRC
[14:50:01] *** Cydmax has joined #angularjs
[14:50:27] *** mmitchel_ has joined #angularjs
[14:50:29] *** siddart has quit IRC
[14:51:03] *** combat has quit IRC
[14:51:08] *** mkc has joined #angularjs
[14:51:10] *** melmoussaoui has joined #angularjs
[14:51:41] *** bmac has joined #angularjs
[14:52:24] <Foxandxss> muzik: well, minify & uglify your code, that helps
[14:53:07] *** cotko has quit IRC
[14:53:43] *** hugorodrigues has joined #angularjs
[14:53:48] *** combat has joined #angularjs
[14:54:46] *** bijan07077 has joined #angularjs
[14:55:31] *** epantzar has joined #angularjs
[14:55:48] *** mmitchel_ has quit IRC
[14:56:13] *** siddart has joined #angularjs
[14:58:02] *** pbody has joined #angularjs
[14:58:24] *** DuelShark has quit IRC
[14:58:30] *** hugorodrigues has quit IRC
[14:58:49] *** henn1nk has quit IRC
[15:00:10] *** epantzar has quit IRC
[15:00:51] *** bmac has quit IRC
[15:01:49] *** tgkokk has quit IRC
[15:03:56] *** bijan07077 has quit IRC
[15:05:03] *** combat has quit IRC
[15:05:38] *** Wiljan has joined #angularjs
[15:07:14] *** tgkokk has joined #angularjs
[15:07:35] *** combat has joined #angularjs
[15:08:22] *** lordkryss has joined #angularjs
[15:08:42] *** melmoussaoui has quit IRC
[15:09:15] *** mindlace has joined #angularjs
[15:09:40] *** henn1nk has joined #angularjs
[15:09:56] *** yaru22 has joined #angularjs
[15:10:02] *** hugorodrigues has joined #angularjs
[15:10:19] *** Sebastien-L has joined #angularjs
[15:10:56] *** MuffinMan` has joined #angularjs
[15:13:45] *** seydoggy has quit IRC
[15:14:02] *** yaru22 has quit IRC
[15:14:56] *** Reskp has joined #angularjs
[15:15:34] *** bmac has joined #angularjs
[15:16:21] *** seydoggy_ has joined #angularjs
[15:16:58] *** wolfman2000 has quit IRC
[15:17:01] *** MuffinMan` has quit IRC
[15:17:45] *** MuffinMan` has joined #angularjs
[15:18:05] <pbody> Can anyone explain how to animate the resize of two divs (column layout). I have 450px for the left column and want the animation to result in the columns both being equal... (I'm totally new to AngularJS)
[15:19:42] *** bePolite has joined #angularjs
[15:19:54] <bePolite> Please what are some recommended books on angular js
[15:20:27] *** ianchak has quit IRC
[15:20:42] *** mehlah has quit IRC
[15:21:40] *** kayoone has quit IRC
[15:21:44] *** negval has quit IRC
[15:25:37] *** fedenunez has quit IRC
[15:26:03] *** epantzar has joined #angularjs
[15:26:12] *** linojon has joined #angularjs
[15:27:17] *** epantzar has quit IRC
[15:27:32] *** fedenunez has joined #angularjs
[15:27:47] *** epantzar has joined #angularjs
[15:28:41] *** mtsr has joined #angularjs
[15:30:49] *** LoveAndHappiness has quit IRC
[15:31:48] *** mindlace has quit IRC
[15:31:49] *** LoveAndHappiness has joined #angularjs
[15:32:14] *** epantzar has quit IRC
[15:32:59] *** MANCHUCK has quit IRC
[15:33:14] *** DevAntoine has joined #angularjs
[15:34:34] *** Rahul_Roy has quit IRC
[15:34:37] *** lordkryss has quit IRC
[15:35:32] *** jobelenus has joined #angularjs
[15:35:32] *** combat has quit IRC
[15:36:48] *** JosephBergevin has joined #angularjs
[15:37:28] *** ome has quit IRC
[15:37:57] *** combat has joined #angularjs
[15:41:01] *** LoveAndHappiness has quit IRC
[15:41:37] *** danielpquinn has joined #angularjs
[15:41:41] *** LoveAndHappiness has joined #angularjs
[15:42:07] *** Reskp has quit IRC
[15:42:33] *** artmann has quit IRC
[15:42:40] *** artmann has joined #angularjs
[15:42:54] *** DevAntoine has quit IRC
[15:43:00] *** muzik has quit IRC
[15:43:47] *** jamesshijie has joined #angularjs
[15:43:57] *** combat has quit IRC
[15:44:39] *** bmac has quit IRC
[15:46:17] *** BillCriswell has joined #angularjs
[15:46:19] *** danielpquinn has quit IRC
[15:47:28] *** tschundeee has joined #angularjs
[15:47:36] *** e-dard has joined #angularjs
[15:48:16] *** pbjorklund has quit IRC
[15:48:30] *** jamesshijie has quit IRC
[15:48:32] *** TorchDragon has joined #angularjs
[15:48:55] *** tomzx`afk is now known as tomzx
[15:49:27] *** AWAW has joined #angularjs
[15:49:33] *** lordkryss has joined #angularjs
[15:51:46] *** Reskp has joined #angularjs
[15:51:52] *** tschundeee has quit IRC
[15:52:04] *** mmitchel_ has joined #angularjs
[15:52:08] *** dutis has joined #angularjs
[15:52:39] *** bePolite has quit IRC
[15:52:47] *** TorchDragon has quit IRC
[15:52:52] *** bePolite has joined #angularjs
[15:53:08] *** DoubleAW has quit IRC
[15:53:16] *** Methylated has joined #angularjs
[15:54:35] *** tp1 has quit IRC
[15:54:58] *** Methylated has quit IRC
[15:55:12] *** BillCriswell has quit IRC
[15:56:36] *** mmitchel_ has quit IRC
[15:57:26] *** Methylated has joined #angularjs
[15:57:35] *** fedenunez has quit IRC
[15:57:44] *** combat has joined #angularjs
[15:57:49] <e-dard> I have a function I run when choosing a new route, which redirects to login route if user not logged in. Where is the best place to store the original route, so I can redirect back?
[15:57:58] *** eden_lane has joined #angularjs
[15:57:58] *** Nijikokun has quit IRC
[15:58:00] *** JasonStoltz has joined #angularjs
[16:00:26] <Corealis> e-dard: sessionStorage?
[16:01:08] <e-dard> Corealis: ok, so it's not normally stored in a service somewhere?
[16:02:15] <Corealis> e-dard: http://stackoverflow.com/questions/14657711/redirect-index-page-if-user-is-logged-in-angularjs
[16:03:15] <e-dard> Corealis: that doesn't show you where to save the original route
[16:03:25] <e-dard> I'm already successfully redirecting to login
[16:03:51] *** combat has quit IRC
[16:04:21] <e-dard> Corealis: I think I can use something called the value service for this
[16:05:35] *** daslicht has joined #angularjs
[16:06:42] *** Tidwell has joined #angularjs
[16:06:48] *** combat has joined #angularjs
[16:07:39] *** Sebastien-L has quit IRC
[16:07:39] *** vader has quit IRC
[16:08:52] *** Shrooms has joined #angularjs
[16:09:04] *** wookiehangover has quit IRC
[16:09:27] <Corealis> e-dard: a value service is probably a better idea, yes
[16:10:40] *** yaru22 has joined #angularjs
[16:10:40] *** vader has joined #angularjs
[16:10:45] *** nitsujw has joined #angularjs
[16:11:40] *** jdelgado has joined #angularjs
[16:12:02] *** mettjus has joined #angularjs
[16:13:28] *** dutis has quit IRC
[16:14:33] *** dylanlindgren has quit IRC
[16:14:53] *** yaru22 has quit IRC
[16:15:20] *** bePolite has quit IRC
[16:15:25] *** intellix has joined #angularjs
[16:15:33] *** joshontheweb has joined #angularjs
[16:17:58] *** mettjus1 has joined #angularjs
[16:17:58] *** mettjus has quit IRC
[16:19:24] *** combat1 has joined #angularjs
[16:20:08] *** Ethix has joined #angularjs
[16:21:07] *** JasonStoltz has quit IRC
[16:21:18] *** combat has quit IRC
[16:22:47] *** Tidwell has quit IRC
[16:22:56] *** bePolite has joined #angularjs
[16:22:56] *** bePolite has joined #angularjs
[16:23:27] *** hychen has quit IRC
[16:23:29] *** tgkokk has joined #angularjs
[16:24:03] *** combat has joined #angularjs
[16:24:12] *** tgkokk has quit IRC
[16:25:16] *** dob_ has joined #angularjs
[16:25:23] *** Wiljan has quit IRC
[16:26:12] *** kalehv has joined #angularjs
[16:26:23] *** combat1 has quit IRC
[16:26:42] *** Reskp has quit IRC
[16:27:04] <e-dard> If I have something like .value('originalRoute', 'foo') how do I set originalRoute inside of a .run function?
[16:27:54] <e-dard> I'm doing like: .run(function($rootScope, originalRoute) { $rootScope.$on("$routeChangeStart", function(event, nextRoute, currentRoute) { originalRoute = 'bar'; } } but not updating
[16:28:29] *** epantzar has joined #angularjs
[16:28:36] *** AxldenieD has joined #angularjs
[16:29:12] <AxldenieD> hey :)
[16:29:52] *** fedenunez has joined #angularjs
[16:30:15] *** jdowdle has joined #angularjs
[16:30:16] *** vader has quit IRC
[16:30:21] *** jdowdle has quit IRC
[16:30:30] *** mehlah has joined #angularjs
[16:30:46] *** vader has joined #angularjs
[16:31:09] *** CircleDot has joined #angularjs
[16:31:10] *** jdelgado has quit IRC
[16:31:20] *** tp1 has joined #angularjs
[16:32:02] *** vader has quit IRC
[16:32:31] *** jshultz has joined #angularjs
[16:32:41] *** vader has joined #angularjs
[16:33:00] *** epantzar has quit IRC
[16:33:18] *** combat has quit IRC
[16:33:58] *** CircleDot has quit IRC
[16:34:11] *** combat has joined #angularjs
[16:34:26] *** jobelenus has quit IRC
[16:34:29] *** jdowdle|afk is now known as jdowdle
[16:34:33] *** bluesm has quit IRC
[16:34:34] *** nathggns has joined #angularjs
[16:36:46] *** Stampy has joined #angularjs
[16:37:01] *** nitsujw has quit IRC
[16:37:08] *** Tidwell has joined #angularjs
[16:37:24] *** nitsujw has joined #angularjs
[16:37:47] *** encrypt3d_fracti has joined #angularjs
[16:38:04] *** frankfang has quit IRC
[16:38:51] *** LoveAndHappiness has quit IRC
[16:39:19] *** combat1 has joined #angularjs
[16:39:47] *** Olsonfold has quit IRC
[16:39:56] *** tp1 has quit IRC
[16:40:41] *** combat has quit IRC
[16:41:41] *** danyim has joined #angularjs
[16:42:20] *** MANCHUCK has joined #angularjs
[16:42:24] *** danielpquinn has joined #angularjs
[16:42:24] *** encrypt3d_fracti has quit IRC
[16:43:52] *** evilaliv3 has joined #angularjs
[16:46:29] *** jangoh has joined #angularjs
[16:46:57] *** danielpquinn has quit IRC
[16:47:53] *** ankoh has quit IRC
[16:48:03] *** bluesm has joined #angularjs
[16:48:31] *** tschundeee has joined #angularjs
[16:48:51] *** mettjus1 has quit IRC
[16:48:51] *** ankoh has joined #angularjs
[16:49:54] *** TorchDragon has joined #angularjs
[16:52:34] *** tschundeee has quit IRC
[16:52:59] *** mmitchel_ has joined #angularjs
[16:53:25] *** evilaliv3 has quit IRC
[16:54:14] *** TorchDragon has quit IRC
[16:54:20] *** evilaliv3 has joined #angularjs
[16:55:02] *** patrickarlt has joined #angularjs
[16:55:29] *** bmac has joined #angularjs
[16:55:33] *** mehlah has quit IRC
[16:55:34] *** Wiljan has joined #angularjs
[16:55:42] *** elxa has quit IRC
[16:55:49] *** elxa_ has joined #angularjs
[16:56:34] *** Tidwell has quit IRC
[16:57:08] *** Cydmax has quit IRC
[16:57:34] *** mers has quit IRC
[16:57:53] *** hswolff has quit IRC
[16:58:31] *** mmitchel_ has quit IRC
[16:58:49] *** elxa_ is now known as elxa
[16:58:54] *** pbody has quit IRC
[16:59:02] <Jae> hey guys
[16:59:14] <Jae> is it possible to assign an array as a value in a ng-click?
[16:59:14] *** lw has joined #angularjs
[16:59:49] *** blueadept has joined #angularjs
[16:59:49] *** blueadept has joined #angularjs
[17:00:27] *** hswolff has joined #angularjs
[17:01:01] *** lordkryss has quit IRC
[17:01:11] *** orion1111 has quit IRC
[17:02:01] *** phuh has joined #angularjs
[17:02:31] *** mehlah has joined #angularjs
[17:03:45] *** patrickarlt has quit IRC
[17:04:39] *** phuh has quit IRC
[17:04:43] *** rtpg has joined #angularjs
[17:05:12] *** Methylated has quit IRC
[17:05:30] *** Methylated has joined #angularjs
[17:06:11] *** s3shs has joined #angularjs
[17:06:16] *** bePolite has quit IRC
[17:07:03] *** Fire-Dragon-DoL has joined #angularjs
[17:07:13] *** nitsujw has quit IRC
[17:08:00] *** nitsujw has joined #angularjs
[17:08:00] *** mettjus has joined #angularjs
[17:08:12] *** Mouzi` has joined #angularjs
[17:09:02] *** mehlah has quit IRC
[17:09:07] *** evilaliv3 has quit IRC
[17:10:00] *** jdowdle is now known as jdowdle|afk
[17:10:54] *** motionman has quit IRC
[17:11:19] *** BillCriswell has joined #angularjs
[17:11:23] *** Mouzi has quit IRC
[17:11:39] *** Guest_ has joined #angularjs
[17:11:48] *** mtho11|away has quit IRC
[17:12:10] *** mehlah has joined #angularjs
[17:12:57] *** calumet has quit IRC
[17:13:04] *** zumba_addict has joined #angularjs
[17:13:22] *** hugorodrigues has quit IRC
[17:14:23] <zumba_addict> hey folks, haven't use .value. Here is my question. https://gist.github.com/c0debreaker/770adf9aafafc4ed1f74 So we inject myValue into our controller. Do we update the version like this? myValue.version = '1.1a';
[17:15:02] *** LoveAndHappiness has joined #angularjs
[17:15:16] *** dob_ has quit IRC
[17:15:43] *** dob_ has joined #angularjs
[17:16:33] *** pvde has quit IRC
[17:16:47] *** seydoggy_ has quit IRC
[17:17:27] *** seydoggy has joined #angularjs
[17:17:31] *** tp1 has joined #angularjs
[17:17:40] *** henn1nk has quit IRC
[17:18:10] *** epantzar has joined #angularjs
[17:18:23] *** fedenunez has quit IRC
[17:18:26] <eden_lane> Hello there. How to use 'controllerAs' in nested directives ? I want to access outer's directive controller in inner directive view
[17:18:29] *** fedenunez has joined #angularjs
[17:19:08] *** epantzar has quit IRC
[17:19:32] *** enkristoffer has joined #angularjs
[17:19:37] <e-dard> zumba_addict: I just had trouble with that service. Couldn't get the value to stick when I updated it in controller. In the end I just used $rootService
[17:19:52] <zumba_addict> sometimes I do that too :)
[17:20:03] *** dob_ has quit IRC
[17:20:49] *** danyim has quit IRC
[17:21:10] *** danyim has joined #angularjs
[17:21:43] *** seydoggy has quit IRC
[17:23:05] *** tgkokk has joined #angularjs
[17:23:10] <zumba_addict> hey guys, do you know of a library that will allow us to reload a js file?
[17:23:37] *** tp1 has quit IRC
[17:23:56] <zumba_addict> does require.js allow us to do that? or is it bloated for my simple requirement?
[17:24:16] *** tangorri has joined #angularjs
[17:24:33] *** drej has joined #angularjs
[17:25:32] *** abahgat has quit IRC
[17:25:36] *** [n0b0dy] has quit IRC
[17:25:41] *** mtsr has quit IRC
[17:25:46] <zumba_addict> gonna try this, http://www.philnicholas.com/2009/05/11/reloading-your-javascript-without-reloading-your-page/
[17:25:48] *** rtpg has quit IRC
[17:26:16] *** Nizumzen has joined #angularjs
[17:26:22] *** rtpg has joined #angularjs
[17:26:25] *** eutheria has joined #angularjs
[17:26:34] *** texinwien has quit IRC
[17:27:01] *** eutheria has quit IRC
[17:27:06] *** [n0b0dy] has joined #angularjs
[17:27:39] *** rtpg_ has joined #angularjs
[17:27:43] *** rtpg has quit IRC
[17:28:16] *** davemerwin has joined #angularjs
[17:28:22] *** MANCHUCK has quit IRC
[17:29:09] *** MANCHUCK has joined #angularjs
[17:30:10] *** subnl2 has joined #angularjs
[17:30:18] *** ETBlue has quit IRC
[17:32:03] *** rtpg_ has quit IRC
[17:33:05] *** rburns has joined #angularjs
[17:33:42] *** tp1 has joined #angularjs
[17:34:12] *** mehlah has quit IRC
[17:34:22] *** dob_ has joined #angularjs
[17:34:31] *** subnl2 has quit IRC
[17:34:46] *** mers has joined #angularjs
[17:36:37] *** fedenunez has quit IRC
[17:36:49] <house> ok.. so i'm ready to start my first directive (i think) ... is a good application for a directive creating a tag that, when used, created a header with centralized configuration for the nav?
[17:37:03] *** intellix has left #angularjs
[17:37:08] *** oste has joined #angularjs
[17:37:40] *** Tidwell has joined #angularjs
[17:37:46] *** abahgat has joined #angularjs
[17:38:07] <zumba_addict> it reloaded the js file but it didn't help in displaying the correct values in my google-chart. It works when I refresh the whole browser
[17:38:08] *** nitsujw has quit IRC
[17:38:12] *** nitsujw_ has joined #angularjs
[17:38:14] *** Guest_ has quit IRC
[17:38:26] *** apetro_ has joined #angularjs
[17:38:34] *** Guest_ has joined #angularjs
[17:38:42] *** lw has quit IRC
[17:40:08] *** Rahul_Roy has joined #angularjs
[17:40:52] *** mmitchel_ has joined #angularjs
[17:40:56] *** Guest_ has quit IRC
[17:41:06] *** armdale has joined #angularjs
[17:41:15] *** intellix has joined #angularjs
[17:41:40] *** intellix has quit IRC
[17:42:37] *** intellix has joined #angularjs
[17:43:09] *** danielpquinn has joined #angularjs
[17:44:30] *** dob_ has quit IRC
[17:44:38] *** ETBlue has joined #angularjs
[17:44:56] *** dob_ has joined #angularjs
[17:45:17] *** jamesshijie has joined #angularjs
[17:46:17] *** mtsr has joined #angularjs
[17:46:53] *** fedenunez has joined #angularjs
[17:47:19] *** intellix has quit IRC
[17:47:25] *** danielpquinn has quit IRC
[17:47:53] *** intellix has joined #angularjs
[17:48:43] *** Reskp has joined #angularjs
[17:49:24] *** Reskp_ has joined #angularjs
[17:49:27] *** jamesshijie has quit IRC
[17:49:33] *** dob_ has quit IRC
[17:50:33] *** TorchDragon has joined #angularjs
[17:51:54] *** nitsujw_ has quit IRC
[17:51:56] *** apetro_ has quit IRC
[17:52:12] *** apetro_ has joined #angularjs
[17:53:03] *** Reskp has quit IRC
[17:53:17] *** cotko has joined #angularjs
[17:53:34] *** Tidwell has quit IRC
[17:54:13] *** cigarshark has joined #angularjs
[17:54:18] *** htowngangsta has joined #angularjs
[17:54:58] *** LoveAndHappiness has quit IRC
[17:55:01] *** TorchDragon has quit IRC
[17:55:07] *** Tuxity has quit IRC
[17:55:14] *** nitsujw has joined #angularjs
[17:55:19] *** kalehv has quit IRC
[17:55:51] *** LoveAndHappiness has joined #angularjs
[17:56:03] *** DuelShark has joined #angularjs
[17:56:27] *** yaru22 has joined #angularjs
[17:56:49] <e-dard> Hi, so I have something like data-ng-repeat="modifier in modifiers" and in the loop I do {{someFunction(modifier)}}, inside the function I have an async method with a succcess function.
[17:56:51] *** yaru22 has quit IRC
[17:57:06] <e-dard> When I run this (with some console printin) it loops forever?
[17:57:08] *** Tuxity has joined #angularjs
[17:57:10] *** dob_ has joined #angularjs
[17:57:16] *** MANCHUCK has quit IRC
[17:57:17] <e-dard> It's like the view is constantly calling the method ?
[17:57:52] *** tgkokk has quit IRC
[17:58:10] *** MANCHUCK has joined #angularjs
[17:59:41] <e-dard> ah I think maybe this is due to the dirty checking of the model?
[18:01:46] *** mers has quit IRC
[18:02:11] *** henn1nk has joined #angularjs
[18:02:20] *** apetro_ has quit IRC
[18:03:31] *** grump has quit IRC
[18:04:50] *** schuran_ has joined #angularjs
[18:05:11] *** ThomasBS has joined #angularjs
[18:05:42] *** cigol has quit IRC
[18:06:13] *** Tidwell has joined #angularjs
[18:07:11] *** schuranator has quit IRC
[18:07:29] *** fold has joined #angularjs
[18:08:00] *** cactauz has joined #angularjs
[18:08:06] *** Thylith has quit IRC
[18:08:07] <ThomasBS> Hi guys.. Can anybody help me sort my little problem with multiple $http calls? I've read it has something to do with doing multiple http calls will be asynchronous and I need to use some sort of callback (or angulars $q)
[18:08:10] *** Zyril has joined #angularjs
[18:08:50] *** s3shs has quit IRC
[18:09:01] *** Wiljan has quit IRC
[18:10:22] *** benjamingr has quit IRC
[18:10:36] *** henn1nk has quit IRC
[18:11:03] *** daslicht has quit IRC
[18:11:35] *** cyen_ has joined #angularjs
[18:11:53] *** cacts|wtf has quit IRC
[18:12:36] *** jillesme has joined #angularjs
[18:12:39] *** schuranator has joined #angularjs
[18:13:16] <jillesme> Hey guys! How would you solve this problem? http://jsfiddle.net/jillesme/KSE4s/ I want 0 logic in my controller and all my data comes from factories.. However if you save the form, I want it to clear..
[18:13:32] <house> ThomasBS, you $resource
[18:13:33] *** nitsujw has quit IRC
[18:13:39] <house> *use $resource
[18:13:56] <house> its a lot cleaner..
[18:13:59] <ThomasBS> Ok Ill have a look at the documentation, thanks house
[18:15:17] *** schuran_ has quit IRC
[18:15:55] <house> here is an example of how i use it:
[18:15:56] <house> http://pastebin.com/pYfZ6ZY8
[18:16:03] *** Reskp_ has quit IRC
[18:16:29] *** Reskp has joined #angularjs
[18:16:41] *** Nizumzen has quit IRC
[18:16:43] <ThomasBS> ok, ill give it a go
[18:16:45] <ThomasBS> thanks :-)
[18:17:07] <house> so now in the controller, I can set scope variables to the out put of GET, POST, etc. by calling the functions of (in this case) MemberFactory and MembersFactory
[18:17:15] *** Reskp has quit IRC
[18:18:00] *** seydoggy has joined #angularjs
[18:18:09] *** Reskp has joined #angularjs
[18:18:18] <ThomasBS> but will it still be asynchronous?
[18:18:21] <ThomasBS> this is my code fx:
[18:18:26] <ThomasBS> http://laravel.io/bin/oer9Q
[18:18:37] <ThomasBS> i guess my problem is, i run $http inside another $http call
[18:19:02] *** nitsujw has joined #angularjs
[18:19:05] <house> it would be ansynchornous. since you populate your scope with GET
[18:19:08] <house> whenever you call it.
[18:19:10] *** vader has quit IRC
[18:19:20] <e-dard> Am I correct in thinking that if you chain promises together they will be carried out in serial? Synchronously?
[18:19:30] *** schuran_ has joined #angularjs
[18:19:53] <ThomasBS> so I could use $q.all() to chain them?
[18:19:55] *** rburns has quit IRC
[18:20:00] <ThomasBS> hmm i dunno
[18:20:03] *** Reskp has quit IRC
[18:20:09] *** vader has joined #angularjs
[18:20:20] <house> in this case, you would use $resource instead of $http
[18:20:24] *** bbankes_ has joined #angularjs
[18:20:34] *** schuranator has quit IRC
[18:20:56] *** secondjeff has joined #angularjs
[18:21:52] <ThomasBS> okay
[18:22:29] *** subnl2 has joined #angularjs
[18:22:31] *** apetro_ has joined #angularjs
[18:22:39] *** seydoggy has quit IRC
[18:22:47] *** encrypt3d_fracti has joined #angularjs
[18:24:52] *** texinwien has joined #angularjs
[18:26:12] *** dutis has joined #angularjs
[18:26:24] *** secondjeff has quit IRC
[18:26:58] *** nathggns has quit IRC
[18:27:03] *** encrypt3d_fracti has quit IRC
[18:27:05] *** zarul has quit IRC
[18:27:10] *** Reskp has joined #angularjs
[18:28:05] *** ngoyal has joined #angularjs
[18:28:24] <e-dard> I would like to do something like {{waitForValue() || <img src="images/loading.gif" alt="loading">}}
[18:28:31] <e-dard> Any thoughts on how to do this properly?
[18:28:55] *** arabot has joined #angularjs
[18:29:08] *** jillesme has quit IRC
[18:29:33] <da_wunder> e-dard: <img data-ng-show="loading" /> ?
[18:29:45] *** armdale has quit IRC
[18:29:47] *** ngoyal has quit IRC
[18:29:53] *** fairchild has joined #angularjs
[18:29:54] <da_wunder> e-dard: <img data-ng-show="!waitForValue()" /> ?
[18:30:13] *** nitsujw has quit IRC
[18:30:34] <e-dard> da_wunder: waitForValue() returns a string (eventually) so I want to either have the spinner or the string when it's set
[18:31:00] <da_wunder> e-dard: could you provide plunker example of that?
[18:31:09] <e-dard> da_wunder: don't know how to use plunker :(
[18:31:40] <da_wunder> e-dard: $.get('test.htm', function(data) { bootbox.alert(data);
[18:31:43] <da_wunder> damn
[18:31:47] <e-dard> da_wunder: basically I want to show an image until some value is "truthy"
[18:31:49] <da_wunder> wrong paste
[18:31:56] <e-dard> and then I want to show the value
[18:32:14] <e-dard> the problem is that I need to eithr emit html or emit a string and I can't do that in {{ }}
[18:32:54] *** hychen has joined #angularjs
[18:33:00] *** knownasilya has quit IRC
[18:33:24] *** blueadept has quit IRC
[18:33:38] <da_wunder> ok then something like <img data-ng-show="loading" /> <div data-ng-show="!loading" data-ng-bind="waitForValue()"></div>
[18:33:56] *** Bruno1 has joined #angularjs
[18:34:25] *** LoveAndHappiness has quit IRC
[18:34:38] <da_wunder> and then just add $scope.loading = true to your controller and set that to false whenever your value is ready
[18:34:43] *** cotko has quit IRC
[18:35:14] <e-dard> da_wunder: could I also use ng-if directive?
[18:35:22] <da_wunder> sure
[18:35:25] *** mettjus has quit IRC
[18:35:43] *** Bruno1 has left #angularjs
[18:36:02] *** dutis has quit IRC
[18:36:41] *** tyfighter has joined #angularjs
[18:37:26] *** tyfighter has quit IRC
[18:38:52] *** zarul has joined #angularjs
[18:39:33] *** icarus75 has quit IRC
[18:40:18] *** LoveAndHappiness has joined #angularjs
[18:40:40] *** nitsujw has joined #angularjs
[18:41:25] *** umib0zu has joined #angularjs
[18:41:27] *** Methylated has quit IRC
[18:42:17] *** enkristoffer has quit IRC
[18:43:26] *** epantzar has joined #angularjs
[18:43:55] *** danielpquinn has joined #angularjs
[18:44:22] *** asdofindia has joined #angularjs
[18:44:26] *** asdofindia has joined #angularjs
[18:44:40] <e-dard> da_wunder: thanks for your help :)
[18:46:33] *** Nizumzen has joined #angularjs
[18:47:39] *** subnl2 has quit IRC
[18:47:52] *** lp76 has joined #angularjs
[18:48:22] *** apetro_ has quit IRC
[18:48:34] *** danielpquinn has quit IRC
[18:49:12] *** lp76 has left #angularjs
[18:49:19] *** DrMabuse_ has quit IRC
[18:49:45] *** DrMabuse has joined #angularjs
[18:49:56] *** jdowdle|afk is now known as jdowdle
[18:50:23] *** subnl2 has joined #angularjs
[18:50:54] *** oste has quit IRC
[18:50:57] *** NickMass has left #angularjs
[18:50:58] <da_wunder> e-dard: also check this out http://plnkr.co/edit/fcF3kNSp1oxRH0yXXXji
[18:51:04] <da_wunder> small demo about that
[18:51:55] *** tgkokk has joined #angularjs
[18:51:58] *** nitsujw has quit IRC
[18:52:11] <e-dard> da_wunder: ah cool
[18:52:37] *** davi has joined #angularjs
[18:52:46] *** icarus75 has joined #angularjs
[18:52:49] <da_wunder> maybe that help you to make plunker next time too
[18:53:16] *** Joshee has joined #angularjs
[18:55:32] *** rburns has joined #angularjs
[18:55:48] *** chrisshattuck has joined #angularjs
[18:56:45] *** lordkryss has joined #angularjs
[18:56:47] *** Reskp has quit IRC
[18:57:05] <DrMabuse> $timeout(function() { ^^^
[18:57:16] <DrMabuse> content loaded
[18:57:19] <DrMabuse> wtf
[18:57:33] <da_wunder> just to demonstrate ajax loading
[18:57:58] *** bertrandk has joined #angularjs
[18:58:25] *** LoveAndHappiness has quit IRC
[18:58:37] <DrMabuse> well ajax has no time
[18:58:43] <DrMabuse> ajax has bandwidth
[18:58:50] <DrMabuse> and a success
[18:58:58] *** LoveAndHappiness has joined #angularjs
[18:59:06] <DrMabuse> or not a 200
[18:59:34] *** tgkokk has joined #angularjs
[18:59:58] <da_wunder> DrMabuse: i just make small example to demonstrate that 19:28 < e-dard> I would like to do something like {{waitForValue() || <img src="images/loading.gif" alt="loading">}}
[18:59:59] <mrogne> DrMabuse you in a bad mood today or something? :P
[19:00:11] <DrMabuse> :)
[19:00:14] <DrMabuse> no
[19:00:14] <mrogne> using $timeout to simulate the delay of an ajax call is perfectly fine :P
[19:00:27] <DrMabuse> ok ok
[19:01:03] <DrMabuse> but my trainee
[19:01:11] <DrMabuse> do the same last week without demo
[19:01:27] <DrMabuse> an he is just wondering that the call is not ready
[19:02:47] *** henn1nk has joined #angularjs
[19:02:47] *** rburns has quit IRC
[19:04:34] *** LoveAndHappiness has quit IRC
[19:04:39] *** henn1nk has quit IRC
[19:05:12] *** Reskp has joined #angularjs
[19:05:31] *** LoveAndHappiness has joined #angularjs
[19:05:46] *** jamesshijie has joined #angularjs
[19:06:51] *** damoncasale has joined #angularjs
[19:07:00] <damoncasale> Morning/afternoon, folks...
[19:07:23] *** cobakobodob has quit IRC
[19:07:55] <damoncasale> Okay, so, using ui-router. I have a route with a parameter. I'm pretty sure I've set it up properly, but when I click on the anchor node (with the correct ui-sref definition), it doesn't switch the view.
[19:07:55] *** umib0zu has quit IRC
[19:08:23] <damoncasale> When I try to open the view manually (click on anchor node and select open in new tab), a mostly empty page appears.
[19:08:27] *** chrisshattuck has quit IRC
[19:08:32] <damoncasale> It looks like the controller isn't being fired at all. Help?
[19:08:42] <damoncasale> https://69.16.208.95/~opamobil/#/dashboard/feed
[19:08:51] *** epantzar has quit IRC
[19:08:59] *** [n0b0dy] has quit IRC
[19:09:07] <damoncasale> Click the comment bubble (second from the right in the top "Josh" post. Oh, and login with damoncasale/private.
[19:09:09] *** [n0b0dy] has joined #angularjs
[19:09:20] *** nitsujw has joined #angularjs
[19:09:32] *** MV48 has joined #angularjs
[19:10:06] *** night-owl2 has joined #angularjs
[19:10:12] *** jamesshijie has quit IRC
[19:10:21] <da_wunder> damoncasale: you have a lot php errors
[19:10:46] *** Trow has joined #angularjs
[19:11:25] *** LoveAndHappiness has quit IRC
[19:11:35] <MV48> Hi all, having a problem with ngTable. Basically I have a checkbox that, when checked, makes an API call ngTable is re-instantiated. The problem I'm finding that it doesn't work unless the page is hard-refreshed on page one. How should I handle re-instantiation? Keep in mind the the ngTable obj is in $scope. Thanks
[19:11:41] *** LoveAndHappiness has joined #angularjs
[19:11:58] <damoncasale> I don't see php errors?
[19:12:02] <damoncasale> Where are you seeing those?
[19:12:42] <damoncasale> I did a view source of this:
[19:12:46] <da_wunder> damoncasale: http://wunder.sytes.net/errors.png
[19:12:49] *** chrisshattuck has joined #angularjs
[19:12:49] <damoncasale> https://69.16.208.95/~opamobil/#/dashboard/singlepost/165
[19:12:54] *** subnl2 has quit IRC
[19:13:19] <damoncasale> wunder.styles.net isn't my site.
[19:13:32] <da_wunder> damoncasale: it's screenshot of your site...
[19:14:11] <damoncasale> That's the wrong site.
[19:14:16] <damoncasale> It's not onepositiveact.com
[19:14:29] <damoncasale> Not sure how you got that.
[19:14:42] <da_wunder> yes it's
[19:14:53] <damoncasale> No, onepositiveact.com is the live site.
[19:14:57] <damoncasale> I gave you the dev site link??
[19:15:00] <da_wunder> and it has errors...
[19:15:01] <damoncasale> Did you go here:
[19:15:10] <damoncasale> https://69.16.208.95/~opamobil/#/dashboard/feed
[19:15:11] *** jedediah has quit IRC
[19:15:18] *** robdubya_ has joined #angularjs
[19:15:22] <damoncasale> Live site isn't even Angular.
[19:15:23] *** ascarter has joined #angularjs
[19:15:24] <damoncasale> Dev site is.
[19:15:41] <da_wunder> i clicked the top left corner => redirect to live site => do not hardcode those links...
[19:15:59] <damoncasale> Ah. Bug in the layout, then.
[19:16:08] <da_wunder> and errors within live site should be fixed asap
[19:16:10] <damoncasale> I did a lot of copying and pasting of HTML. Guess I missed that.
[19:16:16] <damoncasale> Live site is going away.
[19:16:30] <damoncasale> Will be replaced by dev site. We're going full mobile.
[19:16:37] *** daslicht has joined #angularjs
[19:16:42] <damoncasale> Anyway, help with the routing issue please?
[19:17:10] *** t_smith has joined #angularjs
[19:17:28] *** tschundeee has joined #angularjs
[19:17:34] *** t_smith has quit IRC
[19:17:35] <da_wunder> damoncasale: your link won't load any feeds, just login prompt
[19:17:39] *** simb has joined #angularjs
[19:17:48] <damoncasale> Login with damoncasale/private
[19:18:03] *** subnl2 has joined #angularjs
[19:18:09] <damoncasale> Then click the comment icon (second from right) of the first post.
[19:18:19] <damoncasale> I can't get that route to work. :-/
[19:18:45] *** seydoggy has joined #angularjs
[19:19:55] *** night-owl2 has quit IRC
[19:19:57] *** mary5030 has joined #angularjs
[19:20:09] <da_wunder> damoncasale: url: '/singlepost/:postid', => url: '/dashboard/singlepost/:postid',
[19:20:13] <da_wunder> that might work
[19:20:33] *** henn1nk has joined #angularjs
[19:21:20] <damoncasale> Err...
[19:21:21] <narutimateum> is angular beta suitable for production?
[19:21:26] <damoncasale> Now the rendered route is: https://69.16.208.95/~opamobil/#/dashboard/dashboard/singlepost/165
[19:21:28] <narutimateum> 1.3.x
[19:21:36] <damoncasale> There are two dashboards in there, so that's not right.
[19:22:05] <damoncasale> I put it back the way it was before.
[19:22:19] *** simb has quit IRC
[19:22:20] <damoncasale> Anyway, here's the link that's *supposed* to be generated:
[19:22:21] <damoncasale> https://69.16.208.95/~opamobil/#/dashboard/singlepost/165
[19:22:28] <damoncasale> But nothing loads on that page??
[19:22:40] *** Trow has quit IRC
[19:22:46] *** MANCHUCK has quit IRC
[19:23:13] *** epantzar has joined #angularjs
[19:23:23] *** seydoggy has quit IRC
[19:23:32] *** armdale has joined #angularjs
[19:23:33] *** MANCHUCK has joined #angularjs
[19:23:53] *** snapwich has joined #angularjs
[19:23:56] *** Shrooms has quit IRC
[19:24:33] *** futuredale has joined #angularjs
[19:24:44] *** tgkokk has quit IRC
[19:24:45] *** MANCHUCK has quit IRC
[19:25:06] *** MANCHUCK has joined #angularjs
[19:26:00] <damoncasale> da_wunder: Any ideas?
[19:26:04] *** nemothekid has joined #angularjs
[19:26:18] <da_wunder> damoncasale: sorry, no
[19:26:33] <damoncasale> k
[19:26:35] <damoncasale> Anyone else?
[19:26:55] <da_wunder> that must be some simple problem
[19:27:10] <damoncasale> Again, issue with ui-router where a route with a parameter isn't loading at all.
[19:27:32] *** epantzar has quit IRC
[19:29:31] *** davemerwin has quit IRC
[19:30:42] <e-dard> Can an ng-model be a function that takes a single argument?
[19:30:51] <e-dard> and then that function gets called with the value?
[19:31:03] <e-dard> or does it have to be a variable that's set?
[19:31:16] *** arek_deepinit has joined #angularjs
[19:31:28] <house> use a scope var.
[19:31:45] <e-dard> house: how does that work?
[19:31:46] <house> then pull that into the form with ng-model.
[19:31:54] <e-dard> hmm
[19:32:07] <house> so
[19:32:11] <e-dard> house: basically, I have things like obj.getFoo() and obj.setFoo(val)
[19:32:14] <house> field in your view:
[19:32:14] <house> <input type="text" id="email" ng-model="contactMessage.email" placeholder="Your Email" required/>
[19:32:19] *** mercwithamouth has joined #angularjs
[19:32:23] <house> then in your controller
[19:32:26] *** kvnm has joined #angularjs
[19:32:31] *** koens has quit IRC
[19:33:38] <house> youd have "contactMessage.email" defined in your scope
[19:34:03] <e-dard> house: but I need to call contactMessage.setEmail(email)
[19:34:08] <e-dard> due to the sdk I'm usin
[19:34:09] *** arek_deepinit has quit IRC
[19:34:13] <e-dard> that's how it's setup
[19:34:21] *** danyim has quit IRC
[19:34:32] *** cobakobodob has joined #angularjs
[19:34:33] *** dob_ has quit IRC
[19:34:44] <house> does the input come from a form field?
[19:34:48] <e-dard> yes
[19:34:51] *** r0ok has joined #angularjs
[19:35:00] *** dob_ has joined #angularjs
[19:35:08] *** tschundeee has quit IRC
[19:35:28] <e-dard> at the moment I have something like <input type="number" class="form-control" id="fooId" value="{{foo.getAttr()}}">
[19:35:34] *** squeakytoy has joined #angularjs
[19:35:45] <e-dard> so I want to add an ng-model to it, which calls foo.setAttr(value) for me
[19:35:48] *** tschundeee has joined #angularjs
[19:36:20] <house> as soon as you put ngmodel in there.
[19:36:40] <house> its bound to the js side value
[19:36:55] *** coolio123 has joined #angularjs
[19:37:33] <e-dard> house: is it all by reference? Could I do ng-model="foo.getAttr()" ?
[19:38:13] *** mettjus has joined #angularjs
[19:38:25] *** subnl2 has left #angularjs
[19:39:01] *** LoveAndHappiness has quit IRC
[19:39:32] <house> going back to the earlier example you typed in response to mine hypothetical, contactMessage.setEmail(email)
[19:39:34] *** dob_ has quit IRC
[19:39:40] *** davedev2_ has joined #angularjs
[19:39:41] <house> is that a call to the api?
[19:39:50] <e-dard> house: I'm not sure
[19:40:02] <e-dard> house: one moment, I can provide the object
[19:40:04] *** tschundeee has quit IRC
[19:40:19] <snurfery> mornin yall
[19:40:24] <house> hey snurf
[19:40:32] * snurfery waves
[19:40:40] <snurfery> today was supposed to be a beach day
[19:40:48] <house> bummer that it is not infact a beach day
[19:40:50] *** Cydmax has joined #angularjs
[19:41:08] <snurfery> but it was turning into an all-day wait-around-for-my-friends-to-get-over-their-hangover situation
[19:41:16] <snurfery> so fuggit, I'd rather be coding
[19:41:17] <snurfery> haha
[19:41:19] <house> heh
[19:41:38] *** whoughton has left #angularjs
[19:41:39] *** MV48 has quit IRC
[19:42:24] <e-dard> house: It's Parse basically (parse.com) They say to do obj.get('attr') and obj.set('attr', someValue)
[19:42:54] *** LoveAndHappiness has joined #angularjs
[19:43:04] *** blueadept has joined #angularjs
[19:43:12] *** davedev24_ has quit IRC
[19:43:16] <house> so you want someValue to come from ngmodel
[19:43:17] <house> ?
[19:43:29] <house> passed into a form field?
[19:44:14] <e-dard> house: I was hoping that every time the form field changed the value would get updated, by a call to obj.set
[19:44:29] <house> it will get updated without any calls.
[19:44:33] <e-dard> but I guess what I need to do is just "submit" the form and do all the assigning inside of the controller?
[19:44:45] *** tonycoco has joined #angularjs
[19:44:46] *** danielpquinn has joined #angularjs
[19:45:05] *** daniele9821 has joined #angularjs
[19:45:17] <e-dard> house: yes without any calls because it's expecting a variable, right. But I don't know where the underlying variable is, because of the API, which says to use obj.get and obj.set
[19:45:23] <daniele9821> hello all sameone that is familiar with karma? i'm began crazy
[19:46:32] <damoncasale> One more time, having an issue with ui-router where a route with a parameter isn't loading at all. Anyone run into this before?
[19:47:02] <house> e-dard: so, $scope.someValue = [];
[19:47:07] <house> in controller.
[19:47:17] *** drej has quit IRC
[19:47:31] *** kofight has quit IRC
[19:47:37] <house> then when you populate this in the input with the associated fields in your ngmodel
[19:47:41] *** epantzar has joined #angularjs
[19:47:53] <house> you can just pass someValue
[19:48:11] *** drej has joined #angularjs
[19:48:18] <e-dard> house: ok, thanks
[19:48:45] *** LoveAndHappiness has quit IRC
[19:49:12] *** danielpquinn has quit IRC
[19:49:27] *** saqib_ has joined #angularjs
[19:49:27] *** davi has quit IRC
[19:49:33] *** LoveAndHappiness has joined #angularjs
[19:49:34] *** enkristoffer has joined #angularjs
[19:49:49] *** epantzar has quit IRC
[19:50:01] *** kemm0 has joined #angularjs
[19:50:09] *** saqib_ has quit IRC
[19:50:27] <e-dard> house: thinking about it, I think the only reason they say to do "obj.set(key, value)" is because the SDK is designed around Backbone see https://parse.com/docs/js/symbols/Parse.Object.html#set
[19:50:28] *** JosephBergevin has quit IRC
[19:50:40] *** BobbieBarker has quit IRC
[19:50:43] *** davedev2_ has quit IRC
[19:50:45] <e-dard> I guess I don't need to follow the whole get/set thing if I can figure out where the underlying attributes are
[19:50:52] <house> sounds right.
[19:50:52] *** boneskull has quit IRC
[19:51:01] *** theo has joined #angularjs
[19:51:13] *** bob has joined #angularjs
[19:51:15] *** bob is now known as Guest54395
[19:51:22] *** davedev24_ has joined #angularjs
[19:51:26] <daniele9821> hello all sameone that is familiar with karma? i'm began crazy
[19:51:43] *** boneskull has joined #angularjs
[19:51:49] *** TorchDragon has joined #angularjs
[19:52:03] <house> check #karma channel maybe?
[19:52:16] *** wolfman2000 has joined #angularjs
[19:52:19] <daniele9821> no people inside house
[19:52:47] *** kvnm has quit IRC
[19:53:00] *** kvnm has joined #angularjs
[19:53:03] *** kofight has joined #angularjs
[19:53:05] *** kvnm has quit IRC
[19:53:46] <e-dard> house: heh, I found each object has a "attributes" object in it, where the attributes are
[19:53:54] <daniele9821> house: only 3 people
[19:54:00] *** blueadept has quit IRC
[19:54:10] <e-dard> house: so I'm just doing ng-mode="obj.attribtutes.foo" and no need for value="" on the input either :)
[19:54:24] <house> e-dard: sweet!
[19:54:35] <house> daniele9821: bummer..
[19:54:54] <house> i dont use testing frameworks too often, so i cant help much prob.
[19:54:57] <damoncasale> Blurgh. Why aren't ui-router parameterized routes working!??
[19:55:25] *** Guest54395 has quit IRC
[19:55:35] *** ericbarnes has joined #angularjs
[19:55:41] *** mtsr has quit IRC
[19:55:42] *** fairchild has quit IRC
[19:56:24] *** TorchDragon has quit IRC
[19:56:57] *** coolio123 has quit IRC
[19:57:03] *** mary5030 has quit IRC
[19:57:17] <daniele9821> house: you must test your application ;)
[19:57:40] <house> heh..
[19:57:52] <house> i do test it.. just not in the habit of using frameworks to do it.
[19:58:05] <house> i know i should be.
[19:58:16] *** DuelShark_ has joined #angularjs
[19:58:37] *** Fishy has quit IRC
[19:59:13] *** Fishy has joined #angularjs
[19:59:16] *** mary5030 has joined #angularjs
[19:59:36] *** mtsr has joined #angularjs
[20:00:18] *** ETBlue has quit IRC
[20:00:22] *** mary5030 has quit IRC
[20:00:38] *** Shrooms has joined #angularjs
[20:01:21] *** MuffinMan` has quit IRC
[20:03:14] *** htowngangtsa has joined #angularjs
[20:03:30] *** chrisshattuck has quit IRC
[20:03:35] *** jamesshijie has joined #angularjs
[20:03:37] *** Fishy has quit IRC
[20:04:07] *** Peasley has joined #angularjs
[20:05:04] *** InezK_away is now known as InezK
[20:05:08] *** Shrooms has quit IRC
[20:05:37] <Peasley> hey. In my developing on environment, the directive link function gets injected with elem which is jquery element. However after I deploy it to my server & minimize it, it no longer is Jquery wrapped element, what's goig on?
[20:06:10] *** fold has quit IRC
[20:06:49] <Peasley> it's an ordinary HtmlDivElement
[20:07:08] *** tgkokk has joined #angularjs
[20:07:11] *** LoveAndHappiness has quit IRC
[20:07:31] *** LoveAndHappiness has joined #angularjs
[20:07:44] *** danyim has joined #angularjs
[20:08:05] *** stirlingw has joined #angularjs
[20:10:11] *** bzitzow has joined #angularjs
[20:11:52] *** danyim has quit IRC
[20:12:21] *** dns51148 has joined #angularjs
[20:12:40] *** nicholascch has joined #angularjs
[20:13:53] *** tonycoco has quit IRC
[20:15:24] *** tp1 has quit IRC
[20:17:59] <narutimateum> could angular use sqlite?
[20:17:59] *** e-dard is now known as e-dard_afk
[20:18:08] *** benjamingr has joined #angularjs
[20:18:32] <theo> not directly
[20:19:40] *** metavige has joined #angularjs
[20:19:59] *** nanoyak has joined #angularjs
[20:20:26] *** Reskp has quit IRC
[20:20:29] *** daslicht has quit IRC
[20:20:44] <narutimateum> whats the best way to have some sql thingy at client side?
[20:20:54] *** plitzenberger has joined #angularjs
[20:20:55] <narutimateum> just for testing purposes
[20:21:12] <narutimateum> temp db of sort
[20:22:34] *** LoveAndHappiness has quit IRC
[20:22:41] *** Reskp has joined #angularjs
[20:23:09] *** HeN has left #angularjs
[20:23:25] *** LoveAndHappiness has joined #angularjs
[20:23:36] <dns51148> having trouble retrieving information from a geoJSON file - primarily on line 39 - https://gist.github.com/anonymous/78c9866f94a6198f01e1
[20:23:45] *** e-dard_afk is now known as e-dard
[20:23:46] *** secondjeff has joined #angularjs
[20:24:01] *** JosephBergevin has joined #angularjs
[20:24:20] <dns51148> sample of geoJSON - https://gist.githubusercontent.com/anonymous/46a15ec6c7696c4819c8/raw/1537f94691f499a432677d3d7ceb117315602d72/gistfile1.json
[20:24:21] *** dcherman has joined #angularjs
[20:24:52] *** orion1111 has joined #angularjs
[20:24:53] *** emps has quit IRC
[20:26:01] *** tgkokk has quit IRC
[20:26:38] <theo> narutimateum: depends on what u want to test, i guess
[20:27:05] <narutimateum> im taking websql
[20:27:38] *** enkristoffer has left #angularjs
[20:28:01] *** armdale has quit IRC
[20:28:38] <theo> that depends on whether the browser supports it
[20:28:50] <theo> but i guess if its just for testing it should suffice
[20:29:53] *** secondjeff has quit IRC
[20:31:12] <narutimateum> :D
[20:32:58] *** encrypt3d_fracti has joined #angularjs
[20:33:00] *** jamesshijie has quit IRC
[20:33:25] *** mercwithamouth has quit IRC
[20:34:51] *** jonr22 has joined #angularjs
[20:34:51] <robdubya_> dns51148 whaaaaat are you doing there?
[20:35:05] *** Methylated has joined #angularjs
[20:35:26] *** BillCriswell has quit IRC
[20:35:34] *** fairchild has joined #angularjs
[20:35:58] <dns51148> trying to display point data on top of a leaflet.js map
[20:36:26] <dns51148> i want the points in terms of weight based on magnitude
[20:36:33] *** juampy has quit IRC
[20:36:35] <robdubya_> okay, well
[20:36:41] <robdubya_> a) it should be in a service
[20:36:43] <dns51148> i am able to display the points, but they all are the same size...
[20:36:43] *** Methylated has quit IRC
[20:36:49] *** tschundeee has joined #angularjs
[20:36:55] <robdubya_> b) angular.extend($scope .... <- just, no.
[20:38:04] <robdubya_> your controller should look something like
[20:38:28] <robdubya_> MyGeoJSON.getData().then(function(geoPoints){ $scope.geoPoints = geoPoints; })
[20:39:15] <dns51148> ahh...
[20:39:29] <dns51148> is there a reason .extend is considered bad practice?
[20:40:08] <robdubya_> its not so much bad practice as it is wholly unnecessary when you've got proper services
[20:40:14] <robdubya_> $scope is not a model
[20:40:37] *** theo has quit IRC
[20:41:16] *** danyim has joined #angularjs
[20:41:22] *** TuRnaD0 has joined #angularjs
[20:41:25] <robdubya_> can you post some sample json?
[20:41:49] <dns51148> https://gist.githubusercontent.com/anonymous/46a15ec6c7696c4819c8/raw/1537f94691f499a432677d3d7ceb117315602d72/gistfile1.json
[20:42:48] *** Methylated has joined #angularjs
[20:42:59] <robdubya_> and then you're doing some math on each feature?
[20:43:20] <dns51148> yup
[20:43:47] *** mmitchel_ has quit IRC
[20:43:59] *** bertrandk has quit IRC
[20:44:08] <dns51148> idea is to retrieve 'DispSize' and visualize the radius of my circleMarker based on its magnitude
[20:44:16] *** bertrandk has joined #angularjs
[20:44:23] *** tschundeee has quit IRC
[20:45:22] *** danielpquinn has joined #angularjs
[20:45:27] *** SomeKittens has joined #angularjs
[20:45:35] <dns51148> the result of the magnitude function would ultimately be displayed as the 'radius' parameter
[20:45:45] *** Reskp has quit IRC
[20:46:00] *** danyim has quit IRC
[20:46:33] <dns51148> right now if i just dump in an integer, it'll make all circleMarkers the same size
[20:46:49] *** codestorm has joined #angularjs
[20:47:19] <robdubya_> so you're sort of ... scaling it?
[20:47:37] *** jamesshijie has joined #angularjs
[20:47:41] <dns51148> yes
[20:48:05] <dns51148> here's a similar idea that someone created - http://www.zevross.com/web_development/worldcup/
[20:48:37] *** Ir1sh has quit IRC
[20:49:12] *** Reskp has joined #angularjs
[20:49:27] *** fold has joined #angularjs
[20:49:27] *** Silne30 has joined #angularjs
[20:49:36] *** emps has joined #angularjs
[20:49:41] <robdubya_> dns51148 http://plnkr.co/edit/fHm5vjLu4OdyaksLFsBQ?p=preview
[20:49:45] <robdubya_> i'd do something like that
[20:49:50] *** [n0b0dy] has quit IRC
[20:50:01] *** [n0b0dy] has joined #angularjs
[20:50:22] *** foofoobar has joined #angularjs
[20:50:23] *** danielpquinn has quit IRC
[20:50:26] *** Ir1sh has joined #angularjs
[20:50:44] *** ericbarnes has quit IRC
[20:50:56] *** Joshee has quit IRC
[20:52:19] *** danyim has joined #angularjs
[20:54:18] *** Nizumzen has quit IRC
[20:54:33] *** bzitzow has quit IRC
[20:54:54] *** LoveAndHappiness has quit IRC
[20:54:58] *** danyim has joined #angularjs
[20:55:05] <dns51148> nice, that gives me something to go off of - thanks
[20:55:48] *** LoveAndHappiness has joined #angularjs
[20:56:19] <sock_sorcerer> read that as "that gives me something to get off to"
[20:57:10] *** ericbarnes has joined #angularjs
[20:59:08] <robdubya_> i am to please
[20:59:14] *** tschundeee has joined #angularjs
[20:59:17] *** nitsujw has quit IRC
[20:59:33] *** [n0b0dy] has quit IRC
[20:59:42] *** [n0b0dy] has joined #angularjs
[20:59:54] *** nitsujw has joined #angularjs
[21:00:11] *** jonr22 has quit IRC
[21:00:45] *** LoveAndHappiness has quit IRC
[21:00:54] *** LoveAndHappiness has joined #angularjs
[21:01:35] *** jonr22 has joined #angularjs
[21:02:14] *** trave has joined #angularjs
[21:03:48] *** knownasilya has joined #angularjs
[21:05:00] *** jonr22 has quit IRC
[21:05:15] *** jonr22 has joined #angularjs
[21:05:27] *** vintik has joined #angularjs
[21:05:42] *** trave has quit IRC
[21:07:30] *** tschundeee has quit IRC
[21:07:42] *** foofoobar has quit IRC
[21:08:32] *** emps has quit IRC
[21:10:01] *** corealix has joined #angularjs
[21:10:15] *** MuffinMan` has joined #angularjs
[21:10:21] *** trave has joined #angularjs
[21:10:26] *** wilmoore has joined #angularjs
[21:11:09] *** plitzenberger has quit IRC
[21:11:39] <e-dard> Is it possible to use this input validation stuff when you don't have a form? https://docs.angularjs.org/api/ng/input/input%5Bnumber%5D
[21:12:08] <e-dard> I have a table where each cell in each row is an input, and I'd like validate the inputs
[21:13:27] *** hychen has quit IRC
[21:14:09] *** vintik has quit IRC
[21:14:16] *** mmitchel_ has joined #angularjs
[21:14:36] *** Methylated has joined #angularjs
[21:14:45] *** vintik has joined #angularjs
[21:14:48] *** Reskp has quit IRC
[21:15:21] *** trave has quit IRC
[21:15:51] *** joshontheweb has quit IRC
[21:15:55] *** emps has joined #angularjs
[21:16:10] *** Nijikokun has joined #angularjs
[21:17:49] *** evilaliv3 has joined #angularjs
[21:18:31] *** Reskp has joined #angularjs
[21:19:17] *** Shrooms has joined #angularjs
[21:19:24] *** orion1111 has quit IRC
[21:20:44] *** corealix has quit IRC
[21:20:55] *** mmitchel_ has quit IRC
[21:21:40] *** ankoh has quit IRC
[21:22:22] *** bufferino has quit IRC
[21:22:31] *** Methylated has quit IRC
[21:23:24] *** dns51148 has quit IRC
[21:23:36] *** joroci has joined #angularjs
[21:23:37] *** plitzenberger has joined #angularjs
[21:23:41] <joroci> 34
[21:23:42] *** ericbarnes has quit IRC
[21:23:48] *** nanoyak has quit IRC
[21:23:55] <joroci> hey
[21:24:56] *** Methylated has joined #angularjs
[21:25:55] *** djam90 has joined #angularjs
[21:26:44] *** leyluj has joined #angularjs
[21:27:49] *** Anton_ has quit IRC
[21:29:15] *** dhcar_AFK is now known as dhcar
[21:29:21] *** Reskp has quit IRC
[21:29:33] *** Methylated has quit IRC
[21:29:54] *** jamesshijie has quit IRC
[21:30:01] *** ascarter has quit IRC
[21:30:23] *** davemerwin has joined #angularjs
[21:33:05] *** Anton_ has joined #angularjs
[21:33:12] *** Reskp has joined #angularjs
[21:33:19] *** trave has joined #angularjs
[21:33:22] *** joroci has quit IRC
[21:33:45] *** plitzenberger has quit IRC
[21:33:46] *** joroci has joined #angularjs
[21:35:03] *** foofoobar has joined #angularjs
[21:35:04] *** zfogg has joined #angularjs
[21:35:05] <djam90> I have a page: http://goo.gl/Y7y5m4 that is using SuperBox (http://toddmotto.com/labs/superbox/) and when you click an image it "does" work, however it also does the same thing but for other items of the ng-repeat. Does anyone know what might be wrong with it?
[21:35:12] *** davemerwin has quit IRC
[21:35:15] <djam90> Just click on an image and you can see what I mean
[21:36:00] *** bertrandk has quit IRC
[21:36:23] *** bertrandk has joined #angularjs
[21:36:34] *** jonr22 has quit IRC
[21:36:45] *** jonr22 has joined #angularjs
[21:37:52] *** Joshee has joined #angularjs
[21:39:06] *** jonr22 has quit IRC
[21:39:16] *** jonr22 has joined #angularjs
[21:40:07] *** stirlingw has quit IRC
[21:40:21] *** ngbot has joined #angularjs
[21:40:22] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/QVDYsw
[21:40:22] <ngbot> angular.js/master ccc3255 Andrew Farrell: docs(tutorial): explain how to modify the port or ip served by `npm start`...
[21:40:22] *** ngbot has left #angularjs
[21:40:40] *** UniBot has quit IRC
[21:41:13] *** tschundeee has joined #angularjs
[21:41:25] *** jonr22 has quit IRC
[21:41:39] *** auser has joined #angularjs
[21:42:00] *** Fishy has joined #angularjs
[21:42:48] *** jonr22 has joined #angularjs
[21:43:01] *** DuelShark has quit IRC
[21:43:02] *** azureknight has joined #angularjs
[21:43:06] *** holymac has joined #angularjs
[21:43:37] *** evilaliv3 has quit IRC
[21:44:27] *** avree has joined #angularjs
[21:45:14] *** jamesshijie has joined #angularjs
[21:45:22] *** e-dard is now known as e-dard_afk
[21:45:36] *** s3shs has joined #angularjs
[21:46:13] *** danielpquinn has joined #angularjs
[21:46:39] *** tschundeee has quit IRC
[21:46:41] *** jdowdle is now known as jdowdle|afk
[21:48:52] *** nicholascch has quit IRC
[21:49:50] *** amargherio has joined #angularjs
[21:50:24] *** RangerRick has quit IRC
[21:50:49] *** danielpquinn has quit IRC
[21:52:58] *** tarkus has joined #angularjs
[21:53:48] *** TorchDragon has joined #angularjs
[21:54:44] *** bilb_ono has joined #angularjs
[21:54:46] *** trave has quit IRC
[21:56:25] *** JosephBergevin has quit IRC
[21:56:44] *** disorder20 has joined #angularjs
[21:56:57] <bilb_ono> can anyone help me with nginfinitescroll on this jsbin- http://jsbin.com/uhabed/61/ . I copied it exactly from the example website (http://binarymuse.github.io/ngInfiniteScroll) but nothing is showingup
[21:57:46] *** umib0zu has joined #angularjs
[21:58:47] *** TorchDragon has quit IRC
[22:00:05] <bilb_ono> ah I bet I need angular
[22:00:27] *** joroci has quit IRC
[22:00:48] *** joroci has joined #angularjs
[22:01:08] *** LoveAndHappiness has quit IRC
[22:01:13] <bilb_ono> although this has nothing showing up as well: http://jsbin.com/uhabed/61/
[22:01:19] *** Reskp has quit IRC
[22:02:44] *** LoveAndHappiness has joined #angularjs
[22:03:13] *** stirlingw has joined #angularjs
[22:03:40] *** encrypt3d_fracti has quit IRC
[22:04:02] *** nathggns has joined #angularjs
[22:04:18] *** stirlingw has quit IRC
[22:04:20] *** clkao has quit IRC
[22:04:23] *** vorktanamobay has joined #angularjs
[22:04:27] *** stirlingw has joined #angularjs
[22:05:39] *** vintik has quit IRC
[22:06:14] *** encrypt3d_fracti has joined #angularjs
[22:07:05] *** arizzo has joined #angularjs
[22:07:32] *** fairchild has quit IRC
[22:08:58] *** fairchild has joined #angularjs
[22:08:58] *** Fishy has quit IRC
[22:09:18] *** vorktanamobay has quit IRC
[22:09:19] *** jonr22 has joined #angularjs
[22:09:29] *** nitsujw has quit IRC
[22:10:14] *** s3shs has quit IRC
[22:10:31] *** JosephBergevin has joined #angularjs
[22:10:35] *** nicholascch has joined #angularjs
[22:11:03] *** jamesshijie has quit IRC
[22:11:10] *** LoveAndHappiness has quit IRC
[22:11:33] *** negval has joined #angularjs
[22:12:32] *** arizzo has quit IRC
[22:12:35] *** nicholascch has quit IRC
[22:12:59] *** arizzo has joined #angularjs
[22:13:23] *** JosephBergevin has quit IRC
[22:13:55] *** LoveAndHappiness has joined #angularjs
[22:13:56] *** calumet has joined #angularjs
[22:14:16] *** shorne has joined #angularjs
[22:15:05] *** JosephBergevin has joined #angularjs
[22:15:20] *** InezK is now known as InezK_away
[22:15:25] *** mzehrer_ has quit IRC
[22:16:21] *** mzehrer__ has quit IRC
[22:16:29] *** clkao has joined #angularjs
[22:16:52] <snurfery> djam90: damn that's a lotta stuff on one page
[22:17:13] *** mmitchel_ has joined #angularjs
[22:17:14] <snurfery> 591 results on one page in an ng-repeat?
[22:17:21] *** mehlah has joined #angularjs
[22:17:23] <snurfery> phew
[22:17:38] <djam90> Yeah, I figured infinity scroll loading would be harder and to what end, a little speed
[22:17:41] *** arizzo has quit IRC
[22:17:47] <snurfery> not a little
[22:17:50] <snurfery> the site is unusable
[22:17:51] *** tomzx is now known as tomzx`afk
[22:18:00] <robdubya_> yeah, its slow as fuck on my box
[22:18:45] <djam90> I only have an i5 laptop and it seems okay with 8GB RAM... hmm. How would you improve it?
[22:18:59] <snurfery> 1 page load generating 600 image requests from the server
[22:19:16] *** daniele9821 has quit IRC
[22:19:28] <snurfery> djam90: pagination is expected, show the first ~30-50 results, then have a 'show more' link
[22:19:40] <snurfery> or infinite-scroll, or whatever
[22:19:42] *** davemerwin has joined #angularjs
[22:19:51] <djam90> hmm, gunna have to be infinity scroll
[22:19:56] <snurfery> but angular's performance is going to suffer after it has more than a few hundred items to track
[22:20:21] <snurfery> after every click or keypress it has to recheck every piece of data on the page for changes
[22:20:38] <snurfery> so it's generally suggested that you keep it under a few hundred, tops
[22:21:45] *** mmitchel_ has quit IRC
[22:22:03] *** btyne has joined #angularjs
[22:23:12] *** ManneW has quit IRC
[22:23:12] *** eshlox has quit IRC
[22:23:13] *** pxz has quit IRC
[22:23:36] *** pxz has joined #angularjs
[22:23:49] *** cyen_ has quit IRC
[22:24:12] *** Joshee has quit IRC
[22:24:28] *** JosephBergevin_ has joined #angularjs
[22:24:36] *** JosephBergevin has quit IRC
[22:24:50] *** secondjeff has joined #angularjs
[22:26:00] *** s3shs has joined #angularjs
[22:26:03] *** JosephBergevin_ has quit IRC
[22:26:12] *** ccohn has joined #angularjs
[22:26:56] *** Reskp has joined #angularjs
[22:27:40] *** JosephBergevin has joined #angularjs
[22:28:26] *** rburns has joined #angularjs
[22:28:29] <djam90> snurfery, so would you possibly suggest that Angular is not the way forward for this type of page?
[22:29:13] <djam90> for example doing infinity scroll, only loading 24 at a time but possibly having all 600 on the page if user keeps scrolling, is bad in angular?
[22:29:21] <da_wunder> djam90: seems like that component is changing dom, and in your case dom is huge => it will be slow
[22:29:22] *** encrypt3d_fracti has quit IRC
[22:29:23] <robdubya_> its bad generallllly
[22:29:33] *** oste has joined #angularjs
[22:29:33] *** btyne has quit IRC
[22:29:38] *** secondjeff has quit IRC
[22:30:01] <djam90> yes we will be wanting it to be interactive and DOM changing will be happening a lot I think...
[22:30:24] *** shorne has quit IRC
[22:30:49] *** arizzo has joined #angularjs
[22:30:54] *** ccohn has quit IRC
[22:31:13] *** Reskp has quit IRC
[22:31:29] *** ccohn has joined #angularjs
[22:31:31] *** caitp has joined #angularjs
[22:31:50] *** bmac has quit IRC
[22:31:51] *** JosephBergevin_ has joined #angularjs
[22:32:02] *** JosephBergevin has quit IRC
[22:32:17] *** marcospgp has joined #angularjs
[22:32:29] *** nicholascch has joined #angularjs
[22:32:29] *** Nek has quit IRC
[22:32:39] *** ckboii89 has joined #angularjs
[22:33:12] *** nicholascch has left #angularjs
[22:33:45] *** Reskp has joined #angularjs
[22:33:58] *** avree has quit IRC
[22:34:05] *** Reskp has joined #angularjs
[22:34:09] *** morenoh151 has joined #angularjs
[22:35:44] *** vintik has joined #angularjs
[22:35:49] *** ccohn has quit IRC
[22:36:59] *** akrikos has joined #angularjs
[22:37:04] *** Siecje has quit IRC
[22:37:19] <davek> People that have fully covered back end testing, to what extent are you testing your routes? I just do rough testing on the quality of returned data but this guy (http://thewayofcode.wordpress.com/2013/04/21/how-to-build-and-test-rest-api-with-nodejs-express-mocha/) appears to be testing literally every property of every route response.
[22:37:26] *** epantzar has joined #angularjs
[22:38:05] <SuperPhly> I have a few event triggers for socket.io in my app. How do I emit an event to a controller?
[22:38:18] <SuperPhly> or would i issue the trigger in the controller?
[22:38:24] *** davemerwin has quit IRC
[22:38:41] <G1eb> can anyone explain why we have to do x = x + 1 inside ng-click instead of x++ or x+=1?
[22:38:43] *** arizzo has quit IRC
[22:38:55] <snurfery> ugh, some ssl provider let their root cert expire so bitbucket/github stopped working temporarily
[22:39:10] *** AciD`` has quit IRC
[22:39:19] *** mehlah has quit IRC
[22:39:20] *** arizzo has joined #angularjs
[22:39:57] <davek> SuperPhly, you wrap your socket.io client in a service and subscribe to the service's events.
[22:40:01] *** kvnm has joined #angularjs
[22:40:30] <davek> Gleb, it simplifies expression parsing.
[22:40:47] *** jamesshijie has joined #angularjs
[22:41:56] <G1eb> i see
[22:41:56] *** disorder20 has quit IRC
[22:42:01] <robdubya_> SuperPhly https://github.com/btford/angular-socket-io
[22:42:02] <robdubya_> use that
[22:42:04] <robdubya_> profit
[22:42:11] *** D-Boy has quit IRC
[22:42:17] *** redband has joined #angularjs
[22:42:27] *** GeneralWhoopass has joined #angularjs
[22:42:57] *** LoveAndHappiness has quit IRC
[22:42:58] <djam90> snurfery, or robdubya_ do you think performance would still suffer if I had infinite scrolling and the user loads all 600 cars by keep scrolling?
[22:43:11] *** jobelenus has joined #angularjs
[22:43:12] *** disorder20 has joined #angularjs
[22:43:42] <snurfery> yup
[22:43:50] *** arizzo has quit IRC
[22:43:55] *** tyfighter has joined #angularjs
[22:44:00] *** LoveAndHappiness has joined #angularjs
[22:44:11] <djam90> snurfery, would you suggest not angular then?
[22:44:13] <snurfery> djam90: check this out, I was meaning to recommend it to you
[22:44:14] <snurfery> https://github.com/Pasvaz/bindonce
[22:44:31] <davek> djam90 I would suggest limiting the amount of data you display at any one time.
[22:44:38] <redband> Anyone have a sec? I can't believe there's no easy way to solve this...but I have a few directives that are all conditionally loaded on my index.html, one of which is a message box with message elements inside. I'm trying to just get the div which these messages are inside to scroll to the bottom when the directive is loaded into the DOM. My results as of right now are that it will scroll to the bottom not when loaded but only aft
[22:44:50] <snurfery> it has all the angular goodness, but once angular puts the values in the view it doesn't add a $watch
[22:44:51] *** mehlah has joined #angularjs
[22:44:51] *** blueadept has joined #angularjs
[22:45:05] <davek> redband, going to need a plunkr for that.
[22:45:09] <redband> ok sec
[22:45:38] <djam90> damn snurfery !
[22:45:39] <snurfery> djam90: and I agree with davek , no webpage should display more information than a user can reasonably expect to digest
[22:46:00] <djam90> snurfery, well some people like to scroll and just keep scrolling all the cars
[22:46:12] <davek> You can do that without keeping all of the elements in view/memory.
[22:46:13] <robdubya_> 600 cars migth be doable
[22:46:20] <snurfery> sure
[22:46:21] <robdubya_> 600 cars with custom element business, not so much
[22:46:44] <robdubya_> you've got 600+ instances of your 3rd party thing
[22:46:48] <narutimateum> what should i use for ajax call?? $http? or there is better alternative?
[22:46:54] <robdubya_> $http
[22:46:59] *** danielpquinn has joined #angularjs
[22:47:08] <snurfery> a lot of the big-name sites (i.e. twitter/facebook) that do this are doing some legit optimization in the background to make sure infinite-scroll doesn't infinitely-stress-out the browser
[22:47:23] *** jobelenus has quit IRC
[22:47:41] <djam90> snurfery, what kind of legit optimization?
[22:48:00] <snurfery> the kind that makes them hire hundreds of engineers ;)
[22:48:05] <djam90> haha. damn
[22:48:07] <snurfery> like they have an army of people to make their stuff work
[22:48:10] <davek> Removing out of view elements from the dom and adding spacers/offsets to accommodate.
[22:48:11] <snurfery> we just have ourselves
[22:48:19] <snurfery> ^^ what davek said
[22:48:27] <djam90> hmm
[22:48:44] <robdubya_> davek i would say that roughly looks like my server side testes
[22:48:48] <robdubya_> uh
[22:48:49] <robdubya_> tests
[22:48:58] <snurfery> I'm gonna stick with testes
[22:49:00] <snurfery> personally
[22:49:09] <davek> If you know the size of your individual items, you can create a container directive that estimates the number that can fit on the screen at one time. I use this to divvy up elements in roughly screen sized "pages" and keep only the closest three pages rendered.
[22:49:11] <G1eb> davek, is there another way do simply increment numerical variable inside ng-click?
[22:49:19] <robdubya_> its a good name for a testing lib, but something something patriarchy
[22:49:22] *** Reskp has quit IRC
[22:49:25] <davek> Gleb, no why is that a problem?
[22:49:30] <robdubya_> G1eb ng-click="foo.bar++"
[22:49:32] *** tomzx`afk is now known as tomzx
[22:49:47] *** D-Boy has joined #angularjs
[22:49:49] <G1eb> didnt want to create a function on the controller for that simple thing
[22:49:54] <davek> Does post-increment work now?
[22:50:00] <davek> Don't create a function...
[22:50:01] *** Reskp has joined #angularjs
[22:50:03] <djam90> davek, that sounds cool.
[22:50:04] <marcospgp> Hey guys I have some doubts regarding authentication in my app, can someone help? Here goes: There are many options of sign in services, such as facebook, google plus, etc. How do I know which one to query when the user enters the app? Should I store that information in the local storage or something?
[22:50:29] <robdubya_> marcospgp typically based on the button they click...
[22:50:34] <davek> ^
[22:50:36] *** cigol has joined #angularjs
[22:50:51] <davek> robdubya_ charges $350/hr so I guess you're prorated to $350?
[22:50:58] <G1eb> hmm
[22:51:03] <marcospgp> i dont want users clicking a button every time they enter the app in order to log in /:
[22:51:13] <robdubya_> first time discount, call it $300
[22:51:24] <robdubya_> marcospgp there's a whole lot missing from that question
[22:51:25] *** danielpquinn has quit IRC
[22:51:26] <robdubya_> like
[22:51:30] <robdubya_> how are you doing authentication
[22:51:35] <robdubya_> what are you using on the server
[22:52:01] <G1eb> that count++ does not seem to work http://plnkr.co/edit/cw8p8Z5ZsQPbnRTydVjJ?p=preview
[22:52:04] <davek> marcospgp sorta sounds like you're just describing cookies?
[22:52:08] <marcospgp> auth is all client side, client will send signed token received from service to the server afterwards
[22:52:09] <davek> Gleb, right post-increment doesn't work
[22:52:11] <davek> Like I mentioned
[22:52:25] <G1eb> haha
[22:52:29] <robdubya_> get out of here with that ng-init bullshit
[22:52:37] <G1eb> xd
[22:52:44] <davek> Just do x = x + 1 how hard is that?
[22:52:57] <G1eb> yeh, i get 11
[22:53:38] *** mehlah has quit IRC
[22:53:42] *** tpy0 has joined #angularjs
[22:53:43] *** Mouzi` has quit IRC
[22:53:48] *** bauser has joined #angularjs
[22:53:50] <redband> hey davek, here's a very rough plunker, you'll see what i'm saying if you look at it
[22:53:54] <redband> http://plnkr.co/edit/HuxEMCkq6lUEsi03wUQs?p=catalogue
[22:53:59] <davek> Gleb so... is that incorrect? I don't get your problem.
[22:54:32] *** Hackwar1 is now known as Hackwar
[22:54:34] *** Rahul_Roy has quit IRC
[22:54:56] <davek> redband, really have no idea what's going on here. What is your issue? Can you drill it down for me.
[22:55:00] <redband> yes
[22:55:15] <redband> so, controllers line 7, that's the scroll bit
[22:55:26] <redband> line 6 above it, loads the message box
[22:55:30] *** auser has quit IRC
[22:55:31] *** bauser is now known as auser
[22:55:42] *** Tidwell has quit IRC
[22:55:44] *** bertrandk has quit IRC
[22:56:01] *** bertrandk has joined #angularjs
[22:56:58] <redband> now, index.html has all the directives in it, and if you see messageDirective.html, that has the div with the id messageBox
[22:57:01] *** oste has quit IRC
[22:58:01] <redband> i included the convoDirective.html as well because it shows up before the message directive
[22:58:11] <SuperPhly> robdubya_: does that socket/angular link you sent me work with ui-routes
[22:58:23] *** Methylated has joined #angularjs
[22:58:41] <redband> so I can't for my life figure out the correct place to use the scroll code from line 7 of controllers, such that when a user clicks on the convo box to load the messages from that particular convo - that it scrolls to the bottom
[22:58:55] <robdubya_> SuperPhly shonuff
[22:58:55] *** JosephBergevin_ has quit IRC
[22:59:01] *** MuffinMan` has quit IRC
[22:59:07] *** Silne30 has quit IRC
[22:59:12] <redband> it only scrolls to the bottom if you click the convo once more after it's loaded, not just automatically when the messageDirective is shown to the user
[22:59:21] <SuperPhly> figured it did... just didn't want to find out in 2 hours that what i was trying to get working would never work :)
[22:59:54] *** prbc has joined #angularjs
[22:59:59] *** atomical has quit IRC
[23:00:23] <robdubya_> SuperPhly ui-router and sockets is how i do most stuff :D
[23:00:48] *** vintik has quit IRC
[23:00:56] *** atomical has joined #angularjs
[23:01:43] <davek> There are like no full-scale examples for REST API testing w/mocha. This is weird.
[23:01:50] *** squeakytoy has quit IRC
[23:02:02] <redband> maybe this is just my lack of how angular loads things into the DOM, or directives in general. it seems a bit odd to me, since the messageDirective contains all the messages from whichever convo is chosen by the user
[23:02:16] <davek> redband, if you're interacting with the dom, you want to use the link function of a directive.
[23:02:18] <davek> Never the controller.
[23:02:34] *** JosephBergevin has joined #angularjs
[23:02:58] *** pankaj has joined #angularjs
[23:03:00] <redband> i might just be talking out of my ass
[23:03:22] <pankaj> hi gays
[23:03:35] <pankaj> i am angularjs master
[23:03:45] <redband> i have to check what i'm doing exactly, but it just wasn't clear what the behavior is when these directives are loaded or 'shown'
[23:03:47] <marcospgp> oh sensei
[23:03:54] <marcospgp> spray your knowledge unto me
[23:04:06] <snurfery> phrasing?
[23:04:15] <sock_sorcerer> ha
[23:04:18] <pankaj> any thing quastion?
[23:04:21] <redband> i figured it would just behave as a load of sorts and perform the function
[23:04:25] <redband> but i guess not
[23:04:47] <marcospgp> how to reverse entropy?
[23:04:47] <robdubya_> for a start i wouldn't (ever) call a directive "directive"
[23:04:47] <davek> redband, link is called after the directive is compiled (i.e. after the DOM element is created) and before the page is finished rendering. If you need to postpone some action until after the page has finished use $timeout()
[23:05:08] *** InezK_away is now known as InezK
[23:05:34] *** danyim has quit IRC
[23:05:39] <redband> ok cool, i'll try that - does timeout work on some interval or can i not set that if i want? i don't want to make too many calls
[23:06:01] *** prbc has quit IRC
[23:06:37] <davek> You don't want to set it. Without a set delay it will invoke the function around the first angular digest tick.
[23:06:37] <pankaj> hi
[23:06:53] <davek> redband timeout is not interval.
[23:07:12] *** pankaj has quit IRC
[23:07:17] <redband> ok, thanks
[23:07:24] <raypulver> im storing my jwt in local storage and using it to interact with the backend by sending the token as one of the properties of data: {..} with every request
[23:07:40] <raypulver> are you supposed to do it by setting a header to the token?
[23:07:48] <robdubya_> header or as a query param, typcially
[23:08:03] *** s3shs has quit IRC
[23:08:30] <raypulver> I tried it as a query param but only had luck getting it to work as part of the data hash in a post request
[23:08:40] <raypulver> how do you set a header with $http?
[23:08:41] *** Pankaj has joined #angularjs
[23:08:45] <robdubya_> on non-get, pretty much use headers
[23:08:48] *** AxldenieD has quit IRC
[23:09:07] <robdubya_> https://docs.angularjs.org/api/ng/service/$http
[23:09:55] <raypulver> ok, and I can do this with get requests too?
[23:10:22] <Pankaj> Hi
[23:10:37] <robdubya_> raypulver yes
[23:11:00] <Pankaj> any dowt in angularjs coustom diractive?
[23:11:24] <robdubya_> Pankaj no, not at the moment
[23:11:25] *** shorne has joined #angularjs
[23:11:44] <raypulver> ok I'll give this a try, thanks
[23:11:51] <Pankaj> okay thanks
[23:12:20] *** shorne has quit IRC
[23:12:30] *** Ilyas has joined #angularjs
[23:12:36] <Pankaj> I think you are from US right?
[23:12:58] *** JosephBergevin has quit IRC
[23:13:59] <davek> robdubya_, you have a public example of your API tests? Trying to get an idea if I'm even approaching proper coverage.
[23:14:29] <robdubya_> not really, not cuz i dont want to share, but because they are woefully inadequate.
[23:14:49] <davek> Well this sucks.
[23:14:57] *** InezK is now known as InezK_away
[23:15:11] <robdubya_> i have found the same problem as you really, not a lot out there
[23:15:35] *** jordandotdev has quit IRC
[23:15:46] <Pankaj> okay
[23:15:50] *** gordonz has joined #angularjs
[23:16:22] <robdubya_> Pankaj yes, i am from the US
[23:16:23] *** nectarys has joined #angularjs
[23:16:41] <raypulver> can I use $httpProvider to add an interceptor which sets the token header if it is available?
[23:16:46] <Pankaj> okay thanks
[23:16:51] <Pankaj> I am from India
[23:17:24] <davek> robdubya_ how do you handle mocks and such? Just seed the DB in the before() handler or what? Currently I'm clearing my entire data store (that's RDB + a graph database before each test.
[23:17:28] <robdubya_> raypulver yep
[23:17:50] <robdubya_> davek yeah. i have a couple of endpoints for tearup/teardown
[23:17:59] *** mmitchel_ has joined #angularjs
[23:18:09] <robdubya_> not totally stoked about any of it
[23:18:12] *** jonasrosenlind has joined #angularjs
[23:18:17] <raypulver> robdubya_ cool, i will try this
[23:18:29] *** jangoh has quit IRC
[23:18:45] *** Tidwell has joined #angularjs
[23:18:49] *** bbankes__ has joined #angularjs
[23:19:04] *** bbankes_ has quit IRC
[23:19:33] *** auser has quit IRC
[23:19:55] *** djam90 has quit IRC
[23:20:23] <davek> robdubya_ normally I would find this comforting...
[23:20:46] *** tschundeee has joined #angularjs
[23:21:11] <robdubya_> heh
[23:21:47] <Pankaj> one code are unable to understand in angularjs why we are right return in servise?
[23:22:08] <Pankaj> sorry
[23:22:12] <Pankaj> wright
[23:22:23] <davek> write*
[23:22:35] <Pankaj> yes
[23:22:48] *** jonasrosenlind has quit IRC
[23:22:50] <davek> And you're returning a service object. This object gets passed to every function that injects the service.
[23:22:58] <Pankaj> why?
[23:23:03] *** zfogg has quit IRC
[23:23:09] <reduce> davek: i read somewhere that the timeout 0 method of waiting for dom rendering wasnt advisable, so i went with a 10ms timeout that ran until the target element could be found. Icant find the source i went by now though. The timeout 0 solution does seem to be pretty common though.
[23:23:21] <davek> That is how angular works, dependency injection.
[23:23:25] <davek> reduce, no not timeout(0)
[23:23:27] <davek> No timeout.
[23:23:35] <davek> $timeout(function() { doSomething(); })
[23:23:42] *** mmitchel_ has quit IRC
[23:24:35] <reduce> hrm
[23:25:03] *** tschundeee has quit IRC
[23:25:23] *** bmac has joined #angularjs
[23:26:00] *** Pankaj has quit IRC
[23:26:17] *** nitsujw has joined #angularjs
[23:26:29] *** Pankaj has joined #angularjs
[23:26:44] <Pankaj> any idea about ng-if?
[23:26:52] *** Methylated has quit IRC
[23:26:53] <robdubya_> what about it
[23:27:25] <Pankaj> what is diffrent between ng-if ng-show ng-hide?
[23:27:44] <gordonz> If there are any Angular beginners here, I made a video course that shows you how to build a full webapp (http://angularcourse.com). Welcome any feedback/suggestions.
[23:28:12] <robdubya_> gordonz you're not going to spam my shit if i sign up, right?
[23:28:18] *** auser has joined #angularjs
[23:28:37] *** LoveAndHappiness has quit IRC
[23:29:01] *** OffTheRails has joined #angularjs
[23:29:06] <gordonz> @robdubya_ Nope definitely not. It's MailChimp and you can unsubscribe at anytime. I'm a real person building my first info product: https://twitter.com/gordon_zhu.
[23:29:11] *** mtsr has quit IRC
[23:29:12] <Foxandxss> robdubya_: do you know if I can use travis easily in a project with two projects? (backend && frontend)
[23:29:23] *** LoveAndHappiness has joined #angularjs
[23:29:32] <Foxandxss> like having .travis on each project and one to launch both
[23:29:41] <Foxandxss> or one to launch both projects' tests
[23:29:46] <robdubya_> Foxandxss dont think so, they would be sperate builds i would think
[23:29:47] *** seydoggy has joined #angularjs
[23:29:52] *** Reskp has quit IRC
[23:30:01] <Foxandxss> yeah, but how, that is the question
[23:30:28] <robdubya_> Foxandxss travis just runs when i commit.
[23:30:43] <Foxandxss> I have a repo with two folders
[23:30:46] <Foxandxss> backend (rails)
[23:30:48] <Foxandxss> frontend (angular)
[23:30:57] <Foxandxss> I want travis to run rspec and test'em
[23:31:21] <Foxandxss> so I could create a .travis on the root to do both or one .travis per folder
[23:31:28] <Foxandxss> but I don't know what's supported
[23:32:22] *** Reskp has joined #angularjs
[23:32:35] <Pankaj> foxandxss can you give your skype id?
[23:32:46] <Foxandxss> no, why would I?
[23:33:26] <Pankaj> okay
[23:33:37] *** auser has quit IRC
[23:33:44] <Pankaj> we have chat regarding angularjs
[23:33:52] <Pankaj> nothing else
[23:33:58] <Foxandxss> we are doing chat here too :)
[23:34:07] *** elux has joined #angularjs
[23:34:13] <Foxandxss> I am sorry, enough I have answering here if I have to answer via skype too
[23:34:53] <Pankaj> okay
[23:35:09] *** vader has quit IRC
[23:35:22] *** morenoh151 has quit IRC
[23:35:23] <Pankaj> no problen
[23:35:31] *** leyluj has quit IRC
[23:35:42] <Pankaj> this is not user friendly :)
[23:35:51] *** T3charmy has joined #angularjs
[23:35:55] <davek> So TDD is just a myth in Nodeland then... nobody seems to have actually done it but everyone claims its the best thing in the world.
[23:36:03] <Foxandxss> it is, hundred of people just a question away :)
[23:36:10] *** Ilyas has quit IRC
[23:36:18] <T3charmy> Hi quick question..
[23:36:20] *** jshultz has quit IRC
[23:36:22] *** danyim has joined #angularjs
[23:37:46] <T3charmy> It seems that when ever I pass a variable that contains HTML to {{ }} nothing gets displayed. and If I were to change that HTML to plain text it works perfectly fine.. am I missing something? is it not allowed for security reasons or what?
[23:37:49] *** lucasefe has quit IRC
[23:38:03] <Foxandxss> security reasons indeed
[23:38:34] *** tyfighter has quit IRC
[23:38:49] *** greengriminal has quit IRC
[23:38:50] <T3charmy> hmm.. so what should I go about doing? I'm currently working on converting an existing blog system that stores data in MYSQL as HTML
[23:38:52] <Pankaj> this is nothing any security
[23:39:12] <robdubya_> T3charmy https://docs.angularjs.org/api/ng/service/$sce
[23:39:16] <Pankaj> {{}}this is binding angular data
[23:39:19] *** greengriminal has joined #angularjs
[23:39:39] <Pankaj> you can display "{{somthing}}"
[23:39:58] <Pankaj> you should be "{{{{somthing}}}}"
[23:40:19] <robdubya_> T3charmy typically if you're certain its safe / not going to contain executable code, you can just whitelist it
[23:41:31] *** gordonz has left #angularjs
[23:42:00] *** gordonz has joined #angularjs
[23:42:47] *** danyim has quit IRC
[23:43:18] *** roobik has quit IRC
[23:43:24] *** nitsujw has quit IRC
[23:45:15] *** elux has quit IRC
[23:45:35] *** RyanHirsch has quit IRC
[23:46:00] *** nitsujw has joined #angularjs
[23:47:49] *** danielpquinn has joined #angularjs
[23:48:25] *** vintik has joined #angularjs
[23:49:35] *** gordonz has quit IRC
[23:49:37] *** negval has quit IRC
[23:50:01] *** bphogan_afk is now known as bphogan
[23:50:06] *** nitsujw has quit IRC
[23:50:06] *** [n0b0dy] has quit IRC
[23:50:16] *** [n0b0dy] has joined #angularjs
[23:50:19] *** dilas has joined #angularjs
[23:51:16] *** anjumkaiser has joined #angularjs
[23:51:37] *** fold has quit IRC
[23:52:31] *** encestre has joined #angularjs
[23:52:37] *** danielpquinn has quit IRC
[23:53:20] *** tgkokk has joined #angularjs
[23:53:56] <T3charmy> Thanks robdubya_ I got it working. :)
[23:54:02] <robdubya_> cool
[23:54:23] <T3charmy> new to Angular ... still trying to get a hang of it...
[23:55:04] <T3charmy> been trying for 2 1/2 hours to get that working :P
[23:55:05] *** TorchDragon has joined #angularjs
[23:55:06] *** s3shs has joined #angularjs
[23:56:04] *** RyanHirsch has joined #angularjs
[23:56:08] *** roobik has joined #angularjs
[23:56:10] *** akrikos has quit IRC
[23:56:27] *** LoveAndHappiness has quit IRC
[23:56:48] *** LoveAndHappiness has joined #angularjs
[23:57:05] <robdubya_> T3charmy yeah that one can be hard to track down the first time
[23:59:20] *** TorchDragon has quit IRC
[23:59:33] *** disorder20 has quit IRC
top

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