Switch to DuckDuckGo Search
   July 7, 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:21] *** kvnm has joined #angularjs
[00:00:25] <senayar> Hi, I use a datepicker from angular-strap, it's work nice on desktop but on mobile device when I click on the top menu or date item, it does a twice click all time. https://github.com/senayar/angular-strap/blob/master/dist/angular-strap.js#L687 How i can prevent this twice click ?
[00:00:53] *** kroogs has joined #angularjs
[00:00:57] *** danielpquinn has quit IRC
[00:01:12] *** tigrang has joined #angularjs
[00:02:17] *** kvnm has quit IRC
[00:02:52] *** kvnm has joined #angularjs
[00:04:06] *** blueadept has joined #angularjs
[00:04:47] *** bbankes has quit IRC
[00:05:43] *** kroogs has quit IRC
[00:05:51] *** brianturgeon has quit IRC
[00:06:15] *** yani has joined #angularjs
[00:07:09] *** Yancy has quit IRC
[00:07:16] *** mary5030 has quit IRC
[00:07:18] *** Yancy has joined #angularjs
[00:08:35] *** Xethron has quit IRC
[00:10:03] *** tomzx`afk is now known as tomzx
[00:11:28] *** morenoh149 has quit IRC
[00:11:43] *** hugoleodev has joined #angularjs
[00:12:58] *** schonert has quit IRC
[00:13:40] *** jumpstracks has joined #angularjs
[00:14:24] *** Reskp has joined #angularjs
[00:14:30] *** brianturgeon has joined #angularjs
[00:14:32] *** balboah has quit IRC
[00:14:39] *** bmac has quit IRC
[00:15:48] *** dccc has joined #angularjs
[00:18:11] *** nectarys_ has joined #angularjs
[00:18:27] *** DrMabuse has quit IRC
[00:19:03] *** Reskp has quit IRC
[00:19:11] *** bayousoft has joined #angularjs
[00:19:12] *** nectarys has quit IRC
[00:19:17] <TheAceOfHearts> so, stupid question. what's the difference between these two globs: 'test/server/**/*', 'test/server/{,**/}*' ?
[00:19:19] <TheAceOfHearts> if any...
[00:19:34] *** brianturgeon has quit IRC
[00:19:39] *** leyluj has quit IRC
[00:20:55] *** DrJae is now known as Jae
[00:21:00] *** Jae has joined #angularjs
[00:27:01] *** dccc has quit IRC
[00:27:29] *** blueadept has quit IRC
[00:27:38] *** blueadept has joined #angularjs
[00:28:38] *** kennbrodhagen has joined #angularjs
[00:30:56] *** hugoleodev has quit IRC
[00:31:33] *** evilaliv3 has quit IRC
[00:32:02] *** DrJae has joined #angularjs
[00:32:31] *** theunixbeard has quit IRC
[00:32:52] *** fairchild_away is now known as fairchild
[00:33:10] *** schonert has joined #angularjs
[00:33:24] *** Jae has quit IRC
[00:33:35] *** kennbrodhagen has quit IRC
[00:33:57] *** altious has quit IRC
[00:34:58] *** tfennelly has joined #angularjs
[00:35:19] *** Kallb123 has quit IRC
[00:36:24] *** jumpstracks has quit IRC
[00:36:24] *** ustunozgur has joined #angularjs
[00:36:27] *** chrisshattuck has joined #angularjs
[00:36:31] *** apetro_ has joined #angularjs
[00:37:12] *** tfennelly has quit IRC
[00:37:20] *** Nizumzen has joined #angularjs
[00:37:33] *** Krroos has quit IRC
[00:37:34] *** fedenunez has quit IRC
[00:37:46] *** kvnm has quit IRC
[00:37:59] *** mercwithamouth has quit IRC
[00:38:02] *** matiasow has quit IRC
[00:38:15] *** mercwithamouth has joined #angularjs
[00:38:23] *** schonert has quit IRC
[00:38:25] *** Shrooms has joined #angularjs
[00:38:25] *** boptop has joined #angularjs
[00:38:30] *** Willow has joined #angularjs
[00:38:34] *** fedenunez has joined #angularjs
[00:39:56] *** bphogan is now known as bphogan_afk
[00:40:04] *** johnstorey has quit IRC
[00:40:11] <s3shs> That last slash inside braces looks suspicious.
[00:40:27] <s3shs> If you're looking for a difference.
[00:40:33] *** ustunozgur has quit IRC
[00:40:39] *** matiasow has joined #angularjs
[00:42:15] *** illume has quit IRC
[00:42:39] <TheAceOfHearts> why?
[00:43:05] *** VinceZa has joined #angularjs
[00:43:47] *** dccc has joined #angularjs
[00:44:05] *** marcospgp has joined #angularjs
[00:44:09] *** DGiesen has quit IRC
[00:44:39] *** drej has quit IRC
[00:45:06] *** drej has joined #angularjs
[00:45:15] *** TorchDragon has joined #angularjs
[00:45:39] *** bayousoft has quit IRC
[00:47:14] <MalfaitRobin> anyone here that got DataTables working with angularjs?
[00:47:34] *** jonnybro has joined #angularjs
[00:47:49] *** rmichnik has quit IRC
[00:48:12] *** boptop has quit IRC
[00:49:32] *** fouadm has joined #angularjs
[00:49:44] *** TorchDragon has quit IRC
[00:50:18] *** bmac has joined #angularjs
[00:50:38] *** Tomdarkness has joined #angularjs
[00:51:13] *** matiasow has quit IRC
[00:51:51] *** matiasow has joined #angularjs
[00:52:12] *** sepulveda has quit IRC
[00:52:13] *** boptop has joined #angularjs
[00:53:11] *** fouadm has quit IRC
[00:53:19] <narutimateum> hi robbie
[00:54:50] *** brianturgeon has joined #angularjs
[00:55:12] *** carbajal has joined #angularjs
[00:55:20] *** dccc has quit IRC
[00:55:40] *** bayousoft has joined #angularjs
[00:56:21] *** matiasow has quit IRC
[00:56:42] *** kvnm has joined #angularjs
[00:56:47] <Foxandxss> s3shs: what's up
[00:56:59] *** danielpquinn has joined #angularjs
[00:57:09] <Stiles> ng-src seems to break when ever the page resizes, is this normal?
[00:57:28] *** freeman42 has joined #angularjs
[00:57:49] *** sal1191 has left #angularjs
[00:57:51] *** sal1191 has joined #angularjs
[00:58:02] *** narutimateum has quit IRC
[00:59:11] *** Sawbones has joined #angularjs
[01:00:50] *** apetro_ has quit IRC
[01:00:55] <Cixis> lol
[01:00:57] *** marr has quit IRC
[01:01:27] *** tigrang has quit IRC
[01:01:45] <Cixis> i'm going to go out on a limb and say no, that's not normal
[01:01:56] *** jonnybro has quit IRC
[01:01:58] *** Yahkob has joined #angularjs
[01:02:05] *** danielpquinn has quit IRC
[01:03:23] *** Sawbones has quit IRC
[01:04:53] *** Sawbones has joined #angularjs
[01:05:32] *** brianturgeon has quit IRC
[01:05:50] *** m3l720 has joined #angularjs
[01:06:18] *** jeffszusz has joined #angularjs
[01:06:18] *** brianturgeon has joined #angularjs
[01:06:21] *** disorder20 has quit IRC
[01:07:53] *** wxo has joined #angularjs
[01:07:53] *** mercwithamouth has quit IRC
[01:08:28] *** mercwithamouth has joined #angularjs
[01:11:37] *** dccc has joined #angularjs
[01:12:40] *** bmac has quit IRC
[01:12:56] <jeffszusz> hey guys
[01:13:04] *** m3l720 has quit IRC
[01:13:37] <marcospgp> ayoo
[01:13:45] <jeffszusz> if I need to open modal windows from all sorts of locations in an app, do i inject ui.bootstrap.modal into every controller that'd use it?
[01:13:49] <jeffszusz> or is there some better pattern to follow
[01:14:05] *** chrisbirk has joined #angularjs
[01:14:21] *** kvnm has quit IRC
[01:15:15] *** Reskp has joined #angularjs
[01:17:25] *** jharbaugh has joined #angularjs
[01:17:40] *** jonnybro has joined #angularjs
[01:18:01] *** chrisbirk has quit IRC
[01:18:12] <jeffszusz> is it something I should create a service for?
[01:18:20] *** balboah has joined #angularjs
[01:18:39] *** anjumkaiser has quit IRC
[01:19:12] *** DrMabuse has joined #angularjs
[01:19:18] *** intellix has quit IRC
[01:19:35] *** tigrang has joined #angularjs
[01:19:49] *** Reskp has quit IRC
[01:20:47] *** MTGap has quit IRC
[01:21:07] *** enxtur has joined #angularjs
[01:21:18] <marcospgp> wouldn't importing the service be pretty much the same as importing ui.bootstrap.modal? I'm legitimately asking, since I know pretty much nothing of that yet
[01:21:19] *** chrisshattuck has quit IRC
[01:22:00] *** Sawbones has quit IRC
[01:22:18] *** chrisbirk has joined #angularjs
[01:23:32] *** dccc has quit IRC
[01:24:00] *** DrMabuse has quit IRC
[01:24:46] *** arizzo has joined #angularjs
[01:24:52] *** boptop has quit IRC
[01:25:31] *** bbankes has joined #angularjs
[01:25:34] *** enxtur has quit IRC
[01:25:36] *** howzus has joined #angularjs
[01:25:37] <jeffszusz> i'm not sure marcospgp i'm brand new
[01:26:03] *** jumpstracks has joined #angularjs
[01:26:25] <jeffszusz> I am also trying to figure out if I should be created new module namespaces for everything I make or not. Someone said it helps for testing but i donno
[01:26:57] *** boptop has joined #angularjs
[01:27:24] <marcospgp> from what i've been told, do whatever fits you best but try to make a module per functionality
[01:27:50] *** tk has joined #angularjs
[01:29:12] *** dbouwman_ has joined #angularjs
[01:29:36] *** senayar has quit IRC
[01:30:08] *** senayar has joined #angularjs
[01:30:21] *** howzus has quit IRC
[01:32:23] *** dbouwman has quit IRC
[01:32:34] *** vintik has quit IRC
[01:33:43] *** mmoretti has joined #angularjs
[01:34:28] *** DrJae is now known as Jae
[01:34:39] *** Jae has joined #angularjs
[01:34:45] *** senayar has quit IRC
[01:34:52] *** josh-k_ has joined #angularjs
[01:35:08] *** mmoretti has left #angularjs
[01:36:02] *** jumpstracks has quit IRC
[01:36:09] *** wxo has quit IRC
[01:36:21] *** Yahkob has quit IRC
[01:36:27] *** Yahkob_ has joined #angularjs
[01:36:28] *** jonnybro has quit IRC
[01:38:16] *** josh-k has quit IRC
[01:39:30] *** seydoggy has joined #angularjs
[01:39:50] *** dccc has joined #angularjs
[01:40:00] *** chrisbirk has quit IRC
[01:40:53] *** DrMabuse has joined #angularjs
[01:41:09] *** bmac has joined #angularjs
[01:41:13] *** atomical has quit IRC
[01:41:39] *** brianturgeon has quit IRC
[01:42:06] *** Willow has quit IRC
[01:42:39] *** Willow has joined #angularjs
[01:43:15] *** CptChaos has quit IRC
[01:43:48] *** yani has quit IRC
[01:44:09] *** seydoggy has quit IRC
[01:45:34] *** DrMabuse has quit IRC
[01:45:41] *** nectarys_ has quit IRC
[01:45:45] *** moritzs has joined #angularjs
[01:47:11] *** Willow has quit IRC
[01:47:27] *** RootWeiller has joined #angularjs
[01:47:37] *** vintik has joined #angularjs
[01:48:45] *** Tidwell has quit IRC
[01:49:16] *** jobney has joined #angularjs
[01:49:18] *** iksik_ has joined #angularjs
[01:49:22] *** Tidwell has joined #angularjs
[01:50:06] *** dccc has quit IRC
[01:50:19] *** bayousoft has quit IRC
[01:50:35] *** idvb has quit IRC
[01:50:45] *** iksik has quit IRC
[01:51:12] *** idvb has joined #angularjs
[01:52:10] *** bayousoft has joined #angularjs
[01:52:36] *** visceral has joined #angularjs
[01:54:57] *** fcanela has joined #angularjs
[01:54:58] *** fcanela has joined #angularjs
[01:55:01] *** Guest78990 has quit IRC
[01:55:34] *** idvb has quit IRC
[01:56:01] *** jobney has quit IRC
[01:56:43] *** mange has joined #angularjs
[01:57:38] *** arizzo has quit IRC
[01:57:50] *** danielpquinn has joined #angularjs
[01:57:53] *** morenoh149 has joined #angularjs
[01:58:10] *** jumpstracks has joined #angularjs
[01:58:19] *** arizzo has joined #angularjs
[01:58:20] *** lw has joined #angularjs
[01:58:25] *** fcanela has quit IRC
[01:58:33] *** lw has quit IRC
[01:58:42] *** ninkotech__ has joined #angularjs
[01:59:07] *** lw has joined #angularjs
[01:59:23] *** wxo has joined #angularjs
[01:59:53] *** Reskp has joined #angularjs
[02:01:22] *** blueadept has quit IRC
[02:01:37] *** arizzo_ has joined #angularjs
[02:02:29] *** arizzo has quit IRC
[02:02:35] *** balboah has quit IRC
[02:02:45] *** danielpquinn has quit IRC
[02:03:59] *** DerekPerkins has joined #angularjs
[02:04:04] *** Reskp has quit IRC
[02:04:25] *** idvb has joined #angularjs
[02:05:20] *** bbankes has quit IRC
[02:06:13] *** dccc has joined #angularjs
[02:06:16] *** atomical has joined #angularjs
[02:06:23] *** fayar has joined #angularjs
[02:06:32] *** fayar has quit IRC
[02:07:11] *** dbouwman_ has quit IRC
[02:07:22] *** arizzo_ has quit IRC
[02:07:23] *** jumpstracks has quit IRC
[02:07:58] *** arizzo has joined #angularjs
[02:11:05] <TheAceOfHearts> https://gist.github.com/cesarandreu/16fb332d92389aa91ad7 I'm retarded.
[02:11:39] *** lw has quit IRC
[02:12:03] *** arizzo has quit IRC
[02:13:11] *** dccc has quit IRC
[02:13:49] *** obert has quit IRC
[02:14:23] <caitp> don't worry TAOH
[02:14:35] <caitp> one day v8 won't need you to specify flags for harmony features
[02:14:43] <caitp> that day is not today, but some day!
[02:14:46] *** jonnybro has joined #angularjs
[02:15:31] *** bicranial has joined #angularjs
[02:15:36] *** lw has joined #angularjs
[02:16:24] <jeffszusz> I'm getting an undefined function error at Scope.$scope.addGroup even though $scope.addGroup is defined in my controller, and other $scope.stuff is accessible in the template that's trying to use the method
[02:16:54] <caitp> nah
[02:17:21] <caitp> post cide
[02:17:24] <caitp> code**
[02:17:59] *** jstroem_ has quit IRC
[02:18:04] *** rodyhadd_ has joined #angularjs
[02:18:05] *** darkgray has quit IRC
[02:18:11] *** rodyhadd_ is now known as rodyhaddad
[02:18:17] <jeffszusz> https://gist.github.com/jeffszusz/adf2ac9610c49cf40a51
[02:18:43] <jeffszusz> the block of html i pasted is in an ng-include that also has ng-controller="SidebarCtrl"
[02:19:11] <TheAceOfHearts> caitp: much sadness in my life until we have default —harmony
[02:19:15] <jeffszusz> $scope.groups does show up in the ng-repeat properly so i'm not sure why $scope.addGroup fails
[02:19:35] *** katsh has quit IRC
[02:19:40] *** raibutera has joined #angularjs
[02:20:34] *** VinceZa has quit IRC
[02:20:41] *** Nizumzen has quit IRC
[02:21:03] *** annlewis has joined #angularjs
[02:21:08] *** dman777_alter has joined #angularjs
[02:21:16] <dman777_alter> Does anyone use this? http://siddii.github.io/angular-timer/examples.html#/angularjs-single-timer
[02:21:39] *** darkgray has joined #angularjs
[02:21:45] <dman777_alter> I keep getting provider complaining about 'timer' doesn't exist but I have it installed and injected into my controller
[02:21:55] *** Nijikoku_ has joined #angularjs
[02:22:09] <dman777_alter> Error: [$injector:unpr] Unknown provider: timerProvider <- timer
[02:23:47] *** justinobney has joined #angularjs
[02:24:03] *** VinceZa has joined #angularjs
[02:24:20] *** marcospgp has quit IRC
[02:24:25] *** Nijikokun has quit IRC
[02:24:51] *** Jdubs has joined #angularjs
[02:24:53] *** bbankes has joined #angularjs
[02:25:10] <Jdubs> Hey guys o/ Trying to figure out the solution to a problem...So I have a page in my app where you click something to view it in detail, what would be the best way to have the back button restore the previous state of viewing it at a higher level?
[02:25:29] *** DrMabuse has joined #angularjs
[02:25:42] *** chltjdgh_ has quit IRC
[02:26:03] *** feelfine has quit IRC
[02:26:12] *** stirlingw has joined #angularjs
[02:26:17] *** chltjdgh86 has joined #angularjs
[02:26:20] *** Shrooms has quit IRC
[02:26:51] *** darkgray has quit IRC
[02:26:56] *** lw has quit IRC
[02:27:08] *** darkgray has joined #angularjs
[02:27:57] *** tendencydriven has joined #angularjs
[02:28:03] <justinobney> Jdubs: Need more info.. plnkr.co or sketch or something...
[02:28:10] *** dccc has joined #angularjs
[02:28:19] <Jdubs> hmmm
[02:28:21] <Jdubs> :/
[02:28:27] *** Foxandxss has quit IRC
[02:28:34] <tendencydriven> Howdy folks, I have a setInterval() function on one of my directives, but it keeps running even when navigating away from that view. Any idea as to why?
[02:29:11] <justinobney> tendencydriven: well.. you have to clean up things like timeout, interval in the "$destroy" event
[02:29:25] <justinobney> also, use the built in $interval service instead
[02:29:28] *** Shrooms has joined #angularjs
[02:29:29] <Jdubs> justinobney: well it's just an ng-repeat stuff, you click one to view that specific one in detail...Currently I'm tracking it by a scope.options.selected value, instead of going to a new page, because a new page has load time and loses all the variables right? unless there is a way around that
[02:29:34] *** kennbrodhagen has joined #angularjs
[02:29:51] <justinobney> Jdubs: look into ui-router
[02:30:10] <justinobney> it allow a more granular state setup
[02:30:13] *** DrMabuse has quit IRC
[02:30:39] *** drej has quit IRC
[02:30:43] <Jdubs> hmm
[02:31:02] <tendencydriven> So, in the $destroy event I would call $interval.cancel() (once I switch from setInterval to $interval)?
[02:31:10] <Jdubs> justinobney: im over 10k lines of code, wouldn't it be pretty hard to change routers now?
[02:31:13] <justinobney> tendencydriven: that's the idea
[02:31:31] <tendencydriven> justinobney, cheers I'll give it a shot.
[02:31:32] <justinobney> Jdubs: it probably would :(
[02:31:46] <Jdubs> justinobney: is there any solution with the default router?
[02:32:02] <justinobney> i tend to start the most minor of "needs routing" apps with ui-router because of what they tend to grow into
[02:32:22] <justinobney> hrmm
[02:32:28] <jeffszusz> hm I figured out that it's not my addGroup method that's failing, it's the modalService.show() method inside it
[02:33:25] <jeffszusz> my modalService is at the bottom, the 'show' method doesn't exist for some reason. https://gist.github.com/jeffszusz/adf2ac9610c49cf40a51
[02:33:56] *** Shrooms has quit IRC
[02:34:01] <Jdubs> justinobney: is there any kind of a guide to migrating a large app from standard router to ui router?
[02:34:12] *** kennbrodhagen has quit IRC
[02:34:13] *** lw has joined #angularjs
[02:34:36] *** stirlingw has quit IRC
[02:34:38] <justinobney> Jdubs: not sure..
[02:34:44] <zelrik> why ui-router
[02:35:09] *** jonnybro has quit IRC
[02:36:02] <Jdubs> Or maybe is there anyway to change the route with the standard router, and have it update the page without having to reload if it's handled by the same controller and it's only changing a value in the route? Like /route/:id?
[02:36:32] *** patrickc_ has joined #angularjs
[02:36:47] *** k-dawg has joined #angularjs
[02:36:50] <justinobney> zelrik: as opposed to?
[02:37:23] <zelrik> justinobney, I don't know, I am just using the regular routes
[02:37:27] <zelrik> not sure what s wrong with it
[02:37:32] *** AciD`` has quit IRC
[02:37:40] <Jdubs> justinobney: i think i found the solution if anyone cares: http://stackoverflow.com/questions/17981281/change-route-parameters-without-updating-view
[02:37:42] <Jdubs> going to try it
[02:37:48] <justinobney> ui-router is just more robust
[02:38:04] <zelrik> Jdubs, I have some code that does it
[02:38:45] *** dccc has quit IRC
[02:38:52] *** wxo has quit IRC
[02:39:33] <justinobney> nice
[02:39:49] *** SpearThruster has quit IRC
[02:40:12] *** fouadm has joined #angularjs
[02:40:12] *** SpearThruster has joined #angularjs
[02:40:13] <dman777_alter> Does anyone use this? http://siddii.github.io/angular-timer/examples.html#/angularjs-single-timer
[02:40:29] <zelrik> Jdubs, http://stackoverflow.com/questions/22940106/path-change-without-reloading-the-route-allow-back-button-to-reload-the-route
[02:40:43] <zelrik> I think in my edited question, all the relevant code is there
[02:42:43] *** patrickc_ has quit IRC
[02:43:21] *** patrickc_ has joined #angularjs
[02:43:36] *** VinceZa has quit IRC
[02:44:31] *** WeiJunLi has joined #angularjs
[02:44:40] *** fouadm has quit IRC
[02:44:41] <WeiJunLi> https://gist.github.com/anonymous/98b797e42d1ac84ccc13 - why am I receiving that error?
[02:46:00] <zelrik> because display is undefined?
[02:46:28] <zelrik> You're better off binding it to a scope
[02:46:45] <zelrik> I think there is a ng-style you can use
[02:47:16] <WeiJunLi> I am not using Angularjs, only pure js just came here bcus js channel is quite dead
[02:47:24] <WeiJunLi> do you have any suggestion for pure js?
[02:47:47] *** cpciv has left #angularjs
[02:47:49] *** patrickc_ has quit IRC
[02:48:05] <zelrik> no
[02:48:13] *** boptop has quit IRC
[02:48:16] <zelrik> you should console.log all your variables
[02:48:18] *** snurfery has joined #angularjs
[02:48:58] <snurfery> sup angular
[02:49:22] <zelrik> sup snurfery
[02:50:27] <dman777_alter> Does anyone use this? http://siddii.github.io/angular-timer/examples.html#/angularjs-single-timer. I injected 'timer' into my controller but I get Error: [$injector:unpr] Unknown provider: timerProvider <- timer
[02:51:34] <zelrik> well that s because timer is unknown :)
[02:51:52] <zelrik> you sure you load the dependency correctly
[02:52:09] *** gnar_matix has joined #angularjs
[02:53:32] <dman777_alter> zelrik: hmm...I verified it in the index.html that the file itself did load succesfully. http://bpaste.net/show/1sOQl91mDr4jkKJK5vX2/
[02:53:48] <zelrik> but did you put it in your module
[02:54:06] <dman777_alter> good question...nope
[02:54:11] <zelrik> ... :D
[02:54:34] *** endash has quit IRC
[02:54:40] <snurfery> well that was quick
[02:54:42] <snurfery> =)
[02:54:45] *** TravisTX has joined #angularjs
[02:54:50] *** mercwithamouth has quit IRC
[02:55:11] *** jshultz has joined #angularjs
[02:55:15] <dman777_alter> like this? angular.module('monitorApp' , ['timer']).controller('cpuCtrl', ['$scope', 'timer', function ($scope, timer) {....
[02:55:21] *** dccc has joined #angularjs
[02:55:22] <dman777_alter> zelrik: ^
[02:55:23] <zelrik> yes
[02:55:30] *** apetro_ has joined #angularjs
[02:55:38] <Jdubs> Hey guys
[02:55:39] *** apetro_ has quit IRC
[02:55:44] <zelrik> hi Jdubs
[02:55:44] <Jdubs> Anyone know how to monitor the search portion of a route?
[02:55:54] *** apetro_ has joined #angularjs
[02:55:56] *** vintik has quit IRC
[02:56:06] <Jdubs> the angular way
[02:56:16] <zelrik> I guess put a watch on $location.search
[02:56:25] <dman777_alter> zelrik: strange...it makes my page hang...with no errors or anything
[02:56:37] <zelrik> I don't use the search portion so I am not sure
[02:56:38] <Jdubs> zelrik but $location.search doesn't seem to return anything except the location object
[02:56:53] <zelrik> oh
[02:56:55] <dman777_alter> zelrik: like angular.js doesn't finish initializing on client load
[02:57:09] <zelrik> I think there is a service called $routeParams
[02:57:10] <zelrik> or so
[02:57:17] <zelrik> maybe it s in it
[02:57:28] *** apetro_ has quit IRC
[02:57:33] *** Mrkol has quit IRC
[02:57:49] <zelrik> dman777_alter, try commenting out code until it works again?
[02:58:35] *** danielpquinn has joined #angularjs
[02:58:36] <dman777_alter> zelrik: well, that is just the thing...not using any of it's code yet. just from injecting it into my module.
[02:58:38] <zelrik> When no errors or error don't make sense, you have to nuke large portions of code
[02:58:42] <zelrik> to nail it down
[02:58:57] <zelrik> dman777_alter, then it s a shitty module :p
[02:59:13] <dman777_alter> zelrik: lol...could I be injecting it wrong? angular.module('monitorApp' , ['timer']).controller('cpuCtrl', ['$scope', 'timer', function ($scope, timer) {....
[02:59:22] <zelrik> no I think that s right
[02:59:29] <dman777_alter> zelrik: ok, thanks!
[02:59:31] <zelrik> maybe you should contact whoever did it
[02:59:39] <dman777_alter> yep...just about to do that
[02:59:53] *** feelfine has joined #angularjs
[03:00:10] <zelrik> dman777_alter, your blank page is unexpected right?
[03:00:21] <zelrik> maybe there is some html in there but just no content
[03:00:30] *** Reskp has joined #angularjs
[03:00:45] *** seydoggy has joined #angularjs
[03:02:23] *** bbankes has quit IRC
[03:03:05] *** danielpquinn has quit IRC
[03:04:11] *** feelfine has quit IRC
[03:04:16] <dman777_alter> zelrik: naw...it's the angular process not completeing. it's stopping it at some point
[03:04:27] <dman777_alter> when I remove that module everything is good
[03:04:29] *** jsoverson has joined #angularjs
[03:05:09] *** Reskp has quit IRC
[03:05:22] *** rmichnik has joined #angularjs
[03:06:56] *** dccc has quit IRC
[03:07:26] *** mercwithamouth has joined #angularjs
[03:08:00] *** bayousoft has quit IRC
[03:08:16] <dman777_alter> zelrik: if I wrote my own countdown timer...should I write it in a derictive or service?
[03:08:55] *** darkgray has quit IRC
[03:09:46] *** ad_libr has joined #angularjs
[03:09:59] *** vintik has joined #angularjs
[03:09:59] *** darkgray has joined #angularjs
[03:10:47] <dman777_alter> confused since I am not really using the DOM api except to change the number in the element for counting down
[03:10:54] <dman777_alter> so I was thinking service
[03:11:59] *** mercwithamouth has quit IRC
[03:12:44] *** mercwithamouth has joined #angularjs
[03:13:13] *** kennbrodhagen has joined #angularjs
[03:14:27] <Moult> i have a service that currently returns $http.get promise. i can respond to this promise in the controller and see the effects immediately. if i respond to this promise in the service itself, i don't see any changes made. how do i get the changes to propagate to the controller?
[03:14:51] *** nemothekid has quit IRC
[03:14:59] *** Tomdarkness has quit IRC
[03:16:02] *** ad_libr has quit IRC
[03:16:15] *** ad_libr has joined #angularjs
[03:16:16] *** dashed has quit IRC
[03:16:44] *** snurfery has quit IRC
[03:16:56] <jeffszusz> is there a way to do partial templates that inherit from a base?
[03:17:33] *** motionman has joined #angularjs
[03:17:33] *** motionman has joined #angularjs
[03:17:36] <jeffszusz> i'm loading a modal window with a default template and need to load a body template into it
[03:17:41] *** ad_libr has quit IRC
[03:17:45] *** moritzschaefer has joined #angularjs
[03:17:50] *** alt_qq has quit IRC
[03:18:16] *** lordkryss has quit IRC
[03:18:43] *** benjf_ has joined #angularjs
[03:18:48] *** iksik_ has quit IRC
[03:18:48] *** jstroem has joined #angularjs
[03:18:53] *** meinside has joined #angularjs
[03:19:46] *** tylerdmace has joined #angularjs
[03:20:32] *** Dalsass_mobi has joined #angularjs
[03:20:56] *** moritzs has quit IRC
[03:21:25] *** mercwithamouth has quit IRC
[03:21:57] *** benjf has quit IRC
[03:22:05] *** enxtur has joined #angularjs
[03:22:05] <zelrik> dman777_alter, you d use both a service and a directive I guess
[03:22:21] <zelrik> dman777_alter, I write services for most features
[03:23:09] *** dccc has joined #angularjs
[03:23:18] *** bayousoft has joined #angularjs
[03:23:19] *** mercwithamouth has joined #angularjs
[03:23:26] *** jstroem has quit IRC
[03:24:41] *** tylerjohnst has joined #angularjs
[03:24:41] *** niix has joined #angularjs
[03:24:53] <niix> Anyone here have experience with using Passport.js w/ Angular?
[03:25:24] <caitp> i did last summer
[03:25:39] <caitp> been forever, won't be helpful
[03:25:46] <niix> heh okay
[03:25:59] <zelrik> hi caitp
[03:26:13] *** DrMabuse has joined #angularjs
[03:26:16] *** gnar_mat_ has joined #angularjs
[03:26:20] *** k-dawg has quit IRC
[03:26:24] *** enxtur has quit IRC
[03:27:23] *** kennbrodhagen has quit IRC
[03:27:53] *** freeman42 has quit IRC
[03:28:18] *** fg3_ has quit IRC
[03:28:39] *** gnar_matix has quit IRC
[03:30:15] <jeffszusz> is there no template inheritance in angular templates?
[03:30:34] *** DrMabuse has quit IRC
[03:30:36] <caitp> there is not
[03:31:09] *** seydoggy has quit IRC
[03:31:15] <jeffszusz> what would you do instead if you have a base template and need to wrap it around the template for your view?
[03:31:44] *** seydoggy has joined #angularjs
[03:31:45] <caitp> whats the difference between a view and a template?
[03:31:48] *** mercwithamouth has quit IRC
[03:31:55] *** gnar_mat_ has quit IRC
[03:32:01] <jeffszusz> sorry, my backbone is showing
[03:32:02] <jeffszusz> ummm
[03:32:13] *** patrickc_ has joined #angularjs
[03:32:15] <zelrik> caitp, the template is what is used in a view :)
[03:32:23] *** gnar_matix has joined #angularjs
[03:32:38] *** mercwithamouth has joined #angularjs
[03:32:40] <jeffszusz> I want to load a 'modal_base.html' with another template nested into it
[03:32:47] *** dccc has quit IRC
[03:32:58] <jeffszusz> if there's no template inheritance, what would I do instead?
[03:33:01] <wafflejock_> jeffszusz: you can use ng-include or potentially transclusion with a directive depending on the scenario
[03:33:22] <wafflejock_> jeffszusz: you can also use something like nested states with multiple views for a state with ui-router
[03:33:42] <jeffszusz> so this is living in a ui.bootstrap.modal window
[03:34:02] <jeffszusz> modal_base.html has the title bar, exit button, ok/cancel buttons
[03:34:35] *** gnar_mat_ has joined #angularjs
[03:34:36] <jeffszusz> the templates i want to shove into that depend on which button i push
[03:35:36] <wafflejock_> jeffszusz: yeah so if you used transclusion you can put ng-transclude on an element in the modal_base.html and make a directive that has transclude:true set so you can re-use the directive and pass contents along by wrapping them in the element with your directive applied
[03:36:18] *** seydoggy has quit IRC
[03:36:38] <wafflejock_> jeffszusz: https://docs.angularjs.org/api/ng/directive/ngTransclude
[03:36:57] *** gnar_matix has quit IRC
[03:37:17] <jeffszusz> wafflejock_, can you explain what 'transclusion' is?
[03:37:20] <wafflejock_> jeffszusz: alternatively you might want to use ng-include and change the url included based on some information you pass to a directive
[03:37:50] <zelrik> jeffisabelle, transclusion is what you use if you want to put user-defined content in a component
[03:37:54] <wafflejock_> jeffszusz: the link shows an example, basically means it takes the contents put between the directive tags and places those elements wherever you specify ng-transclude on some element in the templae
[03:37:56] <zelrik> say a dropdrown
[03:38:18] <zelrik> in practice, you can use that inside directive
[03:38:23] <zelrik> to replace part of the template
[03:38:32] *** seydoggy has joined #angularjs
[03:39:36] *** jsoverson has quit IRC
[03:39:52] <wafflejock_> Moult: can you show some code of what you're trying currently
[03:40:35] <jeffszusz> wafflejock_, zelrik, does it make sense to create a directive that you'll only ever use in one place?
[03:40:44] <jeffszusz> i thought they were for reusable snippets
[03:40:49] *** nemothekid has joined #angularjs
[03:40:51] <wafflejock_> jeffszusz: not really but if you plan to shove various contents into it you would still be re-using it
[03:41:09] <wafflejock_> jeffszusz: actually sometimes you might need a directive in just 1 place
[03:41:17] <Moult> wafflejock_: actually, it was pebkac
[03:41:27] <wafflejock_> Moult: ah okay glad you got it sorted
[03:41:27] <zelrik> jeffszusz, it might make sense just to organize your code
[03:41:29] <jeffszusz> i'm not shoving stuff into it in different places, just the one place - inside my modal service
[03:41:53] <zelrik> it s a good idea to keep things modular and reusable
[03:41:55] <jeffszusz> what template i ask that modal service to display (wrapped in the modal_base.html) is the only thing that changes
[03:41:58] <zelrik> even if you dont reuse them
[03:42:01] <jeffszusz> hm ok
[03:42:31] <Moult> wafflejock_: is it normal for a controller to assign a service to scope, and have the view use {{myService.foo}} directly?
[03:42:33] *** vintik has quit IRC
[03:42:41] <zelrik> there were a component I used in only one place in our app, yet I extracted it as a module
[03:42:51] <zelrik> and 'opensourced' it
[03:43:05] <zelrik> so that others could use it if they want to
[03:43:20] *** Dalsass_mobi has quit IRC
[03:43:35] <wafflejock_> jeffszusz: yeah really directives are to allow you to extend the language of HTML to add behaviors or make modifications to the DOM, many times they can be used to shorten up the markup if it's replacing some repeated markup but in other cases you might just need them for one offs in a given project
[03:43:41] <zelrik> thing is nobody cares about my module :D
[03:44:07] *** absk007 has joined #angularjs
[03:44:07] <caitp> nobody cares about mine either
[03:44:20] <zelrik> caitp, I star yours and you star mine :D
[03:44:32] <deepy> If you replace my module with yours I will care about it
[03:44:33] <wafflejock_> Moult: I don't typically actually use the service itself from the scope directly but I have a data object in the service that contains everything used from the controller's perspective instead
[03:44:36] <absk007> why do we need to add the bootstrap.js file along with bootstrap.css?
[03:44:42] <wafflejock_> Moult: I don't think there's anything wrong with that really though
[03:44:50] *** bphogan_afk is now known as bphogan
[03:45:27] <wafflejock_> Moult: well I shouldn't say I don't use it but I don't assign it to a property on the scope, I just make calls to the functions on it directly and the service has a separate object that stores data that's been fetched
[03:46:19] <wafflejock_> Moult: the basic structure I use for most of my services/controllers is in the answer posted on SO here http://stackoverflow.com/questions/17667455/angular-http-vs-service-vs-ngresource
[03:46:25] *** JoshGlzBrk has quit IRC
[03:47:19] *** seydoggy has quit IRC
[03:47:26] *** patrickc_ has quit IRC
[03:47:26] <zelrik> I like $http
[03:47:50] <wafflejock_> zelrik: I did too until I started trying to make everythig truly RESTful now $resource is good and helps me keep to a better structure
[03:47:54] *** seydoggy has joined #angularjs
[03:48:08] <Moult> wafflejock_: urgh, this looks like nastycode :(
[03:48:10] <zelrik> it s hard to keep everything restful
[03:48:19] <wafflejock_> Moult: how so?
[03:48:29] <Moult> wafflejock_: it's cryptic. it doesn't read like english.
[03:48:29] *** VinceZa has joined #angularjs
[03:48:49] *** seydoggy has quit IRC
[03:49:03] *** seydoggy has joined #angularjs
[03:49:18] <wafflejock_> Moult: it just has a dataLoaded object it uses to see if it has already made this call, if you pass the forceRefresh flag along it will make the call regardless of if it's been made before otherwise it will use the cached data
[03:49:33] <zelrik> caitp, what s your module
[03:49:33] <wafflejock_> no matter what happens the promise is returned
[03:49:34] <idvb> is there a way to use filters in ng-style ? something like.... ng-style="{'width': {device.status | percentage} +'%'}"
[03:49:46] *** dccc has joined #angularjs
[03:49:54] *** Yahkob_ has quit IRC
[03:49:54] <Moult> wafflejock_: yeah i see, but it means i'll need to wrap this new data object on all services
[03:49:58] *** Dalsass_mobi has joined #angularjs
[03:50:13] <wafflejock_> Moult: yeah well right now you are just adding properties to the service right?
[03:50:13] *** patrickc_ has joined #angularjs
[03:50:19] <wafflejock_> the difference is I add properties to my data object
[03:50:23] <caitp> caitp.github.io/ui-comments/#/r/aww http://caitp.github.io/angular-drop/ https://github.com/caitp/boredtropolis and a bunch of others
[03:50:28] <wafflejock_> in my controller I assign the property to point to the data object
[03:50:33] *** mercwithamouth has quit IRC
[03:51:29] *** gh_hutr has quit IRC
[03:51:55] *** gnar_mat_ has quit IRC
[03:53:00] <wafflejock_> zelrik: yeah well in the edge cases that you might need to work with an API that isn't RESTful you just fall back on $http
[03:53:04] *** lenswipe has joined #angularjs
[03:53:23] <Moult> wafflejock_: hmm, doing some reading
[03:53:47] <jeffszusz> so I can't just ng-include="{{some.template}}" ?
[03:53:54] *** mercwithamouth has joined #angularjs
[03:54:03] *** gh_hutr has joined #angularjs
[03:54:06] <jeffszusz> i'm trying that but it gives me a strange error I can't decipher lol
[03:54:14] <wafflejock_> jeffszusz: drop us the error
[03:54:36] <wafflejock_> jeffszusz: pastebin would be good with any relevant code too, it's a possible option
[03:54:45] *** dbouwman has joined #angularjs
[03:55:19] *** justinobney has quit IRC
[03:55:25] <jeffszusz> https://gist.github.com/jeffszusz/9fb281458e1216c9aed0
[03:55:53] *** dccc has quit IRC
[03:55:57] *** gnar_matix has joined #angularjs
[03:56:04] *** acconrad has joined #angularjs
[03:56:09] *** devx101 has joined #angularjs
[03:56:23] <wafflejock_> Moult: the way I define my services is slightly non standard but it's because I don't like to deal with this/that in JS so I just name the var/object I'm going to return from the function similar to how factories are typically defined since the new keyword isn't used when creating a factory
[03:56:26] *** one_zero has joined #angularjs
[03:56:37] <lenswipe> hey guys
[03:56:39] *** patrickc_ has quit IRC
[03:56:40] <lenswipe> anyone know about dgeni?
[03:57:03] *** bphogan is now known as bphogan_afk
[03:57:15] *** patrickc_ has joined #angularjs
[03:58:27] *** darrin has joined #angularjs
[03:58:49] *** gnar_matix has quit IRC
[03:59:12] *** dbouwman has quit IRC
[03:59:16] *** danielpquinn has joined #angularjs
[03:59:23] *** gnar_matix has joined #angularjs
[03:59:43] *** kroogs has joined #angularjs
[04:00:02] <wafflejock_> jeffszusz: you should drop the {{}} also the {{modalOptions.bodyText}} would be replaced by the ng-include contents
[04:00:23] *** vintik has joined #angularjs
[04:00:25] <jeffszusz> yes I want it to be replaced if there is something, but not replaced if there is no template given
[04:00:49] *** Dalsass_mobi has quit IRC
[04:01:02] *** bphogan_afk is now known as bphogan
[04:01:07] <wafflejock_> ah okay well here's the basic demo for ng-include http://plnkr.co/edit/WC0mBAyV9anr2Dq7dUCT?p=preview
[04:01:14] <jeffszusz> thanks wafflejock! i didn't realize the ng-include="" had to be an expression and not a string
[04:01:24] *** Reskp has joined #angularjs
[04:01:30] <wafflejock_> jeffszusz: yupper np
[04:01:33] *** patrickc_ has quit IRC
[04:02:13] *** devx101 has quit IRC
[04:02:18] *** gnar_mat_ has joined #angularjs
[04:03:05] *** aviraldg has quit IRC
[04:03:06] <wafflejock_> jeffszusz: I think for the part you want it to show when the ng-include template doesn't match a known url might need to be done separately using ng-if or ng-show or ng-hide
[04:03:16] *** ajk27 has quit IRC
[04:03:23] <wafflejock_> not sure about the exact behavior there though
[04:03:52] *** danielpquinn has quit IRC
[04:03:57] *** gnar_matix has quit IRC
[04:04:31] *** darrin has quit IRC
[04:04:57] <jeffszusz> ok
[04:04:59] <wafflejock_> lenswipe: nope haven't seen it before, used ngdoc but it was a pain
[04:05:14] *** kroogs has quit IRC
[04:05:48] *** zelrik_ has joined #angularjs
[04:06:12] *** Reskp has quit IRC
[04:06:20] *** zelrik has quit IRC
[04:06:30] *** zelrik_ is now known as zelrik
[04:06:35] *** zelrik has joined #angularjs
[04:07:07] *** rkalfane has quit IRC
[04:07:35] *** raibutera has quit IRC
[04:07:43] *** daivyk has quit IRC
[04:07:45] *** bayousoft has quit IRC
[04:07:50] *** cigarshark has quit IRC
[04:08:18] *** rkalfane has joined #angularjs
[04:09:44] <zelrik> caitp, come on you got so many stars
[04:09:50] <zelrik> :o
[04:10:11] *** fedenunez has quit IRC
[04:11:33] *** mercwithamouth has quit IRC
[04:11:41] *** niix has quit IRC
[04:11:45] *** ajk27 has joined #angularjs
[04:11:48] *** nj47 has joined #angularjs
[04:12:15] *** dccc has joined #angularjs
[04:13:40] *** mercwithamouth has joined #angularjs
[04:14:32] *** vintik has quit IRC
[04:14:58] *** bmac has quit IRC
[04:15:32] *** tk has quit IRC
[04:16:18] *** bmac has joined #angularjs
[04:17:20] *** absk007 has quit IRC
[04:17:37] *** Milanito has joined #angularjs
[04:17:56] *** mspier_off has quit IRC
[04:18:34] *** Yancy has quit IRC
[04:18:44] *** Yancy has joined #angularjs
[04:19:08] *** apetro_ has joined #angularjs
[04:19:37] *** jstroem has joined #angularjs
[04:20:53] *** aviraldg has joined #angularjs
[04:21:34] *** drej has joined #angularjs
[04:21:40] *** bicranial has quit IRC
[04:23:11] *** bicranial has joined #angularjs
[04:24:03] *** lw has quit IRC
[04:24:16] *** acconrad has quit IRC
[04:24:21] *** jstroem has quit IRC
[04:25:20] *** dccc has quit IRC
[04:25:43] *** carbajal has quit IRC
[04:26:03] *** ajk27 has quit IRC
[04:26:06] *** mtho11 has joined #angularjs
[04:27:00] *** DrMabuse has joined #angularjs
[04:27:16] *** ajk27 has joined #angularjs
[04:27:27] *** mspier_off has joined #angularjs
[04:27:44] *** mspier_off is now known as mspier
[04:28:06] *** Hackwar1 has joined #angularjs
[04:28:21] *** Yahkob has joined #angularjs
[04:28:23] *** dziewanow has joined #angularjs
[04:28:56] *** patrickarlt has joined #angularjs
[04:28:57] *** gh_hutr has quit IRC
[04:29:09] *** Ymesio has quit IRC
[04:29:59] *** Hackwar has quit IRC
[04:31:49] *** DrMabuse has quit IRC
[04:32:09] *** davesidious_ has joined #angularjs
[04:32:10] *** patrickarlt has quit IRC
[04:33:14] *** patrickarlt has joined #angularjs
[04:33:17] *** davesidious has quit IRC
[04:34:34] *** mercwithamouth has quit IRC
[04:34:45] *** brianturgeon has joined #angularjs
[04:35:45] *** mercwithamouth has joined #angularjs
[04:36:59] *** gh_hutr has joined #angularjs
[04:38:21] *** devx101 has joined #angularjs
[04:39:05] <jeffszusz> hm is there a way to grab arbitrary form inputs in an angular template and pass them to my controller?
[04:39:49] <jeffszusz> without knowing ahead of time which inputs there'll be
[04:40:52] <wafflejock_> jeffszusz: not really typically you drive the view from the model not the opposite, so grabbing things from the view isn't usually the way to go but you can create a model object or array that has various elements in it that drive which form elements are shown
[04:41:54] *** dccc has joined #angularjs
[04:42:13] *** AWAW has joined #angularjs
[04:42:53] <wafflejock_> jeffszusz: you could also use a directive that works with the ngModelController and you assign to each of the inputs having them dump their updated info into some other object (like in a service or factory) and pull that data from the perspective of the controller, but generally I try to think in terms of how I can craft the model so the view is driven by the model rather than trying to get information back from the view
[04:44:28] *** mdedetrich has joined #angularjs
[04:45:32] *** DoubleAW has quit IRC
[04:46:03] *** mercwithamouth has quit IRC
[04:46:46] <wafflejock_> jeffszusz: in the case where I wanted to do something similar where I switched out the template based on some properties of an incoming object that specified what type of input this should be along with other properties (like the options for a multi-choice selection), then I stored the answer chosen by the user on the object passed in... this way I can describe a form as an array of elements with certain types specified and I
[04:46:46] <wafflejock_> get all the answers by iterating over the array that was used to describe the form itself
[04:47:47] *** mercwithamouth has joined #angularjs
[04:48:21] <wafflejock_> jeffszusz: there's a few projects around if you search for angular form builder too though I haven't really fiddled with any of those myself
[04:48:22] *** acconrad has joined #angularjs
[04:48:46] *** tacoshellmcgee has joined #angularjs
[04:48:50] *** tacoshellmcgee has left #angularjs
[04:50:39] *** oa_ has quit IRC
[04:53:00] *** nemothekid has quit IRC
[04:53:12] *** dman777_alter has quit IRC
[04:53:20] *** tk has joined #angularjs
[04:53:23] *** lenswipe has quit IRC
[04:53:37] *** oa_ has joined #angularjs
[04:55:17] *** dccc has quit IRC
[04:55:19] *** nemothekid has joined #angularjs
[04:55:42] *** dbouwman has joined #angularjs
[04:56:05] <wafflejock_> idvb: di you try that out seems like it should work?
[04:56:08] <wafflejock_> did*
[04:56:31] <idvb> {'width': (device.status | percentage)} worked
[04:56:35] <idvb> :)
[04:56:43] <wafflejock_> right says it takes an expression, good to know thx
[04:57:08] *** zumba_addict has quit IRC
[04:57:45] *** patrickarlt has quit IRC
[04:58:06] *** angularfisher has joined #angularjs
[04:59:01] <angularfisher> npm install failed with angular-phonecat
[04:59:11] <angularfisher> on windows 7
[04:59:24] *** moritzschaefer has quit IRC
[04:59:40] <angularfisher> ENORESTARGET No tag found that was able to satisfy ~3.1.1
[05:00:05] *** danielpquinn has joined #angularjs
[05:00:21] *** dbouwman has quit IRC
[05:00:23] <angularfisher> any thoughts?
[05:00:35] *** kroogs has joined #angularjs
[05:00:37] <wafflejock_> angularfisher: any more info about what it was trying to find a version 3.1.1 for?
[05:00:47] <wafflejock_> like which npm module
[05:01:11] <angularfisher> bower
[05:01:29] *** RyanHirsch has quit IRC
[05:01:57] *** Reskp has joined #angularjs
[05:02:07] <angularfisher> I was following the tutorial at https://docs.angularjs.org/tutorial
[05:02:19] <wafflejock_> sure it wasn't for bootstrap or something... trying to grab the repo right now to see for myself
[05:02:28] <wafflejock_> looks like bower is only at version 1.3.7 right now
[05:02:32] <wafflejock_> https://www.npmjs.org/package/bower
[05:03:16] *** drej has quit IRC
[05:03:47] *** encryptd_fractl has joined #angularjs
[05:03:48] <angularfisher> Trying npm install bower
[05:04:07] <angularfisher> completed no error
[05:04:10] <wafflejock_> angularfisher: yeah dunno maybe a hiccup with npm or something
[05:04:14] <wafflejock_> try another npm install
[05:04:33] *** danielpquinn has quit IRC
[05:04:45] <angularfisher> tried npm install . Still getting error.
[05:04:45] <wafflejock_> sometimes I've had to run npm install a few times if there's some network wonkiness going on with the npm repos or whatever
[05:04:57] <wafflejock_> weird I just got a fresh copy and tried here and it worked
[05:05:27] <angularfisher> you ran it on node.js prompt?
[05:05:32] <angularfisher> or git bash?
[05:05:40] <wafflejock_> just bash but I'm in Linux
[05:05:55] *** kroogs has quit IRC
[05:06:09] <angularfisher> I suspect it's windows 7 related
[05:06:33] *** Reskp has quit IRC
[05:06:58] <wafflejock_> it may be I had some troubles getting node itself setup in Windows and have basically just been running Linux since then since I typically deploy to Linux servers anyway it makes my test/build environment closer to the deploy environment
[05:07:17] <wafflejock_> just have windows in a VM now for when I need windows things
[05:07:39] <angularfisher> It looks like it's time for me to turn on my ubuntu.
[05:07:41] <wafflejock_> (* and dual boot on my desktop for gaming)
[05:07:59] <angularfisher> Have not turned it on for 3 years.
[05:08:02] *** gnar_mat_ has quit IRC
[05:08:09] <angularfisher> I'll give it a try.
[05:08:16] <angularfisher> Thanks for your help!
[05:08:31] <wafflejock_> haha well you're going to have a few hours of updates ahead of you then... you might just want to install a new copy in a VBox, I did instructions on this too if you need them
[05:09:02] <wafflejock_> angularfisher: here's the vid if all else fails https://www.youtube.com/watch?v=zQNbsCTFrAA
[05:09:14] <angularfisher> Thanks for the info!
[05:09:18] <wafflejock_> yup np
[05:10:00] *** Mr_Grim has joined #angularjs
[05:10:16] *** seydoggy has quit IRC
[05:10:51] *** seydoggy has joined #angularjs
[05:10:59] *** jstimm has joined #angularjs
[05:11:00] <Mr_Grim> hey guys, trying to get started with angularJS locally without a web server. My workplace does not allow me to install much software to building an agular app locally without a web server would be a big plus for me. I tried chrome --allow-file-access-from-files --disable-web-security and still nothing is working. any ideas why?
[05:11:09] <Mr_Grim> i still get cross scripting errors
[05:11:20] <Mr_Grim> this is when i try and load my template files
[05:11:26] *** dccc has joined #angularjs
[05:11:36] *** enxtur has joined #angularjs
[05:11:47] *** angularfisher has quit IRC
[05:11:50] *** gnar_mat_ has joined #angularjs
[05:11:58] *** wilmoore has joined #angularjs
[05:12:06] *** zumba_ad_ has joined #angularjs
[05:12:37] <zumba_ad_> i heard 2 got released. What is our upgrade path if we are on 1.2.16?
[05:12:45] *** crocket has joined #angularjs
[05:13:12] <crocket> How do I make browser.manage().window().setSize(width, height) wait for its completion in onPrepare?
[05:13:16] <crocket> Does anyone use protractor?
[05:13:42] <wafflejock_> zumba_ad_: I found a draft version the other day but I'm sure something like this will be released https://docs.angularjs.org/guide/migration
[05:13:54] <zumba_ad_> cool
[05:13:57] <zumba_ad_> hey glad to see you :)
[05:14:02] <wafflejock_> zumba_ad_: you too hope yer well
[05:14:17] <zumba_ad_> doing great
[05:15:05] *** seydoggy has quit IRC
[05:16:05] *** gnar_mat_ has quit IRC
[05:17:19] *** apetro_ has quit IRC
[05:17:25] *** jstimm has quit IRC
[05:19:46] *** nj47 has quit IRC
[05:20:22] *** jstroem has joined #angularjs
[05:20:27] *** anjumkaiser has joined #angularjs
[05:20:29] *** atomical has quit IRC
[05:20:29] *** dccc has quit IRC
[05:20:45] *** lw has joined #angularjs
[05:21:12] *** chrislerum has joined #angularjs
[05:21:16] *** jsoverson has joined #angularjs
[05:24:08] *** mikehaas763 has joined #angularjs
[05:24:18] *** shinnya has quit IRC
[05:24:56] *** jstroem has quit IRC
[05:26:25] *** JoshGlzBrk has joined #angularjs
[05:27:43] *** Siecje has quit IRC
[05:27:47] *** DrMabuse has joined #angularjs
[05:28:04] *** kennbrodhagen has joined #angularjs
[05:28:44] *** RyanHirsch has joined #angularjs
[05:29:22] *** lw has quit IRC
[05:30:37] *** devx101 has quit IRC
[05:31:20] *** devx101 has joined #angularjs
[05:32:04] *** DrMabuse has quit IRC
[05:32:05] *** phuh has joined #angularjs
[05:32:06] *** viscera has joined #angularjs
[05:32:10] *** encryptd_fractl has quit IRC
[05:32:22] *** phuh has quit IRC
[05:32:41] *** kennbrodhagen has quit IRC
[05:33:40] *** hswolff has quit IRC
[05:33:50] <mikehaas763> Why is it that the require property of a directive isn't enforced unless there is a link function on the requiring directive?
[05:34:04] *** visceral has quit IRC
[05:34:11] *** encryptd_fractl has joined #angularjs
[05:34:14] *** mercwithamouth has quit IRC
[05:34:20] *** aviraldg has quit IRC
[05:34:34] *** mercwithamouth has joined #angularjs
[05:35:34] *** devx101 has quit IRC
[05:36:33] *** visceral has joined #angularjs
[05:36:44] *** ustunozgur has joined #angularjs
[05:36:59] *** VinceZa has quit IRC
[05:37:09] *** dccc has joined #angularjs
[05:37:29] *** jsoverson has quit IRC
[05:39:32] *** viscera has quit IRC
[05:39:48] *** jsoverson has joined #angularjs
[05:40:19] *** ojacobson has joined #angularjs
[05:40:19] *** nemothekid has quit IRC
[05:40:20] *** jstimm has joined #angularjs
[05:40:42] *** chrisshattuck has joined #angularjs
[05:41:03] *** vf1 has joined #angularjs
[05:41:15] *** jsoverson has quit IRC
[05:41:24] *** ustunozgur has quit IRC
[05:41:30] *** jdj_dk has joined #angularjs
[05:42:02] *** nemothekid has joined #angularjs
[05:42:13] *** gauravsaini03 has joined #angularjs
[05:42:23] *** vf1 has quit IRC
[05:42:45] *** anjumkaiser has quit IRC
[05:46:28] *** jdj_dk has quit IRC
[05:46:34] *** anton000 has joined #angularjs
[05:46:43] *** encryptd_fractl has quit IRC
[05:47:09] *** dccc has quit IRC
[05:47:12] *** encryptd_fractl has joined #angularjs
[05:47:13] *** anton000 has left #angularjs
[05:47:49] *** rmichnik has quit IRC
[05:48:02] *** vintik has joined #angularjs
[05:48:28] *** steffengy has quit IRC
[05:48:28] *** steffengy1 has joined #angularjs
[05:50:17] *** nemothekid has quit IRC
[05:51:21] *** mange has quit IRC
[05:51:47] *** tylerjohnst has quit IRC
[05:52:58] *** alt_qq has joined #angularjs
[05:54:33] *** bmac has quit IRC
[05:54:41] *** alt_qq has quit IRC
[05:55:38] *** dbouwman has joined #angularjs
[05:55:54] *** drej has joined #angularjs
[05:55:54] *** mercwithamouth has quit IRC
[05:56:48] *** mercwithamouth has joined #angularjs
[05:57:46] *** bmac has joined #angularjs
[05:58:57] <Jdubs> hey guys, is there a way to make a new element when the value the item is based on changes?
[05:59:18] *** blueadept has joined #angularjs
[05:59:25] <Jdubs> for instance, i have a div that has an object that it shows the values of, but if I change what item is selected to show, i want it to make a new div with all new information so the old one can animate off and the new one animate on
[05:59:29] *** benjf_ is now known as benjf
[06:00:21] *** rchavik has joined #angularjs
[06:00:35] *** dbouwman has quit IRC
[06:00:39] *** blueadept has quit IRC
[06:00:46] *** FarLight has joined #angularjs
[06:00:48] *** kroogs has joined #angularjs
[06:00:50] <FarLight> Hello
[06:00:50] *** danielpquinn has joined #angularjs
[06:00:58] *** blueadept has joined #angularjs
[06:01:00] *** oa_ has quit IRC
[06:01:32] *** Ethix has quit IRC
[06:01:37] <FarLight> Doesn't angularjs violate the concept of progressive enhancement?
[06:01:47] <wafflejock_> Jdubs: are you using ui-router?
[06:01:56] *** bicranial has quit IRC
[06:01:56] <Jdubs> wafflejock_: no
[06:02:09] *** bmac has quit IRC
[06:02:38] <sacho_> FarLight, not necessarily.
[06:02:46] *** Reskp has joined #angularjs
[06:02:48] <Jdubs> the only way i can think of is to make it an ng-repeat and only ever have one item in it, and remove the old and push the new when i change the viewed object
[06:02:50] <Jdubs> what do you think
[06:02:52] <Jdubs> ?
[06:03:00] <wafflejock_> FarLight: sort of it is meant for evergreen browsers and assumes you have javascript enabled, you could still provide noscript blocks I suppose
[06:03:17] <wafflejock_> Jdubs: sounds like it could work
[06:03:19] *** dccc has joined #angularjs
[06:03:29] <FarLight> But that would sort of defeat the point of using angular js in the first place
[06:03:36] <FarLight> I want to use angularjs but I can't get past this point
[06:04:00] <sacho_> what?
[06:04:06] <wafflejock_> FarLight: not really the point of using AngularJS is to help with code organization and re-use and to give you bindings, an event bus, and the ability to write directives
[06:04:25] <wafflejock_> FarLight: it's looking more to the future of the web than supporting the past
[06:04:38] <ckboii89> hey guys how would i pass data from the a modal form into another controller that has a array of data?
[06:04:58] <sacho_> FarLight, what exactly is stopping you from having progressive enhancement while using angular
[06:05:03] <FarLight> wafflejock_: I thought in angularjs you create the view purely through javascript
[06:05:09] <ckboii89> the modal form code im using is from the angular ui bootsrap
[06:05:16] <wafflejock_> FarLight: future spec for JS ECMA 6 is in part based on giving you the ability to create web components which are similar to directives
[06:05:18] <wafflejock_> FarLight: nope
[06:05:19] <sacho_> (which is a fairly stupid need to have right now)
[06:05:22] *** bicranial has joined #angularjs
[06:05:23] *** danielpquinn has quit IRC
[06:05:39] <wafflejock_> FarLight: you still write your HTML for the views and use JS to drive the controllers and respond to user input
[06:05:40] <FarLight> sacho_: I thought the reason was an unusable system for those with js disabled
[06:05:45] *** kroogs has quit IRC
[06:06:04] <wafflejock_> FarLight: the idea with directives is to allow you to extend the markup and add new behaviors to things by using those directives in the HTML
[06:06:14] <sacho_> like I said, nothing is stopping you from designing your system to be used by those with js disabled
[06:06:14] *** oa_ has joined #angularjs
[06:06:17] <sacho_> and also using angular
[06:06:27] <sacho_> it'd be silly, but you could do it
[06:07:04] <sacho_> but if you're looking to appeal to minorities, I'd start with focusing on accessibility instead of no-javascript.
[06:07:20] *** Reskp has quit IRC
[06:07:25] *** earthquake has joined #angularjs
[06:07:34] <FarLight> Accessibility is a high focus of mine of course
[06:07:54] <wafflejock_> ckboii89: typically if you want to share data between controllers you want to use a service or factory, you could use angular.value("SharedObj", {}); and inject that SharedObj in both controllers if you don't need any other functionality to go with it
[06:08:06] *** WeiJunLi has quit IRC
[06:09:19] <ckboii89> wafflejock
[06:09:39] <ckboii89> does that get passed in the parameters of the controllers?
[06:09:44] <wafflejock_> ckboii89: yup
[06:09:45] *** Aerospark has joined #angularjs
[06:10:00] <wafflejock_> sorry shouldn't have been angular.value
[06:10:08] <wafflejock_> should have been myApp.value("SharedObj",{})
[06:10:13] <wafflejock_> where myApp is an angular module
[06:10:49] <wafflejock_> ckboii89: for details on the various ways of defining providers that can be injected see this doc https://docs.angularjs.org/guide/providers
[06:11:10] *** enxtur has quit IRC
[06:12:21] *** dccc has quit IRC
[06:12:40] <wafflejock_> FarLight: you can keep things backwards compatible to IE8 I think by using the data- prefix on attributes/directives and/or by using the class property to specify which directive should be used
[06:12:55] *** Milanito has quit IRC
[06:12:56] *** Shrooms has joined #angularjs
[06:12:58] *** mindlace has quit IRC
[06:13:01] <wafflejock_> FarLight: here's the docs on backwards compatibility https://docs.angularjs.org/guide/ie
[06:13:26] *** mange has joined #angularjs
[06:13:33] <FarLight> thank you wafflejock_
[06:13:44] <wafflejock_> FarLight: np
[06:14:07] <ckboii89> wafflejock_ why is it that i have to provide the sharedobject into the app?
[06:14:26] *** enxtur has joined #angularjs
[06:14:55] <wafflejock_> ckboii89: well you're just defining what the initial value for the "SharedObj" should be with the .value syntax I just chose this name it can be called whatever you want and you can have many of them if need be
[06:15:54] <wafflejock_> ckboii89: typically I have a service that does some things with an API and also has a property like "data" that I store the current dataset on got an example of code I typically use (with edits based on comment from Mark Rajcok) http://stackoverflow.com/questions/17667455/angular-http-vs-service-vs-ngresource
[06:16:57] <wafflejock_> that code has some extra bits for storing a flag for if the data has been loaded and allowing someone to call on the service to refresh the data even if it's cached but the main point for what we're talking about is just the data property on the service
[06:17:51] <wafflejock_> ckboii89: if you just need a data object though and no interactivity really then you can just use .value syntax to define a new injectable object (could be an array or object and could have initial values if you want)
[06:18:05] *** dualmoon has joined #angularjs
[06:18:39] <dualmoon> hey all. could anyone glance at http://korova-tompon.codio.io:3000/generate and let me know if you can pinpoint where i've failed to get angular to bind the green radio toggle at the bottom?
[06:19:15] <wafflejock_> dualmoon: looks like minified code?
[06:19:33] <wafflejock_> er am I seeing something wrong when I view source?
[06:19:46] <dualmoon> eh yeah i guess it is. i just use dev tools so often i forget about it
[06:19:48] <dualmoon> one moment
[06:20:02] *** harvey203 has joined #angularjs
[06:20:35] <dualmoon> http://pastie.org/9362664
[06:21:06] *** jstroem has joined #angularjs
[06:21:21] <ckboii89> wafflejock_ where would i define the module.value in? in the js file where my modal and data are?
[06:21:54] <wafflejock_> ckboii89: really anywhere after you define your main module you can define the angular.value, it would be at the same "level" as where you define any angular.controller or angular.service
[06:22:28] <wafflejock_> er replace angular. with myapp. in those examples sorry common error I make when talking about them in chat
[06:22:36] <sacho_> dualmoon, how are you updating the checkbox
[06:22:43] <sacho_> I mean radio button.
[06:22:45] *** nemothekid has joined #angularjs
[06:23:03] <caitp> dualmoon, why are you making people debug your app with minified scripts?
[06:23:05] *** Aliks has joined #angularjs
[06:23:05] <caitp> don't do that yo
[06:23:11] *** DerekPerkins has quit IRC
[06:23:24] <dualmoon> caitp: that's why i gave a link to beautified code :P
[06:23:35] <ckboii89> the modal code i'm using has no real controller... its just has 2 modal functions, one for the service and instance
[06:23:38] <caitp> that code isn't running
[06:23:40] <caitp> and can't be debugge
[06:23:41] <caitp> d
[06:24:06] *** gh_hutr has quit IRC
[06:24:43] *** subnl2 has joined #angularjs
[06:24:59] <sacho_> dualmoon, it doesn't seem like you're actually updating the radio buttons at all.
[06:25:07] *** fg3 has joined #angularjs
[06:25:08] <caitp> i only see one radio button being linked
[06:25:20] <fg3> How can I emulate a resolve in a factory
[06:25:23] <caitp> but that isn't really meaningful since debugging with sourcemaps === horseshit
[06:25:27] <caitp> and doesn't really tell you anything
[06:25:32] <ckboii89> wafflejock_ http://angular-ui.github.io/bootstrap/, its under the modal i took the js from
[06:26:03] <dualmoon> sacho_: they aren't doing anything special, they're just supposed to be linked to an object through ng-model like the other inputs which all work okay
[06:26:08] *** jstroem has quit IRC
[06:26:21] <sacho_> dualmoon, that's nice, but clicking labels doesn't mean you're clicking the radio buttons.
[06:26:28] *** phuh has joined #angularjs
[06:26:56] <dualmoon> sacho_: right but the radio buttons are inside the labels, which links them automatically. you can either use for="" or just put the inputs inside
[06:27:04] <wafflejock_> ckboii89: can you show what you're working on in a plunkr you can link from the ui-bootstrap page to get a base plunkr to start with then just add the bits your trying to do up to the point where you can show what you want to do but isn't working and I can try to push you over the line where it works
[06:27:09] *** Aliks has quit IRC
[06:27:19] <ckboii89> okay sounds good!
[06:27:21] *** chrislerum has quit IRC
[06:27:35] <sacho_> ah ok, they are checked.
[06:27:57] <dualmoon> sacho_: yeah that's the weird thing. they seem to be functioning fine just not binding properly and i'm at a loss as to why
[06:28:25] *** mercwithamouth has quit IRC
[06:28:32] *** DrMabuse has joined #angularjs
[06:28:45] *** mercwithamouth has joined #angularjs
[06:28:54] *** raul782 has joined #angularjs
[06:29:06] *** dccc has joined #angularjs
[06:29:15] <sacho_> maybe they're in a different scope.
[06:29:56] *** webster has quit IRC
[06:31:03] <wafflejock_> appears there are only two scopes in the page based on ng-inspector and Batarang there is $rootScope and the scope 003 that has the setup object on it, but don't seem to see the updates in either of those plugins
[06:32:49] *** webster has joined #angularjs
[06:33:02] <wafflejock_> dualmoon: ah you're using bootstrap.min.js directly you probabl want ui-bootstrap instead or to use ng-class or other directives instead of trying to use the bootstrap.js or anything else that uses jQuery to do DOM manipulations outside of directives
[06:33:21] *** zanea is now known as zanea|away
[06:33:35] *** DrMabuse has quit IRC
[06:34:22] <dualmoon> wafflejock_: ok got it, will make that change now
[06:35:09] <sacho_> err
[06:35:20] <sacho_> is it bootstrap that's setting the radio buttons?
[06:35:35] *** jdj_dk has joined #angularjs
[06:35:47] *** KamalKaur has joined #angularjs
[06:37:35] <wafflejock_> not sure but I know bootstrap.js isn't going to the way to go with angular since it does jQuery things, the angularStrap project was based on just wrapping those things up and eventually went through a re-write to remove jQuery and ui-bootstrap took the approach of just rewriting from the start, but both have gaps here or there in their support for things from the original library of components
[06:37:46] *** subnl2 has left #angularjs
[06:38:10] <sacho_> I don't think that's the problem
[06:38:21] <wafflejock_> nothing huge for me though and was able to just write directives to do things I needed like tooltips with compiled html in them
[06:38:23] *** dccc has quit IRC
[06:38:24] <sacho_> angular.element('#selectPOP3').scope().$apply(function (scope) { scope.serverType = "pop"; }) -> still doesn't update the serverType :|
[06:38:26] <wafflejock_> sacho_: might not be but it will be a problem
[06:38:27] *** Jdubs has quit IRC
[06:38:57] <sacho_> err...that should have been setup.
[06:38:58] * sacho_ facepalms.
[06:39:16] <caitp> it's not in scope yeah
[06:39:17] *** rmichnik has joined #angularjs
[06:39:23] *** mennea has joined #angularjs
[06:40:21] *** jdj_dk has quit IRC
[06:40:45] *** noobee_ has quit IRC
[06:41:26] *** nemothekid has quit IRC
[06:42:11] *** zanea|away is now known as zanea
[06:42:25] *** jamesshijie has joined #angularjs
[06:42:53] *** vf1 has joined #angularjs
[06:43:25] *** dcherman has joined #angularjs
[06:43:32] *** drej has quit IRC
[06:44:59] *** DrMabuse has joined #angularjs
[06:45:43] *** mehlah has quit IRC
[06:47:13] *** Jdubs has joined #angularjs
[06:47:36] <dualmoon> wafflejock_: yeah it was a bootstrap conflict. thanks so much. i knew there had to be something i just didn't know about yet
[06:47:53] <wafflejock_> dualmoon: np
[06:48:06] <dualmoon> for anyone interested: http://plnkr.co/edit/R9VqkuE0q2DsLKSLIyEg?p=preview is the updated results
[06:48:20] *** wilmoore has quit IRC
[06:48:47] <sacho_> weird
[06:49:03] *** nemothekid has joined #angularjs
[06:49:25] *** DrMabuse has quit IRC
[06:49:29] <sacho_> why the ''s around btn-radio's values?
[06:50:56] <dualmoon> sacho_: honestly not sure, that's what the ui-bootstrap page said to do. i assume it interprets the contents as a literal javascript value?
[06:51:02] *** Jdubs has quit IRC
[06:51:09] <wafflejock_> yeah usually that means it expects an expression there
[06:51:23] <sacho_> ah ok
[06:51:27] <dualmoon> sacho_: yeah if you take out the single ticks and put in 1+1 it just evals to 2
[06:51:29] <wafflejock_> they used @ in the directive for that scope attribute so it would evaluate the contents as an expression so if you just want a string you need the extra ''
[06:51:53] <wafflejock_> I'm guessing
[06:51:58] <sacho_> @ doesn't evaluate the attribute as an expression
[06:52:08] <sacho_> but yeah, they're probably evaluating it as an expression :P
[06:52:21] <wafflejock_> thought it did?
[06:53:15] *** wilmoore has joined #angularjs
[06:53:21] <wafflejock_> hmm well apparently they don't have it specified on the scope at all https://github.com/angular-ui/bootstrap/blob/master/src/buttons/buttons.js#L31
[06:53:24] *** mercwithamouth has quit IRC
[06:53:24] *** massi_syed has joined #angularjs
[06:54:46] *** FarLight has quit IRC
[06:54:46] *** FarLight has joined #angularjs
[06:54:58] *** sigurding has joined #angularjs
[06:55:02] *** dccc has joined #angularjs
[06:55:02] *** dziewanow has quit IRC
[06:55:16] *** rodyhaddad has quit IRC
[06:56:20] <sacho_> scope.$eval(attrs.btnRadio)
[06:56:34] <wafflejock_> right that's what I was pointing to in the lin
[06:56:36] <wafflejock_> link*
[06:56:42] *** dbouwman has joined #angularjs
[06:56:54] <wafflejock_> but check out the docs explanation of @, @ or @attr - bind a local scope property to the value of DOM attribute. The result is always a string since DOM attributes are strings. If no attr name is specified then the attribute name is assumed to be the same as the local name. Given <widget my-attr="hello {{name}}"> and widget definition of scope: { localName:'@myAttr' }, then widget scope property localName will reflect the
[06:56:54] <wafflejock_> interpolated value of hello {{name}}. As the name attribute changes so will the localName property on the widget scope. The name is read from the parent scope (not component scope).
[06:57:00] <wafflejock_> https://docs.angularjs.org/api/ng/service/$compile
[06:57:04] <sacho_> yeah?
[06:57:30] <wafflejock_> ah right okay so it's just evaluating the interpolation in the string I guess
[06:57:51] *** QuantumNinja has joined #angularjs
[06:57:59] *** paxman has joined #angularjs
[06:58:44] *** ojacobson has quit IRC
[07:00:19] *** kroogs has joined #angularjs
[07:00:31] *** vf1 has quit IRC
[07:00:57] *** idvb has quit IRC
[07:01:11] *** dbouwman has quit IRC
[07:01:12] *** dccc has quit IRC
[07:01:34] *** danielpquinn has joined #angularjs
[07:03:28] *** Reskp has joined #angularjs
[07:04:53] *** kroogs has quit IRC
[07:05:12] *** ryanseddon has joined #angularjs
[07:05:28] *** hugoleodev has joined #angularjs
[07:06:04] *** danielpquinn has quit IRC
[07:06:46] *** vf1 has joined #angularjs
[07:08:04] *** Reskp has quit IRC
[07:08:05] <morenoh149> why does running the commented lines break my app? https://gist.github.com/44ca2995befb69f29d60
[07:08:23] <morenoh149> can you not run a function defined in a controller like that?
[07:08:42] *** asdofindia has quit IRC
[07:11:00] *** benjf has quit IRC
[07:11:46] *** seydoggy has joined #angularjs
[07:13:26] *** Yahkob has quit IRC
[07:14:06] *** partikus has joined #angularjs
[07:14:21] *** ilovemusic1978 is now known as Mrgoose
[07:14:59] <QuantumNinja> Anyone have any experience setting up prerender.io
[07:15:32] <wafflejock_> morenoh149: not sure which function your referencing
[07:15:37] *** DrMabuse has joined #angularjs
[07:15:49] <morenoh149> wafflejock_: line 3
[07:15:58] <morenoh149> if I uncomment that my app breaks
[07:16:05] *** seydoggy has quit IRC
[07:16:05] *** caitp has quit IRC
[07:16:17] <morenoh149> also should I define a global user var if there's only every one user?
[07:16:22] <FarLight> if you duplicate the line maybe it'll be twice as stable :D
[07:16:42] <wafflejock_> morenoh149: think you want to move the line below the defintion of the function on the scope property
[07:16:55] <wafflejock_> morenoh149: getting the error from the console would help too though
[07:16:59] <FarLight> thanks for the help guys, bye bye
[07:17:04] *** FarLight has left #angularjs
[07:17:05] <wafflejock_> FarLight: later
[07:17:22] *** encryptd_fractl has quit IRC
[07:17:27] *** chrisbirk has joined #angularjs
[07:17:31] *** dccc has joined #angularjs
[07:18:11] <morenoh149> wafflejock_: interesting it worked. But I though js was async so calling it at the top wouldn't matter?
[07:18:15] <wafflejock_> morenoh149: you can use angular.module("myApp",[]).value("SomeSharedObj", {}); To define "SomeSharedObj" that can be injected in controllers or services wherever you need the data
[07:18:24] <wafflejock_> morenoh149: JS itself evaluates line by line
[07:18:26] *** mschoening has joined #angularjs
[07:18:44] <wafflejock_> so if it doesn't have that function defined as a property of the scope object yet then it can't call the function
[07:19:20] *** chrisbirk has quit IRC
[07:20:49] *** DrMabuse has quit IRC
[07:21:35] *** chrisbirk has joined #angularjs
[07:21:51] *** jstroem has joined #angularjs
[07:22:02] *** Jdubs has joined #angularjs
[07:23:07] <wafflejock_> there are lots of things that are done async in javascript like AJAX where we use $http in angular but JS functions are run in a procedural fashion in general
[07:23:36] *** TheAceOfHearts has quit IRC
[07:24:26] <morenoh149> wafflejock_: so for the 3rd line. After getting the user images I would like to set a variable equal to the first. I should do that assignment using a promise? so then $scope.loadUserImages should use Q?
[07:24:52] <wafflejock_> morenoh149: yup sounds right
[07:25:12] *** boptop has joined #angularjs
[07:25:13] *** Jdubs has quit IRC
[07:25:40] <wafflejock_> if you have some async thing going on and need to know when the result comes back you want to return a promise so you know when it's done, sometimes you can just return the promise from the $http call in other cases you want to make your own using $q.defer and resolving/reject it when appropriate
[07:26:04] *** dccc has quit IRC
[07:26:42] *** partikus has quit IRC
[07:26:42] *** jstroem has quit IRC
[07:28:59] *** kennbrodhagen has joined #angularjs
[07:29:31] *** partikus has joined #angularjs
[07:29:34] <wafflejock_> bbiab
[07:29:42] *** jdj_dk has joined #angularjs
[07:29:48] *** m____s has joined #angularjs
[07:30:08] *** mven_ has joined #angularjs
[07:30:59] *** partikus has quit IRC
[07:32:03] *** chrisbirk has quit IRC
[07:33:40] *** dc_ has quit IRC
[07:34:07] *** kennbrodhagen has quit IRC
[07:34:21] *** boptop has quit IRC
[07:34:28] <morenoh149> so $scope.loadUserImages = $q.defer() ?
[07:34:32] *** Aerospark has quit IRC
[07:34:47] *** jdj_dk has quit IRC
[07:36:05] *** wafflejock_ has quit IRC
[07:37:18] *** dc_ has joined #angularjs
[07:38:25] *** wafflejock_ has joined #angularjs
[07:38:28] <sacho_> most likely not
[07:38:48] *** phuh has quit IRC
[07:39:19] <wafflejock_> sacho_: you talking to morenoh149? had to reboot
[07:39:33] <sacho_> <morenoh149> so $scope.loadUserImages = $q.defer() ?
[07:39:52] * sacho_ wasn't really following the conversation
[07:40:06] <wafflejock_> ah yeah, you'll want to just create a deferred var in the loadUserImages function and return the promise from that deferred
[07:40:27] *** caitp has joined #angularjs
[07:40:46] *** tonini_ is now known as tonini
[07:40:50] *** m____s has quit IRC
[07:40:52] <wafflejock_> morenoh149: in the code in the answer here I setup a deferred and return the promise and show how you would reject or resolve it which will call the corresponding success or error function http://stackoverflow.com/questions/17667455/angular-http-vs-service-vs-ngresource
[07:42:33] *** chrisshattuck has quit IRC
[07:42:50] *** dccc has joined #angularjs
[07:43:01] *** cdnicoll has quit IRC
[07:44:13] *** cisox has joined #angularjs
[07:45:40] *** jshultz has quit IRC
[07:47:04] *** rburns has joined #angularjs
[07:48:05] *** caitp has quit IRC
[07:49:21] *** mdedetrich has quit IRC
[07:49:26] <morenoh149> I attempted to do what the answer suggested https://gist.github.com/morenoh149/44ca2995befb69f29d60 it's not compiling
[07:49:46] *** Ram_ has joined #angularjs
[07:51:37] <morenoh149> ah nvm line 14 shouldn't have parens
[07:51:49] *** dccc has quit IRC
[07:51:52] *** Jon30 has quit IRC
[07:52:17] *** dc_ has quit IRC
[07:53:10] *** JoshGlzBrk has quit IRC
[07:53:13] *** blueadept has quit IRC
[07:53:34] *** josh-k has joined #angularjs
[07:54:43] *** DrMabuse has joined #angularjs
[07:56:59] *** rburns has quit IRC
[07:57:04] *** mschoening has quit IRC
[07:57:12] *** josh-k_ has quit IRC
[07:57:18] *** jamesshijie has quit IRC
[07:57:18] *** dbouwman has joined #angularjs
[07:57:20] *** tomzx is now known as tomzx`afk
[07:57:35] *** zumba_ad_ has quit IRC
[07:57:45] *** jamesshijie has joined #angularjs
[07:57:57] *** mdedetrich has joined #angularjs
[07:58:57] *** dc_ has joined #angularjs
[07:59:04] *** DrMabuse has quit IRC
[07:59:57] *** snurfery has joined #angularjs
[08:01:04] *** kroogs has joined #angularjs
[08:01:33] *** dbouwman has quit IRC
[08:01:39] *** mschoening has joined #angularjs
[08:02:04] *** jamesshijie has quit IRC
[08:02:25] *** danielpquinn has joined #angularjs
[08:04:21] *** Reskp has joined #angularjs
[08:05:34] *** kroogs has quit IRC
[08:06:45] *** danielpquinn has quit IRC
[08:07:27] *** niftylettuce_ has joined #angularjs
[08:08:11] *** mac_ifie_ has quit IRC
[08:08:29] *** dccc has joined #angularjs
[08:09:16] *** saiko-chriskun has quit IRC
[08:09:24] *** mykz_ has joined #angularjs
[08:09:35] *** Reskp has quit IRC
[08:09:48] *** henn1nk has joined #angularjs
[08:09:53] *** cisox has quit IRC
[08:10:15] *** chltjdgh86 has quit IRC
[08:11:03] *** Reskp has joined #angularjs
[08:11:04] *** Orbitrix has quit IRC
[08:11:11] *** henn1nk has quit IRC
[08:11:34] *** obert has joined #angularjs
[08:11:39] *** rabaznaz has quit IRC
[08:12:41] *** oa_ has quit IRC
[08:12:55] *** charuru has quit IRC
[08:14:26] <Moult> can a directive exist without a controller?
[08:15:11] *** Reskp has quit IRC
[08:15:51] *** cime has joined #angularjs
[08:16:32] *** svycka has joined #angularjs
[08:18:03] *** dccc has quit IRC
[08:18:04] *** dc_ has quit IRC
[08:18:24] *** mtsr has joined #angularjs
[08:19:05] *** kidinjo has joined #angularjs
[08:19:06] *** dc_ has joined #angularjs
[08:20:09] *** HypnotiX has joined #angularjs
[08:20:42] <sacho_> sure
[08:20:50] <sacho_> I think it'll just use the root scope
[08:21:01] *** phuh has joined #angularjs
[08:22:05] *** TheAceOfHearts has joined #angularjs
[08:22:36] *** jstroem has joined #angularjs
[08:22:56] *** saiko-chriskun has joined #angularjs
[08:23:02] *** quantax- has quit IRC
[08:24:09] *** pdillinger has quit IRC
[08:24:27] *** Jdubs has joined #angularjs
[08:25:36] *** DuelShark has joined #angularjs
[08:27:57] *** jstroem has quit IRC
[08:29:14] *** saiko-chriskun has quit IRC
[08:29:39] *** jacuqesdancona has joined #angularjs
[08:29:44] *** jeffszusz has quit IRC
[08:30:56] *** zanea is now known as zanea|away
[08:33:47] *** annlewis has quit IRC
[08:34:34] *** cobakobodob has quit IRC
[08:34:50] *** dccc has joined #angularjs
[08:34:53] *** mchammer has joined #angularjs
[08:35:11] *** cobakobodob has joined #angularjs
[08:36:21] *** Asiajey has quit IRC
[08:36:29] *** mikehaas763 has quit IRC
[08:37:47] *** GeertV_____ has joined #angularjs
[08:38:09] *** Thorn has quit IRC
[08:38:27] *** Asiajey has joined #angularjs
[08:39:38] <tendencydriven> Anyoned used angular-strap's datepicker?
[08:39:47] *** Thorn has joined #angularjs
[08:39:52] <tendencydriven> For some reason it isn't binding to ng-model
[08:41:32] *** wilmoore has quit IRC
[08:42:14] *** hannesvdvreken has joined #angularjs
[08:42:25] *** Voyage has joined #angularjs
[08:42:28] <Voyage> Hi!
[08:42:38] *** HelperW has joined #angularjs
[08:42:45] *** Tidwell has quit IRC
[08:43:02] *** Tidwell has joined #angularjs
[08:43:14] *** crocket has left #angularjs
[08:44:26] *** bphogan is now known as bphogan_afk
[08:44:37] *** dccc has quit IRC
[08:44:40] *** lite_ has joined #angularjs
[08:44:44] *** mary5030 has joined #angularjs
[08:44:47] *** stodan has joined #angularjs
[08:44:57] *** InezK_away is now known as InezK
[08:45:05] *** earthquake has quit IRC
[08:45:54] *** InezK is now known as InezK_away
[08:46:04] *** lite_ has quit IRC
[08:46:32] *** lite_ has joined #angularjs
[08:46:33] <obert> create a blog with angular is possible?
[08:47:49] *** rmichnik has quit IRC
[08:47:57] *** mschoening has quit IRC
[08:48:04] <TheAceOfHearts> anything is possible
[08:48:07] <TheAceOfHearts> welcome to zombo.com
[08:48:13] *** jdj_dk has joined #angularjs
[08:48:17] *** Milanito has joined #angularjs
[08:48:54] <tendencydriven> Anyone used angular-strap before? Any idea why it isn't binding to ngModel?
[08:49:26] <tendencydriven> (Specifically the datepicker module)
[08:49:47] *** KamalKaur has quit IRC
[08:51:16] *** TorchDragon has joined #angularjs
[08:51:30] *** foofoobar has joined #angularjs
[08:52:16] *** Milanito1 has joined #angularjs
[08:54:46] *** bphogan_afk is now known as bphogan
[08:54:58] *** tarnus_ has quit IRC
[08:55:17] *** Milanito has quit IRC
[08:55:34] *** TorchDragon has quit IRC
[08:55:41] *** Yancy has quit IRC
[08:55:45] *** peldan has joined #angularjs
[08:56:03] *** rburns has joined #angularjs
[08:56:05] *** iksik has joined #angularjs
[08:56:41] *** GeertV_____ has quit IRC
[08:57:02] *** GeertV has joined #angularjs
[08:58:09] *** dbouwman has joined #angularjs
[08:58:53] *** pdillinger has joined #angularjs
[08:59:14] *** rodyhadd_ has joined #angularjs
[08:59:51] *** DuelShark has quit IRC
[09:00:02] *** Voyage has quit IRC
[09:00:05] *** saiko-chriskun has joined #angularjs
[09:00:42] *** mguillech has joined #angularjs
[09:00:43] *** mguillech has joined #angularjs
[09:00:57] *** altious has joined #angularjs
[09:01:02] *** dccc has joined #angularjs
[09:01:09] *** dcherman has quit IRC
[09:01:14] *** evilaliv3 has joined #angularjs
[09:01:48] *** saiko-chrisku has joined #angularjs
[09:02:03] *** dbouwman has quit IRC
[09:02:16] *** bin has joined #angularjs
[09:02:31] <bin> guys..
[09:02:40] <bin> I have an app
[09:03:01] *** nodweber has joined #angularjs
[09:03:08] <bin> i embedded the slider. There is one office which has issues visualizing some components
[09:03:10] *** enxtur has quit IRC
[09:03:11] *** danielpquinn has joined #angularjs
[09:03:32] <bin> for example the slider is visualized ok but i have a survey form which literally renders the models
[09:03:37] *** Hackwar1 has quit IRC
[09:03:46] <bin> this page stay as cached
[09:03:55] <bin> on all 3 browsers
[09:04:18] <bin> any idea of security setting or i don't know
[09:04:21] <bin> i cleared the cache but still
[09:04:48] <ckboii89> hey wafflejock_ are you there by anychance
[09:04:52] *** Anindya has joined #angularjs
[09:04:53] *** saiko-chriskun has quit IRC
[09:05:04] <wafflejock_> ckboii89: yup will be sleeping soon though
[09:05:11] <ckboii89> ok quick question
[09:05:22] *** fbenoit has joined #angularjs
[09:05:31] *** Orbitrix has joined #angularjs
[09:05:31] *** nytrm has joined #angularjs
[09:05:38] <ckboii89> so i'm reading a guide that shows 4 ways to pass rails data to angular
[09:05:58] *** vf1 has quit IRC
[09:06:05] <ckboii89> the one im using inside the <div> has a ng-controller
[09:06:44] *** hannesvdvreken has quit IRC
[09:06:58] *** lnoskhen has joined #angularjs
[09:07:10] <ckboii89> but my ng controller is already defined in another html file which that
[09:07:11] *** saiko-chrisku has quit IRC
[09:07:14] *** Evankhell has joined #angularjs
[09:07:29] *** mikehaas763 has joined #angularjs
[09:07:33] *** danielpquinn has quit IRC
[09:07:41] <ckboii89> hm how should i say this
[09:08:02] *** vf1 has joined #angularjs
[09:08:16] <ckboii89> oops its ng-app, not controller
[09:08:24] <Anindya> I want to put a loading spinner whenever it slide from one ng-view to other or make a ajax call unless the whole page is completely loaded
[09:08:44] *** raul782 has quit IRC
[09:08:45] *** mikehaas763 has quit IRC
[09:09:17] *** mikehaas763 has joined #angularjs
[09:09:30] <ckboii89> what happens if i call the same ng-app in my div if its already called in another html that already knows the app inside a <html> tag
[09:09:45] *** dccc has quit IRC
[09:09:55] *** sk87 has joined #angularjs
[09:09:59] <wafflejock_> Anindya: you probably want to check out resolve property when defining routes and hook into the various $routeChangeSuccess or $routeChangeStart and things like that, you can use a service or factory to keep track of the loading state
[09:10:54] <ckboii89> the html file just renders the current html file i want to render
[09:11:03] *** hannesvdvreken has joined #angularjs
[09:11:05] <wafflejock_> ckboii89: not entirely clear to me what you're doing showing the code will help... if you have various HTML files that are't related by being templates or part of one SPA but are instead completely separate HTML pages then multiple ng-app is okay
[09:11:21] *** seydoggy has joined #angularjs
[09:11:27] <wafflejock_> ckboii89: if it's within a few HTML files that are meant to make up one SPA I believe you need to manually bootstrap any modules beyond the first
[09:12:05] <Anindya> wafflejock_: actually I am very new to angularjs and this is my first project so if you explain me what should I do then it will be great
[09:12:13] <wafflejock_> ckboii89: typically I only have 1 main module for my app but split up sets of functionality that would support a view like controllers/services in separate modules
[09:12:35] *** ravi_ has joined #angularjs
[09:12:56] *** lnoskhen has left #angularjs
[09:13:24] <ckboii89> the <html ng-app> is within my main template html, and uses <%= yield(:content) %> to render the current html page i want to show
[09:13:25] *** mikehaas763 has quit IRC
[09:13:35] *** joshontheweb has quit IRC
[09:13:47] *** tigrang has quit IRC
[09:13:49] *** Daven has joined #angularjs
[09:14:01] <wafflejock_> here's some resources that might help http://blog.angularjs.org/2014/02/an-angularjs-style-guide-and-best.html https://egghead.io/lessons/angularjs-sharing-data-between-controllers this helped me a lot when getting started with angular --> https://www.youtube.com/watch?v=ZhfUv0spHCY
[09:14:14] *** joshontheweb has joined #angularjs
[09:14:28] <ckboii89> <div class="container" ng-app="itemsApp">
[09:14:28] <ckboii89> <script>
[09:14:28] <ckboii89> <%= render "items_service.js.erb" %>
[09:14:30] <ckboii89> </script>
[09:14:32] <ckboii89>
[09:14:52] <ckboii89> the example i found does htat, i was wondering do i need to redefine that in my html page
[09:14:57] <wafflejock_> ckboii89: regarding what you're showing here I'm not familiar with rails but that looks similar to how JSPs work to some degree, but anyhow generally I write my service layer to just be RESTful and return JSON
[09:15:15] <wafflejock_> so instead of doing any server side rendering I do everything client side
[09:15:22] <ckboii89> right
[09:15:34] *** seydoggy has quit IRC
[09:15:51] *** jnaour has joined #angularjs
[09:15:52] <wafflejock_> it makes your API client agnostic so you have the option to rewrite native (android, iOS, or desktop/chrome app)
[09:16:26] *** bphogan is now known as bphogan_afk
[09:16:28] *** Daven has joined #angularjs
[09:16:41] <ckboii89> im 100% sure that i dont have to define another app
[09:17:09] *** moritzschaefer has joined #angularjs
[09:17:27] *** Milanito1 has quit IRC
[09:18:29] *** DerekPerkins has joined #angularjs
[09:18:31] *** snurfery has quit IRC
[09:19:01] <wafflejock_> ckboii89: yeah I'd really recommend watching that best practice video from YouTube, you can probably skip through the first 10 minutes or maybe a little more but the rest of it after the requirejs stuff is pretty relevant to everyone, once you have that under your belt you should be able to create and test your Rails code to be sure it works with JSON requests and responses using the POSTMan (chrome add-on very useful for
[09:19:01] <wafflejock_> testing backends) then once you know your rails code works with JSON you can hook up the angular side using $http or if you go more full blown REST on the server you can use $resource
[09:19:26] *** Voyage has joined #angularjs
[09:19:30] *** Jdubs has quit IRC
[09:19:36] <ckboii89> ko thank you
[09:19:47] <workthrick> hmm, what is the right way to embed the HTML of sub-elements in a directive's template? Ie. I want to make <loading-spinner when="data.loading"> <!-- content to be displayed after it's loaded --> </loading-spinner>
[09:19:49] *** nemothekid has quit IRC
[09:19:55] <wafflejock_> yup gotta get to sleep but goood luck talk with you later
[09:20:38] <workthrick> now it's obviously just <ng-show> and <ng-hide>, but how do I get the content part and chuck it inside?
[09:20:40] *** bphogan_afk is now known as bphogan
[09:20:47] <wafflejock_> workthrick: think you're looking for ngTransclude
[09:20:56] *** QuantumNinja has quit IRC
[09:21:01] <workthrick> wafflejock_: ah, probably, thanks
[09:21:13] *** Jdubs has joined #angularjs
[09:21:28] *** ravi_ has quit IRC
[09:21:45] *** thomastuts has joined #angularjs
[09:22:41] *** Ronyrun has joined #angularjs
[09:22:57] *** nemothekid has joined #angularjs
[09:23:15] *** DerekPerkins has quit IRC
[09:23:20] *** jstroem has joined #angularjs
[09:24:07] *** Daven has quit IRC
[09:24:57] *** moritzschaefer has quit IRC
[09:25:26] *** senayar has joined #angularjs
[09:25:51] *** VeeWee has joined #angularjs
[09:26:30] *** dccc has joined #angularjs
[09:26:34] <Anindya> Please tell me some ways so that I can put a loading spinner untill my data is completely loaded
[09:27:50] *** tangorri has joined #angularjs
[09:27:51] *** Daven_ has joined #angularjs
[09:28:12] *** jstroem has quit IRC
[09:28:27] *** AciD`` has joined #angularjs
[09:28:56] *** tigrang has joined #angularjs
[09:29:49] *** kennbrodhagen has joined #angularjs
[09:30:17] *** benjamingr has quit IRC
[09:30:17] <tendencydriven> Using angular-strap's datepicker, it's firing off a "$apply already in progress" error every time I select a date. (I'm not using $apply anywhere in my code)
[09:30:29] *** Jae has quit IRC
[09:31:47] <sacho_> tendencydriven, what are you doing?
[09:32:05] <sacho_> if you're triggering an event that angular handles, within an apply, that'd also do it
[09:32:20] <sacho_> e.g. ng-click="anotherClick()"
[09:32:24] *** nodweber has quit IRC
[09:32:50] <tendencydriven> Hi sacho_, I'm using angular-straps' built in datepicker directive (bs-datepicker) in my view. When trying to choose a date I'm getting this error. I'm not actually doing anything with it yet, simply calling it.
[09:32:56] *** nodweber has joined #angularjs
[09:33:03] <sacho_> maybe it's broken
[09:33:07] <tendencydriven> Balls.
[09:33:09] <sacho_> put some code on plnkr
[09:33:14] <tendencydriven> Will do
[09:33:35] *** Jae has joined #angularjs
[09:33:40] *** Click66 has joined #angularjs
[09:34:08] *** kennbrodhagen has quit IRC
[09:34:33] *** Bhaveshletter has joined #angularjs
[09:35:12] *** vintik has quit IRC
[09:36:20] *** bphogan is now known as bphogan_afk
[09:36:32] *** bphogan_afk is now known as bphogan
[09:36:51] *** Daven_ has quit IRC
[09:37:00] *** okdamn has joined #angularjs
[09:37:10] <okdamn> guys how do you use angularjs as submodule in git?
[09:37:24] <okdamn> i would like to avoid cloning the full repo its up to 20mb :/
[09:37:32] *** nodweber has quit IRC
[09:37:37] *** lite_ has quit IRC
[09:37:54] *** Moon has joined #angularjs
[09:38:07] *** bin has quit IRC
[09:38:18] *** Moon is now known as Guest62380
[09:39:00] *** vf1 has quit IRC
[09:39:02] *** tendencydriven has quit IRC
[09:39:04] *** lite_ has joined #angularjs
[09:39:12] *** obert has quit IRC
[09:39:31] *** lite_ has quit IRC
[09:39:41] *** tendencydriven has joined #angularjs
[09:40:06] <Moult> okdamn: you can use a dep manager
[09:40:23] <Moult> okdamn: but either way you'll need to clone it sooner or later
[09:40:24] <okdamn> Moult: that means? :P
[09:40:34] <okdamn> ok i include the file by hand :P
[09:40:39] <okdamn> [solved] eheh
[09:40:55] *** zbzzn has quit IRC
[09:41:22] *** zbzzn has joined #angularjs
[09:42:05] <fg3> sacho_:
[09:42:09] <fg3> whassup
[09:42:14] *** Milanito has joined #angularjs
[09:42:15] <sacho_> ?
[09:42:19] *** ineedarobot has joined #angularjs
[09:42:25] <fg3> sorry typed your name by accident
[09:42:29] *** tendency_ has joined #angularjs
[09:42:41] *** altious has quit IRC
[09:42:59] *** joshbrw has joined #angularjs
[09:43:02] *** Daven has joined #angularjs
[09:43:40] *** DevAntoine has joined #angularjs
[09:44:04] *** tendencydriven has quit IRC
[09:44:09] <fg3> I don't like my factory - anybody up for a code review
[09:44:28] *** mange has quit IRC
[09:44:44] *** altious has joined #angularjs
[09:44:53] <Anindya> I want to put a loading spinner for my mobile app whenever it slide from one ng-view to other or make a ajax call unless the whole page is completely loaded
[09:45:30] *** jumpstracks has joined #angularjs
[09:45:46] *** milka has joined #angularjs
[09:46:14] *** toin0u|away is now known as toin0u
[09:46:34] *** toin0u is now known as toin0u|away
[09:47:12] *** illume has joined #angularjs
[09:49:02] *** altious has quit IRC
[09:49:03] *** JoshGlzBrk has joined #angularjs
[09:49:14] *** ustunozgur has joined #angularjs
[09:50:33] <Moult> fg3: i'll look at it, but i'll unlikely give any advice :)
[09:51:38] *** Dimlock has joined #angularjs
[09:52:09] *** miname has joined #angularjs
[09:52:21] *** Jdubs has quit IRC
[09:52:29] <fg3> Moult: give me a sec
[09:52:35] *** obert has joined #angularjs
[09:53:23] <Guest62380> Hey, how can I insert an element with a directive to the body
[09:53:24] <Guest62380> ?
[09:53:25] <Guest62380> thanks
[09:53:29] *** Joulse has joined #angularjs
[09:53:35] <thomastuts> has anyone used oauthd? i'm wondering how to bypass the popup blocker. when i access their control panel and try to auth it works just fine without blocking the popup, but when i use the popup code in my own project the popup is blocked for some reason
[09:53:54] *** tfennelly has joined #angularjs
[09:53:58] *** ineedarobot has quit IRC
[09:54:51] *** mary5030 has quit IRC
[09:55:02] *** paxman has quit IRC
[09:55:19] *** Anindya has quit IRC
[09:55:22] *** guilbep has joined #angularjs
[09:56:03] *** nytrm has quit IRC
[09:56:46] <fg3> review
[09:57:54] *** dccc has quit IRC
[09:57:58] *** kennison has joined #angularjs
[09:58:49] *** dbouwman has joined #angularjs
[09:59:41] *** kroogs has joined #angularjs
[10:00:49] *** nfroidure_ has joined #angularjs
[10:01:04] *** terrykfwong has joined #angularjs
[10:02:00] *** superplussed has joined #angularjs
[10:02:59] *** Stephen has joined #angularjs
[10:03:01] *** dbouwman has quit IRC
[10:03:11] *** superplussed has quit IRC
[10:03:20] *** superplussed has joined #angularjs
[10:03:25] *** Hackwar has joined #angularjs
[10:03:26] *** ineedarobot has joined #angularjs
[10:03:57] *** danielpquinn has joined #angularjs
[10:04:35] *** KamalKaur has joined #angularjs
[10:04:37] *** kroogs has quit IRC
[10:05:07] *** ineedarobot has quit IRC
[10:05:19] *** jumpstracks has quit IRC
[10:05:26] *** lite_ has joined #angularjs
[10:06:04] *** Stephen has quit IRC
[10:06:54] *** Stephen has joined #angularjs
[10:08:59] *** danielpquinn has quit IRC
[10:09:47] *** TheAceOfHearts has quit IRC
[10:09:56] *** foofoobar has quit IRC
[10:10:00] *** mikehaas763 has joined #angularjs
[10:10:38] *** storresi has joined #angularjs
[10:11:06] *** rodyhadd_ has quit IRC
[10:13:04] *** jstroem has joined #angularjs
[10:13:24] *** dccc has joined #angularjs
[10:14:59] *** mikehaas763 has quit IRC
[10:15:11] *** Milanito has quit IRC
[10:15:36] *** aviraldg has joined #angularjs
[10:17:25] *** bicranial has quit IRC
[10:17:57] *** roolo has joined #angularjs
[10:18:50] *** mattwynne has joined #angularjs
[10:18:57] *** uxtx_ has quit IRC
[10:19:47] *** erg has quit IRC
[10:20:04] *** uxtx has joined #angularjs
[10:20:27] *** erg has joined #angularjs
[10:20:39] *** skakri` is now known as skakri
[10:22:42] *** sacho_ has quit IRC
[10:22:58] *** dreambo8563 has joined #angularjs
[10:23:20] *** vintik has joined #angularjs
[10:23:51] <workthrick> hmm, this is weird. I have an attribute loadingWhen: '&', and then ng-show="{{loadingWhen()}}" and ng-hide="{{loadingWhen()}}" in my directive's template, but doesn't have any effect, it just gets stuck in the show/hide state it had during the initial load
[10:24:21] *** dccc has quit IRC
[10:24:23] *** lite_ has quit IRC
[10:24:37] <workthrick> the rest of the DOM and expression is actually updated, so I can see ng-show="false" in the rendered tree which is then still shown
[10:24:41] *** nytrm has joined #angularjs
[10:24:50] *** bengillies has joined #angularjs
[10:25:00] <workthrick> is there anything special I need to do to make ng-show notice updates to things?
[10:25:05] *** vintik has joined #angularjs
[10:26:42] *** lite_ has joined #angularjs
[10:26:54] *** superplussed has quit IRC
[10:27:12] *** fg3 has quit IRC
[10:27:22] *** superplussed has joined #angularjs
[10:27:49] *** aslate has joined #angularjs
[10:28:20] *** saiko-chriskun has joined #angularjs
[10:28:52] *** ineedarobot has joined #angularjs
[10:29:51] *** vintik has quit IRC
[10:30:14] *** bphogan is now known as bphogan_afk
[10:30:36] *** lite_ has quit IRC
[10:30:53] *** miname has quit IRC
[10:30:59] <dreambo8563> how about ng-hide="loadingWhen()"? I am not sure if there should have the brackets
[10:30:59] *** lite_ has joined #angularjs
[10:31:34] *** superplussed has quit IRC
[10:31:55] *** DevAntoine has quit IRC
[10:32:52] <dreambo8563> is there anywhere i can get the API doc, the offline version?
[10:33:24] <workthrick> dreambo8563: yeah, that was the problem
[10:33:35] *** saiko-chriskun has quit IRC
[10:33:35] *** nodweber has joined #angularjs
[10:33:43] <workthrick> sometimes it gets mighty confusing as to what should and shouldn't have brackets
[10:34:23] *** mdedetrich has quit IRC
[10:34:25] <dreambo8563> agreed workthrick
[10:34:29] *** niftylettuce_ has quit IRC
[10:34:35] *** Milanito has joined #angularjs
[10:34:38] <workthrick> dreambo8563: I think the docs are compiled if you build angular from the source, and they're nothing but a static ng app, so you can in principle just host them yourself
[10:34:54] *** okdamn has quit IRC
[10:35:09] <workthrick> just remember that chrome really doesn't like file:// URLs mixed with JS, in case you want to load it directly from the disk
[10:35:35] <workthrick> firefox is less picky
[10:35:52] *** tigrang has quit IRC
[10:35:53] *** bengillies has quit IRC
[10:36:00] <dreambo8563> it seems I have to compile it from sourcecode :(
[10:36:26] *** nodweber_ has joined #angularjs
[10:36:48] <workthrick> unfortunately, yeah. I don't know of any location for precompiled docs
[10:36:58] <workthrick> maybe in github pages?
[10:36:59] *** sigurding has quit IRC
[10:37:10] *** asterick has quit IRC
[10:37:15] *** nodweber has quit IRC
[10:37:56] *** balboah has joined #angularjs
[10:38:00] *** miname has joined #angularjs
[10:38:19] *** fixl has joined #angularjs
[10:38:58] *** zz_Brocken is now known as Brocken
[10:39:03] *** jstimm has quit IRC
[10:39:03] <dreambo8563> anyway thank you workthrick
[10:40:49] *** discipolo has quit IRC
[10:40:52] *** dccc has joined #angularjs
[10:42:05] <workthrick> dreambo8563: actually, I just checked
[10:42:14] *** Norno has joined #angularjs
[10:42:22] <workthrick> if you go to angularjs.org and download the ZIP distribution, it includes docs/ as well
[10:42:35] *** miname has quit IRC
[10:42:58] <Norno> In angular ui's router, isn't it possible to nest a state inside an already nested state? Sort of like this, http://plnkr.co/edit/elxXsI2Dy0ewAaOBmhJe?p=preview (see line 55 in index.html)
[10:43:10] *** miname has joined #angularjs
[10:44:31] *** nemothekid has quit IRC
[10:44:47] *** Lumio has joined #angularjs
[10:44:48] *** DevAntoine has joined #angularjs
[10:44:49] *** Sebastien-L has joined #angularjs
[10:45:14] <Lumio> hello everyone… just a quicl question: I want to prevent a form from submit and tried the following:
[10:45:29] <dreambo8563> workthrick, ho ho, great
[10:45:33] <Lumio> <form action="#" method="POST" ng-submit="false && contactSubmit()" novalidate>
[10:45:47] *** caitp has joined #angularjs
[10:45:50] <Lumio> but that doesn't work - the form still submits
[10:46:22] *** bengillies has joined #angularjs
[10:48:05] *** marcghorayeb has joined #angularjs
[10:48:14] *** dc__ has joined #angularjs
[10:48:15] *** juampy has joined #angularjs
[10:48:16] *** nodweber_ has quit IRC
[10:48:18] *** ExxKA has joined #angularjs
[10:48:48] *** nodweber has joined #angularjs
[10:49:04] *** dc_ has quit IRC
[10:49:12] *** dccc has quit IRC
[10:49:16] <ExxKA> Hi Guys. Is there a way to convert JQuery Promises to Angular promises, and have them work correctly with the digest cycle?
[10:49:31] <ExxKA> I am dependent on a JQuery Ajax library..
[10:50:27] *** caitp has quit IRC
[10:51:49] *** altious has joined #angularjs
[10:52:33] <lite_> ExxKA: just call $scope.$apply() after doing whatever you need to do in your callback
[10:52:47] <mguillech> Lumio: I don't think you need the 'action' attribute there, have a read https://docs.angularjs.org/api/ng/directive/ngSubmit
[10:52:48] <aviraldg> modal dialogs - directive for the html, service to control - right design?
[10:53:00] <dreambo8563> Lumio: I used to disabled the submit button in your scenario.
[10:53:15] *** nodweber has quit IRC
[10:53:33] *** Milanito has quit IRC
[10:53:35] <ExxKA> lite_, as far as I know the apply calls are not queued, so when I have many promises resolving I will trigger the digest cycle every time, which is not what I want.
[10:53:36] <Lumio> thanks @mguillech :)
[10:53:46] <Lumio> that was it :)
[10:53:59] *** avens has joined #angularjs
[10:54:12] <Lumio> @dreambo8563: would that mean, that the keystroke event when pressing enter is also disabled
[10:54:16] <lite_> ExxKA: you dont wish to apply your changes whenever your promses resolve?
[10:54:20] <lite_> promises*
[10:54:47] <ExxKA> Not necessarily, when I have many promises, and some relate to "behind the scenes" logic.
[10:55:00] *** evilaliv3 has quit IRC
[10:55:19] <lite_> Well. Then call $scope.$apply() on the callbacks where you do wish to apply the changes to the scope.
[10:56:02] <ExxKA> Is there no way to just do a 1:1 conversion between a jQuery promise and an Angular one?
[10:56:11] *** tarnus has joined #angularjs
[10:56:26] *** amedia has joined #angularjs
[10:56:38] *** altious has quit IRC
[10:57:05] *** caitp has joined #angularjs
[10:57:20] *** nytrm has quit IRC
[10:58:10] *** mattwynne has quit IRC
[10:59:45] *** dbouwman has joined #angularjs
[10:59:53] *** Hackwar has quit IRC
[11:00:10] *** kroogs has joined #angularjs
[11:00:33] *** tarnus has quit IRC
[11:00:40] <workthrick> Norno: yes, there's no specific limit on nesting. But be aware that views only match *exactly one* step up in the hierarchy, ie. if you specify a non absolute view name such as "header", it will only be matched to the direct parent's ui-view="header" and nowhere else
[11:00:45] <workthrick> not on itself, not on further parents
[11:01:05] *** Daven has quit IRC
[11:02:20] *** saiko-chriskun has joined #angularjs
[11:02:39] *** Drako_ has joined #angularjs
[11:04:19] *** viscera has joined #angularjs
[11:04:20] *** caitp has quit IRC
[11:04:32] *** dbouwman has quit IRC
[11:04:33] <Norno> but shouldnt the plunkr I linked work then?
[11:04:36] *** altious has joined #angularjs
[11:04:37] *** danielpquinn has joined #angularjs
[11:04:39] <Norno> http://plnkr.co/edit/elxXsI2Dy0ewAaOBmhJe?p=preview
[11:04:49] <Norno> i.e., display a list with p-tags
[11:05:04] *** kroogs has quit IRC
[11:05:49] *** dccc has joined #angularjs
[11:06:23] *** sacho has joined #angularjs
[11:06:31] *** Milanito has joined #angularjs
[11:06:32] *** visceral has quit IRC
[11:07:32] *** saiko-chriskun has quit IRC
[11:07:51] *** jkremser has joined #angularjs
[11:07:51] *** jkremser has joined #angularjs
[11:08:44] *** Shrooms has quit IRC
[11:09:02] *** mennea has quit IRC
[11:09:28] *** danielpquinn has quit IRC
[11:09:37] *** asdofindia has joined #angularjs
[11:09:42] *** asdofindia has joined #angularjs
[11:10:07] *** vintik has joined #angularjs
[11:10:44] *** mikehaas763 has joined #angularjs
[11:11:06] <Norno> I got it to work with named views workthrick, but I'd rather have some kind of nesting so they share the same controller, like in the plunkr (but working :D)
[11:11:19] *** Foxandxss has joined #angularjs
[11:14:12] *** tendency_ has quit IRC
[11:14:43] *** tendencydriven has joined #angularjs
[11:15:18] *** asdofindia has quit IRC
[11:15:47] *** mikehaas763 has quit IRC
[11:15:53] *** dccc has quit IRC
[11:16:04] *** azizur has joined #angularjs
[11:16:49] *** okdamn has joined #angularjs
[11:17:17] *** avens_ has joined #angularjs
[11:17:19] <okdamn> hey im setting up angularjs on phonegap but i can't understand, what if the app has no frontend server url?
[11:17:42] *** endash has joined #angularjs
[11:17:44] <okdamn> i mean frontend app is just client side in my case i don't have an app url to use, i just have a backend url as ws
[11:19:04] *** tendencydriven has quit IRC
[11:19:27] *** klaut has joined #angularjs
[11:19:30] *** tendencydriven has joined #angularjs
[11:20:04] *** avens has quit IRC
[11:20:32]
[11:20:35] <ExxKA> $apply*
[11:21:16] *** liri has joined #angularjs
[11:21:23] *** Joulse has quit IRC
[11:21:37] *** wartdev has joined #angularjs
[11:21:38] *** vintik has quit IRC
[11:22:17] *** asdofindia has joined #angularjs
[11:22:36] *** marr has joined #angularjs
[11:22:45] *** morenoh149 has quit IRC
[11:23:34] *** guilbep has quit IRC
[11:23:48] *** guilbep has joined #angularjs
[11:24:18] *** tylerdmace has quit IRC
[11:24:22] *** balboah has quit IRC
[11:24:41] <sacho> when it passes a nextTick function?
[11:24:49] <sacho> because those need to be async
[11:25:14] <okdamn> how do i use angular in phonegap without a frontend server ?
[11:25:27] *** balboah has joined #angularjs
[11:25:31] *** scmx has joined #angularjs
[11:25:50] *** Lebby1 has joined #angularjs
[11:26:05] *** Lebby1 is now known as Lebby
[11:26:13] *** nodweber has joined #angularjs
[11:27:13] <sacho> ExxKA, the promises spec states that your callbacks must execute asynchronously - http://promises-aplus.github.io/promises-spec/#point-34
[11:27:18] *** lordkryss has joined #angularjs
[11:27:37] *** Daven has joined #angularjs
[11:28:07] <ExxKA> Okay, that explains it. Thanks.
[11:28:23] <ExxKA> I thought it had something to do with the scope and exception handler
[11:29:51] *** avens_ has quit IRC
[11:30:00] *** Joulse has joined #angularjs
[11:30:26] *** avens has joined #angularjs
[11:30:43] *** kennbrodhagen has joined #angularjs
[11:31:31] *** melmoussaoui has joined #angularjs
[11:31:48] *** superplussed has joined #angularjs
[11:32:22] *** HelperW_ has joined #angularjs
[11:34:00] *** Hackwar has joined #angularjs
[11:34:04] *** dccc has joined #angularjs
[11:35:06] *** kennbrodhagen has quit IRC
[11:35:29] *** fairchild has quit IRC
[11:35:34] *** HelperW has quit IRC
[11:35:38] *** krupnik has joined #angularjs
[11:35:43] *** nytrm has joined #angularjs
[11:36:02] *** azizur3 has joined #angularjs
[11:36:24] <okdamn> please http://stackoverflow.com/questions/24607401/angular-js-on-phonegap-without-webserver
[11:36:33] <okdamn> i really cant get this
[11:36:40] *** azizur has quit IRC
[11:40:58] *** CptClever has joined #angularjs
[11:43:02] *** Jan has joined #angularjs
[11:43:20] *** mewm has joined #angularjs
[11:43:26] *** Jan is now known as Guest96051
[11:44:07] *** Daven has quit IRC
[11:44:56] *** ineedarobot has quit IRC
[11:45:57] *** dccc has quit IRC
[11:46:42] <okdamn> how do u get angularo n phonegap without grunt and webserver??
[11:46:47] <okdamn> i really cant get this
[11:47:04] <okdamn> file:// wont work at all as i can see on phonegap
[11:47:34] *** daslicht has joined #angularjs
[11:47:43] *** fuzzy has joined #angularjs
[11:48:49] *** rgolea has joined #angularjs
[11:49:48] <rgolea> hi there everyone... I would like to make a realtime app and i would like to know how to do it using the $http call
[11:50:17] <sacho> rgolea, your question is very vague.
[11:50:25] *** mnngfltg has joined #angularjs
[11:50:29] <rgolea> i mean... if the json file requested by ajax changes... does it change my view?
[11:50:38] <sacho> it's like asking "I would like to know how to build a house, with a hammer"
[11:50:44] <rgolea> i know
[11:50:45] <rgolea> sorry
[11:51:03] <rgolea> my english is poor and i need to really think hard for my words
[11:51:06] <sacho> no, it doesn't
[11:51:07] <Guest96051> Hi guys. Anyone here willing and able to give me some comments on this? http://stackoverflow.com/questions/24606803/insecurities-about-the-angular-way
[11:51:20] <rgolea> so... what do you do in that case?
[11:51:24] <rgolea> socket.io?
[11:51:45] <Foxandxss> rgolea: as a matter of curiosity, where are you from?
[11:51:54] <rgolea> spain
[11:52:09] *** mnngfltg has quit IRC
[11:52:18] *** mnngfltg has joined #angularjs
[11:52:30] <Foxandxss> I should do lottery
[11:52:40] *** tendencydriven has quit IRC
[11:52:46] <rgolea> did you bet on it?
[11:52:56] <sacho> rgolea, there's several ways you could implement getting updates from a server. Try searching for "long-polling", "ajax push", "web sockets", "server-side events"
[11:53:02] <Foxandxss> rgolea: with myself
[11:53:17] <sacho> rgolea, one of the simpler methods is just running a constant timer that queries the server every X seconds
[11:53:35] <rgolea> thank you sacho
[11:54:00] <rgolea> foxandxss I could´ve said romania... i´m originally from there
[11:54:10] *** morenoh149 has joined #angularjs
[11:54:21] <rgolea> i should´ve trick you on that one
[11:54:30] <rgolea> sacho, thank you very much
[11:54:31] <Foxandxss> rgolea: the only country of the world who said "sorry for my poor english" is spain
[11:54:42] *** ChanServ sets mode: +o Foxandxss
[11:54:52] *** roolo has quit IRC
[11:54:52] <rgolea> hahahaha
[11:55:00] *** wartdev has quit IRC
[11:55:06] <rgolea> my english is not bad but my writing is
[11:55:09] <rgolea> so...
[11:55:14] <Foxandxss> It is not indeed
[11:55:30] <rgolea> that´s the spanish educational system
[11:55:37] <rgolea> i guess
[11:55:38] *** ustunozgur has quit IRC
[11:55:41] <workthrick> Norno: unfortunately, nesting of views is the worst part of UI Router, and honestly confusing as hell. There's at least one project written in response to that problem, http://dotjem.github.io/angular-routing/
[11:55:49] <Foxandxss> rgolea: no, it is mentality
[11:56:10] <sacho> well, in western europe, at least.
[11:56:19] <sacho> Pretty much everyone else in western europe aren't sorry about their poor english.
[11:56:20] *** ustunozgur has joined #angularjs
[11:56:34] *** Serdar has joined #angularjs
[11:56:42] <Foxandxss> sacho: are or aren't?
[11:56:47] <sacho> aren't
[11:57:03] <okdamn> really cant get how to deploy an angular + phonegap app since there is no frontend server and im using grunt
[11:57:05] <Foxandxss> that makes no sense :P
[11:57:10] *** bweston has joined #angularjs
[11:57:14] <okdamn> unbelievable, it will not work any xhr i guess
[11:57:14] <Foxandxss> okdamn: deploy where?
[11:57:20] *** scmx has quit IRC
[11:57:22] <okdamn> Foxandxss: u know phonegap little bit?
[11:57:42] *** sigurding has joined #angularjs
[11:57:44] <Foxandxss> no
[11:58:10] <workthrick> Norno: disclaimer: I haven't used it myself, so I have no direct comparison, I just know the author has worked with UI Router before and was dissatisfied with how confusing it was (http://stackoverflow.com/questions/18473096/angular-ui-router-views-in-an-inherited-state)
[11:58:13] *** Lebby has left #angularjs
[11:58:20] <okdamn> actually im running angular+phonegap with grunt on localhost:8000 and it works ok , but when it comes to deploy the app for all in the app store how do the hell it can run without grunt? :/
[11:58:29] <okdamn> Foxandxss: http://stackoverflow.com/questions/24607401/angular-js-on-phonegap-without-webserver?noredirect=1#comment38128458_24607401
[11:58:41] <sacho> what does grunt have to do with it?
[11:58:42] *** mattwynne has joined #angularjs
[11:58:54] <rgolea> well... thank you everybody for the angular lesson... i´m starting on it so i would like to not waste my time because i do web dev just for fun
[11:58:55] <okdamn> sacho: grunt starts a webserver on localhost:8000
[11:58:58] <sacho> grunt is just a task runner
[11:59:14] *** jerev has joined #angularjs
[11:59:17] <okdamn> where i can browse the app
[11:59:19] <okdamn> via http
[11:59:37] <okdamn> if no webserver how the hell can this work? :D
[11:59:44] * sacho shrugs
[12:00:04] *** sigurding has quit IRC
[12:00:08] <okdamn> do i have to make an iframe and include the app from a remote webserver i hope not
[12:00:13] *** kroogs has joined #angularjs
[12:00:15] *** dbouwman has joined #angularjs
[12:00:32] *** dc__ has quit IRC
[12:00:34] <okdamn> sacho: u know phonegap?
[12:00:38] <sacho> no
[12:00:41] *** fg3 has joined #angularjs
[12:00:48] <okdamn> ok :(
[12:00:53] <fg3> hola
[12:00:57] <jerev> Hi, anyone familiar with the ui-router? I have 2 states, one with a url: "/something?param" and another with "/something?param&anotherparam" - the second state however seems to route back to the default. Any ideas?
[12:01:02] <okdamn> u know iconicframework ? sacho Foxandxss
[12:01:08] <okdamn> ionicframework sorry
[12:01:20] <Foxandxss> never used it
[12:01:34] <Foxandxss> rgolea: no hay problema
[12:01:40] <okdamn> ok dammit i need someone who already did an angular+phonegap or cordova app
[12:01:53] <jerev> okdamn, what is the issue?
[12:01:56] <Foxandxss> but if you deploy to android or IOS
[12:02:00] <Foxandxss> you don't need a webserver
[12:02:04] <rgolea> foxandxss where are you from?
[12:02:07] <Foxandxss> jerev: he overthinks
[12:02:09] <okdamn> jerev: hey u know phonegap+angular or ionicframework?
[12:02:10] <Foxandxss> rgolea: spain
[12:02:10] *** dccc has joined #angularjs
[12:02:16] *** Guest96051 has quit IRC
[12:02:17] <okdamn> Foxandxss: lol i dont :P
[12:02:20] *** saiko-chriskun has joined #angularjs
[12:02:28] <rgolea> hahahahahhahaha
[12:02:28] <sacho> jerev, try making a test case on plnkr
[12:02:30] <jerev> okdamn, you can debug on desktop using "ionic serve" which will set up a server for you.
[12:02:34] <okdamn> Foxandxss: and so how to perform xhr requests without http server?
[12:02:43] *** osyris has joined #angularjs
[12:02:47] *** arek_at_work has joined #angularjs
[12:02:53] <okdamn> jerev: yes but how it runs on mobile device without webserver??? :D
[12:03:19] *** janp has joined #angularjs
[12:03:22] *** mykz_ has quit IRC
[12:03:22] <rgolea> foxandxss are you a web dev? or just like me, as a hobby?
[12:03:42] <Foxandxss> I am web dev
[12:03:56] <arek_at_work> Foxandxss: lol angular hobby
[12:03:58] <arek_at_work> ;)
[12:04:05] *** mattwynne has quit IRC
[12:04:10] *** djam90 has joined #angularjs
[12:04:11] *** aizceq has joined #angularjs
[12:04:17] <okdamn> bricolage?
[12:04:24] *** ExxKA has quit IRC
[12:04:31] <okdamn> jerev: u still here? :P
[12:04:33] *** DevAntoine has quit IRC
[12:05:00] *** dbouwman has quit IRC
[12:05:12] *** bmcgee has joined #angularjs
[12:05:28] *** danielpquinn has joined #angularjs
[12:05:42] *** asdofindia has quit IRC
[12:05:49] *** kroogs has quit IRC
[12:05:56] *** Sebastien-L has quit IRC
[12:06:23] <fg3> question: Given a math factory with two methods getNumbersWithXHR() getSum() -- How to get getNumbersWithXHR() to execute on load so that getSum() will work?
[12:06:23] <djam90> I am trying to get an Angular app working on IE8. I have followed the steps to make it work in IE. I have tried Angular 1.2.16 and 1.3.0 beta 14. We are using jQuery query-1.11.0.min.js. I am getting this error: Error: [$interpolate:interr] Can't interpolate: £{{ getLowestPrice() }} TypeError: Object doesn't support this property or method. I have googled, and added the ES5 shim file as instructed, yet no fix
[12:06:23] *** CocoStorm has joined #angularjs
[12:06:28] <jerev> okdamn, cordova allows cross origin requests on the file protocol. This line in the config actually means something. "<access origin="*" />"
[12:06:47] <okdamn> jerev: allllllright here we come thanks
[12:07:03] *** saiko-chriskun has quit IRC
[12:07:04] *** feelfine has joined #angularjs
[12:07:15] *** Milanito has quit IRC
[12:07:24] *** k-dawg has joined #angularjs
[12:07:26] *** rgolea has quit IRC
[12:07:49] *** Hounddog has joined #angularjs
[12:07:57] <okdamn> jerev: u use ionic?
[12:08:06] <jerev> Amongst others
[12:08:07] <ansu> djam90, afaik 1.3 drops IE8 support so you should stick with 1.2.x but further than that i don't know what the problem is
[12:08:16] <workthrick> how do I refer to an attribute of the same name as the directive? Ie. how ng-if can take an expression directly without requiring another attribute
[12:08:18] *** ckboii89 has quit IRC
[12:08:20] <CocoStorm> Hi guys, I have two controllers in one app and I'm trying to share data between the two controllers. here is my code although the jsfiddle doesn't work I'm hoping it's something obvious enough to not have ot to test on jsfiddle http://jsfiddle.net/MarcoCollura/LUPzT/
[12:08:27] *** mennea has joined #angularjs
[12:08:28] <okdamn> jerev: uhm?
[12:08:36] <workthrick> just scope: { myDirective: '&' } doesn't seem to work
[12:09:00] <jerev> okdamn, I use ionic, but also other similar services
[12:09:17] <okdamn> jerev: which sorry im new
[12:09:21] *** HelperW_ has quit IRC
[12:09:30] <okdamn> need some tips
[12:09:56] <dreambo8563> jerev: https://docs.angularjs.org/api/ngRoute/provider/$routeProvider pls review this, maybe helpful
[12:09:58] <okdamn> jerev: ionic looks so cool but it looks so huge, i mean css is the biggest i ever seen before
[12:10:02] *** HelperW_ has joined #angularjs
[12:10:03] *** danielpquinn has quit IRC
[12:10:13] <okdamn> and angular code uses ui-router which i dont like, and code looks old tho
[12:10:29] <okdamn> mmm really in doubt if to use my own angular or ionic
[12:11:30] *** mikehaas763 has joined #angularjs
[12:11:33] *** dccc has quit IRC
[12:12:29] <jerev> okdamn, for ios only projects we use steroidsjs because of the native components
[12:12:50] <jerev> when its android support is viable again, we'll be using it for both.
[12:12:56] <djam90> ansu - wow , real school boy error on my part. I saved the es5-shim from github and just clicked save as, so it obvz saved the HTML of the github page! AHH
[12:12:57] <jerev> It uses the ionic css too.
[12:13:24] *** jkremser has quit IRC
[12:13:29] <okdamn> jerev: nice thanks im wondering, since i will need to deploy on android and ios for sure, and i will need to use a phonegap plugin (only one actually)
[12:13:32] <okdamn> which you suggest ?
[12:13:39] *** wartdev has joined #angularjs
[12:13:56] *** mehlah has joined #angularjs
[12:14:05] <okdamn> jerev: steroidsjs looks for pay :v
[12:14:58] <Foxandxss> Anyone here on a different time zone (AKA not 12:15PM) with ruby to make a test for me?
[12:15:10] <CocoStorm> Hi guys
[12:15:49] <CocoStorm> I can't seem to get the dat from the print controller http://jsfiddle.net/MarcoCollura/LUPzT/ (I'm trying to share data between two controllers in one app)
[12:15:52] <CocoStorm> what's wrong with my code?
[12:16:03] *** mikehaas763 has quit IRC
[12:16:13] <CocoStorm> the logging in the print controller only prints 'Test' instead of the new values
[12:16:25] <CocoStorm> but if I log from the first controller it works with new values
[12:16:29] *** hannesvdvreken has quit IRC
[12:16:32] *** arek_at_work has quit IRC
[12:16:54] <okdamn> Foxandxss: 12.16 here
[12:16:57] <okdamn> right now
[12:17:13] <Foxandxss> I know, italy has the same timezone
[12:17:14] <okdamn> :P
[12:17:20] <CocoStorm> can anyone please help/
[12:17:21] <CocoStorm> ?
[12:17:29] *** nytrm has quit IRC
[12:18:05] *** mdedetrich has joined #angularjs
[12:18:16] <Foxandxss> CocoStorm: make the example workable
[12:18:24] <Foxandxss> I don't see logs or anything at all
[12:18:33] <Foxandxss> jsfiddle suck hard
[12:20:03] <gjvc> Foxandxss it's so slow
[12:20:08] <gjvc> as is plunkr
[12:20:09] *** Gues_____ has joined #angularjs
[12:20:13] *** ahmer has joined #angularjs
[12:20:18] <Foxandxss> but plunker is bettah
[12:20:21] <gjvc> ~
[12:20:28] <gjvc> i believe you
[12:20:53] <Foxandxss> and Plunker.NEXT will be awesomesauce
[12:21:24] *** ahmer has quit IRC
[12:21:32] <CocoStorm> I'm not too sure how I'd make this work
[12:21:57] *** azizur3 has quit IRC
[12:22:23] *** peldan has quit IRC
[12:22:59] *** peldan has joined #angularjs
[12:23:03] *** Milanito has joined #angularjs
[12:24:02] *** peldan_ has joined #angularjs
[12:24:08] *** ineedarobot has joined #angularjs
[12:24:34] *** Dalsass_mobi has joined #angularjs
[12:25:41] <jerev> okdamn, steroids is free, but if you need ios+android you should wait a couple more months to use steroids
[12:26:29] <okdamn> jerev: ah ok :) m8 do you know any tool to customize ionic css?
[12:26:32] <okdamn> or just sass?
[12:26:49] *** nytrm has joined #angularjs
[12:27:05] *** angularnewbee has joined #angularjs
[12:27:24] *** dccc has joined #angularjs
[12:27:34] <angularnewbee> hi, there im searching for the method app.config( docu
[12:27:35] *** peldan has quit IRC
[12:27:43] <angularnewbee> i need to know which parameter are expected by the method
[12:28:27] <CocoStorm> hi guys is my code set up properly to use two controllers and one app and share data between them?
[12:28:28] *** Milanito has quit IRC
[12:28:38] <CocoStorm> I'm doubting th elogic is wrong etc
[12:28:48] <CocoStorm> http://jsfiddle.net/MarcoCollura/LUPzT/
[12:28:50] *** Xethron has joined #angularjs
[12:29:30] <angularnewbee> good point CocoStorm ... i would like to know if controller are logicly used as controller known from asp.net mvc
[12:30:34] *** RandyT has quit IRC
[12:31:05] <derrzzaa> I've been using ControllerAs which has really made life awesome. I'm confused how it plays with directives though.
[12:31:27] *** Joulse has quit IRC
[12:31:30] *** RandyT has joined #angularjs
[12:31:39] <derrzzaa> I have a directive inside a DemoCtrl as demo. Inside that directive, I can't access any of the functions in that controller
[12:32:07] <derrzzaa> outside the directive demo.test() will log my test output, inside the directive it can't see the function.
[12:32:56] *** aizceq has left #angularjs
[12:32:59] <CocoStorm> anyone?
[12:33:24] *** azizur has joined #angularjs
[12:34:47] *** miname has quit IRC
[12:35:15] *** miname has joined #angularjs
[12:35:59] *** ayman has joined #angularjs
[12:36:44] <ayman> Hi, I have this expression in a template '<a class="provider-anchor" ng-click="setDefaultContact({{row.entity[col.field.contact_id]}})">' and when it compiles I get this error https://docs.angularjs.org/error/$parse/syntax?p0=row.entity&p1=is%20unexpected,%20expecting%20%5B:%5D&p2=21&p3=setDefaultContact(%7B%7Brow.entity%5Bcol.field.contact_id%5D%7D%7D)&p4=row.entity%5Bcol.field.contact_id%5D%7D%7D)
[12:37:12] *** superplussed has quit IRC
[12:37:22] *** dreambo8563 has quit IRC
[12:37:29] <ayman> how can I solve it
[12:37:31] *** phuh has quit IRC
[12:37:54] <sacho> ng-click already evaluates the attribute value as an expression
[12:38:05] <sacho> so remove the {{'s
[12:38:24] <Zerot> ayman: first, use the non-minified version of angular. that gives better readable errors
[12:38:37] <Zerot> ayman: second, what sacho said
[12:38:39] *** okdamn has quit IRC
[12:38:51] <CocoStorm> can anyone help?
[12:39:09] <Zerot> CocoStorm: checking it now
[12:39:09] *** edzez has quit IRC
[12:39:15] *** ckboii89 has joined #angularjs
[12:39:34] *** disorder20 has joined #angularjs
[12:39:56] *** dccc has quit IRC
[12:40:13] <ayman> Zerot, sacho I removed the {{ and now it doesn't get the real value, it only copies "row.entity[col.field.contact_id" as a string
[12:40:27] *** steffengy has joined #angularjs
[12:40:29] *** WeiJunLi has joined #angularjs
[12:40:30] <Zerot> CocoStorm: Don't use separate modules for directives, controllers, etc. Use a module per function that is provided. e.g. in your case: Clipboard and Print
[12:40:37] <WeiJunLi> Someone can help me with a question pure JS?
[12:40:41] <sacho> ayman, what's your markup, exactly
[12:40:47] *** miname has quit IRC
[12:41:02] <ayman> Zerot, sacho thank you, it works now :D
[12:41:07] <ayman> Thanks a lot
[12:42:11] *** ustunozgur has quit IRC
[12:42:30] *** mercwithamouth has joined #angularjs
[12:42:58] <Zerot> CocoStorm: other than that, yes, your sharing logic looks ok. Services are the perfect way to share data between controllers.
[12:43:03] *** steffengy1 has quit IRC
[12:43:32] *** ckboii89 has quit IRC
[12:43:44] *** ad_libr has joined #angularjs
[12:43:58] *** Lumio has quit IRC
[12:44:05] *** nytrm has quit IRC
[12:44:13] <Hounddog> Trying to use orderby with ng-repeat. ng-repeat="item in items | orderBy: item.createdDate : reverse"... This is just a timestamp i am trying to order by but it seems to be ignored completly
[12:44:36] *** Daven_ has joined #angularjs
[12:45:42] *** roolo has joined #angularjs
[12:45:47] *** KamalKaur has quit IRC
[12:46:30] <Zerot> Hounddog: remove "item." before createdDate
[12:46:41] *** mdedetrich has quit IRC
[12:46:44] <Hounddog> Zerot: tried that too
[12:46:47] *** azizur has quit IRC
[12:48:20] <Zerot> Hounddog: ah. add ' ' around createdDate
[12:48:24] <Hounddog> Zerot: i am adding and remiving the reverse and it is just staying the same
[12:48:45] <Hounddog> Zerot: ...
[12:48:47] <Zerot> Hounddog: do you have reverse defined anywhere? it needs to be a bool
[12:49:07] <Zerot> so if you have not defined it anywhere, you need to use true or false there
[12:49:16] <Hounddog> Zerot: its working now at least
[12:49:31] *** Daven_ has quit IRC
[12:50:01] <Hounddog> Zerot: ahh ok, thx for the hint with the bool... i thought it was just "reverse"
[12:50:01] *** jdj_dk has quit IRC
[12:51:00] *** moritzs has joined #angularjs
[12:51:12] *** dariocravero has joined #angularjs
[12:52:07] *** scmx has joined #angularjs
[12:52:09] *** mehlah_ has joined #angularjs
[12:52:27] *** pdillinger1 has joined #angularjs
[12:52:27] *** jnaour has quit IRC
[12:52:51] *** mehlah has quit IRC
[12:52:56] *** jdj_dk has joined #angularjs
[12:53:13] *** JoshGlzBrk has quit IRC
[12:54:03] *** TorchDragon has joined #angularjs
[12:54:16] *** gsdds has quit IRC
[12:54:46] <Hounddog> Zerot: in think in the documentation we should add another example with exactly the stuff i just did... not really clear that you must use the ''
[12:55:17] *** pdillinger has quit IRC
[12:55:33] <CocoStorm> Zerot, I'm not quite sure I understood what you meant
[12:55:34] <CocoStorm> sorry
[12:55:40] *** dccc has joined #angularjs
[12:55:55] *** miname has joined #angularjs
[12:56:14] *** asdofindia has joined #angularjs
[12:56:15] <Zerot> Hounddog: well, I find it easier to not look at the example, but just read the api bit
[12:56:20] <Zerot> CocoStorm: which bit?
[12:56:31] *** roolo has quit IRC
[12:56:40] <CocoStorm> Zerot, also why isn't the print controller not getting the new values set from the clipboard controller? the log prints 'Test' each and everytime in the print controller
[12:56:59] <CocoStorm> despite calling setTestValue in the other controller
[12:57:03] *** tarnus has joined #angularjs
[12:57:06] *** Dalsass_mobi has quit IRC
[12:57:19] *** jnaour has joined #angularjs
[12:57:28] *** braoru has joined #angularjs
[12:57:34] <Zerot> CocoStorm: make a (working) plunker with your code that shows the exact problem you are having
[12:57:54] *** scmx has quit IRC
[12:58:07] *** nytrm has joined #angularjs
[12:58:29] *** TorchDragon has quit IRC
[12:58:36] *** roolo has joined #angularjs
[12:59:28] <CocoStorm> Zerot, after calling setTestValue I'm using Window.open which opens up another view that includes the same js file
[12:59:37] <CocoStorm> and I'm trying ot get the same value from there
[12:59:43] <Zerot> CocoStorm: that will not work
[12:59:50] <Zerot> those are 2 separate application instances
[12:59:55] <Zerot> not 1 angular application
[12:59:56] <CocoStorm> I seee
[13:00:01] <CocoStorm> so what could I do ?
[13:00:10] *** benjamingr has joined #angularjs
[13:00:15] *** bmcgee has quit IRC
[13:00:25] *** motionman has quit IRC
[13:00:34] <Zerot> you will need to use other mechanics to share data for that. e.g. a server backend, or localStorage(if it is only going to be the same machine)
[13:00:42] <CocoStorm> I see
[13:00:43] <CocoStorm> okay
[13:00:45] <CocoStorm> sure
[13:00:52] *** kroogs has joined #angularjs
[13:01:05] *** ayman has quit IRC
[13:01:19] *** dbouwman has joined #angularjs
[13:01:24] *** caitp has joined #angularjs
[13:01:47] *** asdofindia has quit IRC
[13:01:56] *** tarnus has quit IRC
[13:02:13] *** mercwithamouth has quit IRC
[13:02:23] <Elanor> My page (well, mostly NOT my code, but what I'm working with!) kicks me out if I refresh the page. Where do I begin fixing this, ng have any tricks?
[13:02:32] *** RedOrangeZ has joined #angularjs
[13:02:32] *** Stephen has quit IRC
[13:02:34] *** mykz_ has joined #angularjs
[13:02:45] <CocoStorm> thanks Zerot
[13:03:13] *** Ch4rAss has joined #angularjs
[13:03:48] *** asdofindia has joined #angularjs
[13:04:12] *** braoru has quit IRC
[13:04:51] *** Scathen^C has joined #angularjs
[13:05:20] *** kroogs has quit IRC
[13:05:33] *** dbouwman has quit IRC
[13:05:40] *** asdofindia has quit IRC
[13:05:57] *** caitp has quit IRC
[13:06:14] *** danielpquinn has joined #angularjs
[13:06:44] *** hannesvdvreken has joined #angularjs
[13:06:48] *** Daven_ has joined #angularjs
[13:07:12] *** asdofindia has joined #angularjs
[13:07:17] *** peldan_ has quit IRC
[13:07:54] *** bmcgee has joined #angularjs
[13:08:07] *** fuzzy_ has joined #angularjs
[13:08:15] *** dccc has quit IRC
[13:08:57] *** dariocravero has quit IRC
[13:10:14] *** fobin has joined #angularjs
[13:10:50] *** fuzzy has quit IRC
[13:11:16] *** danielpquinn has quit IRC
[13:12:02] *** nytram has joined #angularjs
[13:12:04] *** apetro_ has joined #angularjs
[13:12:14] *** mikehaas763 has joined #angularjs
[13:12:22] *** avens has quit IRC
[13:12:58] *** juampy is now known as juampy_gnomgnom
[13:13:19] *** avens has joined #angularjs
[13:14:12] *** nytrm has quit IRC
[13:14:55] *** Rebirth has quit IRC
[13:15:17] *** Rebirth has joined #angularjs
[13:16:37] *** mikehaas763 has quit IRC
[13:17:32] *** foofoobar has joined #angularjs
[13:17:36] *** drej has joined #angularjs
[13:17:44] *** braoru has joined #angularjs
[13:17:58] *** FunnyLookinHat has joined #angularjs
[13:18:28] *** jumpstracks has joined #angularjs
[13:21:03] *** chrisp_ has joined #angularjs
[13:21:07] <chrisp_> Hi
[13:21:24] *** peldan has joined #angularjs
[13:22:27] *** asdofindia has quit IRC
[13:22:36] *** Scathen^C has left #angularjs
[13:22:54] *** raibutera has joined #angularjs
[13:23:02] *** mercwithamouth has joined #angularjs
[13:23:11] <chrisp_> Can somebody help me with the tutorial?
[13:23:21] *** bicranial has joined #angularjs
[13:24:02] *** Evankhell has quit IRC
[13:24:05] *** dccc has joined #angularjs
[13:24:09] *** AndyFTP has joined #angularjs
[13:25:44] *** ustunozgur has joined #angularjs
[13:25:47] *** fbenoit has quit IRC
[13:27:07] *** azizur has joined #angularjs
[13:27:18] *** jpstone has joined #angularjs
[13:27:27] *** oisinh_ has joined #angularjs
[13:28:05] <Hounddog> chrisp_: just a hint, you also dont go into a car shop to ask if someone can help with your car. You mostly tell them what your problem is.
[13:28:16] *** Evankhell has joined #angularjs
[13:28:56] <chrisp_> Ok sorry
[13:29:49] <chrisp_> In Tutorial 4 "Two Way Binding" the end2end tests are failing because i think the getNames() function isnt working properly
[13:29:54] *** kvnm has joined #angularjs
[13:29:59] *** bmcgee has quit IRC
[13:30:11] <chrisp_> PhoneCat App Phone list view should be possible to control phone order via the drop down select box Message: Expected [ 'Motorola XOOM The next, next generation tablet.', 'Motorola XOOM with Wi-Fi The next, next generation tablet.' ] to equal [ 'MOTOROLA XOOM', 'Motorola XOOM with Wi-Fi' ].
[13:30:12] *** apetro_ has quit IRC
[13:30:21] *** mogaj has joined #angularjs
[13:31:03] *** instence_ has quit IRC
[13:31:33] *** kennbrodhagen has joined #angularjs
[13:32:18] <mogaj> Hi all, can someone help me out ... i am trying show array of arrays in ng-grid the sample data is http://pastebin.com/Y4D9psGn but data is not showing up ... there is no problem with showing array of objects but facing problem with array of arrays can someone guide me please or give some reference
[13:32:23] *** dccc has quit IRC
[13:32:28] *** shorne has joined #angularjs
[13:32:37] *** mercwithamouth has quit IRC
[13:33:34] *** gauravsaini03 has quit IRC
[13:34:07] *** intellix has joined #angularjs
[13:35:40] *** ustunozgur has quit IRC
[13:35:57] *** asdofindia has joined #angularjs
[13:36:00] *** kvnm has quit IRC
[13:36:08] *** jstroem has quit IRC
[13:36:09] *** kennbrodhagen has quit IRC
[13:36:18] *** kvnm has joined #angularjs
[13:37:07] *** jsanchesleao has left #angularjs
[13:37:08] <sacho> chrisp_, are you running those with jquery or jquery lite?
[13:37:44] <chrisp_> im running it with protractor
[13:38:33] *** quantax- has joined #angularjs
[13:38:39] *** Evankhell has quit IRC
[13:38:39] *** ASUChander has quit IRC
[13:39:22] <chrisp_> Expected [ 'Motorola XOOM', 'Motorola XOOM with Wi-Fi' ] to equal [ 'MOTOROLA XOOM', 'Motorola XOOM with Wi-Fi' ].
[13:39:43] <chrisp_> have found something that i forgot the <span> element
[13:39:53] <chrisp_> but now it returns the error above
[13:40:07] *** ckboii89 has joined #angularjs
[13:40:27] <sacho> are you missing the (tm) characters?
[13:41:05] <chrisp_> i have deleted them in the whole project and also in the test
[13:41:24] *** ustunozgur has joined #angularjs
[13:42:03] *** arizzo has joined #angularjs
[13:42:13] *** mehlah_ has quit IRC
[13:42:30] *** howzus has joined #angularjs
[13:43:41] *** ustunozgur has quit IRC
[13:43:47] *** fedenunez has joined #angularjs
[13:43:56] *** ustunozgur has joined #angularjs
[13:44:04] *** wartdev has quit IRC
[13:44:20] *** ckboii89 has quit IRC
[13:44:23] <chrisp_> AAAH I forgot that one MOTOROLA is uppercase
[13:44:24] <chrisp_> :( :(
[13:44:30] <chrisp_> thx for your help!!!! :)
[13:44:39] <chrisp_> shame on me
[13:44:42] <storkme> ... i was gonna mention that, but I figured you already knew.
[13:44:48] *** superplussed has joined #angularjs
[13:44:49] *** Lumio has joined #angularjs
[13:44:58] <storkme> now i feel like an ass :D
[13:45:44] <chrisp_> :D :D
[13:45:56] *** danizord has joined #angularjs
[13:45:59] *** Fire-Dragon-DoL has joined #angularjs
[13:46:21] <chrisp_> the simple things are mostly the reason im stuck :D
[13:47:02] *** sk87 has quit IRC
[13:47:06] *** dc_ has joined #angularjs
[13:47:13] *** dccc has joined #angularjs
[13:47:15] <sakustar> how does one code in temperatures over 30 c (86f) ?
[13:47:46] <storkme> name all your variables and functions after cold things
[13:47:52] *** o_p_z has joined #angularjs
[13:48:26] *** eutheria has joined #angularjs
[13:50:01] *** CocoStorm has quit IRC
[13:50:09] *** instence has joined #angularjs
[13:50:15] *** gauravsaini03 has joined #angularjs
[13:51:08] *** one_zero has quit IRC
[13:52:19] *** evilaliv3 has joined #angularjs
[13:52:20] *** nodweber has quit IRC
[13:53:04] *** melmoussaoui has quit IRC
[13:54:04] <chrisp_> hmm at the "Experiments" does the "unknown" option mean that the select box is empty?
[13:55:42] *** lsiv568 has joined #angularjs
[13:56:32] *** dccc has quit IRC
[13:56:42] *** fbenoit has joined #angularjs
[13:59:09] *** Dalsass_mobi has joined #angularjs
[13:59:41] *** the_fog has joined #angularjs
[14:00:11] *** mennea_ has joined #angularjs
[14:00:20] *** jeffisabelle has quit IRC
[14:00:43] *** kroogs has joined #angularjs
[14:00:44] *** tarnus has joined #angularjs
[14:00:50] *** bmcgee has joined #angularjs
[14:00:54] *** ymammar has joined #angularjs
[14:01:06] *** Sgeo_ has quit IRC
[14:01:53] *** dbouwman has joined #angularjs
[14:01:57] <zelrik> hi
[14:02:06] *** dariocravero has joined #angularjs
[14:02:24] *** Cavallari has joined #angularjs
[14:02:33] *** altmind has joined #angularjs
[14:02:44] *** altious has quit IRC
[14:02:50] *** kvnm has quit IRC
[14:02:56] *** dashed has joined #angularjs
[14:03:04] *** mennea has quit IRC
[14:03:36] *** arizzo has quit IRC
[14:04:09] *** arizzo has joined #angularjs
[14:04:54] *** fuzzy_ has quit IRC
[14:05:24] *** kroogs has quit IRC
[14:05:26] *** fuzzy has joined #angularjs
[14:05:39] *** Lebby1 has joined #angularjs
[14:06:03] *** bicranial has quit IRC
[14:06:23] *** dbouwman has quit IRC
[14:07:03] *** danielpquinn has joined #angularjs
[14:07:04] *** sk87 has joined #angularjs
[14:08:27] *** Lebby11 has joined #angularjs
[14:08:40] *** arizzo has quit IRC
[14:08:41] *** mennea_ has quit IRC
[14:09:01] *** mennea has joined #angularjs
[14:09:10] *** Lebby1 has quit IRC
[14:09:13] *** Lebby12 has joined #angularjs
[14:09:44] *** eperez_ has joined #angularjs
[14:09:50] *** Scathen^C has joined #angularjs
[14:10:19] *** eperez_ has quit IRC
[14:10:30] *** Scathen^C has quit IRC
[14:10:45] *** amedia has quit IRC
[14:11:36] *** Cavallari has quit IRC
[14:11:59] *** danielpquinn has quit IRC
[14:12:00] *** eperez_ has joined #angularjs
[14:12:22] *** arizzo has joined #angularjs
[14:12:54] *** mikehaas763 has joined #angularjs
[14:12:57] *** o_p_z has quit IRC
[14:13:06] *** dccc has joined #angularjs
[14:13:12] *** Cavallari has joined #angularjs
[14:14:08] *** Lebby11 has quit IRC
[14:14:13] *** hswolff has joined #angularjs
[14:14:50] *** eperez_ has quit IRC
[14:14:59] *** wartdev has joined #angularjs
[14:15:12] *** jeffisabelle has joined #angularjs
[14:15:19] *** Joulse has joined #angularjs
[14:15:25] *** Cavallari has quit IRC
[14:15:32] *** marcghorayeb is now known as marcghorayeb|afk
[14:15:32] *** edzez has joined #angularjs
[14:15:53] *** eperez_ has joined #angularjs
[14:15:58] *** slainer68_ftw has joined #angularjs
[14:16:08] *** slainer68_ftw has joined #angularjs
[14:16:49] *** drej has quit IRC
[14:17:07] *** nodweber has joined #angularjs
[14:17:27] *** mehlah has joined #angularjs
[14:18:00] *** o_p_z has joined #angularjs
[14:18:04] *** drej has joined #angularjs
[14:18:08] *** Lebby12 has quit IRC
[14:18:10] *** krawchyk has joined #angularjs
[14:18:11] *** mikehaas763 has quit IRC
[14:18:47] *** VinceZa has joined #angularjs
[14:19:33] *** wartdev has quit IRC
[14:19:37] *** dariocravero has quit IRC
[14:19:44] *** toin0u|away is now known as toin0u
[14:20:08] <derrzzaa> to answer my own question I asked earlier, you can't use controller as with directives that have isolated scopes
[14:20:09] <derrzzaa> http://jsbin.com/woman/1/edit
[14:20:25] *** vbabiy has joined #angularjs
[14:20:27] *** Lebby1 has joined #angularjs
[14:20:37] *** mchapman has quit IRC
[14:20:38] <derrzzaa> ^ great jsbin url though
[14:20:41] *** Lebby1 has quit IRC
[14:21:01] *** Daven_ has quit IRC
[14:21:02] <angularnewbee> how can i get an property which i set with app.value("myproperty",value); ?
[14:21:03] *** Leech has joined #angularjs
[14:21:38] <angularnewbee> is the only way to get it with method(["myproperty"])?
[14:21:51] <Zerot> angularnewbee: you inject it into controllers or directives
[14:21:55] *** DevAntoine has joined #angularjs
[14:22:00] <Zerot> or services
[14:22:12] *** Lebby1 has joined #angularjs
[14:22:14] <Zerot> the same way you would inject a service
[14:22:28] *** Lebby1 has quit IRC
[14:22:50] *** a_[w] has joined #angularjs
[14:22:50] *** edzez has quit IRC
[14:22:55] <angularnewbee> so if the controller doesnt provide a parameter with the injected value there is no other way to get the value of myproperty. hmm ok
[14:23:38] <Foxandxss> derrzzaa: of course, that is why isolated scopes exist
[14:24:30] <Zerot> derrzzaa: you are pushing main as items into the isolate scope but in the template you still try to use it as main
[14:24:44] *** ymammar has quit IRC
[14:24:48] *** arizzo has quit IRC
[14:25:16] *** am285 has joined #angularjs
[14:25:22] *** arizzo has joined #angularjs
[14:25:22] *** Lebby1 has joined #angularjs
[14:25:23] <Zerot> derrzzaa: change your scope:{items: '='} to scope:{main: '=items'}
[14:25:26] *** zumba_addict has joined #angularjs
[14:25:32] *** dccc has quit IRC
[14:25:37] *** Lebby1 has quit IRC
[14:26:01] *** Lebby1 has joined #angularjs
[14:26:09] *** ninkotech__ has quit IRC
[14:26:20] *** Lebby1 has left #angularjs
[14:26:52] *** ninkotech_ has quit IRC
[14:27:05] <angularnewbee> i got this app.value("config",value) and my factory app.factory('user', function ($resource) {}); where have i to place the injection in the factory parameter to retriev the config?
[14:27:08] *** ppppaul has joined #angularjs
[14:27:40] <derrzzaa> Zerot, yeah that doesn't make sense. Was only to demonstrate it being isolated
[14:28:10] <derrzzaa> Foxandxss, it took me too long to realise the directives in question were isolated!
[14:28:11] *** patta_ has joined #angularjs
[14:28:13] *** am285 has left #angularjs
[14:28:18] <a_[w]> hello
[14:28:18] <Zerot> derrzzaa: well, isolated scopes don't inherit. Hence nothing is on the scope
[14:28:23] *** shennyg__ has joined #angularjs
[14:28:29] *** liri has quit IRC
[14:28:30] *** frozenice has quit IRC
[14:28:30] *** CaShY_ has quit IRC
[14:28:31] *** eribeiro has quit IRC
[14:28:31] *** asilluron_______ has quit IRC
[14:28:31] *** kudos has quit IRC
[14:28:32] *** mrpj has quit IRC
[14:28:42] *** discipolo_ has joined #angularjs
[14:28:52] *** isacloud__ has quit IRC
[14:28:52] *** justicefries_ has quit IRC
[14:28:53] *** Imdsm^ has quit IRC
[14:28:53] *** elijah has quit IRC
[14:28:53] *** ggherdov has quit IRC
[14:28:54] *** oyvinmar has quit IRC
[14:28:54] *** iivvoo has quit IRC
[14:28:54] <Zerot> angularnewbee: app.factory('user', function ($resource, config) {});
[14:28:59] <derrzzaa> I'm using this library http://daftmonk.github.io/angular-tour/
[14:29:03] <angularnewbee> thanks Zerot
[14:29:14] <derrzzaa> the way it's written though assumes you're always in the same scope
[14:29:19] <a_[w]> I've made a small addition to modules, here posted pull request. sorry, didn't know i should sign CLA and discuss here first. :)
[14:29:20] <a_[w]> https://github.com/angular/angular.js/pull/8087
[14:29:33] *** gnar_matix has joined #angularjs
[14:29:35] *** Dwarf has quit IRC
[14:29:36] *** ozatomic has quit IRC
[14:29:41] *** arizzo has quit IRC
[14:29:57] *** oisinh_ has quit IRC
[14:29:58] *** richburke has quit IRC
[14:29:59] *** remysharp has quit IRC
[14:30:00] *** t_kjaergaard has quit IRC
[14:30:00] *** anger has quit IRC
[14:30:00] *** arcanis has quit IRC
[14:30:01] *** Templarian has quit IRC
[14:30:02] *** jellkyo has quit IRC
[14:30:02] *** NullSoldier has quit IRC
[14:30:03] *** Cixis_ has joined #angularjs
[14:30:12] *** scottala1 has joined #angularjs
[14:30:12] *** jaawerth_ has joined #angularjs
[14:30:13] *** storresi has quit IRC
[14:30:15] *** scassidy_ has joined #angularjs
[14:30:20] *** RoryHughes has quit IRC
[14:30:20] *** eshlox has quit IRC
[14:30:20] *** timppa has quit IRC
[14:30:22] *** lietu has quit IRC
[14:30:25] *** remysharp has joined #angularjs
[14:30:27] *** lietu_ has joined #angularjs
[14:30:28] *** t_kjaergaard has joined #angularjs
[14:30:31] *** kudos has joined #angularjs
[14:30:31] *** liri has joined #angularjs
[14:30:34] *** mrpj has joined #angularjs
[14:30:35] *** timppa has joined #angularjs
[14:30:35] *** asilluron_______ has joined #angularjs
[14:30:36] <a_[w]> currently using wrapper method over module to grab list of modues. since its considered to be a good practice to have one angular application per web-page, this may be good one to not list every loaded module to be present in application
[14:30:37] *** marcghorayeb|afk is now known as marcghorayeb
[14:30:37] *** CaShY has joined #angularjs
[14:30:39] *** omsmith_ has joined #angularjs
[14:30:40] *** eperez_ has quit IRC
[14:30:44] *** sgronblo_ has joined #angularjs
[14:30:47] *** isacloud___ has joined #angularjs
[14:30:47] *** walden|afk is now known as walden
[14:30:47] *** Punna has joined #angularjs
[14:30:48] *** Rikle_S_ has joined #angularjs
[14:30:48] *** jellkyo has joined #angularjs
[14:30:49] *** oisinh_ has joined #angularjs
[14:30:49] *** richburke has joined #angularjs
[14:30:50] *** Templarian_ has joined #angularjs
[14:30:50] *** oyvinmar has joined #angularjs
[14:30:55] *** benvds_ has joined #angularjs
[14:31:02] *** shennyg_ has quit IRC
[14:31:03] *** richleland has quit IRC
[14:31:03] *** Pwnna has quit IRC
[14:31:04] *** Cixis has quit IRC
[14:31:06] *** icarus75 has quit IRC
[14:31:07] *** scottalan has quit IRC
[14:31:07] *** seanmarcia has quit IRC
[14:31:08] *** ajk27 has quit IRC
[14:31:09] *** admix|away has quit IRC
[14:31:09] *** scassidy has quit IRC
[14:31:10] *** spion has quit IRC
[14:31:11] *** jaawerth has quit IRC
[14:31:12] *** patta has quit IRC
[14:31:14] *** yhsiang has quit IRC
[14:31:14] *** bretep has quit IRC
[14:31:15] *** sgronblo has quit IRC
[14:31:17] *** benvds has quit IRC
[14:31:17] *** omsmith has quit IRC
[14:31:17] *** Rikle_S has quit IRC
[14:31:19] *** elnur has quit IRC
[14:31:20] *** eshlox has joined #angularjs
[14:31:21] *** shennyg__ has quit IRC
[14:31:22] *** shennyg__ has joined #angularjs
[14:31:22] *** NullSoldier has joined #angularjs
[14:31:23] *** justicefries_ has joined #angularjs
[14:31:24] *** eribeiro has joined #angularjs
[14:31:24] *** frozenice has joined #angularjs
[14:31:24] *** kvnm has joined #angularjs
[14:31:25] *** elijah has joined #angularjs
[14:31:27] *** Imdsm^ has joined #angularjs
[14:31:28] *** Punna is now known as Pwnna
[14:31:29] *** spion_ has joined #angularjs
[14:31:29] *** remysharp has quit IRC
[14:31:30] *** remysharp has joined #angularjs
[14:31:30] *** kudos has quit IRC
[14:31:30] *** kudos has joined #angularjs
[14:31:31] *** liri has quit IRC
[14:31:32] *** liri has joined #angularjs
[14:31:32] *** asilluron_______ has quit IRC
[14:31:32] *** asilluron_______ has joined #angularjs
[14:31:33] *** isacloud___ has quit IRC
[14:31:34] *** isacloud___ has joined #angularjs
[14:31:34] *** jellkyo has quit IRC
[14:31:35] *** jellkyo has joined #angularjs
[14:31:35] *** Need has joined #angularjs
[14:31:35] *** oisinh_ has quit IRC
[14:31:36] *** oisinh_ has joined #angularjs
[14:31:36] *** Templarian_ has quit IRC
[14:31:36] *** Templarian_ has joined #angularjs
[14:31:37] *** richburke has quit IRC
[14:31:37] *** richburke has joined #angularjs
[14:31:37] *** oyvinmar has quit IRC
[14:31:38] *** oyvinmar has joined #angularjs
[14:31:38] *** elijah has quit IRC
[14:31:39] *** elijah has joined #angularjs
[14:31:40] *** Imdsm^ has quit IRC
[14:31:40] *** Imdsm^ has joined #angularjs
[14:31:41] *** RoryHughes has joined #angularjs
[14:31:41] *** eribeiro has quit IRC
[14:31:41] *** eribeiro has joined #angularjs
[14:31:41] *** frozenice has quit IRC
[14:31:42] *** frozenice has joined #angularjs
[14:31:42] *** NullSoldier has quit IRC
[14:31:42] *** NullSoldier has joined #angularjs
[14:31:42] *** justicefries_ has quit IRC
[14:31:42] *** justicefries_ has joined #angularjs
[14:31:43] *** Need has quit IRC
[14:31:44] *** Need has joined #angularjs
[14:31:44] *** anger has joined #angularjs
[14:31:44] <Need> hi there!
[14:31:45] *** Daven_ has joined #angularjs
[14:31:45] *** icarus75 has joined #angularjs
[14:31:45] *** richleland has joined #angularjs
[14:31:46] *** ozatomic has joined #angularjs
[14:31:46] *** iivvoo has joined #angularjs
[14:31:46] <a_[w]> just signed CLA, should be accepted soon :)
[14:31:47] *** arcanis has joined #angularjs
[14:32:32] *** elnur has joined #angularjs
[14:32:34] <Need> I'm new to AngularJS and I'm having some trouble. Could I find some help in this chat? :)
[14:32:41] *** bretep has joined #angularjs
[14:32:46] *** seanmarcia has joined #angularjs
[14:33:35] *** admix|away has joined #angularjs
[14:33:39] *** Need has quit IRC
[14:33:41] <frege> yo
[14:33:48] *** Daven_ has quit IRC
[14:34:01] *** aqr has joined #angularjs
[14:34:10] *** arussel has joined #angularjs
[14:34:19] *** apetro_ has joined #angularjs
[14:34:22] <frege> is it a bad idea to have a navigation bar in your page? something like this Account>Items>Item 5
[14:34:34] *** darkgray has quit IRC
[14:34:34] *** aqr is now known as darkgray
[14:34:38] <frege> so people can click on them and go back
[14:34:48] <Zerot> frege: depends on the site
[14:34:58] <frege> Zerot: it's a dashboard
[14:35:16] <frege> probably it will be helpful to simplify it a bit
[14:35:24] <Zerot> frege: then again. it depends on the site. Do you think it is a good idea? then go for it
[14:35:34] *** yhsiang has joined #angularjs
[14:35:51] *** ggherdov has joined #angularjs
[14:36:13] <frege> is it easy to be implemented?
[14:36:22] <Zerot> should not be that hard
[14:36:26] <frege> cool
[14:36:33] *** quantax- has quit IRC
[14:37:00] *** kvnm has quit IRC
[14:37:15] <arussel> is there an angular way to watch for the size of an element width and height ?
[14:37:43] *** matiasow has joined #angularjs
[14:37:50] <Zerot> with $watch you mean? you can give it a function that checks the width and height of an element and returns those
[14:38:02] *** the_fog has quit IRC
[14:38:44] <arussel> Zerot probably not with $watch, AFAIK it doesn't watch for resizing of the window
[14:38:48] *** fixl has quit IRC
[14:39:27] *** ninkotech__ has joined #angularjs
[14:39:27] *** ninkotech_ has joined #angularjs
[14:39:33] <ppppaul> aren't events fired when resizing occurs?
[14:39:56] <Zerot> arussel: functions in $watch are executed every time the digest runs. You would have to make sure that it runs when the window resizes
[14:40:01] <ppppaul> in a link function you can probably use element.on("resizeEvent", fn)
[14:40:03] <thomastuts> does anyone know if there's a way to enable popups for things like oauth? i'm sure there's a way because in the oauth daemon control panel popups aren't blocked, however in my own code they are. any ideas?
[14:40:06] *** jeffszusz has joined #angularjs
[14:40:16] *** OdinIncarnate has joined #angularjs
[14:40:45] *** spetron has joined #angularjs
[14:40:52] *** ckboii89 has joined #angularjs
[14:41:07] *** kvnm_ has joined #angularjs
[14:41:19] *** dccc has joined #angularjs
[14:41:30] <arussel> ppppaul, Zerot thanks for the help
[14:41:33] *** dariocravero has joined #angularjs
[14:41:47] *** wizibe has quit IRC
[14:41:49] *** azizur5 has joined #angularjs
[14:42:16] *** Dwarf has joined #angularjs
[14:42:16] *** azizur has quit IRC
[14:42:35] *** SpearThruster has quit IRC
[14:42:37] *** el1t3st has joined #angularjs
[14:43:58] *** cbeacock has joined #angularjs
[14:44:06] *** cpciv has joined #angularjs
[14:44:53] *** mfunkie has joined #angularjs
[14:45:02] <el1t3st> hi all. Can anyone point me in the right direction. I want to find out how to do sequential animations in angular
[14:45:07] *** apetro_ has quit IRC
[14:45:08] *** ckboii89 has quit IRC
[14:45:19] *** knownasilya has joined #angularjs
[14:45:22] *** Fishy has quit IRC
[14:45:26] *** imehesz has joined #angularjs
[14:45:37] *** cswelin- is now known as cswelin
[14:45:59] *** Fishy has joined #angularjs
[14:46:06] <angularnewbee> I got the error Error: [$injector:unpr] Unknown provider: routerProvider <- router but i defined one in config.js with app.config(['$routeProvider', function ($routeProvider) {$routeProvider.otherwise({ redirectTo: '/home' });}]);
[14:46:22] <angularnewbee> so would else could be the problem?
[14:47:27] *** m____s has joined #angularjs
[14:47:36] *** scmx has joined #angularjs
[14:47:57] <guilbep> angularnewbee maybe angular.module('yourapp', ['ngRoute'])
[14:47:58] <guilbep> ?
[14:48:27] <angularnewbee> i defined that too
[14:48:40] <Zerot> angularnewbee: and you did load the ngroute js file?
[14:49:02] <angularnewbee> yes, with <script src="Scripts/angular-route.js"></script>
[14:49:24] <Zerot> ok. that error shows that you are trying to use 'router' somewhere
[14:49:51] *** milka has quit IRC
[14:49:55] <Zerot> which is not defined
[14:50:16] <angularnewbee> ah okay
[14:50:23] *** bengillies has quit IRC
[14:50:29] *** ustunozgur has quit IRC
[14:50:30] *** Fishy has quit IRC
[14:50:30] <angularnewbee> so its injection 'router' but there is no one defined
[14:50:34] *** arizzo has joined #angularjs
[14:51:31] <angularnewbee> so router must be defined with app.config or app.constant right?
[14:51:34] *** mikehaas763 has joined #angularjs
[14:51:38] *** jkremser has joined #angularjs
[14:51:38] *** jkremser has joined #angularjs
[14:51:45] *** dccc has quit IRC
[14:51:47] *** edzez has joined #angularjs
[14:52:02] *** ustunozgur has joined #angularjs
[14:52:05] <jeffszusz> is there anything special I have to do in order to use a regular javascript package in angular? I've got node-uuid imported in my html, but not sure how to import it in angular
[14:53:09] *** ninkotech__ has quit IRC
[14:53:09] *** ninkotech_ has quit IRC
[14:53:27] <Zerot> jeffszusz: you can use normal js the same way as you would normally without angular
[14:53:52] *** lordkryss has quit IRC
[14:54:04] <Zerot> however, for cleanliness it is often advised to wrap it in an angular module with angular services, directives, etc.
[14:54:24] *** avens has quit IRC
[14:54:46] <jeffszusz> it's just a UUID generator, I don't think i need the overhead of a service for it
[14:54:57] *** ninkotech__ has joined #angularjs
[14:55:00] *** ninkotech_ has joined #angularjs
[14:55:24] <jeffszusz> it's wrapped in a service that creates the objects that get the uuid so
[14:55:34] *** RandyT has quit IRC
[14:56:03] *** colinbits has joined #angularjs
[14:56:11] <jeffszusz> Zerot, how do I refer to a script that isn't an angular module in my dependencies? or do I not put it there?
[14:56:33] <Zerot> jeffszusz: you don't put it there
[14:56:45] <Zerot> just use it as if you are not using angular
[14:56:49] *** ninkotech_ has quit IRC
[14:56:53] *** mikehaas763 has quit IRC
[14:56:58] <jeffszusz> oh
[14:57:00] *** mattwynne has joined #angularjs
[14:57:01] <el1t3st> hi all. Can anyone point me in the right direction. I want to find out how to do sequential animations in angular
[14:57:08] <jeffszusz> wow it just gets put into the global scope
[14:57:08] <jeffszusz> ok
[14:57:14] *** Milanito has joined #angularjs
[14:57:25] *** morenoh149 has quit IRC
[14:57:32] <Zerot> jeffszusz: that is why you generally want to wrap it in a angular service/module
[14:57:44] *** RandyT has joined #angularjs
[14:57:48] *** cristatus has joined #angularjs
[14:57:55] <Zerot> jeffszusz: so it doesn't need to be a global/in window
[14:57:59] <el1t3st> i've asked a question on SO as well if anyone wants more context
[14:57:59] <el1t3st> http://stackoverflow.com/questions/24610619/angular-sequential-animations
[14:58:22] *** lsiv568 has quit IRC
[14:58:25] *** arussel has quit IRC
[14:58:55] *** krawchyk has quit IRC
[14:59:03] *** TorchDragon has joined #angularjs
[15:00:22] *** kroogs has joined #angularjs
[15:00:26] *** krawchyk has joined #angularjs
[15:01:36] *** brianturgeon has joined #angularjs
[15:01:43] *** bengillies has joined #angularjs
[15:01:56] *** arizzo has quit IRC
[15:02:04] *** wizibe has joined #angularjs
[15:02:33] *** dbouwman has joined #angularjs
[15:02:52] *** arizzo has joined #angularjs
[15:03:44] *** the_fog has joined #angularjs
[15:03:46] *** massi_syed has quit IRC
[15:04:27] *** Sebastien-L has joined #angularjs
[15:04:37] *** josh-k_ has joined #angularjs
[15:05:32] *** elrabin has joined #angularjs
[15:05:42] *** kroogs has quit IRC
[15:07:11] *** zumba_addict has quit IRC
[15:07:24] *** intellix has quit IRC
[15:07:30] *** KurtB has joined #angularjs
[15:07:32] *** dbouwman has quit IRC
[15:07:41] *** danielpquinn has joined #angularjs
[15:07:53] *** gnar_matix has quit IRC
[15:08:22] *** rchavik has quit IRC
[15:08:23] *** josh-k has quit IRC
[15:08:24] *** dccc has joined #angularjs
[15:08:28] *** FIFOd[a] has joined #angularjs
[15:08:42] *** krawchyk has quit IRC
[15:08:55] *** el1t3st has quit IRC
[15:09:15] *** fobin has quit IRC
[15:09:18] *** ineedarobot has quit IRC
[15:09:31] *** shinnya has joined #angularjs
[15:09:46] *** avens has joined #angularjs
[15:10:06] *** saiko-chriskun has joined #angularjs
[15:10:32] *** Siecje has joined #angularjs
[15:10:55] *** rbs has joined #angularjs
[15:11:16] *** cboden has joined #angularjs
[15:11:25] *** bbankes has joined #angularjs
[15:11:27] *** intellix has joined #angularjs
[15:11:39] *** hswolff has quit IRC
[15:11:54] *** devx101 has joined #angularjs
[15:12:01] *** scmx has quit IRC
[15:12:15] *** caitp has joined #angularjs
[15:12:18] *** howzus has quit IRC
[15:12:24] *** eperez has joined #angularjs
[15:12:39] *** danielpquinn has quit IRC
[15:13:09] *** Noeble has quit IRC
[15:13:55] *** altmind has quit IRC
[15:14:09] *** drej has quit IRC
[15:14:09] *** Noeble has joined #angularjs
[15:14:28] *** mccarrontr1ck has joined #angularjs
[15:14:33] *** o_p_z has quit IRC
[15:14:47] *** milka has joined #angularjs
[15:14:48] *** seydoggy has joined #angularjs
[15:14:49] *** saiko-chriskun has quit IRC
[15:14:57] *** juanlas has joined #angularjs
[15:15:05] *** kvnm_ has quit IRC
[15:15:27] *** devx101 has quit IRC
[15:15:44] *** kvnm has joined #angularjs
[15:15:48] *** arizzo has quit IRC
[15:15:54] *** Efrem has joined #angularjs
[15:16:15] *** amedia has joined #angularjs
[15:16:15] *** lw has joined #angularjs
[15:16:19] *** arizzo has joined #angularjs
[15:16:32] *** oniijin has joined #angularjs
[15:16:40] *** ianpirro has joined #angularjs
[15:16:47] *** caitp has quit IRC
[15:16:52] *** cpciv has quit IRC
[15:17:06] *** Asiajey has quit IRC
[15:17:10] *** jdj_dk has quit IRC
[15:17:44] *** ineedarobot has joined #angularjs
[15:18:22] *** azizur5 has quit IRC
[15:18:28] *** nodweber has quit IRC
[15:18:35] *** marcghorayeb is now known as marcghorayeb|afk
[15:18:47] *** devx101 has joined #angularjs
[15:19:04] *** gnar_matix has joined #angularjs
[15:19:50] <djam90> Does ng-src work on Apple devices?
[15:19:56] *** kvnm has quit IRC
[15:20:08] *** dccc has quit IRC
[15:20:49] *** tomzx`afk is now known as tomzx
[15:20:53] *** arizzo has quit IRC
[15:21:05] *** annlewis has joined #angularjs
[15:21:09] *** teslanick has joined #angularjs
[15:21:14] <asdf`> hey, i did a `<li ng-if="..." ng-repeat="...">` and i wanted it to not run the repeat at all, but instead it ran the repeat and applied ng-if afterwards. I'm aware ng-if has lower priority than ng-repeat and that's the cause, but was it always like that?
[15:22:12] *** mikehaas763 has joined #angularjs
[15:22:23] *** rho has joined #angularjs
[15:22:31] <ppppaul> asdf`, maybe you can use a filter instead
[15:22:43] <djam90> We have ng-src for an image but it does not seem to work on iPad?
[15:22:44] <ppppaul> ng-if and ng-repeat make their own scopes and things get complicated
[15:22:59] *** DerekPerkins has joined #angularjs
[15:23:20] <Foxandxss> asdf`: don't do that
[15:23:36] <Foxandxss> follow ppppaul advice
[15:23:52] *** darrin has joined #angularjs
[15:24:00] *** corban has quit IRC
[15:24:50] <djam90> Is there any reason ng-src is not loading an image? If I right click the image and click "open in new tab" in chrome, then it loads?
[15:25:33] *** carpediembaby has joined #angularjs
[15:26:00] <asdf`> Foxandxss, ppppaul, hmm, but i don't want to hide some of the items in the list, i'd like to hide the list itself; ie. not run ng-repeat at all. I've just put ng-if higher up in the dom than the ng-repeat, but i'm just asking about the history as i thought this worked the other way before
[15:26:13] *** devx101 has quit IRC
[15:26:14] *** devx101_ has joined #angularjs
[15:26:24] *** jdowdle has joined #angularjs
[15:27:22] *** eperez has quit IRC
[15:27:27] <carpediembaby> Hello, i am writing a directive which binds to the onbeforeunload event (to notify a user if there are unsaved changes in the page). It works the first time but after i save the model (through an ajax call, the binding to onbeforeunload no longer works -- the function bound is not called at all. Does anyone have any clue why this might be?
[15:27:41] *** eperez has joined #angularjs
[15:27:58] *** mogaj has quit IRC
[15:28:00] *** naneau has joined #angularjs
[15:28:37] *** teslanick has quit IRC
[15:29:01] *** Jon30 has joined #angularjs
[15:29:45] <janp> Hi guys. Quick question: Is there a way to select an input field by the model that is bound to it? Example scenario: inputfieldwithmodelXYZ.focus()
[15:29:57] *** gauravsaini03 has quit IRC
[15:29:58] *** seydoggy has quit IRC
[15:30:55] *** spetron has quit IRC
[15:31:01] *** jk-5 has quit IRC
[15:31:30] *** meinside has quit IRC
[15:31:46] *** bmac has joined #angularjs
[15:31:47] <janp> anyone?
[15:32:12] *** fuzzy has quit IRC
[15:32:26] *** kennbrodhagen has joined #angularjs
[15:32:44] *** patrickc_ has joined #angularjs
[15:32:44] *** fedenunez has quit IRC
[15:32:45] *** altious has joined #angularjs
[15:32:47] *** rawGem has joined #angularjs
[15:32:53] *** mmitchell has joined #angularjs
[15:32:59] <tangorri> anyone use pure js for drag'n'drop I can't store the dataTransfer correctly ...
[15:32:59] <janp> Hi guys. Quick question: Is there a way to select an input field by the model that is bound to it? Example scenario: inputfieldwithmodelXYZ.focus()
[15:33:00] *** rawGem is now known as T_Hunt
[15:33:18] *** fuzzy has joined #angularjs
[15:33:34] *** fbenoit has quit IRC
[15:33:58] <oniijin> mornin Foxandxss
[15:34:08] <Foxandxss> afternoon oniijin
[15:34:09] *** atomical has joined #angularjs
[15:34:57] *** FunnyLookinHat has quit IRC
[15:35:05] <Foxandxss> asdf`: ah, that syntax wasn't for that so putting the ng-if in a parent is the way to go
[15:35:11] *** Ymesio has joined #angularjs
[15:35:14] *** marcghorayeb|afk is now known as marcghorayeb
[15:35:35] *** oisinh_ has quit IRC
[15:36:01] *** dccc has joined #angularjs
[15:36:03] <mikehaas763> A 'requiring' directive needs a link function and a 'required' directive needs a controller in order for the 'require' to be enforced, correct?
[15:36:22] *** jk-5 has joined #angularjs
[15:36:36] *** jk-5 is now known as jk-5|gone
[15:36:52] *** kennbrodhagen has quit IRC
[15:37:15] *** jk-5|gone is now known as jk-5
[15:37:20] *** Sebastien-L has quit IRC
[15:37:31] *** patrickc_ has quit IRC
[15:37:44] *** kirfu|work has joined #angularjs
[15:38:07] *** patrickc_ has joined #angularjs
[15:38:11] *** brianturgeon has quit IRC
[15:38:35] <tangorri> anyone doing drag/drop ?
[15:38:51] <tangorri> seels hard with angular
[15:38:52] *** livingstn has joined #angularjs
[15:39:12] <asdf`> Foxandxss, i see; thanks
[15:39:14] <zelrik> angularnewbee, better call it CONFIG
[15:39:16] *** Jon30 has quit IRC
[15:39:18] *** krawchyk has joined #angularjs
[15:39:31] <zelrik> damn
[15:39:43] <zelrik> missing the historic again
[15:39:44] *** corban has joined #angularjs
[15:40:11] *** seydoggy has joined #angularjs
[15:40:12] *** aesinv`w has joined #angularjs
[15:40:52] *** bayousoft has joined #angularjs
[15:40:57] *** shackleford has joined #angularjs
[15:41:18] *** Fishy__ has joined #angularjs
[15:41:21] *** fbenoit has joined #angularjs
[15:41:31] *** jbourassa has joined #angularjs
[15:41:37] *** ckboii89 has joined #angularjs
[15:41:47] *** DerekPerkins has quit IRC
[15:41:56] *** seydoggy has quit IRC
[15:42:03] *** dashed has quit IRC
[15:42:06] *** superplussed has quit IRC
[15:42:29] *** seydoggy has joined #angularjs
[15:42:36] *** patrickc_ has quit IRC
[15:42:57] *** teslanick has joined #angularjs
[15:43:26] *** gauravsaini03 has joined #angularjs
[15:43:45] *** anjumkaiser has joined #angularjs
[15:43:46] *** shackleford has quit IRC
[15:43:47] *** dccc has quit IRC
[15:44:02] *** shackleford has joined #angularjs
[15:44:29] *** juampy_gnomgnom has quit IRC
[15:44:39] *** gnar_matix has quit IRC
[15:44:42] *** teslanick has left #angularjs
[15:44:55] *** kvnm has joined #angularjs
[15:44:59] *** Bhaveshletter has quit IRC
[15:45:19] *** miname has quit IRC
[15:45:56] *** ckboii89 has quit IRC
[15:47:30] *** seydoggy has quit IRC
[15:47:38] *** sloria has left #angularjs
[15:47:40] *** jdj_dk has joined #angularjs
[15:48:14] *** spion_ is now known as spion
[15:48:14] *** hswolff has joined #angularjs
[15:48:16] *** ianpirro has quit IRC
[15:48:33] *** shackleford has quit IRC
[15:49:19] *** shackleford has joined #angularjs
[15:51:24] <raibutera> anyone going to the london meetup tomorrow?
[15:51:34] *** m____s has quit IRC
[15:51:51] *** xastey has joined #angularjs
[15:52:24] <Foxandxss> not me
[15:53:08] *** jdj_dk has quit IRC
[15:53:11] *** eperez has quit IRC
[15:53:22] <raibutera> fair enough
[15:53:32] *** eperez has joined #angularjs
[15:55:14] <Foxandxss> and first notice I have
[15:55:17] <zelrik> raibutera, I am 6000 kms away but sure
[15:55:26] *** motionman has joined #angularjs
[15:55:26] *** motionman has joined #angularjs
[15:55:54] *** Snugug has joined #angularjs
[15:55:56] *** andrewhl has joined #angularjs
[15:55:59] <raibutera> ah Foxandxss spots fill up fast, are you a londoner?
[15:56:01] <raibutera> i signed up a month ago
[15:56:12] <Foxandxss> No, I am not from UK
[15:56:14] <raibutera> zelrik, australasia?
[15:56:22] <zelrik> lol no
[15:56:23] *** anjumkaiser has quit IRC
[15:56:26] <zelrik> Canadia
[15:56:35] <raibutera> Canad_i_a YES
[15:56:42] <Foxandxss> I am from Spania
[15:56:50] *** benjf has joined #angularjs
[15:57:04] *** anjumkaiser1 has joined #angularjs
[15:57:09] *** jk-5 has quit IRC
[15:57:21] *** ninkotech__ has quit IRC
[15:57:39] *** encryptd_fractl has joined #angularjs
[15:58:13] *** Voyage has quit IRC
[15:58:19] *** BillCriswell has joined #angularjs
[15:59:01] *** dccc has joined #angularjs
[16:00:08] *** superplussed has joined #angularjs
[16:00:19] *** kroogs has joined #angularjs
[16:00:23] <zelrik> hmm
[16:00:30] <zelrik> where can I find a nice template for a demo page
[16:01:02] <raibutera> completely unrelated to angularJS, but anyone on OSX here know how I could figure out why macvim is hijacking some of my filetype assocations? I've never used it in my life (dirty sublime text 3 user here)
[16:01:17] *** Bade has joined #angularjs
[16:01:27] *** yoshokatana has joined #angularjs
[16:01:36] *** avens_ has joined #angularjs
[16:01:36] *** darrin has quit IRC
[16:01:42] <oniijin> when you install stuff sometimes it just does it automatically raibutera
[16:01:52] <zelrik> caitp.github.io/ui-comments/#/
[16:02:01] <zelrik> I want the same layout
[16:02:12] *** Joulse has quit IRC
[16:02:22] <oniijin> that's just a default bs2 style
[16:02:23] *** Ch4rAss has quit IRC
[16:02:24] *** jk-5 has joined #angularjs
[16:02:25] <raibutera> yeah oniijin but I have no idea what i could have installed for it to happen
[16:02:27] <oniijin> it's not really a template
[16:02:31] *** enigmarm has joined #angularjs
[16:02:40] <zelrik> oniijin, link to it?
[16:02:42] <oniijin> raibutera just right click, open with, and set default app
[16:02:47] *** FIFOd[a] has quit IRC
[16:02:47] <universa1> zelrik: getbootstrap.com
[16:02:50] *** devx101_ has quit IRC
[16:02:59] <raibutera> oniijin i do that and it reverts back after a few days
[16:03:08] <oniijin> lol
[16:03:14] <oniijin> ur gettin haxed =p
[16:03:19] *** dbouwman has joined #angularjs
[16:04:06] <raibutera> i'm thinking it might have something to do with my dotfiles b/c I cloned some off github about 6 months ago and they're mystical magical mythical creatures to me
[16:04:09] <zelrik> universa1, ok...
[16:04:10] *** krupnik has quit IRC
[16:04:22] <zelrik> didnt know it was just bootsrap
[16:04:27] <zelrik> bootstrap
[16:04:31] <oniijin> zelrik boobstrap
[16:04:47] <oniijin> u prob want uibootstrap if you're doing ng stuff tho
[16:04:58] <zelrik> yeah
[16:04:59] <universa1> zelrik: looks like panels ;) but just inspect the html and look what structure it uses ;)
[16:05:08] *** superplussed has quit IRC
[16:05:11] *** avens has quit IRC
[16:05:36] *** fairchild has joined #angularjs
[16:05:41] *** Bade has quit IRC
[16:05:44] *** kroogs has quit IRC
[16:06:07] *** eperez has quit IRC
[16:06:09] *** darrin has joined #angularjs
[16:06:13] *** dbouwman has quit IRC
[16:06:41] *** dbouwman has joined #angularjs
[16:07:20] *** ianpirro has joined #angularjs
[16:07:39] *** Joulse has joined #angularjs
[16:07:56] *** aaronmitchell has joined #angularjs
[16:08:32] *** danielpquinn has joined #angularjs
[16:08:33] *** aesinv`w has quit IRC
[16:09:01] *** dccc has quit IRC
[16:09:11] <zelrik> universa1, I just wanna make my demo look nicer :)
[16:09:32] *** superplussed has joined #angularjs
[16:09:33] *** krnflake has quit IRC
[16:09:48] *** aesinv`w has joined #angularjs
[16:10:05] *** squeakytoy has joined #angularjs
[16:10:15] <oniijin> geotheme that bish
[16:10:15] *** tomzx is now known as tomzx`afk
[16:10:25] <Hounddog> Foxandxss: where from spain if i may ask?
[16:10:27] *** azizur has joined #angularjs
[16:10:29] *** fedenunez has joined #angularjs
[16:10:31] *** eperez_ has joined #angularjs
[16:10:35] <Foxandxss> Andalusia
[16:10:38] *** FIFOd[a] has joined #angularjs
[16:11:14] <Hounddog> Too far away
[16:11:41] *** krnflake has joined #angularjs
[16:11:56] *** jshultz has joined #angularjs
[16:12:03] *** jgrubb has joined #angularjs
[16:12:41] *** FIFOd[a] has quit IRC
[16:12:46] *** caitp has joined #angularjs
[16:12:50] *** sacho has quit IRC
[16:12:56] <Foxandxss> from where? :P
[16:13:09] *** danielpquinn has quit IRC
[16:13:09] *** DevAntoine has quit IRC
[16:13:22] *** mykz_ has quit IRC
[16:14:01] *** DevAntoine has joined #angularjs
[16:14:07] *** vf1 has joined #angularjs
[16:14:13] *** superplussed has quit IRC
[16:14:14] *** FunnyLookinHat has joined #angularjs
[16:14:33] *** milka has quit IRC
[16:14:35] <jeffszusz> does putting data- before any of the angular directives matter these days?
[16:14:43] <antihero> Hey, I'm getting an error about ngLocale not being available?
[16:14:48] <jeffszusz> and in what situations? older browsers? html5 validation?
[16:14:50] <antihero> It's the "Uncaught object"
[16:14:51] *** gnar_matix has joined #angularjs
[16:15:03] *** chrisshattuck has joined #angularjs
[16:15:09] *** superplussed has joined #angularjs
[16:15:17] *** fg3 has quit IRC
[16:15:32] <jeffszusz> antihero, that is a problem everyone has in chrome I think. it won't stop your app from running
[16:15:38] <jeffszusz> http://jamesreubenknowles.com/angularjs-nglocale-error-1952/comment-page-1
[16:15:57] *** mschoening has joined #angularjs
[16:16:10] <antihero> It is stopping my app from running
[16:16:11] *** azizur has quit IRC
[16:16:45] <jeffszusz> I get that error and my app runs fine
[16:16:52] <antihero> Good for you
[16:16:55] <jeffszusz> are there any other errors you're getting?
[16:17:00] *** anjumkaiser1 has quit IRC
[16:17:05] <jeffszusz> oh you're getting Uncaught Object
[16:17:06] *** da_wunde1 has joined #angularjs
[16:17:07] <jeffszusz> that's unrelated
[16:17:15] *** tokka has joined #angularjs
[16:17:36] *** tokka has joined #angularjs
[16:17:47] <jeffszusz> go to the error in the angular.js source (somewhere around line 80) and put console.error(message) above where the error is being thrown; for some dumb reason, chrome doesn't honor the error reporting mechanism angular uses
[16:17:59] *** caitp has quit IRC
[16:17:59] <jeffszusz> you'll get a better stacktrace
[16:18:02] *** Norno has quit IRC
[16:18:04] *** eperez_ has quit IRC
[16:18:25] *** jharbaugh has quit IRC
[16:18:27] *** eperez has joined #angularjs
[16:18:33] <Foxandxss> jeffszusz: data- for html 5 validation
[16:18:36] *** vf1 has quit IRC
[16:18:41] <jeffszusz> thanks Foxandxss
[16:18:43] *** Destos has joined #angularjs
[16:19:02] <Foxandxss> the uncaught object is a real error but chrome is bugged and only says that
[16:19:05] *** jharbaugh has joined #angularjs
[16:19:07] <antihero> ah
[16:19:09] <Foxandxss> if you open it with firefox, it will show the real error
[16:19:10] *** thomastuts has quit IRC
[16:19:28] *** acconrad has quit IRC
[16:19:34] *** da_wunder has quit IRC
[16:19:37] *** wilko1991 has joined #angularjs
[16:19:40] *** waylon999 has joined #angularjs
[16:19:42] <antihero> yeah the error says nglocale is not found
[16:19:48] <antihero> so I reckon i'm trying to use a module I dont have
[16:19:51] <antihero> but I have no idea which one
[16:19:57] *** superplussed has quit IRC
[16:19:58] *** FIFOd[a] has joined #angularjs
[16:20:00] *** eperez has quit IRC
[16:20:29] *** wilko1991 has quit IRC
[16:20:59] *** umib0zu has joined #angularjs
[16:21:03] *** shorne has quit IRC
[16:21:37] *** anjumkaiser has joined #angularjs
[16:21:43] *** KamalKaur has joined #angularjs
[16:23:20] *** QuantumNinja has joined #angularjs
[16:23:20] *** jharbaugh has quit IRC
[16:23:39] *** fedenunez has quit IRC
[16:23:40] *** angularnewbee has quit IRC
[16:24:24] *** superplussed has joined #angularjs
[16:25:07] *** dccc has joined #angularjs
[16:25:19] *** Cavallari has joined #angularjs
[16:25:30] *** scmx has joined #angularjs
[16:25:58] *** kidinjo has quit IRC
[16:26:02] *** digia|away is now known as digia
[16:27:01] *** mpaarating has joined #angularjs
[16:27:04] *** foofoobar has quit IRC
[16:27:29] *** eperez has joined #angularjs
[16:27:43] *** schonert has joined #angularjs
[16:28:37] *** superplussed has quit IRC
[16:29:24] *** feelfine has quit IRC
[16:29:51] *** fbenoit has quit IRC
[16:29:52] *** braoru has quit IRC
[16:30:14] *** jmichaelward has joined #angularjs
[16:30:17] *** KamalKaur has left #angularjs
[16:30:18] *** superplussed has joined #angularjs
[16:30:35] *** a_[w] has quit IRC
[16:31:17] *** stodan has quit IRC
[16:31:41] *** vf1 has joined #angularjs
[16:31:47] *** Hounddog has quit IRC
[16:31:58] *** elux has joined #angularjs
[16:31:59] *** Templarian_ is now known as Templarian
[16:32:13] *** juampy has joined #angularjs
[16:32:19] *** nodweber has joined #angularjs
[16:32:26] *** foofoobar has joined #angularjs
[16:34:07] *** scriptThis has quit IRC
[16:34:20] *** gnar_matix has quit IRC
[16:34:34] *** superplussed has quit IRC
[16:34:49] *** gnar_matix has joined #angularjs
[16:35:08] *** dashed has joined #angularjs
[16:35:12] *** azizur has joined #angularjs
[16:35:14] *** mcreager has joined #angularjs
[16:35:15] *** anjumkaiser has quit IRC
[16:35:20] *** bkuberek has joined #angularjs
[16:35:38] *** ninkotech has joined #angularjs
[16:35:38] <janp> Any ideas on this? http://stackoverflow.com/questions/24612502/focus-a-certain-input-field-in-angularjs
[16:35:58] *** mschoening has quit IRC
[16:36:35] *** eperez has quit IRC
[16:36:45] *** Vloz_ has joined #angularjs
[16:36:53] *** seydoggy has joined #angularjs
[16:37:11] *** dccc has quit IRC
[16:38:39] *** eperez has joined #angularjs
[16:38:45] *** iksik has quit IRC
[16:39:09] *** iksik has joined #angularjs
[16:39:20] *** superplussed has joined #angularjs
[16:40:04] *** Vloz has quit IRC
[16:40:04] *** bengillies has quit IRC
[16:40:42] *** nemothekid has joined #angularjs
[16:40:55] <gnar_matix> Anyone know a way to load from CDN first, local second? I know for jQuery you can do <script src="cdn"></script>, <script>window.jQuery || document.write("...")</script>. Is there a generic way to do this?
[16:41:46] *** squeakytoy has quit IRC
[16:42:04] *** GeertV has quit IRC
[16:42:23] *** ckboii89 has joined #angularjs
[16:42:29] *** Kallb123 has joined #angularjs
[16:42:37] *** da_wunder has joined #angularjs
[16:43:04] *** mac_ified has joined #angularjs
[16:43:08] *** pdillinger1 has quit IRC
[16:44:04] *** superplussed has quit IRC
[16:44:14] *** bmuk has joined #angularjs
[16:45:03] *** da_wunde1 has quit IRC
[16:45:06] *** superplussed has joined #angularjs
[16:45:31] *** fedenunez has joined #angularjs
[16:45:35] *** peldan has quit IRC
[16:46:20] *** ckboii89 has quit IRC
[16:46:28] *** feelfine has joined #angularjs
[16:46:34] *** peldan_ has joined #angularjs
[16:46:45] *** seydoggy has quit IRC
[16:46:52] <elxa> gnar_matix: maybe http://stackoverflow.com/a/20418432/3781446
[16:47:17] *** Daven_ has joined #angularjs
[16:47:37] <gnar_matix> elxa I guess this was more of a #javascript question. Looks like RequireJS will let you have a CDN and a local fallback.
[16:47:42] <gnar_matix> elxa thanks though
[16:48:43] *** chrisp_ has quit IRC
[16:48:51] <lite_> im so confused. Copying the "spotify http link" from my spotify client and pasting it anywhere but Hangouts produces a link similar to the following: http://open.spotify.com/track/2dJrn376fJPUCj1f4txnRQ. However linking it in Hangouts just pastes the artist/title of the track
[16:48:53] <elxa> gnar_matix: great :)
[16:48:54] <lite_> what the hell gives
[16:49:01] *** peldan_ has quit IRC
[16:49:39] *** Snugug has quit IRC
[16:49:43] *** sacho has joined #angularjs
[16:49:44] *** eperez has quit IRC
[16:49:44] *** superplussed has quit IRC
[16:50:11] *** umib0zu has quit IRC
[16:50:23] *** nemothekid has quit IRC
[16:50:37] *** avens_ has quit IRC
[16:51:23] *** discipolo_ has quit IRC
[16:51:35] *** eperez has joined #angularjs
[16:51:53] *** tarnus has quit IRC
[16:52:06] *** night-owl-MBP has joined #angularjs
[16:52:09] *** dccc has joined #angularjs
[16:52:12] *** superplussed has joined #angularjs
[16:52:28] *** gauravsaini03 has quit IRC
[16:52:49] *** nodweber has quit IRC
[16:53:23] *** nodweber has joined #angularjs
[16:53:33] *** bweston has quit IRC
[16:54:50] *** feelfine has joined #angularjs
[16:54:59] *** seydoggy has joined #angularjs
[16:55:02] *** kennison has quit IRC
[16:55:06] <shackleford> I need help retrieving a specific element from an array
[16:55:07] <shackleford> http://jsfiddle.net/mBjps/
[16:55:12] *** night-owl-MBP has quit IRC
[16:55:16] <shackleford> any thoughts, would be greatly appreciated
[16:55:22] *** eperez has quit IRC
[16:55:23] *** tekky has joined #angularjs
[16:55:39] *** eperez has joined #angularjs
[16:56:12] *** superplussed has quit IRC
[16:56:19] *** lsiv568 has joined #angularjs
[16:56:26] <raibutera> it's not a specific element
[16:56:49] *** bradmc has joined #angularjs
[16:56:50] <raibutera> I can't remember how to do it in vanilla JS
[16:56:56] *** schonert has quit IRC
[16:56:58] *** ojacobson has joined #angularjs
[16:57:02] <raibutera> but shackleford I generally use underscore/lodash in this case
[16:57:22] <shackleford> I use lodash also
[16:57:27] *** superplussed has joined #angularjs
[16:57:30] <shackleford> what what the general method?
[16:57:32] *** fairchild has quit IRC
[16:57:34] *** nodweber has quit IRC
[16:57:40] <raibutera> var animals = [] // your array
[16:57:58] <dariocravero> hi all, any clues on why ng-repeat might be repeating the collection as if it would be appending the new elements instead of fully replacing it and then they vanish away?
[16:57:59] *** forti has joined #angularjs
[16:57:59] <raibutera> (one sec)
[16:58:08] *** ianpirro has quit IRC
[16:58:19] *** Click66 has quit IRC
[16:58:49] <raibutera> oooh
[16:58:52] <raibutera> you wanna do it by index
[16:59:05] <dariocravero> the swap is very straight forward, say the collection is in $scope.list = [1,2,3] and then, when swapped to $scope.list = [11,12,13] angular renders [1,2,3,11,12,13] and then [11,12,13] a few seconds after
[16:59:28] *** tarnus has joined #angularjs
[16:59:34] *** tekky has quit IRC
[16:59:42] <raibutera> in vanilla JS isn't it just
[16:59:44] <dariocravero> it was working perfectly fine up until a while ago, I even tried to revert to previous versions of angular (using 1.2.19 now) and nothing
[16:59:47] <raibutera> [1]["age"]
[16:59:48] <raibutera> ?
[16:59:49] *** xavia has joined #angularjs
[17:00:05] <raibutera> oh
[17:00:06] <shackleford> well it doesn't have to based on index, it has to match the animal 'name'
[17:00:11] <eighty4> I have an element.on('keydown') listener that will modify the input fields value. But when I do this the ng-model="" binding seems to be lost. Is there anyway I can force it to be updated? Based on the actuall value of the input field
[17:00:12] *** kroogs has joined #angularjs
[17:00:12] <raibutera> so these are unique?
[17:00:18] <shackleford> correct
[17:00:20] *** anjumkaiser has joined #angularjs
[17:00:44] *** lsiv568 has quit IRC
[17:00:46] *** mven_ has quit IRC
[17:00:47] *** alanp has joined #angularjs
[17:00:48] <raibutera> _(animals).find({"animal": "cat"})
[17:00:57] <raibutera> so
[17:01:11] *** foofoobar has quit IRC
[17:01:11] <shackleford> correct, but then how do I get the age for that filtered element
[17:01:52] <raibutera> var animals = [YOUR ARRAY]; var cat = _(animals).find({"animal": "cat"}); console.log(cat.age);
[17:02:26] <raibutera> _.find returns the object
[17:02:31] <raibutera> that it finds
[17:02:40] <raibutera> like... it returns the whole object
[17:02:45] <raibutera> so you can just access properties on it
[17:03:03] *** azizur7 has joined #angularjs
[17:03:32] <raibutera> like you could compress that all into var shacklefordCatAge = _.find([YOUR ARRAY], {"animal":"cat"}).age;
[17:03:36] *** azizur has quit IRC
[17:03:43] <shackleford> raibutera, that sounds like a good solution
[17:03:46] <shackleford> thanks
[17:03:47] *** Sebastien-L has joined #angularjs
[17:03:49] *** superplussed has quit IRC
[17:03:49] *** dccc has quit IRC
[17:03:52] <shackleford> I will keep you posted on how it goes
[17:03:58] *** bkuberek has quit IRC
[17:04:09] *** superplussed has joined #angularjs
[17:04:17] *** ianpirro has joined #angularjs
[17:04:33] <raibutera> eighty4 try using $scope.apply
[17:04:34] *** Dalsass_mobi has quit IRC
[17:04:42] *** jharbaugh has joined #angularjs
[17:04:42] *** umib0zu has joined #angularjs
[17:04:53] <raibutera> http://nathanleclaire.com/blog/2014/01/31/banging-your-head-against-an-angularjs-issue-try-this/
[17:05:04] *** Left_Turn has joined #angularjs
[17:05:05] *** bengillies has joined #angularjs
[17:05:12] <raibutera> I could be horribly wrong
[17:05:17] *** jharbaugh has quit IRC
[17:05:24] *** tokka has quit IRC
[17:05:38] *** jharbaugh has joined #angularjs
[17:06:01] *** kroogs has quit IRC
[17:06:14] <eighty4> raibutera: and ngModel.assign?)
[17:06:22] *** Snugug has joined #angularjs
[17:06:32] <raibutera> *shrug* sorry I can't be of more help
[17:06:52] <raibutera> I was just suggesting to wrap all of your element.$on within a $scope.apply
[17:06:58] <eighty4> ah
[17:07:00] <eighty4> hm... will try
[17:07:13] <raibutera> like the angular article I posted above eighty4 http://nathanleclaire.com/blog/2014/01/31/banging-your-head-against-an-angularjs-issue-try-this/
[17:07:14] *** dylukes has joined #angularjs
[17:07:17] *** apetro_ has joined #angularjs
[17:07:24] <eighty4> raibutera: yeah, missed that link at first. Reading now
[17:08:30] *** avens has joined #angularjs
[17:08:39] *** seydoggy has quit IRC
[17:09:13] *** seydoggy has joined #angularjs
[17:09:13] *** danielpquinn has joined #angularjs
[17:09:13] <Siecje> I'm using nginx and I just specified the folder where my files are. In Chrome I'm getting console messages for all of my .js files "Resource interpreted as Script but transferred with MIME type text/plain: "
[17:09:17] *** vf1 has quit IRC
[17:09:29] *** tomzx`afk is now known as tomzx
[17:09:42] *** phpxadmin has joined #angularjs
[17:09:45] *** nodweber has joined #angularjs
[17:09:53] *** bphogan_afk is now known as bphogan
[17:10:03] *** jellkyo is now known as cmenscher
[17:10:16] *** DerekPerkins has joined #angularjs
[17:11:11] *** xaxisx has joined #angularjs
[17:11:17] *** Dalsass_mobi has joined #angularjs
[17:11:37] *** conan_the_destro has joined #angularjs
[17:11:41] <eighty4> raibutera: ok, I solved it by manually actually updating the model value. It works since I will always know the model field.
[17:12:02] <raibutera> interesting
[17:12:08] <raibutera> glad you got it sorted
[17:12:33] <raibutera> does anyone have any experience using parse.com with angularJS?
[17:12:48] *** Dalsass_mobi has quit IRC
[17:13:25] *** seydoggy has quit IRC
[17:13:29] *** icfantv has joined #angularjs
[17:13:38] <eighty4> experiance using parse.com, yes, with angularJS no
[17:13:53] <raibutera> with JS or obj-c/java?
[17:13:57] *** danielpquinn has quit IRC
[17:14:05] *** caitp has joined #angularjs
[17:14:20] *** seydoggy has joined #angularjs
[17:14:24] *** foofoobar has joined #angularjs
[17:14:41] <raibutera> my startup is using parse.com as a backend and I've been learning angular for our web app and hooking it up to parse seems daunting
[17:14:49] *** sonofdirt has joined #angularjs
[17:15:21] *** jamesshijie has joined #angularjs
[17:15:21] *** goblin2986 has joined #angularjs
[17:15:45] *** arizzo has joined #angularjs
[17:15:45] *** Pajamas has joined #angularjs
[17:15:54] *** eperez has quit IRC
[17:16:05] *** Dalsass_mobi has joined #angularjs
[17:16:25] <Pajamas> Does anyone have experience with ngInfiniteScroll? I can't get a simple demo working. http://jsfiddle.net/uVxb8/3/
[17:16:59] *** mchapman has joined #angularjs
[17:17:04] *** danielpquinn has joined #angularjs
[17:17:11] *** goblin2986 has quit IRC
[17:17:16] <raibutera> Pajamas have you included it in your html lopl?
[17:17:34] *** Tomdarkness has joined #angularjs
[17:17:50] <raibutera> or is the directive all you need?
[17:17:54] <raibutera> actually no]
[17:17:55] <raibutera> lol
[17:18:10] <Pajamas> I put the jsfiddle link, not sure what you mean
[17:18:19] <raibutera> as in
[17:18:19] *** ConneXNL has joined #angularjs
[17:18:27] <raibutera> where's the infinite scroll library
[17:18:35] *** caitp has quit IRC
[17:18:36] *** mennea has quit IRC
[17:18:38] *** Left_Turn has quit IRC
[17:18:40] <Pajamas> i copied and pasted it in the Javascript
[17:18:45] *** da_wunder has quit IRC
[17:18:50] <Pajamas> since the external source was not working
[17:18:51] <raibutera> oh i see
[17:18:59] <eighty4> raibutera: with node.js
[17:19:06] <Pajamas> but I have an external link on my local machine
[17:19:21] <ConneXNL> Has anyone found a good way to re-use angular templates along with PHP Twig?
[17:19:26] <raibutera> so eighty4 you had a node.js backend which interacted with parse.com?
[17:19:34] *** tekky has joined #angularjs
[17:19:49] *** nytram has quit IRC
[17:19:53] *** dccc has joined #angularjs
[17:19:55] <quan__> ConneXNL: that seems like a road to bad times
[17:20:22] *** da_wunder has joined #angularjs
[17:20:28] *** arizzo has quit IRC
[17:20:29] *** apetro_ has quit IRC
[17:20:44] *** Serdar has quit IRC
[17:21:01] *** cthrax has joined #angularjs
[17:21:15] *** thedodd has joined #angularjs
[17:21:33] <ConneXNL> quan__: Makes me sad. I mainly program in Symfony 2 + Twig and i like the stack. But angular tidely coupleing to their template system makes it a bit hard for me to start using them together -.-.
[17:22:09] <eighty4> raibutera: correct, worked great
[17:22:14] *** ineedarobot has quit IRC
[17:23:02] <raibutera> do you think it would be wise for me to do that or should I just use the JavaScript SDK and do it all within the angular app?
[17:23:39] *** bmuk has quit IRC
[17:23:40] *** snurfery has joined #angularjs
[17:23:40] <quan__> ConneXNL: you mean twig reading angular templates or the ability to use angular syntax in a template which is preprocessed by twig ?
[17:24:22] *** doddstack has joined #angularjs
[17:24:22] *** momomomomo has joined #angularjs
[17:24:48] <quan__> ConneXNL: cause not sure bout twig but some templating langs have @{{var}} which escapes handling of that block
[17:25:32] *** CodeFriar has joined #angularjs
[17:26:06] *** thedodd has quit IRC
[17:26:52] *** djam90 has quit IRC
[17:27:14] <momomomomo> All - I'm trying to get an angular-ui-bootstrap popover working with an element which was already modified by d3js. At the end of my directive's `link` method, I have https://gist.github.com/momer/a34306a29754def43e8d - but the elements don't compile with the angular-ui functionality. As a test, I have another element with the 'popover' and 'popover-title' attributes on the page, which works just fine (outside of d3js)
[17:27:23] <ConneXNL> quan__ : I can escape in twig without a problem. Its more like a general problem in workflow and best practices when it comes to Server side vs Client side templates.
[17:27:25] *** AndyFTP has quit IRC
[17:27:51] *** combat has left #angularjs
[17:27:55] <quan__> ConneXNL: i try not to mix them and go pure 100% separation
[17:28:07] <quan__> which has its own pains but is better in the end imo
[17:28:11] *** mewm has quit IRC
[17:28:21] *** snurfery has quit IRC
[17:28:22] *** \du has joined #angularjs
[17:28:29] *** jamesshijie has quit IRC
[17:28:54] *** Joulse has quit IRC
[17:28:58] *** tigrang has joined #angularjs
[17:29:03] <quan__> i feel like mixing backend and frontend templating causes some 'is there peanut butter in my chocolate or is there chocolate in my peanut butter' type problems
[17:29:06] *** mtsr has quit IRC
[17:29:23] *** jpstone has quit IRC
[17:30:42] *** HelperW__ has joined #angularjs
[17:31:08] *** toin0u is now known as toin0u|away
[17:31:22] *** jk-5 has quit IRC
[17:31:44] *** jpstone has joined #angularjs
[17:31:45] *** shackleford has quit IRC
[17:31:49] *** hannesvdvreken has quit IRC
[17:32:05] *** danielpquinn has quit IRC
[17:32:10] <jeffszusz> hey guys, is $scope supposed to be phased out in favor of using controller as and this?
[17:32:12] *** shackleford has joined #angularjs
[17:32:19] *** feelfine has quit IRC
[17:32:32] *** danielpquinn has joined #angularjs
[17:32:46] *** Snugug has quit IRC
[17:32:51] *** dccc has quit IRC
[17:33:00] <eighty4> raibutera: no idea what would work best
[17:33:22] *** kennbrodhagen has joined #angularjs
[17:33:22] *** Ir1sh has joined #angularjs
[17:33:50] *** shr3djs has joined #angularjs
[17:34:13] *** HelperW_ has quit IRC
[17:34:21] <zelrik> ahah
[17:34:27] <shr3djs> hey i need to do this : d3.time.format('%m')(new Date(d)); but my linter is saying d3 is not defined... altough its working i force it
[17:34:31] <zelrik> just set an MIT license on my code
[17:34:38] *** DoubleAW has joined #angularjs
[17:34:39] <zelrik> take that Stallman
[17:34:40] <shr3djs> is there a better way to do a reference to that js
[17:34:42] *** AWAW has quit IRC
[17:34:44] *** robdubya has joined #angularjs
[17:35:04] *** HelperW__ has quit IRC
[17:35:43] *** artisangoose has joined #angularjs
[17:35:48] <robdubya> mornin
[17:35:51] <sal1191> hey robdubya
[17:35:59] *** fedenunez has quit IRC
[17:36:01] *** jk-5|gone has joined #angularjs
[17:37:11] *** dashed has quit IRC
[17:37:32] *** svycka has quit IRC
[17:37:34] *** kennbrodhagen has quit IRC
[17:38:36] <momomomomo> any ideas on my $compile question?
[17:38:37] *** patrickc_ has joined #angularjs
[17:38:43] *** naneau has quit IRC
[17:38:55] *** ineedarobot has joined #angularjs
[17:39:02] <sal1191> robdubya: in your angularSails seed, why is there an assets folder and www? they seem to contain the same content.
[17:39:11] <robdubya> my wat?
[17:39:36] *** DerekPerkins has quit IRC
[17:39:38] <sal1191> werent you the individual who made a sails.js + angularjs skeleton project?
[17:39:44] *** fedenunez has joined #angularjs
[17:39:49] <sal1191> http://github.com/balderdashy/angularSails
[17:39:50] *** ineedarobot has quit IRC
[17:39:56] <sal1191> maybe Im mistaken
[17:40:03] *** zelrik has quit IRC
[17:40:06] <robdubya> that's the library, not a seed
[17:40:20] <sal1191> you have an example project in there
[17:40:23] <sal1191> thats what I meant
[17:40:28] <robdubya> also not a seed :D
[17:40:33] <sal1191> the realtime chat
[17:40:38] <robdubya> the reason for both
[17:40:39] *** jerev is now known as jerev_away
[17:40:45] <sal1191> I dont know what a seed is :x
[17:40:46] <robdubya> assets -> grunt -> www
[17:40:48] *** ineedarobot has joined #angularjs
[17:40:54] <sal1191> ohh ok
[17:40:58] <robdubya> seed = project you can clone to start
[17:40:58] <sal1191> im new to sails
[17:41:05] <sal1191> oh thats what i figured
[17:41:08] <robdubya> brb
[17:41:11] <robdubya> rebootin
[17:41:14] <robdubya> will explain
[17:41:16] *** mschoening has joined #angularjs
[17:41:16] *** robdubya has quit IRC
[17:41:16] <sal1191> gotcha
[17:41:41] *** btyne has joined #angularjs
[17:41:53] <momomomomo> :/ stuck on $compile
[17:41:54] *** gettinSomeHelp has joined #angularjs
[17:41:55] *** jacuqesdancona has quit IRC
[17:42:04] <gettinSomeHelp> hello
[17:42:05] <storkme> http://ionicframework.com/blog/angularjs-console/ this is awesome
[17:42:28] *** anjumkaiser has quit IRC
[17:42:31] *** jacuqesdancona has joined #angularjs
[17:42:35] *** jpstone has quit IRC
[17:42:36] <gettinSomeHelp> does anyone have problems with loading external css files?
[17:42:44] *** chrisshattuck has quit IRC
[17:42:50] *** ineedarobot has quit IRC
[17:42:59] *** avens has quit IRC
[17:43:05] *** patrickc_ has quit IRC
[17:43:32] *** the_fog has quit IRC
[17:43:41] *** gettinSomeHelp has quit IRC
[17:44:21] *** vf1 has joined #angularjs
[17:44:35] *** senayar has quit IRC
[17:44:41] *** krawchyk has quit IRC
[17:45:00] *** ckboii89_ has joined #angularjs
[17:45:00] *** brownbathrobe has joined #angularjs
[17:45:13] *** senayar has joined #angularjs
[17:45:48] *** krawchyk has joined #angularjs
[17:45:50] *** da_wunde1 has joined #angularjs
[17:46:32] *** scmx has quit IRC
[17:46:40] *** Lumio has quit IRC
[17:47:04] *** azizur7 has quit IRC
[17:47:08] *** jacuqesdancona has quit IRC
[17:47:56] *** arizzo has joined #angularjs
[17:48:02] *** da_wunder has quit IRC
[17:48:12] *** azizur has joined #angularjs
[17:48:25] *** xaxisx has quit IRC
[17:48:37] *** the_fog has joined #angularjs
[17:49:00] *** dccc has joined #angularjs
[17:49:08] *** ckboii89_ has quit IRC
[17:49:26] *** endash has quit IRC
[17:50:14] *** senayar has quit IRC
[17:50:36] *** robdubya has joined #angularjs
[17:50:36] *** seydoggy has quit IRC
[17:50:46] *** eperez has joined #angularjs
[17:51:08] *** seydoggy has joined #angularjs
[17:51:17] <sal1191> <- (paying attention)
[17:51:17] *** richardbaker has joined #angularjs
[17:51:23] *** chrisshattuck has joined #angularjs
[17:51:27] <robdubya> ok
[17:51:31] <sal1191> :p
[17:51:44] *** annlewis_ has joined #angularjs
[17:51:45] <robdubya> tldr
[17:51:49] <robdubya> dont clone that project
[17:51:52] *** avens has joined #angularjs
[17:51:54] *** squeakytoy has joined #angularjs
[17:51:56] <sal1191> im just studying it
[17:52:04] <robdubya> best hting is to generate a new one
[17:52:05] <robdubya> using
[17:52:07] *** balboah has quit IRC
[17:52:11] <robdubya> sails new myApp
[17:52:20] <robdubya> sails generate api Thing
[17:52:21] <robdubya> etc
[17:52:32] <sal1191> yes ive got my own project from that
[17:52:39] *** azizur has quit IRC
[17:52:51] *** brownbathrobe has quit IRC
[17:53:01] <robdubya> coolio. to use the angualr sails thing, you can either just copy the file in, or iirc its on bower too
[17:53:19] *** krawchyk has quit IRC
[17:53:21] <robdubya> you just need to include sails.io.js and then ngsails.io.js
[17:53:34] *** hannesvdvreken has joined #angularjs
[17:53:38] <sal1191> okay
[17:53:59] *** annlewis has quit IRC
[17:54:09] <robdubya> make sense?
[17:54:09] *** tangorri has quit IRC
[17:54:16] *** Cixis_ is now known as Cixis
[17:54:18] <sal1191> yes Im trying it now
[17:54:43] <robdubya> hollar if you have any q's
[17:54:59] <robdubya> im still on vacation but actually have to do some work today
[17:55:11] *** altious has quit IRC
[17:55:28] *** altious has joined #angularjs
[17:55:29] *** Voyage has joined #angularjs
[17:55:33] <sal1191> sure, So ngsails and sails.io, one of these exposes the $socket service
[17:55:33] *** seydoggy has quit IRC
[17:55:34] *** hychen has joined #angularjs
[17:55:55] <robdubya> ngsails exposes the $sailsSocket
[17:56:07] <sal1191> riight right
[17:56:09] <sal1191> and with sails
[17:56:17] <sal1191> if I have a crud api
[17:56:17] *** avens has quit IRC
[17:56:21] <robdubya> sails.io is vanilla JS, nothing to do with angular, it has all the socket.io stuff
[17:56:30] <robdubya> ngsails uses that
[17:56:51] *** mchammer has quit IRC
[17:56:54] <sal1191> so it makes the request as usual, over socket.io?
[17:57:22] <robdubya> yeah. the $sailsSocket exposes the exact same API as $http
[17:57:42] <sal1191> oh ok, what if I use $resource handles?
[17:57:48] <robdubya> you cant
[17:57:52] <robdubya> (and it sucks, so dont)
[17:57:52] <sal1191> ok
[17:57:53] *** lsiv568 has joined #angularjs
[17:57:53] <robdubya> http://balderdashy.github.io/angularSails/#/api/ngsails.$sailsSocket
[17:58:13] <sal1191> gotcha
[17:58:35] <robdubya> i have a little model class i wrap around it
[17:58:45] <robdubya> lemme see if i have it on my lapyop
[17:58:54] *** arizzo has quit IRC
[17:58:57] *** dccc has quit IRC
[17:58:59] <Guest62380> Hi, any idea how to execute function on directive load or ready?
[17:59:10] <robdubya> link
[17:59:17] <Guest62380> :)
[17:59:26] <sal1191> link or compile if you are manipulating the dom
[17:59:26] *** arizzo has joined #angularjs
[17:59:32] *** seydoggy has joined #angularjs
[17:59:39] *** derekh__ has joined #angularjs
[17:59:43] *** arizzo has quit IRC
[17:59:52] <Guest62380> I am manipulating the DOM but from some reqason compile run before ngrepeat finished
[17:59:55] *** arizzo has joined #angularjs
[18:00:11] <derekh__> Can anyone recommend a payment gateway service that works well with Angular?
[18:00:30] *** Aerospark has joined #angularjs
[18:01:23] *** juampy has quit IRC
[18:01:28] *** mven_ has joined #angularjs
[18:01:38] *** eperez has quit IRC
[18:02:25] *** avens has joined #angularjs
[18:02:31] *** Milanito has quit IRC
[18:02:55] *** balboah has joined #angularjs
[18:03:15] *** drej has joined #angularjs
[18:03:34] <robdubya> Guest62380 what are you trying to do?
[18:04:20] *** imjoshholloway has joined #angularjs
[18:04:26] *** arizzo_ has joined #angularjs
[18:04:29] *** morenoh149 has joined #angularjs
[18:04:33] *** balboah has quit IRC
[18:04:39] *** eperez has joined #angularjs
[18:04:42] <Guest62380> robdubya count LIs and disable a button if there are too many
[18:04:51] <robdubya> dont count li's
[18:04:58] <robdubya> count the objects that are driving the lis
[18:05:03] <robdubya> data drives dom
[18:05:04] *** bmcgee has quit IRC
[18:05:22] <Guest62380> ok, but i need to samle width and margin
[18:05:27] <robdubya> ng-disabled="bars.length > 5"
[18:05:30] <robdubya> etc
[18:06:21] <Guest62380> I see but I don't know if its 5 or 10 I need to calculate
[18:06:28] *** cthrax has quit IRC
[18:06:41] <robdubya> wut
[18:06:43] *** foo-bar- has joined #angularjs
[18:06:51] *** Aerospark has quit IRC
[18:06:54] <robdubya> make a plunker
[18:07:07] *** mcreager has quit IRC
[18:07:25] *** bkuberek has joined #angularjs
[18:07:27] *** Nizumzen has joined #angularjs
[18:07:47] *** lsiv568 has quit IRC
[18:07:56] *** VeeWee has quit IRC
[18:08:00] *** fairchild has joined #angularjs
[18:08:04] <robdubya> id just like you all to see my view today :D http://i.imgur.com/XwRM3Uh.jpg
[18:08:04] *** arizzo has quit IRC
[18:08:44] *** intellix has quit IRC
[18:08:46] <storkme> nice
[18:08:52] <Guest62380> where is it?
[18:09:00] *** marcghorayeb has quit IRC
[18:09:07] <robdubya> san miguel de allende, mexico
[18:09:26] *** seydoggy has quit IRC
[18:09:33] *** ajk27 has joined #angularjs
[18:09:39] *** acconrad has joined #angularjs
[18:09:47] *** sk87 has quit IRC
[18:09:56] <Guest62380> i'm implementing a carousel, all LI's are in one long line but you can only see the once inside the viewport, I want to disable the carousel right/left arrows if there are just a few LIs
[18:10:01] *** seydoggy has joined #angularjs
[18:10:18] *** lite_ has quit IRC
[18:10:25] <Guest62380> Nice!!
[18:10:58] <robdubya> really an awesome place. super clean, super cheap, everbody is super friendly
[18:11:02] *** Click66 has joined #angularjs
[18:11:10] <robdubya> highly recommend for vacaciones
[18:11:46] <robdubya> Guest62380 you still shouldn't have to be dependent on timing
[18:12:06] *** andrewhl has quit IRC
[18:12:18] <robdubya> viewport - (number of visible slides * slide width)
[18:12:21] <robdubya> something like that
[18:12:35] *** Click66 has quit IRC
[18:12:39] *** imjoshholloway has left #angularjs
[18:12:41] <Guest62380> exactly but I dont know the slide's width
[18:12:41] *** cthrax has joined #angularjs
[18:12:51] *** subnl has joined #angularjs
[18:13:46] *** scmx has joined #angularjs
[18:13:58] *** t3ll3r has joined #angularjs
[18:14:42] *** caitp has joined #angularjs
[18:14:44] *** seydoggy has quit IRC
[18:15:16] *** dccc has joined #angularjs
[18:15:16] <t3ll3r> when i have a variable that can have positive and negative integer values, how can i assign a CSS class to an element depeding on the sign of my variable? is there some convenient angular stuff for this?
[18:15:36] <robdubya> ng-class
[18:16:11] *** waylon999 has quit IRC
[18:16:20] *** doddstack has quit IRC
[18:16:37] *** mven_ has quit IRC
[18:16:39] *** avens has quit IRC
[18:17:17] *** Pookz_ is now known as Pookz
[18:17:40] *** mcreager has joined #angularjs
[18:18:10] <t3ll3r> so do negative numers eval to false?
[18:18:19] *** avens has joined #angularjs
[18:18:44] *** lucasefe has joined #angularjs
[18:18:48] <robdubya> ng-class="{ foo : var < 0 }"
[18:19:01] <robdubya> would add the foo class if var < 0
[18:19:25] <andrew9183> robdubya: do you work remotely ?
[18:19:28] <t3ll3r> ohh didnt know you can use such stuff
[18:19:56] <robdubya> andrew9183 yes
[18:19:57] <t3ll3r> thank you very much
[18:20:07] <andrew9183> sweet, so you're working on vacation :D
[18:20:08] *** Pookz has quit IRC
[18:20:38] <robdubya> i had 5 days of laptop free time, starting to get a bit itchy :D
[18:20:48] *** kppullin has quit IRC
[18:20:53] <robdubya> plus i'm too sunburned to go outside today :D
[18:21:01] <andrew9183> hehe
[18:21:11] <andrew9183> do you do mostly angularjs work ?
[18:21:17] <robdubya> that and node
[18:21:26] *** fuzzy has quit IRC
[18:21:29] <andrew9183> i was just in mexico a few weeks ago near puerto morales
[18:21:42] <andrew9183> cool. and your job is 100% remote?
[18:22:16] *** mrogne has joined #angularjs
[18:22:44] <robdubya> yeah, i run my own firm, so its remote 100% of the time
[18:23:09] <sal1191> thats why I got into javascript, to find remote work
[18:23:18] *** Dwarf has quit IRC
[18:23:25] <mrogne> remote work drove me to angular :P
[18:23:29] *** jstroem has joined #angularjs
[18:23:33] <oniijin> robdubya if it's your own company does it really count as remote
[18:23:36] <oniijin> =]
[18:24:02] <robdubya> oniijin good question :D
[18:24:11] <andrew9183> robdubya: hehe awesome, are you guys hiring? :D
[18:24:16] <robdubya> working from bed = remote from my office?
[18:24:27] *** HypnotiX has quit IRC
[18:25:17] <t3ll3r> lets say i have a input, i add him ng-model="var" now, i need that value also send via ajax.. do i add ng-click="ajax()" or is there something better? (watching the model for changes somehow?)
[18:25:26] *** rabaznaz has joined #angularjs
[18:25:31] *** patrickarlt has joined #angularjs
[18:25:40] *** richardbaker has quit IRC
[18:25:52] <andrew9183> t3ll3r: what do you mean, is the model changing on the backend ?
[18:26:03] <t3ll3r> yeah
[18:26:08] *** dccc has quit IRC
[18:26:23] <Guest62380> backend?
[18:26:27] *** DevAntoine has quit IRC
[18:26:37] <t3ll3r> i can be changed in the view but might also encounter a change from the ajax-server
[18:26:40] <Guest62380> if the inout changes from the view than use $watch
[18:26:52] <Guest62380> still
[18:27:01] <t3ll3r> ok thank you
[18:27:12] <robdubya> t3ll3r easiest way is to add the save method to your model instance
[18:27:17] <Guest62380> $scope.$watch('val', function() {})
[18:27:57] *** jsoverson has joined #angularjs
[18:28:12] *** kppullin has joined #angularjs
[18:28:55] *** kppullin has quit IRC
[18:29:00] <t3ll3r> robdubya: you mean making the var and object and give it proterty save : function () {}? or where can i read that up?
[18:29:08] *** shinnya has quit IRC
[18:29:12] *** arabot has joined #angularjs
[18:29:31] *** arabot has left #angularjs
[18:29:38] *** krupnik has joined #angularjs
[18:29:55] <t3ll3r> i never did oop js.. :/ only little stuff :(
[18:29:55] *** andrewhl has joined #angularjs
[18:30:20] *** motionman has quit IRC
[18:30:31] *** the_fog has quit IRC
[18:30:53] *** Gambit- has joined #angularjs
[18:31:03] *** callumacrae is now known as nub
[18:31:59] *** walden is now known as walden|lunch
[18:32:16] *** carpediembaby has quit IRC
[18:32:18] *** xaxisx has joined #angularjs
[18:32:35] <Guest62380> robdubya Enjoy Mexico, I'm going home :)
[18:32:42] <robdubya> t3ll3r yeah, http://plnkr.co/edit/urCRofoJKiPkEtuHAvPF?p=preview
[18:32:46] <robdubya> Guest62380 cheers :D
[18:32:52] <Guest62380> :D
[18:32:54] *** Guest62380 has quit IRC
[18:33:15] *** jstimm has joined #angularjs
[18:33:45] *** krawchyk has joined #angularjs
[18:33:46] *** Dimlock has quit IRC
[18:33:49] *** kppullin has joined #angularjs
[18:33:52] *** richardbaker has joined #angularjs
[18:34:01] *** illume has quit IRC
[18:34:10] <t3ll3r> thanks ill try to understand it
[18:34:40] *** thedodd has joined #angularjs
[18:37:07] <t3ll3r> when i do $http.get() and its a json file it will be parsed by magic?
[18:37:55] *** k-dawg has quit IRC
[18:38:17] *** sigurding has joined #angularjs
[18:39:05] *** blueadept has joined #angularjs
[18:39:05] *** blueadept has joined #angularjs
[18:39:08] *** eperez has quit IRC
[18:39:29] <robdubya> yeah. res.data = parsed json
[18:39:42] *** linagee has quit IRC
[18:39:42] *** linagee has joined #angularjs
[18:39:52] *** sacho_ has joined #angularjs
[18:40:38] *** ghostbar has joined #angularjs
[18:41:23] *** da_wunde1 has quit IRC
[18:41:37] *** da_wunder has joined #angularjs
[18:41:59] *** dccc has joined #angularjs
[18:42:35] *** sacho has quit IRC
[18:43:15] *** mennea has joined #angularjs
[18:43:54] *** VinceZa has quit IRC
[18:44:11] *** moritzs has quit IRC
[18:44:43] *** jbourassa has quit IRC
[18:44:47] *** CptChaos has joined #angularjs
[18:45:45] *** ckboii89 has joined #angularjs
[18:45:52] *** scmx has quit IRC
[18:46:50] *** heidi has joined #angularjs
[18:48:30] <t3ll3r> so a service is like a "static object"? xD like only 1 instance exists?
[18:48:36] *** chrisbirk has joined #angularjs
[18:49:25] *** bphogan is now known as bphogan_afk
[18:49:47] *** richardbaker has quit IRC
[18:49:47] *** dccc has quit IRC
[18:49:49] *** arizzo_ has quit IRC
[18:49:56] *** ckboii89 has quit IRC
[18:49:56] *** richardbaker has joined #angularjs
[18:50:18] <oniijin> that's not what static means
[18:50:21] *** arizzo has joined #angularjs
[18:50:24] <oniijin> singleton is the word you're looking for
[18:50:48] <t3ll3r> but in java static class variables are like same among all instances?
[18:50:55] *** TorchDragon has quit IRC
[18:50:57] *** Lumio has joined #angularjs
[18:51:01] *** heidi has quit IRC
[18:51:02] *** azizur has joined #angularjs
[18:51:15] *** cthrax has quit IRC
[18:51:23] *** dariocravero has quit IRC
[18:52:03] *** jareddlc has joined #angularjs
[18:52:08] *** TorchDragon has joined #angularjs
[18:52:16] *** klaut has quit IRC
[18:52:21] <Foxandxss> Java also has singleton
[18:52:41] *** arizzo_ has joined #angularjs
[18:52:45] <amedia> is it possible to define constants in angular 1.3 beta?
[18:52:58] *** HexSquid has joined #angularjs
[18:53:01] <amedia> i always get angular.constant is not a function
[18:53:08] *** jacuqesdancona has joined #angularjs
[18:53:17] *** jmichaelward has quit IRC
[18:53:55] *** fairchild has quit IRC
[18:53:56] *** lsiv568 has joined #angularjs
[18:54:05] *** krupnik has quit IRC
[18:54:08] *** pdillinger1 has joined #angularjs
[18:54:31] <HexSquid> Hello! :) Is it possible to mock $location?
[18:54:35] *** arizzo has quit IRC
[18:55:31] *** KernelCurry has joined #angularjs
[18:55:34] <Foxandxss> yes
[18:56:08] *** ingsoc has joined #angularjs
[18:56:24] *** Daven_ has quit IRC
[18:56:42] *** whunt has joined #angularjs
[18:57:08] *** lsiv568 has quit IRC
[18:57:27] *** MacWinner has joined #angularjs
[18:57:27] *** jacuqesdancona has quit IRC
[18:57:33] *** mnngfltg has quit IRC
[18:57:34] *** Vinnyceptr has quit IRC
[18:57:36] *** sigurding has quit IRC
[18:57:58] *** arizzo_ has quit IRC
[18:57:58] *** chrisbirk has quit IRC
[18:58:13] *** RobinBAwesome has joined #angularjs
[18:58:25] <HexSquid> I'm trying to simulate different urls in my app, but I must be doing something wrong as karma always considers the url to be http://server:80
[18:58:27] *** OddDuck has joined #angularjs
[18:58:33] *** arizzo has joined #angularjs
[18:58:37] *** zumba_addict has joined #angularjs
[18:58:53] *** treeface has joined #angularjs
[18:58:59] <Foxandxss> why you need to do that?
[18:59:00] *** marthinal has joined #angularjs
[18:59:04] *** Johnny13371337 has joined #angularjs
[18:59:40] *** chrisbirk has joined #angularjs
[18:59:45] *** tfennelly has quit IRC
[18:59:58] *** Gues_____ has quit IRC
[19:00:30] *** hswolff has quit IRC
[19:01:08] *** cthrax has joined #angularjs
[19:01:17] *** disorder20 has quit IRC
[19:01:27] *** fedenunez has quit IRC
[19:01:51] *** azizur1 has joined #angularjs
[19:02:22] *** bphogan_afk is now known as bphogan
[19:02:36] *** mven_ has joined #angularjs
[19:02:57] *** wallerdev has joined #angularjs
[19:02:59] *** fold has quit IRC
[19:03:06] <HexSquid> I'd like to be able to connect to a service on a given port (e.g. 80) based on the path the application is on, and have that confirmed with tests. It's a bit silly, but I think it should be possible to test that if I'm on a given path, I can assert that it does or does not have a particular port / protocol etc
[19:03:08] *** arizzo has quit IRC
[19:03:36] *** azizur has quit IRC
[19:03:56] *** joshbrw has quit IRC
[19:04:15] *** mcreager has quit IRC
[19:04:39] <Foxandxss> so you run an angular service or another depending on the port?
[19:04:40] *** HelperW__ has joined #angularjs
[19:04:50] *** ckboii89 has joined #angularjs
[19:05:03] *** dccc has joined #angularjs
[19:05:09] *** azizur1 has quit IRC
[19:05:12] *** kvnm has quit IRC
[19:05:22] *** endash has joined #angularjs
[19:05:29] *** slainer68_ftw has quit IRC
[19:05:29] <ingsoc> how can i prefetch all my ng-includes ?
[19:05:30] <ingsoc> <div ng-include="'views/top_navbar.html'"></div>
[19:05:41] <Foxandxss> cache them
[19:05:50] <ingsoc> it is fine for desktop but on mobile latency is a killer
[19:05:52] <ingsoc> ok
[19:05:57] *** Guest57263 is now known as Pilate
[19:06:04] <ingsoc> how would i do that, do a $http in application.run ?
[19:06:14] <ingsoc> for all files ?
[19:06:14] <Foxandxss> $templateCache
[19:06:14] *** chrislerum has joined #angularjs
[19:06:18] <HexSquid> uh it's more like I connect to one auth endpoint or another depending on the url the app is requested from. The more I think about it, the more this seems like a config problem
[19:06:22] *** nanoyak has joined #angularjs
[19:06:28] <Foxandxss> normally you have your templates cached in advance
[19:06:38] <Foxandxss> HexSquid: ah, missunderstood
[19:06:56] <Foxandxss> I wouldn't test endpoints on unit tests
[19:07:12] *** VinceZa has joined #angularjs
[19:07:14] *** pkayfire has quit IRC
[19:07:26] *** davi has joined #angularjs
[19:08:03] *** annlewis has joined #angularjs
[19:08:10] <ingsoc> Foxandxss: so in this example on angular website...
[19:08:10] <ingsoc> $templateCache.put('templateId.html', 'This is the content of the template');
[19:08:11] *** annlewis_ has quit IRC
[19:08:20] <HexSquid> Thanks all the same :)
[19:08:23] <ingsoc> can i switch the second argyument to a path ?
[19:08:25] *** Jdubs has joined #angularjs
[19:08:35] <Foxandxss> what would that change ingsoc ?
[19:08:37] <ckboii89> does anyone know how to pass data in rails to angular by anychance?
[19:08:53] <ingsoc> $templateCache.put('templateId.html');
[19:09:04] *** Pajamas has quit IRC
[19:09:08] <ingsoc> so that loads a file intot he template cache ?
[19:09:17] <ingsoc> i thoguht the first param was just an id/reference
[19:09:29] <Foxandxss> the first one is id, refernece yes
[19:09:36] <Foxandxss> if you put the path in the second one
[19:09:40] <Foxandxss> it would be requested anyway
[19:09:48] *** fedenunez has joined #angularjs
[19:10:36] *** pkayfire has joined #angularjs
[19:10:37] <robdubya> you could also use grunt to build them into JS files
[19:10:50] <Foxandxss> that is the idea
[19:11:01] <robdubya> https://www.npmjs.org/package/grunt-angular-templates
[19:11:12] *** ckboii89 has left #angularjs
[19:11:28] <ingsoc> If i do...
[19:11:28] <ingsoc> $templateCache.put('myTemplate.html', '/templates/myTemplate');
[19:11:28] <ingsoc> I would be able to reference in my html as ng-include="myTemplate.html" - no longer needing the path component
[19:12:01] *** ckboii89 has joined #angularjs
[19:12:07] *** jarrison has left #angularjs
[19:12:25] <ingsoc> Foxandxss: am i correct
[19:12:28] *** blueadept has quit IRC
[19:12:53] *** Vinnyceptr has joined #angularjs
[19:12:57] <robdubya> that's not going to have any net effect on your load time though
[19:13:03] *** Leech has quit IRC
[19:13:21] *** bphogan is now known as bphogan_afk
[19:13:23] *** Milanito has joined #angularjs
[19:13:26] <robdubya> its still going to have to request the template (over http)
[19:13:47] *** bengillies has quit IRC
[19:13:56] *** fairchild has joined #angularjs
[19:14:20] *** martinakre has quit IRC
[19:14:32] <robdubya> $templateCache.put('myTemplate.html', '<p>hello my name is {{name}}</p>')
[19:14:40] *** krawek has joined #angularjs
[19:14:43] *** krawek has joined #angularjs
[19:15:01] *** dccc has quit IRC
[19:15:08] *** martinakre has joined #angularjs
[19:15:09] *** pkayfire has quit IRC
[19:15:19] *** mehlah has quit IRC
[19:15:23] *** fuzzy has joined #angularjs
[19:15:42] *** pkayfire has joined #angularjs
[19:15:51] *** mguillech has quit IRC
[19:16:17] *** subnl1 has joined #angularjs
[19:16:32] *** blueadept has joined #angularjs
[19:16:42] *** blueadept has quit IRC
[19:16:52] *** mguillech has joined #angularjs
[19:17:07] *** subnl has quit IRC
[19:17:08] *** anjumkaiser has joined #angularjs
[19:17:08] *** fold has joined #angularjs
[19:17:47] *** balboah has joined #angularjs
[19:18:21] *** krawek has quit IRC
[19:19:39] *** bphogan_afk is now known as bphogan
[19:19:41] *** chrisbirk has quit IRC
[19:20:21] *** Nijikoku_ has quit IRC
[19:21:19] *** superplussed has quit IRC
[19:21:28] <ingsoc> robdubya: yeah, i see. What i have is a top level htrml with a number of ng-include for each section. I deally i would like to have the ng-includes preprocessed and inlined in the main.html
[19:21:32] *** superplussed has joined #angularjs
[19:21:33] *** Nizumzen has quit IRC
[19:21:40] *** baseonmars has quit IRC
[19:22:11] *** anjumkaiser has quit IRC
[19:22:13] *** hswolff has joined #angularjs
[19:22:14] *** rgolea has joined #angularjs
[19:22:15] *** seydoggy has joined #angularjs
[19:22:19] *** quartzmo has joined #angularjs
[19:22:25] <rgolea> hi there people
[19:22:28] *** quartzmo has quit IRC
[19:22:32] *** Sebastien-L has quit IRC
[19:22:35] <rgolea> i'm starting with angular.js
[19:22:40] *** charuru has joined #angularjs
[19:22:42] *** quartzmo has joined #angularjs
[19:22:53] <rgolea> and i don't know why my .config doesn't work
[19:22:55] *** Destos has quit IRC
[19:22:59] <rgolea> i'm trying to route
[19:23:09] <rgolea> app.config(function($routeProvider){ $routeProvider.when('/', { controller: 'SimpleController', templateUrl: 'app/views/1.html' } ).otherwise({ redirectTo: '/' }) });
[19:23:16] <ingsoc> i would just to have each section of my app in a separate file for organisatioal puposesd but not have the hit of multiple fetches tot he server
[19:23:16] <rgolea> what am i doing wrong?
[19:23:18] *** lite_ has joined #angularjs
[19:23:46] <rgolea> that's what i'm trying to do
[19:23:54] <rgolea> but... it doesn't work
[19:24:07] *** nanoyak has quit IRC
[19:24:10] <rgolea> somehow my ng-view tag doesn't work
[19:24:13] *** chrisbirk has joined #angularjs
[19:24:29] <rgolea> without the routing the entire app works
[19:24:33] <rgolea> when i try routing
[19:24:37] <rgolea> it doesn't
[19:24:47] <rgolea> ingsoc any idea?
[19:24:47] *** m____s has joined #angularjs
[19:25:08] *** nanoyak has joined #angularjs
[19:25:14] <robdubya> ingsoc use the grunt thing i linked, or something similar
[19:25:33] *** nanoyak has quit IRC
[19:25:34] <robdubya> it will compile all your html templates into a single JS file, which you could then concat with your app's JS
[19:25:57] *** richardbaker has quit IRC
[19:26:02] *** nanoyak has joined #angularjs
[19:26:05] *** walden|lunch is now known as walden
[19:26:08] *** Milanito has quit IRC
[19:26:25] <robdubya> then when the ng-includes happen, they'll pull from the cache rather than over the network
[19:26:25] *** Aliks has joined #angularjs
[19:26:26] *** patricka_ has joined #angularjs
[19:26:29] *** altious has quit IRC
[19:26:47] *** Jon30 has joined #angularjs
[19:27:11] *** Jon30 has joined #angularjs
[19:27:12] *** Fishy__ is now known as Fishy
[19:28:40] <rgolea> people... any help?
[19:28:40] *** hannesvdvreken has quit IRC
[19:28:40] *** Dalsass_mobi has quit IRC
[19:28:40] <rgolea> i don't know why routing doesn't work
[19:28:40] *** roolo has quit IRC
[19:28:40] <rgolea> i'm following the tutorials
[19:28:41] *** TheAceOfHearts has joined #angularjs
[19:28:41] *** hubertus_ has joined #angularjs
[19:28:41] <robdubya> rgolea make a plunker, its impossible to guess
[19:28:41] <rgolea> still nothing
[19:28:41] <rgolea> app.config(function($routeProvider){ $routeProvider.when('/', { controller: 'SimpleController', templateUrl: 'app/views/1.html' } ).otherwise({ redirectTo: '/' }) });
[19:28:41] <oniijin> stop pasting your shit in chan
[19:28:41] <rgolea> what's a plunker?
[19:28:42] *** rgolea has quit IRC
[19:28:42] <bradmc> rgloea: did you include ngRoute?
[19:28:42] *** dbouwman has quit IRC
[19:28:52] *** thedodd has quit IRC
[19:29:11] <oniijin> such douchiness
[19:29:11] <robdubya> look at the topic
[19:29:11] *** mtsr has joined #angularjs
[19:29:12] *** kvnm has joined #angularjs
[19:29:12] <robdubya> there's a link
[19:29:12] *** WeiJunLi has left #angularjs
[19:29:12] <oniijin> he left
[19:29:12] <robdubya> where you can put your code
[19:29:12] <robdubya> http://plnkr.co/edit/tpl:FrTqqTNoY8BEfHs9bB0f
[19:29:14] <oniijin> he left
[19:29:47] <bradmc> ok then
[19:29:47] *** marthinal has quit IRC
[19:29:47] *** kvnm has quit IRC
[19:29:47] *** Ir1sh has quit IRC
[19:29:51] *** heidi has joined #angularjs
[19:31:07] *** jerev_away is now known as jerev
[19:31:07] <bradmc> it only took until noon on Monday for me to hate Microsoft/IE/corporate BS
[19:31:07] *** Dalsass_mobi has joined #angularjs
[19:31:07] *** patrickarlt has quit IRC
[19:31:08] <oniijin> y did it take so long
[19:31:08] *** marthinal has joined #angularjs
[19:31:08] *** FunnyLookinHat has quit IRC
[19:31:08] <bradmc> because I was using Chrome until then
[19:31:08] *** freeman42 has joined #angularjs
[19:31:08] <oniijin> IEw
[19:31:08] *** spencercarnage has joined #angularjs
[19:31:09] *** QuantumNinja has quit IRC
[19:31:15] *** Xethron has quit IRC
[19:31:15] <bradmc> getting wrong MIME type issue with iisnode in chrome so I thought I'd open IE11 to make sure it wasn't a chrome thing
[19:31:15] *** vintik has joined #angularjs
[19:31:38] *** dccc has joined #angularjs
[19:31:38] <bradmc> it's not...but my Dev tools in IE11 are disabled now
[19:31:38] <bradmc> WTF????
[19:31:38] <robdubya> uuuugh iisnode
[19:31:46] <bradmc> yeah. did you look into that much?
[19:32:06] *** mindlace has joined #angularjs
[19:32:06] *** cthrax_ has joined #angularjs
[19:32:06] <robdubya> lets take an awesome lighweight webserver and wrap it in the worst web platform evar
[19:32:24] <bradmc> app works great with just node. but in iisnode it won't load any css or js
[19:32:24] <bradmc> yep
[19:32:33] *** avens has quit IRC
[19:32:48] *** nuizzy has joined #angularjs
[19:33:13] *** ojacobson has quit IRC
[19:33:17] *** mtsr has quit IRC
[19:33:29] *** Zesty has joined #angularjs
[19:33:33] *** ojacobson has joined #angularjs
[19:33:43] *** HexSquid has quit IRC
[19:34:06] *** snurfery has joined #angularjs
[19:34:06] *** josh-k_ has quit IRC
[19:34:07] *** klaut has joined #angularjs
[19:34:12] <Zesty> hi, so im learning angular and im building a real project now (using generator-angular + yeoman). one thing that is confusing to me.. about angular in general, is .... how can i make some kind of 'overall' structure or controller. is that common? for example my homepage is a summary page which includes data from all other controllers
[19:34:14] *** kennbrodhagen has joined #angularjs
[19:35:02] *** Nijikokun has joined #angularjs
[19:35:06] <shr3djs> Why lot of people here seems to be using sail
[19:35:08] *** Nijikokun has quit IRC
[19:35:08] *** cthrax has quit IRC
[19:35:17] *** davi has quit IRC
[19:35:19] <heathkit_> I think cross-controller communication is one of the hardest parts of learning angular
[19:35:36] <oniijin> services
[19:35:42] <heathkit_> Zesty: generally, you either want controllers to share information through a service or through scope
[19:35:42] *** jdowdle has quit IRC
[19:35:45] <heathkit_> depending on your situation
[19:35:46] *** Nijikokun has joined #angularjs
[19:35:50] *** FunnyLookinHat has joined #angularjs
[19:36:17] *** hswolff has quit IRC
[19:36:27] *** QuantumNinja has joined #angularjs
[19:36:42] *** mguillec_ has joined #angularjs
[19:36:48] *** kvnm has joined #angularjs
[19:37:09] <Zesty> ;/
[19:37:09] <Zesty> ugh
[19:37:12] *** blueadept has joined #angularjs
[19:37:13] *** blueadept has joined #angularjs
[19:37:13] <heathkit_> So, I'd like to make a directive that links different elements together so they scroll the same. What's a good way to reference another element in a directive?
[19:37:18] <Zesty> ok, kind of feel like im going in circles
[19:37:34] <heathkit_> I was thinking I could put in a CSS selector, or have them share a common "id" or something
[19:37:49] *** gordroid has joined #angularjs
[19:37:56] *** disorder20 has joined #angularjs
[19:38:00] *** waylon999 has joined #angularjs
[19:38:10] *** Mahonar has joined #angularjs
[19:38:11] *** sigurding has joined #angularjs
[19:38:12] <robdubya> shr3djs because its rad
[19:38:25] *** mzehrer_ has joined #angularjs
[19:38:27] *** Daven_ has joined #angularjs
[19:38:42] <robdubya> Zesty i'll answer your question
[19:38:43] *** snurfery has quit IRC
[19:38:51] *** kennbrodhagen has quit IRC
[19:38:56] <robdubya> but first, if you're learning, forget the generators / seeds / related BS
[19:39:05] *** jaredwilli has joined #angularjs
[19:39:15] <Zesty> hmm ok
[19:39:16] <robdubya> they obfuscate how everything works, and you end up going wtf when soemthign blows up
[19:39:22] <robdubya> do it the hard way
[19:39:45] <robdubya> (which really, isn't particularly hard, lets be honest)
[19:39:52] *** snurfery has joined #angularjs
[19:40:00] <robdubya> back in my day, we created our own files, and we liked it
[19:40:05] *** davi has joined #angularjs
[19:40:10] <Zesty> haha
[19:40:27] <robdubya> to answer the question
[19:40:28] *** mtsr has joined #angularjs
[19:40:33] *** mguillech has quit IRC
[19:40:38] *** jstroem has quit IRC
[19:40:41] *** darrin has quit IRC
[19:40:56] <robdubya> controllers should be consdiered transient
[19:41:02] <robdubya> they aren't for storing state
[19:41:05] <robdubya> or data
[19:41:08] *** hswolff has joined #angularjs
[19:41:21] <Zesty> hmm
[19:41:25] <robdubya> so as others said, typically a service would handle what you'd likely call "global"
[19:41:28] *** eperez has joined #angularjs
[19:41:30] <robdubya> but isn't really global
[19:41:52] <Zesty> perhaps this is a better question, because i am not even familiar with services too well yet...
[19:42:02] *** mguillech has joined #angularjs
[19:42:03] *** mguillech has joined #angularjs
[19:42:06] <oniijin> u should be going over basics a bit more
[19:42:25] *** vintik has quit IRC
[19:42:27] *** dccc has quit IRC
[19:42:43] <robdubya> but here's a typical app, which may answer your question / shed some light
[19:42:45] <robdubya> http://plnkr.co/edit/LZTqdd
[19:43:00] <Zesty> lets say i have an example accounting app. so, kind of like a simple version of quickbooks. in the left hand menu i have Summary, Accounts, Import, Reports, Configuration... so, would angular generally put a controller for each of those?
[19:43:04] *** hubertus_ has quit IRC
[19:43:06] <robdubya> oh fuck, quickbooks
[19:43:08] <robdubya> run away
[19:43:25] <Zesty> oh thats cool, ill look at that app in a sec
[19:43:30] <Zesty> well that was just an example
[19:43:32] <robdubya> thats sort of what you're asking about
[19:43:34] <Zesty> something 'account oriented'
[19:43:38] <Zesty> ok ill have a look now then
[19:43:40] <ojacobson> Zesty: controllers are _usually_ associated with chunks of the screen, not with chunks of your app's logic
[19:43:44] <robdubya> (i do quickbooks integration, thats why i say oh fuck runaway)
[19:43:47] <Zesty> hahaha
[19:44:12] <ojacobson> You'd probably have a controller for the account summary screen, but it gets its data from something that knows accounting and puts it in the scope (and vice versa)
[19:44:15] *** mguillec_ has quit IRC
[19:44:24] <ojacobson> rather than trying to build accounting logic into the account summary screen
[19:44:27] *** intellix has joined #angularjs
[19:44:40] <robdubya> Zesty that demo uses ui-roouter, which has the concept of a "state"
[19:44:49] *** QuantumNinja has quit IRC
[19:44:50] *** Tomdarkness has quit IRC
[19:44:53] *** FunnyLookinHat has quit IRC
[19:45:01] <Zesty> ojacobson: ok that makes a lot of sense
[19:45:11] <Zesty> ok, i do see this app is nice
[19:45:16] <Zesty> fancy animations ;p
[19:45:21] <robdubya> so you'd typically have a Account service (for i/o)
[19:45:23] *** Ir1sh has joined #angularjs
[19:45:27] *** fairchild is now known as fairchild_away
[19:45:35] <robdubya> if it helps, think "Model" == "Service"
[19:45:44] <robdubya> not all services are models, but all models should be services
[19:46:19] *** fairchild_away has quit IRC
[19:46:35] *** DerekPerkins has joined #angularjs
[19:46:42] *** andrewhl has quit IRC
[19:46:50] <Zesty> ok, looking through this code
[19:46:55] *** VinceZa has quit IRC
[19:46:59] <Zesty> thanks, this helps a lot.. i will just try to absorb
[19:47:04] <Zesty> all o fthis
[19:47:10] *** mven_ has quit IRC
[19:47:24] <robdubya> a "state" == a "screen" in qb
[19:47:31] *** darkelda has joined #angularjs
[19:47:31] *** apetro_ has joined #angularjs
[19:47:36] <robdubya> Foos = account centre / Bars = Employee Centre
[19:47:38] <robdubya> or w/e
[19:47:43] *** darrin has joined #angularjs
[19:47:48] *** hubertus_ has joined #angularjs
[19:47:48] *** bzitzow_ has joined #angularjs
[19:48:13] *** ngbot has joined #angularjs
[19:48:13] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/ChbWTg
[19:48:13] <ngbot> angular.js/master e24fb17 Kevin Brogan: modify email validation regexp to match rfc1035...
[19:48:13] *** ngbot has left #angularjs
[19:48:21] <caitp> oh no
[19:48:23] <caitp> oh no
[19:48:23] *** Snugug has joined #angularjs
[19:48:25] <caitp> did I not
[19:48:30] *** mtsr has quit IRC
[19:48:40] <oniijin> lol
[19:48:40] *** hecatonicosachor has joined #angularjs
[19:49:04] *** hecatonicosachor is now known as sacho
[19:49:08] *** ngbot has joined #angularjs
[19:49:08] <ngbot> [angular.js] caitp force-pushed master from e24fb17 to af6f943: http://git.io/eb2NaA
[19:49:08] <ngbot> angular.js/master af6f943 Kevin Brogan: fix(input): modify email validation regexp to match rfc1035...
[19:49:08] *** ngbot has left #angularjs
[19:49:17] *** sparrovv has joined #angularjs
[19:49:20] <caitp> derp
[19:49:24] *** sparrovv has quit IRC
[19:50:06] *** mguillec_ has joined #angularjs
[19:50:18] *** QuantumNinja has joined #angularjs
[19:50:18] *** richardbaker has joined #angularjs
[19:50:31] *** jhulten has joined #angularjs
[19:50:40] *** jdowdle has joined #angularjs
[19:50:47] *** guilbep has quit IRC
[19:51:19] *** shinnya has joined #angularjs
[19:51:25] *** moritzs has joined #angularjs
[19:52:21] *** hubertus_ has quit IRC
[19:52:47] *** sacho_ has quit IRC
[19:52:50] *** mven_ has joined #angularjs
[19:53:04] *** mguillech has quit IRC
[19:53:32] *** krupnik has joined #angularjs
[19:54:00] *** QuantumNinja has quit IRC
[19:54:15] *** annlewis has quit IRC
[19:54:27] *** annlewis has joined #angularjs
[19:54:30] *** obihann has quit IRC
[19:54:42] <Ir1sh> robdubya: are you familiar with how ui-bootstrap directives work? particularly the tab directive?
[19:54:42] *** fedenunez has quit IRC
[19:54:53] <Zesty> robdubya: so did you say controllers ARE associated with state, or no?
[19:55:29] *** phpxadmin_ has joined #angularjs
[19:55:54] *** mven_ has quit IRC
[19:57:01] *** seydoggy has quit IRC
[19:57:02] *** andrewhl has joined #angularjs
[19:57:05] *** Daven_ has quit IRC
[19:57:12] *** justin has joined #angularjs
[19:57:15] *** seydoggy has joined #angularjs
[19:57:28] *** altious has joined #angularjs
[19:57:32] *** lsiv568 has joined #angularjs
[19:57:37] *** fairchild has joined #angularjs
[19:57:41] *** krupnik has quit IRC
[19:57:50] *** fedenunez has joined #angularjs
[19:58:23] *** mschoening has quit IRC
[19:58:49] *** Nek has joined #angularjs
[19:58:53] *** DuelShark has joined #angularjs
[19:59:25] <ojacobson> Zesty: controllers are associated with the UI's state
[19:59:30] <OddDuck> I'm using https://github.com/angular-ui/ui-router. In the examples you setup state using $stateProvider in app.config(). One of my states has a resolve like: resolve: { customer: Customer.get(1) }. The issue is that Customer is a service that is not available in app.config(). I can make a provider to make that service available in app.config, but I'm not sure if my whole approach is wrong headed/potentially problematic. Is there a safe way to
[19:59:31] <OddDuck> include services in a more complicate ui-router state setup?
[19:59:34] *** phpxadmin has quit IRC
[19:59:35] <Zesty> ok cool
[19:59:38] <Voyage> If I know Angular or backbone. how fast can I learn Ember? to which it is most similar to?
[19:59:47] *** apetro_ has quit IRC
[19:59:51] *** nanoyak has quit IRC
[20:00:04] *** t3ll3r has quit IRC
[20:00:42] *** nanoyak has joined #angularjs
[20:01:12] *** dccc has joined #angularjs
[20:01:34] *** mven_ has joined #angularjs
[20:01:56] *** lsiv568 has quit IRC
[20:01:56] *** amedia has quit IRC
[20:02:12] <mrogne> Do most browsers support JSON.stringify() now? Or is there a reputable polyfill?
[20:02:20] *** arizzo has joined #angularjs
[20:03:08] <chexxor> OddDuck, Change to "customer: function(Customer) { return Customer.get(1) }
[20:03:18] <mrogne> nevermind
[20:03:34] <chexxor> That function will receive it's stuff from $injector, I believe
[20:04:10] *** Sebastien-L has joined #angularjs
[20:04:13] *** Malone has joined #angularjs
[20:04:26] *** benjf has quit IRC
[20:04:35] *** arizzo_ has joined #angularjs
[20:05:21] *** arizzo has quit IRC
[20:05:29] *** cthrax_ is now known as cthrax
[20:05:43] <OddDuck> chexxor, I'm using coffescript so return is implicit.. that's not actual code. Like you say though, deps are properly injected, so (CustomerService) -> CustomerService.get(1) just works
[20:05:55] <OddDuck> chexxor, for some reason I assumed it would be more painful, heh
[20:05:56] *** dbouwman has joined #angularjs
[20:05:56] *** superplussed has quit IRC
[20:06:00] <OddDuck> chexxor, thanks
[20:06:13] <chexxor> OddDuck, great - glad you got it working.
[20:06:25] *** superplussed has joined #angularjs
[20:06:38] *** arizzo_ has quit IRC
[20:07:02] *** eperez has quit IRC
[20:07:11] *** arizzo has joined #angularjs
[20:07:25] *** mven_ has quit IRC
[20:08:13] *** partikus has joined #angularjs
[20:08:27] *** Nizumzen has joined #angularjs
[20:09:03] *** robdubya has quit IRC
[20:09:05] *** pellis has joined #angularjs
[20:09:11] <pellis> anyone doing mobile with cordova?
[20:09:17] *** mguillech has joined #angularjs
[20:09:18] *** Rahul_Roy has joined #angularjs
[20:09:49] *** lite_ has quit IRC
[20:09:57] *** henn1nk has joined #angularjs
[20:10:11] *** dccc has quit IRC
[20:10:51] *** jeremymarc has joined #angularjs
[20:10:57] *** subnl1 has quit IRC
[20:11:08] *** superplussed has quit IRC
[20:11:23] *** Gambit- has quit IRC
[20:11:33] *** annlewis has quit IRC
[20:11:35] <Voyage> when to choose between backbone, angular, ember/
[20:11:44] *** arizzo has quit IRC
[20:11:53] *** jmichaelward has joined #angularjs
[20:12:01] <oniijin> before you start your project
[20:12:07] *** homework1 has joined #angularjs
[20:12:07] <jeremymarc> Im using filter with ng-repeat, but I would like to add a field to clear the filter from the select. If I use option value="" it does not display all elements
[20:12:23] *** Zesty has quit IRC
[20:12:24] <spencercarnage> @mrogne All of the latest browsers have JSON.stringify(). If you need to support older IE, you can look at this link for support http://caniuse.com/json
[20:12:41] *** mguillec_ has quit IRC
[20:13:14] <homework1> Does anyone know much about Protractor? It's giving me a weird error when I try and run tests: 'unknown error: cannot find Chrome binary'
[20:13:40] *** arkanciscan has quit IRC
[20:13:43] <Voyage> what If I want to make a CRM and want to delegate most or all the MVC to client? what to use.? ember, angular, backbone?
[20:13:48] *** auser has joined #angularjs
[20:14:09] *** thedodd has joined #angularjs
[20:14:09] <TheAceOfHearts> *cough* use backbone, it'll be fun
[20:14:15] <TheAceOfHearts> *grins*
[20:14:20] *** auser has quit IRC
[20:14:33] *** mguillech has quit IRC
[20:14:35] *** Gambit- has joined #angularjs
[20:14:42] *** Gambit- has joined #angularjs
[20:15:01] <oniijin> lol TheAceOfHearts u evil bastid
[20:15:12] *** eperez has joined #angularjs
[20:15:15] <oniijin> "o u want 2way binding? no prob, here's 20 lines of code"
[20:15:30] *** subnl has joined #angularjs
[20:15:43] <TheAceOfHearts> u wot m8
[20:16:05] *** mguillech has joined #angularjs
[20:16:16] <spencercarnage> Voyage, it all really depends. This is an Angular IRC channel, so the answer here might be “use Angular”
[20:16:30] <oniijin> use perl
[20:16:40] <Voyage> what If I want to make a CRM and want to delegate most or all the MVC to client? what to use.?
[20:16:56] <oniijin> they're all front end frameworks basically
[20:17:02] <Voyage> spencercarnage, *
[20:17:03] <oniijin> pick what you're most comfrotable with
[20:17:17] *** balboah has quit IRC
[20:17:52] *** mguillec_ has joined #angularjs
[20:18:19] *** janp has quit IRC
[20:18:30] *** eperez has quit IRC
[20:18:48] <spencercarnage> Voyage, here, a google search for “angular backbone ember comparison” https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=angular%20backbone%20ember%20comparison
[20:18:51] *** annlewis has joined #angularjs
[20:19:28] <spencercarnage> Backbone is less opinionated then angular or ember, so you have more control. However, you may end up building more of the functionality that you get out of the box with Angular or Ember.
[20:19:32] *** Raging_Hog has joined #angularjs
[20:20:09] <oniijin> i personally couldnt get into bb
[20:20:10] *** mikehaas763 has quit IRC
[20:20:17] <oniijin> way too much boilerplate constantly to do basic stuff
[20:20:25] <spencercarnage> backbone gives you a lot of rope to hang yourself with.
[20:20:40] <oniijin> cept for me that rope was tied to the starting line
[20:20:44] *** mguillech has quit IRC
[20:20:58] *** robdubya has joined #angularjs
[20:21:10] <oniijin> I used KO for a while actually,
[20:21:22] *** ngbot has joined #angularjs
[20:21:22] <ngbot> [angular.js] juliemr pushed 1 new commit to master: http://git.io/I8ZQdw
[20:21:22] <ngbot> angular.js/master 9b3961c Julie Ralph: chore(tests): increase timeout for navigation in ng-href tests to avoid timeouts...
[20:21:22] *** ngbot has left #angularjs
[20:21:27] *** DerekPerkins has quit IRC
[20:21:57] *** mschoening has joined #angularjs
[20:22:09] <Voyage> spencercarnage, hm
[20:22:16] *** mguillech has joined #angularjs
[20:22:21] *** dc_ has quit IRC
[20:22:22] <Voyage> spencercarnage, ok. now what about ember vs. angular
[20:22:44] *** aaronmitchell has quit IRC
[20:22:51] <oniijin> angular bc it starts with the letter a
[20:22:56] <oniijin> tada choice made
[20:22:56] *** mguille__ has joined #angularjs
[20:23:26] *** jsoverson has quit IRC
[20:23:42] *** jaredwilli has quit IRC
[20:23:54] <spencercarnage> Voyage, I haven’t worked with Ember so I couldn’t say. You should start with the beginning tutorials for both and see which one you would like to work with.
[20:24:05] *** jsoverson has joined #angularjs
[20:24:07] <Voyage> thanks
[20:24:26] *** slecuyer has joined #angularjs
[20:24:30] <ajk27> Voyage: If you haven't already, you may want to check out the TodoMVC project (todomvc.com)
[20:24:50] *** dccc has joined #angularjs
[20:25:11] *** jsoverson has quit IRC
[20:25:18] <Voyage> ok
[20:25:20] *** lsiv568 has joined #angularjs
[20:25:23] <slecuyer> is the CLA checker for the project automated, or does someone manually have to verify?
[20:25:25] *** mguillec_ has quit IRC
[20:25:31] *** nfroidure_ has quit IRC
[20:25:36] <ajk27> Voyage: It's admittedly pretty basic, but it gives you some idea how different frameworks can accomplish the same thing. It might be enough to let you develop a preference.
[20:25:51] *** jsoverson has joined #angularjs
[20:25:55] <Voyage> ok. will do that
[20:25:57] <slecuyer> my PR (https://github.com/angular/protractor/pull/975) seems to be stuck in "cla: no" even though I've signed the CLA
[20:26:00] <Voyage> ajk27, can anyone guide me (who has used BOTH angular and ember), for their particular use case and the things that each (shines) should be picked up?
[20:26:03] *** annlewis has quit IRC
[20:26:44] *** mguillech has quit IRC
[20:26:50] *** Raging_Hog has quit IRC
[20:26:56] *** ckboii89 has quit IRC
[20:27:06] *** jsoverson has quit IRC
[20:27:13] *** mguille__ has quit IRC
[20:27:31] *** Lumio has quit IRC
[20:27:35] *** lsiv568 has quit IRC
[20:27:45] *** jsoverson has joined #angularjs
[20:27:53] <spencercarnage> Voyage http://readwrite.com/2014/02/06/angular-backbone-ember-best-javascript-framework-for-you
[20:28:10] *** mguillech has joined #angularjs
[20:28:18] <oniijin> spencercarnage that assumes he's willing to read
[20:28:32] <oniijin> which doesn't seem like the case
[20:29:22] <spencercarnage> Lead a horse to water..
[20:29:22] *** nanoyak has quit IRC
[20:29:24] <Voyage> hm
[20:29:36] <Voyage> ok. will return after reading
[20:29:38] <oniijin> spencercarnage more like throw the horse in the river
[20:29:53] <oniijin> and it builds a boat and paddles ashore
[20:30:10] *** jaredwilli has joined #angularjs
[20:30:15] *** nanoyak has joined #angularjs
[20:30:19] <Voyage> actually, I was choosing a boat
[20:30:24] * Voyage wave
[20:30:27] * Voyage waves
[20:30:42] *** partikus has quit IRC
[20:32:31] <jumpstracks> hi all, looking for equity exchange developer to help me out on www.situationware.com
[20:32:57] *** orion1111 has joined #angularjs
[20:33:05] <jumpstracks> UI is AngularJS & Bootstrap
[20:33:37] *** Sebastien-L has quit IRC
[20:33:57] *** Aliks has quit IRC
[20:34:08] *** CodeFriar has quit IRC
[20:34:09] *** ppppaul has quit IRC
[20:34:57] *** Destos has joined #angularjs
[20:35:00] *** Aliks has joined #angularjs
[20:35:01] *** Voyage has quit IRC
[20:35:06] *** fairchild is now known as fairchild_away
[20:35:08] *** juanlas has quit IRC
[20:35:29] *** juanlas has joined #angularjs
[20:35:59] *** dccc has quit IRC
[20:35:59] *** jkremser has quit IRC
[20:36:00] *** fairchild_away has quit IRC
[20:36:09] *** justin has quit IRC
[20:36:17] *** Aliks has quit IRC
[20:36:24] *** fuzzy has joined #angularjs
[20:36:42] *** fuzzy has quit IRC
[20:36:43] *** mschoening has quit IRC
[20:37:15] *** Ir1sh has quit IRC
[20:38:13] *** fairchild has joined #angularjs
[20:39:02] <slecuyer> Can anyone comment on how frequently the CLA checker gets run for pull requests, so I can get unblocked by that?
[20:40:34] *** thebigredgeek has joined #angularjs
[20:40:47] <thebigredgeek> hi
[20:40:50] <Foxandxss> when someone human seeit
[20:41:03] <caitp> slecuyer what's your PR?
[20:41:06] <thebigredgeek> How can I conditionally show an error message off to the side of an input using ng-pattern, ng-required, etc
[20:41:26] *** azureknight has joined #angularjs
[20:41:38] *** djam90 has joined #angularjs
[20:41:44] <thebigredgeek> when the form is named 'foo', and the input is named 'bar', i am not sure how to check if bar specifically is invalid using markup nly
[20:41:47] <thebigredgeek> any thoughts here?
[20:41:59] *** heidi is now known as heidi-ramen
[20:41:59] *** jdowdle is now known as jdowdle|away
[20:42:55] *** harvey203 has quit IRC
[20:43:23] *** hychen has quit IRC
[20:43:27] *** mguillec_ has joined #angularjs
[20:43:40] *** mikehaas763 has joined #angularjs
[20:43:49] *** ckboii89 has joined #angularjs
[20:44:00] *** robdubya has joined #angularjs
[20:44:02] *** aaronmitchell has joined #angularjs
[20:44:02] *** Cavallari has quit IRC
[20:44:51] *** annlewis has joined #angularjs
[20:45:05] *** Cavallari has joined #angularjs
[20:45:07] <bradmc> robdubya: my iisnode issue was magically by removing the virtual direcotry from iis and adding it back. I tried a million other things for 2 days. yeah microsoft. we love you....jerks
[20:45:26] <oniijin> *issue solved by removing ms*
[20:45:28] <bradmc> *mgiaclly solved
[20:45:33] <bradmc> if only
[20:45:39] <slecuyer> caitp https://github.com/angular/protractor/pull/975 I know I have a couple other issues, but I'd like to at least fix the CLA
[20:45:42] <bradmc> hooray "enterprise"
[20:45:56] *** AciD` has quit IRC
[20:46:03] <oniijin> i think that word just became replacement for "super nub and uses win xp"
[20:46:12] <bradmc> I'm stuck with certain MS tech. trying to work anything cool in there that I can
[20:46:24] *** Click66 has joined #angularjs
[20:46:33] *** mguillech has quit IRC
[20:46:34] *** Dalsass_mobi has quit IRC
[20:46:39] *** Notte has joined #angularjs
[20:47:01] <bradmc> yeah...somehow "enterprise" is the new term for MS or "Professional" or "not you damn hackers"
[20:47:36] <caitp> ah, slecuyer first make sure you signed with your @yahoo-inc.com email
[20:48:03] <caitp> she'll probably see it later today, you could always ping with a PTAL or something though
[20:48:48] *** annlewis_ has joined #angularjs
[20:49:06] *** ajk27 has quit IRC
[20:49:14] *** Click66 has quit IRC
[20:49:14] <slecuyer> caitp I don't log into github with my @yahoo-inc I sign in with my personal email because it's an individual contribution
[20:49:19] *** chrislerum has quit IRC
[20:49:20] *** jmichaelward has quit IRC
[20:49:25] *** annlewis has quit IRC
[20:49:32] <caitp> slecuyer your patch was authored with your @yahoo-inc email
[20:49:38] <caitp> so we need the CLA signature to match that
[20:49:47] <caitp> you could alternatively re-author with your personal account
[20:49:52] <slecuyer> ah, gotcha
[20:50:25] *** wallerdev_ has joined #angularjs
[20:50:50] <robdubya> dizzammmn dark mode on OS X
[20:50:52] *** dccc has joined #angularjs
[20:50:56] *** wallerdev has quit IRC
[20:50:56] *** wallerdev_ is now known as wallerdev
[20:50:59] *** chrislerum has joined #angularjs
[20:51:48] *** whunt has quit IRC
[20:51:50] *** nagappan has quit IRC
[20:52:01] *** AciD` has joined #angularjs
[20:52:05] *** ceephax has joined #angularjs
[20:52:24] *** nagappan has joined #angularjs
[20:52:37] <thebigredgeek> caitp: do you know how to access the value of form models if they fail regex?
[20:52:56] *** RobinBAwesome has quit IRC
[20:53:13] <mrogne> If you're creating an angular service, and you're just returning an object.. but a property on that object should be the return value of a function.. why is it always undefined? Simple example, angular.module('mainApp').factory('AddressBook', function() { function init() { /* do stuff */ return ['foo','bar','baz']; } return { data: init() }; }); ... AddressBook.data is always undefined? But
[20:53:14] <mrogne> I see init() getting called.
[20:54:00] <thebigredgeek> The model value is undefined but I NEED the model value lol
[20:54:18] <thebigredgeek> Because I need to conditionally show a validation message if the input isn't null string but IS invalid
[20:54:32] *** ajk27 has joined #angularjs
[20:54:59] *** richardbaker has quit IRC
[20:55:01] *** hannesvdvreken has joined #angularjs
[20:55:33] <caitp> thebigredgeek: you can't
[20:55:34] *** juampy has joined #angularjs
[20:55:38] <robdubya> mrogne that seems a bit of a roundabout way to accomplish it
[20:56:16] *** jdowdle|away is now known as jdowdle
[20:56:41] <caitp> anyways, I really don't want to talk about the form scenario in angular atm, i need to put some distance between myself and that :c
[20:57:00] *** KernelCurry has quit IRC
[20:57:05] <robdubya> thebigredgeek isnt that more or less $dirty?
[20:57:14] <mrogne> hm... wrote a plunker, but it works in the plunker
[20:57:17] *** mindlace has quit IRC
[20:57:19] <thebigredgeek> no $dirty I believe means it needs to be applied to scope. I could be wrong.
[20:57:19] *** FIFOd[a] has quit IRC
[20:57:22] <mrogne> guess i need to re-check actual code
[20:57:31] <thebigredgeek> I need $invalid while also having access to the invalid value
[20:57:36] <thebigredgeek> I think that may be a feature worth adding
[20:57:38] <thebigredgeek> via PR
[20:57:50] <mrogne> maybe because i'm dealing with local storage? and i'm returning from a promise? .then()
[20:58:00] *** artisangoose has quit IRC
[20:59:02] *** fairchild is now known as fairchild_away
[20:59:32] *** FIFOd[a] has joined #angularjs
[20:59:32] *** fairchild_away has quit IRC
[20:59:33] <gnar_matix> Is there a way to watch a property of a Service? I want to load resources from an endpoint which serves them in pages. The endpoint is somewhat slow, so I want to use the first page of resources as soon as they are loaded. Then, ideally, the Service notifies the scope of a change after it loads the second page, third page, etc.
[20:59:34] *** cami1000_ has quit IRC
[20:59:37] <jeremymarc> Im using filter with ng-repeat to filter according to a select. Im trying to add an option to clear the filter but it does not work. Any idea? https://gist.github.com/jeremymarc/bcfab3457a4758d986b2
[20:59:39] *** pskrz has joined #angularjs
[21:00:11] *** cami1000 has joined #angularjs
[21:00:14] <robdubya> mrogne oh yeah, if its async its not going to work
[21:00:23] <pskrz> i'm writing a directive test, a lot of examples set element to a piece of junk html, how do I read in a template for element so I'm working with an actual element?
[21:00:27] <robdubya> gnar_matix you dont need to watch
[21:00:28] <mrogne> darn it
[21:00:29] <gnar_matix> Will it work if I just do $scope.resources = Service.resources & then have the Service constantly querying?
[21:00:34] *** KernelCurry has joined #angularjs
[21:00:35] *** freeman42 has quit IRC
[21:00:37] <pskrz> e.g. https://egghead.io/lessons/angularjs-unit-testing-a-directive
[21:00:39] <gnar_matix> robdubya Will that work ^^
[21:00:44] *** cthrax has quit IRC
[21:00:49] *** mguillec_ has quit IRC
[21:01:00] <robdubya> gnar_matix hard to say without seeing what you're doing
[21:01:07] *** Left_Turn has joined #angularjs
[21:01:13] <robdubya> but typically you'd have a var in the service which you expose
[21:01:37] <gnar_matix> robdubya Okay but setting $scope.resources = Service.resources, $scope.resources will reflect the changes in Service.resources?
[21:01:41] <robdubya> and then either bind to the promise resolution, or with a $watch
[21:01:47] <robdubya> yep
[21:01:48] *** wallerdev_ has joined #angularjs
[21:01:54] *** FIFOd[a] has quit IRC
[21:01:58] <robdubya> its all the *same* object
[21:02:30] *** whunt has joined #angularjs
[21:02:42] <azureknight> robdubya do you still have that plunkr you made for me with the toggles?
[21:02:58] <robdubya> gnar_matix http://plnkr.co/edit/LnK6weUufD0gVYSKwQeP?p=info
[21:03:04] <gnar_matix> robdubya thx
[21:03:23] <robdubya> same sort of idea i htink, one of the contrlllers is listening to the promise, the other is just bound to the data
[21:03:30] *** bradmc has quit IRC
[21:04:07] *** krupnik has joined #angularjs
[21:04:09] *** sheperson has joined #angularjs
[21:04:21] <robdubya> azureknight which?
[21:04:28] <azureknight> Hold on. Trying to find it.
[21:04:33] <azureknight> I want to add pagination so I thought I'd ask for some help.
[21:04:48] *** wallerdev has quit IRC
[21:04:48] *** wallerdev_ is now known as wallerdev
[21:04:48] <robdubya> http://plnkr.co/users/robwormald prob one of those, i dont delete them
[21:04:50] *** fairchild has joined #angularjs
[21:04:52] *** Xethron has joined #angularjs
[21:04:54] <robdubya> should prob get better about naming
[21:05:08] *** dccc has quit IRC
[21:05:19] <shr3djs> Hey im using array.type but it seems type is a reserved .. is it possible to do like in sql and something like array.[type] so it works or something ?
[21:05:20] *** acconrad has quit IRC
[21:05:23] *** evilaliv3 has quit IRC
[21:05:37] <robdubya> shr3djs for what porpoise
[21:05:59] *** feelfine has joined #angularjs
[21:06:05] <azureknight> robdubya the one that looked like this: http://plnkr.co/edit/Hq8GE5PxUCvzOG8j0Rer?p=preview
[21:06:09] <azureknight> But you added toggles and hiding options.
[21:06:18] <shr3djs> well i have my object $scope.object and it has a type. but its not working since type is something reserved or something
[21:06:19] *** senayar has joined #angularjs
[21:06:32] <shr3djs> and i want to see if there is a work around because either way i need to change that everywhere...
[21:06:34] *** jdj_dk has joined #angularjs
[21:06:46] *** Malone has quit IRC
[21:06:50] *** ghostbar has quit IRC
[21:07:04] *** tommmied has joined #angularjs
[21:07:06] <robdubya> type's not a reserved work afaik, especially if its a property
[21:07:24] *** dcherman2 has joined #angularjs
[21:07:27] <azureknight> robdubya found it!
[21:07:28] <azureknight> http://plnkr.co/edit/oytBPrpL1YnqTlfLtwen?p=preview
[21:07:47] <robdubya> ah yes
[21:07:56] <tommmied> Hey guys, I have a few angular apps within different iframes. On firefox when I refresh the app is restored from the cache I believe
[21:08:07] <azureknight> Though, that one is slightly broken, the tags aren't propagating.
[21:08:13] <tommmied> I was wondering if there is anything I can do to force angular to reload on a browser reload
[21:08:32] <robdubya> tommmied that's the default (and basically only) behavior
[21:08:36] <azureknight> robdubya http://plnkr.co/edit/oytBPrpL1YnqTlfLtwen?p=preview
[21:08:37] *** krupnik has quit IRC
[21:08:38] <azureknight> That's the one.
[21:08:50] <robdubya> roger
[21:08:52] <shr3djs> robdubya: when i try using this $scope.selectedFiles[i].type = "thetype" its not working... and when i type it the color is different
[21:09:02] *** nanoyak has quit IRC
[21:09:06] <robdubya> by "not working" you mean...
[21:09:08] <tommmied> robdubya: it looks like firefox is restoring a cache version
[21:09:25] *** bzitzow_ has quit IRC
[21:09:32] *** orion1111 has quit IRC
[21:09:50] *** Ir1sh has joined #angularjs
[21:09:53] <shr3djs> robdubya: look : http://i.imgur.com/lRmDspO.png
[21:09:56] *** wallerdev has quit IRC
[21:10:10] <tommmied> in chrome, this does not happen at all, and when firebug is turned on this does not happen since firebug disables caching
[21:10:11] *** quartzmo has quit IRC
[21:10:12] *** wallerdev has joined #angularjs
[21:10:23] *** wallerdev has quit IRC
[21:10:49] *** quartzmo has joined #angularjs
[21:11:00] <tommmied> but when I tell firefox to hard refresh ctrl+shift+R it doesn't refresh all the iframes properly :/
[21:11:12] *** Sijdesign has joined #angularjs
[21:11:39] <azureknight> robdubya any idea how I could make those staff listings paginate?
[21:12:20] *** davi has quit IRC
[21:12:26] *** vf1 has quit IRC
[21:13:01] <nickeddy> azureknight: http://stackoverflow.com/questions/11581209/angularjs-pagination-on-a-list-using-ng-repeater
[21:13:03] *** mguillech has joined #angularjs
[21:13:11] *** marthinal has quit IRC
[21:13:17] *** chrislerum has quit IRC
[21:13:21] <azureknight> nickeddy oh. Nice. Thank you.
[21:13:32] *** Jdubs has quit IRC
[21:13:33] <nickeddy> yep
[21:13:33] *** vf1 has joined #angularjs
[21:13:36] *** dylukes has quit IRC
[21:13:43] <azureknight> Gotta go found a power source for my lappy.
[21:13:44] <azureknight> Be back soon.
[21:14:07] *** jsoverson has quit IRC
[21:14:34] *** Malone has joined #angularjs
[21:14:44] *** jsoverson has joined #angularjs
[21:14:49] *** Jdubs has joined #angularjs
[21:14:53] *** vf1 has quit IRC
[21:15:28] *** azureknight has quit IRC
[21:15:33] *** quartzmo has quit IRC
[21:15:49] *** fraenzn has joined #angularjs
[21:15:49] *** Dalsass_mobi has joined #angularjs
[21:16:02] *** dariocravero has joined #angularjs
[21:16:02] *** jsoverson has quit IRC
[21:16:44] *** jsoverson has joined #angularjs
[21:17:08] *** slainer68_ftw has joined #angularjs
[21:17:25] <mrogne> So, I'm trying to get $localForage working.. I'm creating a service (factory), and basically I just want to load data from local storage, and when it's done loading.. set that to a property within the service object. I'm having a hell of a time tryign to get it working :(
[21:17:39] <robdubya> shr3djs typcailly thats the bad way to do that
[21:17:40] *** mguillech has quit IRC
[21:17:57] <robdubya> that will blow the fuck up if something is undefined
[21:17:58] *** jsoverson has quit IRC
[21:18:03] <robdubya> better to .map
[21:18:10] <mrogne> Here is the factory.. http://pastebin.com/4udDTMDQ
[21:18:18] *** Jdubs has quit IRC
[21:18:39] *** jsoverson has joined #angularjs
[21:18:42] <mrogne> am I going about it the entirely wrong way & should be slaped? :\
[21:18:48] <mrogne> slapped*
[21:19:14] *** VinceZa has joined #angularjs
[21:19:40] *** dcherman has joined #angularjs
[21:19:41] <chexxor> mrogne, "getInitialData" doesn't return anything :-/
[21:19:45] *** baseonmars has joined #angularjs
[21:19:52] *** jsoverson has quit IRC
[21:19:54] * mrogne rages
[21:19:54] *** richardbaker has joined #angularjs
[21:19:59] <mrogne> i'm so dumb
[21:20:02] *** ngoyal has joined #angularjs
[21:20:10] *** mguillech has joined #angularjs
[21:20:18] <robdubya> heh
[21:20:27] <chexxor> mrogne, does that solve your problem?
[21:20:28] <mrogne> still, is there a better way to do it
[21:20:29] <jaawerth_> mrogne: have you tried using new?
[21:20:33] *** jsoverson has joined #angularjs
[21:20:38] *** cmoneylulz has joined #angularjs
[21:21:04] *** dccc has joined #angularjs
[21:21:15] <robdubya> mrogne whats the difference between initial data and just calling it whenyou need it
[21:21:25] <robdubya> either way its a promise resolution thing
[21:21:35] <mrogne> guess i can do that, but i ...yeah. promises are still messing me up
[21:21:39] <jaawerth_> mrogne: "mypromise.then(function() { this.data = stuff; }" could be put in your constructor function, then you can invoke new to create the object from the constructor
[21:21:48] *** jsoverson has quit IRC
[21:21:54] *** mindlace has joined #angularjs
[21:22:06] *** Sijdesign has quit IRC
[21:22:09] <robdubya> i tend to treat everything as promises
[21:22:11] <robdubya> always
[21:22:14] <jaawerth_> or that
[21:22:17] *** dcherman2 has quit IRC
[21:22:23] <robdubya> vs psuedo loading initial data
[21:22:28] *** jsoverson has joined #angularjs
[21:22:31] *** darrin has quit IRC
[21:22:35] <robdubya> then you can use a resolve
[21:22:46] <chexxor> robdubya, have you tried using bacon or rxjs?
[21:22:49] *** superplussed has joined #angularjs
[21:22:51] *** danielpquinn has quit IRC
[21:23:06] <mrogne> robdubya: I don't quite follow :\
[21:23:16] *** mvovchak has joined #angularjs
[21:23:20] <Left_Turn> is deployd used a lot with angular apps?
[21:23:27] <mrogne> I'll try to find some guide, thanks. The official API docs on $q confused me
[21:23:29] <mrogne> confuse*
[21:23:40] *** VinceZa has quit IRC
[21:23:42] *** arizzo has joined #angularjs
[21:24:37] *** nickeddy has quit IRC
[21:24:38] *** jsoverson has quit IRC
[21:24:40] *** teegee543 has quit IRC
[21:25:21] *** jsoverson has joined #angularjs
[21:26:29] *** tilgovi has joined #angularjs
[21:26:33] *** jsoverson has quit IRC
[21:26:56] *** arizzo_ has joined #angularjs
[21:27:03] *** Aliks has joined #angularjs
[21:27:11] *** jstimm has quit IRC
[21:27:12] *** jsoverson has joined #angularjs
[21:27:18] *** superplussed has quit IRC
[21:27:35] *** gordroidJS has joined #angularjs
[21:27:38] *** tfennelly has joined #angularjs
[21:28:00] *** jstimm has joined #angularjs
[21:28:09] *** Reskp has joined #angularjs
[21:28:10] *** jstimm has quit IRC
[21:28:12] *** arizzo has quit IRC
[21:28:28] *** jsoverson has quit IRC
[21:28:44] *** secondjeff has quit IRC
[21:28:44] *** lsiv568 has joined #angularjs
[21:28:44] <frege> which format is more reasonable ? https://gist.github.com/pazooki/b245f765688d1305600b
[21:28:48] <frege> example 1 or two?
[21:29:11] *** jsoverson has joined #angularjs
[21:29:43] *** gordroid has quit IRC
[21:29:49] *** chrislerum has joined #angularjs
[21:29:57] *** jpstone has joined #angularjs
[21:30:13] *** jsoverson has quit IRC
[21:30:20] *** Sijdesign has joined #angularjs
[21:30:53] *** jsoverson has joined #angularjs
[21:31:04] <chexxor> frege, I like #2 better, but I'm no expert.
[21:31:17] *** bphogan is now known as bphogan_afk
[21:31:24] <chexxor> it feels more rest-ful
[21:31:27] <frege> #2 will require more hits but it performs better
[21:31:45] <chexxor> why not both? :)
[21:31:57] <frege> what do you mean?
[21:32:06] <chexxor> http://app01.com/accountAndItems/1/
[21:32:08] *** jsoverson has quit IRC
[21:32:12] <chexxor> and keep number 2
[21:32:27] <chexxor> if you need to do number 1, that is
[21:32:50] *** jsoverson has joined #angularjs
[21:33:07] *** lsiv568 has quit IRC
[21:33:17] *** feelfine has quit IRC
[21:33:34] <frege> oh I see what you mean
[21:33:40] *** gordroidJS has quit IRC
[21:33:41] *** sheperson has quit IRC
[21:33:42] <frege> that doesn't seem to be a good idea
[21:34:03] *** dccc has quit IRC
[21:34:03] *** jsoverson has quit IRC
[21:34:46] *** jsoverson has joined #angularjs
[21:34:46] *** jaredwilli has quit IRC
[21:34:48] *** wallerdev has joined #angularjs
[21:34:59] *** sheperson has joined #angularjs
[21:34:59] *** gordroid has joined #angularjs
[21:35:02] *** cigarshark has joined #angularjs
[21:35:06] *** kennbrodhagen has joined #angularjs
[21:35:16] *** sheperson has quit IRC
[21:35:53] *** slainer68_ftw has quit IRC
[21:35:59] *** jsoverson has quit IRC
[21:36:28] <chexxor> yeah, I agree
[21:36:39] *** jsoverson has joined #angularjs
[21:37:08] *** MistahKurtz has joined #angularjs
[21:37:42] *** chrislerum has quit IRC
[21:37:55] *** jsoverson has quit IRC
[21:38:34] *** jsoverson has joined #angularjs
[21:38:51] *** bphogan_afk is now known as bphogan
[21:39:05] *** arussel has joined #angularjs
[21:39:22] *** gordroid has quit IRC
[21:39:28] *** eperez has joined #angularjs
[21:39:31] *** Daven_ has joined #angularjs
[21:39:33] *** kennbrodhagen has quit IRC
[21:39:34] *** eperez has quit IRC
[21:39:48] *** chrislerum has joined #angularjs
[21:39:54] *** secondjeff has joined #angularjs
[21:40:31] *** nanoyak has joined #angularjs
[21:40:37] *** feelfine has joined #angularjs
[21:40:46] *** vf1 has joined #angularjs
[21:41:23] <mrogne> robdubya: http://pastebin.com/e2aCk7XC kinda illustrates my new problem :P
[21:41:44] *** ckboii89 has quit IRC
[21:42:22] *** FunnyLookinHat has joined #angularjs
[21:42:27] *** mikehaas763 has quit IRC
[21:42:30] *** Cavallari has quit IRC
[21:42:48] *** jacuqesdancona has joined #angularjs
[21:42:50] <momomomomo> Anyone familiar with Grunt? I'm compiling an angular app; but want all of the urls/compiled files to be prefixed witha path (ie: /dashboard/); is there a way to do this?
[21:42:58] *** mikehaas763 has joined #angularjs
[21:43:08] <mrogne> robdubya: oh, i think this is what i'm after? http://markdalgleish.com/2013/06/using-promises-in-angularjs-views/
[21:43:19] *** mary5030 has joined #angularjs
[21:43:21] *** AnthonyC has joined #angularjs
[21:43:38] <arussel> using chrome, is there a way to keep the console preserver log accross page refresh ? (there is a checkbox for Network, but not for console) ?
[21:43:43] *** jstroem has joined #angularjs
[21:44:14] *** whunt has quit IRC
[21:44:25] *** teegee543 has joined #angularjs
[21:44:38] *** Dalsass_mobi has quit IRC
[21:44:52] *** Zesty has joined #angularjs
[21:45:01] *** secondjeff has quit IRC
[21:45:43] *** mcreager has joined #angularjs
[21:45:52] *** quartzmo has joined #angularjs
[21:45:53] *** toors has joined #angularjs
[21:46:00] *** heidi-ramen has quit IRC
[21:46:03] *** cmoneylulz has quit IRC
[21:46:28] *** heidi has joined #angularjs
[21:46:36] *** derekh__ has quit IRC
[21:46:43] <Zesty> So im trying to wrap my head around a controller... am i supposed to make a new controller for each restful path? my first thought is no, and just have an AccountsCtrl that would handle index/show/edit/create/delete... but now that i think about it its almost like its supposed to have a new controller for all of them, otherwise it tries to call index (fetch all accounts) on every other page where its not supposed to do that
[21:46:54] <Zesty> like showing an account doesnt need to call index
[21:46:55] <Zesty> or just GET /accounts
[21:47:06] <ojacobson> Controllers control chunks of the screen, not chunks of app logic
[21:47:10] *** jacuqesdancona has quit IRC
[21:47:36] *** eperez has joined #angularjs
[21:47:40] <Zesty> so how do i not be redundant?
[21:47:43] *** jbourassa has joined #angularjs
[21:47:44] <sacho> arussel, settings -> console -> preserve log(the settings are the cogwheel on the top-right
[21:47:47] <Zesty> lik ewhat if 3 parts of my app all get a listing of accounts
[21:47:52] <TravisTX> arussel: click the gear icon in dev tools, and then under "console" click "preseve log upon navigation"
[21:48:12] *** euskadi31 has joined #angularjs
[21:48:21] *** Sijdesign has quit IRC
[21:48:35] *** jpstone has quit IRC
[21:48:52] *** secondjeff has joined #angularjs
[21:49:49] *** Dalsass_mobi has joined #angularjs
[21:49:54] *** Ymesio has quit IRC
[21:50:01] *** avens has joined #angularjs
[21:50:02] *** sigurding has quit IRC
[21:50:14] *** dccc has joined #angularjs
[21:51:07] *** Ymesio has joined #angularjs
[21:51:39] *** rbs- has joined #angularjs
[21:51:53] *** danielpquinn has joined #angularjs
[21:51:56] *** shackleford has quit IRC
[21:52:07] *** pellis has quit IRC
[21:52:22] *** Reskp has quit IRC
[21:52:48] *** slainer68_ftw has joined #angularjs
[21:52:55] *** Daven_ has quit IRC
[21:53:08] *** rbs has quit IRC
[21:53:23] *** rbs- is now known as rbs
[21:53:32] *** Zesty has quit IRC
[21:53:43] *** balboah has joined #angularjs
[21:54:08] *** Reskp has joined #angularjs
[21:54:46] *** Reskp has quit IRC
[21:54:58] *** stevvooe has joined #angularjs
[21:55:21] *** CodeFriar has joined #angularjs
[21:55:49] *** walden is now known as walden|brb
[21:56:17] *** darrin has joined #angularjs
[21:56:26] *** jstroem has quit IRC
[21:56:40] *** jstroem has joined #angularjs
[21:56:43] *** watsonkp has quit IRC
[21:56:49] *** Sijdesign has joined #angularjs
[21:57:09] *** dccc has quit IRC
[21:57:51] *** Fishy__ has joined #angularjs
[21:58:15] *** Reskp has joined #angularjs
[21:58:42] *** wallerdev has quit IRC
[21:59:16] *** shackleford has joined #angularjs
[21:59:16] *** Snugug has quit IRC
[21:59:55] *** richardbaker has quit IRC
[21:59:55] *** shackleford has quit IRC
[22:00:02] *** shackleford has joined #angularjs
[22:00:25] *** mven_ has joined #angularjs
[22:00:39] <mrogne> http://pastebin.com/0m9zeDDB this is the working service... is what i'm doing here incredibly stupid? or is this OK? robdubya chexxor & others
[22:00:53] *** jmichaelward has joined #angularjs
[22:01:01] *** arizzo_ has quit IRC
[22:01:29] *** richard__ has joined #angularjs
[22:01:30] *** Fishy has quit IRC
[22:01:39] *** arizzo has joined #angularjs
[22:01:45] *** dbouwman has quit IRC
[22:02:19] *** dbouwman has joined #angularjs
[22:02:29] *** Fishy__ has quit IRC
[22:03:14] *** Johnny13371337 has quit IRC
[22:03:16] *** arizzo has quit IRC
[22:03:34] *** arizzo has joined #angularjs
[22:03:47] *** darrin has quit IRC
[22:03:57] *** whunt has joined #angularjs
[22:04:25] *** lsiv568 has joined #angularjs
[22:05:11] *** arizzo has quit IRC
[22:05:19] *** Daven_ has joined #angularjs
[22:05:24] *** Snugug has joined #angularjs
[22:05:44] *** arizzo has joined #angularjs
[22:05:58] *** chrisshattuck has quit IRC
[22:05:59] *** raghunayyar has joined #angularjs
[22:06:09] *** richard__ has quit IRC
[22:06:16] *** chrisshattuck has joined #angularjs
[22:06:39] *** eperez has quit IRC
[22:06:40] *** Snugug has quit IRC
[22:06:49] *** ngoyal has quit IRC
[22:06:57] *** shackleford has quit IRC
[22:07:12] *** nemothekid has joined #angularjs
[22:07:22] <raghunayyar> Its about checkboxes, when I submit a form, the checkbox model dont update.
[22:07:24] <raghunayyar> http://jsfiddle.net/8neqe/
[22:07:33] <raghunayyar> pretty basic, what am I missing?
[22:08:36] *** Notte has quit IRC
[22:09:58] *** arizzo has quit IRC
[22:09:58] *** darrin has joined #angularjs
[22:11:00] <KimP> your submit is outside the controller?
[22:11:57] *** mven_ has quit IRC
[22:12:23] *** shackleford has joined #angularjs
[22:12:37] *** mzehrer_ has quit IRC
[22:12:45] *** bphogan is now known as bphogan_afk
[22:13:16] *** illume has joined #angularjs
[22:13:27] *** dccc has joined #angularjs
[22:13:38] <raghunayyar> KimP: copy paste error, putting it inside.
[22:14:12] *** walden|brb is now known as walden
[22:14:21] <KimP> no expert here ;) play with angular since yesterday so.. ;)
[22:14:24] <chexxor> mrogne, that works. There are other ways, of course
[22:14:27] <KimP> but that was what i noticed
[22:14:32] *** Rahul_Roy has quit IRC
[22:14:40] <mrogne> thanks, chexxor. moving forward ;)
[22:14:50] <mrogne> i guess i need to fool around with promises more... understand them better.
[22:15:04] <sal1191> is there anything available to the compile function that is not already doable in your link function?
[22:15:12] <sal1191> or is it purely for organization
[22:15:28] <chexxor> the benefit of doing it that way is that you can now put `serviceObject.contacts` in a few different ng expressions in templates, and they all are updated at the same time
[22:15:36] <mrogne> yeah
[22:15:45] *** seydoggy has quit IRC
[22:15:48] <homework1> if I have an app that needs the user to be logged in to use it, how do I do e2e testing with protractor?
[22:16:17] *** seydoggy has joined #angularjs
[22:16:58] <chexxor> sal1191, you can async-fetch a directive's template if you do that request and then pass it to `$compile` inside of the link function.
[22:17:04] *** ingsoc has quit IRC
[22:17:05] <KimP> raghunayyar http://jsfiddle.net/8neqe/3/
[22:17:10] *** secondjeff has quit IRC
[22:17:13] <chexxor> not saying it's the best solution to the problem, but I've done it before.
[22:17:35] <raghunayyar> KimP: I got it working in Plunkr somehow. lol
[22:18:09] *** teegee543 has quit IRC
[22:18:13] <elxa> raghunayyar: me2, maybe it's a buggy cdn or buggy angular 1.2.1?
[22:18:16] <KimP> yeah. in fiddle you had to set it to "no wrap -in <body>"
[22:18:24] <KimP> not on "onLoad"
[22:18:28] <KimP> i think.
[22:18:33] <raghunayyar> aaah, okay
[22:18:36] <raghunayyar> plunkr ftw
[22:18:40] *** arizzo has joined #angularjs
[22:18:56] *** braoru has joined #angularjs
[22:19:04] *** chrisbirk has quit IRC
[22:19:05] *** arizzo has joined #angularjs
[22:19:10] *** cthrax has joined #angularjs
[22:19:12] *** braoru has quit IRC
[22:20:21] *** illume has quit IRC
[22:20:37] *** seydoggy has quit IRC
[22:23:21] *** nanoyak has quit IRC
[22:23:24] *** o_p_z has joined #angularjs
[22:24:00] *** mmmurphy has joined #angularjs
[22:24:53] *** nanoyak has joined #angularjs
[22:25:15] <homework1> if I have an app that needs the user to be logged in to use it, how do I do e2e testing with protractor?
[22:25:23] *** Willow has joined #angularjs
[22:25:34] *** accelerate has quit IRC
[22:25:35] *** bphogan_afk is now known as bphogan
[22:25:38] *** Sijdesign has quit IRC
[22:25:43] *** Brocken is now known as zz_Brocken
[22:25:51] *** mven_ has joined #angularjs
[22:25:58] *** ckboii89 has joined #angularjs
[22:25:59] *** accelerate has joined #angularjs
[22:26:27] *** dccc has quit IRC
[22:26:28] *** ngbot has joined #angularjs
[22:26:28] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/MBqbTg
[22:26:28] <ngbot> angular.js/master a88c215 Shahar Talmi: fix(input): escape forward slash in email regexp...
[22:26:28] *** ngbot has left #angularjs
[22:26:44] <mmmurphy> Hello all. I'm trying to be clever about lazy image loading. I'd like to request an image with angular, and once the data is done loading (if it's not a 404), then inject the image into the page. But the image is actually a CSS background (for the sake of positioning). The only thing I can think to do is use a data-uri. But it seems that in order to convert an image to a data uri with JS, I'd need to use a canvas element. This might not be so bad, but it se
[22:27:07] *** ckboii89 has quit IRC
[22:27:21] *** nanoyak has quit IRC
[22:27:29] *** wallerdev has joined #angularjs
[22:27:44] <mmmurphy> homework1: Did you look on Google for something like this? http://www.ng-newsletter.com/posts/practical-protractor.html
[22:28:00] <mmmurphy> or https://egghead.io/series/learn-protractor-testing-for-angularjs
[22:28:04] *** jkremser has joined #angularjs
[22:28:04] *** jkremser has joined #angularjs
[22:28:09] *** Jdubs has joined #angularjs
[22:28:12] <homework1> mmmurphy yup read through/watched both of those
[22:28:15] *** heidi has quit IRC
[22:28:33] *** toors has quit IRC
[22:28:33] *** nanoyak has joined #angularjs
[22:28:36] *** teegee543 has joined #angularjs
[22:28:43] <mmmurphy> Maybe it would help you to ask more detailed questions, including what specifically is difficult for you to grasp at the moment
[22:28:48] *** toors has joined #angularjs
[22:28:52] *** Jdubs has quit IRC
[22:29:32] *** heidi has joined #angularjs
[22:30:23] *** tfennelly has quit IRC
[22:30:34] *** mven_ has quit IRC
[22:31:05] *** illume has joined #angularjs
[22:31:45] *** RobinBAwesome has joined #angularjs
[22:32:33] <pskrz> i have a directive and a jasmine unit test here https://gist.github.com/pskrz/c9f8f77eaedfe84e619d The test doesn't work, i'm not sure how to get a basic test working for my directive
[22:32:42] *** ckboii89 has joined #angularjs
[22:33:42] <homework1> mmmurphy the question was simple. I want to test a small portion of my app. But the app requires you to be logged in to use it. I don't want to test the login portion right now. But I can't get past the login page
[22:34:32] *** moritzs has quit IRC
[22:34:46] *** secondjeff has joined #angularjs
[22:35:56] *** jbourassa has quit IRC
[22:36:08] *** krupnik has joined #angularjs
[22:36:08] *** apetro_ has joined #angularjs
[22:36:22] *** tfennelly has joined #angularjs
[22:36:36] *** jeremymarc has quit IRC
[22:36:38] *** ckboii89 has quit IRC
[22:36:59] *** richardbaker has joined #angularjs
[22:38:29] *** spencercarnage has quit IRC
[22:38:40] *** lsiv568 has quit IRC
[22:39:01] <jaawerth_> homework1: well the specific approach will vary wildly depending on how your login status is implemented, but in general you would mock it so that the status is 'logged in', possibly as a test user (the specific user probably doesn't matter since you're likely also mocking whatever backend data you're using)
[22:39:09] <mmmurphy> Well that's the part of e2e testing, is that it tests the entire app, including login homework1. However, probably what you need in order to be logged in already is a session cookie. That depends on what kind of login setup you have. If you establish some kind of testing session cookie and pass that along with your requests then you should be able to act as if you're already logged in
[22:39:18] *** secondjeff has quit IRC
[22:39:47] *** bphogan is now known as bphogan_afk
[22:39:54] *** faviouz has joined #angularjs
[22:39:54] *** luisbug has joined #angularjs
[22:39:59] *** jbourassa has joined #angularjs
[22:40:06] *** mewm has joined #angularjs
[22:40:13] *** hannesvdvreken has quit IRC
[22:40:36] <gnar_matix> Hey guys -- I have a service (let's call it Service) that retrieves resources, stored in Service.results . I've set $scope.results = Service.results, but the scope is not digesting the service changes.. Any ideas?
[22:40:36] *** fedenunez has quit IRC
[22:41:06] *** cthrax has quit IRC
[22:41:09] <mmmurphy> hmm, not sure gnar_matix, have you tried using $scope.$apply
[22:41:10] <mmmurphy> ?
[22:41:22] *** mary5030 has quit IRC
[22:41:40] <gnar_matix> mmmurphy I manually ran $scope.$digest() from the console & it gave me an error digest already in progress.
[22:41:45] *** davek has joined #angularjs
[22:41:50] <mmmurphy> hmm, bummer
[22:41:52] *** teegee543 has quit IRC
[22:41:59] *** richardbaker has quit IRC
[22:42:01] *** mary5030 has joined #angularjs
[22:42:04] *** fedenunez has joined #angularjs
[22:43:09] *** djam90_1 has joined #angularjs
[22:43:24] *** FIFOd[a] has joined #angularjs
[22:43:40] *** eutheria has quit IRC
[22:43:58] *** dccc has joined #angularjs
[22:44:02] *** isthisreallife has joined #angularjs
[22:44:19] *** isthisreallife has left #angularjs
[22:44:34] *** fedenunez has quit IRC
[22:44:37] *** cthrax has joined #angularjs
[22:44:48] *** umib0zu has quit IRC
[22:45:09] *** RandomStranger- has joined #angularjs
[22:45:19] *** cboden has quit IRC
[22:45:35] *** RandomStranger has quit IRC
[22:45:55] *** Fire-Dragon-DoL has quit IRC
[22:46:10] *** apetro_ has quit IRC
[22:46:11] *** djam90 has quit IRC
[22:46:30] *** pdillinger1 has quit IRC
[22:46:32] *** nickeddy has joined #angularjs
[22:46:34] <KimP> is it possible to use a property of an object passed to an element in the template function of a directive?
[22:46:47] *** ipalaus has quit IRC
[22:46:47] <nickeddy> is there any directive for bootstrap nav dropdowns?
[22:46:50] <KimP> to clairify: http://jsfiddle.net/FHVD9/693/
[22:46:52] <nickeddy> or nav collapses
[22:46:55] *** Schtive has joined #angularjs
[22:47:10] *** shackleford has quit IRC
[22:47:17] *** darrin has quit IRC
[22:47:24] *** shackleford has joined #angularjs
[22:47:46] *** aaronmitchell has quit IRC
[22:47:47] <KimP> nickeddy: http://angular-ui.github.io/bootstrap/
[22:48:07] *** rabaznaz has quit IRC
[22:48:11] <nickeddy> that's got the dropdowns but no nav collapse :(
[22:48:17] <nickeddy> oh wait
[22:48:24] <nickeddy> yeah no :/
[22:48:46] *** spencercarnage has joined #angularjs
[22:49:21] <KimP> yeah is see :(
[22:49:24] <nickeddy> meh i can go without it
[22:49:30] *** chrislerum has quit IRC
[22:50:11] *** dccc has quit IRC
[22:50:46] *** chrislerum has joined #angularjs
[22:51:19] *** mattwynne has quit IRC
[22:51:33] *** fairchild has quit IRC
[22:51:38] *** zumba_addict has quit IRC
[22:51:39] *** cboden has joined #angularjs
[22:51:53] *** chrislerum has quit IRC
[22:51:55] *** Snugug has joined #angularjs
[22:52:20] *** lw has quit IRC
[22:52:21] *** tyfighter has joined #angularjs
[22:52:23] *** chrislerum has joined #angularjs
[22:52:29] *** bradmc has joined #angularjs
[22:52:36] *** djam90_1 is now known as djam90
[22:53:27] *** aaronmitchell has joined #angularjs
[22:53:40] *** fairchild has joined #angularjs
[22:55:31] *** chaitu87 has joined #angularjs
[22:56:03] *** freeman42 has joined #angularjs
[22:57:02] <robdubya> mrogne looking now
[22:57:05] *** mven_ has joined #angularjs
[22:57:34] <robdubya> more or less yeah, though you dont need the wrapping $q.defer
[22:58:38] <mrogne> robdubya: ok thanks, shortened it
[22:59:00] *** chaitu87 has quit IRC
[22:59:16] *** squeakytoy has quit IRC
[22:59:16] <robdubya> you can do the add to the array stuff in the then, as long as you end up returning something
[22:59:28] <robdubya> and if you return the array you're filling up, its the same reference
[22:59:43] *** teegee543 has joined #angularjs
[22:59:47] *** shackleford has quit IRC
[23:00:12] *** danizord has quit IRC
[23:00:21] *** icfantv has quit IRC
[23:00:39] *** freeman42 has quit IRC
[23:00:52] *** secondjeff has joined #angularjs
[23:01:11] *** TorchDragon has quit IRC
[23:01:24] *** freeman42 has joined #angularjs
[23:01:36] *** freeman42 has quit IRC
[23:01:41] *** BahamutWC has quit IRC
[23:01:43] *** rkalfane has quit IRC
[23:01:45] *** shackleford has joined #angularjs
[23:01:53] *** Jdubs has joined #angularjs
[23:01:53] *** shackleford has quit IRC
[23:02:02] *** BahamutWC has joined #angularjs
[23:02:24] *** shackleford has joined #angularjs
[23:02:41] *** mfunkie has quit IRC
[23:02:43] *** cboden has quit IRC
[23:02:51] *** rkalfane has joined #angularjs
[23:03:01] *** richardbaker has joined #angularjs
[23:03:47] *** DuelShark has quit IRC
[23:04:28] *** zanea|away is now known as zanea
[23:04:41] *** chaitu87 has joined #angularjs
[23:05:07] *** d2dchat has joined #angularjs
[23:05:21] <d2dchat> How do I send form data instead of json data ?
[23:05:23] *** Ymesio has quit IRC
[23:05:31] <d2dchat> Is there a service I can incldue?
[23:05:32] <bradmc> robdubya: know anything about ui-router and html5mode?
[23:05:45] <wafflejock_> gnar_matix: are you replacing the object using = or are you using angular.copy to replace the contents of the object in the Service
[23:05:56] *** FunnyLookinHat has quit IRC
[23:06:11] <d2dchat> I really would like to avoid loading jquery to send form data using $.param
[23:06:17] *** dccc has joined #angularjs
[23:06:18] <chaitu87> Hi robdubya .. im building a website on these both.. i can answer few
[23:06:27] *** Jdubs_ has joined #angularjs
[23:06:39] <chaitu87> sorry it was for bradmc
[23:07:03] *** chrisbirk has joined #angularjs
[23:07:07] <gnar_matix> wafflejock_ The service was concatenating the array using Array.concat . I was also tracking a boolean, which was not working. I fixed it by using getters in my controller.
[23:07:13] *** MuffinMan` has joined #angularjs
[23:07:37] *** jdj_dk has quit IRC
[23:07:49] *** Ethix has joined #angularjs
[23:07:54] *** RobinBAwesome has quit IRC
[23:08:11] *** foo-bar- has quit IRC
[23:08:31] *** blueadept has quit IRC
[23:08:33] <bradmc> chaitu87: just wondering how to allow my routes to be refreshed. if I don't use html5mode I can refresh mydomain.com/#/login. but with html5mode enabled I can navigate to mydomain.com/login but if I try to refresh that I get 404 error and have to go back to root and navigate to it again
[23:08:41] *** blueadept has joined #angularjs
[23:08:41] *** blueadept has joined #angularjs
[23:08:58] *** jeremymarc has joined #angularjs
[23:09:03] <wafflejock_> gnar_matix: typically if you have the data wrapped in an object or array in the service then you can use angular.copy to replace the contents of the object without creating a new reference then it works out
[23:09:10] <ojacobson> bradmc: for refresh to work, the web server has to send back your HTML page when you visit an app URL like /login
[23:09:10] *** Jdubs has quit IRC
[23:09:14] <chaitu87> bradmc did you enable html5 mode ?
[23:09:15] *** chrisbirk has quit IRC
[23:09:27] <gnar_matix> wafflejock_ okay I will keep that in mind for next time
[23:09:30] <ojacobson> refresh doesn't go through your app, in most browsers, so there's nothing you can put in your app to make refresh work the way you expect
[23:09:33] <gnar_matix> wafflejock_ thx
[23:09:36] <ojacobson> it has to be done on the web server :)
[23:09:38] <wafflejock_> gnar_matix: yup np
[23:09:42] <bradmc> well that sucks
[23:09:49] <d2dchat> Any ideas why angular js doesn't have any nice way of sending form data ?
[23:09:50] <ojacobson> limitation of the underlying ecosystem
[23:09:56] *** bbankes has quit IRC
[23:10:03] <ojacobson> HTML5 history api can do a lot, but it can't disable basic browser features like "re-request this URL from the server"
[23:10:05] <bradmc> so how do you compensate for that if using ui-router?
[23:10:15] <ojacobson> by having the server return your app for all of the possible routes
[23:10:18] <gnar_matix> Does anyone know of existing filters for measurements? i.e. Metric vs. imperial?
[23:10:20] <ojacobson> (often by having it return your app for /* )
[23:10:28] *** vbabiy has quit IRC
[23:10:33] *** lordkryss has joined #angularjs
[23:10:40] *** Jdubs_ has quit IRC
[23:10:56] <chaitu87> if so.. it'll work out of box.. but i had similar problem.. found out that error was in the paths of partials and images
[23:11:27] <bradmc> html5mode is enabled
[23:11:28] *** endash has quit IRC
[23:11:45] <chaitu87> if you mention all the path with a prefixed "/" they load thought the app
[23:11:48] *** BillCriswell has quit IRC
[23:12:11] *** FIFOd[a] has quit IRC
[23:12:24] *** endash has joined #angularjs
[23:13:17] *** jsoverson has quit IRC
[23:13:35] <bradmc> for some reason I'm having a really hard time grasping this concept. How can I return the HTML from the server if I'm using ui.router and partials and doing all the routing from Angular
[23:13:43] *** Ymesio has joined #angularjs
[23:13:43] *** TorchDragon has joined #angularjs
[23:13:58] *** jsoverson has joined #angularjs
[23:14:00] <robdubya> bradmc yeah, dont bother
[23:14:04] <robdubya> :D
[23:14:13] <bradmc> reall?
[23:14:16] <bradmc> really
[23:14:35] <bradmc> robdubya: what do you do?
[23:14:37] <robdubya> well, unless there's a really good reason, it just adds unnecessary complexity to your backend
[23:14:58] <bradmc> so am I stuck with app/#/page
[23:15:02] *** endash has quit IRC
[23:15:10] *** kvnm has quit IRC
[23:15:12] *** jsoverson has quit IRC
[23:15:17] <robdubya> what's the concern?
[23:15:19] *** obert has quit IRC
[23:15:21] <bradmc> ugly
[23:15:32] *** TorchDragon has quit IRC
[23:15:32] <ojacobson> If you want the browser reload button to work, and _don't_ want to have a server-side component of some sort that deals with bookmarks, manual URL entry, and reloads, yeah, use fragment-style routes
[23:15:37] *** fairchild has quit IRC
[23:15:41] <robdubya> to me, its a nice delineator - everything before the # is server, everything after is angular
[23:15:47] <ojacobson> html5-style routes work great but the not-clicking use cases require extra work
[23:15:48] <bradmc> hmmm
[23:15:52] *** jsoverson has joined #angularjs
[23:15:54] *** bgerami has joined #angularjs
[23:16:01] <robdubya> as ojacobson says, otherwise you have to handle redirects and stuff
[23:16:12] <robdubya> which is doable, but I just dont like how it blurs the lines
[23:16:20] *** dccc has quit IRC
[23:16:23] <bradmc> ok. but I can catch everything that's not / and redirect to /
[23:16:24] *** tommmied has quit IRC
[23:16:24] *** ustunozgur has quit IRC
[23:16:27] <raibutera> it also makes deploying to production a lot easier
[23:16:37] <ojacobson> "a server-side component" can be a tiny webapp in node, or mod_rewrite, or some not-terribly-complicated nginx try_files rules
[23:16:42] *** terrykfwong has quit IRC
[23:16:46] <raibutera> *deploying to BaaS for production
[23:16:55] <robdubya> bradmc sure, but you have to do that, without accidentally catching template routes, API routes, etc
[23:16:56] *** pskrz has quit IRC
[23:16:57] <ojacobson> it doesn't have to be anything too huge, but there's no client-side way to deal with all those cases with html5-style routes
[23:17:08] *** jsoverson has quit IRC
[23:17:13] *** elrabin has quit IRC
[23:17:28] *** Daven_ has quit IRC
[23:17:36] <bradmc> ok. since I'm using iisnode on this one I might leave it alone. Or maybe try a url rewrite and see how it goes for about 5 mins
[23:17:49] *** jsoverson has joined #angularjs
[23:17:51] <raibutera> besides bradmc, perhaps using angular in a non SPA way may actually be better?
[23:17:52] <robdubya> yeah, on iisnode i wouldnt touch it with a 10 foot pole
[23:17:59] *** ekinmur has joined #angularjs
[23:17:59] <bradmc> ha
[23:18:09] *** nytrm has joined #angularjs
[23:18:09] <ojacobson> people using iis for anything other than sharepoint
[23:18:10] <bradmc> thought it would be easier since I AM using node
[23:18:20] <robdubya> i
[23:18:20] <bradmc> yeah...stuck
[23:18:27] <robdubya> am still not sure WHY iisnode is necessary
[23:18:33] <robdubya> essplain?
[23:18:50] <bradmc> for those of us stuck with iis for serving internal apps
[23:19:03] *** jsoverson has quit IRC
[23:19:15] *** fraenzn has quit IRC
[23:19:20] <bradmc> corporate standard...blah, blah, blah
[23:19:28] <robdubya> "serving internal apps"
[23:19:32] *** endash has joined #angularjs
[23:19:35] *** andrewhl has quit IRC
[23:19:41] <robdubya> why not just fire up a unix server
[23:19:43] *** jsoverson has joined #angularjs
[23:19:46] <bradmc> I *might* be able to use node outside IIS but it would have to co-exist on the iis server
[23:19:54] <bradmc> yeah...corp standard
[23:20:10] <robdubya> and from a low-level process POV, running it on an iis box is going to be detrimental
[23:20:18] *** whunt has quit IRC
[23:20:19] <bradmc> I'm beating the walls down bit by bit. proving why we need this non-MS stuff
[23:20:23] *** ojacobson has quit IRC
[23:20:23] *** endash has quit IRC
[23:20:37] <robdubya> surely if its an intranet thing, thats the network ops team's problem
[23:20:46] <robdubya> i just dont see what you *gain* from IIS
[23:20:55] *** ipalaus has joined #angularjs
[23:20:56] <bradmc> you should've been here when I tried to get Team Foundation Server going with Git outside Visual Studio
[23:20:59] *** jsoverson has quit IRC
[23:20:59] <bradmc> I gave up for now
[23:21:04] <robdubya> other than massive complexity
[23:21:18] *** mennea has quit IRC
[23:21:22] <robdubya> and vanilla node > some guy's hacky iisnode solution, surely
[23:21:23] <bradmc> you gain, " we are a MS shop...use it"
[23:21:33] <bradmc> I agree
[23:21:38] *** jsoverson has joined #angularjs
[23:21:38] <robdubya> if iisnode was a MS thing, maybe
[23:21:46] <bradmc> and I might win if I can get proof of concept going
[23:21:47] *** bkuberek has quit IRC
[23:21:49] <robdubya> but best i can tell, its just "some guy's" hack
[23:21:59] <bradmc> true...then I would be told not to use Node
[23:22:12] *** ustunozgur has joined #angularjs
[23:22:16] *** altmind has joined #angularjs
[23:22:18] *** nytrm has quit IRC
[23:22:26] *** whunt has joined #angularjs
[23:22:31] <robdubya> ive been through these discussion, so i'm not poo-pooing what you're saying
[23:22:38] <bradmc> oh. I know
[23:22:44] <bradmc> it's "enterprise"
[23:22:45] *** altious has quit IRC
[23:22:47] *** chrislerum has quit IRC
[23:22:55] *** jsoverson has quit IRC
[23:23:03] <bradmc> we just signed an EA agreement so now they're pushing everything
[23:23:05] <robdubya> is there something "enterprise" you gain from iisnode?
[23:23:12] <robdubya> AD integration, etc?
[23:23:26] *** aaronmitchell has quit IRC
[23:23:33] *** _nikki_ has joined #angularjs
[23:23:37] *** jsoverson has joined #angularjs
[23:23:39] <bradmc> AD integration, we use C# and do WebAPI for backend, runs on windows server
[23:23:40] <bradmc> etc
[23:24:00] <robdubya> but you're not using AD to protect the actual node API are you?
[23:24:29] <bradmc> I will. going to try to use passport-ldapauth to hit ldap form passport.
[23:24:40] *** aaronmitchell has joined #angularjs
[23:24:50] *** jsoverson has quit IRC
[23:24:51] <robdubya> in that case, that's an even stronger case for vanilla node, IMO
[23:24:57] <bradmc> I looked at your auth code you gave me and I might still go with that. But I'd like to get passport working if possible
[23:24:58] <bradmc> yeah
[23:25:02] <robdubya> are you doing a proof of concept thing?
[23:25:06] <robdubya> proving it'll work?
[23:25:08] *** mmmurphy has left #angularjs
[23:25:29] *** jsoverson has joined #angularjs
[23:25:30] <bradmc> currently to authenticate we're using ASP.NET to grab the logged in user
[23:25:34] <bradmc> yeah
[23:25:48] <robdubya> and who are the stakeholders?
[23:25:56] <robdubya> (fuck that phrase, god damn enterprise)
[23:26:01] *** chaitu87_ has joined #angularjs
[23:26:04] *** kornalius has joined #angularjs
[23:26:07] <robdubya> like, who do you have to convicne
[23:26:14] <bradmc> my manager, and everyone above (in IT)
[23:26:31] *** hswolff has quit IRC
[23:26:42] <bradmc> my justification is that our linux based thin clients can't login to the apps the way we have them currently
[23:26:46] <_nikki_> How can I call a function in a directive from a view in angular?
[23:26:47] <ajk27> bradmc: If you guys are an MS shop, are you running anything in Azure or is it all hosted locally?
[23:27:06] *** chaitu87_ has quit IRC
[23:27:09] <bradmc> so if I can get this working then that will be a step closer to linux hosting of front-end at least
[23:27:16] <bradmc> no Azure yet.
[23:27:18] *** chrislerum has joined #angularjs
[23:27:21] <bradmc> but it's a posibilty
[23:27:27] <robdubya> i'd suggest this :
[23:27:30] *** kvnm has joined #angularjs
[23:27:32] <bradmc> we MS shop but they're open to other things
[23:27:43] *** vf1 has quit IRC
[23:27:45] <robdubya> build a pure node, easy to deploy API
[23:27:48] <bradmc> I just have to be able to prove it's better
[23:27:50] <bradmc> and why
[23:27:59] *** balboah has quit IRC
[23:28:01] <robdubya> actually
[23:28:04] *** Nek has quit IRC
[23:28:11] *** chaitu87 has quit IRC
[23:28:23] <robdubya> as of now, are you guys doing API-type dev?
[23:28:26] *** shackleford has quit IRC
[23:28:29] <robdubya> or "render on the server" type dev
[23:28:39] *** momomomomo has quit IRC
[23:28:42] <bradmc> yep. backend guys write MS WebAPI and I call those
[23:28:51] *** jstimm has joined #angularjs
[23:28:57] *** faviouz has quit IRC
[23:29:07] <bradmc> nope. they give me JSON data in the format that I need and I render it
[23:29:26] <robdubya> k. and what are you trying to prove is "better"
[23:29:28] <bradmc> so not a solution where something like breeze is needed but not rendered on server either
[23:29:33] *** illume has quit IRC
[23:29:34] <robdubya> (it is, just positioning)
[23:29:37] *** mary5030 has quit IRC
[23:29:52] *** fraenzn has joined #angularjs
[23:30:20] <bradmc> trying to prove that at least getting Front-end stuff outside of MS world is "better" because of stability, flexibilty, cross-platform, etc.
[23:30:27] *** yoshokatana has quit IRC
[23:30:40] <bradmc> I know that we can do all that with MS but I'm constantly fighting MS on something
[23:30:43] <robdubya> i'd fire up a node server, probably on docker (this is the real killer app)
[23:30:51] <robdubya> that *proxies* to your existing webAPIs
[23:30:51] *** mcreager has quit IRC
[23:30:54] *** Siecje has left #angularjs
[23:31:08] <robdubya> that means minimal impact to your stakeholders to start with
[23:31:15] <bradmc> cool..yeah, I messed with a Dokku imgae on digital ocean this weekend for another project. didn't quite get it working like I'd hoped
[23:31:30] *** shackleford has joined #angularjs
[23:31:34] <robdubya> angular -> node API -> some auth business -> existing APIs
[23:31:35] <bradmc> why proxiey?
[23:31:42] <bradmc> proxy
[23:31:49] <robdubya> because it means you can turn it on, make it work, and not have to ask IT for a single change
[23:31:53] *** teegee543 has quit IRC
[23:31:58] <bradmc> ok
[23:31:58] *** dccc has joined #angularjs
[23:32:02] <robdubya> people fear change. its an impact free way of getting epople on board
[23:32:07] <bradmc> gotcha
[23:32:24] *** m____s has quit IRC
[23:32:33] <bradmc> I think we'll be fine there. We have CORS implemented for the API's so I should be able to jsut call them from the Node box
[23:32:34] *** teegee543 has joined #angularjs
[23:32:38] <robdubya> you're lucky in the sense you guys are already API'ing stuff
[23:32:50] *** moritzs has joined #angularjs
[23:32:50] *** teegee543 has quit IRC
[23:32:51] <bradmc> yeah, the last 2 years I've been REALLYpushing newer tech
[23:32:55] <robdubya> easier sell than trying to convince them to change from server redner
[23:33:03] <nickeddy> heh
[23:33:06] <nickeddy> server side rendering
[23:33:10] <nickeddy> :(
[23:33:13] <bradmc> trying to get us out of doing things the way we've alsways done it
[23:33:28] <bradmc> yep
[23:33:38] <robdubya> so you could show the sexy stuff (realtime) without asking IT to change their entire workflow
[23:33:38] <bradmc> my boss is very open. I just have to be able to justify
[23:33:45] <bradmc> true
[23:33:46] *** whunt has quit IRC
[23:33:46] *** teegee543 has joined #angularjs
[23:33:53] <robdubya> kind of the stealth way
[23:34:04] <bradmc> yep
[23:34:24] <robdubya> and then you can evolve the node stuff slowly
[23:34:34] <bradmc> I think I"m pretty much stuck with MS API backend because our lead dev really likes C#, Linq, EntityFramework
[23:34:41] *** elux has quit IRC
[23:34:42] *** josh-k has joined #angularjs
[23:34:58] *** imehesz has quit IRC
[23:35:12] <robdubya> i have to say though, given you've already got APIs, i'd be less itchy to push node
[23:35:23] *** kornalius has quit IRC
[23:35:23] <bradmc> but he's interested in new stuff. So we're hoping to get websockets up & running at some point. Not sure if we can get socket.io worked in with the C# stuff or not or if we'll have to depend on IIS8 websockets
[23:35:34] <robdubya> oooo
[23:35:36] <robdubya> idea
[23:35:38] <shr3djs> Is it a good practice to use only $scopes and stop using javascript vars ?
[23:35:43] *** AngularUI has joined #angularjs
[23:35:43] <AngularUI> [ng-grid] jsiragusa opened pull request #1290: Support display name columns (master...support-display-name-columns) http://git.io/dU74Og
[23:35:43] *** AngularUI has left #angularjs
[23:35:45] *** livingstn has quit IRC
[23:35:47] <robdubya> do you have a friendly C# guy on board?
[23:35:59] <bradmc> well. the biggest reason I'm trying node is for passport and other potential "cool" js stuff
[23:36:00] *** kennbrodhagen has joined #angularjs
[23:36:02] <bradmc> yep
[23:36:07] <robdubya> okay, check this
[23:36:34] <robdubya> https://github.com/automattic/socket.io-emitter
[23:36:39] *** lw has joined #angularjs
[23:37:05] *** henn1nk has quit IRC
[23:37:13] <robdubya> http://socket.io/blog/introducing-socket-io-1-0/#integration
[23:37:32] *** jeffszusz has quit IRC
[23:37:39] <robdubya> there's a PHP implementation here https://github.com/rase-/socket.io-php-emitter
[23:37:48] <bradmc> interesting
[23:37:51] <robdubya> basically, it would enable a node / socket.io front end
[23:37:55] *** night-owl has joined #angularjs
[23:37:58] <bradmc> hmmmm
[23:38:05] *** jdj_dk has joined #angularjs
[23:38:10] <robdubya> and then your C# guy would do a version of that php thing
[23:38:27] <bradmc> hmmmm
[23:38:28] <bradmc> cool
[23:38:39] *** _nikki_ has quit IRC
[23:38:39] <robdubya> they communicate via redis - so you can push events out via node, but *from* your MS stuff
[23:38:45] <slecuyer> what's going on with the protractor build? It says it's failing, but releases seem to be going out
[23:38:46] *** matiasow has quit IRC
[23:38:53] <robdubya> oh look
[23:38:53] <robdubya> https://github.com/ziyasal/socket.io-csharp-emitter
[23:39:10] <bradmc> ah. very cool
[23:39:27] <robdubya> so proxy API is easy peasy
[23:39:29] *** josh-k has quit IRC
[23:39:49] <robdubya> https://github.com/mikeal/request
[23:39:54] <robdubya> ctrlf "security"
[23:39:58] *** airtonix has quit IRC
[23:40:14] <robdubya> (obv you'd want some securty, but that's the conceptual idea)
[23:40:20] *** avens has quit IRC
[23:40:32] *** CptChaos has quit IRC
[23:40:33] <bradmc> interesting
[23:40:34] <robdubya> req.pipe(request('existingapi.json').pipe(response)
[23:40:37] *** kennbrodhagen has quit IRC
[23:40:45] *** Zesty has joined #angularjs
[23:40:54] *** xaxisx has quit IRC
[23:40:57] <robdubya> add in the emitter thing
[23:41:02] *** daslicht has quit IRC
[23:41:03] *** BobbieBarker has joined #angularjs
[23:41:05] <Zesty> what is the easiest way to only include an attribute if an expression evaluates? i have an <a> for a child nav item, and i dont want to add href="#" if it doesnt have any children (because that links to the homepage of my app)
[23:41:13] <robdubya> low impact, sexy, nobody has to rewrite anything (yet)
[23:41:22] <BobbieBarker> greetings
[23:41:46] <bradmc> yeah. all this stuff is still a bit over my head. Gotta jsut start messing with it soon
[23:41:55] <robdubya> i'm off to the pool. happy to chat more bradmc later, but i reckon a proxy is a good place to start
[23:41:59] *** dccc has quit IRC
[23:42:10] <robdubya> and defo investigate docker, since that's an ops guy's wet dream
[23:42:18] <bradmc> robdubya: cool. thanks for all the ideas.
[23:42:23] <bradmc> I bookmarked them
[23:42:29] <bradmc> and read through some already
[23:42:38] <robdubya> cool. see ya
[23:42:40] *** robdubya has quit IRC
[23:42:49] *** DrMabuse has joined #angularjs
[23:42:53] *** jdj_dk has quit IRC
[23:42:59] <ajk27> Zesty: You can use ng-if for that
[23:43:00] <BobbieBarker> http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview I am trying to write a directive that updates the controllers scope so that the view gets changed? I'm not sure if i'm approaching this from the right angle or not
[23:43:07] *** cthrax has quit IRC
[23:43:07] <d2dchat> just found angular-ui.. is this an official project ?
[23:43:11] *** opensourcegeek has joined #angularjs
[23:43:18] <Zesty> ajk27: so basically just make 2 redundant elemnts?
[23:43:21] <BobbieBarker> ttNavigationDirective.js
[23:43:25] <Zesty> or can ng-if apply only to an attribute
[23:43:32] *** azureknight has joined #angularjs
[23:43:58] <BobbieBarker> the functions are being called and the avlues are being changed but they aren't being reflected in the view
[23:44:36] *** azureknight has quit IRC
[23:44:53] <opensourcegeek> any recommendations for large applications, like any seed project with recommended (tried) directory structure?
[23:45:10] <BobbieBarker> read teh best practices URL
[23:45:17] <BobbieBarker> i'd link it but i'm holding a baby atm
[23:45:25] <Vye> Anyone have any idea why ng-if would cause nodes/listeners to not be cleaned up after GC after $scope data changes? I posted a plunkr and details on SO: http://stackoverflow.com/questions/24615277/angular-ng-if-directive-continuously-consumes-more-memory-when-data-changes
[23:45:42] *** krawchyk has quit IRC
[23:45:42] *** CodeFriar has quit IRC
[23:45:43] *** jpstone has joined #angularjs
[23:45:47] *** Yahkob has joined #angularjs
[23:46:17] *** secondjeff has quit IRC
[23:46:20] *** tfennelly has quit IRC
[23:46:31] <Zesty> BobbieBarker: id be interested in that when your hands are free of babies
[23:46:54] *** homework1 has quit IRC
[23:47:02] <BobbieBarker> I think 'm just missing something stupid easy on my directive that is stopping the view from updating i thought it would be scope.$apply but that just causes an error says apply is already in progress
[23:47:29] <opensourcegeek> @BobbieBarker thanks i'll get through that, also in recent versions you can use "controller as ctrl" syntax which seems like it replaces $scope with "this" reference. And this isn't reflected in the tutorials section, is this intentional?
[23:47:41] *** Jdubs has joined #angularjs
[23:47:43] <opensourcegeek> or is the tutorial waiting for a revamp?
[23:47:55] *** MuffinMan` has quit IRC
[23:47:56] <BobbieBarker> Zesty https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub
[23:48:33] <Zesty> thanks!
[23:48:37] <BobbieBarker> np
[23:48:42] *** Reskp has quit IRC
[23:49:12] *** aaronmitchell has quit IRC
[23:49:13] <BobbieBarker> some one tell me what ridiculously simple thing i'm missing off my directive that is stopping it from updating the view?
[23:50:15] *** walden is now known as walden|afk
[23:50:46] <ajk27> Zesty: You shouldn't need to create redundant elements unless I'm misunderstanding your question. You can put ng-if as an attribute on the <a> tag you want to conditionally show/hide.
[23:50:50] <BobbieBarker> what are you talking about opensourcegeek
[23:51:12] <Zesty> i mean i want to hide the href="" part if true/false
[23:51:14] <ajk27> Zesty: If your <a> tag is there all the time, but the target changes conditionally, you may want something like ng-href where you can use interpolation in the link
[23:51:20] <Zesty> ahhhh
[23:51:28] <Zesty> well ideally i just wanted to hide the entire attribute
[23:51:39] <Zesty> because href="#" technically means the root route of my app
[23:51:40] *** luisbug has quit IRC
[23:51:48] <Zesty> noramlly i would use '#' but now that im using angular i think that is confusing
[23:51:53] <Zesty> so i was just going to exclude href="" altogether
[23:52:05] *** krupnik has quit IRC
[23:52:18] <BobbieBarker> http://plnkr.co/edit/Zd7sMHyTbAI1Ipj1JIys?p=preview I am trying to write a directive that updates the controllers scope so that the view gets changed? I'm not sure if i'm approaching this from the right angle or not
[23:52:33] <BobbieBarker> actually i think the problem is just that it isn't updating the view
[23:52:39] *** panpansh has joined #angularjs
[23:53:33] *** feelfine has quit IRC
[23:53:40] *** waylon99_ has joined #angularjs
[23:54:29] *** waylon999 has quit IRC
[23:54:56] *** Drako_ has quit IRC
[23:55:02] *** forti has quit IRC
[23:55:09] <davek> For people facilitating user uploads, what naming/organization schemes are you using for the uploaded assets?
[23:55:45] <ajk27> Zesty: Ah, honestly not sure the best way then and don't want to steer you wrong. You could use ng-switch to put in different <a> tags based on children, but that seems a little dirty. And creating a directive may be overkill. Other folks here likely have better ideas.
[23:55:55] *** tekky has quit IRC
[23:55:56] *** lw has quit IRC
[23:56:15] *** danielpquinn has quit IRC
[23:56:45] *** o_p_z has quit IRC
[23:57:35] <Kallb123> I'm having the same kind of problem
[23:57:37] *** danielpquinn has joined #angularjs
[23:57:43] *** whunt has joined #angularjs
[23:57:56] <Kallb123> oops, ignore that comment, wrong channel
[23:58:25] <gjvc> where does ngTableParamsProvider come from?
[23:58:29] *** encryptd_fractl has quit IRC
[23:58:56] *** jerev is now known as jerev_away
[23:59:01] <opensourcegeek> @BobbieBarker sorry I was reading the best practices doc, but i was referring to controllers with $scope injection vs using "this" in controllers
[23:59:05] *** dccc has joined #angularjs
[23:59:08] *** lordkryss has quit IRC
[23:59:19] *** cmoneylulz has joined #angularjs
[23:59:28] <BobbieBarker> uh i don't think you should be using "this"
[23:59:33] <davek> opensourcegeek, $scope and 'this' in controllers are two totally separate thing.
[23:59:37] <panpansh> Hello, people can speak with me little about OAuth2 and angular please ? My question is how to trust/store an angular app client id and secret ? Because all js .. etc .. is static .. can be on CDN .. and my api is restfull using OAuth2 ... but client id and secret need to be on my static files (angular) (client side) .. how it is secure ?
[23:59:38] <davek> Yes it is appropriate in some cases
[23:59:45] <BobbieBarker> $scope i believe is an object literal
top

   July 7, 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 | >