[00:00:04] *** metasansana has joined #angularjs
[00:00:18] *** metasansana has joined #angularjs
[00:01:09] *** Johnny13371337 has quit IRC
[00:01:11] *** jpstone- has quit IRC
[00:01:28] *** jpstone- has joined #angularjs
[00:01:46] *** tekky has quit IRC
[00:02:10] *** JimTheDev has quit IRC
[00:02:16] <jaawerth> trovster: Well, you can take a number of approaches to this depending on code style. What I'd do is wrap area in an object (so that your data binding will always work). Say, $scope.my = {}; then set an initial area with my.area = whatever. Then you can update the area there as necessary and angular will do its thing. Alternatively, area can be a function that returns the current area
[00:02:49] *** erpipefish has quit IRC
[00:02:52] *** elux has quit IRC
[00:03:16] *** glook has quit IRC
[00:03:19] <jaawerth> trovster: making area a function will mean it's ALWAYS up to date from wherever you're calculating/changing it, but it's slightly more expensive because the function will call every time angular wants to see if the value has changed
[00:03:24] *** Jdubs has quit IRC
[00:03:25] *** erpipefish has joined #angularjs
[00:03:46] <jaawerth> personally, I'd just put area in an object on scope and update it as necessary
[00:03:59] <trovster> How do I update it from the view?
[00:04:11] *** ustunozgur has joined #angularjs
[00:04:16] *** Jdubs has joined #angularjs
[00:04:22] <jaawerth> well, how is area being defined? where's the value coming from?
[00:04:22] *** bphogan is now known as bphogan_afk
[00:04:47] *** feelfine has joined #angularjs
[00:04:49] <jaawerth> is the user entering it? are they entering length and width and having the area calculated?
[00:05:22] *** shaym_ has joined #angularjs
[00:05:27] *** hswolff has joined #angularjs
[00:05:27] <trovster> area is looped from sections. data-ng-repeat="area in interiors" then inside that I have data-ng-repeat="sample in getSamples(area)"
[00:05:35] *** Yahkob has quit IRC
[00:05:48] *** senayar has quit IRC
[00:06:22] *** senayar has joined #angularjs
[00:06:46] *** teeray has quit IRC
[00:06:57] <jaawerth> trovster: well that isn't updating it, each of those loops is iterating on one digest loop
[00:07:04] *** bphogan_afk is now known as bphogan
[00:07:10] *** chrisbirk has quit IRC
[00:07:10] *** shaym_ has quit IRC
[00:07:30] *** erpipefish has quit IRC
[00:07:59] <jaawerth> trovster: angular runs a digest loop that either sets up the data or, if it's already been set up, checks it for changes and updates the DOM with those changes. Digests are either triggered from events (user interaction, etc), or when necessary can be triggered from code if you have a change coming from somewhere else (an update from the server, for example)
[00:08:51] <trovster> I am not changing data. I’m not sure why I am getting the error to be honest. Difficult to explain.
[00:08:56] *** ppppaul has joined #angularjs
[00:09:20] <jaawerth> trovster: can you put the code up in plunker?
[00:09:28] *** DrMabuse_ has joined #angularjs
[00:09:45] *** arizzo has quit IRC
[00:09:47] *** [1]delerium_ has joined #angularjs
[00:09:49] *** arrty has quit IRC
[00:09:53] *** mccarrontr1ck has quit IRC
[00:10:17] *** arrty has joined #angularjs
[00:10:22] *** arizzo has joined #angularjs
[00:10:24] *** senayar has quit IRC
[00:10:34] *** Zeeshan_M has quit IRC
[00:10:37] *** senayar has joined #angularjs
[00:11:04] *** richleland has quit IRC
[00:11:20] *** senayar has quit IRC
[00:11:33] *** ged has quit IRC
[00:11:54] *** richleland has joined #angularjs
[00:12:04] *** delerium_ has quit IRC
[00:12:04] *** deg- has quit IRC
[00:12:04] *** [1]delerium_ is now known as delerium_
[00:12:17] *** deg- has joined #angularjs
[00:12:24] *** ged has joined #angularjs
[00:13:25] *** Blazedd has quit IRC
[00:13:34] *** Zeeshan_M has joined #angularjs
[00:13:58] *** DrMabuse_ has quit IRC
[00:14:12] *** jerev is now known as jerev_away
[00:14:31] *** teslanick has quit IRC
[00:14:38] *** arrty has quit IRC
[00:14:50] <trovster> jaawerth: I’ll see what I can do, cheers.
[00:15:06] <jaawerth> trovster: sounds like you just need to set your data up from the controller, I'd start there
[00:15:08] *** arizzo has quit IRC
[00:16:20] *** cthrax has quit IRC
[00:16:34] <jaawerth> trovster: $scope.myArea = <your value> and then ng-repeat="sample in getSamples(myArea)". If the area itself is coming from an array and there are multiple areas, if the indices match up you could always do getSamples(myAreas[$index])
[00:17:04] <jaawerth> trovster: either way, I gotta go, but if all else fails put your code in a plunkr and we can help debug ;-)
[00:17:04] *** chrisbirk has joined #angularjs
[00:17:06] *** dariocravero has joined #angularjs
[00:18:00] *** gnarMatix has quit IRC
[00:18:04] *** tfennell_ has joined #angularjs
[00:18:19] *** morenoh150 has joined #angularjs
[00:18:50] *** Destos has quit IRC
[00:18:59] *** cthrax has joined #angularjs
[00:19:11] *** edrocks has quit IRC
[00:19:12] *** tfennelly has quit IRC
[00:19:25] *** dylukes has quit IRC
[00:19:47] *** darrin_ has quit IRC
[00:22:28] *** avree has joined #angularjs
[00:23:19] *** imehesz has quit IRC
[00:23:27] *** mary5030 has joined #angularjs
[00:24:43] *** shaym_ has joined #angularjs
[00:25:32] *** bkuberek has quit IRC
[00:25:42] *** Drako_ has quit IRC
[00:26:15] *** bphogan is now known as bphogan_afk
[00:26:16] *** bradmc has quit IRC
[00:26:31] *** glook has joined #angularjs
[00:26:32] *** uf6668 has quit IRC
[00:26:50] *** linojon has quit IRC
[00:27:00] *** mary5030_ has quit IRC
[00:27:06] *** Jdubs_ has joined #angularjs
[00:27:18] *** nerdfiles has quit IRC
[00:27:25] *** bayousoft has quit IRC
[00:27:37] *** cphil has joined #angularjs
[00:27:45] *** bphogan_afk is now known as bphogan
[00:28:04] *** MaxV has quit IRC
[00:29:15] *** teslanick has joined #angularjs
[00:29:34] *** teeray has joined #angularjs
[00:30:00] *** Ir1sh_ has quit IRC
[00:30:35] *** Siecje has joined #angularjs
[00:30:36] *** Ir1sh has joined #angularjs
[00:30:38] *** Jdubs has quit IRC
[00:31:38] *** upsell5 has joined #angularjs
[00:32:12] *** walden is now known as walden|afk
[00:32:21] *** mennea has joined #angularjs
[00:33:18] *** doddstack has quit IRC
[00:33:28] *** lw has joined #angularjs
[00:33:55] *** prettiestPony11 has joined #angularjs
[00:34:34] *** brezel has quit IRC
[00:34:43] *** teeray has quit IRC
[00:35:03] *** Ir1sh has quit IRC
[00:35:57] <phpxadmin_> does anyone know how to allow in the select's ng-option?
[00:36:18] *** mennea has quit IRC
[00:36:18] <davek> So using ui-router for what it's worth, was just working on getting image uploading working. One of the last things I did was add an ng-switch. After doing that, the state it appears in completely refuses to load. Just spins until it crashes. No errors (that I can see).
[00:36:18] *** morenoh150 has quit IRC
[00:36:37] *** richardbaker has joined #angularjs
[00:36:42] *** trovster has quit IRC
[00:36:49] *** floorz has quit IRC
[00:37:15] *** jpstone- has quit IRC
[00:37:53] *** InezK is now known as InezK_away
[00:39:21] *** faddah has joined #angularjs
[00:39:23] *** Aerospark has joined #angularjs
[00:41:42] *** shaym_ has quit IRC
[00:41:49] *** prettiestPony11 has quit IRC
[00:42:09] *** marcospgp has quit IRC
[00:42:21] *** TimmyTones has quit IRC
[00:42:26] *** MaxV has joined #angularjs
[00:43:09] *** BlinkyBill has joined #angularjs
[00:43:27] *** faddah has quit IRC
[00:44:01] *** waylon999 has quit IRC
[00:44:05] *** waylon99_ has joined #angularjs
[00:44:18] *** shorne has quit IRC
[00:44:28] *** InezK_away is now known as InezK
[00:44:35] *** faddah has joined #angularjs
[00:44:40] *** glook has quit IRC
[00:45:19] *** glook has joined #angularjs
[00:45:34] *** teslanick has quit IRC
[00:45:48] *** Aerospar_ has joined #angularjs
[00:46:20] *** stirlingw has joined #angularjs
[00:46:54] *** icfantv has quit IRC
[00:46:58] *** AciD``` has quit IRC
[00:47:59] *** Aerospark has quit IRC
[00:48:04] *** jtimon has quit IRC
[00:48:07] *** avree has quit IRC
[00:48:48] *** Limix has quit IRC
[00:49:13] *** ngoyal_ has joined #angularjs
[00:49:15] *** toastynerd has quit IRC
[00:50:06] <Siecje> Does a CSS minifier change the class names?
[00:50:10] *** zeroquake has quit IRC
[00:50:24] *** juampy has quit IRC
[00:50:34] *** darkelda has quit IRC
[00:51:00] *** cbeacock has quit IRC
[00:51:04] *** avree has joined #angularjs
[00:51:15] *** DrMabuse has quit IRC
[00:51:34] <cacts|works> davek: ui-router swallows exceptions when it fails loading a state iirc
[00:52:20] <cacts|works> you can subscribe to $stateChangeError though
[00:52:47] <cacts|works> $rootScope.$on('$stateChangeError',
[00:52:47] <cacts|works> function(event, toState, toParams, fromState, fromParams, error){ ... })
[00:53:06] *** phuh has quit IRC
[00:53:08] *** ngoyal has quit IRC
[00:53:30] *** phuh has joined #angularjs
[00:54:03] *** ngoyal_ has quit IRC
[00:55:23] <davek> cacts|works, ended up being some sort of unrelated caching error. Thank you though.
[00:57:02] *** basichash has joined #angularjs
[00:57:07] *** dman777_alter has quit IRC
[00:57:32] *** vintik has quit IRC
[00:57:38] <cacts|works> sure
[00:57:46] *** Hultis has quit IRC
[00:58:02] <basichash> I'm using angular-fullstack, tried to add ['ngDragDrop'] to angular.module (and installed it using npm install), but it's not being recognized. What am i doing wrong?
[00:58:43] *** Aerospark has joined #angularjs
[00:59:40] *** ReactiveIO has quit IRC
[00:59:46] *** sharondio has joined #angularjs
[00:59:47] *** the-erm has quit IRC
[00:59:53] *** Willow has joined #angularjs
[00:59:53] *** slainer68 has quit IRC
[01:00:00] *** vintik has joined #angularjs
[01:00:15] *** ReactiveIO has joined #angularjs
[01:00:28] *** Aerospa__ has joined #angularjs
[01:00:57] *** avree has quit IRC
[01:01:04] *** Ir1sh has joined #angularjs
[01:01:15] *** markisonfire has quit IRC
[01:01:57] *** jsoverson has quit IRC
[01:01:58] *** Aerospar_ has quit IRC
[01:02:06] *** the-erm has joined #angularjs
[01:02:49] <alphonse23_> I am trying to create a service that is shared across several controllers
[01:03:00] *** FunnyLookinHat has quit IRC
[01:03:02] <alphonse23_> within that service I want there to be some commonly used functions
[01:03:09] *** slainer68 has joined #angularjs
[01:03:10] <alphonse23_> which service type would be be suited for this
[01:03:26] <alphonse23_> and how do you declare the function to be shared
[01:03:35] *** Aerospark has quit IRC
[01:03:39] *** danielpquinn has joined #angularjs
[01:03:43] <alphonse23_> I don't think I can use $scope.something, since injecting $scope into the service returns and error
[01:04:03] *** lando has quit IRC
[01:04:06] *** anjumkaiser has joined #angularjs
[01:04:06] <snurfery> alphonse23_: define methods on your service like this.myMethod = function() {...}
[01:04:09] *** anjumkaiser has quit IRC
[01:04:26] <alphonse23_> and how do you call that from say an ng-click?
[01:04:27] <snurfery> plain services seem to be perfect for your needs
[01:04:35] *** anjumkaiser has joined #angularjs
[01:04:37] <alphonse23_> ng-click="myMethod()"
[01:04:43] *** glook has quit IRC
[01:04:44] *** Tidwell has joined #angularjs
[01:04:47] *** badon has quit IRC
[01:04:49] *** ReactiveIO has quit IRC
[01:04:58] *** rho has quit IRC
[01:05:04] *** nonsenz has quit IRC
[01:05:09] <snurfery> you inject the service into your controller
[01:05:23] *** stirlingw has quit IRC
[01:05:25] *** bphogan is now known as bphogan_afk
[01:05:46] <snurfery> .controller('myCtrl', function($scope, myService) {... })
[01:05:48] *** Ir1sh has quit IRC
[01:06:03] *** jsoverson has joined #angularjs
[01:06:04] <alphonse23_> then those function should be avaliable where ever that controller is right?
[01:06:06] <snurfery> then you can either expose the entire service, or just specific methods, on the scope
[01:06:16] <basichash> I'm using angular-fullstack, tried to add ['ngDragDrop'] to angular.module (and installed it using npm install), but it's not being recognized. What am i doing wrong?
[01:06:18] <snurfery> $scope.myMethod = myService.myMethod
[01:06:26] <snurfery> for a single method
[01:06:28] <snurfery> or
[01:06:31] *** nonsenz has joined #angularjs
[01:06:33] *** badon has joined #angularjs
[01:06:35] *** cacts|works has quit IRC
[01:06:45] <snurfery> $scope.myService = myService; // for the whole service
[01:07:02] *** digia is now known as digia|away
[01:07:10] <alphonse23_> then you call it on the template with myService.myMethod()?
[01:07:22] <alphonse23_> ng-click="myService.myMethod()"
[01:07:25] *** jobelenus has joined #angularjs
[01:07:26] *** tarnus has quit IRC
[01:07:27] <snurfery> sure
[01:07:37] *** tarnus has joined #angularjs
[01:07:40] <alphonse23_> seems so roundabout
[01:07:53] *** Sgeo has joined #angularjs
[01:07:58] *** bicranial has joined #angularjs
[01:07:59] <alphonse23_> there's no service than when injected into a controller, or other service, will automatically attach it to the scope?
[01:08:00] *** stirlingw has joined #angularjs
[01:08:01] *** jbourassa has quit IRC
[01:08:44] <snurfery> managing massive app dependencies manually is wayyyyy more difficult ;)
[01:08:49] *** Willow has quit IRC
[01:08:49] *** tarnus has quit IRC
[01:09:08] <snurfery> alphonse23_: that seems rather magical. it's just one extra line, so you always know exactly what's on your scope
[01:09:26] *** Willow has joined #angularjs
[01:09:55] *** josh-k has joined #angularjs
[01:09:57] <alphonse23_> magic is good though isn't it. It would be a lot easier to deal with. Just drop it in.
[01:10:09] <snurfery> if you really want all of a service's public methods/properties to be on your scope
[01:10:23] *** DrMabuse has joined #angularjs
[01:10:31] *** ustunozgur has quit IRC
[01:10:32] <snurfery> $scope = angular.extend($scope, myService)
[01:10:45] <snurfery> but that's pretty nasty
[01:10:52] <alphonse23_> and that will add it to every $scope though right?
[01:11:04] *** disorder20 has quit IRC
[01:11:23] <basichash> anyone?
[01:11:32] *** MaxV has quit IRC
[01:11:33] <snurfery> nm, I don't think it's healthy to your code to explain that line of thinking
[01:11:34] <snurfery> haha
[01:11:51] *** teslanick has joined #angularjs
[01:11:51] <snurfery> just add $scope.myService = myService;, it's super easy
[01:12:04] <snurfery> if you only wanna do it once then attach it to $rootScope
[01:12:08] *** ustunozgur has joined #angularjs
[01:12:15] *** ziyadb has joined #angularjs
[01:12:19] *** jdcasey has quit IRC
[01:12:36] <snurfery> then all your other controllers will automagically have it on their $scope's as well
[01:12:47] <davek> I'm in that terrible position where I realize I've way overdesigned this shit but I've gone too far already.
[01:12:57] <snurfery> ack
[01:13:17] <snurfery> kinda curious what exactly it is
[01:13:43] <snurfery> basichash: let's see some of your code
[01:13:57] *** chrisbirk has quit IRC
[01:14:17] *** tarnus has joined #angularjs
[01:14:20] <snurfery> basichash: let's see where you added ngDragDrop, use gist.github or something plz
[01:14:30] *** dmack has joined #angularjs
[01:14:38] *** DrMabuse has quit IRC
[01:14:40] *** josh-k has quit IRC
[01:16:18] *** ustunozgur has quit IRC
[01:16:44] *** cctom has quit IRC
[01:16:50] *** ppppaul has quit IRC
[01:17:05] *** rho has joined #angularjs
[01:17:23] *** spaceribs has joined #angularjs
[01:17:32] <spaceribs> hi
[01:17:34] *** fedenunez1 has joined #angularjs
[01:17:39] <snurfery> basichash: did you include <script src=draganddrop.js> to your index.html ?
[01:17:47] *** edrocks has joined #angularjs
[01:17:49] *** asdfqwerty has quit IRC
[01:18:58] *** fedenunez has quit IRC
[01:19:02] *** morenoh150 has joined #angularjs
[01:19:13] *** one_zero has joined #angularjs
[01:19:27] <robk> I'm just trying to render a simple class, this will possibly get larger over time, but right now I just need to populate icons[] w/ records.
[01:19:32] *** Limix has joined #angularjs
[01:19:34]
<spaceribs> so, I thought I would share this here, I built an untrusted javascript runner as an angular service, looking for people to hack out of it or break it: http://spaceribs.github.io/blobeval/#/home
[01:19:34] <robk> any idea what is wrong with it?
[01:19:44] *** AciD` has quit IRC
[01:19:55] *** BobbieBarker has quit IRC
[01:20:08] *** dino__ has joined #angularjs
[01:20:17] <snurfery> robk: you should check if scope.icons exists or not
[01:20:23] <dino__> hello
[01:20:27] <snurfery> robk if not, create it
[01:20:42] <robk> snurfery: I tried that earlier and got some bizzar error, I'll try again.
[01:20:52] <snurfery> if (scope.icons === undefined) { scope.icons = []; }
[01:20:56] *** JimTheDev has joined #angularjs
[01:20:58] <dino__> ii have two different tables that list two different models and I have implemented client side sorting
[01:20:59] <snurfery> put that somewhere near the top
[01:21:02] *** Tidwell has quit IRC
[01:21:15] <dino__> but the reverse of the one causes the resorting of the other
[01:21:16] *** jsoverson has quit IRC
[01:21:31] <dino__> is there a way to avoid that?
[01:21:33] <snurfery> robk: change that then let's look at the new error =)
[01:21:40] <basichash> snurfery: does this look right? <script src="client/bower_components/angular-dragdrop/src/angular-dragdrop.js"></script>
[01:21:43] *** AciD` has joined #angularjs
[01:22:15] <snurfery> basichash: looks about right, there should be similar <script> tags above/below it, so you tell me
[01:22:16] *** rho has quit IRC
[01:22:18] <snurfery> do they look similar?
[01:22:24] *** toastynerd has joined #angularjs
[01:22:28] *** TorchDragon has joined #angularjs
[01:22:56] <snurfery> what's the error
[01:22:58] *** jerwilkins has joined #angularjs
[01:23:02] <robk> Error: [$compile:nonassign] Expression 'undefined' used with directive 'mediaEntityIndicators' is non-assignable!
[01:23:02] <alphonse23_> hey snurfery, is it possible to send a form within the parameter of an ng-click/
[01:23:04] <alphonse23_> ?
[01:23:48] <snurfery> robk: I don't know if underscore will be defined, why not just use a plain '==='?
[01:23:51] *** darrin has joined #angularjs
[01:24:07] <robk> snurfery: well, usually you need to do typeof varname === 'undefined'
[01:24:12] *** ishi has quit IRC
[01:24:54] <snurfery> different comparison
[01:25:04] *** meteor_groupie has joined #angularjs
[01:25:08] <snurfery> you can compare object properties to the value undefined
[01:25:12] <basichash> snurfery: awesome yeah that worked, although now i'm gettting "Unknown provider: $stateProvider"
[01:25:21] <robk> snurfery: changed it, still not working right.
[01:25:31] <robk> snurfery: returns the same error.
[01:25:41] <jobelenus> hey all, im slightly confused as to why a $watch i have is being called twice, even though the second time the value hasn't changed?
[01:25:59] <jerwilkins> all, struggling with an "angular way of doing it" question: i have a series of nested directives (goal -> subgoal -> *content*). the only trouble is that *content* can be one of two (and only two) templates. given that *content* also needs access to information from subgoal's isolate scopes, transclusion doesn't feel like the right option, but i don't want to duplicate the subgoal directive.
[01:26:02] *** rtpg has joined #angularjs
[01:26:20] *** MistahKurtz has joined #angularjs
[01:26:21] *** chrisbirk has joined #angularjs
[01:26:21] *** upsell5 has quit IRC
[01:26:39] *** stirlingw has quit IRC
[01:26:52] <snurfery> basichash: look for places where you're using $state but might not have injected it into the controller/service
[01:26:59] *** TorchDragon has quit IRC
[01:27:23] <snurfery> robk: let's see your current code
[01:27:26] *** jae has joined #angularjs
[01:27:32] <snurfery> and if there's an error, what is it
[01:27:32] *** markisonfire has joined #angularjs
[01:28:04] *** zwacky has quit IRC
[01:28:13] <snurfery> jobelenus: $watch will definitely run at least twice, it has to run the first time to check for the initial value, then again to see if the value has changed
[01:28:33] *** dino__ has quit IRC
[01:28:34] *** cphil has quit IRC
[01:28:58] *** cphil has joined #angularjs
[01:29:23] *** lordkryss has quit IRC
[01:29:25] *** josh-k has joined #angularjs
[01:29:37] <jobelenus> snurfery: ah, no i mean twice after its updated.. yes the initial empty array is there.. but im watching a resource, and pulling info off of the resource into the array (used in the template/view)… and im getting an ng-repeat error saying "you can't duplicate content/keys"… because the $watch is appending the same thing twice
[01:29:48] *** astericky has joined #angularjs
[01:30:16] <robk> snurfery: pasted errors in comment
[01:30:21] <jobelenus> (im pulling info off the resource b/c with each successfull request im getting a specific piece of data, and adding it to the screen, then another, etc…)
[01:30:29] <jobelenus> also, kudos snurfery for being on duty ;)
[01:31:13] <snurfery> jobelenus: $watch should check for its presence before inserting it then
[01:31:24] *** shackleford has quit IRC
[01:31:27] <jobelenus> ok
[01:31:34] *** lw has quit IRC
[01:32:20] *** spencercarnage has quit IRC
[01:32:47] <jerwilkins> jobelenus: are you creating a new array in your watch? this can look like "resetting" the array, like arrayToWatch = [];
[01:32:54] <snurfery> jobelenus: inside your watch function, if you have the new object, you can check if (myExistingArray.indexOf(newObject) === -1) { myExistingArray.push(newObject) }
[01:33:17] *** dmack has quit IRC
[01:33:20] <snurfery> robk: checking it out =)
[01:33:31] <robk> <-- feeling dumb atm.
[01:33:32] <basichash> snurfery: should i look in the controller, or in routes somewhere?
[01:33:34] <jobelenus> snurfery: right, im going to add that $.inArray check… i will try blanking it as well
[01:33:38] *** dcherman has quit IRC
[01:33:46] *** willmarshall has joined #angularjs
[01:33:54] <basichash> snurfery: bit overwhelmed by angular, just started out
[01:33:54] *** Tidwell has joined #angularjs
[01:34:09] <jerwilkins> jobelenus: do you have a fiddle or gist somewhere?
[01:34:09] *** willmarshall has quit IRC
[01:34:29] <jobelenus> jerwilkins: ill put one up a snippet in a sec… i think ive got it
[01:34:41] <jerwilkins> groovy.
[01:34:44] *** jhulten has quit IRC
[01:34:45] *** willmarshall has joined #angularjs
[01:34:53] <jobelenus> yesssssss….. it werks… its ALIVE...
[01:35:00] <robk> snurfery: any idea?
[01:35:12] <snurfery> robk: can I see your markup where you're using this directive?
[01:35:34] *** avree has joined #angularjs
[01:35:58] *** henn1nk_ has quit IRC
[01:36:52] *** jtimon has joined #angularjs
[01:37:04] *** darrin has quit IRC
[01:37:23] *** S234567a has joined #angularjs
[01:37:33] *** Nijikokun has quit IRC
[01:38:08] *** rho has joined #angularjs
[01:38:28] <snurfery> basichash: not exactly sure, you might need to grep or ctrl-F through your files to see if you're using $state anywhere improperly... are you sure that's the only error?
[01:38:58] *** mpaarating has quit IRC
[01:39:48] *** jsoverson has joined #angularjs
[01:39:50] *** brezel has joined #angularjs
[01:40:17] *** jobelenus_ has joined #angularjs
[01:40:19] <jobelenus_> sry, damn tubes
[01:40:43] *** futuredale has joined #angularjs
[01:40:47] <snurfery> jobelenus: I think you might be missing a step... $watch should do the work of comparing objects before taking any action
[01:40:53] <snurfery> $watch is called *a lot*
[01:41:02] *** jobelenus has quit IRC
[01:41:02] <snurfery> well, sorry, it might be called a lot
[01:41:02] *** jobelenus_ is now known as jobelenus
[01:41:15] <jobelenus> oh?
[01:41:38] *** ustunozgur has joined #angularjs
[01:41:39] *** morenoh150 has quit IRC
[01:41:53] *** jdowdle is now known as jdowdle|away
[01:42:04] <jobelenus> the issue, i think it, that "results" is not being watched by anything (e.g. not used in view/template)
[01:42:33] <jobelenus> i usually see it called twice, once for the initial ajax call, before the promise is completed.. then once after
[01:42:41] *** andrew9183 has quit IRC
[01:43:11] *** astericky has quit IRC
[01:43:30] <snurfery> jobelenus: I think your watch function should be comparing before taking action
[01:43:36] <snurfery> ctrl-F for '$watch'
[01:43:57] <snurfery> there's a good example of usage there
[01:44:07] <snurfery> where the code only takes action if something's changed
[01:44:09] <robdubya> yeah, you should expect watch to fire 11ty times
[01:44:24] *** quartzmo has quit IRC
[01:44:35] <jobelenus> ok cool, ill take a look!
[01:44:36] <jobelenus> thanks
[01:44:37] <jobelenus> im off
[01:44:38] *** jobelenus has quit IRC
[01:44:42] *** S234567a has quit IRC
[01:45:01] *** quartzmo has joined #angularjs
[01:45:26] *** scmx has quit IRC
[01:45:59] *** darrin has joined #angularjs
[01:46:42] *** avree has quit IRC
[01:46:44] *** ustunozgur has quit IRC
[01:47:14] *** rtpg has quit IRC
[01:47:21] <jerwilkins> jobelenus: snurfery: i think the posted gist is actually probably fine, and that it's called once before and once after the promise is resolved makes sense.
[01:47:47] *** rtpg has joined #angularjs
[01:48:24] <jerwilkins> jobelenus: snurfery: the expression "results.rows" determines whether or not the body of the watch will execute, if i'm not mistaken (i.e., are there deltas between the current $scope.results.rows and the previous).
[01:49:17] <jerwilkins> however, the value of results.rows is going to be checked every digest.
[01:49:34] *** JimTheDev has quit IRC
[01:49:35] <jerwilkins> since there's an initial digest, and the completion of a promise will predicate another one, you get your two calls.
[01:49:38] *** quartzmo has quit IRC
[01:49:46] <snurfery> yep, sounds right
[01:49:56] *** slainer68 has quit IRC
[01:50:09] *** Jdubs_ has quit IRC
[01:50:09] *** spencercarnage has joined #angularjs
[01:50:12] *** badon has quit IRC
[01:50:17] <jerwilkins> where that stuff can get tricky is other places you might be calling GearFinder.view(data);
[01:50:49] *** jdowdle|away is now known as jdowdle
[01:51:04] *** mettjus has quit IRC
[01:51:06] <jerwilkins> or, rather, other places you might be assigning to $scope.results.rows
[01:51:37] <jerwilkins> jobelenus: do you expect results.rows ever to get especially large?
[01:51:50] *** CodeFriar has quit IRC
[01:51:58] *** badon has joined #angularjs
[01:51:58] *** rtpg has quit IRC
[01:52:03] *** darrin has quit IRC
[01:52:49] *** jerwilkins has quit IRC
[01:52:56] *** arrty has joined #angularjs
[01:52:56] *** un-nu has quit IRC
[01:53:00] *** bbankes has quit IRC
[01:53:07] *** phuh has quit IRC
[01:53:22] *** snapwich has joined #angularjs
[01:53:26] *** josh-k has quit IRC
[01:53:30] *** shinnya has joined #angularjs
[01:53:30] *** phuh has joined #angularjs
[01:53:44] *** cacts has joined #angularjs
[01:54:31] *** cacts|works has joined #angularjs
[01:54:34] *** jtimon has quit IRC
[01:54:45] *** spencercarnage has quit IRC
[01:55:17] *** stickperson has joined #angularjs
[01:55:28] *** nerdfiles has joined #angularjs
[01:55:30] *** cacts|works has quit IRC
[01:55:33] *** spencercarnage has joined #angularjs
[01:55:41] *** rtpg has joined #angularjs
[01:55:43] *** Aliks__ has quit IRC
[01:55:44] *** cacts|works has joined #angularjs
[01:55:46] *** hecatonicosachor has joined #angularjs
[01:56:19] *** gnrlbzik has joined #angularjs
[01:56:33] *** viniciussbs has joined #angularjs
[01:57:05] *** rtpg has quit IRC
[01:57:14] *** jpstone has quit IRC
[01:57:20] *** arrty has quit IRC
[01:57:36] *** rtpg has joined #angularjs
[01:57:40] *** vintik has quit IRC
[01:58:00] *** arrty has joined #angularjs
[01:58:06] *** Aliks_ has joined #angularjs
[01:58:26] *** anjumkaiser has quit IRC
[01:58:37] *** retzloff has joined #angularjs
[01:58:41] *** danielpquinn has quit IRC
[01:58:48] *** rtpg_ has joined #angularjs
[01:59:06] *** rtpg has quit IRC
[01:59:23] *** sacho has quit IRC
[01:59:23] *** sacho_ has quit IRC
[02:00:05] *** anjumkaiser has joined #angularjs
[02:00:08] *** viniciussbs has quit IRC
[02:00:22] *** sacho has joined #angularjs
[02:00:36] *** drej has quit IRC
[02:00:55] *** nerdfiles has quit IRC
[02:01:04] *** Tidwell has quit IRC
[02:01:24] *** mikaeldice has joined #angularjs
[02:01:43] *** Ir1sh has joined #angularjs
[02:02:20] *** nuizzy has quit IRC
[02:02:23] *** arrty has quit IRC
[02:02:47] *** mven_ has joined #angularjs
[02:02:51] *** mehlah has quit IRC
[02:02:53] *** drej has joined #angularjs
[02:03:00] *** mehlah has joined #angularjs
[02:03:15] *** ngoyal has joined #angularjs
[02:03:21] *** josh-k has joined #angularjs
[02:03:35] *** retzloff has quit IRC
[02:03:47] *** RedOrangeZ has quit IRC
[02:03:53] *** bphogan_afk is now known as bphogan
[02:04:14] *** ninsei has quit IRC
[02:04:39] *** Jdubs has joined #angularjs
[02:04:44] *** S234567a has joined #angularjs
[02:04:56] *** bmac has joined #angularjs
[02:05:15] <davek> Oh my god you can use a constructed anchor element to parse URLs for you...
[02:05:20] *** waylon99_ has quit IRC
[02:05:26] <davek> Cool thing of the day.
[02:06:04] *** Ir1sh has quit IRC
[02:06:04] *** Foxandxss has quit IRC
[02:06:14] *** arizzo has joined #angularjs
[02:06:19] *** boneskull has quit IRC
[02:06:29] *** jdowdle has quit IRC
[02:06:48] <S234567a> Hey there. Anyone know if it is possible to manipulate a partials DOM? I've tried directives, but they start the event before a partial view is ready.
[02:06:50] *** jae is now known as Jae
[02:07:16] *** jchamberlain has quit IRC
[02:07:30] <davek> S234567a, use $timeout to delay the execution of the dom manipulation.
[02:07:47] *** nerdfiles has joined #angularjs
[02:08:19] *** lucasefe has joined #angularjs
[02:08:34] *** ninsei has joined #angularjs
[02:08:35] *** avree has joined #angularjs
[02:08:38] <willmarshall> the getMap() function is being used in the Marker directive. I'm trying to create my own simple directive that does the same thing, but I can't get a hook to getMap in my directive
[02:08:58] *** raytiley is now known as rwjblue____
[02:09:01] *** josh-k has quit IRC
[02:09:03] *** bicranial has quit IRC
[02:09:14] *** rwjblue____ is now known as raytiley
[02:09:47] *** ngbot has joined #angularjs
[02:09:47] <ngbot> angular.js/master 8881606 rodyhaddad: chore(travis): get npm dependencies from npm-bundle-deps
[02:09:47] *** ngbot has left #angularjs
[02:10:06] *** OddDuck has quit IRC
[02:10:42] <snurfery> davek: whatdya mean?
[02:10:53] <davek> snurfery, about which?
[02:10:59] <snurfery> use a constructed anchor element to parse URLs
[02:11:02] *** DrMabuse has joined #angularjs
[02:11:15] <S234567a> awesome, where would this variable go and how would it look? $timeout(fn, [delay], [invokeApply]);
[02:11:58] *** olveraricardo72 has quit IRC
[02:12:09] *** mdedetrich has joined #angularjs
[02:12:12] *** olveraricardo72 has joined #angularjs
[02:13:18] <snurfery> well hot damn
[02:13:26] * snurfery nods in approval
[02:14:26] *** bicranial has joined #angularjs
[02:14:34] *** endash has quit IRC
[02:14:43] *** Jdubs has quit IRC
[02:15:20] *** zchrykng has left #angularjs
[02:15:27] *** ehynds has joined #angularjs
[02:15:37] *** CodeFriar has joined #angularjs
[02:15:46] *** DrMabuse has quit IRC
[02:15:47] *** sgnl has joined #angularjs
[02:16:55] *** snapwich has quit IRC
[02:18:00] *** L8TR has quit IRC
[02:18:22] *** L8TR has joined #angularjs
[02:18:33] *** fedenunez1 has quit IRC
[02:18:46] *** ngbot has joined #angularjs
[02:18:46] <ngbot> angular.js/master 9dce42b Dan Barua: fix($http): fix double-quoted date issue when encoding params...
[02:18:46] *** ngbot has left #angularjs
[02:19:33] *** jonog has joined #angularjs
[02:19:34] *** Kay-z has joined #angularjs
[02:19:35] *** jonog has quit IRC
[02:19:36] *** charlie_sanders has quit IRC
[02:19:41] *** CodeFriar has quit IRC
[02:19:42] *** richardbaker has quit IRC
[02:19:58] *** jonog has joined #angularjs
[02:20:04] *** bphogan is now known as bphogan_afk
[02:20:16] *** jareddlc has quit IRC
[02:20:23] *** snapwich has joined #angularjs
[02:20:40] *** ReactiveIO has joined #angularjs
[02:20:50] *** arrty has joined #angularjs
[02:21:05] *** ngbot has joined #angularjs
[02:21:06] <ngbot> angular.js/master 666a383 Lucas Galfaso: refactor(bootstrap): Remove support for old bootstrap mechnanisms...
[02:21:06] *** ngbot has left #angularjs
[02:21:07] *** Tina has joined #angularjs
[02:21:12] <Tina> hwllo
[02:21:15] <Tina> hello
[02:21:25] *** bphogan_afk is now known as bphogan
[02:21:41] <Tina> need help with templatecache.put
[02:21:45] <Tina> function
[02:22:13] *** subnl has quit IRC
[02:22:18] *** S234567a has quit IRC
[02:23:04] *** wilmoore has quit IRC
[02:23:04] *** ngbot has joined #angularjs
[02:23:04] <ngbot> angular.js/master 048a5f1 vaibhav kohli: style($injector): added whitespace
[02:23:04] *** ngbot has left #angularjs
[02:23:14] *** crocket has joined #angularjs
[02:23:18] <crocket> Hello gays
[02:23:42] *** lucasefe has quit IRC
[02:23:43] <crocket> I want to replace an element with <img/> tag. How do I do it?
[02:23:48] <davek> Are you serious with that?
[02:24:05] <Tina> can anyone help with templateCache.put
[02:24:11] <davek> Tina, what's up
[02:24:28] <Tina> templateCache.put
[02:24:32] <davek> crocket, you can do with a directive marked with 'replace: true' and supplying a template with an img tag.
[02:24:37] *** chrisbirk has quit IRC
[02:24:41] *** josh-k has joined #angularjs
[02:24:43] <davek> Tina, what about it?
[02:24:44] *** ehynds has quit IRC
[02:24:44] *** snurfery has quit IRC
[02:24:45] *** avree has quit IRC
[02:24:56] <Tina> i need to insert a javascript variable in it
[02:25:02] <Tina> but i m not able to
[02:25:04] *** chrisbirk has joined #angularjs
[02:25:18] *** mary5030 has quit IRC
[02:25:26] *** Nek has quit IRC
[02:25:28]
<Tina> '<ul > <li ng-repeat="d in test"> <a ng-href="https://twitter.com/" target="_blank">{{d}}</a></li> </ul> where test is defined in javascript file
[02:25:56] *** lucasefe has joined #angularjs
[02:26:06] *** blueadept has quit IRC
[02:26:16] *** lucasefe has quit IRC
[02:26:18] *** SpearThruster has quit IRC
[02:26:28] *** ustunozgur has joined #angularjs
[02:26:52] <crocket> davek, Can you point out what's wrong with my directive?
[02:27:32] *** conan_the_destro has quit IRC
[02:27:37] *** Kay-z has quit IRC
[02:27:43] *** anjumkaiser has quit IRC
[02:28:02] <davek> Of course they don't you're defining a new element.
[02:28:06] <davek> Nothing appears to be wrong with this.
[02:28:32] <Tina> i need to insert the variable inside templatecache.put
[02:28:32] <davek> Tina, you seem to be misunderstanding what templateCache does.
[02:28:33] *** conan_the_destro has joined #angularjs
[02:28:37] <davek> You cannot.
[02:29:10] <davek> The template cache is simply for storing template content so angular doesn't have to go back to the server to load templates its already seen.
[02:29:23] <davek> You can manually put template content into the cache but they're just strings.
[02:29:25] *** danielpquinn has joined #angularjs
[02:29:38] *** josh-k has quit IRC
[02:29:59] *** Ephemeral has quit IRC
[02:29:59] <Tina> ohh you mean i cannot put a dynamic variable into it?
[02:30:15] *** bbrown has quit IRC
[02:30:17] *** mdedetrich has quit IRC
[02:30:37] <Tina> i m using it to create dialog popup for my site
[02:30:41] *** jeffisabelle has joined #angularjs
[02:30:52] *** ninsei has quit IRC
[02:30:59] *** Siecje has quit IRC
[02:31:14] *** mdedetrich has joined #angularjs
[02:31:18] <crocket> davek, Anything wrong?
[02:31:22] *** ustunozgur has quit IRC
[02:32:51] *** nerdfiles has quit IRC
[02:32:55] <davek> crocket, it wouldn't appear so. Why don't you create a plunkr demonstrating your problem or share what the problem actually is you're encountering.
[02:33:07] *** nerdfiles has joined #angularjs
[02:33:08] <davek> It may eliminate some complications if you explicitly close all of your tags.
[02:33:24] <davek> Even though img is self closing, angular may have problems with them.
[02:33:38] *** RobinBAwesome_ has joined #angularjs
[02:33:47] *** subnl2 has joined #angularjs
[02:33:52] *** jeffisabelle has quit IRC
[02:33:55] <crocket> davek, It seems element is not <img/> but <hover-src/> itself.
[02:33:56] <davek> Tina, you can literally put that variable in the template string before you add it to the cache but that's a bad idea.
[02:33:59] <Tina> davek what should i use to dynamic generate data for ngDialog popup
[02:34:11] *** danielpquinn has quit IRC
[02:34:24] *** jeffisabelle has joined #angularjs
[02:34:33] *** foobarbazbat has quit IRC
[02:34:36] <davek> Tina, use a scope of course.
[02:34:38] *** RobinBAwesome has quit IRC
[02:34:38] *** RobinBAwesome_ is now known as RobinBAwesome
[02:34:42] *** Jdubs has joined #angularjs
[02:34:47] <davek> Refer to the 'scope' config property
[02:35:14] <Tina> can assign html to scope variable to generate dynamic content?
[02:35:23] <davek> crocket, plunkr would be nice.
[02:35:29] <crocket> davek, Duh
[02:35:35] <davek> Tina, uh there are ways yes but that may not be what you want.
[02:36:01] <Tina> thanks
[02:36:03] *** rho has quit IRC
[02:36:04] <davek> The ngDialog module seems well made, it exposes a number of options for customizing each dialog you open. Make use of them.
[02:36:05] *** Tina has quit IRC
[02:36:17] *** amargherio has joined #angularjs
[02:37:05] *** cotko has quit IRC
[02:37:20] *** morenoh150 has joined #angularjs
[02:37:33] *** jsoverson has quit IRC
[02:37:36] *** bmac has quit IRC
[02:37:36] *** Grokling_ has joined #angularjs
[02:37:39] *** rabaznaz has quit IRC
[02:37:50] *** glook has joined #angularjs
[02:38:47] *** Alax has joined #angularjs
[02:39:20] *** bmac has joined #angularjs
[02:39:35] *** dylukes has joined #angularjs
[02:40:06] *** jsoverson has joined #angularjs
[02:40:11] *** nanoyak has quit IRC
[02:40:48] *** nerdfiles has quit IRC
[02:41:05] *** nerdfiles has joined #angularjs
[02:41:06] *** Fishy has joined #angularjs
[02:41:12] *** bayousoft has joined #angularjs
[02:41:45] *** bphogan is now known as bphogan_afk
[02:41:48] <crocket> davek, plnkr says trailing solidus not allowed on hover-img tag.
[02:41:54] *** tomh- has quit IRC
[02:42:05] <crocket> davek, plnkr considers <hover-img src="image/ss.png" src-on="image/ss_on.png" width="33" height="33"/> as an error.
[02:42:18] *** mmitchell has quit IRC
[02:42:35] *** tigrang has quit IRC
[02:43:11] *** marr has quit IRC
[02:43:13] *** stickperson has quit IRC
[02:43:32] <crocket> ok
[02:43:37] <crocket> Something is going wrong.
[02:44:33] *** jsoverson has quit IRC
[02:44:36] *** mpaarating has joined #angularjs
[02:44:43] *** Browser_ has joined #angularjs
[02:45:33] <davek> crocket, did you load angular?
[02:45:43] <crocket> davek, yes
[02:46:32] *** bphogan_afk is now known as bphogan
[02:47:01] *** Aerospa__ has quit IRC
[02:47:08] *** rtpg_ has quit IRC
[02:47:18] *** Browser has quit IRC
[02:47:40] *** rtpg has joined #angularjs
[02:48:39] *** mven_ has quit IRC
[02:48:40] *** mehlah has quit IRC
[02:48:43] *** KernelCurry has quit IRC
[02:48:51] *** jpstone has joined #angularjs
[02:49:22] *** dhcar is now known as dhcar_AFK
[02:49:27] *** mven_ has joined #angularjs
[02:50:13] *** bphogan is now known as bphogan_afk
[02:50:21] *** k-dawg has joined #angularjs
[02:50:54] <wafflejock> crocket: like davek already mentioned probably good to actually have opening/closing tags for angular parts not sure about the self closing bit, also just share the plunkr link
[02:51:18] <crocket> wafflejock, ok
[02:51:39] *** rodyhaddad has quit IRC
[02:52:19] *** avree has joined #angularjs
[02:52:32] <crocket> I don't have a proper image on the internet.
[02:52:50] *** rtpg has quit IRC
[02:52:58] *** edrocks has quit IRC
[02:53:25] *** Tidwell has joined #angularjs
[02:54:11] *** anjumkaiser has joined #angularjs
[02:54:13] *** TheAceOfHearts has quit IRC
[02:54:28] *** jgladwill has quit IRC
[02:55:29] *** Nijikokun has joined #angularjs
[02:55:32] <davek> Works fine.
[02:55:33] *** Tina has joined #angularjs
[02:55:54] <davek> Once I did what I told you to do.
[02:56:12] <Tina> exgternal template not loaded
[02:56:15] <Tina> in ngDialog
[02:56:19] <Tina> i m running locally
[02:56:21] <Tina> not on server
[02:56:26] *** arizzo has quit IRC
[02:56:33] *** snapwich has quit IRC
[02:57:01] *** arizzo has joined #angularjs
[02:57:15] *** cacts|works has quit IRC
[02:57:32] *** tigrang has joined #angularjs
[02:57:42] *** raghunayyar has quit IRC
[02:58:32] <wafflejock> crocket: ^
[02:58:53] <wafflejock> Tina: check the network tab for failed requests see the URL it's trying to use
[02:59:17] *** fold has quit IRC
[02:59:22] <Tina> its a local request
[02:59:27] <Tina> not a server request
[02:59:35] <wafflejock> Tina: you will still see a request in the network tab
[02:59:35] <Tina> i do see the file and loads via local UR
[02:59:40] <opus_> hello
[02:59:43] <wafflejock> u just need to have it open while loading the page
[02:59:43] *** bzitzow has quit IRC
[02:59:47] <wafflejock> hi opus_
[03:00:20] <wafflejock> crocket: you can always use images from creative commons image search on google when you need stuff for plunkr, wikipedia based stuff seems to load fine
[03:00:30] *** fold has joined #angularjs
[03:01:07] <Tina> in network status it says cancelled
[03:01:17] *** jonog has quit IRC
[03:01:20] <wafflejock> Tina: does it show you the URL in the headers section?
[03:01:26] <wafflejock> like if you select htat row
[03:01:28] <wafflejock> that*
[03:01:29] *** dhcar_AFK is now known as dhcar
[03:01:32] <crocket> wafflejock, Wouldn't changing src lead to flickering?
[03:01:33] <crocket> flicker
[03:01:36] *** arizzo has quit IRC
[03:01:36] *** bicranial has quit IRC
[03:01:40] <wafflejock> crocket: I thought it might but doesn't seem to
[03:01:51] *** jonog has joined #angularjs
[03:01:52] <wafflejock> I only see the requests 1 for the images too
[03:01:58] <wafflejock> so seems it's being smart at least in chrome
[03:02:05] <crocket> wafflejock, duh
[03:02:08] *** rburns has quit IRC
[03:02:11] *** avree has quit IRC
[03:02:19] *** jbolie has quit IRC
[03:02:21] <Tina> yes its local URL file:/// .....
[03:02:30] *** Ir1sh has joined #angularjs
[03:02:36] <wafflejock> Tina: try to figure out if it makes sense based on other things you see that do load and the relative path
[03:03:32] *** rho has joined #angularjs
[03:03:32] *** rho has joined #angularjs
[03:03:33] *** Tina has quit IRC
[03:03:49] *** TuRnaD0 has quit IRC
[03:04:06] *** mindlace has quit IRC
[03:04:09] *** bmac has quit IRC
[03:05:05] <crocket> wafflejock, Thanks anyway.
[03:05:32] *** jonog_ has joined #angularjs
[03:05:37] *** jonog has quit IRC
[03:05:39] <davek> Tina, you can't do that.
[03:06:11] <crocket> huh
[03:06:16] <davek> You need to set up a simple static HTTP server.
[03:06:28] *** Aliks_ has quit IRC
[03:06:46] <crocket> Is <img width="39" height="39" src="blah.png"/> a valid img tag?
[03:06:55] *** Aliks_ has joined #angularjs
[03:07:02] *** jonog_ has quit IRC
[03:07:11] *** Ir1sh has quit IRC
[03:07:57] <davek> Yes.
[03:08:06] <opus_> Tina what operatingsystem are you on? there are lot of simple static http servers
[03:08:15] <crocket> davek, Do width and height attributes still work on <img> tags?
[03:08:35] <davek> Of course.
[03:09:15] *** ajk27 has quit IRC
[03:09:43] *** Cache_Money has joined #angularjs
[03:10:25] *** edrocks has joined #angularjs
[03:10:28] *** toors has quit IRC
[03:10:53] <wafflejock> crocket: it seems like you'd be better off just creating images programatically instead of hacking it with the padding and background image and trying to do the replace business, since replace is deprecated and all
[03:11:03] *** Aliks_ has quit IRC
[03:11:47] *** DrMabuse has joined #angularjs
[03:12:16] <crocket> wafflejock, ???
[03:12:32] <crocket> wafflejock, Do you mean "replace" is deprecated in angularjs?
[03:12:38] <wafflejock> crocket: yea
[03:12:57] *** mmitchell has joined #angularjs
[03:13:01] <crocket> wafflejock, I don't want to create images on the fly.
[03:13:38] <wafflejock> crocket: basically says in the code that since web components and having non standard tags is going to be the norm going forward and the complications with merging attributes they're just dropping support for that
[03:13:55] <wafflejock> crocket: well just a difference in defining some template with img elements or doing it in JS
[03:14:06] <crocket> wafflejock, dropping support for what
[03:14:08] *** subnl2 has quit IRC
[03:14:18] <wafflejock> replace
[03:14:46] *** Cache_Money has quit IRC
[03:14:58] *** rho has quit IRC
[03:15:20] *** jonog has joined #angularjs
[03:15:38] *** phuh has quit IRC
[03:15:48] *** ziyadb has quit IRC
[03:15:51] *** ajk27 has joined #angularjs
[03:15:58] *** DrMabuse has quit IRC
[03:15:58] *** lenswipe has left #angularjs
[03:16:03] *** phuh has joined #angularjs
[03:16:27] *** TyrfingMjolnir has joined #angularjs
[03:19:21] *** Siecje has joined #angularjs
[03:19:35] *** Cache_Money has joined #angularjs
[03:19:57] *** rchavik has joined #angularjs
[03:20:04] <sal1191> can you use php to serve templates?
[03:20:16] *** tarkus has quit IRC
[03:20:22] <sal1191> like if I had templateUrl: 'partials/index.php' in my view
[03:20:29] *** olveraricardo72 has quit IRC
[03:20:44] *** olveraricardo72 has joined #angularjs
[03:21:27] *** cphil has quit IRC
[03:21:43] *** anjumkaiser has quit IRC
[03:22:26] *** tilgovi has quit IRC
[03:22:27] *** glook has quit IRC
[03:23:05] <wafflejock> sal1191: yeah you could, typically not a good idea though will mix your service with your view code
[03:23:36] <sal1191> yes i was just curious i am glad that this is not how its done
[03:23:47] <wafflejock> sal1191: your service layer should be able to stand on it's own same with the angular app, this way if you decide in the future you want to use node or you want to write an iOS app you aren't screwed
[03:24:11] <wafflejock> plus makes testing and building everything easier
[03:24:11] *** nerdfiles has quit IRC
[03:24:30] *** nerdfiles has joined #angularjs
[03:24:32] *** k-dawg has quit IRC
[03:25:21] *** Grokling_ has quit IRC
[03:25:37] *** jcw has quit IRC
[03:25:45] *** markisonfire has quit IRC
[03:26:58] *** jcw has joined #angularjs
[03:27:22] <crocket> wafflejock, I can still do it without replace.
[03:27:50] <wafflejock> crocket: yeah just figured I'd throw it out there since you were discussing replace
[03:28:09] <crocket> wafflejock, I'd just have to get the nested <img/> tag.
[03:28:13] <jpstone> I was a heavy Django user prior to AngularJS. When I started with Angular, I realized both had templating systems. I tried mixing them at first. Then I realized I should just use Angular's. That delegated Django to just a REST API. That seemed silly. So I ditched Django for Node.JS.
[03:28:28] <crocket> Or
[03:28:29] <wafflejock> crocket: you could use two img tags and ng-hide too as an alternative the lack of two images when there are actually two just makes me wince a bit
[03:28:30] <crocket> just change background
[03:28:54] <crocket> wafflejock, I could just change the background.
[03:29:10] <wafflejock> crocket: yeah there're are million ways to skin this cat
[03:29:22] <crocket> wafflejock, skin?
[03:29:23] *** mmitchell has quit IRC
[03:29:34] <wafflejock> just a phrase don't take it literally
[03:29:51] <crocket> I like cats.
[03:29:57] <crocket> They meow.
[03:30:10] <wafflejock> haha
[03:30:10] *** danielpquinn has joined #angularjs
[03:30:17] <wafflejock> yeah nothing against the felions
[03:30:18] *** Gambit- has quit IRC
[03:30:26] <davek> Now that I've got client-side dynamic image blur working I feel compelled to just use it fucking everywhere.
[03:30:31] <davek> Already made them download the damn thing.
[03:31:35] *** Tidwell has quit IRC
[03:32:04] *** mdel has quit IRC
[03:32:11] *** richardbaker has joined #angularjs
[03:32:35] *** motionman has joined #angularjs
[03:32:47] *** motionman has joined #angularjs
[03:33:13] *** heidi has quit IRC
[03:33:36] *** toors has joined #angularjs
[03:33:55] *** Tidwell has joined #angularjs
[03:34:15] *** chasematterhorn has joined #angularjs
[03:34:15] *** chasematterhorn is now known as scarlioni
[03:34:17] *** rtpg has joined #angularjs
[03:34:18] *** danielpquinn has quit IRC
[03:35:04] *** rtpg has quit IRC
[03:35:11] *** rtpg has joined #angularjs
[03:35:29] *** bmac has joined #angularjs
[03:36:03] *** Mahonar has quit IRC
[03:36:56] *** glook has joined #angularjs
[03:37:08] <crocket> davek, Do you know why <hover-img>'s dimension is 39x14 while the nested image's dimension is 39x39?
[03:37:13] *** sdouglas has joined #angularjs
[03:37:25] *** Limix has quit IRC
[03:38:06] *** toors has quit IRC
[03:38:18] *** jtimon has joined #angularjs
[03:39:25] *** kalehv has joined #angularjs
[03:39:44] *** richardbaker has quit IRC
[03:40:17] *** JoshGlzBrk has quit IRC
[03:40:19] *** L8TR has quit IRC
[03:40:56] *** astericky has joined #angularjs
[03:41:21] *** glook has quit IRC
[03:41:38] *** S234567a has joined #angularjs
[03:41:40] <davek> crocket, could be any number of things.
[03:41:46] *** terrykfwong has quit IRC
[03:42:15] *** phpxadmin_ has quit IRC
[03:42:42] *** AlexZan has joined #angularjs
[03:42:59] *** knownasilya has quit IRC
[03:43:09] *** cece has quit IRC
[03:43:11] <S234567a> How would a partial process js?
[03:43:37] *** dylukes has quit IRC
[03:44:03] *** darrin has joined #angularjs
[03:44:57] *** darrin has quit IRC
[03:45:15] *** whunt has quit IRC
[03:45:35] *** basichash has quit IRC
[03:46:14] <wafflejock> S234567a: why not just use a ng-controller in there?
[03:46:39] *** dcherman has joined #angularjs
[03:46:43] *** theshane has joined #angularjs
[03:46:48] <wafflejock> S234567a: I have hacked around with adding <script> in the template and it seems to work as well but seems dirty so took it out don't recall my exact solution at the time
[03:47:30] *** Limix has joined #angularjs
[03:48:18] *** jtimon has quit IRC
[03:48:32] <S234567a> More specifically how would angular get a partial view to process js. It seems to be the last item parsing, so the angular and library scripts had already completed when the partial is parsed.
[03:49:01] <S234567a> wafflejock: hmm I'll try it
[03:49:11] <wafflejock> S234567a: if you inject a script tag into html browsers tend to just run it
[03:49:23] <wafflejock> S234567a: that's like how the google analytics code and facebook code loads itself
[03:49:30] *** glook has joined #angularjs
[03:49:35] <S234567a> through a controller, you have to excuse me, still learning angular and js
[03:50:15] <Moult> in my controller, i have set $scope.foo = my.plain.old.js.object.foo, how do i make it so that if my.plain.old.js.object.foo changes, the scope value changes too?
[03:50:20] <S234567a> yes but the scripts don't seem to run in a partial view, a regular index page works fine
[03:52:04] <wafflejock> Moult: it depends on if foo is an array/object or if it is a primitive/string
[03:52:18] <Moult> S234567a: do you mean $compile?
[03:52:36] <Moult> wafflejock: foo is a primitive.
[03:52:38] <wafflejock> Moult: if foo is an object/array then they are both pointing at the same object and when you change it both of the references will still be pointing at that same object and will see it
[03:52:48] <wafflejock> Moult: if it's a primitive you need to wrap it in an object
[03:52:52] <wafflejock> so they can have the same reference
[03:52:53] <Moult> wafflejock: ok, let me test :)
[03:53:41] <wafflejock> strings are also immutable in JS so references to them don't work out they just get blown away and replaced every time with new memory
[03:54:05] <Moult> wafflejock: yes that works :) i see, pass by ref and pass by val in js seems to not be immediately obvious :)
[03:54:17] <wafflejock> yeah it's not all 100% clear
[03:54:31] *** MickeyO has joined #angularjs
[03:55:29] <Moult> yesterday, js' "this" behavior bit me as well :( there's a lot of wtf-ery in this language
[03:56:13] <wafflejock> Moult: yeah I don't use "this" as much as possible
[03:56:19] *** iateadonut has joined #angularjs
[03:56:23] <Moult> wafflejock: that's the approach i'm taking now too
[03:56:29] *** subnl2 has joined #angularjs
[03:56:36] *** S234567a has quit IRC
[03:58:38] *** wallerdev has quit IRC
[03:58:40] *** josh-k has joined #angularjs
[03:58:47] *** evan_e has quit IRC
[03:59:58] *** richardbaker has joined #angularjs
[04:00:01] *** charuru has quit IRC
[04:00:18] *** josh-k has quit IRC
[04:00:47] *** josh-k has joined #angularjs
[04:01:03] *** cthrax has quit IRC
[04:01:34] *** subnl2 has left #angularjs
[04:01:58] *** iateadonut has left #angularjs
[04:02:03] *** TheAceOfHearts has joined #angularjs
[04:02:24] *** josh-k has quit IRC
[04:02:43] *** josh-k has joined #angularjs
[04:03:06] *** avree has joined #angularjs
[04:03:14] *** Ir1sh has joined #angularjs
[04:03:19] *** shinnya has quit IRC
[04:03:30] *** erpipefish has joined #angularjs
[04:03:39] *** JimTheDev has joined #angularjs
[04:03:43] *** stickperson has joined #angularjs
[04:04:44] *** josh-k_ has joined #angularjs
[04:04:50] *** josh-k has quit IRC
[04:05:07] *** lucasefe has joined #angularjs
[04:06:13] *** jonog has quit IRC
[04:06:39] *** bphogan_afk is now known as bphogan
[04:06:55] *** josh-k has joined #angularjs
[04:07:05] *** Aerospark has joined #angularjs
[04:07:10] *** josh-k_ has quit IRC
[04:07:47] *** Ir1sh has quit IRC
[04:07:58] *** erpipefish has quit IRC
[04:08:48] *** slainer68 has joined #angularjs
[04:09:18] *** dylukes has joined #angularjs
[04:09:30] *** RobinBAwesome has quit IRC
[04:09:55] *** mdel has joined #angularjs
[04:11:02] *** josh-k has quit IRC
[04:11:44] *** Sengoku_ has quit IRC
[04:12:24] *** glook has quit IRC
[04:12:43] *** DrMabuse has joined #angularjs
[04:13:47] *** jstroem has quit IRC
[04:14:14] *** avree has quit IRC
[04:14:25] *** jstroem has joined #angularjs
[04:14:58] *** dawhite has quit IRC
[04:15:09] *** bphogan is now known as bphogan_afk
[04:15:40] *** phuh has quit IRC
[04:15:47] *** bphogan_afk is now known as bphogan
[04:15:47] *** tigrang has quit IRC
[04:16:06] *** phuh has joined #angularjs
[04:16:22] *** bphogan is now known as bphogan_afk
[04:16:37] *** dhcar is now known as dhcar_AFK
[04:17:23] *** DrMabuse has quit IRC
[04:18:34] *** jstroem has quit IRC
[04:19:29] *** teslanick has quit IRC
[04:21:30] *** Fire-Dragon-DoL has quit IRC
[04:21:54] *** mamian has quit IRC
[04:22:13] *** joshontheweb has joined #angularjs
[04:22:15] <ckboii89> is http.post(url) or $resource(url) better practice?
[04:22:23] <ckboii89> sorry which*
[04:22:23] *** tfennell_ has quit IRC
[04:23:23] *** Hackwar has joined #angularjs
[04:23:48] <Sean-Der> ckboii89: Do you have a REST API that fits the expected I/O ?
[04:24:24] <ckboii89> yea
[04:24:28] <ckboii89> its rails api
[04:24:37] <ckboii89> depending on the action
[04:24:44] <ckboii89> either post, get or destroy
[04:25:20] *** Hackwar1 has quit IRC
[04:25:43] <Sean-Der> Well my advice is to use ngResource if you control the API and you can change it as ngResource expects. Otherwise you are gonna spend more time writing interceptors etc trying to get it to work correctly
[04:25:48] <davek> I need a canvas expert here...
[04:26:14] <ckboii89> ok thank you
[04:26:17] *** jobelenus has joined #angularjs
[04:26:20] <Sean-Der> I have never used rails so I can't give you advice in that realm
[04:26:34] <davek> I have an image loaded, I want to grab a horizontal slice of this image and render it to cover a canvas.
[04:27:04] *** spaceribs has quit IRC
[04:27:33] *** Tidwell has quit IRC
[04:28:14] *** sdouglas has quit IRC
[04:28:22] <blackkbot> so canvas.getContext('2d').rect(left,top,width height); canvas.getContext('2d').clip();canvas.drawImage(image,0,0);
[04:28:31] <crocket> damn
[04:28:33] *** jonog has joined #angularjs
[04:28:36] <crocket> Does anyone use ui-bootstrap?
[04:28:43] <crocket> I can't customize ui-bootstrap tabs.
[04:29:02] *** sri_doer has joined #angularjs
[04:29:02] *** olveraricardo72 has quit IRC
[04:29:06] <wafflejock> crocket: yeah what's the problem?
[04:29:22] *** olveraricardo72 has joined #angularjs
[04:29:25] *** astericky has quit IRC
[04:29:36] <wafflejock> crocket: typically I just override the classes based on what's there but if need be you can entirely override the template using ng-template to include one in a script block
[04:29:57] *** frkout_ has joined #angularjs
[04:29:59] <sri_doer> How do i read a local file served using karma (say its present in test/mock/) from angular unit test ? file type can be .xlsx or .txt
[04:30:22] <crocket> wafflejock, How do you modify ui-bootstrap?
[04:30:51] <blackkbot> actually davek canvas.getContext('2d').drawImage(image,left,top,width,height,0,0,canvas.width,canvas.height)
[04:30:56] *** danielpquinn has joined #angularjs
[04:31:00] *** tigrang has joined #angularjs
[04:31:27] <sri_doer> can someone help with the approach there ?
[04:31:29] <wafflejock> crocket: like I'm saying above you can include your own templates... look in the ui-bootstrap-tpls.js file (or something similar) at the bottom it has all the templates loaded into the template cache you can copy the one used for the tabs and override it by using ng-template... typically though I just use CSS to override the styles on the classes it already uses
[04:31:47] *** nerdfiles has quit IRC
[04:31:51] *** bkuberek has joined #angularjs
[04:33:01] *** Siecje has quit IRC
[04:33:12] *** nerdfiles has joined #angularjs
[04:33:31] *** frkout has quit IRC
[04:33:35] *** drej has quit IRC
[04:33:40] *** davedev24_ has quit IRC
[04:33:51] *** davedev24_ has joined #angularjs
[04:33:58] *** jobelenus has quit IRC
[04:33:59] *** sneakertack has joined #angularjs
[04:34:02] *** drej has joined #angularjs
[04:34:22] *** justinobney has joined #angularjs
[04:35:03] *** danielpquinn has quit IRC
[04:37:21] *** lucasefe has quit IRC
[04:37:36] *** lucasefe has joined #angularjs
[04:37:45] *** Jdubs has quit IRC
[04:37:50] <crocket> wafflejock, I override classes.
[04:37:55] <Moult> wafflejock: hmm, i am having to call scope.$apply() to see the changes take effect, but sometimes my.plain.old.javascript.object.foo could be set via a promise elsewhere, so my $apply() happens before it's properly set. any ideas?
[04:37:58] <crocket> wafflejock, However, that's usually not maintainable.
[04:38:04] *** Limix has quit IRC
[04:38:26] *** Jdubs has joined #angularjs
[04:38:38] *** rburns has joined #angularjs
[04:39:03] *** Rukouen has joined #angularjs
[04:39:31] *** charuru has joined #angularjs
[04:39:32] <opus_> if I call a REST service dshould I wrap it in a Service or a Factory or nether can use the controller?
[04:40:06] *** nerdfiles has quit IRC
[04:40:21] *** nerdfiles has joined #angularjs
[04:42:11] *** nerdfiles has quit IRC
[04:42:18] *** nagappan has quit IRC
[04:42:51] *** nagappan has joined #angularjs
[04:43:21] <crocket> Why is ng-click="leftColumnShow = false" ignored?
[04:43:29] <crocket> leftColumnShow is defined in $scope.
[04:44:38] *** jstroem has joined #angularjs
[04:45:19] *** dylukes has quit IRC
[04:45:20] *** nerdfiles has joined #angularjs
[04:45:35] *** RedOrangeZ has joined #angularjs
[04:46:18] *** AlexZan has quit IRC
[04:46:31] *** bphogan_afk is now known as bphogan
[04:47:26] *** waylon999 has joined #angularjs
[04:48:37] *** nerdfiles has quit IRC
[04:49:10] *** jstroem has quit IRC
[04:49:51] <davek> blackkbot, not working though I appreciate the effort.
[04:50:26] *** nerdfiles has joined #angularjs
[04:51:11] <blackkbot> image is just the image object left top width and height are the dimensions of the horizontal slice and the canvas must be the size you want it to be
[04:51:26] *** nerdfiles has quit IRC
[04:51:36] *** mdedetrich has quit IRC
[04:52:28] *** LuxuryMode has quit IRC
[04:52:50] *** tfennelly has joined #angularjs
[04:52:52] *** bphogan is now known as bphogan_afk
[04:53:29] <wafflejock> Moult: typically you need to call $scope.$apply if you changed something outside the context of angular what this means is outside of ng-click or $http or $timeout or any other services
[04:53:42] *** fedenunez has joined #angularjs
[04:53:50] <wafflejock> Moult: so if you bind to something or make some async call without $http you need to manually call $scope.$apply, the angular stuff does this internally for you
[04:53:57] *** Willow has quit IRC
[04:54:00] <wafflejock> Moult: the call causes all the $watchers to update
[04:54:31] *** Willow has joined #angularjs
[04:54:32] <Moult> wafflejock: ok, so how do i call scope.apply after that promise is satisfied, if the promise is elsewhere in the code and doesn't have access to scope?
[04:54:40] <wafflejock> (bind to something -> element.on("click") )
[04:54:41] <Moult> does that mean i need to inject scope as a callback?
[04:54:48] *** TheAceOfHearts1 has joined #angularjs
[04:54:53] <wafflejock> Moult: in $http it injects $rootScope and calls $apply on that
[04:54:58] *** TheAceOfHearts has quit IRC
[04:54:58] <wafflejock> that's always an option I think
[04:55:27] *** nerdfiles has joined #angularjs
[04:55:51] *** vintik has joined #angularjs
[04:56:11] *** nerdfiles has quit IRC
[04:56:13] *** jobelenus has joined #angularjs
[04:56:29] <wafflejock> crocket: don't know what you mean by that's not maintainable?
[04:56:49] *** isthisreallife has joined #angularjs
[04:56:51] <Moult> wafflejock: this is a promise, not $http
[04:56:53] <wafflejock> crocket: if you feel you need to you can use the bootstrap version without templates and provide all your own
[04:57:08] <davek> blackkbot, oh I'm aware. I've used the API pretty extensively, and my code was right, the problem was coming from somewhere else.
[04:57:08] *** isthisreallife has left #angularjs
[04:57:09] <wafflejock> Moult: just saying as an example of how you can call $apply if you don't have $scope
[04:57:20] *** tfennelly has quit IRC
[04:57:29] <opus_> I got disconnected
[04:57:30] <Moult> wafflejock: ok, let me do some tests
[04:57:40] <crocket> wafflejock, Overriding bootstrap classes in another css is not very maintainable.
[04:57:41] <opus_> lemme ask again, do I put my REST code in a service?
[04:57:50] <wafflejock> crocket: what do you mean by maintainable?
[04:57:58] <davek> Looks beautiful now! WOO!
[04:57:59] <wafflejock> generally that means it will break in the future
[04:58:00] <opus_> and then the controller maps the service to the view, right?
[04:58:02] <wafflejock> doesn't seem likely
[04:58:02] <jpstone> so I'm using ui-bootstrap's typahead. i have a basic <td> text that when clicked, turns into an input which is a typeahead. I created a directive for when the user clicks out of the text box, it goes back to the regular <td>. the problem is, in the typehahead dropdown, when the user clicks a name, that is a blur event
[04:58:12] <crocket> wafflejock, Subsequent bootstrap versions will break overriding css.
[04:58:14] <wafflejock> opus_: yup
[04:58:19] <jpstone> which means when the user clicks a typeahead value, it doesn't select, and goes back to <td>
[04:58:31] <jpstone> is there a timeout or something I could use
[04:58:31] <wafflejock> crocket: updating major bootstrap versions will always have breaking problems that require work
[04:58:35] <jpstone> because it just blurs real quick
[04:58:37] <opus_> ok, so for the service, it keeps the data singleton throughout the whole application?
[04:58:38] *** Willow has quit IRC
[04:58:39] <jpstone> then goes back to focus
[04:58:48] <crocket> wafflejock, Duh
[04:58:50] <opus_> like, do I want to use a service or a factory, or is there no difference just syntax?
[04:58:51] <wafflejock> opus_: yup
[04:59:12] *** francisl has joined #angularjs
[04:59:13] <wafflejock> opus_: just syntax
[04:59:23] <wafflejock> one uses new operator when created the other is just calle
[04:59:25] *** AlexZan has joined #angularjs
[04:59:25] <wafflejock> called*
[04:59:41] <wafflejock> crocket: if everything is "Duh" then why so many questions :P
[04:59:50] <jpstone> Ah, I could create a counter for focus events, and if there is two, don't go back to regular text
[04:59:52] <jpstone> lemme try that
[05:00:20] <crocket> wafflejock, i'm a complex human being.
[05:00:23] <wafflejock> opus_: but both are singleton so mostly syntax difference functionally you can use one or the other
[05:00:24] *** jobelenus has quit IRC
[05:00:27] *** nerdfiles has joined #angularjs
[05:00:36] <opus_> wafflejock, which one do I want? or which one do you use? I don't like the new operator syntax, which one doe that, service?
[05:01:01] <wafflejock> opus_: yeah service uses that.. I use services for stuff that does API calls but I write them in a way similar to factories
[05:01:05] <opus_> also if you use new, is it inside the controller or is it scope wide?
[05:01:15] <wafflejock> I create a var populate it with stuff maybe make a call on it to initialize and return it
[05:01:24] *** jtimon has joined #angularjs
[05:01:35] <opus_> won't calling new each time create indepednt variables and not keep my data through out the controllers?
[05:01:47] <wafflejock> nope it is a singleton
[05:01:53] <opus_> ok
[05:01:55] <wafflejock> created on first reference and injecting the same instance thereafter
[05:02:08] *** mary5030 has joined #angularjs
[05:02:20] <opus_> alright thanks. pretty easy, I just got confused because it isn't really specific. i guess you can things many ways
[05:02:28] <wafflejock> yeah
[05:02:51] <wafflejock> opus_: I just use service with APIs cause the wording makes more sense to me and factories for objects that produce more objects usually cause that makes sense to me
[05:02:59] *** johnstorey has joined #angularjs
[05:03:17] <ckboii89> i have an error that is this on the console:[$injector:itkn] Incorrect injection token! Expected service name as string, got undefined
[05:03:22] <opus_> can you give me off the top of your head what you would use for example for a factory?
[05:03:49] <ckboii89> its not being helpful where it is, any quick ideas where it might be? my button that opens a modal creates this error
[05:03:58] *** Ir1sh has joined #angularjs
[05:03:58] *** willmarshall has quit IRC
[05:04:03] <ckboii89> and the modal wont open anymore
[05:04:09] <wafflejock> opus_: yeah I made one recently for a "LoadingManager" so each time I make a call to one of the methods of the loading manager I supply a name for the loader object I want to modify or get and the LoadingManager holds them all
[05:04:39] <wafflejock> and creates tehm
[05:04:40] <wafflejock> them*
[05:04:54] <Moult> wafflejock: hmm, i really don't want to inject rootscope into my own js :(
[05:05:23] *** nerdfiles has quit IRC
[05:05:28] <wafflejock> Moult: if you pastebin some code I might be able to better understand what you're trying to do
[05:05:40] *** nerdfiles has joined #angularjs
[05:05:50] <wafflejock> Moult: in some cases $rootScope will be necessary I believe or they wouldn't use it in the $http code but would be good to see the code
[05:06:05] *** whunt has joined #angularjs
[05:06:08] *** spencercarnage has quit IRC
[05:06:20] *** sdarby has joined #angularjs
[05:06:49] *** nerdfiles has quit IRC
[05:07:08] *** jtimon has quit IRC
[05:07:08] <wafflejock> ckboii89: sounds like you did something like [someobjecthere, function(){}] for minsafe code but didn't supply a string like ["someobjecthere", function(){}]
[05:07:48] <wafflejock> ckboii89: typically if I am not sure where an error comes from I open the debug panel->source->hit the stop sign with a pause button->pause on exceptions then look at the stack trace and variables around the error to see what blew up
[05:07:53] *** jtimon has joined #angularjs
[05:08:08] *** InezK is now known as InezK_away
[05:08:14] *** tigrang has quit IRC
[05:08:24] <Moult> wafflejock: i'll experiment a bit more, and then see what i get
[05:08:26] <ckboii89> i fodun it
[05:08:31] <ckboii89> and it was exactly what you siad
[05:08:33] <ckboii89> thank you!
[05:08:34] *** Ir1sh has quit IRC
[05:08:34] <ckboii89> :D
[05:08:39] <wafflejock> np good to know
[05:10:00] <wafflejock> I typically just rely on ngmin as much as I can cause I'm lazy and I screw up the order of strings->params a number of times and confused the bejeezus out of me
[05:10:22] *** chrisbirk has quit IRC
[05:10:41] *** nerdfiles has joined #angularjs
[05:11:37] *** bmac has quit IRC
[05:12:09] <ckboii89> haha
[05:12:50] *** theshane has quit IRC
[05:13:12] *** Yancy has joined #angularjs
[05:13:21] *** DrMabuse has joined #angularjs
[05:13:26] *** [n0b0dy] has quit IRC
[05:14:31] *** asdfqwerty has joined #angularjs
[05:14:50] *** kalehv_ has joined #angularjs
[05:14:51] *** Grokling_ has joined #angularjs
[05:16:27] *** snurfery has joined #angularjs
[05:17:03] *** astericky has joined #angularjs
[05:17:46] *** kalehv has quit IRC
[05:17:49] <snurfery> sup yall
[05:17:59] *** DrMabuse has quit IRC
[05:18:34] *** stevvooe has quit IRC
[05:18:38] <snurfery> oh snap 1.2.20 came out
[05:18:39] <snurfery> nice
[05:19:02] <crocket> wafflejock, I hate my HTML/CSS skills.
[05:19:09] <crocket> I'm writing horrible markups.
[05:19:19] *** jhulten has joined #angularjs
[05:20:29] *** nerdfiles has quit IRC
[05:20:46] *** nerdfiles has joined #angularjs
[05:21:06] <wafflejock> crocket: how long you been doing web programming?
[05:21:16] <wafflejock> hey snurfery
[05:21:32] <snurfery> wasssaaaaaaaa
[05:21:42] <wafflejock> chillen
[05:22:04] <snurfery> just remembered that old Budweiser commercial with the frogs
[05:22:05] *** vintik has quit IRC
[05:22:09] *** rchavik has quit IRC
[05:22:52] <wafflejock> bud.....weis......er.......
[05:23:10] <wafflejock> yeah that was a good one
[05:23:11] *** katsh has quit IRC
[05:23:48] <crocket> wafflejock, less than 3 months?
[05:23:59] <crocket> probably a little bit more than 3 months
[05:24:12] <snurfery> dammit I want a 3rd monitor
[05:24:14] <wafflejock> crocket: have you checked out codeacademy.com it's pretty decent as a early starting point
[05:24:25] <crocket> wafflejock, My product manager also is squeezing deadline.
[05:24:30] <crocket> It's hard to write good markups.
[05:24:34] *** hswolff has quit IRC
[05:24:40] <wafflejock> snurfery: I feel your pain... I have a tablet and a phone and two monitors and somehow feel I don't have enough screen space
[05:24:41] <snurfery> pinching deadline loaves
[05:24:46] <crocket> wafflejock, Fortunately, I won't have a job next year.
[05:24:58] *** BobbieBarker has joined #angularjs
[05:25:19] <snurfery> wafflejock: 13" macbook + 24" dell screen in portrait mode
[05:25:42] <snurfery> it's great, but I'd need a whole nother screen for browser windows
[05:25:47] *** avree has joined #angularjs
[05:25:48] <wafflejock> ah I've got two 22" and 15" laptop but video chipset+Kubuntu is only letting me run the two externals
[05:26:17] *** nerdfiles has quit IRC
[05:26:19] <snurfery> oh snap I just realized I have extra laptops, maybe I can get a synergy thing going
[05:26:32] *** nerdfiles has joined #angularjs
[05:26:32] <wafflejock> think all three worked with the drivers in windows but it's not a big deal
[05:26:43] *** subnl2 has joined #angularjs
[05:26:56] <snurfery> been a while since I've been on a kubuntu system
[05:27:01] <wafflejock> yeah I don't know why exactly (probably windows firewall issues) but I never had much luck with synergy but I've seen it working
[05:27:05] <snurfery> or used ubuntu at all as my main comp
[05:27:43] *** feelfine has quit IRC
[05:27:55] *** InezK_away is now known as InezK
[05:28:06] <wafflejock> snurfery: I was using windows and dual booting but for development ubuntu was really easier but I wasn't a fan of a lot of the original Unity stuff in Ubuntu 12.04, they fixed a lot of my complaints in 14.04 but I just stuck with Kubuntu for now
[05:28:14] *** rtpg has quit IRC
[05:28:18] <wafflejock> so now windows is in a VM
[05:28:24] <snurfery> oh yeah unity
[05:28:25] <snurfery> ugh
[05:28:30] <snurfery> I don't blame ya
[05:29:31] <snurfery> one of my jobs gave me a decent macbook, after a few upgrades (ssd, 16gb ram) it's a beast so I'm more or less hooked
[05:29:40] *** MTGap has quit IRC
[05:29:42] <wafflejock> I also like having the same environment essentially with what I'm deploying to (desktop vs server versions but can have same packages available)
[05:30:05] <wafflejock> yeah I've got an SSD with 8GB of ram... so far the ram hasn't been a problem
[05:30:06] <snurfery> one of these days I'll have a proper linux laptop, I used to love it
[05:30:15] * snurfery nods
[05:30:15] <wafflejock> although I'm always out of disk space
[05:30:34] <snurfery> yeah I never try to do anything too unix-y on the mac, only in ubuntu VM's
[05:30:39] <wafflejock> 8.9GB of disk space on the SSD right now....
[05:30:43] <snurfery> because the compiler and environment is trash
[05:30:44] <snurfery> heh
[05:31:16] <snurfery> it's pretty crazy if you ever switch back to a non-ssd computer for a few minutes
[05:31:22] <wafflejock> yeah I hate them
[05:31:23] <wafflejock> haha
[05:31:27] <snurfery> like "WHAT THE EFF IS TAKING SO LONNNNNNG"
[05:31:42] *** danielpquinn has joined #angularjs
[05:31:42] <snurfery> I'm immediately super-entitled haha
[05:31:47] <wafflejock> yeah I almost can't bear to start my desktop
[05:31:55] <wafflejock> the graphics card is great but with no SSD it's sooo slow
[05:32:00] <snurfery> poor guy, it's probably just a glorified NAS these days
[05:32:08] <snurfery> NAS with a graphics card
[05:32:08] *** bicranial has joined #angularjs
[05:32:24] <wafflejock> yeah I played through Watch Dogs on it but startup was terrible
[05:32:33] <wafflejock> haven't started it since really
[05:33:03] <snurfery> I wanted to change mine into a media center PC /Plex server but meh
[05:33:17] *** joojis has quit IRC
[05:33:18] <wafflejock> yeah chromecast is pretty sweet
[05:33:59] <wafflejock> I also played with some Plex on RasPi and that works alright... a little slow but usable and fine for playing HD video
[05:34:14] <snurfery> oh wow
[05:34:31] <wafflejock> yeah there's an image out there for the SD card so just dd it and boot it up, pretty sweet
[05:34:37] *** jobelenus has joined #angularjs
[05:34:40] *** boneskull has joined #angularjs
[05:36:32] *** danielpquinn has quit IRC
[05:37:41] *** olveraricardo72 has quit IRC
[05:37:49] *** sdouglas has joined #angularjs
[05:38:03] *** olveraricardo72 has joined #angularjs
[05:38:05] *** hugorodrigues has quit IRC
[05:38:13] *** phuh has quit IRC
[05:38:24] <snurfery> oh man I might have to get one of these asap
[05:38:36] *** phuh has joined #angularjs
[05:38:53] <wafflejock> yeah they just came out with a new version of the B
[05:39:00] <wafflejock> has some more GPIO and other things
[05:39:05] <wafflejock> better USB I think
[05:39:09] <wafflejock> same price
[05:39:13] *** stickperson has quit IRC
[05:40:58] *** AlexZan has quit IRC
[05:41:40] *** stickperson has joined #angularjs
[05:42:02] *** ustunozgur has joined #angularjs
[05:43:16] *** steffengy has quit IRC
[05:43:17] *** steffengy1 has joined #angularjs
[05:43:40] *** sdouglas has quit IRC
[05:44:01] <wafflejock> currently my RasPi B is functioning as an Asterix PBX box for VoIP conference calls... works pretty well wouldn't recommend doing it with more than 5 people on the call though without optimizing things
[05:44:14] *** Alax has quit IRC
[05:44:17] <wafflejock> fun little piece of hardware though
[05:45:14] <wafflejock> FreePBX* to anyone who knows and would punch me for saying it's Asterisk
[05:45:20] *** jstroem has joined #angularjs
[05:45:26] *** sri_doer has quit IRC
[05:46:27] *** bayousoft has quit IRC
[05:46:59] *** ustunozgur has quit IRC
[05:47:22] *** jordandotdev has joined #angularjs
[05:47:28] *** tfennelly has joined #angularjs
[05:47:33] *** frkout_ has quit IRC
[05:48:08] *** frkout has joined #angularjs
[05:48:23] *** Jae has quit IRC
[05:49:01] *** mdedetrich has joined #angularjs
[05:49:32] *** bkuberek has quit IRC
[05:49:38] *** jstroem has quit IRC
[05:51:35] *** nerdfiles has quit IRC
[05:51:37] *** jobelenus has quit IRC
[05:51:45] *** mmoretti has joined #angularjs
[05:52:11] *** tfennelly has quit IRC
[05:52:17] *** jobelenus has joined #angularjs
[05:52:18] *** oste has joined #angularjs
[05:52:48] <oste> i am trying to find a way to do multiple uploads and retain the selected files
[05:53:03] <oste> by default when you upload more files the old files are removed
[05:53:05] *** willmarshall has joined #angularjs
[05:53:06] *** JimTheDev has quit IRC
[05:53:11] *** justinobney has quit IRC
[05:53:28] *** OffTheRails has joined #angularjs
[05:53:48] *** justinobney has joined #angularjs
[05:53:57] *** Yancy has quit IRC
[05:54:07] *** [n0b0dy] has joined #angularjs
[05:54:10] *** mmoretti has quit IRC
[05:55:18] *** morenoh150 has quit IRC
[05:55:52] <wafflejock> oste: not sure what you mean by old files are removed
[05:56:19] <oste> i mean the files that were added with the previous upload
[05:56:22] <wafflejock> there are a few places that say "multiple" in that github page for how to upload multiple files with HTML5 browsers
[05:56:31] <wafflejock> oste: the saving of the files is done server side
[05:56:41] <oste> yeah i know - i have it all working great
[05:56:45] *** waylon999 has quit IRC
[05:56:50] <wafflejock> so if it's overwriting those files that's a matter of fixing the server side code
[05:56:57] <oste> no that is not the issue
[05:57:08] <oste> it is overwriting on the client
[05:57:28] <wafflejock> overwriting what exactly? can you show some code perhaps?
[05:57:57] *** edrocks has quit IRC
[05:57:58] *** justinobney has quit IRC
[05:58:11] <oste> notice how if you upload once the files will display
[05:58:15] *** bkuberek has joined #angularjs
[05:58:31] <oste> if you upload again the files you just uploaded will be removed and the new files are all you see
[05:58:36] <wafflejock> yeah well this is just a demo so I'm sure they just clean out the files
[05:58:43] <oste> just need some angular magic someplace haha
[05:59:04] <wafflejock> it's not an angular thing it's the server side code that's cleaning things up it's intentional in the demo
[05:59:05] <oste> yeah, might need to start over
[05:59:19] <oste> no it is the angular code i promise
[05:59:29] <davek> Try ngFlow.
[05:59:31] <wafflejock> in terms of your front end after you upload you just fetch the new list of files
[05:59:46] *** ChrisOei has joined #angularjs
[06:00:17] <davek> Farid's file upload was so barebones I may as well have gone with just using $http myself.
[06:00:19] <oste> everytime you upload the selectedFile array is reinited
[06:00:20] *** Ethix has quit IRC
[06:00:24] *** ChrisOei has quit IRC
[06:00:34] <oste> oh damn.
[06:00:44] <oste> i am trying to convert from jquery file upload
[06:00:47] <oste> i thought this was the way...
[06:00:50] <davek> Yeah of course. That's just a behavior of the input field.
[06:01:01] <wafflejock> yeah it's not doing anything wrong IMO
[06:01:07] <oste> no it’s not
[06:01:11] <wafflejock> you could save the array of files on the select if you wanted to
[06:01:25] <wafflejock> then it doesn't matter that it cleans it up on the next select
[06:01:51] *** ChrisOei has joined #angularjs
[06:01:53] <wafflejock> haven't tried ng-flow though so can't weigh in on that
[06:02:02] *** Alina-emergency has joined #angularjs
[06:02:02] *** Alina-emergency has joined #angularjs
[06:02:26] *** arrty has quit IRC
[06:02:52] <oste> yeah unfortunately it seems like it is more than just saving the array
[06:02:58] <oste> the example is pretty set in stone i think :(
[06:03:00] *** arrty has joined #angularjs
[06:03:09] <oste> needs some serious refactoring to do what i want
[06:03:44] <davek> ng-flow is pretty ballin. I mean it fucking works so that's like a 100% improvement over both "angular-file-upload" modules.
[06:04:37] <wafflejock> eh I got the danielfaried one working in a project without too much trouble just used that demo page and a couple SO posts to take care of some simple uploads
[06:04:37] <oste> not getting the github love(stars) to show how superior it is...
[06:04:45] *** Ir1sh has joined #angularjs
[06:04:50] <oste> yeah i have it working nicely too...
[06:05:04] <oste> just makes no sense to remove the files after each upload
[06:05:20] *** TyrfingMjolnir has quit IRC
[06:05:22] <wafflejock> oste: well I would just reload the data from the server after the upload
[06:05:33] <oste> yeah i considered that...
[06:05:40] <oste> hrm maybe that is the way
[06:05:42] *** ChrisOei has quit IRC
[06:05:49] *** jstimm has joined #angularjs
[06:05:52] <wafflejock> but I typically insert the stuff in a database and drop the file somewhere based on the DB entry so it kinda has to work that way
[06:05:57] <wafflejock> at least for how I have things setup
[06:06:16] <davek> oste, you don't really measure lib quality by GH stars do you?
[06:06:28] *** Gooder``` has joined #angularjs
[06:06:31] <oste> haha its a good measure
[06:06:40] <oste> the pulse is good too
[06:06:41] *** diegoaguilar has joined #angularjs
[06:06:42] *** AlexAbraham has joined #angularjs
[06:06:48] <AlexAbraham> hey
[06:06:50] <oste> and of course the code can’t smell too bad
[06:06:55] <AlexAbraham> anyone use ui-bootstrap?
[06:06:56] <oste> and if it works thats a plus
[06:07:00] <diegoaguilar> Hello, I'm trying to code some ng-class directives
[06:07:04] <AlexAbraham> I am trying to add a template to a popover
[06:07:10] <diegoaguilar> and it's working weird
[06:07:11] *** Nijikokun has quit IRC
[06:07:12] *** jonog has quit IRC
[06:07:13] <davek> It's a good measure of how connected the developer is maybe..
[06:07:13] <AlexAbraham> just like you can with a modal
[06:07:18] *** arrty has quit IRC
[06:07:19] <diegoaguilar> would someone mind to give an eye
[06:07:34] <diegoaguilar> I got the example running at production on a domain
[06:07:44] *** jonog has joined #angularjs
[06:08:02] *** Gooder`` has quit IRC
[06:08:03] <wafflejock> no need to ask to ask, just ask... with code is better plknr.co is great
[06:08:18] *** ChrisOei has joined #angularjs
[06:08:54] *** slainer6_ has joined #angularjs
[06:08:58] *** metasansana has quit IRC
[06:09:41] *** Ir1sh has quit IRC
[06:10:03] *** slainer68 has quit IRC
[06:10:14] *** Limix has joined #angularjs
[06:10:19] <caitp-> plnkr is good plnkr is great plnkr is glorious all praise the goodman
[06:12:03] *** jonog has quit IRC
[06:12:08] *** Shrooms has joined #angularjs
[06:13:19] <chovy> hello
[06:13:25] <chovy> is it time yet?
[06:13:38] *** jhulten has quit IRC
[06:13:55] *** tsalb has quit IRC
[06:14:02] *** kirfu has joined #angularjs
[06:14:03] *** OffTheRails has quit IRC
[06:14:08] *** DrMabuse has joined #angularjs
[06:14:08] *** heidi644 has joined #angularjs
[06:14:24] <wafflejock> time to get down?
[06:14:41] *** syed99 has joined #angularjs
[06:14:50] <xastey> can ui-router replace its parent view contents with its children?
[06:15:32] *** ChrisOei has quit IRC
[06:15:41] <wafflejock> xastey: not that I know of... think it would need to be a different state setup to use the same controller and view but on the parent ui-view
[06:15:53] *** dhcar_AFK is now known as dhcar
[06:16:09] *** stickperson has quit IRC
[06:16:23] *** Cache_Money has quit IRC
[06:16:54] *** conan_the_destro has quit IRC
[06:18:10] *** ChrisOei has joined #angularjs
[06:18:34] *** DrMabuse has quit IRC
[06:19:25] *** foo-bar- has joined #angularjs
[06:19:50] *** Aerospar_ has joined #angularjs
[06:19:56] <wafflejock> AlexAbraham: or just tweak the CSS based on the classes on the existing templates
[06:20:10] <chovy> wafflejock: boogie down
[06:20:19] *** heidi644 has quit IRC
[06:20:23] * wafflejock boogies in chair
[06:20:23] <chovy> i'm bored
[06:20:25] <Moult> uh, i've got var foo = angular.element('html'); and i get [jqLite:nosel] Looking up elements via selectors is not supported by jqLite! - huh?
[06:20:32] <chovy> i don't feel like coding anymore.
[06:20:33] <AlexAbraham> wafflejock thanks!
[06:20:34] *** francisl has quit IRC
[06:20:38] *** heidi644 has joined #angularjs
[06:20:39] <wafflejock> AlexAbraham: np
[06:21:12] *** ngbot has joined #angularjs
[06:21:12] <ngbot> angular.js/master e8066c4 Caitlin Potter: feat($compile): explicitly request multi-element directive behaviour...
[06:21:12] *** ngbot has left #angularjs
[06:21:15] <wafflejock> Moult: it thinks you're trying to use a selector which jQLite doesn't support
[06:21:32] <wafflejock> Moult: if you need full jQuery you can include it before angular but lots of the time you don't need it
[06:21:38] *** mven has quit IRC
[06:21:47] <Moult> wafflejock: so how can i select the html element?
[06:22:27] *** mven has joined #angularjs
[06:22:49] <wafflejock> xastey: not actually what I was thinking of but that might work too
[06:23:03] <xastey> o.. well tried that and didn't work
[06:23:12] <xastey> o well.. screw this.. reverting ui-router add lol
[06:23:44] *** stickperson has joined #angularjs
[06:23:51] *** Aerospark has quit IRC
[06:24:03] *** jobelenus has quit IRC
[06:24:09] *** Nijikokun has joined #angularjs
[06:24:21] *** foo-bar- has quit IRC
[06:24:25] *** amargherio has quit IRC
[06:24:28] *** gauravsaini03 has joined #angularjs
[06:24:45] <wafflejock> Moult: generally speaking you apply directives directly to the element you want them to apply to
[06:25:02] *** waylon999 has joined #angularjs
[06:25:18] *** asdofindia has quit IRC
[06:25:23] <wafflejock> not sure how you grab the "html" element itself I suppose it's the document object in JS but I'm feeling fuzzy about that
[06:26:08] *** jobelenus has joined #angularjs
[06:26:19] *** mennea has joined #angularjs
[06:26:26] *** mnewton has joined #angularjs
[06:26:30] *** sdouglas has joined #angularjs
[06:26:31] *** chrisbirk has joined #angularjs
[06:26:34] *** AlexAbraham has quit IRC
[06:26:35] <blackkbot> document.getElementsByTagName('html') works
[06:26:46] <wafflejock> ah yeah ^ makes sense
[06:26:56] *** bkuberek has quit IRC
[06:27:07] <wafflejock> Moult: you shouldn't be doing any DOM manipulation outside of writing directives though
[06:27:22] *** asdofindia has joined #angularjs
[06:28:12] <Moult> wafflejock: i'm not :)
[06:28:15] *** rtpg has joined #angularjs
[06:28:17] <blackkbot> unless you wanna be cool because only cool kids break the rules
[06:28:19] <Moult> blackkbot: nah, i specifically need the angular wrapped element
[06:28:39] <davek> angular.element(document.getElementsByTagName('html')[0])
[06:29:00] <wafflejock> blackkbot: that is not cool man!
[06:29:00] <blackkbot> right because that returns an arraylike object
[06:30:14] *** kalehv has joined #angularjs
[06:30:52] <Moult> cheers :)
[06:30:59] *** Mouzi has joined #angularjs
[06:31:08] *** MickeyO has quit IRC
[06:31:23] *** rashidkpc has joined #angularjs
[06:32:28] *** danielpquinn has joined #angularjs
[06:33:01] <diegoaguilar> I'm trying to show/hide some ul's with ng-show and ng-hide directives
[06:33:09] <diegoaguilar> but it's not working properly
[06:33:18] <diegoaguilar> I gt this plunk
[06:33:29] *** kalehv_ has quit IRC
[06:33:45] <diegoaguilar> clicking on red button "sm-10" should make ONLY one ul show
[06:33:50] <diegoaguilar> but all are shown instead
[06:33:58] *** morenoh150 has joined #angularjs
[06:34:45] *** Limix has quit IRC
[06:35:20] *** ReactiveIO has quit IRC
[06:35:57] *** ReactiveIO has joined #angularjs
[06:36:14] *** jshultz has quit IRC
[06:36:39] *** jobelenus has quit IRC
[06:36:48] <diegoaguilar> hello?
[06:36:58] *** danielpquinn has quit IRC
[06:39:34] *** phuh has quit IRC
[06:40:32] <wafflejock> diegoaguilar: ^
[06:40:47] *** ReactiveIO has quit IRC
[06:41:23] *** mennea has quit IRC
[06:42:10] *** ustunozgur has joined #angularjs
[06:42:13] *** xastey- has joined #angularjs
[06:42:31] <diegoaguilar> wafflejock, you suggest I change my whole structure?
[06:42:51] <wafflejock> diegoaguilar: just use an object instead of using the scope or this as the model
[06:42:54] *** phuh has joined #angularjs
[06:43:11] *** sigurding has joined #angularjs
[06:43:18] <wafflejock> diegoaguilar: you could also encapsulate most of that stuff into the model and use ng-repeat to avoid having so much HTML
[06:43:25] *** avree has quit IRC
[06:45:17] *** TyrfingMjolnir has joined #angularjs
[06:45:18] *** xastey has quit IRC
[06:45:56] *** mennea has joined #angularjs
[06:46:06] *** jstroem has joined #angularjs
[06:46:13] *** olveraricardo72 has quit IRC
[06:46:18] *** optikalmouse has quit IRC
[06:46:25] *** olveraricardo72 has joined #angularjs
[06:46:33] *** ustunozgur has quit IRC
[06:48:11] *** TorchDragon has joined #angularjs
[06:48:24] *** fold has quit IRC
[06:48:36] *** foo-bar- has joined #angularjs
[06:48:41] *** meteor_groupie has quit IRC
[06:49:26] <diegoaguilar> wafflejock, I dropped off the ng-hides
[06:49:29] <diegoaguilar> and got it working
[06:49:40] <wafflejock> diegoaguilar: cool
[06:50:03] *** jtimon has quit IRC
[06:50:36] <wafflejock> diegoaguilar: yeah I don't typically use the this syntax in JS but if you like it better than the explicit $scope it's fine I suppose, but lots of tutorials and code use the original syntax injecting the $scope
[06:50:56] *** Aerospar_ has quit IRC
[06:51:03] *** jstroem has quit IRC
[06:51:15] *** optikalmouse has joined #angularjs
[06:52:41] <diegoaguilar> I'm just so confused
[06:52:45] *** TorchDragon has quit IRC
[06:52:50] <diegoaguilar> what I should actually do,
[06:52:58] <diegoaguilar> what's the official and correct way
[06:53:19] <diegoaguilar> ignoring this last, which was my stupidness
[06:53:23] *** foo-bar- has quit IRC
[06:53:44] <diegoaguilar> I oftenly face up with some problems because of it
[06:54:01] *** justinobney has joined #angularjs
[06:54:27] *** asdofindia has quit IRC
[06:54:47] *** Tidwell has joined #angularjs
[06:55:01] *** corrion has quit IRC
[06:55:52] <dhcar> in the link function in a directive how do I modify the element's style? When I do elem.style.height = 300px; it says the property is readonly
[06:55:55] *** ustunozgur has joined #angularjs
[06:55:56] *** vbabiy has quit IRC
[06:57:58] *** languiran has joined #angularjs
[06:58:03] *** justinobney has quit IRC
[06:58:05] *** fold has joined #angularjs
[06:58:53] *** wilmoore has joined #angularjs
[06:59:11] *** mennea has quit IRC
[06:59:52] <wafflejock> diegoaguilar: I don't use this. myself in JS because it depends on how a function is called what "this" will be, in some cases it's needed but where I don't need it I don't use it, but it's a personal preference
[06:59:53] *** rchavik has joined #angularjs
[07:00:40] <wafflejock> dhcar: think elem.css("height","300px")
[07:00:41] *** ustunozgur has quit IRC
[07:01:47] <wafflejock> diegoaguilar: like I said using this in the controllers is a new way of doing things to some degree so most of the tutorials/examples don't have the code written that way
[07:02:00] <blackkbot> element.style.setProperty('height','300px') might also work
[07:02:38] *** kirfu has quit IRC
[07:03:31] *** scarlioni has quit IRC
[07:03:38] *** chrisbirk has quit IRC
[07:03:49] <dhcar> wafflejock, I get the same warning when I attempt to set it that way
[07:03:53] <wafflejock> diegoaguilar: in angular there is rarely really tautologies, usually there's a few reasonable ways to solve the same problem
[07:05:29] *** mennea has joined #angularjs
[07:05:31] *** Ir1sh has joined #angularjs
[07:06:47] <Blaze_Anderson> oops. i did it again
[07:06:54] <Blaze_Anderson> i had an opinion that wasn't inline with reddit's
[07:07:05] *** MickeyO has joined #angularjs
[07:07:22] <wafflejock> Blaze_Anderson: for a second I thought you were having a Britney Spears moment
[07:07:30] <Blaze_Anderson> i was
[07:07:34] <Blaze_Anderson> but i changed the lyrics
[07:07:36] *** ASUChander has quit IRC
[07:07:42] <davek> wafflejock, not a tautology.
[07:07:44] <diegoaguilar> wafflejock, I used to do
[07:07:49] <diegoaguilar> var that = this
[07:07:54] <diegoaguilar> then using "that"
[07:07:59] <diegoaguilar> all over Angular code
[07:08:20] <wafflejock> davek: yeah know that wasn't the right word... meant there aren't hard best practices or truths
[07:08:26] <wafflejock> but tautology is the wrong term to use
[07:09:11] <wafflejock> diegoaguilar: I typically just make a new named var that's an object that I can refer to easily
[07:09:27] <davek> Actually that works quite nicely in a poetic capacity.
[07:09:41] <davek> We're all set here.
[07:09:46] <davek> I am so very very tired.
[07:10:13] *** mikaeldice has quit IRC
[07:10:19] *** Ir1sh has quit IRC
[07:11:00] <dhcar> wafflejock, you're right, maybe its because I restrict to the element?
[07:11:06] *** sdouglas has quit IRC
[07:11:10] *** Tidwell has quit IRC
[07:11:32] <wafflejock> dhcar: not sure if you can show it not working I can poke at it and guess more
[07:11:40] *** sdouglas has joined #angularjs
[07:13:59] *** LuxuryMode has joined #angularjs
[07:14:04] *** badon has quit IRC
[07:14:23] *** stickperson has quit IRC
[07:14:30] *** mehlah has joined #angularjs
[07:15:01] *** DrMabuse has joined #angularjs
[07:15:35] *** badon has joined #angularjs
[07:16:04] *** sdouglas has quit IRC
[07:16:12] *** waylon999 has quit IRC
[07:16:17] *** chexxor_ has joined #angularjs
[07:16:33] *** chexxor has quit IRC
[07:16:47] *** chexxor_ is now known as chexxor
[07:18:15] *** BlinkyBill has quit IRC
[07:18:38] *** waylon999 has joined #angularjs
[07:18:44] *** pdillinger2 has joined #angularjs
[07:19:14] *** shifteleven has joined #angularjs
[07:19:18] *** DrMabuse has quit IRC
[07:21:33] *** MickeyO has quit IRC
[07:21:55] *** MickeyO has joined #angularjs
[07:22:17] *** subnl2 has quit IRC
[07:22:33] *** stickperson has joined #angularjs
[07:22:48] *** cctom_ has joined #angularjs
[07:22:58] *** waylon999 has quit IRC
[07:23:05] *** Jae has joined #angularjs
[07:23:08] *** lite_ has joined #angularjs
[07:23:15] *** tigrang has joined #angularjs
[07:23:38] *** veer89 has joined #angularjs
[07:26:03] *** jonog has joined #angularjs
[07:26:13] *** whunt has quit IRC
[07:28:04] *** oste has quit IRC
[07:28:09] *** badon_ has joined #angularjs
[07:28:11] *** badon has quit IRC
[07:28:22] *** badon_ is now known as badon
[07:29:25] *** sdouglas has joined #angularjs
[07:29:37] *** dhcar is now known as dhcar_AFK
[07:30:01] *** bigos has joined #angularjs
[07:30:43] *** Grokling_ has quit IRC
[07:30:52] *** ngoyal has quit IRC
[07:33:13] *** danielpquinn has joined #angularjs
[07:33:18] *** kalehv has quit IRC
[07:33:33] *** MickeyO has quit IRC
[07:33:48] *** heidi644 has quit IRC
[07:34:08] *** heidi644 has joined #angularjs
[07:34:38] *** richardbaker has quit IRC
[07:37:04] *** crocket has left #angularjs
[07:37:14] *** joshontheweb has quit IRC
[07:37:38] *** joshontheweb has joined #angularjs
[07:37:52] *** danielpquinn has quit IRC
[07:38:10] *** rburns has quit IRC
[07:38:36] *** mary5030 has quit IRC
[07:41:23] *** JosephSilber has quit IRC
[07:41:24] *** asdofindia has joined #angularjs
[07:41:24] *** mdedetrich has quit IRC
[07:42:03] *** ustunozgur has joined #angularjs
[07:42:08] *** drej has quit IRC
[07:42:29] *** phuh has quit IRC
[07:42:54] *** mercwithamouth has joined #angularjs
[07:43:00] *** phuh has joined #angularjs
[07:43:09] *** JosephSilber has joined #angularjs
[07:43:50] <snurfery> feelin pretty good... snuck in some extra work after I got home from the dayjob
[07:43:53] * snurfery is not a slacker!
[07:43:56] <snurfery> (today)
[07:44:23] <snurfery> one more feature crossed off the list, sheeeeeeit
[07:44:30] *** hecatonicosachor has quit IRC
[07:45:08] *** KamalKaur has joined #angularjs
[07:45:16] *** ericrav has joined #angularjs
[07:46:18] *** ustunozgur has quit IRC
[07:46:18] *** asdofindia has quit IRC
[07:46:51] *** jstroem has joined #angularjs
[07:47:00] *** sepper has joined #angularjs
[07:47:05] *** waylon999 has joined #angularjs
[07:47:40] <wafflejock> snurfery: hehe nice
[07:47:54] <wafflejock> snurfery: I'm in the middle of a refactor decimating some jQuery
[07:48:05] <blackkbot> blackkbot's list: 1. finish list
[07:48:06] <wafflejock> it's kind of a nightmare but at the same time feels cleansing
[07:48:16] *** joshontheweb has quit IRC
[07:48:18] *** someones_dad has quit IRC
[07:48:21] *** asdofindia has joined #angularjs
[07:48:24] <Moult> right now i have <foo ng-show="bar"></foo> where foo is my custom directive, can i sort of "build in" the ng-show directive into my foo directive so that the markup ends up looking like <foo></foo>?
[07:48:34] *** waylon999 has quit IRC
[07:48:34] *** SpearThruster has joined #angularjs
[07:48:49] *** waylon999 has joined #angularjs
[07:48:53] *** stickperson has quit IRC
[07:49:02] <snurfery> oh man, that's gonna feel reeeeeeeeeal good when you're done =)
[07:49:06] <wafflejock> Moult: if you don't have an isolate scope on the directive you can just move the ng-show onto your template for the directive
[07:49:10] <wafflejock> snurfery: for sure
[07:49:31] <snurfery> I think I'm gonna feel the same way when I have respectable test coverage
[07:49:34] * snurfery hides
[07:50:10]
<sepper> I ran the following code block found @ http://stackoverflow.com/a/18526757/722238 (counts number of watchers on page). My results were 1025, is this a concern? How many watchers are acceptable?
[07:50:10] <wafflejock> hah yea... lets not talk about that for now :P
[07:50:24] <wafflejock> snurfery: ^
[07:50:29] <Moult> wafflejock: i don't want the ng-show anywhere at all, not in the template code, not in the original markup :)
[07:50:32] <blackkbot> [].forEach.call(document.getElementsByTagName('foo'),function(e){e.setAttribute('ng-show','bar')})
[07:50:41] <blackkbot> oh
[07:50:43] <blackkbot> well then
[07:50:43] <wafflejock> sepper: are you seeing performance problems have you tried profiling to see how much CPU is being consumed?
[07:50:48] <blackkbot> whats the ng-show function
[07:51:00] *** partikus has joined #angularjs
[07:51:11] *** stickperson has joined #angularjs
[07:51:11] <wafflejock> Moult: well you can just toggle the css display property that's what ng-show/ng-hide does
[07:51:13] <blackkbot> because it would be ng-show.prototype.call(e,'bar')probably
[07:51:16] <ckboii89> hi is there a way to check if a check box is checked in angular?
[07:51:18] *** jstroem has quit IRC
[07:51:27] <ckboii89> not from a table
[07:51:27] <Moult> hmm yeah i guess
[07:51:29] <wafflejock> ckboii89: typically you use ng-model
[07:51:31] <ckboii89> just a checkbox in a form
[07:51:32] *** dazs has joined #angularjs
[07:51:40] <sepper> wafflejock: haven't noticed any performance problems, seems fairly responsive still. I check out the profiling.
[07:51:54] <snurfery> ckboii89: it should have a model attached, and you just check if the model's value is truthy or falsy
[07:51:58] <wafflejock> sepper: check it on mobile that's where you'll see the worst performance nowadays I imagine
[07:52:01] <Moult> i really dislike the way angular is sort of intruding on my markup. the DSL stuff is fine, but the built in directives are spam
[07:52:10] <snurfery> Moult: lol
[07:52:11] *** fedenunez has quit IRC
[07:52:12] <wafflejock> Moult: not true super useful
[07:52:17] *** mdedetrich has joined #angularjs
[07:52:21] <wafflejock> Moult: don't use them if you don't like them
[07:52:22] <ckboii89> oh
[07:52:25] <wafflejock> but it's kinda naive
[07:52:31] <ckboii89> do i define a function and check if the model is true or false?
[07:52:31] *** KamalKaur has left #angularjs
[07:52:47] <wafflejock> Moult: you will find yourself writing all the core directivees
[07:52:49] *** shifteleven has quit IRC
[07:52:50] <snurfery> ckboii89: what are you trying to do, and where are you trying to do it?
[07:52:58] *** waylon999 has quit IRC
[07:52:58] <Moult> wafflejock: why is it naive?
[07:53:03] <ckboii89> well
[07:53:04] <ckboii89> so
[07:53:14] <wafflejock> Moult: cause it's something you think when you haven't started using it
[07:53:23] <wafflejock> Moult: then you realize your just writing ng-class or something
[07:53:23] <ckboii89> if the check box is selected, i have to call a different rails api for POST
[07:53:24] <Moult> wafflejock: sure i'll likelye be redoing a lot of the core directives, but that'll be in the js code, not the html :)
[07:53:30] <wafflejock> so why not just use ng-class that everyone knows
[07:53:35] <ckboii89> other wise no check, another rails api for post also
[07:53:45] <ckboii89> i have 2 creation methods already written
[07:53:48] <wafflejock> Moult: the view stuff should be in the html
[07:54:09] <wafflejock> Moult: the controller should just setup the model and have functions for the view to be able to hook onto to do other stuff like get new data
[07:54:12] <blackkbot> because the names are not as obvious or as well known as standard html
[07:54:17] *** stirlingw has joined #angularjs
[07:54:40] *** sepper has left #angularjs
[07:54:45] *** olveraricardo72 has quit IRC
[07:54:45] *** sepper has joined #angularjs
[07:55:03] *** olveraricardo72 has joined #angularjs
[07:55:07] <wafflejock> so since other people don't know it I shouldn't use it?
[07:55:11] <wafflejock> it doesn't seem like a good argument
[07:55:14] *** diegoaguilar has quit IRC
[07:55:18] <wafflejock> and rolling your own no one will know what it is
[07:55:19] <blackkbot> no i don't mind i say more power to you
[07:55:29] <Moult> no, the argument is that i'm trying to weed out unnecessary logic in the view
[07:55:37] <snurfery> ckboii89: <input type=checkbox ng-model="options.shouldCallApi1">
[07:55:38] <wafflejock> Moult: definitely agree with that
[07:55:51] <snurfery> ckboii89: make sure $scope.options = {} in your controller
[07:55:52] <wafflejock> Moult: and using custom directives is great but I make use of the built in stuff where it makes sense
[07:55:55] <Moult> things like <a href ng-click="toggle = ! toggle"> is bad
[07:55:59] *** Sgeo_ has joined #angularjs
[07:56:19] <snurfery> then when the time comes to call your api, just check the value of $scope.options.shouldCallApi1
[07:56:25] <ckboii89> ok
[07:56:38] <wafflejock> Moult: yeah I mean I think it's okay for examples but probaly not a great idea in production code since you won't be really testing that by testing the controller
[07:57:26] <Moult> wafflejock: in that example, i would prefer <a href toggle-foo>, but that's a simple example and easily done
[07:58:11] *** joshontheweb has joined #angularjs
[07:58:15] <wafflejock> Moult: that's overkill for most beginners
[07:58:27] <wafflejock> Moult: you probably come from a CS background I take it?
[07:58:29] *** Sgeo has quit IRC
[07:58:31] <snurfery> but preferably you'd want to specify where the toggle value is being stored
[07:58:32] *** dcherman has quit IRC
[07:58:37] *** zwacky has joined #angularjs
[07:58:43] <snurfery> so it'd become <a href toggle-foo="mymodel">
[07:58:47] <wafflejock> yeah
[07:58:50] <wafflejock> true point too
[07:58:52] <Moult> wafflejock: no, i come from a hobby background. and i dont' care about beginners :)
[07:59:01] <wafflejock> you end up just recreating the wheel
[07:59:08] <wafflejock> Moult: well tutorials are for begineers
[07:59:21] <snurfery> which is just a stone's throw from <a href ng-click="mymodel = !mymodel"> heh
[07:59:39] <wafflejock> they don't show best practices and really if you want a more versatile solution you use the built in directives most of the time
[07:59:41] *** spazbite has joined #angularjs
[07:59:49] <Moult> snurfery: no, i wouldn't want the ="", because that's logic
[08:00:04] <wafflejock> Moult: you can just put that in the controller in a function
[08:00:07] <snurfery> whether the = sign is there or not, your toggle is changing the value of some model
[08:00:17] <snurfery> but yeah, I see what you mean
[08:00:41] <snurfery> as long as it's not lots of logic, I'm down with super simple expressions
[08:00:55] <wafflejock> Moult: I assumed CS since you're talking about decoupling/separation so much (it's good)
[08:00:59] <snurfery> I'd rather have that than umpteen ridiculous single-use methods on a service
[08:01:08] *** Gooder``` has quit IRC
[08:01:17] <snurfery> service.addOne()
[08:01:20] <snurfery> ^no
[08:01:37] <snurfery> (well maybe, that's a poor example)
[08:01:39] <wafflejock> eh I don't mind a couple of extra things in my controller for the sake of keeping logic out of the view but it depends
[08:01:40] *** Aliks has quit IRC
[08:01:48] <Moult> wafflejock: i'm talking from experience, and angulars built in directives are feeling like an evil.
[08:01:58] <wafflejock> Moult: definitely not
[08:02:04] *** mdel has quit IRC
[08:02:07] <wafflejock> Moult: just get more comfortable you'll learn to like them
[08:02:19] <wafflejock> they let you do whatever you want
[08:02:23] *** Aliks has joined #angularjs
[08:02:32] <wafflejock> I mean like you said if you don't want the built-ins just do what you want with custom stuff
[08:03:07] <wafflejock> it's going to make it harder working with a team is just my hot opinion on that one and you're going to end up reinventing the wheel
[08:03:57] <wafflejock> some Googlers and the 100s or 1000s of other devs working on Angular don't seem to be idiots and it's worked great for me so far
[08:05:03] <Moult> wafflejock: well, i'm against angular filling my code with ng- stuff. if i want custom elements, i'll have them, but they'll should be completely informed by the domain. that way when native custom elements start getting a grip it'll be easier to migrate
[08:05:46] <snurfery> but that's what angular is, right?
[08:05:55] <snurfery> extending html with directives
[08:06:11] <wafflejock> Moult: perhaps but yeah I think angular will just transition to some degree
[08:06:11] <snurfery> so what do you want out of angular, I wonder?
[08:06:17] *** Ir1sh has joined #angularjs
[08:06:23] <Moult> snurfery: which is why i've got nothing against custom directives, i'm only against the built-in ones
[08:06:37] *** squeakytoy has quit IRC
[08:06:46] <Moult> wafflejock: yes, angular will probably start deprecating a lot of its api
[08:06:48] *** someones_dad has joined #angularjs
[08:06:49] <snurfery> how will custom ones render if the built-in ones don't work?
[08:07:18] <snurfery> oic, you mean a much much much slimmer default set of directives
[08:07:24] <snurfery> or to disable them almost entirely
[08:07:35] *** Sky[x] has joined #angularjs
[08:07:35] <Moult> snurfery: no, i mean supported "natively", nothing to do with angular
[08:07:42] *** HypnotiX has joined #angularjs
[08:07:58] <Moult> to me, angular is a temporary but convenient hack until standards make it obsolete
[08:08:11] <wafflejock> Moult: eh you don't think this stuff will get re-written or you'll have a way to port I mean I imagine a migration path from 1.2 up to 2.0 and believe 2.0 they aren't planning on really releasing until the WebComponents stuff is in place
[08:08:14] *** justinobney has joined #angularjs
[08:08:37] <wafflejock> Moult: the DI, Bindings, and Event Bus are still relevant no?
[08:08:55] <wafflejock> I think the directives -> web components is the major change
[08:09:11] *** squeakytoy has joined #angularjs
[08:09:18] <wafflejock> and some sort of asynch module loading
[08:09:24] <Moult> wafflejock: agreed, the bindings will still be relevant
[08:09:30] <snurfery> I feel like the goal was to give you a set of tools with the flexibility to design your own framework, because no standards will ever perfectly fit your or anyone else's use-cases
[08:09:50] <snurfery> esp at the rate html is moving along
[08:09:58] <snurfery> took us 10 years to get input type=email
[08:09:59] <snurfery> haha
[08:10:04] <sacho> litearlly the same thing symfony 1 and 2 did.
[08:10:05] <wafflejock> snurfery: right but WebComponents will kind of give you the same ability to some degree, but yeah it will be interesting to see how it plays out
[08:10:25] <wafflejock> either way I don't hold my breath on web browsers making changes
[08:10:33] <snurfery> maybe I'm a little behind on the WebComponents thing, got a link?
[08:10:33] *** Ir1sh has quit IRC
[08:10:48] <Moult> snurfery: wafflejock posted one a few scrolls back
[08:10:58] <Moult> snurfery: whoops, blackkbot did
[08:11:14] *** sneakertack has quit IRC
[08:12:07] <snurfery> ooo fancy
[08:12:39] *** justinobney has quit IRC
[08:12:56] *** archit has joined #angularjs
[08:13:01] <archit> helo
[08:13:10] <wafflejock> blackkbot: that looks strickingly familiar
[08:13:16] <archit> I need some help getting data from json in angular using array
[08:13:24] <blackkbot> heh
[08:13:46] <ckboii89> @snurfery is this the proper way for if else statements in the javascript fiel?
[08:13:48] <Moult> so let's say i wanted to migrate from angular to foo, all i need to do is rewrite the directives (which should be very light), and point the bindings elsewhere
[08:13:52] <ckboii89> if $scope.newTreatment.No_CPT_code == true{
[08:13:52] <ckboii89> ProviderMedicalService.createNew(newTreatment);
[08:13:52] <ckboii89> }
[08:13:54] <ckboii89> else
[08:13:56] <ckboii89> ProviderMedicalService.createExisting(newTreatment);
[08:13:57] *** DGiff52 has joined #angularjs
[08:14:07] <snurfery> paste elsewhere =)
[08:14:12] <ckboii89> haha oops
[08:14:14] <snurfery> dpaste, gist.github.com, etc
[08:14:16] <snurfery> ;)
[08:14:20] <ckboii89> still learning sorry :D
[08:14:35] *** DGiff52 has quit IRC
[08:14:55] <snurfery> you'll probably need some more parentheses in there
[08:15:06] <blackkbot> yeah i actually built something similar but i didn't use the {{}} style i defined everything by using data-attributes to define what data to put and another attribute to define what attribute or etc to place it in
[08:15:22] <Moult> blackkbot: that polymer thing looks very cool, so it's basically just a wrapper around webcomponents?
[08:15:23] <ckboii89> im still kinda new to JS
[08:15:26] *** DGiff52 has joined #angularjs
[08:15:37] <snurfery> unlike ruby/python.. gotta do if (blah == blah) { ... }
[08:15:50] *** DrMabuse has joined #angularjs
[08:15:54] *** dob_ has joined #angularjs
[08:16:25] <ckboii89> ok
[08:16:26] *** Xethron has joined #angularjs
[08:16:49] *** ericrav has quit IRC
[08:17:07] <snurfery> on the first line, you don't really have to compare it to true, you can just use its inherent 'truthiness'
[08:17:22] <ckboii89> ah
[08:17:23] *** mogaj has joined #angularjs
[08:17:34] <ckboii89> its a old habit of mine
[08:17:45] <ckboii89> but yeah i should really chnage that
[08:18:17] <mogaj> I have a ng-grid in a form and user has to choose one of the row in it ... how to make ng-grid row selection required(compulsory)?
[08:19:12] <archit> this is my fiddle . What i am trying to do is i am trying to apply filter functionlality on the basis of solutioons , scheme type and so on the arrays i have used in array . I want to calculate the number of each categiry in different sections
[08:19:34] *** stodan has joined #angularjs
[08:19:39] <snurfery> I'm out for the night, gnight yalls
[08:19:58] *** DrMabuse has quit IRC
[08:20:12] <ckboii89> snurfery
[08:20:16] <ckboii89> one more qucik question
[08:20:21] * snurfery pauses
[08:20:26] <snurfery> yessir
[08:20:28] <snurfery> whats up
[08:20:34] *** astericky has quit IRC
[08:20:35] *** Click66 has joined #angularjs
[08:21:19] <ckboii89> if i have $scope.newTreatment = {}, which stores all my ng-model to be posted in my backend, do i pass it the array into my submit button?(im using a modal)
[08:21:30] *** DuelShark has joined #angularjs
[08:21:37] <wafflejock> archit: lets you actually write the script blocks and whatnot like regular you need to have a controller setup to get the $scope
[08:21:40] <ckboii89> $modalInstance.close($scope.newTreatment);
[08:21:45] *** svycka has joined #angularjs
[08:22:01] *** CptChaos has joined #angularjs
[08:22:23] <ckboii89> well what i mean is, is it necessary? a kind fellow from here wrote the plunkr for my form and placed it in there
[08:22:36] *** MaxV has joined #angularjs
[08:22:40] *** badon has quit IRC
[08:22:45] <archit> ok wafflejock , do i need to update this in plunkr
[08:22:45] *** badon_ has joined #angularjs
[08:22:49] *** badon_ is now known as badon
[08:23:01] <wafflejock> archit: yeah you can copy over your code from the jsfiddle then hit save in plnkr
[08:23:15] <wafflejock> archit: also if you have a github account you can sign in and it will save all the plunks you make
[08:23:34] *** oa_ has quit IRC
[08:23:38] <wafflejock> archit: once you save/fork someones plnkr then you get a new link you can share with us
[08:23:50] <snurfery> ckboii89: not sure, I might have to leave it to someone else to take a look at that for ya, sorry
[08:23:52] <snurfery> I gotta run
[08:23:54] <wafflejock> archit: the default template I sent you should include a controller in the script file
[08:24:02] *** jstroem has joined #angularjs
[08:24:04] <ckboii89> ok no problem see ya!
[08:24:06] *** jacuqesdancona__ has joined #angularjs
[08:24:09] <snurfery> cyas, good luck
[08:24:11] *** snurfery has quit IRC
[08:24:38] *** Click66 has quit IRC
[08:25:03] *** chr1stopher has joined #angularjs
[08:25:17] *** Click66 has joined #angularjs
[08:25:49] *** sacho has quit IRC
[08:26:46] *** L8TR has joined #angularjs
[08:27:22] *** stirlingw has quit IRC
[08:27:39] *** DGiff52 has quit IRC
[08:27:56] *** Xethron has quit IRC
[08:27:58] *** pdillinger2 has quit IRC
[08:30:02] *** hugorodrigues has joined #angularjs
[08:30:33] *** tangorri has joined #angularjs
[08:31:06] *** MaxV has quit IRC
[08:31:35] *** MaxV has joined #angularjs
[08:32:17] *** Xethron has joined #angularjs
[08:32:17] *** Xethron has joined #angularjs
[08:32:31] *** MaxV has quit IRC
[08:32:47] *** tfennelly has joined #angularjs
[08:32:52] *** foofoobar has joined #angularjs
[08:33:04] *** SpearThruster has quit IRC
[08:33:11] *** Alina-emergency has quit IRC
[08:34:00] *** danielpquinn has joined #angularjs
[08:34:01] <wafflejock> archit: I don't think filter is what you want, I think you're gonna need to actually step through the array you have here and build separate arrays to use for display in the various sections and for doing any calculations you need
[08:34:11] *** caitp- has quit IRC
[08:34:40] <narutimateum> so my boss had this challenge .... caching a zip file with best response rate... any idea?
[08:34:47] <wafflejock> but you'll need to do the data transformation in the controller (or you could put it in a service or factory but in the JS)
[08:34:47] *** hugorodrigues has quit IRC
[08:34:48] *** Alina-emergency has joined #angularjs
[08:34:49] *** Alina-emergency has joined #angularjs
[08:35:12] <wafflejock> narutimateum: caching where?
[08:35:56] *** mnewton has quit IRC
[08:36:38] *** TorchDragon has joined #angularjs
[08:36:40] *** willmarshall has quit IRC
[08:37:06] *** tfennelly has quit IRC
[08:37:11] <mogaj> how to alert(popup) selected row values in seletion in ng-grid, help needed, thankyou
[08:37:48] <archit> Wafflejock , thanks but what i really need is just a single value and when i select any box the other box should populate accordingly
[08:38:43] *** danielpquinn has quit IRC
[08:38:57] <wafflejock> archit: so you just want to have everything displayed and when you click one it goes into another box? can you get the plunkr closer to what you want
[08:39:01] <narutimateum> in the server
[08:39:29] *** TERMIN has joined #angularjs
[08:39:43] <wafflejock> narutimateum: what tech stack are you talking about using?
[08:39:53] *** TERMIN is now known as Guest45985
[08:39:55] *** Yahkob has joined #angularjs
[08:39:57] <narutimateum> php
[08:40:09] *** Guest45985 has quit IRC
[08:40:13] <archit> wafflejack , Ok i am trying
[08:40:26] *** _jpfm has joined #angularjs
[08:40:46]
<narutimateum> i dont really understand what he want though... the output he used to benchmark {"versions":"201406231625","201406231625":{"zip":{"md5":"c8aaad9110f9719cf589aa1814c92d97","size":1430090062,"link":"http:\/....\/archive.zip"}}}Page generated in 9.6252 seconds.
[08:40:58] <mogaj> wafflejock, i am able to get selected rows data ... but i would like to show a popup depending on a value in one of the cell in the selected row ... how can it be done?
[08:41:03] <narutimateum> so im suppose to make the page generate faster than that
[08:41:23] *** TorchDragon has quit IRC
[08:42:45] *** GeertV_ has joined #angularjs
[08:42:48] <wafflejock> mogaj: if you can get the selected rows you should be able to easily read a property off of one of them then just use alert($scope.gridOptions.selectedItems[0].someProperty)
[08:43:22] <wafflejock> mogaj: if you want some other kind of styled pop-up or something check out ui-bootstrap or other directives
[08:43:38] <mogaj> wafflejock, okay .. thankyou
[08:45:05] *** mykz_ has joined #angularjs
[08:46:22] <wafflejock> mogaj: np
[08:47:49] <wafflejock> narutimateum: would talk it over with the boss man though and find out exactly what he's expecting you to optimize, overall request time to just load a zip file and send it over the wire or if you're needing to deflate the thing or what
[08:47:56] <archit> wafflejock , not sure why this plnkr is not working in my system . I just tried to show what exclty i am looking for.
[08:48:16] <archit> i dont want to show the array in the box
[08:48:17] <narutimateum> wafflejock: well i lost.. he just made the stuff to Page generated in 0.0005 seconds.
[08:48:22] <wafflejock> archit: ah bummer you using chrome
[08:48:29] <archit> yes
[08:49:10] <wafflejock> archit: hmm strange I rarely have problems with plunkr
[08:49:20] *** foo-bar- has joined #angularjs
[08:49:59] <archit> i dont need the qwhole array values in the box , these values are of each different box so when i select one suppose i selected all so the boxes which contains ALL category will be calculated and will show the number how many of the boxes have ALL Categiry
[08:49:59] *** heidi644 is now known as seattleJohn
[08:50:03] <archit> hope this calrifies
[08:50:27] <archit> what is solution for this plnkr? did you changed any thing in the plnk i send u over ?
[08:50:52] *** seattleJohn is now known as JohnEberly
[08:50:52] <wafflejock> archit: I just got it running so there weren't any errors in the console
[08:51:01] <wafflejock> archit: and updated the reference to the array
[08:51:06] <archit> hmm :(
[08:51:09] <wafflejock> you had upper case Row in the markup and row in the JSON
[08:51:10] *** JohnEberly is now known as johneberly
[08:51:58] *** DuelShark has quit IRC
[08:51:58] *** ckboii89 has quit IRC
[08:52:13] *** amal has joined #angularjs
[08:52:16] *** ckboii89 has joined #angularjs
[08:52:29] *** _tpavel has joined #angularjs
[08:52:38] <wafflejock> archit: regarding what you want to have happen I still think you should just write a function in the controller that you pass along the strings you want to look for in your data, then just do a for loop to go over the array and do whatever math you need along the way to get totals then store that as a new model that you use in the function call to get the data to display
[08:53:06] *** fixl has joined #angularjs
[08:53:33] *** Shrooms has quit IRC
[08:53:34] *** foo-bar- has quit IRC
[08:53:57] *** scmx has joined #angularjs
[08:54:02] *** hannesvdvreken has joined #angularjs
[08:54:03] <wafflejock> archit: you can do 1 pass over the data and get all the information you need along the way for all the buttons to work when you click on them to show the values
[08:54:10] *** HelperW has joined #angularjs
[08:54:27] *** mtsr has joined #angularjs
[08:54:31] <archit> ok how we can do that ?
[08:54:53] <archit> because there will be some values on each box as per our selection.
[08:55:00] *** tarnus has quit IRC
[08:55:15] *** mchammer has joined #angularjs
[08:56:02] <wafflejock> archit: sorry it's too bare bones at this point with that description for me to tell what you want it do overall... but you really just need a data model object {} POJO that stores all the totals and do a for loop
[08:56:35] <archit> thats i have already i created named as filters
[08:56:47] <archit> which is a blank
[08:57:18] *** airtonix_ has quit IRC
[08:58:23] <wafflejock> archit: sorry the explanation of what you want isn't clear to me and the code is very hard to read as is, if you add more space into things it will make it easier to read
[08:58:33] *** caitp- has joined #angularjs
[08:58:40] <wafflejock> scrolling left to right and trying to figure out what it is you're doing is too difficult right now
[08:58:53] *** mguillech has joined #angularjs
[08:58:54] <archit> hm
[08:59:14] <archit> :(
[08:59:22] <wafflejock> it sounds like something you can easily solve by modifying your model some but it's hard for me to tell exactly what you're getting at (and it's late here)
[08:59:43] *** sdouglas has quit IRC
[09:00:38] *** mguillech has quit IRC
[09:00:51] *** mguillech has joined #angularjs
[09:01:10] <archit> hm
[09:01:15] <archit> thanks a lot wafflejack
[09:01:39] <wafflejock> archit: yup sorry couldn't get you to your goal but hopefully you find some more help or can figure it out
[09:01:48] *** pdillinger2 has joined #angularjs
[09:02:10] *** Shrooms has joined #angularjs
[09:02:10] <archit> will try to solve it. just tell me one thing how can we call only one value from array will this work dataArr.row.solutions[0]
[09:02:58] *** senayar has joined #angularjs
[09:03:19] *** olveraricardo72 has quit IRC
[09:03:35] <wafflejock> archit: see line 15
[09:03:38] *** olveraricardo72 has joined #angularjs
[09:03:45] <wafflejock> {{dataArr.row[0].Solutions[0]}}
[09:05:02] *** phuh has quit IRC
[09:05:03] *** mercwithamouth has quit IRC
[09:05:27] *** phuh has joined #angularjs
[09:05:33] <archit> many thanks Wafflejack . Its getting bit complicated .... need some time to think over this.
[09:05:44] <archit> Appreciate your help :)
[09:06:02] <foofoobar> What is the most common charting lib for angularjs?
[09:06:12] <wafflejock> archit: sure thing
[09:06:12] *** sdouglas has joined #angularjs
[09:06:17] <foofoobar> I'm looking for something which is active developed.
[09:06:30] <wafflejock> foofoobar: there aren't really but you can use Google Charts or NVD3
[09:06:45] <wafflejock> I wouldn't say there is 1 common one though
[09:06:50] <wafflejock> HighCharts is easy to wrap up too
[09:07:02] *** Ir1sh has joined #angularjs
[09:07:17] <foofoobar> wafflejock, I read that HighCharts is not free and Google Charts is some external inclusion, right?
[09:07:23] <foofoobar> Got to look at NVD3 then.
[09:07:50] <wafflejock> foofoobar: that's about right HighCharts is free for some limited uses but otherwise requires a license
[09:08:19] *** narutimateum has quit IRC
[09:08:28] *** fwielstra has joined #angularjs
[09:08:44] <wafflejock> alright gotta get to bad, later all have a good day afternoon or night
[09:08:46] *** mattwynne has joined #angularjs
[09:09:39] *** mattwynne has quit IRC
[09:09:47] *** fbenoit has joined #angularjs
[09:10:11] *** caitp- has quit IRC
[09:11:05] *** mattwynne has joined #angularjs
[09:11:06] *** jnaour_ has left #angularjs
[09:11:18] *** mattwynne has quit IRC
[09:11:23] *** CptChaos has quit IRC
[09:11:35] *** mattwynne has joined #angularjs
[09:11:40] *** Ir1sh has quit IRC
[09:12:13] *** sysko has joined #angularjs
[09:12:27] *** AciD``` has joined #angularjs
[09:12:39] *** dutis has joined #angularjs
[09:12:45] *** kbumbaz has joined #angularjs
[09:12:46] *** spazbite has quit IRC
[09:12:58] *** senayar has quit IRC
[09:13:22] *** senayar has joined #angularjs
[09:14:09] *** someones_dad has quit IRC
[09:14:17] *** fdrechsler has joined #angularjs
[09:15:22] <foofoobar> thanks ;)
[09:16:35] *** DrMabuse has joined #angularjs
[09:17:01] *** tgkokk has joined #angularjs
[09:17:40] *** edzez_ is now known as edzez
[09:17:46] *** tgkokk has joined #angularjs
[09:19:03] *** kbumbaz has quit IRC
[09:20:06] *** mkulke has joined #angularjs
[09:20:16] *** karthik has joined #angularjs
[09:20:17] <karthik> hi
[09:20:24] *** AndyFTP has joined #angularjs
[09:20:34] *** senayar has quit IRC
[09:20:42] *** pipush has joined #angularjs
[09:20:47] <karthik> hey any one there?
[09:20:59] *** sysko has quit IRC
[09:21:03] *** Parag has joined #angularjs
[09:21:04] *** DrMabuse has quit IRC
[09:21:15] <Parag> hello sir
[09:21:28] <pipush> Hi, how can i test directive using templateUrl in the simplest way?
[09:21:30] <karthik> are you new to angularjs
[09:21:39] <Parag> ya
[09:22:02] <pipush> i here too
[09:22:13] <Parag> i want to know that how to open a dialog on click using angularjs
[09:23:14] <Parag> i found on internet that there some ngDialog directive to do that but on angularjs nothing like that
[09:23:26] *** okdamn has joined #angularjs
[09:23:32] <okdamn> hello guys
[09:23:38] <Parag> hello
[09:23:46] <okdamn> hey :) how is going today?
[09:23:59] *** senayar_ has joined #angularjs
[09:24:04] *** Rukouen has quit IRC
[09:24:19] *** kalusn has joined #angularjs
[09:24:29] <Parag> bye
[09:24:32] *** Parag has left #angularjs
[09:25:03] *** fold has quit IRC
[09:25:40] *** tschundeee has quit IRC
[09:26:16] *** tschundeee has joined #angularjs
[09:27:12] *** angdude has joined #angularjs
[09:27:15] *** karthik has quit IRC
[09:28:03] *** combat1 has joined #angularjs
[09:28:06] *** milka has joined #angularjs
[09:28:19] *** combat has quit IRC
[09:28:19] <angdude> any tips on bundling my partials and inlining controllers into a single file. I have a relatively small project but the loads take a while
[09:28:52] *** tfennelly has joined #angularjs
[09:29:22] *** mennea has quit IRC
[09:29:53] *** mennea has joined #angularjs
[09:30:53] *** Moon has joined #angularjs
[09:31:17] *** Moon is now known as Guest29856
[09:31:33] <chovy> i can't pass the event object when using $broadcast
[09:31:45] <chovy> $rootScope.$broadcast('click:page', e);
[09:31:54] *** p3rsist has quit IRC
[09:32:02] <chovy> i get something else on listner. if i log it in the caller its a jQuery object
[09:32:08] <chovy> but on listner its an angular object
[09:32:15] *** mennea has quit IRC
[09:32:30] *** joshbrw has joined #angularjs
[09:32:37] <chovy> $rootScope.$on('click:page', function(e){ //e is some other type of event object here });
[09:32:58] *** tfennelly has quit IRC
[09:33:42] *** guilbep has joined #angularjs
[09:33:45] <chovy> nm. i see $on takes event as first arg
[09:34:27] *** instence_ has joined #angularjs
[09:34:45] *** danielpquinn has joined #angularjs
[09:34:52] *** sysko has joined #angularjs
[09:35:32] *** Shrooms has quit IRC
[09:35:39] *** pipush has quit IRC
[09:35:44] *** c_ has joined #angularjs
[09:36:00] <c_> waeawrwaeawe
[09:36:01] *** bengillies has joined #angularjs
[09:36:08] *** c_ is now known as Guest16058
[09:36:13] <Guest16058> welcome to hell sad :(
[09:36:30] *** instence has quit IRC
[09:36:36] *** caitp- has joined #angularjs
[09:36:46] *** mronoffon_clone has joined #angularjs
[09:36:48] <efdee> how would i go around building routing that, for example for #/apps/app1/go/here, would see /apps/<appname>, then load some extra js files that contain the <appname> module (which defines its own routing) and then pass on go/here to the <appname> module's router?
[09:37:08] <mronoffon_clone> hello everyone?
[09:37:18] <Guest16058> yes
[09:37:32] <Guest16058> ng-app=""
[09:37:51] <mronoffon_clone> has anyone here using include('rest_framework.urls') for auth in their production code?
[09:38:17] *** johneberly has quit IRC
[09:38:40] <Guest16058> me bussy
[09:38:41] *** terrykfwong has joined #angularjs
[09:38:42] <Guest16058> :)
[09:38:58] *** Guest16058 has quit IRC
[09:39:25] *** danielpquinn has quit IRC
[09:39:47] *** Ronyrun has joined #angularjs
[09:40:25] *** Noob14 has quit IRC
[09:41:13] *** joshbrw has quit IRC
[09:41:23] *** caitp- has quit IRC
[09:41:34] *** siimon has quit IRC
[09:41:59] *** ustunozgur has joined #angularjs
[09:42:35] *** Takumo has quit IRC
[09:42:41] *** siimon has joined #angularjs
[09:42:52] *** senayar_ has quit IRC
[09:43:14] *** Takumo has joined #angularjs
[09:43:22] *** Takumo has joined #angularjs
[09:43:47] *** senayar has joined #angularjs
[09:43:49] *** Takumo has quit IRC
[09:43:58] *** tigrang has quit IRC
[09:44:14] *** Takumo has joined #angularjs
[09:44:24] *** bweston has joined #angularjs
[09:45:07] *** slainer6_ has quit IRC
[09:45:39] *** okdamn has quit IRC
[09:46:01] *** DevAntoine has joined #angularjs
[09:46:10] <DevAntoine> hi
[09:46:19] <DevAntoine> is there a way to cache the language file?
[09:46:20] *** Grokling_ has joined #angularjs
[09:46:40] *** ustunozgur has quit IRC
[09:47:15] *** Natsu- has joined #angularjs
[09:47:44] *** avree has joined #angularjs
[09:49:35] *** waylon999 has joined #angularjs
[09:50:24] *** bengillies has quit IRC
[09:50:59] *** tgkokk has quit IRC
[09:51:04] *** stickperson has quit IRC
[09:51:42] *** Dimlock has joined #angularjs
[09:52:14] *** tgkokk has joined #angularjs
[09:52:21] *** endless has joined #angularjs
[09:52:45] *** endless is now known as Guest72224
[09:52:58] *** Jae has quit IRC
[09:53:03] *** sk87 has joined #angularjs
[09:53:12] *** bahaaldine has joined #angularjs
[09:53:27] *** balboah has joined #angularjs
[09:53:58] *** TheAceOfHearts1 has quit IRC
[09:54:08] *** waylon999 has quit IRC
[09:54:31] <chovy> anyone want to give me some pointer?
[09:54:44] *** angdude has quit IRC
[09:54:46] *** sdouglas has quit IRC
[09:54:59]
<Guest72224> Hi, i have a very simple problem. I have a flat array that can only contains strings... i want to show an input to update one of the element but are having problem with bindings. how would you solve this? i have a simple demo here: http://plnkr.co/edit/U5qef7tbSNgRit6vxbb6?p=preview
[09:55:02] *** languiran has quit IRC
[09:55:19] *** sdouglas has joined #angularjs
[09:55:33] *** jordandotdev has quit IRC
[09:56:58] *** tk has quit IRC
[09:57:10] *** zbzzn has quit IRC
[09:57:58] *** torongeau has joined #angularjs
[09:59:34] *** sdouglas has quit IRC
[09:59:42] *** balboah has quit IRC
[10:00:18] *** nfroidure_ has joined #angularjs
[10:00:41] *** Willow has joined #angularjs
[10:03:33] *** sysko has quit IRC
[10:03:56] *** Yahkob has quit IRC
[10:05:01] *** ededagic has joined #angularjs
[10:05:05] *** phuh has quit IRC
[10:05:22] *** mdedetrich has quit IRC
[10:05:31] *** phuh has joined #angularjs
[10:07:16] *** illume has joined #angularjs
[10:07:51] *** Ir1sh has joined #angularjs
[10:07:55] *** mdedetrich has joined #angularjs
[10:08:31] *** crocket has joined #angularjs
[10:08:40] <crocket> How can I make angularjs wait for all HTTP requests to finish?
[10:08:43] <crocket> anyone?
[10:09:44] *** okdamn has joined #angularjs
[10:09:47] <Chepra> gather all promises and do a $q.all(<array of promises>).then(...)
[10:10:07] <crocket> Chepra, What if I don't have the promises?
[10:10:31] <crocket> I changed innerHTML of <div> which has <img> elements.
[10:10:38] <crocket> I want to wait for <img>s to load.
[10:11:35] *** Joulse has joined #angularjs
[10:11:58] *** olveraricardo72 has quit IRC
[10:12:13] *** olveraricardo72 has joined #angularjs
[10:12:15] *** senayar has quit IRC
[10:12:27] <crocket> help?
[10:12:58] *** bicranial has quit IRC
[10:12:59] *** Ir1sh has quit IRC
[10:13:08] <bealtine> are you using $http service?
[10:13:15] <crocket> bealtine, no
[10:13:32] <crocket> bealtine, I assign HTML elements to a <div> via innerHTML.
[10:13:39] <bealtine> then good luck
[10:13:40] <crocket> HTML elements include <img> tags.
[10:13:54] <crocket> No
[10:14:05] <crocket> help
[10:14:06] *** mdedetrich has quit IRC
[10:14:18] <Chepra> there is no way to do that
[10:14:30] *** someones_dad has joined #angularjs
[10:14:32] <crocket> Chepra, That's a harsh statement.
[10:14:47] <Chepra> you could try to look at every image on the page and see if its already loaded
[10:14:58] *** Left_Turn has quit IRC
[10:14:59] *** bmcgee has joined #angularjs
[10:15:08] <Chepra> but that won't work for css background images
[10:15:44] <Chepra> or you could start a listener von window.load, but that's not guaranteed to work with every browser the way you want it
[10:15:54] *** senayar has joined #angularjs
[10:16:11] *** jk-5 has quit IRC
[10:16:50] *** DrMabuse has joined #angularjs
[10:17:10] *** archit has quit IRC
[10:17:19] <crocket> Chepra, I guess I have to intercept every img.
[10:17:32] *** _jpfm has quit IRC
[10:17:38] <Chepra> Why would you want to do this?
[10:18:08] *** roolo has joined #angularjs
[10:18:21] *** hugorodrigues has joined #angularjs
[10:18:49] *** tfennelly has joined #angularjs
[10:19:16] *** slainer68 has joined #angularjs
[10:19:24] <crocket> Chepra, I want to scroll to a subnode, and scrolling to it doesn't work properly before images are loaded.
[10:19:29] <crocket> Images change the scroll length.
[10:20:52] *** GeertV_ has quit IRC
[10:20:58] *** jk-5 has joined #angularjs
[10:21:07] <Chepra> Do you know the height of the images?
[10:21:12] *** someones_dad has quit IRC
[10:21:26] *** GeertV_ has joined #angularjs
[10:22:43] *** mettjus has joined #angularjs
[10:22:50] *** hugorodrigues has quit IRC
[10:23:08] *** balboah has joined #angularjs
[10:23:23] *** bmcgee has quit IRC
[10:23:37] *** bmcgee has joined #angularjs
[10:23:49] *** mennea has joined #angularjs
[10:23:56] *** mchapman has joined #angularjs
[10:24:12] *** marr has joined #angularjs
[10:24:35] *** balboah has quit IRC
[10:24:54] *** TorchDragon has joined #angularjs
[10:25:11] *** Mouzi has quit IRC
[10:25:22] *** uf6667 has joined #angularjs
[10:25:33] *** GeertV_ has quit IRC
[10:26:01] *** bengillies has joined #angularjs
[10:26:04] *** Jdubs has quit IRC
[10:26:11] *** mykz_ has quit IRC
[10:26:12] *** Shrooms has joined #angularjs
[10:27:06] *** greengriminal has joined #angularjs
[10:27:11] *** sk87 has quit IRC
[10:27:29] *** mykz_ has joined #angularjs
[10:27:37] *** cliffreich has joined #angularjs
[10:27:50] *** azizur has joined #angularjs
[10:27:50] *** edzez has quit IRC
[10:27:51] *** GeertV_ has joined #angularjs
[10:28:26] *** edzez has joined #angularjs
[10:29:03] *** TorchDragon has quit IRC
[10:29:43] *** cliffreich has quit IRC
[10:30:28] <mogaj> i am using angular-wizard how to stop from going to next step even if continue button is clicked? thankyou
[10:30:31] *** daslicht has joined #angularjs
[10:30:47] *** ustunozgur has joined #angularjs
[10:30:52] *** senayar has quit IRC
[10:30:55] *** sysko has joined #angularjs
[10:31:29] *** tokka has quit IRC
[10:31:51] *** tfennelly has quit IRC
[10:33:42] *** avree has quit IRC
[10:34:20] *** Ajen has joined #angularjs
[10:35:31] *** danielpquinn has joined #angularjs
[10:35:51] <Ajen> anyone here
[10:36:19] *** MaxV has joined #angularjs
[10:36:50] <Ajen> hey
[10:37:20] <Ajen> anyone
[10:37:20] *** juampy has joined #angularjs
[10:37:22] *** caitp- has joined #angularjs
[10:37:26] *** jkremser has joined #angularjs
[10:37:29] *** ededagic has quit IRC
[10:37:44] *** jkremser has quit IRC
[10:37:44] *** jkremser has joined #angularjs
[10:37:53] *** agiantwhale has joined #angularjs
[10:37:55] <Ajen> help me please
[10:38:09] <agiantwhale> yes?
[10:38:26] *** bengillies has quit IRC
[10:38:38] *** mykz_ has quit IRC
[10:38:51] <Ajen> can you tell me how to upload image in an template html file please
[10:39:06] *** jonog has quit IRC
[10:39:25] <agiantwhale> if you're targeting IE10 or higher you can just use FileReader API
[10:39:33] *** jonog has joined #angularjs
[10:40:10] *** danielpquinn has quit IRC
[10:40:10] *** avens has joined #angularjs
[10:40:25] <Ajen> am talking about the inject code
[10:40:31] <Ajen> am using google chrome
[10:40:47] <Ajen> code for uploading image
[10:41:04] <Ajen> i can't give you a code
[10:41:18] <bealtine> there are some file uploader modules out there
[10:41:23] *** tangorri has quit IRC
[10:41:33] *** caitp- has quit IRC
[10:41:43] <agiantwhale> do you actually need to send a POST request to the server?
[10:41:51] <agiantwhale> or are you just trying to render it on screen
[10:41:59] <Ajen> # bealtine where
[10:42:06] <bealtine> on the internet
[10:42:27] <Ajen> <beat i googled but am a bit confusing
[10:43:15] <Ajen> @agiant to a server
[10:43:20] *** Guest72224 has quit IRC
[10:43:27] *** SomeKittens has quit IRC
[10:43:27] *** dob_ has quit IRC
[10:43:56] *** dob_ has joined #angularjs
[10:43:57] *** jonog has quit IRC
[10:44:03] *** caitp- has joined #angularjs
[10:44:10] *** FOez has joined #angularjs
[10:44:44] *** mykz_ has joined #angularjs
[10:44:51] <Ajen> #agiant upload image and store on a server
[10:45:15] *** okdamn has quit IRC
[10:45:41] *** Sebastien-L has joined #angularjs
[10:46:09] <agiantwhale> @Ajen then it's simple as just sending a multipart post request (You can't upload files with application/json)
[10:46:45] *** mattwynne has quit IRC
[10:47:59] *** mennea has quit IRC
[10:48:24] <Ajen> @whale please send me your mail i wana
[10:48:29] *** caitp- has quit IRC
[10:49:16] *** scmx has quit IRC
[10:49:28] *** mokush has joined #angularjs
[10:49:44] *** mattwynne has joined #angularjs
[10:50:06] *** foo-bar- has joined #angularjs
[10:50:34] *** JoshGlzBrk has joined #angularjs
[10:50:43] <Ajen> @whale can i connect you other than this chat cause i really need someone's help to solve this
[10:51:02] *** mennea has joined #angularjs
[10:51:32] *** mattwynne has quit IRC
[10:51:33] *** Willow has quit IRC
[10:52:07] *** Willow has joined #angularjs
[10:52:19] <foofoobar> Does restangular makes use of $http ?
[10:53:18] <agiantwhale> @foofoobar I don't think so. $http slices the trailing slash at each URL (Problematic for Django backends). Restangular maintains the trailing slashes.
[10:53:57] <foofoobar> agiantwhale, okay, bad. Then it's not going to work with angular-loading-bar (which intercepts $http).
[10:54:14] <agiantwhale> I'm not 100% sure, you may want to double check on that
[10:54:18] <foofoobar> What is the common way to make REST calls with angularjs?
[10:54:28] <foofoobar> Is everybody using $resource now?
[10:54:46] *** mattwynne has joined #angularjs
[10:54:48] *** foo-bar- has quit IRC
[10:55:04] <bealtine> $resource sucks but that's just my opinion
[10:55:05] <agiantwhale> I moved from $resource for my current project because the backend requires nested resources, but for most projects I just stick with $resource
[10:55:22] *** charuru has quit IRC
[10:55:33] *** mattwynne has quit IRC
[10:56:20] *** tarnus has joined #angularjs
[10:56:23] <agiantwhale> WAIT @foofoobar
[10:56:37] <agiantwhale> In Restangular source code there's this line: function RestangularResource(config, $http, url, configurer) {
[10:56:37] *** jillesme has joined #angularjs
[10:56:38] *** Willow has quit IRC
[10:56:53] <agiantwhale> I'm not sure if $http is Angular's $http though
[10:57:40] <jillesme> Hey guys. How do I access the model from my text input (ng-model="search") from within my app.js?
[10:58:01] <agiantwhale> $scope.search
[10:58:40] *** RandomStranger- has joined #angularjs
[10:58:41] *** bkuberek has joined #angularjs
[10:58:43] *** mattwynne has joined #angularjs
[10:59:01] <jillesme> Well that was easier than expected..
[10:59:29] *** zbzzn has joined #angularjs
[10:59:32] *** Willow has joined #angularjs
[10:59:38] *** wilmoore has quit IRC
[11:00:06] <Ajen> GUYS NEE HELP COMMON am new to this thing
[11:00:09] *** Serdar has joined #angularjs
[11:00:23] *** RandomStranger has quit IRC
[11:00:27] <bealtine> we helped you already
[11:00:32] *** klaut has joined #angularjs
[11:00:38] *** tarnus has quit IRC
[11:00:38] <agiantwhale> @Ajen did you try the link I posted?
[11:00:40] <bealtine> we cant write your app for you
[11:00:42] *** dob_ has quit IRC
[11:00:48] *** dob_ has joined #angularjs
[11:01:02] <agiantwhale> @Ajen you could ask on Stack Overflow (and get flamed) for a more detailed explanation
[11:01:20] <Ajen> agiantwhale: am still checking on
[11:01:48] <mogaj> how to call a function without using wz-next in angular-wizard?
[11:01:57] *** dazs has quit IRC
[11:02:07] <jillesme> agiantwhale: I've added an event listener to my search element, that fires onchange and executes a function that uses $scope.search.. I'm sure however that this is not the "angular way"
[11:02:21] <jillesme> How would you guys approach this?
[11:02:41] <agiantwhale> "onchange" do you mean ng-change?
[11:02:55] <agiantwhale> <input type="text" ng-change="callback()">
[11:03:09] <agiantwhale> callback will be executed everytime the input changes
[11:03:35] *** bkuberek has quit IRC
[11:04:19] *** Drako_ has joined #angularjs
[11:04:36] *** jonog has joined #angularjs
[11:04:38] <agiantwhale> Alright its 6PM and I'm off work guys, I'll see you all later
[11:04:49] *** agiantwhale has left #angularjs
[11:05:00] *** Ir1sh has joined #angularjs
[11:05:08] *** phuh has quit IRC
[11:05:33] *** phuh has joined #angularjs
[11:05:54] <jillesme> There's an ng-change directive.. great..
[11:06:09] <jillesme> I need a book about AngularJS :(
[11:06:10] *** dutis has quit IRC
[11:06:43] *** cotko has joined #angularjs
[11:07:01] *** tangorri has joined #angularjs
[11:07:07] *** crocket has left #angularjs
[11:07:29] *** Cydmax has joined #angularjs
[11:07:53] *** senayar has joined #angularjs
[11:08:36] *** Schtive has joined #angularjs
[11:09:21] *** tfennelly has joined #angularjs
[11:09:51] <Ajen> ;
[11:09:52] *** Willow has quit IRC
[11:10:28] *** Willow has joined #angularjs
[11:10:34] <foofoobar> So it looks like restangular is not using $http, bad :/
[11:10:54] *** eutheria has joined #angularjs
[11:11:05] *** hugofirth has joined #angularjs
[11:11:47] *** bengillies has joined #angularjs
[11:12:40] *** jerev_away is now known as jerev
[11:13:02] *** lordkryss has joined #angularjs
[11:13:02] *** senayar has joined #angularjs
[11:13:34] *** TyrfingMjolnir has quit IRC
[11:13:52] *** squeakytoy has quit IRC
[11:14:06] <Cydmax> hi guys
[11:15:36] *** mattwynne has quit IRC
[11:15:41] *** Willow has quit IRC
[11:16:33] <bealtine> $http
[11:17:07] *** bmcgee has quit IRC
[11:17:07] *** squeakytoy has joined #angularjs
[11:17:24] <foofoobar> So angular-loading-bar works when I use $http, but not with restangular.
[11:17:48] *** cece has joined #angularjs
[11:17:50] *** bmcgee has joined #angularjs
[11:18:14] <bealtine> probably uses $http interceptor
[11:18:36] *** Dwarf has quit IRC
[11:18:57] *** waylon999 has joined #angularjs
[11:18:58] *** Grokling_ has quit IRC
[11:19:04] *** Dragory has quit IRC
[11:19:14] <foofoobar> bealtine, I guess its not using the $http interceptor, otherwise angular-loading-bar would catch up, correct?
[11:19:55] <bealtine> read the source
[11:20:11] <foofoobar> bealtine, there is a $http in use in restangular, but I cant figure out what it is doing
[11:20:29] *** olveraricardo72 has quit IRC
[11:20:36] <bealtine> i've no idea...I never use restangular
[11:20:38] *** TyrfingMjolnir has joined #angularjs
[11:20:49] *** olveraricardo72 has joined #angularjs
[11:21:02] <chovy> all i can say is $resource is some half-assed solution. $http is much better.
[11:21:34] *** fire_ has joined #angularjs
[11:21:38] <fire_> hi everyone
[11:21:42] <fire_> anyone here?
[11:21:54] <chovy> yes
[11:21:56] <foofoobar> chovy, so you are using just a plain $http function to do REST requests?
[11:22:00] <fire_> hi chovy
[11:22:06] <fire_> I am working with scrollTo
[11:22:14] <fire_> using anchorscroll
[11:22:17] <chovy> foofoobar: i use $resource, but as soon as you have nested resources it is not workable.
[11:22:50] <fire_> how anchorscroll doesnt let me specify a container...
[11:22:52] <chovy> i could not figure out how to support POST /users/:id/favorites
[11:22:59] <chovy> only GET
[11:23:02] <fire_> I want to use scrollTo for a div with an overflow-y
[11:23:03] <foofoobar> Okay, so maybe I'm going to skip $resource and restangular and just use $http
[11:23:03] *** bmcgee has quit IRC
[11:23:06] <fire_> does anyone know how to do that?
[11:23:06] *** mrded has joined #angularjs
[11:23:09] *** ld0rman has joined #angularjs
[11:23:16] *** waylon999 has quit IRC
[11:23:27] *** sacho has joined #angularjs
[11:23:37] <chovy> fire_: i filed a PR for ng-scroll but they rejected it. i don't know how they suggest you do it
[11:23:52] *** Dragory has joined #angularjs
[11:23:53] <chovy> you do have jQuery though
[11:25:47] *** Drako_ has quit IRC
[11:25:53] *** S-Work has joined #angularjs
[11:27:34] *** mattwynne has joined #angularjs
[11:28:01] *** twisted`_ has quit IRC
[11:28:03] *** Dwarf has joined #angularjs
[11:28:11] *** InezK is now known as InezK_away
[11:28:47] *** bkuberek has joined #angularjs
[11:29:02] *** jae has joined #angularjs
[11:29:03] *** twisted` has joined #angularjs
[11:29:31] <fire_> thanks chovy
[11:29:42] *** mronoffon_clone has quit IRC
[11:29:58] *** _jpfm has joined #angularjs
[11:29:59] <fire_> chovy, I think I must make use of directives, then use angular.element(element).scrollTo(something))i think
[11:30:04] *** senayar has quit IRC
[11:30:07]
<mogaj> i have a multiple forms in angular-wizard and i am showing a dialog in one of the stop depending on the dialog output the wizard shud got to next step or stay on the same step but using this code http://pastebin.com/xSHdfNbx i am not able to send the wizard to next step ... what am i doing wrong how can i navigate to next step? please help, thankyou
[11:30:16] *** ld0rman has left #angularjs
[11:30:17] <mogaj> *step
[11:30:24] <fire_> is there a way I can use angular.element() to refer to my table?
[11:30:29] *** jae is now known as Jae
[11:30:29] *** senayar has joined #angularjs
[11:30:31] *** HelperW_ has joined #angularjs
[11:30:33] <DevAntoine> I'm not sure to get the differences between compile and link when writing directives. I'm writing a directive that makes a table's header fixed, so I have some dom manipulations and an event listener. Am I suppose to do the dom manipulations inside the compile and return a link function containing the event listener, or should I put everything inside a link function?
[11:30:55] *** dob_ has quit IRC
[11:31:22] *** roolo has quit IRC
[11:31:26] *** dob_ has joined #angularjs
[11:32:39] *** Serdar has quit IRC
[11:33:32] *** bkuberek has quit IRC
[11:34:04] *** HelperW has quit IRC
[11:35:18] *** TyrfingMjolnir has quit IRC
[11:35:32] *** Shrooms has quit IRC
[11:36:11] *** mykz_ has quit IRC
[11:36:17] *** danielpquinn has joined #angularjs
[11:36:18] *** Sky[x] has quit IRC
[11:38:09] *** one_zero has quit IRC
[11:38:40] *** Asiajey has quit IRC
[11:39:22] *** mykz_ has joined #angularjs
[11:39:34] *** Aartsie has joined #angularjs
[11:39:41] *** jstroem has quit IRC
[11:40:14] *** Anticom has joined #angularjs
[11:40:15] *** jstroem has joined #angularjs
[11:40:52] *** mguillech has quit IRC
[11:41:11] *** danielpquinn has quit IRC
[11:41:14] *** AngularUI has joined #angularjs
[11:41:14]
<AngularUI> [ng-grid] rkushappanavar opened pull request #1299: Fixed issue with vertical scroll bar in IE 10. (master...master) http://git.io/h5kU9g
[11:41:14] *** AngularUI has left #angularjs
[11:43:37] *** Ajen has quit IRC
[11:43:57] *** Sky[x] has joined #angularjs
[11:43:57] *** bmcgee has joined #angularjs
[11:44:23] *** Schtive has quit IRC
[11:44:33] *** jstroem has quit IRC
[11:44:45] *** caitp- has joined #angularjs
[11:44:50] *** senayar_ has joined #angularjs
[11:45:10] *** BMCouto has joined #angularjs
[11:46:51] <DevAntoine> if I use the link function my copied dom node's translations aren't working. If I use the compile function the browser freeze because of a digest cycle issues
[11:46:57] <DevAntoine> what am I suppose to do?
[11:47:11] *** bolt2in1 has joined #angularjs
[11:47:33] *** senayar has quit IRC
[11:48:17] *** beardedchimp has quit IRC
[11:49:04] *** Reite has joined #angularjs
[11:49:18] *** caitp- has quit IRC
[11:51:46] *** avens has quit IRC
[11:55:55] *** avens has joined #angularjs
[11:57:39] *** orion1111 has joined #angularjs
[11:59:37] *** nostrzak has joined #angularjs
[12:00:14] *** Limarson has joined #angularjs
[12:04:20] *** DevAntoine has quit IRC
[12:04:37] *** mrded has quit IRC
[12:04:39] *** crooksey has joined #angularjs
[12:05:03] *** motionman has quit IRC
[12:05:08] *** phuh has quit IRC
[12:05:34] *** phuh has joined #angularjs
[12:06:30] <crooksey> Hi, I have a use case where I make an ajax call that gets json data for rows of data, once the JOSN has come back to my page I want to loop over each entry. If I code in a for each and setup a watch, will the div automatically update with the new data, each time the ajax call is made?
[12:06:46] *** hugorodrigues has joined #angularjs
[12:07:14] *** bengillies has quit IRC
[12:07:23] *** squeakytoy has quit IRC
[12:07:54] *** rtpg has quit IRC
[12:08:22] *** rtpg has joined #angularjs
[12:08:30] *** jillesme has quit IRC
[12:08:38] *** squeakytoy has joined #angularjs
[12:09:01] *** guilbep has quit IRC
[12:09:13] *** guilbep has joined #angularjs
[12:09:33] *** Foxandxss has joined #angularjs
[12:09:34] *** dob_ has quit IRC
[12:09:41] *** dob_ has joined #angularjs
[12:10:15] *** jonog has quit IRC
[12:10:35] <ansu> crooksey, if you bind the result form the http call to $scope then view will update automatically
[12:10:36] *** ppppaul has joined #angularjs
[12:10:45] <crooksey> Yea
[12:10:47] <crooksey> Cool
[12:10:58] *** Drako_ has joined #angularjs
[12:11:03] *** hugorodrigues has quit IRC
[12:11:11] *** fbenoit has quit IRC
[12:11:42] *** roolo has joined #angularjs
[12:11:55] <crooksey> So in my div, I could do "for x in data" <html here>x.value</html>
[12:12:03] <crooksey> ^^ pseudo code
[12:12:14] *** mykz_ has quit IRC
[12:12:15] <crooksey> And it would update each time the json was updated?
[12:12:49] <crooksey> ansu: that sound correct?
[12:13:01] *** FOez has quit IRC
[12:13:22] *** TorchDragon has joined #angularjs
[12:13:23] *** SpearThruster has joined #angularjs
[12:14:04] *** fwielstra has quit IRC
[12:14:25] *** mdix has joined #angularjs
[12:14:34] <crooksey> ansu: thanks
[12:14:41] *** roolo has quit IRC
[12:14:52] *** orion1111 has quit IRC
[12:15:00] *** fbenoit has joined #angularjs
[12:15:10] *** freeman42 has joined #angularjs
[12:16:11] *** rtpg has quit IRC
[12:16:37] *** ngbot has joined #angularjs
[12:16:38] <ngbot> angular.js/master 4adc44a Max: docs(guide/forms): fix controller name in example...
[12:16:38] *** ngbot has left #angularjs
[12:16:39] *** ededagic has joined #angularjs
[12:16:58] <nonsenz> hi, can someone help me out with a strange angular ui bootstrap typeahed problem?
[12:17:33] *** TorchDragon has quit IRC
[12:17:45] *** jkremser has quit IRC
[12:17:47] *** yoshokatana has joined #angularjs
[12:17:53] *** rtpg has joined #angularjs
[12:18:57] *** airtonix has joined #angularjs
[12:19:47] *** fbenoit has quit IRC
[12:19:52] *** jonog has joined #angularjs
[12:20:34] *** k-dawg has joined #angularjs
[12:22:04] *** bolt2in1 has quit IRC
[12:22:58] *** JoshGlzBrk has quit IRC
[12:23:21] *** orion1111 has joined #angularjs
[12:25:21] *** mennea has quit IRC
[12:25:26] *** ogksgn has joined #angularjs
[12:25:40] *** fwielstra has joined #angularjs
[12:26:12] *** mguillech has joined #angularjs
[12:26:42] *** ustunozg_ has joined #angularjs
[12:27:40] *** kalusn has quit IRC
[12:28:31] *** InezK_away is now known as InezK
[12:28:41] *** Joulse has quit IRC
[12:29:01] *** olveraricardo72 has quit IRC
[12:29:05] *** bengillies has joined #angularjs
[12:29:27] *** olveraricardo72 has joined #angularjs
[12:29:31] *** bkuberek has joined #angularjs
[12:29:38] *** mdix has quit IRC
[12:29:58] *** ustunozgur has quit IRC
[12:30:15] *** kalusn has joined #angularjs
[12:31:09] *** avree has joined #angularjs
[12:31:47] *** cctom_ has quit IRC
[12:31:50] *** Gu_______ has joined #angularjs
[12:33:09] *** HelperW_ has quit IRC
[12:33:38] *** bkuberek has quit IRC
[12:33:45] *** HelperW_ has joined #angularjs
[12:34:24] *** ankur has joined #angularjs
[12:35:40] *** bolt2in1 has joined #angularjs
[12:36:02] *** mehlah has quit IRC
[12:37:03] *** danielpquinn has joined #angularjs
[12:37:58] *** HelperW_ has quit IRC
[12:38:29] *** spaceribs has joined #angularjs
[12:38:56] *** arek_at_work has joined #angularjs
[12:40:31] *** jstroem has joined #angularjs
[12:40:34] <foofoobar> Is there a simple way to print all broadcasts which come to rootScope
[12:40:47] *** cctom_ has joined #angularjs
[12:40:51] *** Vinnyceptr has joined #angularjs
[12:41:40] *** danielpquinn has quit IRC
[12:42:08] *** squeakytoy has quit IRC
[12:44:09] *** squeakytoy has joined #angularjs
[12:44:51] *** InezK is now known as InezK_away
[12:44:58] *** jstroem has quit IRC
[12:45:33] *** caitp- has joined #angularjs
[12:45:43] *** ogksgn has quit IRC
[12:45:50] *** gauravsaini03 has quit IRC
[12:46:00] <mettjus> hi all! to pass an array/object to a directive via attribute am i forced to have an isolated scope ({attrName:'='})?
[12:46:38] *** AngularUI has joined #angularjs
[12:46:39]
<AngularUI> [ng-grid] rkushappanavar opened pull request #1300: Fixed issue with vertical scroll bar in IE 10. (master...IE-Scroll-Fix) http://git.io/JQ_2XQ
[12:46:39] *** AngularUI has left #angularjs
[12:46:39] *** Grokling_ has joined #angularjs
[12:47:02] *** dutis has joined #angularjs
[12:47:18] <bolt2in1> Hello everybody, is there a way to inject a service to $routeProvider.otherwise()?
[12:50:18] *** anderskristo has joined #angularjs
[12:50:54] *** foo-bar- has joined #angularjs
[12:50:55] *** agiantwhale has joined #angularjs
[12:51:41] *** cctom_ has quit IRC
[12:52:01] *** caitp- has quit IRC
[12:52:37] *** foo-bar- has quit IRC
[12:52:39] *** foo-bar-_ has joined #angularjs
[12:52:44] *** cctom has joined #angularjs
[12:52:58] *** sigurding has quit IRC
[12:54:08] *** cctom has quit IRC
[12:54:13] *** tgkokk has quit IRC
[12:54:54] *** cctom has joined #angularjs
[12:57:06] *** foo-bar-_ has quit IRC
[12:57:10] *** tarnus has joined #angularjs
[12:57:32] *** Willow has joined #angularjs
[12:58:00] *** yoshokatana has joined #angularjs
[12:58:32] *** jonog has quit IRC
[12:58:51] *** sigurding has joined #angularjs
[12:59:08] *** jonog has joined #angularjs
[12:59:24] <foofoobar> The rendering of a big ng-repeat stops everything else on the page to be loaded. Is there a way to prevent this behaviour?
[12:59:38] *** SpearThruster has quit IRC
[13:00:59] *** caitp- has joined #angularjs
[13:01:26] *** mercwithamouth has joined #angularjs
[13:01:30] *** basichash has joined #angularjs
[13:01:38] *** tarnus has quit IRC
[13:02:07] *** chabier has joined #angularjs
[13:02:49] *** Nizumzen has joined #angularjs
[13:03:50] *** kalusn has quit IRC
[13:03:59] *** jonog has quit IRC
[13:04:37] *** Serdar has joined #angularjs
[13:04:46] *** LuxuryMode has quit IRC
[13:05:01] *** sacho has quit IRC
[13:05:10] *** phuh has quit IRC
[13:05:29] *** leftblank has joined #angularjs
[13:05:39] *** phuh has joined #angularjs
[13:05:56] *** mercwithamouth has quit IRC
[13:06:03] *** avens_ has joined #angularjs
[13:07:54] *** doodlehaus has joined #angularjs
[13:08:00] *** mehlah has joined #angularjs
[13:08:33] *** mykz_ has joined #angularjs
[13:08:33] *** Click66 has quit IRC
[13:08:58] *** avens has quit IRC
[13:10:07] *** ppppaul has quit IRC
[13:10:23] <fwielstra> (I have no experience with any of those btw)
[13:10:55] *** Aartsie has quit IRC
[13:11:29] *** Aartsie has joined #angularjs
[13:11:30] *** avens_ has quit IRC
[13:11:55] *** chabier has quit IRC
[13:12:35] *** drej has joined #angularjs
[13:12:44] *** Hounddog has joined #angularjs
[13:13:14] *** mguillech has quit IRC
[13:14:30] *** dc has joined #angularjs
[13:14:37] <foofoobar> thanks
[13:14:59] *** jkremser has joined #angularjs
[13:14:59] *** jkremser has joined #angularjs
[13:15:19] *** jonog has joined #angularjs
[13:15:34] *** Sna4x8 has quit IRC
[13:15:44] *** Aartsie has quit IRC
[13:16:49] *** jonog has quit IRC
[13:17:27] *** jonog has joined #angularjs
[13:17:34] *** chr1stopher has left #angularjs
[13:18:38] *** jonog has quit IRC
[13:18:49] *** fixl has quit IRC
[13:18:58] *** jonog has joined #angularjs
[13:19:41] *** gauravsaini03 has joined #angularjs
[13:19:41] *** the-erm has quit IRC
[13:20:18] *** avens has joined #angularjs
[13:20:22] *** dazs has joined #angularjs
[13:20:52] *** someones_dad has joined #angularjs
[13:21:25] *** Click66 has joined #angularjs
[13:21:49] *** Left_Turn has joined #angularjs
[13:22:00] *** the-erm has joined #angularjs
[13:22:04] *** Ethix has joined #angularjs
[13:22:20] *** MaxV has quit IRC
[13:22:45] *** Rebirth has joined #angularjs
[13:22:55] *** TyrfingMjolnir has joined #angularjs
[13:23:55] *** HelperW_ has joined #angularjs
[13:24:21] *** iksik has quit IRC
[13:24:34] *** iksik_ has joined #angularjs
[13:24:54] *** joshbrw has joined #angularjs
[13:25:12] <foofoobar> fwielstra, sadly this didnt worked for me, because the initial loading is my problem, not the performance problem with the watchers
[13:25:47] *** someones_dad has quit IRC
[13:26:23] <fwielstra> hm, yeah I guess one of angular’s main problems is performance issues with large data sets. I also encountered a massive slowdown on a relatively small ng-repeat set when I had the inspector open though, it was gone with the inspector closed. Not sure if that’s your issue though; how many items are you iterating over?
[13:26:49] *** daslicht has quit IRC
[13:27:27] *** sysko has quit IRC
[13:27:40] *** juampy is now known as juampy_backlater
[13:27:43] *** Grokling_ has quit IRC
[13:27:47] *** FunnyLookinHat has joined #angularjs
[13:28:15] <foofoobar> 1908 times, I'm displaying the source of a files with line numbers
[13:28:22] <foofoobar> when a line is clicked, I set some "Highlighting" for this line
[13:28:38] <foofoobar> I have the sourcecode in a string, displaying just this string is fast
[13:28:55] <foofoobar> but I have to do the data.split(/\n/) to do the line number + line highlighting thing
[13:29:15] *** eutheria has quit IRC
[13:29:20] <foofoobar> But then with large files, the ng-repeat is iterating a lot and this is a real performance problem
[13:29:23] *** MaxV has joined #angularjs
[13:29:32] *** dc has quit IRC
[13:30:14] *** bkuberek has joined #angularjs
[13:30:23] *** retzloff has joined #angularjs
[13:30:25] *** miha- has joined #angularjs
[13:31:00] *** mguillech has joined #angularjs
[13:31:02] *** amedia has joined #angularjs
[13:31:19] *** jstimm has quit IRC
[13:31:34] <amedia> hello, i’m having a weird issue with angular
[13:31:46] *** ankur has quit IRC
[13:31:53] <amedia> when i output a directive in html, it outputs directive, but no html after it
[13:32:01] *** jstimm has joined #angularjs
[13:32:53] *** shorne has joined #angularjs
[13:32:53] *** retzloff has quit IRC
[13:32:54] *** vbabiy has joined #angularjs
[13:33:48] *** Efrem has joined #angularjs
[13:34:11] *** dob_ has quit IRC
[13:34:33] *** bkuberek has quit IRC
[13:34:37] *** avens has quit IRC
[13:34:37] *** dob_ has joined #angularjs
[13:35:20] <gjvc> but i'm getting "TypeError: undefined is not a function" where
[13:35:22] *** Nizumzen has quit IRC
[13:35:33] <gjvc> link: function(scope, element, attrs, ngModelCtrl) { <- element here is undefined
[13:35:42] *** InezK_away is now known as InezK
[13:35:48] *** jonog_ has joined #angularjs
[13:36:28] *** avens has joined #angularjs
[13:36:55] *** jonog has quit IRC
[13:37:13] *** bolt2in1 has quit IRC
[13:37:34] *** olveraricardo72 has quit IRC
[13:37:49] *** danielpquinn has joined #angularjs
[13:37:49] *** sysko has joined #angularjs
[13:38:21] *** olveraricardo72 has joined #angularjs
[13:41:14] <Foxandxss> amedia: create a plunker (see topic)
[13:41:15] *** jstroem has joined #angularjs
[13:42:20] <Foxandxss> gjvc: that gets populated if you require that ngModel
[13:42:27] *** danielpquinn has quit IRC
[13:42:42] <gjvc> Foxandxss: ok. i think i read about that. where do i put the require?
[13:42:51] <Foxandxss> you have something to research then
[13:43:34] <foofoobar> hey Foxandxss ;) Maybe you have a suggestion for me: I want to display a source code with line numbers next to it. Currently I use ng-repeat="line in mySplitData" for this
[13:44:06] <foofoobar> The problem is when I have a lot of lines (e.g. 2000), the initial displaying of this needs about a second.
[13:44:25] <Foxandxss> use ACE editor or something like that
[13:44:28] <Foxandxss> like plunker does
[13:44:31] *** jonog has joined #angularjs
[13:44:44] <Foxandxss> ng-repeat through lines is overkill
[13:44:52] <gjvc> Foxandxss: i've got require : 'ngModel' -- do i need to change this?
[13:44:59] <Foxandxss> at least if it is static data, use a bind once
[13:45:06] <Foxandxss> gjvc: that is correct
[13:45:15] <Foxandxss> but you also need to use ng-model in your element
[13:45:22] <foofoobar> wow, why did I not know about ui-ace
[13:45:38] *** jstroem has quit IRC
[13:45:38] *** InezK is now known as InezK_away
[13:45:58] <Foxandxss> first notice I have also
[13:46:14] <foofoobar> I wonder if the ACE editor has no problem to display 2000 lines.
[13:46:23] <Foxandxss> shouldn't
[13:46:29] <Foxandxss> the problem you're facing is just angular
[13:46:31] <Foxandxss> not ace
[13:46:46] *** doodlehaus has quit IRC
[13:46:54] <foofoobar> Foxandxss, so how does ACE solve this ?
[13:46:58] *** jonog_ has quit IRC
[13:47:03] *** arizzo has joined #angularjs
[13:47:04] <Foxandxss> ACE doesn't solve anything
[13:47:09] <Foxandxss> ACE doesn't produce that
[13:47:18] *** olveraricardo72 has quit IRC
[13:47:20] <Foxandxss> you're creating like 2000 watches
[13:47:23] <Foxandxss> with that ng-repeat
[13:47:39] <Foxandxss> that is 2000 conditions angular has to check everytime you type on an input
[13:47:41] <gjvc> Foxandxss: just figured that out. I have ng-model="dateFrom" in my <div datetimez > element
[13:47:56] <foofoobar> okay. so ACE just shows .. static text?
[13:48:03] <Foxandxss> no
[13:48:04] <Foxandxss> editable text
[13:48:29] <foofoobar> Am I able to extend ACE like for example a double click on a line alerts the line number?
[13:48:43] <Foxandxss> I don't know
[13:48:44] *** arizzo_ has joined #angularjs
[13:48:48] <Foxandxss> you have to see if ACE supports that
[13:48:58] <Foxandxss> it is a full blown editor
[13:49:09] <Foxandxss> that ui-ace is just a directive wrapper
[13:49:43] *** jonog has quit IRC
[13:49:48] *** Willow has quit IRC
[13:50:08] <foofoobar> all right, I will have a look at this. Thanks a lot!
[13:50:18] *** jonog has joined #angularjs
[13:50:21] *** Willow has joined #angularjs
[13:50:37] *** scmx has joined #angularjs
[13:51:18] *** lsiv568 has joined #angularjs
[13:52:07] *** quantax_ has quit IRC
[13:52:28] *** ascarter has joined #angularjs
[13:52:44] *** fbenoit has joined #angularjs
[13:52:45] *** knownasilya has joined #angularjs
[13:52:45] *** arizzo has quit IRC
[13:52:49] *** eutheria has joined #angularjs
[13:53:05] *** sdouglas has joined #angularjs
[13:53:09] *** cece has quit IRC
[13:53:41] *** eutheria has quit IRC
[13:54:02] *** _jpfm has quit IRC
[13:54:33] *** Willow has quit IRC
[13:54:59] *** hugorodrigues has joined #angularjs
[13:55:18] *** jonog has quit IRC
[13:55:49] *** eutheria has joined #angularjs
[13:56:05] *** Aartsie has joined #angularjs
[13:56:33] *** sysko has quit IRC
[13:57:05] *** jpstone has quit IRC
[13:58:03] *** sdouglas has quit IRC
[13:58:18] <Hounddog> Foxandxss: ui.codemirror is also neat
[13:59:00] <Foxandxss> ah, and still alive
[13:59:09] *** dob_ has quit IRC
[13:59:15] *** dob_ has joined #angularjs
[13:59:27] *** hugorodrigues has quit IRC
[13:59:35] <Hounddog> i remember i had some problems using ace... no idea what problems i had though
[13:59:35] *** jstroem has joined #angularjs
[13:59:43] <Foxandxss> well, plunker is ACE
[13:59:47] <Foxandxss> and works really really good
[14:00:05] *** drej has quit IRC
[14:00:16] *** ETBlue has quit IRC
[14:00:38] *** Sgeo_ has quit IRC
[14:00:43] *** tarnus has joined #angularjs
[14:00:46] *** yoshokatana has joined #angularjs
[14:00:46] *** astericky has joined #angularjs
[14:00:48] <Hounddog> not tested that yet but looks interesting as an IDE
[14:01:02] <Foxandxss> ah, I saw an article somewhere
[14:01:05] <Hounddog> erm sorry broweser i mean
[14:01:07] <Foxandxss> did you try it?
[14:01:09] *** jstroem has quit IRC
[14:01:11] <Hounddog> nope
[14:01:11] <Foxandxss> ah
[14:01:18] *** caitp- has quit IRC
[14:01:21] <Foxandxss> let's try
[14:01:22] <Foxandxss> won't bite
[14:01:24] *** jstroem has joined #angularjs
[14:01:26] <Hounddog> :)
[14:01:34] *** TorchDragon has joined #angularjs
[14:03:10] *** mattwynne has quit IRC
[14:04:04] *** caitp- has joined #angularjs
[14:04:38] *** bkuberek has joined #angularjs
[14:05:15] *** phuh has quit IRC
[14:05:36] *** phuh has joined #angularjs
[14:06:00] *** TorchDragon has quit IRC
[14:06:09] <Foxandxss> Hounddog: well, it is a cool start
[14:06:17] <Hounddog> just downloaded
[14:06:23] <Hounddog> and got sidetracked
[14:06:26] *** Sebastien-L has quit IRC
[14:06:35] *** jstroem has quit IRC
[14:06:36] <Hounddog> Noticed i should clean up my downloads directory :p
[14:06:54] <Foxandxss> bah, it is cool to find out later what you have there
[14:06:57] <Foxandxss> like christmas
[14:07:05] <Hounddog> hehe
[14:07:27] <Hounddog> but its like download, download(1........20)
[14:07:36] <Hounddog> text, text(1....20)
[14:07:38] <Hounddog> and so on
[14:07:52] <Foxandxss> oh, it is chromium, so it has the dev tools
[14:07:59] <Hounddog> thats cool
[14:08:07] *** rtpg has quit IRC
[14:08:10] <Hounddog> i just saw about the chromium layer
[14:08:10] *** bengillies has quit IRC
[14:08:34] *** rtpg has joined #angularjs
[14:08:49] *** mrogne has joined #angularjs
[14:08:55] *** ascarter has quit IRC
[14:09:04] *** leftblank has quit IRC
[14:10:10] <Hounddog> ok so i need the sandbow first
[14:10:29] <Hounddog> box...
[14:11:44] *** fdrechsler has quit IRC
[14:11:45] *** DevAntoine has joined #angularjs
[14:12:04] <Hounddog> Foxandxss: install mods vi git repository sounds awesome already
[14:12:10] <Foxandxss> yeah
[14:12:25] *** foo-bar- has joined #angularjs
[14:12:29] <Foxandxss> and you can see all modules installed, if they are up to date, you can kill them, refresh them...
[14:12:38] *** rtpg has quit IRC
[14:12:39] <mettjus> is it possible to pass a function (receiving an argument) as attribute value to a directive (it has to be watched)?
[14:13:17] <Foxandxss> a callback?
[14:13:23] <mettjus> something like:
[14:13:23] <mettjus> <div some-dir="someFunc(someValue)" ….
[14:13:28] <Foxandxss> yeah
[14:13:29] *** balboah has joined #angularjs
[14:13:30] *** ingshtrom has joined #angularjs
[14:13:36] <Foxandxss> and then call it from the directive
[14:13:41] <Foxandxss> and call someFunc on your controller
[14:13:45] *** L8TR has quit IRC
[14:13:49] <mettjus> no i want the return value of the func
[14:14:01] <mettjus> right now i have isolate scope
[14:14:13] <mettjus> like {someDir:'='}
[14:14:41] <mettjus> but don't know if it's correct/good approach
[14:14:43] *** wiherek has joined #angularjs
[14:14:44] <wiherek> hi
[14:15:00] *** bengillies has joined #angularjs
[14:15:04] *** Sebastien-L has joined #angularjs
[14:15:14] <wiherek> can I add optional route parameters to states?
[14:15:20] *** L8TR has joined #angularjs
[14:15:30] <wiherek> or have one state with two urls?
[14:15:49] <mettjus> Foxandxss: myFunc actually should decorate an object before it gets passed to the directive
[14:16:10] *** mange has joined #angularjs
[14:16:31] <wiherek> I wonder how safe it is to user master
[14:16:38] <wiherek> branch from angular ui router
[14:16:59] *** Joulse has joined #angularjs
[14:17:09] <Hounddog> Foxandxss: missing some shortcuts though. guess need to programm then. open new tab close tab open in new tab/window and such
[14:17:16] *** veer89 has quit IRC
[14:17:21] <DevAntoine> I'm not sure to get the differences between compile and link when writing directives. I'm writing a directive that makes a table's header fixed, so I have some dom manipulations and an event listener. Am I suppose to do the dom manipulations inside the compile and return a link function containing the event listener, or should I put everything inside a link function?
[14:17:24] <DevAntoine> if I use the link function my copied dom node's translations aren't working. If I use the compile function the browser freeze because of a digest cycle issues
[14:17:34] <Foxandxss> Hounddog: those works for me
[14:17:41] <Foxandxss> mettjus: you're mixing '=' and interpolation
[14:17:54] <Hounddog> ctrl+t for tab and ctrl+w to close?
[14:18:04] <Foxandxss> Hounddog: command + t to open, command + w to close
[14:18:08] <Foxandxss> ah, windows?
[14:18:10] <mettjus> Foxandxss: probably yes, i'm tryin to wrap my head around it
[14:18:12] <Hounddog> ubuntu
[14:18:20] <Foxandxss> well, should work anwyay
[14:18:22] *** gnrlbzik has quit IRC
[14:18:24] <wiherek> DevAntoine: controller returns before link. that's the first thing. Basically you should keep your data manipulation in the controller, and DOM manipulation in the link (if they are exclusive)
[14:18:24] <Foxandxss> anyway*
[14:18:25] <Hounddog> hmmm nope
[14:18:37] *** akrikos has joined #angularjs
[14:18:49] <Foxandxss> weird
[14:18:54] <Foxandxss> maybe a bug
[14:18:58] *** gnrlbzik has joined #angularjs
[14:18:58] <Foxandxss> brb, lunch
[14:19:01] <DevAntoine> wiherek: I'm not talking about controllers
[14:19:03] <wiherek> the controller in the directive you can use to create a dependency for another directive, as it will always run before
[14:19:20] <DevAntoine> wiherek: yes I know about controller inside the directive, but I'm asking about compile and link
[14:19:21] *** astericky has quit IRC
[14:19:30] *** kalusn has joined #angularjs
[14:19:30] *** vader has joined #angularjs
[14:19:47] *** avens has quit IRC
[14:20:57] *** simsketch_ has joined #angularjs
[14:21:39] *** tgkokk has joined #angularjs
[14:21:45] *** josip_ has joined #angularjs
[14:21:54] <josip_> hello
[14:22:00] <josip_> i'm having a problem with ng-click
[14:22:02] *** tgkokk has quit IRC
[14:22:21] <josip_> <span class="btn btn-default" ng-click="changeStatus(item.id,1)">Yes</span>
[14:22:34] *** marr has quit IRC
[14:22:37] <josip_> i wrote it like this
[14:22:41] *** tgkokk has joined #angularjs
[14:22:50] <josip_> $scope.changeStatus = function(id, status_id) { $log.log("radi"); dataFactory.changeStatus(id, status_id); }
[14:22:59] <josip_> $log.log does nothing
[14:23:00] <DevAntoine> I'm wondering why the translations don't work when I'm copying some dom elements inside my link function. I should use compile I guess, but this infinite digest cycle is killing me
[14:23:02] *** HelperW_ has quit IRC
[14:23:04] <josip_> function is neve r called
[14:23:15] *** gnrlbzik has quit IRC
[14:23:19] <josip_> anyone?
[14:23:35] *** HelperW_ has joined #angularjs
[14:23:48] <lsiv568> josip_: what function is never called
[14:23:50] <wiherek> DevAntoine, you can always use $compile inside the link function
[14:23:56] *** Ethix has quit IRC
[14:23:59] <josip_> $scope.changeStatus
[14:24:06] <wiherek> on the specific subelement that contains the translation
[14:24:10] <josip_> $log.log inside it doesnt write anything to console
[14:24:32] <DevAntoine> wiherek: yep, but, I'm still bothered by not knowing what's the difference between compile and link and what should I use
[14:25:14] <lsiv568> josip_: i would try setting up a plunk
[14:25:18] <wiherek> from what I understand, compile is used to manipulate the template that you provide, not just inserting the template into DOM
[14:25:21] <mettjus> josip_: not sure about that but could it be the scope u declare the function on is not the scope ng-click is in?
[14:25:22] <lsiv568> looks like things should work as you have them...
[14:25:24] <josip_> i'm on it
[14:25:32] *** Fishy has quit IRC
[14:25:36] <josip_> can plunk be private?
[14:25:41] <mettjus> y
[14:25:44] <wiherek> i know that ng-repeat uses compile to actually copy the elements INSIDE the template before rendering it
[14:25:45] <mettjus> default
[14:25:46] *** mmone has joined #angularjs
[14:25:55]
<crooksey> Anyone help? I have basic code and don't know why I am getting an error: http://jsfiddle.net/uMRR9/ error "Error: [$injector:nomod] Module 'orders' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify ...<omitted>...2)"
[14:26:07] <wiherek> if you just provide some template, or manipulate existing DOM, I guess you'll be ok with link
[14:26:26] <DevAntoine> wiherek: well, when I talk about dom manipulation, I talk about dom insertion to be more specific
[14:26:34] *** JasonStoltz has joined #angularjs
[14:26:47] *** Fishy has joined #angularjs
[14:26:47] <wiherek> do you modify the HTML inside the template that you provide?
[14:26:57] *** jstroem has joined #angularjs
[14:27:55] <DevAntoine> wiherek: the directive doesn't come with a template, but I'm modifying the template where the directive is called yes
[14:28:31] *** cboden has joined #angularjs
[14:29:19] <wiherek> i think that compile is used when you modify a template that you provide with the directive
[14:29:39] <DevAntoine> can someone assert that?
[14:30:08] *** mmone has quit IRC
[14:30:17] <DevAntoine> Foxandxss maybe?
[14:30:26] *** retzloff has joined #angularjs
[14:31:43] *** Fishy has quit IRC
[14:31:52] *** elterago has joined #angularjs
[14:32:18] *** skyx_ has joined #angularjs
[14:32:50] *** uf6667 has quit IRC
[14:32:58] <lsiv568> josip_: looking now
[14:33:31] <josip_> ty, i msged you on private chat
[14:34:38] *** mdel has joined #angularjs
[14:35:13] <foofoobar> Foxandxss, wow, ACE is _really_ fast.. Thanks for the hint.
[14:35:40] *** fedenunez has joined #angularjs
[14:36:28] *** Sky[x] has quit IRC
[14:36:39] *** InezK_away is now known as InezK
[14:36:43] *** walden|afk is now known as walden
[14:38:01] *** lucasefe has quit IRC
[14:38:07] *** ustunozgur has joined #angularjs
[14:38:34] *** danielpquinn has joined #angularjs
[14:39:14] <Foxandxss> foofoobar: good to know
[14:39:33] <Foxandxss> DevAntoine: assert what
[14:39:52] <DevAntoine> Foxandxss: <wiherek> i think that compile is used when you modify a template that you provide with the directive
[14:39:58] *** mattwynne has joined #angularjs
[14:40:01] *** KamalKaur has joined #angularjs
[14:40:17] *** jeffszusz has joined #angularjs
[14:40:17] *** jstroem has quit IRC
[14:40:30] *** disorder20 has joined #angularjs
[14:40:59] *** jstroem has joined #angularjs
[14:41:04] *** ustunozg_ has quit IRC
[14:41:21] <crooksey> Anyone have any idea on my jsdiffle?
[14:41:25] <crooksey> *jsfiddle
[14:41:41] <Foxandxss> let me see, I Will make an exception, I don't open fiddles
[14:41:43] *** mmitchell has joined #angularjs
[14:42:03] *** drej has joined #angularjs
[14:42:13] *** hswolff has joined #angularjs
[14:42:14] *** drej has quit IRC
[14:42:32] <Foxandxss> boh, jsfiddle is complaining about html tag
[14:42:34] <Foxandxss> fuck this shit
[14:42:35] <Foxandxss> I close it
[14:42:53] *** daslicht has joined #angularjs
[14:42:58] *** danielpquinn has quit IRC
[14:43:24] *** marcio has joined #angularjs
[14:43:30] <crooksey> ok..
[14:43:36] *** marcio is now known as spaceonline
[14:44:09] <Foxandxss> use plunker
[14:44:10] <Foxandxss> always
[14:44:40] <Foxandxss> well, I see <scrip>
[14:44:51] <Foxandxss> a (function() {}); that is not needed
[14:45:03] <crooksey> scrip as my firewall doesnt allow posting of script
[14:45:04] *** mattwynne has quit IRC
[14:45:11] <crooksey> Due to scripting rules
[14:45:19] <Foxandxss> you're importing 'ui' which doesn't exist
[14:45:20] *** jstroem has quit IRC
[14:45:30] *** uf6667 has joined #angularjs
[14:45:38] *** drej has joined #angularjs
[14:45:48] *** arizzo_ has quit IRC
[14:46:06] *** arizzo has joined #angularjs
[14:46:18] <crooksey> Oh yea, can I just do? this.orders = angular.module('orders');
[14:46:22] *** InezK is now known as InezK_away
[14:46:31] <Foxandxss> no
[14:46:36] <Foxandxss> that is angular 101
[14:46:39] <Foxandxss> you should read the doc
[14:47:06] *** mfunkie has joined #angularjs
[14:47:16] *** spaceonline has quit IRC
[14:47:38] *** spaceonline has joined #angularjs
[14:47:40] *** ajk27 has quit IRC
[14:47:42] *** balboah has quit IRC
[14:48:36] *** mattwynne has joined #angularjs
[14:48:57] *** ajk27 has joined #angularjs
[14:48:58] *** ustunozgur has quit IRC
[14:49:24] *** chabier has joined #angularjs
[14:49:53] *** linojon has joined #angularjs
[14:51:03] *** vader has quit IRC
[14:51:14] *** retzloff has quit IRC
[14:51:30] *** sysko has joined #angularjs
[14:52:20] *** VictorBjelkholm has quit IRC
[14:52:47] *** retzloff has joined #angularjs
[14:53:09] *** spookyfork has joined #angularjs
[14:53:40] *** retzloff has quit IRC
[14:53:44] *** ustunozgur has joined #angularjs
[14:53:56] *** spookyfork has quit IRC
[14:54:01] *** balboah has joined #angularjs
[14:55:01] *** _jpfm has joined #angularjs
[14:56:29] *** cotko has quit IRC
[14:56:40] *** oa_ has joined #angularjs
[14:56:58] *** HelperW__ has joined #angularjs
[14:57:42] *** imehesz has joined #angularjs
[14:57:49] *** spaceonline has quit IRC
[14:57:56] *** amedia has quit IRC
[14:58:00] *** jillesme has joined #angularjs
[14:58:03] *** sysko has quit IRC
[14:58:22] *** DrMabuse has quit IRC
[14:58:37] *** ustunozgur has quit IRC
[14:58:42] *** josip_ has quit IRC
[14:58:58] *** DrMabuse has joined #angularjs
[14:59:00] *** zouave has quit IRC
[14:59:18] *** KamalKaur has quit IRC
[14:59:25] *** chabier has quit IRC
[14:59:47] *** zouave has joined #angularjs
[15:00:34] *** HelperW_ has quit IRC
[15:00:51] *** Obversity has joined #angularjs
[15:00:57] *** amedia has joined #angularjs
[15:00:58] *** spaceonline has joined #angularjs
[15:00:59] *** bmac has joined #angularjs
[15:01:48] *** mercwithamouth has joined #angularjs
[15:02:56] *** chabier has joined #angularjs
[15:03:41] *** DrMabuse has quit IRC
[15:03:42] <Hounddog> firewall blocking scrip? yeah, all javascript is evil...
[15:04:29] *** Aartsie has quit IRC
[15:04:30] *** mange has quit IRC
[15:04:47] <Foxandxss> yup, gonna kill your cat
[15:04:47] *** Serdar has quit IRC
[15:05:04] *** azizur has quit IRC
[15:05:05] *** Serdar has joined #angularjs
[15:05:11] *** phuh has quit IRC
[15:05:16] *** motionman has joined #angularjs
[15:05:16] *** motionman has joined #angularjs
[15:05:20] *** Aartsie has joined #angularjs
[15:05:23] <Hounddog> Foxandxss: that breach is interesting but not there yet.
[15:05:40] *** phuh has joined #angularjs
[15:05:42] *** HelperW__ has quit IRC
[15:05:55] <Hounddog> Foxandxss: i believe next thing they should actually have a site with modules to install via click
[15:05:58] *** mercwithamouth has quit IRC
[15:06:16] *** HelperW__ has joined #angularjs
[15:06:17] *** francisl has joined #angularjs
[15:06:17] <Foxandxss> yeah
[15:06:22] <Foxandxss> I see it more as an experiment
[15:06:24] <Foxandxss> than a real deal
[15:06:37] <Foxandxss> but could be interesting to hack it with angular :P
[15:06:44] <Hounddog> hehe
[15:06:57] *** VictorBjelkholm has joined #angularjs
[15:07:26] <Hounddog> Reminds me somewhat of firefox os though :)
[15:07:47] <DevAntoine> hum, if I do use $compile in my directive, yes, translations of cloned dom node are working
[15:07:49] <Foxandxss> ah, true. Not sure how is that going
[15:07:54] *** vader has joined #angularjs
[15:08:04] <Foxandxss> assuming it is... going
[15:08:34] <Hounddog> Foxandxss: i checked it on a conference i organized but they had problems to save pictures and such accessing the harddrive basically... i figure that should be solved by now
[15:08:38] *** bayousoft has joined #angularjs
[15:09:14] *** leftblank has joined #angularjs
[15:10:08] *** francisl has quit IRC
[15:10:35] *** krawchyk has joined #angularjs
[15:10:50] *** FIFOd[a] has joined #angularjs
[15:10:51] *** ajenba has joined #angularjs
[15:11:04] <ajenba> hey
[15:11:28] *** FunnyLookinHat has quit IRC
[15:11:55] *** teslanick has joined #angularjs
[15:12:14] *** teslanick has quit IRC
[15:12:49] *** syed99 has quit IRC
[15:12:51] *** avens has joined #angularjs
[15:13:10] *** marmalade___ has joined #angularjs
[15:14:21] *** sk87 has joined #angularjs
[15:14:30] *** chabier has quit IRC
[15:14:33] *** mccarrontr1ck has joined #angularjs
[15:14:38] *** basichash has quit IRC
[15:14:52] *** rburns has joined #angularjs
[15:17:18] *** _jpfm has quit IRC
[15:17:18] *** fedenunez has quit IRC
[15:17:53] *** Xethron_ has joined #angularjs
[15:17:55] *** jharbaugh has joined #angularjs
[15:18:02] *** ccohn has joined #angularjs
[15:18:22] *** jonog has joined #angularjs
[15:18:46] *** feelfine has joined #angularjs
[15:19:04] *** Joulse has quit IRC
[15:19:07] *** mdedetrich has joined #angularjs
[15:19:10] *** jpstone has joined #angularjs
[15:19:56] *** dazs has quit IRC
[15:20:20] *** Xethron has quit IRC
[15:20:36] *** dazs has joined #angularjs
[15:20:59] *** jharbaug_ has quit IRC
[15:21:22] *** drej_ has joined #angularjs
[15:21:28] *** tgkokk has quit IRC
[15:22:32] *** someones_dad has joined #angularjs
[15:22:46] *** gnrlbzik has joined #angularjs
[15:23:34] *** drej has quit IRC
[15:23:37] *** arizzo has quit IRC
[15:23:55] *** tgkokk has joined #angularjs
[15:24:11] *** arizzo has joined #angularjs
[15:24:13] *** tgkokk has quit IRC
[15:24:21] *** jtimon has joined #angularjs
[15:24:30] *** DrMabuse has joined #angularjs
[15:24:32] *** TorchDragon has joined #angularjs
[15:24:55] *** tgkokk has joined #angularjs
[15:25:33] *** bayousoft has quit IRC
[15:25:36] <Foxandxss> that should work
[15:25:48] <caitp-> why is it so cold it's almost august gahhh
[15:26:03] <Foxandxss> cold > hot
[15:26:05] <Foxandxss> all day long
[15:26:12] <lsiv568> +1
[15:26:33] <zelrik> I like cold as long as it s above 0C
[15:26:50] *** bengilli_ has joined #angularjs
[15:26:58] *** bengillies has quit IRC
[15:27:01] *** TehShrike|Work has left #angularjs
[15:27:03] <Foxandxss> yeah
[15:27:11] <quan__> im enjoying the reprieve from the heat
[15:27:17] *** gnrlbzik has quit IRC
[15:27:19] *** mac_ified has joined #angularjs
[15:27:19] <crooksey> Foxandxss: yea it should, well according to the docs, however [ng:areq] Argument 'MyCtrl' is not a function, got undefined
[15:27:33] *** BillCriswell has joined #angularjs
[15:27:36] <Foxandxss> ya
[15:27:40] <Foxandxss> you shouldn't create controllers like that
[15:27:45] *** someones_dad has quit IRC
[15:27:46] <Foxandxss> create your own module and there a controller
[15:28:12] <zelrik> MyCtrl is not a good name :)
[15:28:20] *** arizzo has quit IRC
[15:28:25] *** krotscheck has quit IRC
[15:28:41] *** Fishy has joined #angularjs
[15:28:50] <zelrik> MyController is better
[15:29:04] *** bengillies has joined #angularjs
[15:29:06] <crooksey> Yea, but why won't what I have work?
[15:29:06] *** bengilli_ has quit IRC
[15:29:52] <Foxandxss> apart of the scrip again
[15:29:56] <Foxandxss> it should
[15:29:59] <Foxandxss> still, do it right
[15:30:08] <Foxandxss> zelrik: I prefer Ctrl
[15:30:10] <Foxandxss> personal taste
[15:30:13] *** arizzo has joined #angularjs
[15:30:19] <zelrik> crooksey, because it s wrong?
[15:30:25] *** lenswipe has joined #angularjs
[15:30:25] *** lenswipe has joined #angularjs
[15:30:27] *** lw has joined #angularjs
[15:30:31] <zelrik> define things within the framework
[15:30:42] *** Willow has joined #angularjs
[15:30:54] *** Joulse has joined #angularjs
[15:30:55] *** azizur has joined #angularjs
[15:31:09] <zelrik> app.controller('MyController',[ '$scope',function($scope){ // your code here }]);
[15:31:19] *** HelperW___ has joined #angularjs
[15:31:25] *** bphogan_afk is now known as bphogan
[15:31:40] *** Fire-Dragon-DoL has joined #angularjs
[15:31:55] <zelrik> your app isnt even defined
[15:32:00] *** darrin has joined #angularjs
[15:32:00] *** MaxV_ has joined #angularjs
[15:32:36] *** sk87 has quit IRC
[15:32:46] *** ericrav has joined #angularjs
[15:32:47] <zelrik> Foxandxss, I think using english words is best
[15:32:52] *** jshultz has joined #angularjs
[15:33:09] <zelrik> one reason is that your spellcheck will show you the typos
[15:33:09] <Foxandxss> personal taste
[15:33:23] <zelrik> The other is that it s more readable
[15:33:24] *** basichash has joined #angularjs
[15:34:04] *** jobelenus has joined #angularjs
[15:34:05] *** MaxV has quit IRC
[15:34:10] <jpstone> in your opinion.
[15:34:28] <quan__> .... man
[15:34:28] *** teeray has joined #angularjs
[15:34:28] *** krotscheck has joined #angularjs
[15:34:46] *** FunnyLookinHat has joined #angularjs
[15:34:50] *** HelperW__ has quit IRC
[15:34:50] <zelrik> well you can still add ctrl to your dictionary
[15:35:02]
<basichash> I'm trying to include ngDragDrop in one of my angular-fullstack controllers, but i'm getting this error in the console: https://dpaste.de/DHqO
[15:35:27] *** iksik_ has quit IRC
[15:35:42] <Foxandxss> zelrik: I find controller really wordy
[15:35:49] <zelrik> it s ok
[15:35:51] <Foxandxss> it is like internazionalization
[15:35:54] <zelrik> it will be minified
[15:35:54] <Foxandxss> it is called i18n
[15:36:04] *** arthas has joined #angularjs
[15:36:04] *** arthas has joined #angularjs
[15:36:13] <Foxandxss> strings are not minified :P
[15:36:16] *** cece has joined #angularjs
[15:36:28] <zelrik> well ok
[15:36:39] *** chabier has joined #angularjs
[15:37:03] *** Suresh has joined #angularjs
[15:37:09] *** leftblank has quit IRC
[15:37:13] *** InezK_away is now known as InezK
[15:37:25] *** Suresh is now known as Guest71036
[15:37:25] *** Justus has joined #angularjs
[15:37:44] <zelrik> that reminds me of one of my physics teacher
[15:37:45] *** gnrlbzik has joined #angularjs
[15:37:54] <zelrik> he stopped putting arrows on top of vectors
[15:38:05] <jpstone> basichash: it looks like you need to add it to your app.js first
[15:38:23] <zelrik> his argument is that it was inefficient and that we should know implicitly what it means
[15:38:28] *** iksik has joined #angularjs
[15:38:49] <Foxandxss> that is bad, you can't assume
[15:38:50] *** wiherek has quit IRC
[15:38:54] <zelrik> my personal opinion is that those people should burn in hell
[15:38:55] <zelrik> :D
[15:38:59] *** johnstorey has quit IRC
[15:39:08] <zelrik> I think the same for Ctrl
[15:39:19] *** amedia has quit IRC
[15:39:21] *** danielpquinn has joined #angularjs
[15:40:06] *** ededagic has quit IRC
[15:40:07] <Foxandxss> I don't want to be burnt on hell
[15:40:17] <Foxandxss> because you have different opinions
[15:40:18] <fwielstra> I heard it’s quite uncomfortable there
[15:40:32] <Foxandxss> well, I heard that on BBQ Time it is cool
[15:40:37] <basichash> jpstone: thanks'
[15:40:45] <zelrik> I don't want you to burn in hell Foxandxss dont worry
[15:41:10] *** jstroem has joined #angularjs
[15:41:11] *** Guest71036 has quit IRC
[15:41:12] *** lsiv568 has quit IRC
[15:41:17] <quan__> he just wants you to be tormented for eternity
[15:41:23] <zelrik> I just feel strongly about conventions and best practices sometimes
[15:41:25] *** tarkus has joined #angularjs
[15:41:25] *** fbenoit has quit IRC
[15:41:25] *** hswolff has quit IRC
[15:41:32] <jpstone> Repent of your truncated controller names!
[15:41:52] *** doodlehaus has joined #angularjs
[15:41:54] *** fbenoit has joined #angularjs
[15:41:57] *** mpaarating has joined #angularjs
[15:41:57] <zelrik> lool
[15:42:06] *** ReactiveIO has joined #angularjs
[15:43:12] *** cacts|works has joined #angularjs
[15:43:12] *** hugorodrigues has joined #angularjs
[15:43:17] <Foxandxss> hah, I remember it
[15:43:23] *** HelperW___ has quit IRC
[15:43:24] *** TehShrike|Work has joined #angularjs
[15:43:30] *** jdcasey has joined #angularjs
[15:43:39] *** alex88 has joined #angularjs
[15:43:55] *** HelperW___ has joined #angularjs
[15:44:04] *** jonog has quit IRC
[15:44:23] *** danielpquinn has quit IRC
[15:44:41] *** jonog has joined #angularjs
[15:44:48] <alex88> hi guys, if I have a string in a js controller file, and I've some angular template in that like {{somevar|somefilter}} etc, how can I render it based on an object/scope inline and assign to another variable?
[15:44:54] *** leftblank has joined #angularjs
[15:44:59] *** _jpfm has joined #angularjs
[15:45:01] *** Gu_______ has quit IRC
[15:45:09] *** gnrlbzik has quit IRC
[15:45:40] *** jstroem has quit IRC
[15:46:26] *** Schtive has joined #angularjs
[15:46:42] *** chabier has quit IRC
[15:46:43] *** bayousoft has joined #angularjs
[15:47:06] *** jonog_ has joined #angularjs
[15:47:06] *** InezK is now known as InezK_away
[15:47:15] *** jonog has quit IRC
[15:47:33] *** Destos has joined #angularjs
[15:47:50] *** hugorodrigues has quit IRC
[15:47:50] *** KamalKaur has joined #angularjs
[15:49:04] *** JimTheDev has joined #angularjs
[15:49:04] *** JimTheDev has joined #angularjs
[15:49:15] *** lsiv568 has joined #angularjs
[15:49:36] *** elux has joined #angularjs
[15:49:54] *** KamalKaur has left #angularjs
[15:49:56] *** jonog_ has quit IRC
[15:50:31] *** jonog has joined #angularjs
[15:50:54] *** jdcasey has quit IRC
[15:50:58] *** shackleford has joined #angularjs
[15:51:04] *** simsketch_ has quit IRC
[15:51:10] *** mykz_ has quit IRC
[15:51:17] *** Willow has quit IRC
[15:51:22] *** astericky has joined #angularjs
[15:51:25] *** bkuberek has quit IRC
[15:51:27] *** Shrooms has joined #angularjs
[15:51:53] *** Willow has joined #angularjs
[15:51:53] *** shackleford has quit IRC
[15:52:13] *** shackleford has joined #angularjs
[15:53:08] *** arrty has joined #angularjs
[15:53:58] *** nostrzak has quit IRC
[15:54:52] *** jonog has quit IRC
[15:56:18] *** Willow has quit IRC
[15:56:36] *** dcherman has joined #angularjs
[15:57:07] *** dylukes has joined #angularjs
[15:57:11] *** gocho has joined #angularjs
[15:58:36] *** someones_dad has joined #angularjs
[15:58:40] *** conlinism has joined #angularjs
[15:58:53] *** jbourassa has joined #angularjs
[15:58:57] *** conlinism has quit IRC
[15:59:05] *** \du has joined #angularjs
[15:59:05] *** \du has joined #angularjs
[15:59:15] *** conlinism has joined #angularjs
[15:59:28] *** ajenba has quit IRC
[16:00:05]
<crooksey> Ok, so I have re-read the docs and sorted my code, can anyone help me loop through my data and table rows? i can get ng-repeat working inside a list fine, but not as rows: top example doesn't work, bottom one does http://paste.ofcode.org/puvfMfuRnb2kdQLADbGbDP
[16:00:07] *** lsiv568 has quit IRC
[16:00:42] *** marr has joined #angularjs
[16:01:12] *** astericky has quit IRC
[16:01:26] *** balboah has quit IRC
[16:01:38] *** oa_ has quit IRC
[16:02:43] *** motionman has quit IRC
[16:02:47] <jpstone> crooksey: where's your <table> tag
[16:02:48] <jpstone> ?
[16:03:31] *** xaxisx has joined #angularjs
[16:03:35] <crooksey> was a section of my code
[16:03:39] *** balboah has joined #angularjs
[16:03:44] *** lsiv568 has joined #angularjs
[16:04:11] *** gnrlbzik has joined #angularjs
[16:04:46] *** gocho has quit IRC
[16:05:04] *** ngoyal has joined #angularjs
[16:05:07] *** gocho has joined #angularjs
[16:05:12] *** phuh has quit IRC
[16:05:18] *** francisl has joined #angularjs
[16:05:35] *** Justus has quit IRC
[16:05:38] *** phuh has joined #angularjs
[16:06:27] *** mykz_ has joined #angularjs
[16:06:28] <crooksey> ahh added controller to table tagg
[16:06:32] <conlinism> heyo
[16:06:41] *** uf6667 has quit IRC
[16:07:09] *** uf6667 has joined #angularjs
[16:07:22] *** mykz_ has quit IRC
[16:07:34] *** discipolo_ has joined #angularjs
[16:07:42] *** shaym_ has joined #angularjs
[16:07:58] *** IanOlson has joined #angularjs
[16:08:26] *** leftblank has quit IRC
[16:08:38] *** gnrlbzik has quit IRC
[16:08:59] *** mdedetrich has quit IRC
[16:09:08] *** billli has joined #angularjs
[16:09:44] *** _jpfm has quit IRC
[16:09:58] *** gnrlbzik has joined #angularjs
[16:10:07] *** fedenunez has joined #angularjs
[16:10:23] *** sdouglas has joined #angularjs
[16:11:10] *** _jpfm has joined #angularjs
[16:11:59] *** leftblank has joined #angularjs
[16:12:39] *** gocho has quit IRC
[16:12:58] *** AlexZan has joined #angularjs
[16:13:02] *** gocho has joined #angularjs
[16:13:29] *** ReactiveIO has quit IRC
[16:14:03] *** Nizumzen has joined #angularjs
[16:14:52] *** shinnya has joined #angularjs
[16:14:57] *** yoshokatana has joined #angularjs
[16:15:15] *** xaxisx has quit IRC
[16:15:28] *** gocho has quit IRC
[16:15:53] *** lucasefe has joined #angularjs
[16:16:12] *** gocho has joined #angularjs
[16:16:54] *** hswolff has joined #angularjs
[16:17:22] *** amedia has joined #angularjs
[16:17:34] *** oste has joined #angularjs
[16:17:39] *** jstimm has quit IRC
[16:18:28] *** jstimm has joined #angularjs
[16:19:03] *** teslanick has joined #angularjs
[16:19:04] *** cacts has quit IRC
[16:19:30] *** cthrax has joined #angularjs
[16:19:30] *** dhcar_AFK is now known as dhcar
[16:20:07] *** disorder20 is now known as kkuno
[16:20:09] *** no1uknow has joined #angularjs
[16:20:36] *** sk87 has joined #angularjs
[16:20:57] *** ChrisOei has quit IRC
[16:21:05] *** caitp- is now known as caitp
[16:21:54] *** agiantwhale has left #angularjs
[16:22:03] *** andrew9183 has joined #angularjs
[16:22:04] *** orion1111 has quit IRC
[16:22:26] *** ko3t has joined #angularjs
[16:22:53] *** sk87 has quit IRC
[16:23:09] *** partikus has quit IRC
[16:23:13] *** skyx_ has quit IRC
[16:23:34] *** rtpg has joined #angularjs
[16:23:40] *** yoshokatana_ has joined #angularjs
[16:23:45] *** yoshokatana_ has quit IRC
[16:24:07] <ko3t> hi! does it make sense to use angular for a 10 page online survey or is it an overkill? are there any surveys coded in angular you can point me to?
[16:24:28] *** xaxisx has joined #angularjs
[16:25:15] *** rho has joined #angularjs
[16:25:15] *** rho has joined #angularjs
[16:25:32] *** gocho has quit IRC
[16:25:50] *** gocho has joined #angularjs
[16:26:00] *** rchavik has quit IRC
[16:26:01] *** Tidwell has joined #angularjs
[16:26:51] <basichash> guys in this plunker how can I make it so that when you drag an item from list1, that item is deleted from the $scope.list1?
[16:27:11] *** arrty has quit IRC
[16:27:16] *** kareypowell has joined #angularjs
[16:28:31] *** zarul[afk] has joined #angularjs
[16:28:49] *** gocho has quit IRC
[16:28:56] *** Sebastien-L has quit IRC
[16:29:05] *** gocho has joined #angularjs
[16:29:11] *** Click66 has quit IRC
[16:29:30] <the-erm> ko3t: That's a tough question to answer ... I don't know much about your project. Personally if your thinking of using backbonejs, I'd go ahead and use angular. I've managed to re-build a page in 3-4 days (and add some really neat features) with angular that took weeks in backbone.
[16:30:14] *** icfantv has joined #angularjs
[16:30:15] <billli> Hey guys wondering where I can get some help with UI router and testing with karma
[16:31:02] <icfantv> oh, this is abuse. you want room 12A just along the cooridor.
[16:31:02] *** teslanick has left #angularjs
[16:31:11] *** zarul has quit IRC
[16:31:27] *** avens_ has joined #angularjs
[16:31:59] *** ikevin_____ has joined #angularjs
[16:32:03] <jpstone> basichash: is there an event that's fired on the drag/drop that you could listen for and update the $scope?
[16:32:08] *** jdowdle has joined #angularjs
[16:32:13] *** ikevin_____ is now known as ikevin_
[16:32:25] *** simsketch_ has joined #angularjs
[16:32:38] *** simsketch__ has joined #angularjs
[16:32:55] <jpstone> or perhaps the drag/drop directive provides a callback function?
[16:33:18] <jpstone> kind of like ui-angular-bootstrap's typeahead-on-select()
[16:33:24] *** gocho has quit IRC
[16:33:33] *** foofoobar has quit IRC
[16:34:19] *** KamalKaur has joined #angularjs
[16:35:03] *** avens has quit IRC
[16:35:37] *** upsell5 has joined #angularjs
[16:35:52] <jpstone> no
[16:35:56] <jpstone> looks like onStop is what you want
[16:36:04] *** droga has joined #angularjs
[16:36:21] *** amargherio has joined #angularjs
[16:36:36] <jpstone> just leverage that and when it fires, update your scope variable
[16:37:04] *** marie1973 has joined #angularjs
[16:37:17] *** xaxisx has quit IRC
[16:37:23] <leftblank> how can i mock ngSanitize’s $sanitize?
[16:37:30] *** droga has quit IRC
[16:37:43] *** umib0zu has joined #angularjs
[16:37:44] *** marie1973 has quit IRC
[16:37:52] *** KamalKaur has quit IRC
[16:38:20] *** InezK_away is now known as InezK
[16:38:32] *** boneskull has quit IRC
[16:38:34] *** sdouglas has quit IRC
[16:39:16] *** xaxisx has joined #angularjs
[16:39:16] *** rtpg has quit IRC
[16:39:22] *** xaxisx has quit IRC
[16:39:58] *** lucasefe has quit IRC
[16:40:07] *** danielpquinn has joined #angularjs
[16:40:09] *** arrty has joined #angularjs
[16:40:16] *** lucasefe has joined #angularjs
[16:40:28] *** xaxisx has joined #angularjs
[16:40:40] *** bkuberek has joined #angularjs
[16:40:46] *** boneskull has joined #angularjs
[16:40:53] *** MickeyO has joined #angularjs
[16:41:14] *** simsketch__ has quit IRC
[16:42:07] *** jstroem has joined #angularjs
[16:42:33] *** morgs32 has joined #angularjs
[16:43:05] *** mokush has quit IRC
[16:43:34] *** jstroem has quit IRC
[16:43:44] *** jstroem has joined #angularjs
[16:44:18] *** danielpquinn has quit IRC
[16:44:58] *** Browser_ has left #angularjs
[16:45:08] *** dhcar has quit IRC
[16:45:10] *** ASUChander has joined #angularjs
[16:46:05] *** subnl2 has joined #angularjs
[16:46:38] *** stirlingw has joined #angularjs
[16:47:02] *** lucasefe has quit IRC
[16:47:18] *** bahaaldine has quit IRC
[16:47:24] *** lucasefe has joined #angularjs
[16:47:55] *** InezK is now known as InezK_away
[16:48:11] *** lenswipe has quit IRC
[16:49:04] *** dhcar has joined #angularjs
[16:49:10] *** amal has quit IRC
[16:49:49] *** HypnotiX has quit IRC
[16:50:02] *** Anticom has quit IRC
[16:50:16] *** ccohn has quit IRC
[16:50:27] *** dhcar is now known as dhcar_AFK
[16:50:41] *** discipolo_ has quit IRC
[16:50:54] *** ccohn has joined #angularjs
[16:51:14] *** skyx_ has joined #angularjs
[16:51:25] *** heidi644 has joined #angularjs
[16:51:26] *** ericrav has quit IRC
[16:52:00] *** heidi644 is now known as jeberly
[16:52:08] *** Willow has joined #angularjs
[16:52:09] *** alex88 has left #angularjs
[16:52:52] *** NickMass has quit IRC
[16:53:59] *** AxldenieD has joined #angularjs
[16:54:58] *** ccohn has quit IRC
[16:55:01] *** torongeau has quit IRC
[16:55:05] *** NickMass has joined #angularjs
[16:55:13] *** fwielstra has quit IRC
[16:55:21] *** anderskristo has quit IRC
[16:55:23] *** lucasefe has quit IRC
[16:55:23] *** nemothekid has joined #angularjs
[16:55:23] *** someones_dad has quit IRC
[16:55:28] *** leftblank has quit IRC
[16:55:38] *** tk has joined #angularjs
[16:55:50] *** someones_dad has joined #angularjs
[16:55:54] *** mary5030 has joined #angularjs
[16:55:56] *** crooksey has quit IRC
[16:56:04] *** gnrlbzik has quit IRC
[16:56:13] *** lucasefe has joined #angularjs
[16:56:18] *** gnrlbzik has joined #angularjs
[16:56:20] *** Shrooms has quit IRC
[16:56:33] *** Willow has quit IRC
[16:56:48] *** xaxisx has quit IRC
[16:57:04] *** shorne has quit IRC
[16:57:04] *** stodan has quit IRC
[16:57:27] <TehShrike|Work> I have an isolate scope, but I want to be able to emit events to the scopes above it. Is there a reasonable way to do this?
[16:57:44] *** delerium_ has quit IRC
[16:58:30] *** stickperson has joined #angularjs
[16:59:02] *** sonofdirt has joined #angularjs
[16:59:17] *** xavia has joined #angularjs
[16:59:27] *** conan_the_destro has joined #angularjs
[16:59:29] *** xaxisx has joined #angularjs
[16:59:31] *** avree has quit IRC
[16:59:41] *** xaxisx has quit IRC
[16:59:47] *** ccohn has joined #angularjs
[16:59:58] *** someones_dad has quit IRC
[17:00:05] *** lsiv568 has quit IRC
[17:00:15] *** KamalKaur has joined #angularjs
[17:00:33] *** Jdubs has joined #angularjs
[17:00:38] *** xaxisx has joined #angularjs
[17:00:45] *** gordroidJS has joined #angularjs
[17:00:47] *** jonog has joined #angularjs
[17:01:02] *** gnarMatix has joined #angularjs
[17:01:03] <KamalKaur> #mysql
[17:01:06] <snzmn> is there a good way to debug "uncaught object" errors? i'm trying to figure out where it is that i'm not passing values
[17:01:13] *** gordroidJS has quit IRC
[17:01:16] *** cthrax_ has joined #angularjs
[17:01:27] *** jasoncurran has joined #angularjs
[17:01:33] *** cthrax has quit IRC
[17:01:37] *** dawhite has joined #angularjs
[17:01:37] <TehShrike|Work> snzmn: I ended up just putting a breakpoint on the line where that Error object is created :-\
[17:01:56] *** thedodd has joined #angularjs
[17:02:04] *** mercwithamouth has joined #angularjs
[17:02:16] *** KamalKaur has left #angularjs
[17:03:28] *** bengillies has quit IRC
[17:03:55] *** neurix has joined #angularjs
[17:04:18] *** sdouglas has joined #angularjs
[17:04:34] *** phpxadmin has joined #angularjs
[17:04:47] *** _jpfm has quit IRC
[17:05:03] *** jonog has quit IRC
[17:05:03] *** Jdubs has quit IRC
[17:05:04] *** bengillies has joined #angularjs
[17:05:08] *** mchammer has quit IRC
[17:05:11] *** mven_ has quit IRC
[17:05:14] *** phuh has quit IRC
[17:05:31] <gnarMatix> snzmn: it's an issue with Chrome. if you put a breakpoint where the error object is (using unminified angular code) you can check the error message and figure out what the injector error was.
[17:05:32] *** DGiff52 has joined #angularjs
[17:05:41] *** phuh has joined #angularjs
[17:05:44] *** quartzmo has joined #angularjs
[17:05:56] <neurix> When I my routes set to .when > '/login' .otherwise > '/login', is it possible for users to access json files stored at /data/sample.json?
[17:06:16] *** teeray has quit IRC
[17:06:18] *** mercwithamouth has quit IRC
[17:06:33] *** bweston has quit IRC
[17:06:35] *** _jpfm has joined #angularjs
[17:06:37] *** endash has joined #angularjs
[17:06:59] <gnarMatix> is it common practise to internationalize URLs? e.g. if you have /user, does it become /utilisateur in french?
[17:07:43] *** jeberly has quit IRC
[17:07:45] <gnarMatix> neurix: that depends on if you're serving /data/sample.json
[17:07:52] *** jgladwill has joined #angularjs
[17:07:53] *** jgladwill has joined #angularjs
[17:08:04] *** teeray has joined #angularjs
[17:08:09] *** sdouglas has quit IRC
[17:08:15] <neurix> gnarMatix: How can I prevent it?
[17:08:17] *** GeertV_ has quit IRC
[17:08:23] <gnarMatix> neurix: don't serve it
[17:08:39] <gnarMatix> neurix: if you're using a static file server then you can't prevent it
[17:08:51] *** GeertV_ has joined #angularjs
[17:08:58] <gnarMatix> neurix: how are you serving the application?
[17:08:59] *** dob_ has quit IRC
[17:09:06] <neurix> gnarMatix: ok, that is the case
[17:09:13] <Hounddog> gnarMatix: i havent heard of that practice and in context with angular, that would mean a new route for every language wich i find crazy
[17:09:15] <neurix> static on S3
[17:09:28] *** secondjeff has quit IRC
[17:09:36] *** dob_ has joined #angularjs
[17:09:55] *** bmcgee has quit IRC
[17:10:01] *** uf6667 has quit IRC
[17:10:09] <gnarMatix> Hounddog: I just meant in general. I was thinking including the URL routes in the translation so that when a different language file is loaded, different URLs are loaded
[17:10:11] <gnarMatix> Hounddog:
[17:10:25] <gnarMatix> Hounddog: I guess it's kinda a weird concept though, to have different routing in different languages
[17:10:25] *** uf6667 has joined #angularjs
[17:10:43] <Hounddog> gnarMatix: doesnt seem right to me somehow
[17:10:49] <gnarMatix> neurix: If your Angular app uses it, it needs to be sent to the client & there's not really any way to prevent a user from seeing its contents
[17:10:58] *** morenoh150 has quit IRC
[17:11:06] <gnarMatix> neurix: as far as I know
[17:11:11] <gnarMatix> Hounddog: okay that makes sense
[17:11:15] *** kareypowell has quit IRC
[17:11:25] *** chrisbirk has joined #angularjs
[17:11:33] *** ChrisC_ has joined #angularjs
[17:12:05] *** AndyFTP has quit IRC
[17:12:08] <Hounddog> gnarMatix: for every added language you would have to hardcode a new route or you would have to make everything dynamic
[17:12:09] *** jdcasey has joined #angularjs
[17:12:47] <Hounddog> gnarMatix: dynamic as in /:param1/:param2 and so on and evaluate what the params actually are
[17:13:03] *** GeertV_ has quit IRC
[17:13:21] *** uf6667 has quit IRC
[17:14:14] *** shackleford has quit IRC
[17:14:17] *** Tidwell has quit IRC
[17:14:48] *** gordroidJS has joined #angularjs
[17:14:59] <neurix> gnarMatix: Thank you!
[17:15:38] *** devPlysiu has joined #angularjs
[17:15:52] *** gordroidJS has quit IRC
[17:16:52] *** devPlysiu is now known as plysiu
[17:17:25] *** gordroid has joined #angularjs
[17:17:58] *** bbankes has joined #angularjs
[17:18:51] *** srph has joined #angularjs
[17:19:37] *** uf6667 has joined #angularjs
[17:19:45] <srph> Is it possible for a child state to add new states resolves overwriting its parent's resolves?
[17:19:52] <gnarMatix> Hounddog: Yeah well I'm using gettext. So every route would be /gettext('users')/:params_would_not_be_translated
[17:19:59] *** alinou has joined #angularjs
[17:19:59] *** spion has quit IRC
[17:20:10] <gnarMatix> Hounddog: we'll see though. That is a crazy approach.
[17:20:20] *** lite_ has quit IRC
[17:20:24] <Hounddog> gnarMatix: so you have no other route then /users?
[17:20:32] *** dariocravero has joined #angularjs
[17:20:45] <gnarMatix> Hounddog: no there are other routes. but the routes would all be gettext translated
[17:20:55] *** dutis has quit IRC
[17:21:01] *** spion has joined #angularjs
[17:21:07] <gnarMatix> Hounddog: actually I'm not even sure it would work
[17:21:08] *** sdouglas has joined #angularjs
[17:21:09] <Hounddog> and subrouter?
[17:21:19] <Hounddog> gnarMatix: and subroutes?
[17:21:43] *** dutis has joined #angularjs
[17:21:53] *** shackleford has joined #angularjs
[17:22:06] <Hounddog> gnarMatix: thats what i am saying i dont think this would even work
[17:22:18] *** pdillinger2 has quit IRC
[17:24:55] *** teeray has quit IRC
[17:25:21] *** leftblank has joined #angularjs
[17:26:16] *** someones_dad has joined #angularjs
[17:26:19] *** subnl2 has quit IRC
[17:27:15] *** heidi644 has joined #angularjs
[17:27:20] *** shackleford has quit IRC
[17:27:25] *** S-Work has quit IRC
[17:27:29] *** teeray has joined #angularjs
[17:28:11] <srph> Hi, I am using ui-router. Is it possible for a child state to add new states resolves overwriting its parent's resolves?
[17:28:13] *** snapwich has joined #angularjs
[17:28:15] *** sdouglas has quit IRC
[17:28:20] *** avens_ has quit IRC
[17:28:33] *** cthrax_ has quit IRC
[17:28:39] *** avens has joined #angularjs
[17:28:40] *** krawchyk has quit IRC
[17:29:00] *** krawchyk has joined #angularjs
[17:29:48] <DevAntoine> OH
[17:29:50] <DevAntoine> MY
[17:29:51] <DevAntoine> GOD
[17:29:52] *** ccohn has quit IRC
[17:29:59] <DevAntoine> I'm having the weirdest angularjs bug ever
[17:30:10] *** shackleford has joined #angularjs
[17:30:10] *** Click66 has joined #angularjs
[17:30:13] <DevAntoine> or misunderstanding of its compiler (I opt for this one)
[17:30:19] *** avree has joined #angularjs
[17:30:28] *** ccohn has joined #angularjs
[17:30:33] *** ngbot has joined #angularjs
[17:30:33] <ngbot> angular.js/master d2f348b Almar: docs(misc core): fixed broken angular.copy example...
[17:30:34] *** ngbot has left #angularjs
[17:31:00] *** foobarbazbat has joined #angularjs
[17:31:18] *** jillesme has quit IRC
[17:31:35] *** hugorodrigues has joined #angularjs
[17:31:42] *** HelperW___ has quit IRC
[17:31:45] *** danielpquinn has joined #angularjs
[17:31:53] *** hannesvdvreken has quit IRC
[17:32:15] *** HelperW___ has joined #angularjs
[17:32:27] *** colin_ has joined #angularjs
[17:32:28] *** pozytron has joined #angularjs
[17:32:52] *** gauravsaini03 has quit IRC
[17:32:52] <DevAntoine> I have a custom directive on tables, which manipulate the dom. I do so in the directive's link function and use $compile to have the translations. The issue is the following: on some tables containing input number, in Firefox, whenever I got the focus into one of them, I can only enter one number and I lost the focus. The second time I got the focus, I can enter whatever numbers I want
[17:32:56] <colin_> hi.can i ask a question about yomen on ubuntu?
[17:33:37] *** asdfqwerty has quit IRC
[17:33:48] <DevAntoine> after hours struggling about this, I've rewrote my directive and replaced link to compile, and into te compile I return an anonymous function, which, if I don't say bullocks, is my link function. And this is working
[17:33:53] <DevAntoine> but I really wanna know why
[17:33:54] *** cthrax_ has joined #angularjs
[17:34:11] <pozytron> Hi, I’m using grunt with the nggettext_extract plugin to extract localizable strings from my templates. I was wondering if there is something similar for JS files?
[17:34:19] *** drej_ is now known as drej
[17:34:23] *** drej has joined #angularjs
[17:34:30] *** ngbot has joined #angularjs
[17:34:30] <ngbot> angular.js/master 1f23980 Caitlin Potter: revert: chore(travis): get npm dependencies from npm-bundle-deps...
[17:34:30] *** ngbot has left #angularjs
[17:34:48] *** sdouglas has joined #angularjs
[17:34:51] *** MANCHUCK has joined #angularjs
[17:35:00] <srph> Not sure, DevAntoine
[17:35:03] *** ccohn has quit IRC
[17:35:08] *** cthrax_ has quit IRC
[17:35:14] <DevAntoine> srph: about?
[17:35:32] *** Click66 has quit IRC
[17:35:37] <srph> It's possible this is due to the process of angular with directives, which is.. compile happens before link.. not sure if it's an important factor to note, though.
[17:35:39] *** Aartsie has quit IRC
[17:35:43] *** thenewbie has joined #angularjs
[17:35:58] *** hugorodrigues has quit IRC
[17:36:06] <srph> compile -> pre -> ... -> post -> link.. -> .. -> controller not sure :)).
[17:36:14] <DevAntoine> srph: what I'd like to know is why it's only bugged in Firefox
[17:36:18] *** HelperW___ has quit IRC
[17:36:20] *** avree has quit IRC
[17:36:56] *** walden is now known as walden|brb
[17:37:33] *** johnstorey has joined #angularjs
[17:38:07] *** tsalb has joined #angularjs
[17:38:31] *** bmcgee has joined #angularjs
[17:38:48] *** InezK_away is now known as InezK
[17:39:14] *** marr has quit IRC
[17:39:18] *** ko3t has quit IRC
[17:39:24] *** sdouglas has quit IRC
[17:39:36] *** k-dawg has quit IRC
[17:40:02] *** cofeineSunshine has quit IRC
[17:40:11] <caitp> did someone turn off the sun
[17:40:33] *** colin_ has quit IRC
[17:40:38] *** Aartsie_ has joined #angularjs
[17:40:55] *** eutheria has quit IRC
[17:41:30] <DevAntoine> caitp: any clue about that "bug" above?
[17:41:45] <caitp> i wasn't paying attention
[17:41:47] *** bbrown has joined #angularjs
[17:41:52] <caitp> what are we talking about?
[17:42:01] <DevAntoine> 17:33
[17:42:08] <DevAntoine> caitp: I can paste it if you want
[17:42:22] *** metasansana has joined #angularjs
[17:42:23] *** cofeineSunshine has joined #angularjs
[17:42:23] *** cofeineSunshine has joined #angularjs
[17:43:09] *** sysko has joined #angularjs
[17:43:23] <caitp> sure
[17:43:25] *** house has quit IRC
[17:43:34] <DevAntoine> caitp:
[17:43:35] <DevAntoine> I have a custom directive on tables, which manipulate the dom. I do so in the directive's link function and use $compile to have the translations. The issue is the following: on some tables containing input number, in Firefox, whenever I got the focus into one of them, I can only enter one number and I lost the focus. The second time I got the focus, I can enter whatever numbers I want
[17:43:42] <DevAntoine> after hours struggling about this, I've rewrote my directive and replaced link to compile, and into te compile I return an anonymous function, which, if I don't say bullocks, is my link function. And this is working
[17:43:52] <DevAntoine> but I really wanna know why
[17:43:56] *** szymek has joined #angularjs
[17:44:05] *** shackleford has quit IRC
[17:44:15] <basichash> I'm tring to run angular-dragdrop in an angular-fullstack app, but i'm getting this error in the console: "ReferenceError: $ is not defined", and then a whole lot of angular-dragdrop specific errors. The strange thing is that bootstrap dropdowns are working, can someone help?
[17:44:43] *** TheFlipside has joined #angularjs
[17:44:45] *** mtsr has quit IRC
[17:44:52] *** shackleford has joined #angularjs
[17:45:17] *** tigrang has joined #angularjs
[17:46:09] *** Limarson has left #angularjs
[17:46:30] *** mattwynne has quit IRC
[17:46:57] *** jerev is now known as jerev_away
[17:46:59] *** shackleford has quit IRC
[17:47:36] <szymek> hi
[17:48:14] *** dariocra_ has joined #angularjs
[17:48:15] *** shackleford has joined #angularjs
[17:48:16] <szymek> how can i get element by id in angularjs? specificaly using jqlite
[17:48:26] *** Bade has joined #angularjs
[17:48:40] *** InezK is now known as InezK_away
[17:48:59] *** jacuqesdancona__ has quit IRC
[17:49:19] <DevAntoine> szymek: in a directive
[17:49:28] <DevAntoine> using angular.element('#myId')
[17:49:32] <Bade> Hey guys. What do you do for large lists of things to reduce performance issues in browsers? (firefox lags quite a bit, Chrome handles them fine)
[17:49:33] *** jacuqesdancona__ has joined #angularjs
[17:49:43] <szymek> but i want do this in controller
[17:49:43] <caitp> jqlite won't get an element by id
[17:49:44] <szymek> can i?
[17:49:44] *** pauser has joined #angularjs
[17:49:47] *** bmcgee has quit IRC
[17:49:47] <caitp> unless we merged the queryselector thing
[17:49:50] <caitp> in which case it will
[17:49:54] <caitp> but i'm not sure we did merge that
[17:49:58] *** uf6667 has quit IRC
[17:49:59] <Bade> I've heard of people using things like bind_Once, or destroying the $scope.
[17:50:03] <DevAntoine> oh
[17:50:05] <DevAntoine> my bad
[17:50:18] *** shinnya has quit IRC
[17:50:24] <szymek> now i have it: angular.element(document).find('button').on('click', function() {
[17:50:26] *** ChrisOei has joined #angularjs
[17:50:27] <szymek> and it works
[17:50:37] <DevAntoine> szymek: slowest selector ever
[17:50:38] <szymek> but i have many other buttons on website
[17:50:47] *** Nizumzen has quit IRC
[17:50:59] *** dariocravero has quit IRC
[17:51:15] *** uf6667 has joined #angularjs
[17:51:16] <DevAntoine> szymek: document.querySelector('#myId')
[17:51:28] <DevAntoine> szymek: depending on which browser you support
[17:51:37] <wafflejock> szymek: just a heads up DOM manipulation should be done in directives and your model should drive your view so you really shouldn't be using jQ in regular controllers only in directives
[17:51:52] *** bkuberek has quit IRC
[17:51:55] *** ASUChander has quit IRC
[17:52:30] *** bkuberek has joined #angularjs
[17:52:32] *** ASUChander has joined #angularjs
[17:52:51] *** walden|brb is now known as walden
[17:52:53] *** Willow has joined #angularjs
[17:53:01] <basichash> I'm tring to run angular-dragdrop in an angular-fullstack app, but i'm getting this error in the console: "ReferenceError: $ is not defined", and then a whole lot of angular-dragdrop specific errors. The strange thing is that bootstrap dropdowns are working, can someone help?
[17:53:04] <szymek> ok i try :)
[17:53:31] <szymek> thanks guys
[17:53:56] *** jacuqesdancona__ has quit IRC
[17:54:02] <wafflejock> basichash: sounds like it's expecting to have jQuery loaded not just jQLite
[17:54:32] *** uf6667 has quit IRC
[17:54:35] <basichash> wafflejock: i can access $ in the console though
[17:54:37] *** retzloff has joined #angularjs
[17:55:06] *** Gambit- has joined #angularjs
[17:55:08] *** juampy_backlater is now known as juampy
[17:55:11] <wafflejock> basichash: can you link the repo your using
[17:55:50] *** wafflejock has quit IRC
[17:55:55] *** uf6667 has joined #angularjs
[17:56:01] *** lite_ has joined #angularjs
[17:56:05] <basichash> wafflejock: it works fine in the plunker examples, myabe i just haven't integrated properly
[17:56:10] *** Aartsie_ has quit IRC
[17:56:12] *** icfantv has quit IRC
[17:56:27] *** icfantv has joined #angularjs
[17:56:41] *** xaxisx has quit IRC
[17:56:42] *** spencercarnage has joined #angularjs
[17:56:43] *** wafflejock has joined #angularjs
[17:56:53] *** ASUChander has quit IRC
[17:56:58] *** dutis has quit IRC
[17:56:59] *** jbourassa has quit IRC
[17:57:35] *** svycka has quit IRC
[17:57:41] *** fbenoit has quit IRC
[17:57:45] *** mamian has joined #angularjs
[17:58:01] *** subnl has joined #angularjs
[17:58:17] *** toastynerd has quit IRC
[17:58:29] *** Willow has quit IRC
[17:58:33] *** asdofindia has quit IRC
[17:58:34] *** toastynerd has joined #angularjs
[17:59:00] *** red5_ has joined #angularjs
[17:59:00] *** uf6667 has quit IRC
[17:59:18] *** spencercarnage has quit IRC
[17:59:21] *** sonofdirt has quit IRC
[17:59:27] *** waylon999 has joined #angularjs
[17:59:44] *** fdrechsler has joined #angularjs
[17:59:45] *** retzloff has quit IRC
[17:59:49] <wafflejock> basichash: are you sure you actually load the jQuery library with a script block
[18:00:00] *** shaym_ has quit IRC
[18:00:03] <red5_> Hi guys! I have a problems with IE when use REST API. The console log show the message "Access is denied"
[18:00:17] *** uf6667 has joined #angularjs
[18:00:19] *** stickperson has quit IRC
[18:00:26] <red5_> have some fallback for it ?!
[18:00:55] <Bade> red5_ is it just IE that is showing that? What's Chrome & FF say?
[18:01:10] <srph> Hi, I am using ui-router. Is it possible for a child state to add new resolves overwriting its parent's resolves?
[18:01:16] *** sdouglas has joined #angularjs
[18:01:27] <red5_> Bade: Chrome & FF nothing
[18:01:34] *** jonog has joined #angularjs
[18:01:44] *** morgs32 has quit IRC
[18:01:53] <red5_> Bade: only on the "excelent" IE show me "Access is denied"
[18:02:05] <Bade> red5_ what do you mean by "nothing". things authenticate the way they're supposed to?
[18:02:08] <wafflejock> red5_: you can use a web debugging proxy like Charles web debugging proxy that will capture the request/response so you can compare when using A that works and B that doesn't what the difference is
[18:02:13] *** stickperson has joined #angularjs
[18:02:17] *** stickperson has quit IRC
[18:02:33] *** uf6667 has quit IRC
[18:02:45] *** MaxV_ has quit IRC
[18:02:53] *** uf6667 has joined #angularjs
[18:03:20] <red5_> Bade: don't have authentication for access the API
[18:03:52] *** BillCriswell has quit IRC
[18:04:10] *** sonofdirt has joined #angularjs
[18:04:49] *** Natsu- has quit IRC
[18:05:02] <wafflejock> srph: not entirely positive but would just give it a shot and see what happens
[18:05:10] *** uf6667 has quit IRC
[18:05:17] *** phuh has quit IRC
[18:05:33] *** sdouglas has quit IRC
[18:05:42] *** phuh has joined #angularjs
[18:06:10] <wafflejock> srph: worse comes to worse you can do as they show there and give it a slightly different name but can also have it depend on the original resolved data
[18:06:14] <wafflejock> if need be
[18:06:21] *** lucasefe_ has joined #angularjs
[18:06:23] <srph> Nevermind, it doesn't entirely overwrite the resolves.
[18:06:28] *** sonofdirt has quit IRC
[18:06:32] *** lucasefe has quit IRC
[18:06:34] *** uf6667 has joined #angularjs
[18:06:41] *** foofoobar has joined #angularjs
[18:06:43] *** jonog has quit IRC
[18:06:48] <srph> If my parent has this user resolve, and my child has it too (not from inheritance), then it overwrites. Otherwise, it just inherits all
[18:06:52] *** blak422 has joined #angularjs
[18:06:53] <srph> of the resolve of its parent.
[18:06:53] *** DrMabuse has quit IRC
[18:06:59] <srph> Anyway, my fault. Not really a problem.
[18:07:09] *** Cydmax has quit IRC
[18:07:33] <wafflejock> srph: okay so saying it does work though to override from the child state?
[18:07:40] *** ETBlue has joined #angularjs
[18:07:42] *** jsoverson has joined #angularjs
[18:07:52] *** thenewbie has quit IRC
[18:07:59] *** Ruckus has quit IRC
[18:09:37] *** sonofdirt has joined #angularjs
[18:09:38] *** arizzo has quit IRC
[18:10:05] *** mmitchell has quit IRC
[18:10:09] *** asdofindia has joined #angularjs
[18:10:15] *** arizzo has joined #angularjs
[18:10:16] *** InezK_away is now known as InezK
[18:10:46] <srph> The child can overwrite anything inherits from the parent. Tht is if the developer adds a resolve with the same name as any resolve it inherited from the parent.
[18:11:06] *** Limix has joined #angularjs
[18:11:18] <srph> So, if I my parent has a resolve called 'xxx', and my child has 'yyy'. Child will still inherit 'xxx' while having 'yyy'
[18:11:27] <srph> Sorry if this has gotten long and confusing! :D
[18:11:34] *** squeakytoy2 has joined #angularjs
[18:11:43] <wafflejock> yeah no worries just got curious after you asked
[18:11:44] *** uf6667 has quit IRC
[18:11:56] *** MaxV has joined #angularjs
[18:12:03] *** azizur has quit IRC
[18:12:21] *** squeakytoy2 has quit IRC
[18:12:25] <wafflejock> sounds like it worked out fine anyhow... have really just gotten my feet wet with ui-router but haven't hit all the edge cases yet I'm sure
[18:13:12] *** fauverism has joined #angularjs
[18:13:21] <srph> Anyway, let me try again! If anything goes wrong, I'll come again and share my mess hahah
[18:13:30] *** morenoh150 has joined #angularjs
[18:13:33] *** chabier has joined #angularjs
[18:13:58] *** mmitchell has joined #angularjs
[18:14:23] *** L8TR has quit IRC
[18:14:29] *** mmitchell has quit IRC
[18:14:34] *** Joulse has quit IRC
[18:14:46] *** mmitchell has joined #angularjs
[18:15:18] <srph> wafflejock: anyway, if I have a parent called 'x', and child called 'x.y' ('y' is a child of 'x'), then if I want another state (called 'z') to be a child of 'y', how do I name it? Do i name it like: 'x.y.z'?
[18:15:27] <srph> Should I rephrase? :D
[18:15:30] *** _tpavel has quit IRC
[18:16:18] *** MaxV has quit IRC
[18:16:28] *** nemothekid has quit IRC
[18:16:33] *** uf6667 has joined #angularjs
[18:17:40] *** tigrang has quit IRC
[18:17:50] *** ReactiveIO has joined #angularjs
[18:17:52] <wafflejock> it says you can use that syntax or specify with parent
[18:17:55] <srph> Okay, let me check. Because when I try 'y.z', it won't work.
[18:18:43] *** sigurding has quit IRC
[18:18:50] *** snapwich has quit IRC
[18:18:50] *** uf6667 has quit IRC
[18:19:10] *** mercwithamouth has joined #angularjs
[18:19:11] *** arizzo has quit IRC
[18:19:23] *** pdillinger2 has joined #angularjs
[18:20:32] *** spaceonline has quit IRC
[18:21:47] *** thesrge has joined #angularjs
[18:22:27] *** richardbaker has joined #angularjs
[18:22:32] *** foofoobar has quit IRC
[18:22:35] *** zwacky has quit IRC
[18:22:45] *** Siecje has joined #angularjs
[18:23:21] *** nerdfiles has joined #angularjs
[18:23:21] *** arthas has quit IRC
[18:23:35] *** chabier has quit IRC
[18:23:47] <jpstone> How do I tie my model (an object retrieved via an API call) to ui-bootstrap's pagination? is that built-in? or is that something I have to tie together myself?
[18:23:56]
<Siecje> How would I delete a key in 'cache' For example after I add a user so that the new user shows up on the /users/ page https://dpaste.de/Crfs#L21,65
[18:24:05] *** uf6667 has joined #angularjs
[18:26:24] *** Chubbs has joined #angularjs
[18:26:28] *** srph has quit IRC
[18:26:56] *** richardbaker has quit IRC
[18:26:57] *** richard__ has joined #angularjs
[18:27:09] *** kalusn has quit IRC
[18:28:12] <jpstone> the pagination has a max-items directive, but how does that connect to my object?
[18:28:27] *** lancero has joined #angularjs
[18:28:31] *** juampy has quit IRC
[18:29:00] <Chubbs> I have a angular app that interacts with a REST API that uses cookie based authentication, but my services/$http requests dont seem to be setting the cookie I receive after logging in, am I missing something obvious here?
[18:29:02] *** chabier has joined #angularjs
[18:29:05] *** arabot has joined #angularjs
[18:29:12] *** arabot has quit IRC
[18:29:37] *** thomasfuston has joined #angularjs
[18:29:44]
<Siecje> I can see the JSON of the response in my browser but I can't see the value of data https://dpaste.de/bFWM
[18:29:58] *** juampy has joined #angularjs
[18:30:08] *** mvovchak has quit IRC
[18:30:12] *** toastynerd has joined #angularjs
[18:30:17] *** richard__ has quit IRC
[18:30:32] <wafflejock> Chubbs: typically the cookie is set server side and sent back to the browser in a response you don't do anything special with $http
[18:30:48] *** spaceonline has joined #angularjs
[18:30:57] *** richardbaker has joined #angularjs
[18:30:59] *** illume has quit IRC
[18:31:19] *** lsiv568 has joined #angularjs
[18:31:43] *** mennea has joined #angularjs
[18:31:57] *** morenoh151 has joined #angularjs
[18:32:08] *** morenoh150 has quit IRC
[18:32:11] *** intellix has quit IRC
[18:32:18] *** bbankes has quit IRC
[18:32:24] <wafflejock> Siecje: this depends on if your server side code returns a response from the POST, many times I just do another GET after a POST or PUT
[18:32:26] *** mattwynne has joined #angularjs
[18:32:30] *** Dimlock has quit IRC
[18:32:37] *** zeorquake has joined #angularjs
[18:33:13] *** kalusn has joined #angularjs
[18:33:32] *** chabier has quit IRC
[18:33:46] *** Guest29856 has quit IRC
[18:33:52] *** heidi has joined #angularjs
[18:34:00] *** uf6667 has quit IRC
[18:34:09] *** richardbaker has quit IRC
[18:34:26] *** richardbaker has joined #angularjs
[18:34:36] <jpstone> ok, i get it. i just have to update my model to include a page # for a certain # of items, and match that to ng-model
[18:34:57] *** kalusn has quit IRC
[18:35:23] <Chubbs> wafflejock: Well I make a request to my API to log in, and it returns a success message with a set-cookie header for my session, but subsequent requests to the server are not sending that cookie
[18:35:27] <thomasfuston> Aloha, someone got an example app for using pouchdb with angularjs?
[18:35:33] *** lsiv568 has quit IRC
[18:35:43] *** partikus has joined #angularjs
[18:35:59] *** Fire-Dragon-DoL has quit IRC
[18:36:19] <wafflejock> Chubbs: that's atypical behavior so far as I know it's really on the browser to add the cookie to the request if it hasn't expired and matches the path the cookie was applied to
[18:36:31] *** spaceonline has quit IRC
[18:37:15] *** richard__ has joined #angularjs
[18:37:47] *** Schtive has quit IRC
[18:37:50] *** Andreo has joined #angularjs
[18:38:14] *** walden is now known as walden|brb
[18:38:15] *** cctom has quit IRC
[18:38:43] *** Willow has joined #angularjs
[18:39:06]
<Ir1sh> hey all. Can anyone think of a reason why only the first 'subscriber' to a promise would receive the resolved object? other 'subscribers' to the promise do not appear to be resolving at all. gist of the function that returns the promise https://gist.github.com/Ir1sh/f2fa3ef0d9e8c8d7ac26
[18:39:26] *** bmcgee has joined #angularjs
[18:39:29] *** richardbaker has quit IRC
[18:39:49] *** bmcgee has quit IRC
[18:39:58] *** DevAntoine has quit IRC
[18:40:06] *** shifteleven has joined #angularjs
[18:40:18] *** arizzo has joined #angularjs
[18:40:23] *** uf6667 has joined #angularjs
[18:40:32] *** astericky has joined #angularjs
[18:40:47] *** mehlah has quit IRC
[18:40:49] *** zizo has joined #angularjs
[18:40:59] *** michaelm has joined #angularjs
[18:41:17] *** digia|away is now known as digia
[18:41:39] *** pdillinger2 has quit IRC
[18:41:58] *** lite__ has joined #angularjs
[18:43:04] *** Willow has quit IRC
[18:43:27] *** lite_ has quit IRC
[18:43:40] *** Limix has quit IRC
[18:43:43] *** tfennelly has quit IRC
[18:43:57] *** zizo has left #angularjs
[18:44:24] *** slainer6_ has joined #angularjs
[18:44:38] *** uf6667 has quit IRC
[18:45:03] <Chubbs> okay, Im scrapping my whole authentication code and migrating to a token based system, anyone know of any good articles regarding auth tokens in sails?
[18:45:21] *** Xethron_ has quit IRC
[18:45:26] *** jstroem has quit IRC
[18:45:30] *** avens has quit IRC
[18:45:59] *** jstroem has joined #angularjs
[18:46:04] *** avens has joined #angularjs
[18:46:15] *** bbankes has joined #angularjs
[18:46:26] *** foo-bar- has quit IRC
[18:46:41] *** blueadept has joined #angularjs
[18:46:41] *** blueadept has joined #angularjs
[18:47:40] *** slainer68 has quit IRC
[18:48:27] *** teeray has quit IRC
[18:48:31] <sal1191> what is the correct way to resolve an $http.get for a ui-router state
[18:48:34] *** lw has quit IRC
[18:48:56] *** arizzo has quit IRC
[18:49:25] *** RyanHirsch has quit IRC
[18:49:37] *** whunt has joined #angularjs
[18:49:40] <Siecje> wafflejock: it does return a response, in JSON
[18:50:01] *** arizzo has joined #angularjs
[18:50:03] *** avens has quit IRC
[18:50:03] *** jstroem has quit IRC
[18:50:15] *** RobinBAwesome has joined #angularjs
[18:50:31] *** leftblank has quit IRC
[18:50:32] *** mehlah has joined #angularjs
[18:50:44] <wafflejock> Siecje: not sure then aside from dropping a breakpoint there and looking around to see the network panel shows the response
[18:50:49] <tgkokk> *forgotten
[18:50:54] *** IanOlson has quit IRC
[18:51:18] *** fdrechsler has quit IRC
[18:51:27] *** lw has joined #angularjs
[18:51:31] *** gnrlbzik has quit IRC
[18:51:32] <sal1191> im using $http.get inside a resolve function and returning res.data
[18:51:33] *** partikus has quit IRC
[18:51:43] *** Fire-Dragon-DoL has joined #angularjs
[18:51:46] <sal1191> but when i inject the promise in my controller it is undefined
[18:51:52] *** Nizumzen has joined #angularjs
[18:51:53] <wafflejock> tgkokk: better to use plnkr.co IMO link in the IRC topic
[18:52:07] *** gnrlbzik has joined #angularjs
[18:52:18] *** Jae has quit IRC
[18:52:20] *** _SjG_ has joined #angularjs
[18:52:30] <tgkokk> wafflejock: Oh, OK, thanks.
[18:53:06] <wafflejock> Siecje: yeah dunno looks okay
[18:53:17] *** bbankes has quit IRC
[18:53:38] *** ChrisC_ has quit IRC
[18:53:40] *** elux has quit IRC
[18:54:20] *** elux has joined #angularjs
[18:54:21] *** Johnny13371337 has joined #angularjs
[18:54:35] *** arizzo has quit IRC
[18:54:37] *** cthrax has joined #angularjs
[18:54:42] *** xaxisx has joined #angularjs
[18:54:58] *** apetro_ has joined #angularjs
[18:55:16] *** bbankes has joined #angularjs
[18:55:17] *** Johnny13371337 has left #angularjs
[18:55:33] *** hugofirth has quit IRC
[18:55:39] *** _jpfm has quit IRC
[18:55:55] *** bbankes has quit IRC
[18:56:03] *** kkuno has quit IRC
[18:56:05] *** avens has joined #angularjs
[18:56:11] *** walden|brb is now known as walden
[18:56:12] <wafflejock> sal1191: typically with resolve you return the promise itself and the state/route change is delayed until the promise returns a result and that's what will be injected
[18:56:14] *** bbankes has joined #angularjs
[18:56:19] *** HelperW___ has joined #angularjs
[18:56:33] *** gnrlbzik has quit IRC
[18:56:40] *** mvovchak has joined #angularjs
[18:56:56] *** ciro_nunes has quit IRC
[18:57:22] *** Jdubs has joined #angularjs
[18:58:00] *** ASUChander has joined #angularjs
[18:58:31] *** Tomdarkness has joined #angularjs
[18:58:47] *** nerdfiles has quit IRC
[18:59:35] *** InezK is now known as InezK_away
[18:59:38] *** arizzo has joined #angularjs
[18:59:50] <szymek> how can i get data-type (attribute) using a jqlite in directive?
[18:59:57] *** mindlace has joined #angularjs
[18:59:58] *** arizzo has quit IRC
[19:00:01] *** andrew9183 has quit IRC
[19:00:13] *** jacuqesdancona__ has joined #angularjs
[19:00:13] *** arizzo has joined #angularjs
[19:00:31] *** wallerdev has joined #angularjs
[19:00:31] *** tk has quit IRC
[19:00:45] *** digia is now known as digia|away
[19:00:48] *** house has joined #angularjs
[19:00:57] *** vbabiy_ has joined #angularjs
[19:01:14] *** wilmoore has joined #angularjs
[19:01:27] *** dutis has joined #angularjs
[19:01:54] *** lenswipe has joined #angularjs
[19:02:16] *** oste has quit IRC
[19:02:18] *** jonog has joined #angularjs
[19:02:20] <szymek> how can i get data-type (attribute) using a jqlite in directive?
[19:02:30] *** jstroem has joined #angularjs
[19:02:35] *** nemothekid has joined #angularjs
[19:03:04] *** mkulke has quit IRC
[19:03:11] *** joshbrw has quit IRC
[19:03:27] *** raghunayyar has joined #angularjs
[19:03:34] *** vbabiy has quit IRC
[19:03:54] *** gangstafat has joined #angularjs
[19:03:54] *** tk has joined #angularjs
[19:04:17] <gangstafat> Hello
[19:04:18] *** jacuqesdancona__ has quit IRC
[19:04:43] *** Jdubs has quit IRC
[19:04:47] *** klaut has quit IRC
[19:04:48] <wafflejock> szymek: why not just use attrs?
[19:04:49] *** astericky has quit IRC
[19:04:51] *** lucasefe_ has quit IRC
[19:04:58] *** elux has quit IRC
[19:04:59] <wafflejock> hey gangstafat
[19:05:17] *** Jdubs has joined #angularjs
[19:05:18] *** phuh has quit IRC
[19:05:19] <gangstafat> Yes, I was linked from DN
[19:05:30] *** cthrax has quit IRC
[19:05:31] *** faviouz has joined #angularjs
[19:05:35] <szymek> wafflejock how? i have this element.find('button').on('click', function(e) {
[19:05:38] <szymek> and what inside?
[19:05:43] *** phuh has joined #angularjs
[19:05:48] *** cthrax has joined #angularjs
[19:05:55] <szymek> console.log(this.attr('data-type')); does not work
[19:06:33] *** jonog has quit IRC
[19:06:46] *** jareddlc has joined #angularjs
[19:06:48] *** roger_ has joined #angularjs
[19:06:51] *** oste has joined #angularjs
[19:07:08]
<Siecje> In Chromium I can see 'data' in the console and data.id is a number but I am not getting redirected properly I'm getting redirected to my otherwise. https://dpaste.de/xBH2
[19:07:11] <wafflejock> szymek: link: function(scope, iElem, iAttrs) <-- Where iElem is the instance of the element, iAttrs is the attributes
[19:07:33] *** dariocra_ has quit IRC
[19:07:48] <szymek> ok, but i dont have only button in my directive
[19:07:48] *** xaxisx has quit IRC
[19:07:53] <szymek> this is whole table
[19:08:14] *** SomeKittens has joined #angularjs
[19:08:48] *** oste has quit IRC
[19:08:51] *** nanoyak has joined #angularjs
[19:09:02] <jpstone> when you're trying to data model, and your brain isn't cooporating, what is the recommended path forward? :D
[19:09:03] *** nemothekid has quit IRC
[19:09:13] <wafflejock> jpstone: are you 21?
[19:09:18] <jpstone> yes
[19:09:20] <wafflejock> beer
[19:09:23] *** \du has quit IRC
[19:09:23] *** andrew9183 has joined #angularjs
[19:09:39] *** nemothekid has joined #angularjs
[19:09:41] <jpstone> Well, I'm 33, technically.
[19:09:53] <wafflejock> right on 31 here
[19:09:54] *** colin_ has joined #angularjs
[19:10:18] <jpstone> if (age > 21 && brain === 'not functioning') {return get.beer()}
[19:10:26] *** marr has joined #angularjs
[19:10:38] *** richard__ has quit IRC
[19:10:58] *** ccohn has joined #angularjs
[19:11:07] *** nanoyak has quit IRC
[19:11:24] *** Jdubs has quit IRC
[19:11:25] *** jerev_away is now known as jerev
[19:11:33] <jpstone> see, that would be a bug. it shoudl be age > 20
[19:11:41] *** nfroidure_ has quit IRC
[19:11:45] *** nanoyak has joined #angularjs
[19:11:48] *** Jdubs has joined #angularjs
[19:11:52] <jpstone> i'd be troubleshooting that all night
[19:11:57] *** shackleford has quit IRC
[19:12:01] <wafflejock> hehe yup
[19:12:07] <roger_> can any help me with a unit test that use promise?
[19:13:42] *** spencercarnage has joined #angularjs
[19:14:32] *** ASUChander has quit IRC
[19:14:38] *** rho has quit IRC
[19:14:46] *** zumba_addict has joined #angularjs
[19:14:48] <wafflejock> if(age>=21 && brain === 'not functioning' && parseInt(moment().format("H"))>12) { me.haveAColdOne(); } else if(age>=21 && brain === 'not functioning') {me.getCaffeinated()}
[19:15:01] *** balboah has quit IRC
[19:15:06] *** neurix has quit IRC
[19:15:08] *** ASUChander has joined #angularjs
[19:15:08] *** morenoh151 has quit IRC
[19:15:19] <wafflejock> perhaps could remove the >=21 in the second case
[19:15:30] *** BillCriswell has joined #angularjs
[19:15:46] *** umib0zu has quit IRC
[19:16:07] <zumba_addict> hey guys, with ui-bootstrap, am I right that i have to specify a different layout/grid for desktop, ipads, phones, etc?
[19:16:13] <zumba_addict> sorry, off topic question
[19:16:16] <zumba_addict> hey wafflejock
[19:16:17] *** morenoh149 has joined #angularjs
[19:16:20] <wafflejock> hey zumba_addict
[19:16:20] *** freeman42 has quit IRC
[19:16:21] *** greengriminal has quit IRC
[19:16:25] <roger_> Hi all, can anybody help me with a unit test that use promise?
[19:16:27] <basichash> jpstone, wafflejock: managed to get the module working, thanks for that. I'm wondering now how I can make it so that each time i drag an item onto list[1..4], if there is already an item in that list, it will be replaced with the new item. I've got it working for list one, but it's using a global version of jquery-ui draggable accept, which means dragging an item to list[2..4] will reset list1:
[19:16:34] <wafflejock> zumba_addict: you can use the different classes for different screen sizes to specify the column sizes
[19:16:34] *** LuxuryMo_ has joined #angularjs
[19:16:56] *** slainer6_ has quit IRC
[19:17:06] <zumba_addict> got it
[19:17:10] <wafflejock> zumba_addict: like class="col-xs-12 col-sm-6" will make it half the screen down to small screen sizes then on really small screens it will take over the row
[19:17:20] <basichash> wafflejock, jpstone: basically i need to have a version of accept for each list instance
[19:17:22] <zumba_addict> looks like I didn't add any cols-xs to my applicaiton
[19:17:27] *** Limix has joined #angularjs
[19:17:30] *** xaxisx has joined #angularjs
[19:17:56] *** guilbep has quit IRC
[19:18:09] *** SpearThruster has joined #angularjs
[19:18:20] <wafflejock> basichash: sorry not really privvy on the details of drag and drop
[19:18:20] *** Schtive has joined #angularjs
[19:18:31] *** balboah has joined #angularjs
[19:18:36] *** zbzzn_ has joined #angularjs
[19:18:50] <zumba_addict> wafflejock: am I right that for col-xs, I will have to also adjust my text inside that div?
[19:18:52] *** InezK_away is now known as InezK
[19:18:52] *** Aliks_ has joined #angularjs
[19:18:55] <roger_> Hi all, can anybody help me with a unit test that use promise?
[19:18:56] *** fire_ has quit IRC
[19:19:01] *** dc has joined #angularjs
[19:19:04] *** ASUChander has quit IRC
[19:19:09] *** roger_ has quit IRC
[19:19:14] *** TheFlipside has quit IRC
[19:19:18] <zumba_addict> i mean, if in col-md, text font size was 12px, col-xs, font size might be 7px
[19:19:30] *** tgkokk has quit IRC
[19:19:37] <wafflejock> zumba_addict: yeah you have to handle that yourself with media queries in your CSS
[19:19:37] *** Aliks_ has quit IRC
[19:19:49] <zumba_addict> ah cool
[19:19:51] *** spencercarnage has quit IRC
[19:19:53] <zumba_addict> awesome
[19:19:55] <wafflejock> zumba_addict: typically I just copy the media queries that bootstrap uses and empty them out
[19:20:00] *** jdowdle is now known as jdowdle|away
[19:20:01] *** OddDuck has joined #angularjs
[19:20:02] *** OddDuck has joined #angularjs
[19:20:39] *** Aliks_ has joined #angularjs
[19:20:50] *** spencercarnage has joined #angularjs
[19:21:10] *** jdowdle|away is now known as jdowdle
[19:21:38] *** kas84 has joined #angularjs
[19:21:38] *** the-erm has quit IRC
[19:21:42] *** Aliks_ has quit IRC
[19:21:50] *** thedodd has quit IRC
[19:21:53] *** spencercarnage has joined #angularjs
[19:22:02] *** Aliks_ has joined #angularjs
[19:22:11] *** CptChaos has joined #angularjs
[19:22:30] <basichash> wafflejock: ok, thanks anyway
[19:22:38] *** gnrlbzik has joined #angularjs
[19:22:44] *** mkc has joined #angularjs
[19:22:47] *** mettjus has quit IRC
[19:22:49] <zumba_addict> wafflejock: where can I copy it? I would like to see it
[19:22:57] *** the-erm has joined #angularjs
[19:23:57] *** tangorri has quit IRC
[19:24:22] *** TorchDragon has quit IRC
[19:24:33] <colin_> hi,all.i watched a video on youtube.the author uses angular to control the authentication,it that a good way to do this?
[19:24:38] <wafflejock> zumba_addict: just check out your bootstrap css file and search for @media you'll see there aren't too many sizes it changes things for
[19:24:48] <zumba_addict> awesome buddy!
[19:25:26] *** MaxV has joined #angularjs
[19:25:39] *** gangstafat has quit IRC
[19:25:40] *** vbabiy_ has quit IRC
[19:25:40] *** upsell5 has quit IRC
[19:25:56] *** PatF has joined #angularjs
[19:26:20] *** avens has quit IRC
[19:26:46] <wafflejock> zumba_addict: np yeah if you grab the bootstrap source less files the sizes are listed in the variables.less file too
[19:26:56] *** avens has joined #angularjs
[19:27:03] <zumba_addict> ;)
[19:27:21] *** ccohn has quit IRC
[19:27:35] *** gnrlbzik has quit IRC
[19:27:57] *** ccohn has joined #angularjs
[19:27:57] <zumba_addict> why is there many repeat of @media (min-width: 768px) {
[19:27:58] *** Destos has quit IRC
[19:27:58] *** PatF is now known as Destos
[19:28:00] *** Aliks_ has quit IRC
[19:28:07] *** scmx has quit IRC
[19:28:16] <zumba_addict> sorry, I will ask this in #css :)
[19:28:27]
<basichash> if anyone knows, I'm wondering now how I can make it so that each time i drag an item onto list[1..4], if there is already an item in that list, it will be replaced with the new item. I've got it working for list one, but it's using a global version of jquery-ui draggable accept, which means dragging an item to list[2..4] will reset list1: https://dpaste.de/DeKX
[19:28:31] *** Cydmax has joined #angularjs
[19:28:36] *** Aliks_ has joined #angularjs
[19:28:50] *** upsell5 has joined #angularjs
[19:29:31] *** bphogan is now known as bphogan_afk
[19:29:31] *** cthrax has quit IRC
[19:29:38] *** Nijikokun has quit IRC
[19:29:45] *** kkuno has joined #angularjs
[19:30:23] *** teeray has joined #angularjs
[19:30:25] *** vbabiy has joined #angularjs
[19:30:25] *** dc has quit IRC
[19:30:26] *** faviouz has quit IRC
[19:30:55] *** upsell5 has quit IRC
[19:31:00] *** whunt has quit IRC
[19:31:03] *** avens has quit IRC
[19:31:38] *** heidi has quit IRC
[19:32:01] *** chrislerum has joined #angularjs
[19:32:03] *** amedia has quit IRC
[19:32:38] *** amedia has joined #angularjs
[19:32:51] *** ccohn has quit IRC
[19:32:56] *** sepper has left #angularjs
[19:32:57] *** tfennelly has joined #angularjs
[19:33:02] *** conan_the_destro has quit IRC
[19:33:35] *** mercwithamouth has quit IRC
[19:34:07] *** ckboii89 has quit IRC
[19:34:44] *** conan_the_destro has joined #angularjs
[19:34:45] *** metasansana has quit IRC
[19:35:04] *** heidi has joined #angularjs
[19:35:32] *** whunt has joined #angularjs
[19:35:49] *** bkuberek_ has joined #angularjs
[19:36:10] *** nemothekid has quit IRC
[19:36:26] *** nemothekid has joined #angularjs
[19:37:14] *** mercwithamouth has joined #angularjs
[19:38:32] *** Click66 has joined #angularjs
[19:38:35] *** richardbaker has joined #angularjs
[19:38:39] *** TorchDragon has joined #angularjs
[19:38:44] *** bkuberek has quit IRC
[19:39:20] *** InezK is now known as InezK_away
[19:40:08] *** Cydmax has quit IRC
[19:40:26] *** ReactiveIO has quit IRC
[19:40:42] *** InezK_away is now known as InezK
[19:40:52] *** feelfine has quit IRC
[19:41:19] *** feelfine has joined #angularjs
[19:43:17] *** cthrax has joined #angularjs
[19:43:32] *** Reactive_ has joined #angularjs
[19:43:33] *** richardbaker has quit IRC
[19:43:39] *** partikus has joined #angularjs
[19:43:56] *** bkuberek_ has quit IRC
[19:44:26] *** shackleford has joined #angularjs
[19:44:35] *** daslicht has quit IRC
[19:44:52] *** feelfine has quit IRC
[19:45:02] *** Click66 has quit IRC
[19:45:04] *** feelfine has joined #angularjs
[19:45:18] *** chexxor has quit IRC
[19:47:02] *** jabr has joined #angularjs
[19:47:05] *** IanOlson has joined #angularjs
[19:47:56] *** phuh has quit IRC
[19:48:04] <jabr> How do I empty a input field after the form is submitted? I'm stuck with an error in the yeoman tutorial.
[19:48:04] *** HelperW___ has quit IRC
[19:48:07] *** sk87 has joined #angularjs
[19:48:40] *** Nizumzen has quit IRC
[19:48:45] *** richardbaker has joined #angularjs
[19:48:47] *** ccohn has joined #angularjs
[19:49:04] <jpstone> ng-click="inputfield.foo = ''"
[19:49:08] *** shackleford has quit IRC
[19:49:22] *** lordkryss_ has joined #angularjs
[19:49:52] *** bkuberek has joined #angularjs
[19:49:55] *** colin_ has quit IRC
[19:50:09] *** sk87 has quit IRC
[19:50:21] *** Nijikokun has joined #angularjs
[19:50:39] *** HelperW___ has joined #angularjs
[19:50:42] *** lenswipe has quit IRC
[19:50:51] <zeorquake> any idea on how to use templates or html ---> in angular ui bootstrap - popover directive?
[19:51:01] *** ASUChander has joined #angularjs
[19:51:13] *** bkuberek_ has joined #angularjs
[19:51:20] *** bphogan_afk is now known as bphogan
[19:51:24] *** lancero has quit IRC
[19:51:47] *** matiasow has joined #angularjs
[19:52:05] *** lsiv568 has joined #angularjs
[19:52:06] *** jsoverson has quit IRC
[19:52:07] *** azureknight has joined #angularjs
[19:53:23] *** lordkryss has quit IRC
[19:53:52] <jabr> jpstone: i'm using ng-submit and would like to clear from the function called.
[19:54:38] *** bkuberek has quit IRC
[19:55:19] *** richardbaker has quit IRC
[19:55:33] *** mercwithamouth has quit IRC
[19:56:17] *** shackleford has joined #angularjs
[19:56:51] *** cthrax has quit IRC
[19:56:52] *** shackleford has quit IRC
[19:56:59] *** lsiv568 has quit IRC
[19:56:59] *** shackleford has joined #angularjs
[19:57:26] *** Fire-Dragon-DoL has quit IRC
[19:57:37] *** nemothekid has quit IRC
[19:57:53] *** Ronyrun has quit IRC
[19:58:12] *** cthrax has joined #angularjs
[19:58:13] *** srph has joined #angularjs
[19:58:49] <srph> Is it possible to chain state dependencies in a synchronous way? I mean, I want resolveB to resolve only after resolveA
[19:59:02] <srph> I prefer not to use $broadcast on this one, if possible.
[19:59:03] *** Hounddog has quit IRC
[19:59:46] *** TheAceOfHearts has joined #angularjs
[19:59:46] *** jstroem has quit IRC
[19:59:47] *** gnrlbzik has joined #angularjs
[20:00:01] <srph> Is it possible to chain state dependencies in a synchronous way? I mean, I want resolveB to resolve only after resolveA. I prefer not to use $broadcast on this one, if possible.
[20:00:13] *** jstroem has joined #angularjs
[20:01:34] *** chrislerum has quit IRC
[20:01:47] *** ASUChander has quit IRC
[20:02:09] *** Absolute0 has joined #angularjs
[20:02:24] *** someones_dad has quit IRC
[20:02:32] *** oste has joined #angularjs
[20:02:54] *** ASUChander has joined #angularjs
[20:03:07] *** jonog has joined #angularjs
[20:03:08] *** jkremser has quit IRC
[20:03:09] *** Emperor_Earth has joined #angularjs
[20:03:23] <Absolute0> ng-model="newModel.{{field}}"
[20:04:12] *** drej has quit IRC
[20:04:15] *** someones_dad has joined #angularjs
[20:04:33] *** matiasow has quit IRC
[20:05:16] *** chrislerum has joined #angularjs
[20:05:42] *** CodeFriar has joined #angularjs
[20:06:26] *** senayar_ has quit IRC
[20:06:28] *** Tomdarkness has quit IRC
[20:06:34] *** red5_ has quit IRC
[20:06:37] *** vader has quit IRC
[20:06:50] *** chrislerum has quit IRC
[20:07:17] *** darkelda has joined #angularjs
[20:07:17] *** darkelda has joined #angularjs
[20:07:33] *** jonog has quit IRC
[20:08:16] *** ASUChander has quit IRC
[20:08:18] *** someones_dad has quit IRC
[20:08:32] *** ChrisOei has quit IRC
[20:08:34] <icfantv> is there a best way to have ng-view take up the remaining height/width of a browser window? i'm setting position to abolute and height/width to 100% but this will ignore margins on the ng-view div.
[20:08:45] *** jabr has left #angularjs
[20:08:52] *** mguillech has quit IRC
[20:08:58] *** jdcasey has quit IRC
[20:09:25] *** mguillech has joined #angularjs
[20:09:25] *** fedenunez has quit IRC
[20:09:32] *** ngbot has joined #angularjs
[20:09:32] <ngbot> angular.js/master d6876f2 Caitlin Potter: test($http): ignore date-toJSON test if running in IE8...
[20:09:33] *** ngbot has left #angularjs
[20:09:35] <srph> icfantv, then make a container, icfantv
[20:09:44] *** ckboii89 has joined #angularjs
[20:09:46] <srph> like: <div class="container" ng-view></div>
[20:09:56] <sal1191> wafflejock: thanks, will try that
[20:09:58] <icfantv> container == bootstrap?
[20:10:17] *** Fire-Dragon-DoL has joined #angularjs
[20:10:18] <srph> make .container a relative, then height: 100%, width: 100%
[20:10:23] *** jgladwill has quit IRC
[20:10:27] <srph> not really
[20:10:30] *** Willow has joined #angularjs
[20:10:30] *** jdcasey has joined #angularjs
[20:10:50] *** ASUChander has joined #angularjs
[20:10:55] *** Aliks_ has quit IRC
[20:11:07] <srph> "absolute" aligns to the first parent which position is not the default one (at least relative, absolute, or fixed).
[20:11:16] <icfantv> right
[20:11:18] *** rho has joined #angularjs
[20:11:26] *** elterago has quit IRC
[20:11:32] *** Aliks_ has joined #angularjs
[20:11:32] <srph> not sure, but just a thought :).
[20:11:33] <srph> Is it possible to chain state dependencies in a synchronous way? I mean, I want resolveB to resolve only after resolveA
[20:11:53] *** jsoverson has joined #angularjs
[20:11:59] *** jtimon has quit IRC
[20:12:05] <icfantv> i think that should work. i'll give it a shot
[20:12:16] *** fedenunez has joined #angularjs
[20:12:27] <wafflejock> srph: nothing pops out at me, I suppose you could have a promise that you return that resolves to another promise which you then wait to resolve to get something
[20:12:52] <wafflejock> sounds very confusing though
[20:13:05] *** arizzo has quit IRC
[20:13:31] *** ChrisOei has joined #angularjs
[20:13:32] <srph> Well, I have this situation where my child state's resolve relies on the resolve inherited from its parent
[20:13:38] *** arizzo has joined #angularjs
[20:13:54] *** mguillech has quit IRC
[20:14:04] *** tfennelly has quit IRC
[20:14:13] <wafflejock> srph: it might be something you need to just push into the controller to handle
[20:14:35] *** tfennelly has joined #angularjs
[20:14:38] *** ASUchander1 has joined #angularjs
[20:14:47] <icfantv> srph: that's ignoring my margins
[20:15:14] <srph> icfantv: why would container ignore the margins?
[20:15:16] *** bengillies has quit IRC
[20:15:19] *** zemanel has joined #angularjs
[20:15:32] *** kas84 has quit IRC
[20:15:42] <icfantv> it's not the container, i think it's the positioning
[20:15:53] *** Jdubs has quit IRC
[20:16:25] *** tfennelly has quit IRC
[20:16:53] <srph> wafflejock: But my services' data rely on the child state's resolve (which relies on the parent's resolve). If I chain promises on the controller.
[20:16:55] <srph> ...
[20:17:03] *** ASUChander has quit IRC
[20:17:11] <icfantv> srph: creating a plunker
[20:17:33] <srph> icfantv: Sure, I'll take a look :).
[20:17:39] *** umib0zu has joined #angularjs
[20:17:46] *** Vloz_ has joined #angularjs
[20:17:48] <srph> wafflejock: Then the services won't have the data?
[20:17:55] <wafflejock> srph: yeah not sure maybe it's a situation where you actually want one service to depend on the other directly
[20:18:02] <sal1191> resolve doesn't seem to work when I apply it to the state
[20:18:07] <sal1191> but the state has a view
[20:18:22] <sal1191> do I need to put the resolve: bit in with the specific view im targeting?"
[20:18:26] *** krawchyk has quit IRC
[20:18:37] <wafflejock> sal1191: that's atypical can you reproduce in a plunkr
[20:18:38] <srph> wafflejock: Alright, I'll try to use $broadcast until then :)
[20:18:47] *** pdillinger2 has joined #angularjs
[20:19:04] <sal1191> ill give it a go hang on
[20:20:34] *** Vloz__ has quit IRC
[20:21:39] *** hugorodrigues has joined #angularjs
[20:22:15] *** upsell5 has joined #angularjs
[20:22:22] <zumba_addict> hi folks, how do I install the locale js files?
[20:22:23] <icfantv> srph: crap, nm, it's working in my plunker
[20:22:30] *** Aliks_ has quit IRC
[20:22:34] *** arizzo has quit IRC
[20:23:03] *** Aliks_ has joined #angularjs
[20:23:12] *** ASUchander1 has quit IRC
[20:23:31] *** workthrick has quit IRC
[20:25:20] *** Cavallari has joined #angularjs
[20:26:08] *** skyx_ has quit IRC
[20:26:12] <davek> Hahaha yesssss. Image uploads work!
[20:26:29] *** hugorodrigues has quit IRC
[20:26:30] *** thedodd has joined #angularjs
[20:26:42] *** gnrlbzik has quit IRC
[20:26:45] *** jsoverson has quit IRC
[20:27:09] *** foofoobar has joined #angularjs
[20:27:32] *** morenoh149 has quit IRC
[20:27:52] *** jsoverson has joined #angularjs
[20:27:57] *** RyanHirsch has joined #angularjs
[20:28:02] *** arizzo has joined #angularjs
[20:28:16] *** FIFOd[a] has quit IRC
[20:28:20] *** Absolute0 has quit IRC
[20:28:26] *** delerium_ has joined #angularjs
[20:28:44] *** jhulten has joined #angularjs
[20:28:45] *** chrisbirk has quit IRC
[20:29:03] *** TheAceOfHearts has quit IRC
[20:29:04] *** feelfine_ has joined #angularjs
[20:29:09] <srph> icfantv: no problem, hehe:)
[20:29:10] *** mattwynne has quit IRC
[20:29:10] *** BMCouto has quit IRC
[20:29:12] <wafflejock> davek: haha I can hear your mad sciencing from across the internets :P
[20:29:23] *** TheAceOfHearts has joined #angularjs
[20:29:24] *** from_kelethin has joined #angularjs
[20:29:33] *** mattwynne has joined #angularjs
[20:29:49] *** morenoh149 has joined #angularjs
[20:30:03] *** ASUChander has joined #angularjs
[20:30:06] *** krawchyk has joined #angularjs
[20:30:06] *** oste_ has joined #angularjs
[20:30:13] *** krawchyk has quit IRC
[20:30:17] *** workthrick has joined #angularjs
[20:30:18] *** FIFOd[a] has joined #angularjs
[20:30:28] *** stevvooe has joined #angularjs
[20:30:38] *** jhulten_ has joined #angularjs
[20:30:55] *** Jdubs has joined #angularjs
[20:31:08] *** oste has quit IRC
[20:31:08] *** krawchyk has joined #angularjs
[20:31:08] *** oste_ is now known as oste
[20:31:25] *** from_kelethin has quit IRC
[20:31:31] <icfantv> srph: it's weird. in my web app, the 100% width is causing the margin on the container to be ignored
[20:31:38] <icfantv> if i drop the 100% width, it's respected.
[20:31:47] *** feelfine has quit IRC
[20:31:48] *** ChrisOei has quit IRC
[20:31:49] <icfantv> it must have something to do with the way bootstrap is doing the pull-right
[20:32:07] <icfantv> i should try in bootply and see
[20:32:18] *** arizzo has quit IRC
[20:32:24] *** HelperW____ has joined #angularjs
[20:32:51] *** leftblank has joined #angularjs
[20:33:09] *** dcherman2 has joined #angularjs
[20:33:11] *** mattwynne has quit IRC
[20:33:17] *** johnstorey has quit IRC
[20:33:24] *** jstroem has quit IRC
[20:33:33] *** johnstorey has joined #angularjs
[20:33:44] *** teslanick has joined #angularjs
[20:34:04] *** jhulten has quit IRC
[20:34:18] *** HelperW___ has quit IRC
[20:34:18] *** ASUChander has quit IRC
[20:34:34] *** Reactive_ has quit IRC
[20:34:49] *** teslanick has quit IRC
[20:34:51] *** Rahul_Roy has joined #angularjs
[20:35:08] *** gnrlbzik has joined #angularjs
[20:35:15] *** elux has joined #angularjs
[20:35:15] *** teslanick has joined #angularjs
[20:35:26] *** Nek has joined #angularjs
[20:35:38] *** mattwynne has joined #angularjs
[20:35:46] *** ASUChander has joined #angularjs
[20:36:03] <srph> Not sure, maybe the other properties are in the way?
[20:36:07] *** mattwynne has quit IRC
[20:36:08] <srph> icfantv: ^
[20:36:16] *** dcherman has quit IRC
[20:36:40] *** mattwynne has joined #angularjs
[20:36:40] <sal1191> wafflejock: figured it out in my plunkr
[20:36:48] <wafflejock> sal1191: cool
[20:36:55] <sal1191> I did resolve correctly
[20:37:02] <sal1191> I needed the .data property of the object
[20:37:09] <srph> icfantv: Anyway, Bootstrap has a lot of things encapsulated. Goodluck :)
[20:37:09] *** Aliks_ has quit IRC
[20:37:11] <sal1191> I was just assigning $scope.value = promise
[20:37:14] *** tomh- has joined #angularjs
[20:37:15] <sal1191> needeed promise.data
[20:37:20] <opus_> Whats the difference between services that use .factory and ones that don't?
[20:37:20] <icfantv> srph: me neither. will try in bootply
[20:37:23] <icfantv> yea
[20:37:27] <opus_> syntax wise.
[20:37:42] *** Aliks_ has joined #angularjs
[20:37:43] <srph> opus_: Nothing, just syntactic sugar.
[20:37:51] *** tfennelly has joined #angularjs
[20:37:55] *** dnxt has joined #angularjs
[20:37:56] *** arizzo has joined #angularjs
[20:37:56] <opus_> So if I don't use .factory
[20:37:56] *** michaelm has quit IRC
[20:38:01] <opus_> all those variables are returned right?
[20:38:11] <srph> opus_: You can use provider, service, etc. Almost the same.
[20:38:23] *** szymek has quit IRC
[20:38:23] *** HelperW____ has quit IRC
[20:39:25] *** jdcasey has quit IRC
[20:39:25] <dnxt> Which one make more sense? Angular-Bootstrap or Angular-Strap
[20:39:37] *** johnstorey has quit IRC
[20:40:28] *** johnstorey has joined #angularjs
[20:40:52] *** ReactiveIO has joined #angularjs
[20:41:15] *** matiasow has joined #angularjs
[20:41:19] *** FIFOd[a] has quit IRC
[20:41:26] *** klaut has joined #angularjs
[20:42:14] *** dob__ has joined #angularjs
[20:42:29] <wafflejock> dnxt: you can mix and match to some degree if you need to but just depends on which one you like more... I think ui-bootstrap has more adoption but they vary in what features are "easier" or better between the two
[20:42:35] *** arizzo has quit IRC
[20:42:47] <wafflejock> dnxt: angularstrap started off as a wrapper for the jquery based stuff but since then they refactored to take that out
[20:43:23] *** arizzo has joined #angularjs
[20:43:36] *** klaut has quit IRC
[20:43:41] *** leftblank has quit IRC
[20:43:53] *** spencercarnage has quit IRC
[20:43:55] *** arizzo has quit IRC
[20:44:10] *** arizzo has joined #angularjs
[20:44:15] *** danielmahon has joined #angularjs
[20:44:19] *** mettjus has joined #angularjs
[20:44:53] *** cthrax has quit IRC
[20:45:00] <dnxt> wafflejock: thanks for your input. Based on my reading we are better off not using the angular-strap but the problem I am facing is that I have inherited a project which already uses bootstrap and not sure what is the best way to angularize it
[20:45:01] *** drej has joined #angularjs
[20:45:27] *** hugorodrigues has joined #angularjs
[20:45:59] *** spencercarnage has joined #angularjs
[20:46:09] *** jstroem has joined #angularjs
[20:46:10] *** skj3gg has joined #angularjs
[20:46:20] *** dob_ has quit IRC
[20:46:53] *** jhulten_ has quit IRC
[20:46:53] *** dob__ has quit IRC
[20:47:08] <wafflejock> dnxt: personally I just use ui-bootstrap, if you need to replace templates you can and if it really comes down to it getting into their code and adding your own stuff on top isn't usually too bad
[20:47:42] <wafflejock> for example I had to make a tooltip that would compile the contents, took about an hour of staring at the code then about 30 min to add what I needed to my project
[20:48:09] <zumba_addict> how folks, how do I implement | number filtering if i'm using ng-bind?
[20:48:10] *** jdcasey has joined #angularjs
[20:48:21] <zumba_addict> i mean, hi folks :)
[20:48:21] *** jeej has joined #angularjs
[20:48:27] *** feelfine has joined #angularjs
[20:48:33] <shackleford> is there a way to get a submit button to trigger by pressing the enter key?
[20:48:36] *** ASUChander has quit IRC
[20:48:39] *** matiasow has quit IRC
[20:48:41] <shackleford> I currently have a ng-click
[20:48:45] *** jeej has quit IRC
[20:48:49] <shackleford> but it only works if you push the button
[20:48:53] <wafflejock> shackleford: you can use ng-submit on the form
[20:49:06] <wafflejock> shackleford: or you can add a ng-keyup handler
[20:49:17] <shackleford> nice thanks
[20:49:24] <zumba_addict> oh it's similar :)
[20:49:44] <mogaj> when i define columndefs in ng-grid ... the columsn are overlapping ... why does this happen is it common?
[20:49:53] <sal1191> how does the bs-navbar directive from angularstrap work? do you just add a data-active-class="classname" attribute to the element you apply bs-navbar to? because this seems to have no effect on my navbar
[20:50:06] *** matiasow has joined #angularjs
[20:50:18] *** azureknight has quit IRC
[20:50:23] *** feelfine_ has quit IRC
[20:51:04] *** chexxor has joined #angularjs
[20:51:26] *** mguillech has joined #angularjs
[20:51:33] <wafflejock> shackleford: np
[20:51:39] *** elux has quit IRC
[20:51:48] <dnxt> wafflejock: so the idea is to just recreate what is not available in the bootstrap and hence slowly build up angular to support everything natively
[20:52:45] *** elux has joined #angularjs
[20:52:48] *** brian_meneses has joined #angularjs
[20:52:54] <wafflejock> dnxt: yeah I mean ui-bootstrap already covers a lot of the basic bootstrap stuff but if it's not there you can just add a new directive to that part... also ui-bootstrap and angular-strap can both be downloaded/loaded in pieces so sometimes you can mix and match if it is needed
[20:53:30] *** jonnybro has quit IRC
[20:53:56] <wafflejock> dnxt: it still all depends on bootstrap.css it's just replacement for bootstrap.js (just to be clear)
[20:53:58] *** DrMabuse has joined #angularjs
[20:54:17] *** ReactiveIO has quit IRC
[20:54:18] *** chrisbirk has joined #angularjs
[20:54:31] *** delerium_ has quit IRC
[20:54:45] *** elux has quit IRC
[20:54:53] *** ReactiveIO has joined #angularjs
[20:55:00] *** tk has quit IRC
[20:55:29] <wafflejock> alright time to grind through some algorithm I have scattered on paper everywhere and make it work
[20:56:03] <dnxt> wafflejock: good luck !!!
[20:56:12] *** nanoyak has quit IRC
[20:56:13] <wafflejock> thx need it :P
[20:56:20] *** arek_at_work has quit IRC
[20:56:21] *** the-erm has quit IRC
[20:56:23] *** ReactiveIO has quit IRC
[20:56:37] *** ericrav has joined #angularjs
[20:56:46] *** srph has quit IRC
[20:56:51] *** ReactiveIO has joined #angularjs
[20:56:53] *** elux has joined #angularjs
[20:57:31] *** the-erm has joined #angularjs
[20:57:45] *** jillesme has joined #angularjs
[20:58:15] *** heidi has quit IRC
[20:58:24] *** RobinBAwesome has quit IRC
[20:58:27] *** tk has joined #angularjs
[20:58:58] *** hannesvdvreken has joined #angularjs
[21:00:13] *** alanhoff has joined #angularjs
[21:00:42] <alanhoff> Hey guys, how can I clear the cache that I made with $http.get(..., {cache : true}) ?
[21:00:49] *** danielmahon has quit IRC
[21:01:05] *** riets has joined #angularjs
[21:02:54] *** drej has quit IRC
[21:02:56] *** mguillech has quit IRC
[21:03:17] <riets> hello, I have a problem with orderBy:'name' in ng-repeat. It does not work only in one place of my program, syntax is good, name attribute exist. Ideas?
[21:03:37] *** DrMabuse has quit IRC
[21:03:51] *** jonog has joined #angularjs
[21:03:55] *** drej has joined #angularjs
[21:04:13] *** livingstn has quit IRC
[21:04:29] *** livingstn has joined #angularjs
[21:04:37] *** sdouglas has joined #angularjs
[21:04:45] *** teslanick has left #angularjs
[21:05:15] *** mtsr has joined #angularjs
[21:05:33] *** shepheb has joined #angularjs
[21:06:15] *** phuh has joined #angularjs
[21:06:31] *** michaelm has joined #angularjs
[21:06:38] *** Vloz has joined #angularjs
[21:06:41] *** bphogan is now known as bphogan_afk
[21:07:28] *** fauverism has quit IRC
[21:07:51] *** tigrang has joined #angularjs
[21:09:23] *** richardbaker has joined #angularjs
[21:09:34] *** Vloz_ has quit IRC
[21:09:38] *** sdouglas has quit IRC
[21:10:04] *** nostrzak has joined #angularjs
[21:10:14] *** jonog has quit IRC
[21:10:28] *** shaym_ has joined #angularjs
[21:10:40] *** bphogan_afk is now known as bphogan
[21:11:16] <ckboii89> if i'm trying to do a post within a controller, is it better to move the function that is doing the mapping into a factory?
[21:12:07] *** JoshGlzBrk has joined #angularjs
[21:12:38] *** jtimon has joined #angularjs
[21:12:44] *** FIFOd[a] has joined #angularjs
[21:13:09] *** cece has quit IRC
[21:13:27] *** Schtive has quit IRC
[21:13:32] *** bkuberek_ has quit IRC
[21:13:33] *** richardbaker has quit IRC
[21:13:38] *** jillesme has quit IRC
[21:13:44] *** delerium_ has joined #angularjs
[21:13:46] *** Vloz_ has joined #angularjs
[21:14:24] *** cthrax has joined #angularjs
[21:14:35] *** Vloz_ has quit IRC
[21:14:59] *** DrMabuse has joined #angularjs
[21:15:00] *** Vloz_ has joined #angularjs
[21:15:25] <gnarMatix> ckboii89: yeah move it to a service or a factory
[21:15:37] *** bkuberek_ has joined #angularjs
[21:15:41] <ckboii89> is it to make the code more modular?
[21:15:46] *** mindlace has quit IRC
[21:16:34] *** Vloz has quit IRC
[21:17:44] *** whunt has quit IRC
[21:18:23] *** digia|away is now known as digia
[21:18:25] *** lordkryss_ is now known as lordkryss
[21:19:02] <brian_meneses> hi all, quick Q re: testing a directive. If I have say, angular.element('<select ng-model="query.name">') in a test, and I $compile(element)(scope), how can I get access to `query.name` from the test? I have tried using both a child scope and $rootScope but come up empty handed.
[21:19:11] *** dkenzik has joined #angularjs
[21:19:18] *** mguillech has joined #angularjs
[21:20:38] *** basichash has quit IRC
[21:20:51] *** JoshGlzBrk has quit IRC
[21:21:23] *** Aliks_ has quit IRC
[21:21:25] *** ccohn has quit IRC
[21:21:51] *** ericrav has quit IRC
[21:22:10] *** cacts|wtf has joined #angularjs
[21:22:19] *** ccohn has joined #angularjs
[21:22:24] *** Alina-emergency has quit IRC
[21:22:46] *** spencercarnage has quit IRC
[21:22:51] *** lw has quit IRC
[21:23:01] *** johnstorey has quit IRC
[21:24:27] *** bosphorus has joined #angularjs
[21:25:11] *** anjumkaiser has joined #angularjs
[21:25:11] *** lordkryss has quit IRC
[21:25:28] *** skj3gg has left #angularjs
[21:25:38] *** cacts|works has quit IRC
[21:25:57] *** howzus has joined #angularjs
[21:26:14] *** alanhoff has left #angularjs
[21:26:25] *** lordkryss has joined #angularjs
[21:27:45] *** chrisbirk has quit IRC
[21:28:16] *** mguillech has quit IRC
[21:28:23] *** dhcar_AFK is now known as dhcar
[21:28:53] *** juampy is now known as juampy_backlater
[21:29:44] *** morenoh149 has quit IRC
[21:30:20] *** ingshtrom has quit IRC
[21:30:42] *** retzloff has joined #angularjs
[21:31:14] <davek> Add template strings to the list of ES6 features I desperately want.
[21:31:25] *** chrisbirk has joined #angularjs
[21:31:28] *** retzloff has quit IRC
[21:32:09] *** FIFOd[a] has quit IRC
[21:32:56] *** nemothekid has joined #angularjs
[21:32:58] *** ngoyal_ has joined #angularjs
[21:33:03] *** ngoyal has quit IRC
[21:33:12] *** retzloff has joined #angularjs
[21:33:14] *** ngoyal_ has quit IRC
[21:34:03] *** richardbaker has joined #angularjs
[21:34:07] *** ngoyal has joined #angularjs
[21:34:41] *** pdlug has joined #angularjs
[21:35:25] *** nemothekid has quit IRC
[21:35:36] *** nemothekid has joined #angularjs
[21:35:39] *** ngoyal has quit IRC
[21:36:07] *** cthrax has quit IRC
[21:36:57] *** mguillech has joined #angularjs
[21:36:58] *** pdillinger2 has quit IRC
[21:37:13] *** ioudas has joined #angularjs
[21:37:38] <ioudas> does anyone have some decent documentation on posting/getting data from a remote url? For some reason I am having a hard time finding this.
[21:38:43] *** shifteleven has quit IRC
[21:39:10] *** basichash has joined #angularjs
[21:39:32] *** artisangoose has joined #angularjs
[21:39:47] <basichash> How can I assign the index of a loop to the class of an element? e.g. ng-repeat="item in items", <div class="item-{{item.class
[21:39:49] <basichash> }}"
[21:40:51] <basichash> if that makes sense
[21:41:03] *** crudbits has joined #angularjs
[21:41:06] <pdlug> basichash: you mean something like <div ng-class="item-{{ $index }}"> ?
[21:41:17] *** GeertV_ has joined #angularjs
[21:41:29] *** D-Boy has quit IRC
[21:41:34] *** danizord has joined #angularjs
[21:41:35] *** intellix has joined #angularjs
[21:41:52] *** dutis has quit IRC
[21:42:08] <basichash> pdlug: yeah like that
[21:42:14] <basichash> pdlug: is that example meant to work?
[21:43:04] *** davi has joined #angularjs
[21:43:04] *** davi has joined #angularjs
[21:43:14] *** danielpquinn has quit IRC
[21:43:22] <robdubya> have to whore this
[21:43:38] <robdubya> ionic + cordova + bluetooth low energy bitches
[21:43:42] <basichash> pdlug: ah ok it does, thanks
[21:43:59] <TheAceOfHearts> does anyone here know if jasmine will work on OLD browsers? like, ie6/7?
[21:44:16] <ckboii89> hey so in my modal form i have a typeahead, and it autofills if the user selects somethign form the typeahead. However, when the user selects something that is not in the typeahead, i want the description to autofill nothing. How about do i do this?
[21:44:44] *** RobinBAwesome has joined #angularjs
[21:44:57] *** gnrlbzik has quit IRC
[21:45:11] *** Ir1sh has quit IRC
[21:45:11] <ckboii89> ng-if?
[21:45:33] *** shaym_ has quit IRC
[21:45:47] *** Ir1sh has joined #angularjs
[21:45:53] *** jabr has joined #angularjs
[21:46:33] *** szymek_ has joined #angularjs
[21:46:52] *** bweston has joined #angularjs
[21:46:57] <jabr> How do I empty a input field after the form is submitted using ng-submit? The '$scope.todo' is 'undefined' inside the ng-submit callback funciton. Why? I'm stuck with an error in the yeoman tutorial.
[21:47:37] *** TazDev has joined #angularjs
[21:48:22] *** nanoyak has joined #angularjs
[21:48:29] <basichash> pdlug: hmm doesn't seem to work
[21:48:31] *** whunt has joined #angularjs
[21:49:54] *** jacuqesdancona__ has joined #angularjs
[21:49:58] *** Ir1sh has quit IRC
[21:51:14] *** heidi has joined #angularjs
[21:52:11] *** danielmahon has joined #angularjs
[21:52:15] *** michaelm has joined #angularjs
[21:52:18] *** ReactiveIO has quit IRC
[21:52:33] <basichash> i'm trying to add a class dynamically (e.g. class="item-$index" but it doesn't seem to work. Adding the classes in web tools works, but using ng-class="item-{{$index}}" doesn't
[21:52:49] *** arizzo has quit IRC
[21:52:52] *** ReactiveIO has joined #angularjs
[21:53:08] *** brian_meneses has quit IRC
[21:53:11] *** ceephax has joined #angularjs
[21:53:25] *** arizzo has joined #angularjs
[21:54:04] *** jacuqesdancona__ has quit IRC
[21:54:04] <ioudas> does anyone have any good tuts about angular. I am having a hard time learning from the ones provided on angulars sites. I am looking to post to a page, verify a login and process the next screen if it comes back properly
[21:54:10] <ioudas> any guides would be helpful
[21:54:21] *** spencercarnage has joined #angularjs
[21:54:24] *** hugorodrigues has quit IRC
[21:54:59] *** hugorodrigues has joined #angularjs
[21:55:01] *** richardbaker has quit IRC
[21:55:24] *** ngbot has joined #angularjs
[21:55:24] <ngbot> angular.js/master 1c9ab40 Andrew Tarry: fix($cookie): use decodeURIComponent instead of unescape for cookie reading...
[21:55:24] *** ngbot has left #angularjs
[21:55:29] *** richardbaker has joined #angularjs
[21:55:57] *** tfennelly has quit IRC
[21:57:03] *** ReactiveIO has quit IRC
[21:57:18] *** anjumkaiser has quit IRC
[21:57:38] *** arizzo has quit IRC
[21:57:38] <basichash> fixed
[21:57:43] *** lite__ has quit IRC
[21:57:48] *** D-Boy has joined #angularjs
[21:58:15] *** richardbaker is now known as richiebker
[21:58:18] *** richiebker is now known as richiebkr
[21:58:52] *** retzloff has quit IRC
[21:59:14] *** ReactiveIO has joined #angularjs
[21:59:19] *** richiebkr is now known as kudasai
[21:59:20] *** hugorodrigues has quit IRC
[21:59:51] *** shinnya has joined #angularjs
[22:00:03] *** Aliks_ has joined #angularjs
[22:00:21] *** bosphorus has quit IRC
[22:00:25] *** bencc has joined #angularjs
[22:00:32] *** gnrlbzik has joined #angularjs
[22:00:34] *** howzus has quit IRC
[22:00:53] <opus_> Hey
[22:01:14] *** Aliks_ has quit IRC
[22:01:15] <opus_> if I do this: $scope.allusers = myservicefactory.Users, and Users is a function that returns an array (that does a query)
[22:01:28] *** bosphorus has joined #angularjs
[22:01:30] *** slainer68 has joined #angularjs
[22:01:33] <opus_> howcome myservicefactory.Users() isn't called? I put a console.log up there
[22:01:35] *** FIFOd[a] has joined #angularjs
[22:01:49] *** Aliks_ has joined #angularjs
[22:02:14] <Siecje> opus_: You have to call it eg in the template allusers()
[22:03:02] *** arizzo has joined #angularjs
[22:03:05] *** krawchyk has quit IRC
[22:03:25] *** senayar has joined #angularjs
[22:03:38] *** anjumkaiser has joined #angularjs
[22:03:39] *** stevvooe_ has joined #angularjs
[22:03:56] *** jsoverson has quit IRC
[22:04:00] *** stevvooe has quit IRC
[22:04:17] *** mokush has joined #angularjs
[22:04:40] *** ReactiveIO has quit IRC
[22:04:47] *** krawchyk has joined #angularjs
[22:04:52] *** mguillech has quit IRC
[22:05:14] *** bphogan is now known as bphogan_afk
[22:05:18] *** phuh has quit IRC
[22:05:21] *** Fishy has quit IRC
[22:05:25] *** mguillech has joined #angularjs
[22:05:44] *** slainer6_ has joined #angularjs
[22:05:45] *** phuh has joined #angularjs
[22:05:59] *** nemothekid has quit IRC
[22:06:13] *** bosphorus has quit IRC
[22:06:25] *** jonog has joined #angularjs
[22:06:26] *** nemothekid has joined #angularjs
[22:06:36] *** TehShrike|Work has quit IRC
[22:07:24] *** jkremser has joined #angularjs
[22:07:24] *** jkremser has joined #angularjs
[22:07:33] *** dve has joined #angularjs
[22:07:34] *** arizzo has quit IRC
[22:08:05] *** masclic has joined #angularjs
[22:08:17] <opus_> Whats the template ?
[22:08:40] <masclic> :-D
[22:08:44] *** slainer68 has quit IRC
[22:09:03] *** kudasai has quit IRC
[22:09:28] *** mguillech has quit IRC
[22:09:31] *** walden is now known as walden|brb
[22:09:34] *** mguillech has joined #angularjs
[22:09:41] *** Efrem has quit IRC
[22:09:44] *** danielpquinn has joined #angularjs
[22:10:53] *** masclic has quit IRC
[22:10:54] *** jonog has quit IRC
[22:11:18] *** greatdex has quit IRC
[22:11:19] *** someones_dad has joined #angularjs
[22:11:30] *** jsoverson has joined #angularjs
[22:11:47] *** TehShrike|Work has joined #angularjs
[22:11:57] *** mguillech has quit IRC
[22:12:11] *** dve_ has joined #angularjs
[22:12:27] *** subone1 has joined #angularjs
[22:12:33] *** Nivag has quit IRC
[22:12:38] *** dve has quit IRC
[22:12:42] *** chrisbirk has quit IRC
[22:13:05] *** mrwn has joined #angularjs
[22:13:38] *** anjumkaiser has quit IRC
[22:14:10] *** xavia has quit IRC
[22:14:59] *** subone1 is now known as subone
[22:14:59] *** chrisbirk has joined #angularjs
[22:15:13] *** zeorquake has quit IRC
[22:15:43] <subone> caitp: Does ng-required not update based on the expression?
[22:15:49] *** balboah has quit IRC
[22:17:19] <subone> caitp: So, is it not possible to have, for example, confirm password only be required if password field has a value?
[22:17:31] <subone> Without writing a new directive
[22:17:40] *** drej has quit IRC
[22:18:05] <caitp> it looks like ng-required accepts an expression
[22:19:01] *** Lingo_ has joined #angularjs
[22:19:42] <subone> caitp: but it is not updating the requirement when I type in password
[22:19:55] *** morenoh149 has joined #angularjs
[22:20:04] *** nostrzak has quit IRC
[22:20:22] *** krawchyk has quit IRC
[22:20:23] *** nemothekid has quit IRC
[22:20:31] *** stevvooe_ has quit IRC
[22:21:11] <caitp> aww ggoodman is plunker broken again :(
[22:21:18] *** drej has joined #angularjs
[22:21:44] *** walden|brb is now known as walden
[22:22:47] *** cswelin has quit IRC
[22:22:59] *** treeofKarma has joined #angularjs
[22:23:52] *** treeofKarma has quit IRC
[22:23:57] <subone> Hmmm not sure I even understand what is happening in the ng-required directive...
[22:24:17] *** mrwn has quit IRC
[22:24:36] *** jsoverson has quit IRC
[22:24:39] <subone> How can it observe my expression if at the top it does attr.required = true
[22:24:45] *** cswelin has joined #angularjs
[22:24:46] *** krawchyk has joined #angularjs
[22:25:01] *** cthrax has joined #angularjs
[22:25:16] *** defaultdict has joined #angularjs
[22:25:19] *** bphogan_afk is now known as bphogan
[22:25:28] <subone> ok I guess I must be doing something wrong
[22:25:54] *** stevvooe has joined #angularjs
[22:25:56] *** xavia has joined #angularjs
[22:26:18] *** sigurding has joined #angularjs
[22:26:35] <subone> caitp: Can you explain that though? How can the required directive observe my expression if at the top it does attr.required = true. Why doesn't that overwrite my value?
[22:26:51] *** delerium_ has quit IRC
[22:27:21] <subone> Oh I think I see because $observe works on the "interpolated attribute"
[22:27:34] <subone> and attr.required is literally the required attribute
[22:28:21] *** arizzo has joined #angularjs
[22:29:10] *** teslanick has joined #angularjs
[22:29:44] *** ama519 has joined #angularjs
[22:30:13] *** jsoverson has joined #angularjs
[22:30:34] <subone> I see where I went wrong ty
[22:30:43] *** Nivag has joined #angularjs
[22:31:24] *** Aliks_ has quit IRC
[22:31:42] *** lite_ has joined #angularjs
[22:32:00] *** Aliks_ has joined #angularjs
[22:32:05] *** OddDuck has quit IRC
[22:32:33] *** arizzo has quit IRC
[22:33:19] *** Willow has quit IRC
[22:33:53] *** Willow has joined #angularjs
[22:34:26] *** ngoyal has joined #angularjs
[22:35:20] *** jacuqesdancona__ has joined #angularjs
[22:35:44] *** teeray has quit IRC
[22:35:56] *** mokush has quit IRC
[22:36:48] *** Willow_ has joined #angularjs
[22:37:02] *** pream has joined #angularjs
[22:37:14] *** Willow has quit IRC
[22:37:24] *** teeray has joined #angularjs
[22:37:41] *** FIFOd[a] has quit IRC
[22:37:58] *** arizzo has joined #angularjs
[22:37:59] *** nanoyak has quit IRC
[22:38:11] *** andrewhl has joined #angularjs
[22:38:13] *** dariocravero has joined #angularjs
[22:38:13] *** FIFOd[a] has joined #angularjs
[22:38:18] <eighty4> I'm using angular to fetch a couple (100 atm) images (returned as a json) and then loop them out. After that is done I don't do anything more. Yet angular keeps using a lot of cpu. Any ideas on what it might be doing?
[22:38:27] *** xuu has left #angularjs
[22:38:31] *** nanoyak has joined #angularjs
[22:38:51] *** drej has quit IRC
[22:38:59] *** morenoh149 has quit IRC
[22:38:59] *** upsell5 has quit IRC
[22:39:03] *** charuru has joined #angularjs
[22:39:32] *** benhx_ has quit IRC
[22:39:33] *** Ir1sh has joined #angularjs
[22:40:06] <crudbits> sounds easy enough to verify if its the $resource call generating the CPU drainage?
[22:41:08] <eighty4> removing the resource call will remove it yes, but that will also not show the images.
[22:41:20] <eighty4> I don't think it's the $resource call by itself that causes it
[22:41:37] *** lw has joined #angularjs
[22:41:55] *** bphogan is now known as bphogan_afk
[22:41:59] *** szymek_ has quit IRC
[22:42:25] *** walidvb has joined #angularjs
[22:42:29] <eighty4> I'm guessing angular have some internal $watch that takes up the cpu?
[22:42:44] *** arizzo has quit IRC
[22:43:01] *** ccohn has quit IRC
[22:43:01] *** Shrooms has joined #angularjs
[22:43:07] *** ngbot has joined #angularjs
[22:43:07] <ngbot> angular.js/master d259754 Izhaki: docs($compile): fix template and replace properties' docs...
[22:43:08] *** ngbot has left #angularjs
[22:43:10] *** ASUChander has joined #angularjs
[22:43:15] <crudbits> well it does watch anything put into $scope afaik
[22:43:26] *** mtsr has quit IRC
[22:43:27] <crudbits> but i assume youre not storing your images there right away?
[22:43:44] <crudbits> as in, first you read them into a local var then assign it to a $scope property?
[22:43:59] <crudbits> otherwise that might be a culprit
[22:44:27] *** cthrax has quit IRC
[22:44:38] *** teeray has quit IRC
[22:44:53] *** upsell5 has joined #angularjs
[22:44:58] <eighty4> crudbits: atm I fetch them then do $scope.photos = myPhotos, to be able to use <li ng-repeat="photo in photos">
[22:45:16] *** hannesvdvreken has quit IRC
[22:46:24] <eighty4> not assigning $scope.photos but still fetching the images will not increase the cpu.
[22:46:31] *** sigurding has quit IRC
[22:46:32] <eighty4> I guess it's way to many images then
[22:46:56] *** MTGap has joined #angularjs
[22:47:18] *** milka has quit IRC
[22:47:18] <crudbits> eighty4: hm idd, and you're not processing $scope.photos either I suppose?
[22:47:34] <crudbits> eighty4, you just set them and then display them
[22:47:38] *** pream1 has joined #angularjs
[22:47:42] *** juampy_backlater has quit IRC
[22:47:47] *** pream1 has quit IRC
[22:47:57] <jobelenus> Odd left-field question: does Angular attempt to redraw templates, or parts of templates that are hidden/viewed via CSS/animation??
[22:47:57] *** teeray has joined #angularjs
[22:48:13] *** akrikos has quit IRC
[22:48:36] <crudbits> jobelenus, i think that depends how they are "hidden"
[22:48:47] <jobelenus> currently bootstrap javascript
[22:48:58] *** elux has joined #angularjs
[22:49:17] *** AxldenieD has quit IRC
[22:49:34] <pream> Hey, does anyone know of a library that I can use to support multiple types of backends (websocket/rest api)
[22:49:36] <jobelenus> using bootstrap collapsable panels
[22:49:37] *** darkelda has quit IRC
[22:49:43] *** cthrax has joined #angularjs
[22:49:45] *** zbzzn_ has quit IRC
[22:49:48] *** Aliks_ has quit IRC
[22:49:50] <crudbits> jobelenus,I really have no immediate insight, but for instance display:none or visibility:hidden might have different results
[22:49:58] *** watsonkp has quit IRC
[22:49:58] <robdubya> pream you're probably going to want to roll your own
[22:50:09] <eighty4> crudbits: yeah
[22:50:19] <robdubya> i do a similar thing, and really its just a question of seperating the "model" layer from the "adapter" level
[22:50:56] *** nemothekid has joined #angularjs
[22:51:06] *** delerium_ has joined #angularjs
[22:51:09] <delerium_> join #firebase
[22:51:13] <pream> What is your approach to adapters?
[22:51:25] <jobelenus> i have an odd situation where an angular template isn't getting updated intermitently (but all the other templates are updating every time, all the scopes point back to the same service)… and a show/hide (rather collapse/uncollapse) always triggers a redraw of the template.. and im wondering why the hell the $watch isn't getting $apply'd every time??? (super weird)
[22:51:28] <robdubya> adapters expose CRUD
[22:51:46] <robdubya> so all adapters should have the same external API
[22:52:02] *** bphogan_afk is now known as bphogan
[22:52:08] *** lite_ has quit IRC
[22:52:18] <jobelenus> because if i $watch the same variable in my controller, its always updated and correct.. that controllers template just doesn't seem to get $apply'd every time (im not making any updates myself, its all coming through the service)
[22:52:25] <jobelenus> e.g i shouldn't have to apply this
[22:52:55] <pream> do happen to have an adapter open-sourced? :)
[22:52:59] *** Jdubs has quit IRC
[22:53:13] <robdubya> balderdashy.github.io/angularSails/#/api/ngsails.$sailsSocket
[22:53:32] *** Jdubs has joined #angularjs
[22:53:36] *** walidvb has quit IRC
[22:53:57] <robdubya> so that uses the exact same API as the $http service
[22:54:03] <robdubya> so its trivial to swap between them
[22:54:10] *** ngbot has joined #angularjs
[22:54:10] <ngbot> angular.js/master f6681d4 Caitlin Potter: fix(ngSanitize): follow HTML parser rules for start tags / allow < in text content...
[22:54:10] *** ngbot has left #angularjs
[22:54:29] *** djam90 has joined #angularjs
[22:55:09] *** Limix has quit IRC
[22:55:10] <Ownix> How do I handle outside librarys in angular? For example I want to use Jquery contextmenu, and Dropzone.js and other stuff
[22:55:12] <djam90> Has anyone ever done anything with drag, drop and selecting in Angular? Using something like jQuery UI?
[22:55:23] *** ReactiveIO has joined #angularjs
[22:56:04] <pream> thanks! this is helpful in getting me to roll my own
[22:57:17] *** Limix has joined #angularjs
[22:57:17] *** GeertV_ has quit IRC
[22:57:26] *** krawchyk has quit IRC
[22:57:37] <pream> rodubya ur awesome!
[22:57:38] *** GeertV_ has joined #angularjs
[22:58:05] *** bmac has quit IRC
[22:58:17] *** bmac has joined #angularjs
[22:58:28] *** jasoncurran has quit IRC
[22:58:41] *** bmac has quit IRC
[22:58:48] *** klaut has joined #angularjs
[22:58:52] *** liri has joined #angularjs
[22:59:07] *** Brayniverse has joined #angularjs
[22:59:29] <pream> I will write one and open source it!
[22:59:31] *** drej has joined #angularjs
[22:59:44] *** hugorodrigues has joined #angularjs
[22:59:45] *** kkuno has quit IRC
[22:59:52] *** pream has quit IRC
[22:59:56] *** kkuno has joined #angularjs
[23:00:03] *** jeffszusz has quit IRC
[23:00:06] *** Aswebbb has joined #angularjs
[23:00:08] *** jerev is now known as jerev_away
[23:00:09] *** ASUchander1 has joined #angularjs
[23:00:14]
<davek> Real quick stream question, I'm using node-gm which has a stream interface (http://aheckmann.github.io/gm/docs.html). If I want to use .write() at some point in the stream pipeline to spit out a copy of the image in its current form and then resume the pipe, how might I do that?
[23:00:15] <cthrax> djam90, I'm going to go out on a limb and say yes
[23:00:16] <djam90> Ownix you have to use a directive
[23:00:19] <Aswebbb> Hello, is someone here using ngInfiniteScroll in his angular app?
[23:00:22] *** cboden has quit IRC
[23:00:34] <Ownix> djam90: I see
[23:00:38] <djam90> cthrax, cool. I just wondered if it is "doable" and how difficult it is
[23:00:48] <robdubya> davek i assume what you want to spit out is more than one packet?
[23:01:05] *** krawchyk has joined #angularjs
[23:01:07] *** ChrisOei has joined #angularjs
[23:01:22] <cthrax> djam90, I've got an angular app that uses jquery-ui drag and drop, basically just wrap the jquery functionality into a directive so you have access to the element
[23:01:26] *** hannesvdvreken has joined #angularjs
[23:01:39] *** uf6667 has joined #angularjs
[23:01:39] <davek> Yeah, I want to save the image file in its present form then forward the stream.
[23:01:45] *** Yahkob has joined #angularjs
[23:01:59] <djam90> cthrax, cool. Does it work well?
[23:02:18] <cthrax> djam90, it's some overhead, but it works as well as jquery-ui does
[23:03:10] <cthrax> I found it to be a little tricky integrating the philosophies of "do everything to everything on the page all at once" with "deal only with what you know about" (jquery vs angular)
[23:03:11] <djam90> cthrax, cool. In a future project I need to build an image management thing inside admin panel, where user can upload images, enable/disable them on the site, delete them and maybe sort them. So thinking Angular may be nice
[23:03:18] *** ASUChander has quit IRC
[23:03:36] <cthrax> djam90, there may be better things that are already angularized out there for that
[23:03:43] <cthrax> better than jquery-ui I mean
[23:03:53] <cthrax> I'm using jquery-ui because I have legacy code I'm integrating
[23:03:57] <robdubya> davek a through / transform stream perhaps
[23:03:57] *** danizord has quit IRC
[23:04:16] <djam90> I see... where do I find these angularised stuff or just a google search?
[23:04:30] <cthrax> djam90, just google search
[23:04:33] <robdubya> i do a kind of thing like that parsing xml records out of an xml stream
[23:04:35] *** kas84 has joined #angularjs
[23:04:40] <djam90> coool thanks!
[23:04:41] *** CptChaos has quit IRC
[23:04:49] *** galuszkak has joined #angularjs
[23:04:56] *** ngbot has joined #angularjs
[23:04:56] <ngbot> angular.js/master 3c7f0f7 Paul Harris: test(filter): fix typo in descriptions...
[23:04:56] *** ngbot has left #angularjs
[23:04:56] <davek> robdubya, oooh yeah this might work.
[23:05:07] *** foofoobar has quit IRC
[23:05:09] *** Fishy has joined #angularjs
[23:05:16] *** ASUchander1 has quit IRC
[23:05:17] <djam90> thanks!
[23:05:17] <ckboii89> @robdubya I got my modal form to post to the DB, but its not closing. Am i not allowed to pass the json object to the close method on the modal form?
[23:05:23] *** phuh has quit IRC
[23:05:27] *** umib0zu has quit IRC
[23:05:37] *** no1uknow has quit IRC
[23:05:41] <robdubya> davek i found this article to be the most useful thing ever
[23:05:46] *** phuh has joined #angularjs
[23:05:51] *** FIFOd[a] has quit IRC
[23:05:56] <jobelenus> so--is it a generally good practice to turn Chrome Dev Tools off when developing in angular/
[23:06:04] *** nemothekid has quit IRC
[23:06:09] <cthrax> jobelenus, I don't see why you would do that
[23:06:13] *** tfennelly has joined #angularjs
[23:06:15] <robdubya> me either
[23:06:16] <cthrax> so let's go with no
[23:06:18] <davek> robdubya, oh this just wraps on 'data' and 'end' events around handy callbacks. Actually pretty cool.
[23:06:23] *** hugorodrigues has quit IRC
[23:06:24] <robdubya> ckboii89 pretty sure you can
[23:06:42] *** darrin has quit IRC
[23:06:49] <robdubya> davek i have ptsd from xml stream parsing but lmk if i can help
[23:06:54] <jobelenus> OK, that was my first instinct cthrax and robdubya, however, i think it may be mucking with mah shit
[23:07:05] <jobelenus> gonna test this for sec
[23:07:11] *** jonog has joined #angularjs
[23:07:14] <amedia> hello, is there a way to get form.$valid in the controller, which is around the form?
[23:07:15] <cthrax> jobelenus, I'd be a little surprised, but it's not unpossible
[23:07:16] *** simsketch_ has quit IRC
[23:07:22] *** chabier has joined #angularjs
[23:08:02] *** danielmahon has quit IRC
[23:08:22] <davek> robdubya, well... don't feel bad because it doesn't make any sense.
[23:08:24] <ckboii89> how does the close work? i passed the theform and just doesnt close, but posts?
[23:08:51] *** simsketch has joined #angularjs
[23:08:56] *** hugorodrigues has joined #angularjs
[23:08:56] <robdubya> davek haha, okay
[23:09:09] <djam90> Awesome! Just did a draggable and droppable in a directive!
[23:09:36] *** feelfine has quit IRC
[23:09:57] *** cigarshark has joined #angularjs
[23:09:57] <davek> robdubya, "In classic-streams, streams push data to the next stream in the pipeline. In new-streams, data is pulled out of the source stream, into the destination." Literally the same action from a different perspective.
[23:10:48] <robdubya> i basically built the same thing as the first link, and by the end of it i was pretty comfortable with my stream-foo, so didnt really explore the pull stuff
[23:11:37] <robdubya> so now its something like request.pipe(xmlParser).pipe(recordCacher).pipe(response)
[23:11:40] *** jonog has quit IRC
[23:11:53] *** mfunkie has quit IRC
[23:12:26] *** Matt_Ricketts has joined #angularjs
[23:12:31] *** amacgregor has quit IRC
[23:12:32] *** vbabiy has quit IRC
[23:12:38] *** BillCriswell has quit IRC
[23:12:40] *** mfunkie has joined #angularjs
[23:12:53] *** zeroquake has joined #angularjs
[23:13:04] <zeroquake> Directive doesnt work in "<div><mydir></mydir></div>" given in a bootstrap tooltip
[23:13:23] *** mattwynne has quit IRC
[23:14:22] *** Ethix has joined #angularjs
[23:14:29] <jobelenus> ok cthrax, its either my chrome had been open so long (or devtools) that chrome didn't want to redraw.. i thought angular was failing to update something… until i watched the element inspector update the value--but the browser screen didn't i was unconvinced.. and when i selected (with the mouse) the old value in the browser window, it re-drew to the new value…. damn ghosts in the machine
[23:15:08] *** dariocravero has quit IRC
[23:16:12] *** mindlace has joined #angularjs
[23:16:43] *** morenoh149 has joined #angularjs
[23:16:51] *** lw has quit IRC
[23:17:55] *** InezK is now known as InezK_away
[23:18:22] *** mehlah has quit IRC
[23:18:40] *** chrisbirk has quit IRC
[23:19:22] *** dve_ has quit IRC
[23:20:05] *** TorchDragon has quit IRC
[23:20:10] *** prikk has joined #angularjs
[23:20:27] *** GeertJohan has quit IRC
[23:21:17] *** hannesvdvreken has quit IRC
[23:21:17] *** andrewhl has quit IRC
[23:21:34] *** ceephax has quit IRC
[23:23:23] *** shinnya has quit IRC
[23:23:35] *** InezK_away is now known as InezK
[23:23:54] *** feelfine has joined #angularjs
[23:24:03] *** feelfine has joined #angularjs
[23:24:58] *** fold has joined #angularjs
[23:25:09] *** doodlehaus has quit IRC
[23:25:20] *** Sgeo has joined #angularjs
[23:25:27] *** mindlace has quit IRC
[23:25:58] *** alinou has quit IRC
[23:25:59] *** ericrav has joined #angularjs
[23:26:01] *** shackleford has quit IRC
[23:26:06] *** doodlehaus has joined #angularjs
[23:26:07] *** xaxisx has quit IRC
[23:27:27] *** fedenunez has quit IRC
[23:27:37] *** mindlace has joined #angularjs
[23:28:00] *** shinnya has joined #angularjs
[23:28:05] <cthrax> jobelenus, got it, yeah, if you have a ton of inefficient console messages combined with not enough RAM, it can cause weirdness
[23:28:13] *** mattwynne has joined #angularjs
[23:28:14] *** chabier has quit IRC
[23:28:38] *** dariocravero has joined #angularjs
[23:28:54] *** JasonStoltz has quit IRC
[23:29:04] *** Obversity has quit IRC
[23:29:05] <cthrax> jobelenus, I've also seen issues with millions of objects being created too
[23:29:13] <cthrax> again, when running up against the RAM barrier
[23:29:38] <jobelenus> cthrax: yea, i have to do a perf/memory check at some point soon… any good articles/resources on patterns/things to watch out for?
[23:29:45] *** mehlah has joined #angularjs
[23:29:49] *** tk has quit IRC
[23:30:03] *** rho has quit IRC
[23:30:04] *** shackleford has joined #angularjs
[23:30:29] *** mennea has quit IRC
[23:30:38] *** doodlehaus has quit IRC
[23:30:39] *** ng-Buku has joined #angularjs
[23:30:44] *** GeertJohan has joined #angularjs
[23:30:44] *** GeertJohan has joined #angularjs
[23:30:47] *** shackleford has quit IRC
[23:31:37] <ng-Buku> hi
[23:32:01] *** andrewhl has joined #angularjs
[23:32:34] *** mattwynne has quit IRC
[23:32:39] *** shackleford has joined #angularjs
[23:32:39] <ng-Buku> Bewbs Rock (o)(o)
[23:32:58] *** gnrlbzik has quit IRC
[23:32:59] *** dcherman2 has quit IRC
[23:33:03] <cthrax> jobelenus, this is an interesting one on performance
[23:33:08] *** mfunkie has quit IRC
[23:33:20] *** pauser has left #angularjs
[23:33:29] <jobelenus> aweomse, tx
[23:33:38] *** walden is now known as walden|brb
[23:33:39] *** ng-Buku has quit IRC
[23:33:40] <cthrax> though it's quite probable that these features will be baked into angular at some point
[23:33:49] *** walden|brb is now known as walden
[23:33:49] *** chabier has joined #angularjs
[23:34:44] <jobelenus> fair.. im mostly concerned about how to avoid memory leaks at this point
[23:34:47] *** walden is now known as walden|brb
[23:34:47] *** thomasfuston has quit IRC
[23:35:00] <jobelenus> e.g. what common patterns i think are harmless but instead create massive leaks in angular
[23:36:15] *** livingstn has quit IRC
[23:36:27] *** balboah has joined #angularjs
[23:36:38] *** dnxt has quit IRC
[23:36:41] *** e-dard has joined #angularjs
[23:36:45] *** OddDuck has joined #angularjs
[23:36:45] *** OddDuck has joined #angularjs
[23:37:11] *** heidi644 has quit IRC
[23:38:25] <moogumbo> Does anyone have general tips on optimizing page rendering speed for Angular apps?
[23:38:41] <moogumbo> New Relic is showing a lot of time spent on both "DOM Processing" and "Page Rendering"
[23:38:53] <Ownix> Can someone tell me why it crashes when looking for my document factory?
[23:39:15] <davek> robdubya, alright still not totally getting how to apply through here. Do I want to pipe my stdout through it? Like stdout.pipe(through(function(data) { writeStream.write(data); this.queue(data) }))?
[23:39:28] <opus_> Hey guys still trying to figure out in my head how to propery use Services...
[23:40:13] <robdubya> davek explain what you're trying to do exactly?
[23:40:15] <opus_> If I have some data, that is throughout my app called "FriendList" and "AllUsers" how do I wrap them up in a service. I have a .factory(...) and then inside of that var Users = [], and var Friends = [],
[23:40:19] *** galuszkak has left #angularjs
[23:40:57] *** Dchen has joined #angularjs
[23:41:00] <opus_> then when I call a function on my service (Add a Friend) and it manipulates the services var User = []... , the data doesn't get re-assigned to the scope
[23:41:02] <Ownix> My error is Unknown provider: $resourceProvider <- $resource
[23:41:04] *** shackleford has quit IRC
[23:41:18] <moogumbo> jobelenus: I've seen that, but... I'm not sure if those optimizations apply to my situation
[23:41:36] <moogumbo> I suppose my real question is: How do I diagnose why exactly my Angular app is slow?
[23:41:37] *** zumba_addict has quit IRC
[23:41:39] *** jhulten has joined #angularjs
[23:41:42] <jobelenus> heh
[23:41:54] <jobelenus> well, since none of us know anything about your angular app.. kinda hard
[23:42:19] <moogumbo> Yeah, I'm not expecting anyone to tell me why it's slow, just what I can do to figure out why it's slow
[23:42:20] <robdubya> jesus fuck. i thought software development was hard. hardware dev is a whole nother clusterfuckery
[23:42:44] <Ownix> Fixed it by including angular-resource as it is not part of the core.
[23:42:48] <moogumbo> I ran YSlow on the page but it was mostly useless
[23:43:00] <jobelenus> robdubya: its an exciting life you got there :/
[23:43:16] <robdubya> jobelenus exciting is not the word of the day
[23:43:20] *** amedia has quit IRC
[23:43:27] <robdubya> "you fucking moron, use version control" is the word of the day
[23:43:31] <jobelenus> lol
[23:43:48] <e-dard> I've done the following - created angular project with yeoman; done bower install parse-angular-patch; and added 'parse-angular' to a module of my app. However I can't see the Parse object
[23:44:10] *** rho has joined #angularjs
[23:44:10] *** rho has joined #angularjs
[23:44:26] <e-dard> any tips or ideas how to get this to work? I'm following the instructions but I think maybe using yeoman to create angular project might have changed something?
[23:44:46] *** night-owl-MBP has joined #angularjs
[23:44:53] *** teslanick has quit IRC
[23:45:24] *** Ir1sh has quit IRC
[23:45:56] <davek> Something like this, if you can verify my assumptions.
[23:46:04] <jobelenus> goddamn its a nice feeling when i get directives well enough to write one straight up and have it work the first time
[23:46:11] *** bweston has quit IRC
[23:46:16] *** ngbot has joined #angularjs
[23:46:17] <ngbot> angular.js/master d7b3aa9 Caitlin Potter: test(jqLite): make iframe contents() test less flaky...
[23:46:17] *** ngbot has left #angularjs
[23:47:02] <e-dard> what does angular.module('myappname', ['a', 'b', 'c']) do exactly?
[23:47:27] <davek> e-dard, it registers a module 'myappname' that depends on modules 'a', 'b', and 'c'.
[23:48:02] <davek> Meaning it checks for their existence before instantiating 'myappname' and exposes their services/directives/etc to 'myappname'.
[23:48:05] <basichash> Can i use regular bootstrap tabs with angular? having some issues with the urls
[23:48:06] *** gnarMatix has quit IRC
[23:48:08] <e-dard> davek: OK, that makese sense, so 'a', 'b' and 'c' should get pulled in right? And it will look locally for deps (which you maybe installed with bower)?
[23:48:22] *** shackleford has joined #angularjs
[23:48:25] *** krawchyk has quit IRC
[23:48:28] <davek> Right, those modules also registered using angular.module
[23:48:55] <davek> Which is how angular knows what's available.
[23:49:09] *** Aswebbb has quit IRC
[23:49:16] <e-dard> davek: in terms of a dep, e.g., 'c' - where is that name defined? Is it going to be in package.json of the dep?
[23:49:34] <davek> Eh?
[23:49:35] *** the-erm has quit IRC
[23:50:02] <davek> It's defined when those modules call angular.module('c', ...)
[23:50:15] *** bkuberek_ has quit IRC
[23:50:33] <e-dard> well if you do angular.module('myappname', ['c']) 'c' what makes the dependency use the name 'c'?
[23:50:41] <robdubya> davek that seems to be :
[23:50:51] <robdubya> image in -> crop -> image out
[23:50:55] *** TorchDragon has joined #angularjs
[23:50:56] <basichash> Can i use regular bootstrap tabs with angular? having some issues with the urls
[23:50:58] <robdubya> but are you wanting to "fork" the stream?
[23:50:59] *** Matt_Ricketts has quit IRC
[23:51:03] <davek> robdubya, precisely.
[23:51:05] *** the-erm has joined #angularjs
[23:51:11] <e-dard> davek I think maybe I'm using the wrong module name 'parse-angular' so I'm trying to figure out if the name is wrong
[23:51:16] <robdubya> so one image in -> two versions out?
[23:51:27] <davek> Right just downsampling each time.
[23:51:31] *** conlinism has quit IRC
[23:51:40] <davek> I want to work with the stream in its present form to avoid having to buffer the entire image file until it's written.
[23:51:43] *** zemanel has quit IRC
[23:51:48] <robdubya> that looks more or less right, i thnk
[23:51:53] *** Nizumzen has joined #angularjs
[23:51:59] <robdubya> forking a stream = adding two "listeners" most of less
[23:53:01] *** lite_ has joined #angularjs
[23:53:04] <basichash> Can i use regular bootstrap tabs with angular? having some issues with the urls
[23:53:09] <e-dard> I'm also confused about why a project might have a different name to the module that you register
[23:53:16] *** InezK is now known as InezK_away
[23:53:21] *** ckboii89 has quit IRC
[23:53:29] *** BillCriswell has joined #angularjs
[23:53:54] *** ckboii89 has joined #angularjs
[23:54:07] <davek> e-dard, some project maintainers name the project after the directive as it appears in the DOM rather than the module name. For instance angular-file-upload uses a directive named 'ng-file-upload' but the module name is 'angularFileUpload'
[23:54:27] <davek> Some people name the project with no goddamn common sense at all.
[23:54:45] <e-dard> davek: where would I look in the project code to confirm the module name?
[23:54:48] <basichash> anyone?
[23:54:48] *** InezK_away is now known as InezK
[23:55:00] <caitp> don't prefix your modules with ng- or angular- plz
[23:55:04] *** bphogan is now known as bphogan_afk
[23:55:06] <caitp> i know i do that but
[23:55:11] <caitp> don't be me i am dumb
[23:55:18] <davek> e-dard, hopefully they'd have put it in the documentation. Otherwise just check their source, their module definition has to be somewhere.
[23:55:25] <prikk> i prefix all my php classes with PHP
[23:55:28] <prikk> just to be sure
[23:55:30] <prikk> :3
[23:55:32] *** TorchDragon has quit IRC
[23:55:37] <davek> So many people make ng-directives despite the explicit urgings of the documentation.
[23:55:40] *** InezK is now known as InezK_away
[23:55:44] <e-dard> davek: yeah they put it in documentation. But nothing is working so wanted to check it's right :-/
[23:56:02] <davek> Also make sure it's being included after angular?
[23:57:04] *** lite_ has quit IRC
[23:57:05] *** dutis has joined #angularjs
[23:57:18] *** drej has quit IRC
[23:57:27] *** InezK_away is now known as InezK
[23:57:32] *** rho has quit IRC
[23:58:00] *** lay has joined #angularjs
[23:58:04] *** night-owl-MBP has quit IRC
[23:58:19] <subone> caitp: I have a revalidate directive that will `field.$setViewValue(field.$viewValue)` on the elements that should be revalidated. However, to begin with field.$viewValue is NaN. What is the proper/supported way to test if field.$viewValue is NaN?
[23:58:48] <davek> isNaN()?
[23:58:57] *** illume has joined #angularjs
[23:59:05] <caitp> $viewValue !== $viewValue
[23:59:21] <subone> oh you are a genius
[23:59:22] *** klaut has quit IRC
[23:59:51] *** imehesz has quit IRC