[00:00:18] *** faddah has quit IRC
[00:00:26] *** pdlug has quit IRC
[00:00:32] *** ericrav has quit IRC
[00:00:33] <opus_> Does anyone have a good tutorial on doing Models right with Services?
[00:00:40] *** faddah has joined #angularjs
[00:00:41] *** djam90 has quit IRC
[00:00:45] *** dylukes has quit IRC
[00:00:56] <e-dard> Is yeoman a reasonable way to create a skeleton angular project?
[00:01:05] <opus_> I've tried to watch 2-3 youtube videos, and they all do it strangely or just yap yap about everything but models
[00:01:18] *** walden|brb is now known as walden
[00:01:33] *** BillCriswell has quit IRC
[00:01:42] <subone> caitp: looks like that's exactly what I needed. Why isn't there an angular.isNaN?
[00:01:50] <jareddlc> hey guys im having issues with ng-class
[00:01:51] *** teeray has quit IRC
[00:01:53] *** mpaarating has quit IRC
[00:01:53] *** drej has joined #angularjs
[00:02:13] *** MaxV has quit IRC
[00:02:20] <jareddlc> i have an boolean and and i to toggle class based on true/false
[00:02:22] *** partikus has quit IRC
[00:02:42] *** ckboii89_ has joined #angularjs
[00:02:43] <jareddlc> but the docs only give example for truthiness : ng-class="{strike: deleted, bold: important, red: error}
[00:03:07] *** lite_ has joined #angularjs
[00:03:35] *** ckboii89 has quit IRC
[00:03:52] *** GeertV_ has quit IRC
[00:04:02] *** stevvooe_ has joined #angularjs
[00:04:23] *** jhulten has quit IRC
[00:04:28] *** endash has quit IRC
[00:04:28] *** GeertV_ has joined #angularjs
[00:04:36] *** Rahul_Roy has quit IRC
[00:04:45] *** InezK is now known as InezK_away
[00:05:02] *** m0t0r has joined #angularjs
[00:05:20] *** arrty has quit IRC
[00:05:46] *** arrty has joined #angularjs
[00:05:58] *** stevvooe has quit IRC
[00:07:05] *** bphogan_afk is now known as bphogan
[00:07:25] <zelrik> jareddlc, I think you can pass a method that returns a hash
[00:07:27] *** geilt has joined #angularjs
[00:07:42] <jareddlc> :|
[00:07:47] *** lite_ has quit IRC
[00:07:59] <zelrik> the other way is to {{}} it in class=
[00:08:01] *** jonog has joined #angularjs
[00:08:12] <jareddlc> hmm
[00:08:13] *** mac_ified has quit IRC
[00:08:33] *** GeertV_ has quit IRC
[00:08:37] <zelrik> or use a directive that takes care of it
[00:08:40] *** defaultdict has quit IRC
[00:08:48] <jareddlc> okay, thx zelrik
[00:08:53] <jareddlc> i'll try to class {{}}
[00:08:55] *** defaultdict has joined #angularjs
[00:09:15] <zelrik> using a directive might be cleaner
[00:09:35] *** jiggliemon has joined #angularjs
[00:10:19] *** arrty has quit IRC
[00:10:38] *** IanOlson has quit IRC
[00:10:55] *** yoshokatana has quit IRC
[00:11:02] <jiggliemon> I'd like to repeat two tr's for every item in an array.
[00:11:15] *** tgkokk has joined #angularjs
[00:11:26] *** dariocravero has quit IRC
[00:12:04] *** tomzx is now known as tomzx`afk
[00:12:11] <jiggliemon> <tr>... data and shit ... </tr><tr><td colspan="all the above"> ... progress bar related to the top ...</td></tr>
[00:12:19] *** geilt has quit IRC
[00:12:22] *** kas84 has quit IRC
[00:12:35] *** jonog has quit IRC
[00:12:45] *** quantax- has joined #angularjs
[00:12:58] *** simsketch has quit IRC
[00:13:04] <jiggliemon> Or am I doing this wrong?
[00:13:05] *** crudbits has quit IRC
[00:13:11] *** geilt has joined #angularjs
[00:13:26] <jiggliemon> Maybe repeat the table?
[00:14:04] <e-dard> how can you debug why a module has not been registered? I mean, I've done everything I'm supposed to but can't access the object that are supposed to be available. Not sure where to go from here.
[00:14:10] *** BlinkyBill has joined #angularjs
[00:14:12] *** geilt has quit IRC
[00:14:14] *** rho has joined #angularjs
[00:14:14] *** rho has joined #angularjs
[00:14:26] *** geilt has joined #angularjs
[00:14:30] <jiggliemon> multiple tbody's
[00:15:08] *** kas84 has joined #angularjs
[00:15:35] *** gordroid has quit IRC
[00:15:38] *** delerium_ has quit IRC
[00:15:47] *** cthrax has quit IRC
[00:15:53] *** tgkokk has quit IRC
[00:16:07] *** squeakytoy has quit IRC
[00:16:20] *** m0t0r has quit IRC
[00:16:32] *** tgkokk has joined #angularjs
[00:16:32] *** francisl has quit IRC
[00:17:24] *** tschundeee has quit IRC
[00:17:41] *** oste has quit IRC
[00:17:52] *** Drako_ has quit IRC
[00:17:58] *** nanoyak has quit IRC
[00:18:03] *** tschundeee has joined #angularjs
[00:18:13] *** zeroquake has quit IRC
[00:18:21] *** drej has quit IRC
[00:19:02] <e-dard> what does "If registering a module ensure that you specify the dependencies as the second argument." mean?
[00:19:34] *** Nek has quit IRC
[00:19:34] *** TazDev has quit IRC
[00:19:50] *** TazDev has joined #angularjs
[00:20:18] *** tgkokk has quit IRC
[00:20:36] *** bphogan is now known as bphogan_afk
[00:21:32] *** fedenunez has joined #angularjs
[00:21:34] *** delerium_ has joined #angularjs
[00:22:04] *** tschundeee has quit IRC
[00:22:08] *** ckboii89_ has quit IRC
[00:23:33] *** delerium_ has quit IRC
[00:23:41] *** Destos has quit IRC
[00:24:25] *** delerium_ has joined #angularjs
[00:24:37] *** anjumkaiser has joined #angularjs
[00:24:40] *** cthrax has joined #angularjs
[00:24:51] <prikk> e-dard: it means "don't forget the array"
[00:24:51] *** anjumkaiser has quit IRC
[00:24:59] *** tilgovi has joined #angularjs
[00:25:07] <prikk> angular.module("my-module") just references a created module
[00:25:07] *** nanoyak has joined #angularjs
[00:25:09] *** xavia has quit IRC
[00:25:14] <prikk> angular.module("my-module", []) registers a new
[00:26:57] *** nanoyak has quit IRC
[00:27:25] *** nanoyak has joined #angularjs
[00:27:51] *** phuh has quit IRC
[00:28:30] *** phuh has joined #angularjs
[00:28:40] <e-dard> prikk: so not really sure what's up
[00:29:16] <cacts|wtf> if the file that contains the array is loaded after the one that doesnt itll explode
[00:29:45] *** senayar has quit IRC
[00:29:52] <prikk> yeah, what's happening is that you're trying to register a new module myapp with a dependency parse-angular which is not registered
[00:30:05] <prikk> it's not loaded, it must be loaded before your code
[00:30:11] <e-dard> so how do I register/load it?
[00:30:17] *** senayar has joined #angularjs
[00:30:18] *** Serdar has quit IRC
[00:30:26] <prikk> you load it like any js file
[00:30:27] *** TazDev has quit IRC
[00:30:37] *** yoshokatana has joined #angularjs
[00:30:41] *** patrickarlt has joined #angularjs
[00:30:42] *** yoshokatana has quit IRC
[00:30:47] *** TazDev has joined #angularjs
[00:30:56] <e-dard> what like in index.html or something?
[00:31:03] <jobelenus> hey all, quick question.. i thought in directives that you used scope.$apply(attrs.foo) to get foo="objinscope" to eval from a string to the actual reference? but I'm getting "digest in progress, can't use $apply" errors?
[00:31:04] <prikk> <script src="..../angular.js"></script><script src="...../parse-angular.js"></script><script src="...../your-own-app.js"></script>
[00:31:18] <prikk> if you catch my drift
[00:31:18] *** Absolute0 has joined #angularjs
[00:31:18] *** drej has joined #angularjs
[00:31:21] <e-dard> prikk: yeah looks like gulp or bower or something already did that
[00:31:25] *** Chubbs has left #angularjs
[00:31:25] <cacts|wtf> use $timeout instead jobelenus
[00:31:34] <e-dard> in index.html I have <script src="bower_components/parse-angular-patch/dist/parse-angular.js"></script>
[00:31:38] <prikk> ok, i ain't touching that with a 10" pole in that case, sorry :)
[00:31:40] <subone> caitp: Any way to revalidate a field without dirtying it?
[00:31:41] *** patrickarlt has quit IRC
[00:31:51] <jobelenus> cacts|wtf: so scope.$timeout(attrs.foo)?
[00:31:52] <prikk> the problem is that it isn't loaded thougvh
[00:32:09] <prikk> so make sure it loads before you try to reference it as a dependency and it'll work
[00:32:12] <cacts|wtf> no $timeout is a service
[00:32:12] <jobelenus> im in a directive cacts|wtf what would i use a timeout here for?
[00:32:26] *** spencercarnage has quit IRC
[00:32:28] <Absolute0> How can I check if angular finished loading and updating the DOM? I am trying to install bootstrap datepicker to one of my input fields but it doesn't seem to work.
[00:32:29] <cacts|wtf> timeout schedules it for the next $digest
[00:32:43] <cacts|wtf> wheras scope.$apply fires a $digest immediately even if there's already one in progress
[00:32:45] <cacts|wtf> creating the error
[00:32:50] <e-dard> prikk: thanks
[00:33:18] <jobelenus> cacts|wtf: that seems really counter intuitative for evaluating attr strings against the scope
[00:33:19] *** chabier has quit IRC
[00:33:29] <prikk> np, but understand this: all angular modules need to be loaded before they can be used
[00:33:45] <prikk> like any code, it needs to be included
[00:33:47] <cacts|wtf> oh maybe i misunderstood your question
[00:33:54] <jobelenus> k
[00:34:18] <cacts|wtf> so you're trying to evaluate like "{{ attrs.foo }}"
[00:34:47] *** blueadept has quit IRC
[00:34:55] <jobelenus> no..
[00:35:02] <cacts|wtf> ok i dont understand at all then
[00:35:18] <cacts|wtf> oh oh oh
[00:35:35] <jobelenus> <my-directive my-attr="foo">, where Ctrl has $scope.foo = function() {} and in my directive i want to call foo()
[00:35:37] <cacts|wtf> so you have a directive that is like <my-directive some-attr="foo" />
[00:35:41] <cacts|wtf> yeah
[00:35:41] *** bayousoft has quit IRC
[00:35:45] <cacts|wtf> if foo is a string
[00:35:45] <jobelenus> attrs.foo is a string
[00:35:48] <opus_> if I have data in a factory, and then call a method on the factory to remove data (for example), how do I update my view? Do I call GetData in my controller??
[00:35:51] *** amargherio has quit IRC
[00:35:58] *** arkanciscan has joined #angularjs
[00:36:02] *** Willow_ has quit IRC
[00:36:03] <cacts|wtf> you need to use my-attr="{{ foo }}"
[00:36:13] <cacts|wtf> or $scope.foo
[00:36:23] <opus_> like, the controller would call the factory and then call getdata again for that factory data??
[00:36:26] <cacts|wtf> whats happening is you're binding the directive to foo's value, not foo because its a string primitive
[00:36:27] <opus_> is that the right way to do it?
[00:36:34] *** bmac has joined #angularjs
[00:36:35] *** Willow_ has joined #angularjs
[00:36:42] <jobelenus> right.. i want to get "foo" named variable from scope
[00:36:51] *** Brayniverse has quit IRC
[00:36:51] <jobelenus> i can't "assume" its "foo" and do $scope.foo
[00:36:57] <cacts|wtf> right
[00:37:13] <cacts|wtf> so <my-directive my-attr="{{ foo }}"> oughta do it
[00:37:15] <nickeddy> jobelenus: $scope['foo'] ?
[00:37:18] <jobelenus> but {{ foo }} in html seems wrong, b/c wont it spit my entire js function
[00:37:31] <cacts|wtf> no it will evaluate 'foo'
[00:37:33] <nickeddy> what do you mean spit your entire js function
[00:37:40] <cacts|wtf> right now its evaluating the value of 'foo' which is "Some string"
[00:37:50] <cacts|wtf> and strings are immutable so the value never changes
[00:38:01] <wafflejock> nickeddy: I spit mad js every night foo
[00:38:02] *** Willow_ has quit IRC
[00:38:07] *** Willow__ has joined #angularjs
[00:38:25] <cacts|wtf> it 'may' not work still, so i generally avoid this thing by always using a . somewhere in directive binding
[00:38:36] <jobelenus> scope[attrs['my-attr']] doesnt work
[00:38:51] <cacts|wtf> so like $scope.pageData = {}; $scope.pageData.foo = whatever
[00:39:08] <cacts|wtf> because the . forces it to evaluate properly in my-atter="pagedata.foo"
[00:39:20] <jobelenus> lol wafflejock… nickeddy, i mean wouldn't putting my-attr="{{ foo }}" evaluate my javascript function out to a string? e.g. it wouldn't be a reference...
[00:39:24] *** ckboii89 has joined #angularjs
[00:39:37] *** kkuno has quit IRC
[00:39:49] *** FunnyLookinHat has quit IRC
[00:39:53] *** [n0b0dy] has quit IRC
[00:39:56] *** kkuno has joined #angularjs
[00:40:03] *** [n0b0dy] has joined #angularjs
[00:40:13] <cacts|wtf> actually my-attr="'foo'" may work too
[00:40:23] <cacts|wtf> no jk
[00:40:39] *** terrykfwong has quit IRC
[00:40:52] *** mary5030 has quit IRC
[00:40:55] *** fedenunez has quit IRC
[00:40:55] *** elux has quit IRC
[00:41:09] <jobelenus> my-attr="{{ foo }}" evalutes to nothing.. so.. thats no good
[00:41:13] *** e-dard is now known as e-dard_afk
[00:41:27] *** TazDev has quit IRC
[00:41:29] *** bbankes has quit IRC
[00:41:30] <cacts|wtf> yeah just get a dot in there somehow
[00:41:33] <jobelenus> angular has to do this a million times internally
[00:41:40] <nickeddy> jobelenus: wtf are you trying to do
[00:41:42] <jobelenus> seriously, a dot is not going to solve anything
[00:42:02] <cacts|wtf> seriously it will
[00:42:10] <nickeddy> ^
[00:42:12] <cacts|wtf> just set $scope.anything.foo = $scope.foo
[00:42:23] <cacts|wtf> and bind to anything.foo
[00:42:25] <wafflejock> it's true moar dots
[00:42:28] <nickeddy> you're unaware of how scoping works if you think objects === primitives in that regard
[00:42:45] *** spencercarnage has joined #angularjs
[00:42:47] *** kas84 has quit IRC
[00:42:48] <jobelenus> nickeddy: <my-directive my-attr="foo"> in my Ctrl, $scope.foo = function(), in the link function of my directive i want to be able call the foo function on ctrl scope
[00:42:59] <jobelenus> i know how dots and scope and primatives work
[00:43:03] <jobelenus> thats not the current problem
[00:43:15] <jobelenus> the current problem is: i cant get a proper reference to a function on scope
[00:43:17] *** anjumkaiser has joined #angularjs
[00:43:26] <cacts|wtf> oh well you need foo() then
[00:43:30] <nickeddy> ^
[00:43:31] <jobelenus> the controller scope, the scope arg that comes into the link function
[00:43:38] <jobelenus> my-attr="foo()" ?
[00:43:39] <nickeddy> if you're calling a function, you have to actually call it
[00:43:42] <cacts|wtf> yes
[00:43:43] <wafflejock> ah k do you want & like ng-click?
[00:43:46] <jobelenus> im not trying to call it
[00:43:50] <nickeddy> lol
[00:43:58] *** uf6667 has quit IRC
[00:43:58] <jobelenus> i want to call it in the directive, after an action is taken
[00:43:59] <nickeddy> you're trying to pass a reference to it? the fuck are you doing it that way for
[00:44:02] <jobelenus> e.g. i want the reference
[00:44:10] <wafflejock> jobelenus: yeah like how ng-click works right
[00:44:14] <jobelenus> yes
[00:44:15] *** anjumkaiser has quit IRC
[00:44:19] <cacts|wtf> if you have to go that way you should be using $emit
[00:44:31] *** senayar has quit IRC
[00:44:33] <wafflejock> k you need scope:{myThing:"&"}
[00:44:52] <jobelenus> &?
[00:45:04] *** upsell5 has quit IRC
[00:45:08] *** senayar has joined #angularjs
[00:45:29] <jobelenus> im not returning a compile argumant from my directive.. just a link function
[00:45:37] <jobelenus> restrict and link
[00:45:57] *** thedodd has quit IRC
[00:46:05] *** matiasow has quit IRC
[00:46:25] *** lw has joined #angularjs
[00:46:26] <cacts|wtf> yes
[00:46:26] <Absolute0> Is there a callback I can pass to angular to be called after a controller is fully loaded?
[00:46:33] <jobelenus> AH, wafflejock i see what you're getting at with &
[00:46:36] *** lw has quit IRC
[00:46:40] *** matiasow has joined #angularjs
[00:46:44] *** hswolff has quit IRC
[00:46:49] <cacts|wtf> and you also need my-thing="foo()"
[00:46:51] *** greengriminal has joined #angularjs
[00:46:57] *** oa_ has joined #angularjs
[00:47:01] *** Jdubs has quit IRC
[00:47:13] *** lw has joined #angularjs
[00:47:42] *** raghunayyar has quit IRC
[00:47:43] *** jhulten has joined #angularjs
[00:48:15] *** jsoverson has quit IRC
[00:48:44] *** matiasow_ has joined #angularjs
[00:49:01] *** matiasow_ has quit IRC
[00:49:02] *** illume has quit IRC
[00:49:03] *** matiasow has quit IRC
[00:49:08] *** CodeFriar has quit IRC
[00:49:18] *** senayar has quit IRC
[00:49:21] *** walden is now known as walden|afk
[00:49:59] *** greatdex has joined #angularjs
[00:51:46] *** TorchDragon has joined #angularjs
[00:51:53] *** davi has quit IRC
[00:52:28] *** fedenunez has joined #angularjs
[00:52:54] *** nemothekid has joined #angularjs
[00:53:01] *** bmac has quit IRC
[00:53:04] *** szymek_ has joined #angularjs
[00:53:56] *** CodeFriar has joined #angularjs
[00:54:45] *** ellotheth has joined #angularjs
[00:55:00] *** michaelm has quit IRC
[00:55:01] *** Siecje1 has joined #angularjs
[00:55:03] *** fold has quit IRC
[00:56:09] *** ChrisOei has quit IRC
[00:56:29] *** TorchDragon has quit IRC
[00:56:34] *** wilmoore has quit IRC
[00:57:03] *** ChrisOei has joined #angularjs
[00:57:54] *** JimTheDev has quit IRC
[00:58:38] *** CodeFriar has quit IRC
[00:58:48] *** Jdubs has joined #angularjs
[00:59:00] <jobelenus> grrrrr… wtf.. im doing exactly what ng-click is doing with $parse and its not calling my damn function
[00:59:03] *** dutis has quit IRC
[00:59:26] *** mamian_ has joined #angularjs
[00:59:39] *** mamian has quit IRC
[01:00:06] *** arkanciscan has quit IRC
[01:00:15] *** dnxt has joined #angularjs
[01:01:06] *** kkuno has quit IRC
[01:01:38] <davek> plnkr.
[01:01:42] *** riets has quit IRC
[01:01:48] *** tomzx`afk is now known as tomzx
[01:01:50] *** quantax- has quit IRC
[01:02:02] *** jstroem has quit IRC
[01:02:14] <ellotheth> if i'm filtering an array through ng-repeat/ng-options, do i have a way to access the filtered subset?
[01:02:16] *** ericrav has joined #angularjs
[01:02:31] *** kalehv has joined #angularjs
[01:02:56] <ellotheth> is there a $list or $elements or anything?
[01:03:42] *** Absolute0 has quit IRC
[01:03:55] *** naneau has joined #angularjs
[01:03:59] *** Nizumzen has quit IRC
[01:04:17] *** bmac has joined #angularjs
[01:04:47] *** dnxt has quit IRC
[01:04:57] *** naneau has quit IRC
[01:05:02] *** jdcasey has quit IRC
[01:05:21] *** jtimon has quit IRC
[01:05:58] *** Bade has quit IRC
[01:06:30] *** anjumkaiser has joined #angularjs
[01:07:08] *** whunt has quit IRC
[01:07:09] *** anjumkaiser has quit IRC
[01:07:13] *** jiggliemon has quit IRC
[01:07:56] *** rho has quit IRC
[01:08:44] *** jonog has joined #angularjs
[01:08:50] *** nemothekid has quit IRC
[01:08:57] *** balboah has quit IRC
[01:09:05] *** lw has quit IRC
[01:09:06] *** jsoverson has joined #angularjs
[01:09:13] *** quartzmo has quit IRC
[01:09:47] <icfantv> elloheth: are you using $filter?
[01:09:51] *** quartzmo has joined #angularjs
[01:09:52] *** dnxt has joined #angularjs
[01:09:57] *** heidi has quit IRC
[01:09:58] *** Reite has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:00] *** [n0b0dy] has quit IRC
[01:10:10] *** [n0b0dy] has joined #angularjs
[01:10:35] *** caitp- has joined #angularjs
[01:10:42] *** stevvooe_ has quit IRC
[01:10:58] *** chabier has joined #angularjs
[01:11:06] *** whunt has joined #angularjs
[01:11:34] *** tfennelly has quit IRC
[01:11:35] <ellotheth> in the directive
[01:11:36] *** cacts|wtf has quit IRC
[01:11:39] *** RobinBAwesome has quit IRC
[01:11:53] <icfantv> wait. not in your controller?
[01:11:55] <ellotheth> ng-options="thing in stuff | filter{more:stuff}"
[01:12:04] <ellotheth> i think i figured it out
[01:12:05] <ellotheth> well
[01:12:13] <ellotheth> i found the guy on SO who figured it out already
[01:12:45] <ellotheth> "thing in (filteredstuff = (stuff | filter:{}))"
[01:12:47] <ellotheth> seems to work
[01:12:49] *** quantax- has joined #angularjs
[01:12:55] *** stevvooe has joined #angularjs
[01:13:13] *** caitp has quit IRC
[01:13:20] *** jonog has quit IRC
[01:13:42] <icfantv> ok. the result of a $filter call also returns the filtered items - which may be what is happening under the hood of what you're doing
[01:13:49] *** anjumkaiser has joined #angularjs
[01:13:53] *** dylukes has joined #angularjs
[01:13:58] *** quartzmo has quit IRC
[01:14:19] <ellotheth> yeah, that's what i'd use if i were doing the filtering in the controller itself
[01:15:30] *** subone has quit IRC
[01:16:02] *** balboah has joined #angularjs
[01:16:33] *** cthrax has quit IRC
[01:16:50] *** intellix has left #angularjs
[01:17:01] *** sonofdirt has quit IRC
[01:17:31] *** balboah has quit IRC
[01:18:03] *** ellotheth has quit IRC
[01:18:32] *** tschundeee has joined #angularjs
[01:18:40] *** Tidwell has joined #angularjs
[01:19:15] *** shackleford has quit IRC
[01:19:25] *** sdouglas has joined #angularjs
[01:19:31] *** szymek_ has quit IRC
[01:19:43] *** jhulten has quit IRC
[01:19:51] *** Jdubs has quit IRC
[01:20:48] *** whunt has quit IRC
[01:21:46] *** Jdubs has joined #angularjs
[01:23:26] *** stirlingw has quit IRC
[01:23:28] *** bphogan_afk is now known as bphogan
[01:23:35] *** bmac has quit IRC
[01:24:16] *** billli has quit IRC
[01:25:43] *** lw has joined #angularjs
[01:26:15] *** jsoverson has quit IRC
[01:26:33] *** dkenzik_ has joined #angularjs
[01:27:33] *** jsoverson has joined #angularjs
[01:28:18] *** DrMabuse has quit IRC
[01:28:40] *** jsoverson has quit IRC
[01:28:48] *** jsoverson has joined #angularjs
[01:29:18] *** asdofindia has quit IRC
[01:29:20] <opus_> hey guys, how do I use promises .then() on my own service factory methods?
[01:29:23] *** tschundeee has quit IRC
[01:29:37] <opus_> should they just work if I inject $q into the service module definition?
[01:29:59] *** dkenzik has quit IRC
[01:30:03] *** andrew9183 has quit IRC
[01:30:30] *** SonikBoom has joined #angularjs
[01:30:38] *** mogaj has quit IRC
[01:30:39] *** SaintMoriarty has joined #angularjs
[01:30:55] *** Willow__ has quit IRC
[01:30:58] <SaintMoriarty> Hello!
[01:31:08] <SaintMoriarty> join #angular-xeditable
[01:31:15] *** asdofindia has joined #angularjs
[01:31:19] *** mmitchell has quit IRC
[01:31:28] *** mamian_ has quit IRC
[01:31:29] *** Willow__ has joined #angularjs
[01:31:34] <opus_> my controller calls a service, the service changes some data. But I want to update my view after the call from the controller to the service is done. How do I do that?
[01:32:04] *** RobinBAwesome has joined #angularjs
[01:32:48] *** artisangoose has quit IRC
[01:33:47] *** SonikBoom has quit IRC
[01:34:18] <house> if your data is bound
[01:34:29] <house> ie. accessible from {{my_data}}
[01:34:32] <house> in the view.
[01:34:36] <opus_> the data is in the service
[01:34:37] <house> it will change automatically
[01:34:47] *** Tidwell has quit IRC
[01:34:53] <opus_> then when i manipulate the data in the service, i want to update the view
[01:35:08] <house> what im telling you is it will do it automatcially
[01:35:14] <house> when you update your scope
[01:35:17] <house> the view will change by itself
[01:35:33] <house> thats part of the magic of angular
[01:35:36] <opus_> maybe i am doing the service wrong
[01:35:47] <opus_> i have $scope.data = myService.getData();
[01:35:52] <quantax-> hrmm, any favored options for charts in angular ?
[01:36:01] <opus_> in my controller
[01:36:12] *** dazs has quit IRC
[01:36:12] <opus_> will that update it? Will it call getData();
[01:36:18] <quantax-> was just playing with angular-charts but it seems too limited
[01:36:20] *** RobinBAwesome has quit IRC
[01:36:24] *** Willow__ has quit IRC
[01:36:26] <house> you'll have the result set in
[01:36:27] <opus_> ? if I cahnge any of my internal data in the service? (Of course it won't)
[01:36:36] <house> $scope.data
[01:36:46] <opus_> huh?
[01:36:58] *** RobinBAwesome has joined #angularjs
[01:37:07] <house> your result set will be in your scope
[01:37:09] <opus_> But the service doesn't know / have access to the view (and shouldn't)
[01:37:10] *** tk has joined #angularjs
[01:37:12] <house> variable
[01:37:13] <house> data
[01:37:29] *** conan_the_destro has quit IRC
[01:37:29] <house> if you loop through that in the view
[01:37:50] <opus_> You're not making that much sense, I guess thanks for trying to help... hmm
[01:38:04] <house> heh.. ok. sorry you cant understand what i am saying
[01:38:15] <house> prb my fault for not explaining it well
[01:38:22] <opus_> do I set $scope.data to factory.data ?
[01:38:41] <opus_> then if i maniupate factory.data in the esrvice, $scope.data will magically update?
[01:38:59] *** jdowdle has quit IRC
[01:39:10] <house> your service supports your contoller yes?
[01:39:34] *** arizzo has joined #angularjs
[01:39:39] <opus_> its a factory, that gets injected into my controller. then the controller supports the service (a factory)
[01:39:48] *** SaintMoriarty has quit IRC
[01:39:56] <opus_> or whatever the term is. (support?)
[01:40:20] <house> say you have a factory like..
[01:40:35] *** mven_ has joined #angularjs
[01:41:08] <house> in your controller you might have something like
[01:41:30] <house> $scope.contactMessages = ContactMessagesFactory.query();
[01:41:46] <house> then in your view
[01:42:18] *** jobelenus has quit IRC
[01:42:51] <house> if you manipulate the date in the controller, it will change in the view
[01:42:56] <house> automatically.
[01:43:02] *** SaintMoriarty has joined #angularjs
[01:43:02] *** icfantv has quit IRC
[01:43:05] <house> for that matter, if the data upstream of the service changes.
[01:43:22] <house> it will also change int he view because of the way the data is wired back to the service through the controller
[01:43:37] <wafflejock> house: yeah there's a key point here
[01:43:45] <opus_> yes. I am manipulating the data in the service
[01:43:52] <wafflejock> if you use = to overwrite the original data object in the service then it won't be updating the same object
[01:44:01] <wafflejock> it will be pointing the reference in the service to a new object
[01:44:02] <opus_> So not in the controller.
[01:44:06] <wafflejock> you need to use angular.copy opus_
[01:44:09] *** arizzo has quit IRC
[01:44:16] <wafflejock> if you are trying to overwrite the original data set
[01:44:43] *** arizzo has joined #angularjs
[01:45:03] <opus_> is angular.copy sent a reference to $scope.data somehow?
[01:45:06] *** jsoverson has quit IRC
[01:45:14] <wafflejock> opus_: no it just empties out the object you're copying into
[01:45:20] <wafflejock> but it doesn't remove the reference to it
[01:45:22] <wafflejock> that's the key
[01:45:35] <wafflejock> both the service and controller scope will still be pointing to the same object
[01:45:39] *** sdouglas_ has joined #angularjs
[01:46:07] <wafflejock> if you do = you are telling the service to point it's variable to some new location but the controller isn't aware of this
[01:46:45] *** cacts has joined #angularjs
[01:47:09] <wafflejock> quantax-: Google Charts, High Charts, or NVD3
[01:49:03] *** sdouglas has quit IRC
[01:49:08] *** Jdubs has quit IRC
[01:49:18] *** arizzo has quit IRC
[01:49:32] *** shaym_ has joined #angularjs
[01:50:12] *** Tidwell has joined #angularjs
[01:50:25] *** Limix has quit IRC
[01:50:25] *** phuh has quit IRC
[01:50:50] *** phuh has joined #angularjs
[01:51:00] <wafflejock> opus_: if you just push/pop things from an array you aren't removing the reference so that works fine, but if you use = to change the javascript objects property to point to a new object like a new array then you've disconnected the service and the controller, they're no longer looking at the same memory
[01:52:05] <wafflejock> angular.copy is a convenient workaround because it just empties an object or array and then populates it with the supplied object or array properties or elements accordingly
[01:52:35] *** TorchDragon has joined #angularjs
[01:53:52] *** ReactiveIO has quit IRC
[01:53:55] *** greengriminal has quit IRC
[01:53:56] *** Shrooms has quit IRC
[01:54:06] *** dhcar is now known as dhcar_AFK
[01:54:22] *** Jdubs has joined #angularjs
[01:54:29] *** ReactiveIO has joined #angularjs
[01:54:36] <opus_> do I just need to call angular.copy once and then the data will be updated?
[01:54:44] <opus_> throughout my service calls?
[01:55:20] <opus_> $scope.data = angular.copy(myService.getData()); <-- now if I call myService.Remove(id) or myService.Add(id) will it update?
[01:55:39] *** rtpg has joined #angularjs
[01:55:54] *** moritzs has joined #angularjs
[01:56:33] *** AciD``` has quit IRC
[01:57:20] *** TorchDragon has quit IRC
[01:57:25] *** rtpg has quit IRC
[01:57:32] *** rtpg has joined #angularjs
[01:57:45] *** mac_ified has joined #angularjs
[01:58:33] *** ReactiveIO has quit IRC
[01:59:04] *** Jdubs has quit IRC
[01:59:42] *** bicranial has joined #angularjs
[02:00:10] *** svycka has joined #angularjs
[02:00:31] *** tfennelly has joined #angularjs
[02:00:33] *** gnrlbzik has joined #angularjs
[02:01:28] *** night-owl has quit IRC
[02:01:37] *** chabier has quit IRC
[02:01:40] *** Jdubs has joined #angularjs
[02:02:02] *** mikaeldice has joined #angularjs
[02:02:03] *** darrin has joined #angularjs
[02:02:11] *** Willow__ has joined #angularjs
[02:02:43] <wafflejock> opus_: no not like that
[02:02:52] <caitp-> opus_: copy() makes a clone of your object
[02:03:07] <caitp-> so it wouldn't share a reference to whatever the service has
[02:03:13] <wafflejock> caitp-: right well I'm talking about using it to replace the contents of an object.. it works well for that
[02:03:33] <wafflejock> like angular.copy(resp.data, myService.data)
[02:03:59] *** night-owl has joined #angularjs
[02:04:50] *** subnl has quit IRC
[02:05:04] *** tfennelly has quit IRC
[02:05:16] *** gnrlbzik has quit IRC
[02:05:19] *** OddDuck has quit IRC
[02:05:37] <wafflejock> super busy atm er would do an example maybe later
[02:05:41] <opus_> where would I put angular.copy then, after each call to my service in my controller? Do I use the promises.then() functionality?
[02:05:49] *** jamesbdev has joined #angularjs
[02:05:50] *** carif has joined #angularjs
[02:06:46] *** gnrlbzik has joined #angularjs
[02:07:01] <opus_> Something like, "Hey we're removing a friend from the frist list. The view sends the click to the controll.er the controller calls the service. the service calls the server. then I need to communicate to the view that the friend was removed and the list of friends needs to update"
[02:07:13] *** tfennelly has joined #angularjs
[02:07:52] <opus_> ... all the examples I see are people manipulating two datasets: one for the view, and one for the service.
[02:08:22] <jamesbdev> Hi,
[02:08:23] <jamesbdev> My colleague and I will soon be starting a project that heavily uses AngularJS. We are still unsure whether we should implement it as a SPA using angular-ui-router, or as standard web app with some parts AngularJs. For two web developers that have not used AngularJS in production before, would it be unwise to develop a SPA?
[02:08:28] *** rtpg has quit IRC
[02:08:33] *** Limix has joined #angularjs
[02:08:51] *** TyrfingMjolnir has quit IRC
[02:08:54] <zelrik> SPA's are awesome
[02:08:56] *** ericrav has quit IRC
[02:08:57] <agronholm> jamesbdev: that's impossible to know without knowing how your app is supposed to work
[02:09:28] <jamesbdev> agronholm: Sorry you're quite right. The appliction is a job and inventory management system.
[02:09:33] *** jonog has joined #angularjs
[02:09:35] *** ericrav has joined #angularjs
[02:09:42] *** dhcar_AFK is now known as dhcar
[02:10:01] <agronholm> I'd say that if it's a "web application" then going SPA sounds like the right choice
[02:10:03] <zelrik> anything could be a SPA I guess
[02:10:05] *** stirling_ has joined #angularjs
[02:10:06] *** Jdubs_ has joined #angularjs
[02:10:07] *** Yancy has joined #angularjs
[02:10:08] <zelrik> it depends how you design it
[02:10:16] <opus_> is SPA , as in single page application?
[02:10:20] <agronholm> yes
[02:10:20] *** Tidwell has quit IRC
[02:10:22] <opus_> I use angular-ui-router with single page
[02:10:32] <agronholm> for web sites (where SEO is a factor), part angular would work better
[02:10:33] <opus_> using the script-id trick
[02:10:43] <agronholm> what script-id trick?
[02:10:46] *** willmarshall has joined #angularjs
[02:10:52] <zelrik> SEO is not an issue with angular
[02:10:54] <jamesbdev> SEO is not a factor, this is a web application that is internal to the business.
[02:10:59] <zelrik> if you take the right steps to address it
[02:11:03] *** bayousoft has joined #angularjs
[02:11:03] *** [n0b0dy] has quit IRC
[02:11:13] <opus_> <script id="ASDF.html" type="text/ng-template">
[02:11:27] <agronholm> zelrik: how so? bots don't do JS so they don't see dynamic content
[02:11:35] <opus_> now you can ui-router to ASDF.html but its in a single HTML file
[02:11:38] *** Jdubs has quit IRC
[02:11:44] <bencc> are there UI libs for angular beside angular-ui?
[02:11:47] *** Tidwell has joined #angularjs
[02:11:51] <zelrik> agronholm, there are third party services that renders your page
[02:11:54] *** tomh- has quit IRC
[02:11:58] <zelrik> agronholm, eg: prerender.io
[02:11:59] *** dnxt has quit IRC
[02:12:05] <agronholm> zelrik: how does that help with SEO?
[02:12:10] <zelrik> there is also SEO.js and brombone
[02:12:21] *** astericky has joined #angularjs
[02:12:21] <caitp-> also, bots are doing JS these days more and more
[02:12:40] <jamesbdev> I guess I am asking if AngularJS gets exponentially more complex to implement if you start using Angular-Ui-Router, and if it would be wiser for two people unfamiliar with AngularJs to not go down that route.
[02:12:53] *** mpaarating has joined #angularjs
[02:12:57] <agronholm> jamesbdev: exponentially? hardly
[02:13:13] <opus_> angular ui router is the way to go
[02:13:16] <zelrik> caitp-, are they
[02:13:16] *** ericrav has quit IRC
[02:13:19] *** rchavik has joined #angularjs
[02:13:19] <caitp-> jamesbdev the thing is, angular is currently more complicated than it needs to be, it's not as simple as we'd like
[02:13:23] <caitp-> we're working on that
[02:13:25] *** rchavik has quit IRC
[02:13:25] *** rchavik has joined #angularjs
[02:13:26] *** Efrem has joined #angularjs
[02:13:32] <caitp-> but as hard as it is, it's doable
[02:13:39] <TheAceOfHearts> My lib works in IE6. I feel I have transcended.
[02:13:44] *** night-owl-MBP has joined #angularjs
[02:13:50] *** ericrav has joined #angularjs
[02:13:51] *** tfennelly has quit IRC
[02:13:54] *** willmarshall has quit IRC
[02:14:05] *** night-owl-MBP is now known as night-owl2
[02:14:08] <zelrik> caitp-, what are the major improvements in the pipeline
[02:14:08] *** jonog has quit IRC
[02:14:10] <jamesbdev> So Angular-Ui-Router would be suitable for a complex application with many views / partials ?
[02:14:16] <TheAceOfHearts> yes
[02:14:17] <opus_> yes
[02:14:24] <zelrik> I use default ng-route
[02:14:26] <zelrik> works well
[02:14:28] <zelrik> :)
[02:14:54] *** slainer6_ has quit IRC
[02:14:59] *** stirling_ has quit IRC
[02:14:59] *** Jdubs_ has quit IRC
[02:15:04] *** marr has quit IRC
[02:15:16] <caitp-> zelrik, i'm pushing for opinionated defaults that don't suck
[02:15:23] <caitp-> to make things simpler for people starting out
[02:15:24] <opus_> I tried all of them and then finally tried to build my own state machine then i went back to ui router because it was close enough and i haven't had any problems.
[02:15:32] <zelrik> cool
[02:15:37] *** Jdubs has joined #angularjs
[02:15:42] <caitp-> a less crazy directive api
[02:15:50] <opus_> and ionic uses it by default which I really liked.
[02:15:56] *** wdgreg has joined #angularjs
[02:15:57] <zelrik> the $location thing could use some updates
[02:16:00] <caitp-> none of the current directive api makes any sense at all to users
[02:16:13] <zelrik> yeah directives are tough
[02:16:18] *** ziyadb has joined #angularjs
[02:17:59] *** stevvooe has quit IRC
[02:18:23] *** stirlingw has joined #angularjs
[02:18:35] *** ericrav has quit IRC
[02:18:46] *** shackleford has joined #angularjs
[02:18:59] *** jonog has joined #angularjs
[02:19:07] *** jstimm has quit IRC
[02:19:12] <wafflejock> opus_: typically you only need angular.copy somewhere you would be doing an assignment to replace the entire data set or object you fetched from the server
[02:19:16] *** shackleford has joined #angularjs
[02:19:56] <zelrik> caitp-, I never managed to use `compile`
[02:19:58] *** Yancy has quit IRC
[02:20:08] *** [n0b0dy] has joined #angularjs
[02:20:19] <opus_> waffle: can I just use .then() promises to reload the data after I call the service? that seems to be the easiest.
[02:20:20] <zelrik> every time I thought I needed it, I eventually found out I didnt need it
[02:20:23] *** Jdubs has quit IRC
[02:20:26] <zelrik> or I found a workaround
[02:20:45] *** Foxandxss has quit IRC
[02:20:46] <opus_> waffle: But how do I get a .then() to work on my service call? Do I need to do a $q.deffer somewhere before i call my service, i guess
[02:20:57] *** stevvooe has joined #angularjs
[02:21:42] <opus_> from my controller. "Hey I called my service, then() now update thre view
[02:22:27] *** astericky has quit IRC
[02:22:38] *** bbrown has quit IRC
[02:22:45] *** stirling_ has joined #angularjs
[02:22:49] <opus_> if I just throw a .then() after my service call I get : TypeError: Cannot read property 'then' of undefined
[02:23:03] *** stirlingw has quit IRC
[02:23:12] <zelrik> caitp-, is it good practice to use $broadcast from within a service
[02:24:18] *** foobarbazbat has quit IRC
[02:24:53] <davek> What the hell... resize image to 200x200, everything works great. Resize _that_ to 120x120 and it outputs 120x109...
[02:27:32] *** sdouglas_ has quit IRC
[02:28:08] *** stirling_ has quit IRC
[02:29:01] *** DrMabuse has joined #angularjs
[02:29:10] *** stirlingw has joined #angularjs
[02:29:14] <caitp-> zelrik: you should prefer to use an external event emitter instead, imo
[02:29:18] *** stirlingw has quit IRC
[02:29:38] *** Jdubs has joined #angularjs
[02:29:42] <zelrik> caitp-, what do you mean
[02:29:59] *** danielpquinn has quit IRC
[02:30:39] <zelrik> Usually, it's after a callback, my service is done with a bunch requests and data processing and I want to poke the involved controllers
[02:30:42] *** night-owl2 has quit IRC
[02:30:54] *** astericky has joined #angularjs
[02:30:58] <caitp-> the angular event system isn't really very good, zelrik
[02:31:05] <caitp-> in terms of speed
[02:31:21] <zelrik> yeah, I kinda guessed that, hence why I ask
[02:32:18] *** greatdex has quit IRC
[02:32:39] *** kalehv has quit IRC
[02:32:57] *** bphogan is now known as bphogan_afk
[02:33:09] <zelrik> well it s not like I am spaming 10 broadcasts per second anyway
[02:33:19] *** kalehv has joined #angularjs
[02:33:23] *** oa_ has quit IRC
[02:33:30] *** DrMabuse has quit IRC
[02:33:43] *** subnl2 has joined #angularjs
[02:33:59] <zelrik> I have a few features that are heavy in broadcast
[02:34:03] <zelrik> I kinda hate that
[02:34:18] *** gnrlbzik has quit IRC
[02:34:34] *** subnl2 has left #angularjs
[02:34:39] *** Jdubs has quit IRC
[02:34:40] *** bphogan_afk is now known as bphogan
[02:34:40] *** fedenunez has quit IRC
[02:34:52] *** gnrlbzik has joined #angularjs
[02:36:09] *** mary5030 has joined #angularjs
[02:36:18] *** MickeyO has quit IRC
[02:36:33] *** richiebkr has joined #angularjs
[02:36:47] *** k-dawg has joined #angularjs
[02:36:59] *** richiebkr is now known as kudasai
[02:37:08] <opus_> waffle: how would I preload items?
[02:37:20] *** sdouglas has joined #angularjs
[02:37:34] *** kalehv has quit IRC
[02:37:38] *** kudasai has quit IRC
[02:37:47] *** Limix has quit IRC
[02:38:48] *** chandlershax_lap has joined #angularjs
[02:39:18] *** Jdubs has joined #angularjs
[02:39:18] *** one_zero has joined #angularjs
[02:39:29] *** spencercarnage has quit IRC
[02:39:37] <wafflejock> opus_: you can have the items defined in the array initially or if you want to ever repopulate it with some data something like angular.copy(["new","data","here"], service.items)
[02:39:42] *** bayousoft has quit IRC
[02:39:43] *** gnrlbzik has quit IRC
[02:39:45] *** BillCriswell has joined #angularjs
[02:40:04] *** upsell5 has joined #angularjs
[02:40:18] <wafflejock> or service.items.push or .pop is fine cause you're not creating a new object/reference for the array itself just changing the entries
[02:40:19] *** bayousoft has joined #angularjs
[02:40:19] *** RobinBAwesome has quit IRC
[02:40:23] *** arizzo has joined #angularjs
[02:40:29] *** hugorodrigues has quit IRC
[02:41:07] <wafflejock> as long as you do that and $scope.$apply is triggered by something you do or you call it yourself the view should stay updated too
[02:41:23] *** lordkryss has quit IRC
[02:41:35] *** rtpg has joined #angularjs
[02:42:24] <wafflejock> if you want the service.items can be an object {} instead of an [] and the same method of using angular.copy works too, same deal
[02:42:37] *** ngbot has joined #angularjs
[02:42:37] <ngbot> angular.js/master 8cefb0b Josh Schreuder: docs($interval): fix missing square brackets in example...
[02:42:37] *** ngbot has left #angularjs
[02:43:25] *** arizzo has quit IRC
[02:43:31] *** night-owl2 has joined #angularjs
[02:43:59] *** arizzo has joined #angularjs
[02:44:15] <chandlershax_lap> Hello, quick noob question if you guys don't mind. I am using AngularJS 1.2.10 with ui-bootstrap, mainly for it's typeahead function. The typeahead searches name.first in my JSON array, and I needed it to "respond" with the _id of the resulting object. So my typeahead has a model of "typeahead.student", and I have a hidden input on one of my forms that has a ng-vaule set to "typeahead.student._id". All of the data is subm
[02:44:15] <chandlershax_lap> itted via a function "flagStudent()" (On ng-click). Everything in the form goes through fine, except for the one hidden input, the most important one. I'm sure there is a better way of doing this, I just haven't found it. I can put a demo of Plunkr if it would help.
[02:45:26] *** Ethix has quit IRC
[02:45:29] *** slainer68 has joined #angularjs
[02:45:34] *** hugorodrigues has joined #angularjs
[02:45:45] *** nanoyak has quit IRC
[02:45:46] *** Ethix has joined #angularjs
[02:45:51] *** upsell5 has quit IRC
[02:46:11] *** gnrlbzik has joined #angularjs
[02:46:33] *** MickeyO has joined #angularjs
[02:47:52] *** boneskull has quit IRC
[02:48:14] *** watsonkp has joined #angularjs
[02:48:18] *** arizzo has quit IRC
[02:48:41] <zelrik> reading other's code makes me feel like a noob
[02:49:06] *** sdouglas has quit IRC
[02:49:07] *** shackleford has quit IRC
[02:49:14] *** shackleford has joined #angularjs
[02:49:19] *** fold has joined #angularjs
[02:50:13] <opus_> hmmm.. crap, I'm even more confused
[02:50:25] <Dchen> anyone have experience with transition animation with ui-router?
[02:50:27] *** phuh has quit IRC
[02:50:33] *** OdinIncarnate has joined #angularjs
[02:50:39] <monokrome> Will directives that are set to `restrict: 'E'` use document.createElement if it exists?
[02:50:40] <opus_> I need, controller calls service. Populates User[] from REST service. then AddUser/RemoveUser works and View updates
[02:50:48] <opus_> .... but populating User into view isn't working
[02:51:08] <monokrome> IE, do directives leverage custom elements / web components in supporting browsers?
[02:51:32] *** e-dard_afk is now known as e-dard
[02:51:35] *** SpearThruster has quit IRC
[02:52:18] *** e-dard is now known as e-dard_afk
[02:52:22] *** ReactiveIO has joined #angularjs
[02:52:34] *** ajph has quit IRC
[02:52:34] <opus_> Wait, might have been just a typo. it worked
[02:52:58] *** moritzs has quit IRC
[02:53:24] *** TorchDragon has joined #angularjs
[02:53:24] *** shackleford has quit IRC
[02:53:45] *** spencercarnage has joined #angularjs
[02:55:15] *** JoshGlzBrk has joined #angularjs
[02:55:22] *** linojon has quit IRC
[02:55:33] *** ajph has joined #angularjs
[02:55:51] *** Sky[x] has joined #angularjs
[02:56:13] *** imsys has joined #angularjs
[02:57:29] *** Vinnyceptr has quit IRC
[02:58:03] *** TorchDragon has quit IRC
[02:58:06] *** delerium_ has quit IRC
[02:58:33] *** bicranial has quit IRC
[02:58:59] *** delerium_ has joined #angularjs
[02:59:44] *** TyrfingMjolnir has joined #angularjs
[02:59:59] *** chandlershax_lap has quit IRC
[03:00:10] <zelrik> I feel like the advanced stuff happens with controllers and directives
[03:00:56] *** k-dawg has quit IRC
[03:01:00] *** delerium_ has quit IRC
[03:01:53] *** rchavik has quit IRC
[03:02:44] *** joojis has joined #angularjs
[03:03:45] *** ericrav has joined #angularjs
[03:03:55] *** tsalb has quit IRC
[03:04:02] <Dchen> robdubya: ahh thank you sir
[03:04:11] *** tigrang has quit IRC
[03:04:15] *** delerium_ has joined #angularjs
[03:04:17] *** rburns has quit IRC
[03:06:24] *** feelfine_ has joined #angularjs
[03:06:52] *** feelfine has quit IRC
[03:07:02] *** feelfine has joined #angularjs
[03:07:33] *** fedenunez has joined #angularjs
[03:07:36] *** tfennelly has joined #angularjs
[03:07:58] *** TyrfingMjolnir has quit IRC
[03:08:12] *** thesrge has quit IRC
[03:08:15] *** gnrlbzik has quit IRC
[03:08:31] *** bphogan is now known as bphogan_afk
[03:08:49] *** hugorodrigues has quit IRC
[03:09:00] *** jonog has quit IRC
[03:09:07] *** Willow___ has joined #angularjs
[03:09:18] *** motionman has joined #angularjs
[03:09:18] *** motionman has joined #angularjs
[03:09:32] *** jonog has joined #angularjs
[03:09:57] *** ngoyal has quit IRC
[03:10:03] *** Willow__ has quit IRC
[03:10:10] *** rchavik has joined #angularjs
[03:10:36] *** TyrfingMjolnir has joined #angularjs
[03:11:09] *** SaintMoriarty has quit IRC
[03:11:23] *** feelfine_ has quit IRC
[03:11:37] *** rburns has joined #angularjs
[03:11:58] *** tfennelly has quit IRC
[03:12:08] *** Limix has joined #angularjs
[03:12:14] *** the-erm has quit IRC
[03:12:44] *** elxa has quit IRC
[03:12:47] *** gjvc has quit IRC
[03:13:07] *** AlexZ has joined #angularjs
[03:13:30] *** bkuberek has joined #angularjs
[03:13:32] *** Jdubs_ has joined #angularjs
[03:13:37] <Dchen> robdubya: do you know if its possible to do nested animations this way, for example i have a parent ui-view, which has child ui-views
[03:13:51] <Dchen> when i load the page only the parent ui-view animation happens
[03:14:00] *** ericrav has quit IRC
[03:14:18] *** the-erm has joined #angularjs
[03:14:33] *** jonog has quit IRC
[03:14:56] *** night-owl2 has quit IRC
[03:15:15] *** hugorodrigues has joined #angularjs
[03:15:57] *** nanoyak has joined #angularjs
[03:16:01] *** Efrem has quit IRC
[03:16:11] *** AlexZan has quit IRC
[03:16:44] *** stirlingw has joined #angularjs
[03:16:47] *** Jdubs has quit IRC
[03:16:52] *** jonog has joined #angularjs
[03:17:18] *** sysko has quit IRC
[03:17:29] *** oa_ has joined #angularjs
[03:19:13] *** feelfine_ has joined #angularjs
[03:19:24] *** DrMabuse has joined #angularjs
[03:19:37] *** RobinBAwesome has joined #angularjs
[03:19:41] *** Limix has quit IRC
[03:19:43] *** rtpg has quit IRC
[03:19:56] <TyrfingMjolnir> I wrote a .js file using NodeJS querying Postgre, how do I call this from AngularJS?
[03:20:03] *** nanoyak has quit IRC
[03:20:09] *** RobinBAwesome has quit IRC
[03:20:12] <robdubya> via an API
[03:20:13] <caitp-> TyrfingMjolnir, what
[03:20:18] *** feelfine has quit IRC
[03:20:24] * caitp- is confused
[03:20:35] <robdubya> TyrfingMjolnir you need to set up end point on your node server
[03:20:41] *** nanoyak has joined #angularjs
[03:20:46] <robdubya> that can accept an http request, trasnlate it, make your query, and return json
[03:21:07] *** jareddlc has quit IRC
[03:21:16] <caitp-> doesn't postgre have a plugin to automatically create REST endpoints? I know mysql does
[03:21:20] <TyrfingMjolnir> robdubya: using express on an odd port?
[03:21:34] *** Vloz has joined #angularjs
[03:21:38] *** Gambit- has quit IRC
[03:21:49] <robdubya> TyrfingMjolnir typically yes.
[03:22:06] *** feelfine_ has quit IRC
[03:22:37] *** bicranial has joined #angularjs
[03:22:44] <TyrfingMjolnir> caitp-: What is the one for MySQL?
[03:23:20] <caitp-> i can't even remember because I never use mysql, but I've seen it mentioned before =)
[03:23:31] <caitp-> in addition to that, there are things like Flask, there's probably a similar thing in node
[03:23:40] <caitp-> i'd bet on it
[03:23:43] <caitp-> and if there isn't, make one :p
[03:23:45] <robdubya> this is more or less what you want
[03:23:47] <caitp-> that looks like one
[03:23:58] *** DrMabuse has quit IRC
[03:24:01] *** nanoyak has quit IRC
[03:25:11] *** mdedetrich has joined #angularjs
[03:25:34] <TyrfingMjolnir> Why do I want this?
[03:26:05] <robdubya> angular -> $http -> THE INTERNET -> rest API -> database query
[03:26:14] *** defaultdict has quit IRC
[03:26:28] *** jkremser has quit IRC
[03:26:28] *** flack has joined #angularjs
[03:27:20] *** mehlah has quit IRC
[03:27:34] *** cuong has joined #angularjs
[03:28:31] <TyrfingMjolnir> angular -> $http -> LANIP:rest API -> database query
[03:29:09] *** Vloz_ has joined #angularjs
[03:29:12] *** crocket has joined #angularjs
[03:29:18] *** lw has quit IRC
[03:29:29] <crocket> How does anyone detect visual regression systematically in UI tests?
[03:29:47] *** mary5030 has quit IRC
[03:29:55] <crocket> I use protractor to drive web browsers.
[03:30:23] *** bicranial has quit IRC
[03:30:42] *** danielpquinn has joined #angularjs
[03:30:49] *** Matt_Ricketts has joined #angularjs
[03:30:58] *** Tidwell has quit IRC
[03:31:10] *** morgs32 has joined #angularjs
[03:31:42] *** bicranial has joined #angularjs
[03:31:44] *** Vloz__ has joined #angularjs
[03:32:03] *** Vloz has quit IRC
[03:32:04] *** cigarshark has quit IRC
[03:32:22] *** holymac has quit IRC
[03:32:43] *** bkuberek_ has joined #angularjs
[03:33:17] *** Andreo has quit IRC
[03:33:29] *** holymac has joined #angularjs
[03:33:39] *** jonog has quit IRC
[03:34:11] *** jonog has joined #angularjs
[03:34:34] *** Vloz_ has quit IRC
[03:34:44] *** waylon999 has quit IRC
[03:35:23] *** danielpquinn has quit IRC
[03:35:28] *** lyndsey has joined #angularjs
[03:35:38] *** bkuberek has quit IRC
[03:35:59] *** fedenunez has quit IRC
[03:35:59] *** jonog has quit IRC
[03:36:17] *** k-dawg has joined #angularjs
[03:36:25] *** jonog has joined #angularjs
[03:36:37] *** DGiff52 has quit IRC
[03:36:50] *** poeticninja has joined #angularjs
[03:37:21] <lyndsey> Are there any examples of a large-ish open source codebase that uses Angular + Jasmine?
[03:37:30] *** toastynerd has quit IRC
[03:37:38] *** stevvooe has quit IRC
[03:37:59] <lyndsey> I thought that the example Phonecat app did, but now that I look at it, I can't find it
[03:38:13] *** mmmmm has joined #angularjs
[03:38:25] *** richiebkr has joined #angularjs
[03:38:46] *** p3rsist has joined #angularjs
[03:39:00] *** dustin10 has joined #angularjs
[03:39:20] *** mettjus has quit IRC
[03:39:37] *** mmmmm has quit IRC
[03:41:08] *** hswolff has joined #angularjs
[03:41:12] *** Alax has joined #angularjs
[03:41:49] *** dustin10 has quit IRC
[03:42:05] *** bbankes has joined #angularjs
[03:42:49] *** wookiehangover has quit IRC
[03:42:50] *** toastynerd has joined #angularjs
[03:43:22] *** mindlace has quit IRC
[03:44:26] *** wookiehangover has joined #angularjs
[03:44:31] *** dawhite has quit IRC
[03:45:09] *** Left_Turn has quit IRC
[03:45:54] *** TheAceOfHearts has quit IRC
[03:46:33] *** OnkelTem has quit IRC
[03:46:49] *** k-dawg has quit IRC
[03:47:01] *** bicranial has quit IRC
[03:47:07] *** OnkelTem has joined #angularjs
[03:47:28] <crocket> Any fucking one?
[03:47:44] *** LuxuryMo_ has quit IRC
[03:47:50] *** Vloz_ has joined #angularjs
[03:48:49] *** astericky has quit IRC
[03:49:30] *** sysko has joined #angularjs
[03:50:34] *** Vloz__ has quit IRC
[03:51:09] *** tfennelly has joined #angularjs
[03:52:48] *** flack has quit IRC
[03:54:03] *** holymac has quit IRC
[03:54:16] *** TorchDragon has joined #angularjs
[03:55:34] *** tfennelly has quit IRC
[03:55:51] *** shinnya has quit IRC
[03:55:53] *** TorchDragon has quit IRC
[03:55:59] <Dchen> robdubya: fun fact re my last question (animating children of parent ui views on parent ui-view load)
[03:56:11] *** TorchDragon has joined #angularjs
[03:56:14] *** jshultz has quit IRC
[03:56:24] <Dchen> if you are using LESS or SASS you can nest css rules within ng-enter
[03:57:03] *** cigarshark has joined #angularjs
[03:57:11] <Dchen> not sure if thats the best way to go, but seems pretty awesome right now
[03:58:21] *** bayousoft has quit IRC
[03:58:29] *** night-owl has quit IRC
[03:58:32] *** ericrav has joined #angularjs
[03:59:59] <crocket> Does anyone do visual regression test with protractor?
[04:00:00] *** charuru has quit IRC
[04:00:07] <crocket> Does anyone do visual regression test and CSS regression test with protractor?
[04:00:32] *** TorchDragon has quit IRC
[04:00:49] *** night-owl has joined #angularjs
[04:00:57] *** ReactiveIO has quit IRC
[04:01:01] *** feelfine has joined #angularjs
[04:01:31] *** ReactiveIO has joined #angularjs
[04:03:09] *** ccohn has joined #angularjs
[04:04:05] *** Vloz__ has joined #angularjs
[04:04:35] *** shaym_ has quit IRC
[04:05:16] *** spencercarnage has quit IRC
[04:05:44] *** arizzo_ has joined #angularjs
[04:05:52] *** bayousoft has joined #angularjs
[04:06:29] *** ReactiveIO has quit IRC
[04:06:41] *** fedenunez has joined #angularjs
[04:07:02] *** johnkevinmbasco has joined #angularjs
[04:07:04] *** Vloz_ has quit IRC
[04:07:45] *** stirlingw has quit IRC
[04:08:56] <davek> I don't think I've ever heard of a major shop actually using visual regression testing.
[04:09:04] *** cphil has joined #angularjs
[04:09:20] *** gnrlbzik has joined #angularjs
[04:09:46] <cphil> I've got an existing API that does the model.text() model.text('some text') // getter and setter
[04:09:55] <cphil> is there a clean way to get angular to bind to that?
[04:10:01] *** stirlingw has joined #angularjs
[04:10:07] <cphil> out of the box it treats it like a computed value
[04:10:21] *** darrin has quit IRC
[04:10:27] <cphil> ( as expected )
[04:11:23] *** morenoh149 has quit IRC
[04:11:29] *** JimTheDev has joined #angularjs
[04:11:52] <wafflejock> opus_: you'll see that option in the SO post I linked above too about ngResource, it's what I did originally but if you don't need to do anything to the object in the controller it's more efficient to avoid the watch and do what I posted in the plunkr just maintain 1 instance of an object
[04:11:58] *** L8TR has joined #angularjs
[04:12:14] *** night-owl has quit IRC
[04:12:29] *** wallerdev has quit IRC
[04:12:58] *** night-owl-MBP has joined #angularjs
[04:14:20] *** gnrlbzik has quit IRC
[04:14:23] *** gnrlbzik_ has joined #angularjs
[04:15:58] *** tarkus has quit IRC
[04:18:20] *** johnkevinmbasco has quit IRC
[04:20:13] *** DrMabuse has joined #angularjs
[04:20:14] *** InezK_away is now known as InezK
[04:20:19] *** poeticninja has quit IRC
[04:21:01] *** InezK is now known as InezK_away
[04:22:19] *** neurix has joined #angularjs
[04:22:24] *** Hackwar1 has joined #angularjs
[04:22:29] *** ReactiveIO has joined #angularjs
[04:22:30] <jpstone> I'm ng-repeating radio buttons inside a <div> (each div is a single radio button). The problem is, I can select multiple buttons on the same page. Anyone ever run into that?
[04:22:47] *** RobinBAwesome has joined #angularjs
[04:22:58] <neurix> jpstone: Give the radio buttons the same name
[04:23:13] *** RobinBAwesome has quit IRC
[04:23:29] *** ccohn has quit IRC
[04:23:32] <jpstone> neurix: thanks
[04:23:33] <jpstone> lol
[04:24:01] <cphil> ng-model-options="{ getterSetter: true }"
[04:24:04] *** richiebkr has quit IRC
[04:24:06] *** ccohn has joined #angularjs
[04:24:20] *** Hackwar has quit IRC
[04:24:34] *** DrMabuse has quit IRC
[04:24:42] <neurix> I am working on a angular login via php: Angular posts "{email:"test",pass:"1234"}" to http. Shouldn't that be {"email":"test", "pass":"1234"}?
[04:25:31] <davek> Am I having a stroke or did you just type the same thing?
[04:25:33] *** ccohn has quit IRC
[04:25:40] *** carif has quit IRC
[04:25:43] *** ccohn has joined #angularjs
[04:26:30] <lyndsey> davek, I think the difference is the quotation marks around the property names
[04:26:35] *** Gooder has joined #angularjs
[04:27:01] *** ReactiveIO has quit IRC
[04:28:18] *** ccohn has quit IRC
[04:28:30] *** bayousoft has quit IRC
[04:28:32] *** fedenunez has quit IRC
[04:28:51] *** ccohn has joined #angularjs
[04:29:07] *** bphogan_afk is now known as bphogan
[04:29:36] <neurix> Is there a good example for a simple angular login with user/password in a php file?
[04:29:40] *** jae has joined #angularjs
[04:30:37] *** tilgovi has quit IRC
[04:30:41] *** ccohn has quit IRC
[04:30:57] <neurix> lyndsey: Angular posts the first one, php expects the second version.
[04:31:00] <davek> neurix, there's nothing wrong with either format. Javascript object keys are strings.
[04:31:04] *** ccohn has joined #angularjs
[04:31:26] <davek> neurix, well that's stupid because actual JSON is somewhere in between.
[04:31:27] *** danielpquinn has joined #angularjs
[04:31:48] <neurix> davek: Can I force one or the other format?
[04:31:56] *** richiebkr has joined #angularjs
[04:32:07] <davek> The "format" shouldn't matter at all.
[04:32:19] <davek> You should be able to JSON.parse the request body and get a valid object.
[04:32:24] <davek> Or whatever the PHP equivalent is.
[04:33:12] <neurix> davek: When i try the different formats with curl, the first one fails and the second one passes.
[04:34:23] <caitp-> are you going to be excited when keys can be symbols too
[04:34:35] *** dman777 has joined #angularjs
[04:34:53] <hnordt> may I ask a design opinion?
[04:34:55] <lyndsey> caitp-, when the keys can be symbols?
[04:35:01] <davek> caitp- symbols can be keys.
[04:35:08] <davek> She termed the reverses.
[04:35:23] <caitp-> it's the same thing, really
[04:35:25] <davek> Well I guess both are valid.
[04:35:36] <davek> And yeah I'm going to be "fucking jazzed".
[04:36:05] *** danielpquinn has quit IRC
[04:36:05] *** ccohn has quit IRC
[04:36:15] <xastey-> yo i'm loving angular.. reminds me of doing flex
[04:36:37] *** ccohn has joined #angularjs
[04:37:09] <xastey-> dman777 you are returning a function not a value
[04:37:13] *** teeray has joined #angularjs
[04:37:15] <caitp-> dman777 i'm not sure i understand what you're expecting it to do
[04:37:24] <crocket> How do I do visual diff of HTML elements with protractor?
[04:37:30] <xastey-> you can try passing a callback and have that callback update $scope.countDownTicker
[04:37:33] *** vbabiy has joined #angularjs
[04:37:34] <caitp-> no, he's returning a promise
[04:37:39] <davek> crocket, nothing to do with protractor.
[04:37:51] <xastey-> o thats right
[04:37:55] <caitp-> the promise never resolves
[04:37:55] *** teeray has quit IRC
[04:38:02] <dman777> xastey-: ah...ok.
[04:38:11] <crocket> davek, Do you use resemblejs for that?
[04:38:11] <xastey-> not with 1.12 before it did
[04:38:19] <crocket> resemblejs doesn't take a screenshot of an HTML element
[04:38:20] <caitp-> and even if it did resolve, promise expressions don't get converted to values in angular anymore
[04:38:35] <crocket> How does anyone take a screenshot of an HTML element with protractor?
[04:38:40] <davek> crocket, no I don't do visual diffs. Don't know anyone that does. GraphicsMagick does really quick image diffs.
[04:38:43] <crocket> davek, Do you have a clue?
[04:38:46] <davek> crocket you don't take it of an element.
[04:39:14] <crocket> davek, Since I can't control the contents of a page, i can't do a visual diff on the entire page.
[04:39:22] *** thepro4ever has joined #angularjs
[04:39:32] *** thepro4ever has left #angularjs
[04:39:42] <davek> Which is why visual diffs are uselses.
[04:39:50] <davek> Like my spelling.
[04:39:59] <xastey-> hehe now my idea for a chrome extenstion would come in handle for crocket case
[04:40:15] <hnordt> ?
[04:40:16] <davek> Or "visual regression testing" to add some sexy buzz.
[04:40:17] *** Sarusan has joined #angularjs
[04:40:23] *** mary5030 has joined #angularjs
[04:40:33] *** ColKurtz has joined #angularjs
[04:40:48] <davek> hnordt, the one disconnected point is peeving me.
[04:41:23] *** ccohn has quit IRC
[04:42:21] *** user3 has joined #angularjs
[04:42:28] *** nagappan has quit IRC
[04:42:38] *** jk-5 has quit IRC
[04:43:01] *** nagappan has joined #angularjs
[04:44:08] *** bmac has joined #angularjs
[04:44:11] *** night-owl-MBP has quit IRC
[04:45:04] *** mary5030 has quit IRC
[04:45:18] *** asdofindia has quit IRC
[04:45:24] <davek> hnordt, nice. Maybe more contrast between the lines and the text. Otherwise good.
[04:45:27] *** teeray has joined #angularjs
[04:45:35] *** basichash has quit IRC
[04:45:41] <davek> hnordt, Bolivia?
[04:45:43] <hnordt> thank you davek
[04:45:46] <hnordt> Brazil
[04:45:49] <crocket> xastey-, What is it?
[04:45:59] <crocket> davek, I like "sex" in titles.
[04:46:26] <davek> Well... I figured .bi would be Bolivia, but obviously Burundi took precedence.
[04:46:26] *** elxa has joined #angularjs
[04:46:42] *** arizzo_ has quit IRC
[04:46:55] *** tfennelly has joined #angularjs
[04:47:11] <crocket> davek, Visual diffs on page elements can be vaulable.
[04:47:17] *** arizzo has joined #angularjs
[04:47:25] *** jk-5 has joined #angularjs
[04:47:26] <crocket> davek, Page elements that won't change in the near future.
[04:47:32] *** Scott has joined #angularjs
[04:47:40] *** arizzo has quit IRC
[04:47:51] *** arizzo has joined #angularjs
[04:47:56] *** Scott is now known as Guest77527
[04:48:19] <davek> Individual elements has to be the _least_ useful application of the process.
[04:48:31] <crocket> davek, What do you propose then?
[04:48:35] <crocket> Do I test CSS regression?
[04:49:04] <hnordt> davek: oh yeah, bi = burundi, but I've brought .bi because business intelligence
[04:49:18] <hnordt> my product name is New BI so new.bi as domain is amazing
[04:49:24] *** boneskull has joined #angularjs
[04:49:50] *** charuru has joined #angularjs
[04:50:46] *** teeray has quit IRC
[04:50:46] *** Grokling_ has joined #angularjs
[04:51:05] *** asdofindia has joined #angularjs
[04:51:10] <xastey-> a way to record visual QA testing record and replay diff etc crocket
[04:51:18] *** tfennelly has quit IRC
[04:51:32] <crocket> xastey-, ???
[04:51:36] <davek> crocket, no. Why are you needing these things? Full-page rendered images of specific site sections I've seen used (rarely) for visual regression testing but nothing past that.
[04:51:44] <xastey-> want to make sure to clean up interval when the scope is destroyed
[04:51:54] <crocket> davek, visual regressions happen regularly.
[04:52:08] *** Guest77527 has quit IRC
[04:52:26] <davek> Yes they do, and they're pretty obvious.
[04:52:36] *** Zesty has joined #angularjs
[04:52:40] <crocket> davek, Visual regression tests catch those things automatically.
[04:52:49] <davek> And generally don't happen mysteriously as a consequence of something you did an an unrelated part of the application which is what regression testing is for.
[04:52:52] <crocket> davek, Do you want humans to inspect dozens of screenshots manually?
[04:53:08] *** xavia has joined #angularjs
[04:53:08] <davek> Yeah.
[04:53:13] <crocket> davek, That's sadism.
[04:53:26] <davek> Like continuing this conversation.
[04:54:07] <crocket> It can be done manually until you have to inspect 20+ screenshots for each web browser.
[04:55:02] *** richiebkr has quit IRC
[04:55:12] *** neurix has quit IRC
[04:55:34] *** Blaze_Anderson is now known as Cixis
[04:56:11] *** dylukes has quit IRC
[04:56:57] *** TorchDragon has joined #angularjs
[04:57:26] *** LuxuryMo_ has joined #angularjs
[04:58:20] *** katsh has joined #angularjs
[04:59:11] *** lyndsey has quit IRC
[04:59:54] *** fedenunez has joined #angularjs
[05:00:19] *** anjumkaiser has quit IRC
[05:01:18] *** TorchDragon has quit IRC
[05:02:30] *** blueadept has joined #angularjs
[05:02:30] *** blueadept has joined #angularjs
[05:02:31] *** arizzo has quit IRC
[05:03:08] *** arizzo has joined #angularjs
[05:04:28] *** subnl2 has joined #angularjs
[05:04:51] *** subnl2 has left #angularjs
[05:05:32] *** ReactiveIO has joined #angularjs
[05:05:46] *** BillCriswell has quit IRC
[05:07:00] *** jobelenus has joined #angularjs
[05:07:20] *** Matt_Ricketts has quit IRC
[05:07:26] *** night-owl has joined #angularjs
[05:07:44] *** tfennelly has joined #angularjs
[05:07:47] *** arizzo has quit IRC
[05:07:52] *** Matt_Ricketts has joined #angularjs
[05:07:58] *** dccc has quit IRC
[05:08:48] *** dhcar is now known as dhcar_AFK
[05:09:03] *** Grokling_ has quit IRC
[05:09:09] *** gnrlbzik_ has quit IRC
[05:11:15] *** [n0b0dy] has quit IRC
[05:11:25] *** bphogan is now known as bphogan_afk
[05:11:28] *** [n0b0dy] has joined #angularjs
[05:11:58] *** tfennelly has quit IRC
[05:12:56] <dman777> xastey-: I used function(sec) { return sec; } for the call back but still wouldn't show in the element
[05:13:42] *** bc_ has left #angularjs
[05:14:23] *** jamesbdev has quit IRC
[05:14:59] *** wdgreg has quit IRC
[05:15:24] *** sneakertack has joined #angularjs
[05:16:20] <dman777> xastey-: hmm...this needs to be done in the service and not in the controller, right? it would be easier in the controller
[05:17:41] *** Nijikokun has quit IRC
[05:17:54] *** colin_ has joined #angularjs
[05:18:11] <xastey-> dman777 it would be.. start with that then refactor to service
[05:18:27] <dman777> xastey-: ok, thanks!
[05:18:59] <opus_> wafflejock: hey, after 8 hours I finally figured it out. It was basically your help plus $rootScope.$apply() from the service
[05:19:30] <wafflejock> opus_: right on glad you were able to make sense of it
[05:19:46] <opus_> I had to use angular.copy
[05:19:49] <opus_> also
[05:20:04] <wafflejock> opus_: it does take a while to grok this initially but it makes for a pretty clean setup in the end
[05:20:07] *** morgs32 has quit IRC
[05:20:30] *** dhcar_AFK is now known as dhcar
[05:20:55] *** DrMabuse has joined #angularjs
[05:21:08] *** Ethix has quit IRC
[05:21:08] *** InezK_away is now known as InezK
[05:21:29] *** joshontheweb has quit IRC
[05:21:29] *** [n0b0dy] has quit IRC
[05:21:33] *** sysko has quit IRC
[05:21:39] *** [n0b0dy] has joined #angularjs
[05:21:46] *** Vloz_ has joined #angularjs
[05:21:57] <crocket> I'm starting to favor jasmine over mocha.
[05:22:18] <crocket> mocha is not very programmatically configurable while jasmine is.
[05:22:19] *** joshontheweb has joined #angularjs
[05:22:37] <opus_> I think what initially set me off in the wrong direction was that so many of the tutorials start off doing model stuff in the controller area of the code, and none of them really conceptially go into just using the controller as a glue between model/view
[05:23:05] <crocket> How do you think of mocha and jasmine?
[05:23:06] *** Gambit- has joined #angularjs
[05:23:14] *** Sky[x] has quit IRC
[05:23:23] <opus_> I tried the call back way, the observer method, the $watch method, they all sucked.
[05:23:58] <opus_> $rootscope.$apply() fundamentally breaks the MVC pattern, but it works... it just works
[05:23:59] *** bphogan_afk is now known as bphogan
[05:24:06] *** dccc has joined #angularjs
[05:24:11] *** Obversity has joined #angularjs
[05:24:59] *** ericrav has quit IRC
[05:25:04] *** Vloz__ has quit IRC
[05:25:28] *** DrMabuse has quit IRC
[05:26:35] *** ericrav has joined #angularjs
[05:28:10] *** jtimon has joined #angularjs
[05:28:34] *** cphil has quit IRC
[05:28:38] *** boneskull has quit IRC
[05:28:44] *** colin_ has quit IRC
[05:29:00] *** jobelenus has quit IRC
[05:30:30] *** jobelenus has joined #angularjs
[05:30:33] *** ericrav has quit IRC
[05:31:00] *** InezK is now known as InezK_away
[05:31:20] *** [n0b0dy] has quit IRC
[05:31:30] *** [n0b0dy] has joined #angularjs
[05:31:45] <cacts> $timeout?
[05:32:14] *** danielpquinn has joined #angularjs
[05:33:17] *** RandyT has quit IRC
[05:34:42] *** stirlingw has quit IRC
[05:34:47] *** boneskull has joined #angularjs
[05:35:40] *** jobelenus_ has joined #angularjs
[05:35:55] *** RandyT has joined #angularjs
[05:35:57] *** jobelenus has quit IRC
[05:35:57] *** jobelenus_ is now known as jobelenus
[05:36:02] *** toastynerd has quit IRC
[05:36:57] *** jormo has joined #angularjs
[05:37:09] *** Vloz has joined #angularjs
[05:37:11] *** danielpquinn has quit IRC
[05:37:37] *** arrty has joined #angularjs
[05:38:17] *** sysko has joined #angularjs
[05:38:53] *** Vloz has quit IRC
[05:39:35] *** Vloz has joined #angularjs
[05:39:40] *** jamesbdev has joined #angularjs
[05:40:03] *** sneakertack has quit IRC
[05:40:11] <wafflejock> opus_: not really the $rootScope.$apply is used in $http as well as other angular services to notify the view to process any watchers whose data might have changed during some operation
[05:40:17] *** gnrlbzik has joined #angularjs
[05:40:34] *** Vloz_ has quit IRC
[05:41:10] <wafflejock> $apply/$digest is just a way to trigger the view or other watchers to check for changes on the model
[05:42:08] *** steffengy has joined #angularjs
[05:42:42] <BlinkyBill> Just popping in to say you angular lot are awesome. Was going to find a way to hide my templates from messing up the gui while angular was doing it's init, only to find there's already an ng-cloak directive. Angular rocks :)
[05:43:27] *** SomeKittens has quit IRC
[05:43:34] *** jobelenus has quit IRC
[05:43:53] *** tomzx is now known as tomzx`afk
[05:44:10] *** jobelenus has joined #angularjs
[05:44:45] <davek> BlinkyBill, what kind words!
[05:44:54] *** jonog has quit IRC
[05:44:58] *** steffengy1 has quit IRC
[05:45:18] *** gnrlbzik has quit IRC
[05:45:20] <BlinkyBill> I've been angularing for just on 12 months or so, and continue to have hapy surprises
[05:45:30] *** jonog has joined #angularjs
[05:45:38] *** BillCriswell has joined #angularjs
[05:45:55] *** colin_ has joined #angularjs
[05:46:12] *** Vloz_ has joined #angularjs
[05:47:42] *** Nijikokun has joined #angularjs
[05:48:33] *** MANCHUCK has quit IRC
[05:48:47] *** hswolff has quit IRC
[05:49:23] *** Ephemeral has joined #angularjs
[05:49:34] *** Vloz has quit IRC
[05:49:37] *** Fire-Dragon-DoL has quit IRC
[05:49:46] *** gauravsaini03 has joined #angularjs
[05:49:48] *** jonog has quit IRC
[05:50:15] *** MTGap has quit IRC
[05:50:22] *** digia is now known as digia|away
[05:50:33] *** user3 has quit IRC
[05:52:47] *** ColKurtz has quit IRC
[05:53:00] *** ghostbar has joined #angularjs
[05:53:26] *** vbabiy has quit IRC
[05:53:33] *** rburns has quit IRC
[05:53:54] *** Vloz__ has joined #angularjs
[05:53:56] *** colin_ has quit IRC
[05:54:13] *** hugorodrigues has quit IRC
[05:54:35] *** snapwich has joined #angularjs
[05:54:44] *** ckboii89 has quit IRC
[05:54:44] *** ssbr has quit IRC
[05:54:48] *** InezK_away is now known as InezK
[05:55:11] *** gauravsaini03 has quit IRC
[05:55:51] *** mogaj has joined #angularjs
[05:56:07] <mogaj> Hi all, goog morning.
[05:56:07] *** jonog has joined #angularjs
[05:56:24] *** InezK is now known as InezK_away
[05:56:59] *** Vloz has joined #angularjs
[05:57:04] *** Vloz_ has quit IRC
[05:57:55] *** TorchDragon has joined #angularjs
[05:58:16]
<mogaj> I have here a login view and function to process the login form submit http://pastebin.com/UV4haPGw at present form validation is happening while fillling the form i would like convert this to form validation after form submit and showing errors if any else compleyte the submission ... can some one assist please?, thank you
[05:59:03] *** Vloz__ has quit IRC
[05:59:33] *** jobelenus has quit IRC
[05:59:47] *** drej has quit IRC
[06:00:40] *** ssbr has joined #angularjs
[06:01:18] <dman777> can '$scope.element' be used literally inside a service?
[06:02:04] *** TorchDragon has quit IRC
[06:02:48] <Cixis> dman777: what are you trying to do?
[06:02:59] *** greg5green has quit IRC
[06:03:34] *** greg5green has joined #angularjs
[06:03:34] *** greg5green has joined #angularjs
[06:04:55] *** ColKurtz has joined #angularjs
[06:06:06] *** Zesty has quit IRC
[06:07:24] *** BillCriswell has quit IRC
[06:07:30] *** chrisbirk has joined #angularjs
[06:09:56] <dman777> Cixis: access a $scope.element in a controller from the service
[06:10:12] *** mikehaas763 has joined #angularjs
[06:10:16] *** colin_ has joined #angularjs
[06:10:22] <Cixis> you shouldn't be fiddling with an element in a controller
[06:10:59] *** mdedetrich has quit IRC
[06:11:06] <dman777> Cixis: sorry, I mean this.... $scope.foo and in template {{ foo }}
[06:11:23] *** sneakertack has joined #angularjs
[06:11:29] *** [n0b0dy] has quit IRC
[06:11:39] *** [n0b0dy] has joined #angularjs
[06:11:40] <Cixis> you're asking if you can do that in a controller?
[06:11:52] *** gauravsaini03 has joined #angularjs
[06:12:12] <dman777> no, I am asking how I can access $scope.foo from inside a service
[06:12:23] <dman777> factory service
[06:12:27] <Cixis> you pass $scope to the service
[06:12:44] *** ssbr has quit IRC
[06:12:50] <colin_> anyone know how to combine express with yomen?
[06:13:25] <dman777> Cixis: ah...ok. I wasn't sure if I could with a local $scope...I know I could with rootScope. Since the service is a singleton what happens with $scope when the service is used by 2 seperate controllers?
[06:13:31] <Cixis> not even the right channel for that, colin_
[06:14:14] *** Alax has quit IRC
[06:14:33] <Cixis> dman777: if you have a service that exposes a method function(scope) {} which then operates on $scope, nothing happens to it
[06:14:47] *** Willow___ has quit IRC
[06:15:02] <Cixis> personally i use services for "static" class members
[06:15:56] <dman777> Cixis: what would be a static class member in a service in this context?
[06:16:16] *** TyrfingMjolnir has quit IRC
[06:16:50] *** jonog has quit IRC
[06:16:50] <Cixis> myService.myMethod()
[06:17:01] <Cixis> where myMethod isn't concerned with the context it's running in
[06:17:16] *** jonog has joined #angularjs
[06:17:45] <dman777> Cixis: ok, thanks!
[06:17:47] *** ssbr has joined #angularjs
[06:18:51] *** p3rsist has quit IRC
[06:19:34] *** ChrisOei has quit IRC
[06:19:56] *** caitp- has quit IRC
[06:20:18] *** ChrisOei has joined #angularjs
[06:20:51] <mikehaas763> Does anyone in here follow angular dart?
[06:20:55] *** jtimon has quit IRC
[06:21:14] *** feelfine has quit IRC
[06:21:32] *** JoshGlzBrk has quit IRC
[06:21:44] *** DrMabuse has joined #angularjs
[06:21:52] *** jonog has quit IRC
[06:23:03] *** p3rsist has joined #angularjs
[06:24:23] *** Siecje1 has quit IRC
[06:24:46] *** wilmoore has joined #angularjs
[06:25:07] *** Archit has joined #angularjs
[06:25:12] *** ColKurtz has quit IRC
[06:26:01] *** xastey- has quit IRC
[06:26:27] *** DrMabuse has quit IRC
[06:28:57] *** ChrisOei has joined #angularjs
[06:29:35] *** ReactiveIO has quit IRC
[06:31:29] *** vbabiy has joined #angularjs
[06:31:31] <Cixis> mikehaas763: looked at it briefly
[06:31:38] <Cixis> thought it was kind of weird
[06:32:11] *** arrty has quit IRC
[06:32:28] *** vbabiy has quit IRC
[06:32:45] *** arrty has joined #angularjs
[06:32:59] *** danielpquinn has joined #angularjs
[06:33:02] *** sdouglas has joined #angularjs
[06:33:37] *** Lingo_ has quit IRC
[06:33:56] *** mennea has joined #angularjs
[06:35:08] *** Sarusan has quit IRC
[06:35:56] *** fedenunez has quit IRC
[06:35:58] *** mattyp has joined #angularjs
[06:36:04] <mikehaas763> No doubt it's definitely different.
[06:36:56] *** dc has joined #angularjs
[06:36:58] *** arrty has quit IRC
[06:37:18] *** colin_ has quit IRC
[06:37:32] <Cixis> i looked more into dart after that. dart seems reasonable
[06:37:33] *** danielpquinn has quit IRC
[06:39:28] *** Vloz_ has joined #angularjs
[06:39:35] *** w1ther has quit IRC
[06:39:47] *** bmac has quit IRC
[06:40:33] *** Vloz has quit IRC
[06:40:43] *** mikaeldice has quit IRC
[06:41:47] *** Vloz__ has joined #angularjs
[06:42:05] *** gnrlbzik has joined #angularjs
[06:42:06] <dhcar> how do I convert an element into an angular.element?
[06:42:14] <dhcar> is there something that needs to be injected?
[06:42:30] <dhcar> because $(element) isnt working
[06:42:34] <Cixis> what are you trying to do, exactly?
[06:42:50] <Cixis> generally you shouldn't be trying to access elements that way
[06:42:53] *** ckboii89 has joined #angularjs
[06:42:57] *** ChrisOei has quit IRC
[06:43:14] <dhcar> navigate the elements in a template using my directive's link function
[06:43:28] *** zeroquake has joined #angularjs
[06:43:46] *** ghostbar has quit IRC
[06:43:46] <zeroquake> how do i use directive in tooltip-html-unsafe??
[06:43:55] *** mdedetrich has joined #angularjs
[06:44:01] <Archit> Hi can we filter any field without ng-repeat on its parent.
[06:44:17] *** ChrisOei has joined #angularjs
[06:44:33] <Archit> {{solutions ['ALL'] | filter : ALL}}
[06:44:33] <Cixis> dhcar: can you use element.find()?
[06:44:44] <Archit> is this is the right way
[06:45:03] *** Vloz_ has quit IRC
[06:45:24] *** Vloz has joined #angularjs
[06:45:36] *** dc has quit IRC
[06:45:43] <dhcar> Cixis no, because it only works by tag
[06:45:56] <zeroquake> where would u use filter without ng-repeat?
[06:46:12] *** ericrav has joined #angularjs
[06:46:34] *** gnrlbzik has quit IRC
[06:47:02] <Archit> i have several boxes having names and value , so names would be alaways static so that is directly given in html but the value to respect that name would change clicking on them
[06:47:06] <wafflejock> zeroquake: in lots of cases you might be using a filter that applies to a string for display formatting
[06:47:12] <dhcar> and by it I mean the .find() method
[06:47:16] *** waylon999 has joined #angularjs
[06:47:18] <wafflejock> zeroquake: or possibly in a controller for some other logic
[06:47:22] <Cixis> dhcar: are you using jqlite?
[06:47:23] *** dc has joined #angularjs
[06:47:48] <dhcar> Cixis, yeah angular is supposed to include jqlite
[06:47:53] <dhcar> nvm I got it
[06:48:04] *** JimTheDev has quit IRC
[06:48:08] <zeroquake> ok
[06:48:18] <dhcar> had to replace $(element) with angular.element(element)
[06:48:32] <Cixis> there is still a better way
[06:48:33] *** Vloz__ has quit IRC
[06:48:35] <zeroquake> anyone used tooltips or pop over before???
[06:48:42] <Cixis> that will scan the entire dom
[06:49:04] <dhcar> Yea but I dont want to scan the DOM, just my template
[06:49:50] <mikehaas763> Cixis: How is AngularDart and Dart comparable?
[06:50:34] *** brezel has quit IRC
[06:50:37] <Cixis> dhcar: personally i include jquery in all my projects, and can then use find from that
[06:50:39] *** the-erm has quit IRC
[06:50:43] <Cixis> element.find, that is
[06:50:57] *** ericrav has quit IRC
[06:51:00] *** brezel has joined #angularjs
[06:51:09] *** mercwithamouth has joined #angularjs
[06:51:25] <Cixis> mikehaas763: my impression is just that angulardart is a project written in dart, set up to use angular
[06:51:34] <Cixis> it's not really comparable or not comparable
[06:52:10] *** night-owl-MBP has joined #angularjs
[06:52:12] *** Tidwell has joined #angularjs
[06:52:22] *** ChrisOei has quit IRC
[06:52:46] *** the-erm has joined #angularjs
[06:53:11] *** night-owl-MBP is now known as night-owl2
[06:54:28] *** ChrisOei has joined #angularjs
[06:54:37] *** colin_ has joined #angularjs
[06:55:02] *** lay has quit IRC
[06:55:18] *** demands has quit IRC
[06:55:31] *** demands_ has joined #angularjs
[06:55:37] *** danyim has joined #angularjs
[06:56:32] *** InezK_away is now known as InezK
[06:57:57] *** TheAceOfHearts has joined #angularjs
[06:57:58] *** santaloci has joined #angularjs
[06:58:34] *** TorchDragon has joined #angularjs
[06:58:35] *** toastynerd has joined #angularjs
[06:59:23] *** colin_ has quit IRC
[07:00:12] *** xavia has left #angularjs
[07:00:12] *** ckboii89 has quit IRC
[07:00:13] *** mary5030 has joined #angularjs
[07:00:23] *** ckboii89 has joined #angularjs
[07:00:31] *** mpaarating has quit IRC
[07:01:07] *** TheAceOfHearts has left #angularjs
[07:02:05] *** hugorodrigues has joined #angularjs
[07:02:38] *** bkuberek has joined #angularjs
[07:03:35] *** TorchDragon has quit IRC
[07:03:57] *** bkubere__ has joined #angularjs
[07:05:08] *** colin_ has joined #angularjs
[07:05:40] *** sdouglas has quit IRC
[07:06:18] *** hugorodrigues has quit IRC
[07:06:25] *** InezK is now known as InezK_away
[07:06:35] *** bkuberek_ has quit IRC
[07:06:49] *** cacts has quit IRC
[07:07:48] *** bkuberek has quit IRC
[07:08:51] *** ReactiveIO has joined #angularjs
[07:10:46] *** night-owl2 has quit IRC
[07:10:50] *** lite_ has joined #angularjs
[07:11:53] *** tschundeee has joined #angularjs
[07:12:01] *** InezK_away is now known as InezK
[07:12:11] *** someones_dad has quit IRC
[07:12:48] *** crocket has left #angularjs
[07:13:00] *** mary5030 has quit IRC
[07:13:11] *** Vloz_ has joined #angularjs
[07:14:33] *** SomeKittens has joined #angularjs
[07:14:33] *** fold has quit IRC
[07:15:08] *** blak422 has quit IRC
[07:15:40] *** bicranial has joined #angularjs
[07:15:49] *** ziyadb has quit IRC
[07:16:04] *** Vloz has quit IRC
[07:16:33] *** tschundeee has quit IRC
[07:17:36] *** toastynerd has quit IRC
[07:18:20] *** blak422 has joined #angularjs
[07:20:02] *** sdouglas has joined #angularjs
[07:21:44] <chovy> i see this in my node logs:
[07:21:45] <chovy> GET /%7B%7Buser.profileImages.small%7D%7D
[07:22:00] *** [n0b0dy] has quit IRC
[07:22:04] <chovy> its coming from <img src="{{user.profileImages.small}}"
[07:22:09] <chovy> but is showing fine ont he page
[07:22:12] *** [n0b0dy] has joined #angularjs
[07:22:30] *** DrMabuse has joined #angularjs
[07:23:25] *** dc has quit IRC
[07:24:07] *** DrMabuse has quit IRC
[07:24:11] *** apetro__ has joined #angularjs
[07:24:13] *** DrMabuse has joined #angularjs
[07:25:08] *** Grokling_ has joined #angularjs
[07:25:26] <chovy> it shows broken image first, before angular renders it and loads current path
[07:26:20] *** apetro_ has quit IRC
[07:26:49] *** lite_ has quit IRC
[07:27:24] <chovy> nm, needed ng-src instead of src
[07:27:51] *** mac_ified has quit IRC
[07:27:57] *** mkc has quit IRC
[07:28:33] *** DrMabuse has quit IRC
[07:29:59] *** MickeyO has quit IRC
[07:30:29] *** mtsr has joined #angularjs
[07:31:57] *** chrisbirk has quit IRC
[07:32:06] *** Ravi has joined #angularjs
[07:32:16] *** Ravi has quit IRC
[07:33:45] *** danielpquinn has joined #angularjs
[07:34:22] *** lite_ has joined #angularjs
[07:35:06] *** blueadept has quit IRC
[07:35:43] *** wilmoore has quit IRC
[07:36:03] *** tfennelly has joined #angularjs
[07:36:08] *** blak422 has quit IRC
[07:37:06] *** morenoh149 has joined #angularjs
[07:37:48] *** blak422 has joined #angularjs
[07:38:33] *** danielpquinn has quit IRC
[07:39:20] <teslan> what does angularjs community prefer ... sass, less or stylus ?
[07:39:44] *** jonog has joined #angularjs
[07:40:25] *** ericrav has joined #angularjs
[07:40:47] *** tfennelly has quit IRC
[07:41:50] *** Vloz__ has joined #angularjs
[07:42:41] <wafflejock> teslan: personal preference is less don't know that I can say what the community preference is
[07:42:53] *** gnrlbzik has joined #angularjs
[07:42:55] *** someones_dad has joined #angularjs
[07:43:05] *** mennea has quit IRC
[07:43:32] *** waylon999 has quit IRC
[07:44:00] *** snapwich has quit IRC
[07:44:38] *** ericrav has quit IRC
[07:45:03] *** Vloz_ has quit IRC
[07:45:15] *** Sarusan has joined #angularjs
[07:45:28] *** gnrlbzik has quit IRC
[07:45:54] *** gnrlbzik has joined #angularjs
[07:45:56] *** mennea has joined #angularjs
[07:46:37] *** mtsr has quit IRC
[07:46:44] *** ericrav has joined #angularjs
[07:46:44] *** sdouglas has quit IRC
[07:46:57] *** Grokling__ has joined #angularjs
[07:47:12] *** danyim has quit IRC
[07:47:21] *** mikehaas763 has quit IRC
[07:47:24] *** mindlace has joined #angularjs
[07:47:40] *** blak422 has quit IRC
[07:47:53] *** mikehaas763 has joined #angularjs
[07:48:58] *** someones_dad has quit IRC
[07:49:10] *** blak422 has joined #angularjs
[07:49:43] *** BobbieBarker has quit IRC
[07:50:18] *** gnrlbzik has quit IRC
[07:50:44] *** mindlace_ has joined #angularjs
[07:50:49] *** mindlace has quit IRC
[07:50:55] *** sneakertack has quit IRC
[07:51:01] *** ericrav has quit IRC
[07:54:04] *** blueadept has joined #angularjs
[07:54:11] *** mikehaas763 has quit IRC
[07:54:34] *** blueadept has quit IRC
[07:54:48] <teslan> thanks waffeljock
[07:55:39] <teslan> thanks wafflejock *
[07:59:19] *** rburns has joined #angularjs
[07:59:29] *** TorchDragon has joined #angularjs
[08:00:00] *** Vloz_ has joined #angularjs
[08:00:49] *** ericrav has joined #angularjs
[08:01:29] *** frkout_ has joined #angularjs
[08:03:04] *** Vloz__ has quit IRC
[08:03:21] *** ReactiveIO has quit IRC
[08:03:27] *** joker666 has joined #angularjs
[08:03:42] *** TorchDragon has quit IRC
[08:03:54] *** ReactiveIO has joined #angularjs
[08:03:58] *** Vloz__ has joined #angularjs
[08:04:47] *** frkout has quit IRC
[08:04:52] <joker666> hello guys, have anybody used laravel with angular here?
[08:04:58] *** ericrav has quit IRC
[08:06:06] *** Dchen has quit IRC
[08:06:33] *** p3rsist has quit IRC
[08:07:04] *** Vloz_ has quit IRC
[08:07:07] *** illume has joined #angularjs
[08:07:35] *** Art_ has joined #angularjs
[08:07:51] <Art_> hello
[08:08:08] *** HypnotiX has joined #angularjs
[08:08:28] *** ReactiveIO has quit IRC
[08:08:35] <Art_> Question about Controller... which is better? "Controllers are classes. Methods should be defined on MyCtrl.prototype. See the JavaScript style guide Google Angular applications should use the 'controller as' style to export the controller onto the scope. This is fully implemented in Angular 1.2 and can be mimicked in pre-Angular 1.2 builds. Pre Angular 1.2, this looks like:"
[08:08:47] *** bweston has joined #angularjs
[08:09:03] *** Vloz_ has joined #angularjs
[08:09:55] *** kas84 has joined #angularjs
[08:09:58] *** ngbot has joined #angularjs
[08:09:58] <ngbot> angular.js/master 2474173 Julie Ralph: chore(ci): update protractor to 1.0.0-rc5 and increase global timeout for loading pages...
[08:09:58] *** ngbot has left #angularjs
[08:12:33] *** Vloz__ has quit IRC
[08:12:38] *** Art_ has quit IRC
[08:12:45] *** Vloz__ has joined #angularjs
[08:12:53] *** bkubere__ has quit IRC
[08:13:00] *** peey has joined #angularjs
[08:13:22] *** jerev_away is now known as jerev
[08:14:02] *** TyrfingMjolnir has joined #angularjs
[08:16:04] *** Vloz_ has quit IRC
[08:16:23] *** klaut has joined #angularjs
[08:16:39] *** Ankhular has joined #angularjs
[08:16:53] <Ankhular> Anyone here use Dart?
[08:18:04] *** _tpavel has joined #angularjs
[08:19:35] *** Tidwell has quit IRC
[08:20:22] *** uf6667 has joined #angularjs
[08:20:32] *** DuelShark has joined #angularjs
[08:20:38] *** Reite has joined #angularjs
[08:21:26] *** night-owl is now known as zzz-owl
[08:22:00] *** jae has quit IRC
[08:22:29] *** Vloz__ has quit IRC
[08:22:57] *** Vloz__ has joined #angularjs
[08:23:37] *** mary5030 has joined #angularjs
[08:25:05] *** LuxuryMo_ has quit IRC
[08:26:14] *** Nijikokun has quit IRC
[08:27:34] *** mary5030 has quit IRC
[08:28:55] *** gregc2_ has joined #angularjs
[08:28:58] *** rburns has quit IRC
[08:28:59] *** JakeSays_ has joined #angularjs
[08:29:10] *** AlexZanf has joined #angularjs
[08:29:10] *** faddah_ has joined #angularjs
[08:29:13] *** apetro_ has joined #angularjs
[08:29:15] *** mykz_ has joined #angularjs
[08:29:24] *** greg5gre_ has joined #angularjs
[08:29:28] *** fwielstra has joined #angularjs
[08:29:28] *** edzez_ has joined #angularjs
[08:29:32] *** mvovchak_ has joined #angularjs
[08:29:33] *** futureda_ has joined #angularjs
[08:29:38] *** ajph_ has joined #angularjs
[08:29:39] *** jgrubb_ has joined #angularjs
[08:29:44] *** DrMabuse has joined #angularjs
[08:29:50] *** davedev2_ has joined #angularjs
[08:29:55] *** greatdex has joined #angularjs
[08:30:15] *** quantax_ has joined #angularjs
[08:30:17] *** bkuberek has joined #angularjs
[08:30:20] *** Yancy has joined #angularjs
[08:30:20] *** badon_ has joined #angularjs
[08:30:55] *** sonicblud has joined #angularjs
[08:30:55] *** subnl21 has joined #angularjs
[08:30:57] *** Hackwar has joined #angularjs
[08:31:11] *** kppullin_ has joined #angularjs
[08:31:13] *** RandomStranger has joined #angularjs
[08:31:33] *** V0id_ has joined #angularjs
[08:31:39] *** anth0ny__ has joined #angularjs
[08:31:40] *** ch3mical has joined #angularjs
[08:32:03] *** jamieshepherd_ has joined #angularjs
[08:32:17] *** stodan has joined #angularjs
[08:32:33] *** philp_ has joined #angularjs
[08:33:13] *** BullySti1k has joined #angularjs
[08:33:13] *** siimon_ has joined #angularjs
[08:33:14] *** tschundeee has joined #angularjs
[08:33:18] *** theahind1e has joined #angularjs
[08:33:19] *** sal1191_ has joined #angularjs
[08:33:25] *** tote_ has joined #angularjs
[08:33:37] *** tonini_ has joined #angularjs
[08:33:46] *** ajmitch has joined #angularjs
[08:33:54] *** Nijikokun has joined #angularjs
[08:33:55] *** badon has quit IRC
[08:33:56] *** cyrusdav- has joined #angularjs
[08:33:58] *** rashidkp1 has joined #angularjs
[08:33:58] *** davedev2_ has quit IRC
[08:34:01] *** kcjones has quit IRC
[08:34:02] *** s_e has quit IRC
[08:34:03] *** apetro__ has quit IRC
[08:34:04] *** quantax- has quit IRC
[08:34:05] *** siimon has quit IRC
[08:34:06] *** sal1191 has quit IRC
[08:34:06] *** heathkit has quit IRC
[08:34:07] *** martinakre has quit IRC
[08:34:07] *** BullyStick has quit IRC
[08:34:08] *** [n0b0dy] has quit IRC
[08:34:09] *** mercwithamouth has quit IRC
[08:34:10] *** greg5green has quit IRC
[08:34:11] *** Ephemeral has quit IRC
[08:34:15] *** tonini has quit IRC
[08:34:16] *** joshontheweb has quit IRC
[08:34:17] *** GeertJohan has quit IRC
[08:34:18] *** rashidkpc has quit IRC
[08:34:18] *** davedev24_ has quit IRC
[08:34:18] *** anth0ny has quit IRC
[08:34:19] *** JakeSays has quit IRC
[08:34:19] *** jgrubb has quit IRC
[08:34:19] *** cyrusdavid has quit IRC
[08:34:20] *** jrist has quit IRC
[08:34:21] *** kanzure has quit IRC
[08:34:21] *** amortimer has quit IRC
[08:34:22] *** philp has quit IRC
[08:34:22] *** paddymahoney has quit IRC
[08:34:23] *** davzie has quit IRC
[08:34:24] *** titanomachy has quit IRC
[08:34:24] *** therealklanni has quit IRC
[08:34:26] *** 18VAAD345 has joined #angularjs
[08:34:26] *** heathkit has joined #angularjs
[08:34:26] *** uxtx_ has joined #angularjs
[08:34:26] *** GeertJohan has joined #angularjs
[08:34:27] *** GeertJohan has quit IRC
[08:34:27] *** GeertJohan has joined #angularjs
[08:34:27] *** jgrubb_ is now known as jgrubb
[08:34:27] *** jstroem has joined #angularjs
[08:34:28] *** frkout_ has quit IRC
[08:34:28] *** Hackwar1 has quit IRC
[08:34:28] *** RandomStranger- has quit IRC
[08:34:29] *** jamieshepherd has quit IRC
[08:34:29] *** mennea has quit IRC
[08:34:29] *** lukegb has quit IRC
[08:34:31] *** demands_ has quit IRC
[08:34:31] *** combat1 has quit IRC
[08:34:32] *** Sean-Der has quit IRC
[08:34:32] *** kppullin has quit IRC
[08:34:32] *** dcadenas has quit IRC
[08:34:33] *** katsh has quit IRC
[08:34:34] *** NickMass has quit IRC
[08:34:34] *** edzez has quit IRC
[08:34:34] *** tote has quit IRC
[08:34:36] *** ioudas has quit IRC
[08:34:36] *** ajmitch_ has quit IRC
[08:34:38] *** uxtx has quit IRC
[08:34:38] *** theahindle has quit IRC
[08:34:39] *** Grokling__ has quit IRC
[08:34:39] *** elxa has quit IRC
[08:34:40] *** AlexZ has quit IRC
[08:34:41] *** ajph has quit IRC
[08:34:42] *** faddah has quit IRC
[08:34:42] *** mvovchak has quit IRC
[08:34:43] *** futuredale has quit IRC
[08:34:43] *** jayrobot has quit IRC
[08:34:44] *** V0id has quit IRC
[08:34:44] *** Somatt has quit IRC
[08:34:45] *** G1eb has quit IRC
[08:34:46] *** jaawerth has quit IRC
[08:34:48] *** G1eb has joined #angularjs
[08:34:48] *** jaawerth_ has joined #angularjs
[08:34:48] *** G1eb has quit IRC
[08:34:48] *** G1eb has joined #angularjs
[08:34:49] *** mennea_ has joined #angularjs
[08:34:50] *** kanzure_ has joined #angularjs
[08:34:50] *** faddah_ is now known as faddah
[08:34:51] *** dcadenas has joined #angularjs
[08:34:51] *** Somatt has joined #angularjs
[08:34:52] *** danielpquinn has joined #angularjs
[08:34:52] *** s_e has joined #angularjs
[08:34:53] *** backinnam has joined #angularjs
[08:34:53] *** elxa has joined #angularjs
[08:34:53] *** Grokling__ has joined #angularjs
[08:34:53] *** frkout has joined #angularjs
[08:34:54] *** mdedetrich has quit IRC
[08:35:00] *** Sean-Der has joined #angularjs
[08:35:03] *** davedev24_ has joined #angularjs
[08:35:06] *** kcjones has joined #angularjs
[08:35:09] *** Ephemeral has joined #angularjs
[08:35:10] *** davzie has joined #angularjs
[08:35:20] *** katsh has joined #angularjs
[08:35:29] *** ChrisOei has quit IRC
[08:35:36] *** NickMass has joined #angularjs
[08:35:46] *** combat has joined #angularjs
[08:35:58] *** bosphorus has joined #angularjs
[08:36:00] *** mercwithamouth has joined #angularjs
[08:36:00] *** jrist has joined #angularjs
[08:36:19] *** titanomachy has joined #angularjs
[08:36:25] *** TheAceOfHearts has joined #angularjs
[08:36:25] *** arthas has joined #angularjs
[08:36:26] *** bkuberek has quit IRC
[08:37:13] *** lukegb has joined #angularjs
[08:37:18] *** Ephemeral has quit IRC
[08:37:40] *** Ephemeral has joined #angularjs
[08:38:06] *** jstimm has joined #angularjs
[08:38:07] *** paddymahoney has joined #angularjs
[08:38:12] *** tschundeee has quit IRC
[08:38:30] *** HelperW has joined #angularjs
[08:38:38] *** danielpquinn has quit IRC
[08:39:13] *** martinakre has joined #angularjs
[08:39:14] *** davedev24_ has quit IRC
[08:39:23] *** foofoobar has joined #angularjs
[08:43:26] *** OffTheRails has joined #angularjs
[08:44:32] *** mrkake has quit IRC
[08:44:42] *** ChrisOei has joined #angularjs
[08:45:40] *** partikus has joined #angularjs
[08:46:22] *** partikus has left #angularjs
[08:46:46] *** gnrlbzik has joined #angularjs
[08:46:51] *** mrkake has joined #angularjs
[08:46:55] *** ericrav has joined #angularjs
[08:47:24] *** mdedetrich has joined #angularjs
[08:48:33] *** Click66 has joined #angularjs
[08:48:35] *** mennea_ has quit IRC
[08:49:16] *** Vloz has joined #angularjs
[08:49:58] *** Tidwell has joined #angularjs
[08:50:08] *** hugorodrigues has joined #angularjs
[08:51:07] *** mindlace_ has quit IRC
[08:51:35] *** ericrav has quit IRC
[08:51:38] *** Sky[x] has joined #angularjs
[08:51:39] *** gnrlbzik has quit IRC
[08:51:46] *** dc has joined #angularjs
[08:52:34] *** Vloz__ has quit IRC
[08:53:31] *** dutis has joined #angularjs
[08:53:59] *** mattyp has quit IRC
[08:54:38] *** hugorodrigues has quit IRC
[08:54:58] *** mdedetrich has quit IRC
[08:55:00] *** tarnus has quit IRC
[08:55:09] *** GeertV_ has joined #angularjs
[08:55:16] *** mchammer has joined #angularjs
[08:55:49] *** Sky[x] has quit IRC
[08:56:59] *** mrkake has quit IRC
[08:57:47] *** richiebkr has joined #angularjs
[08:59:10] *** bweston has quit IRC
[08:59:18] *** tgkokk has joined #angularjs
[08:59:21] *** cctom_ has joined #angularjs
[08:59:35] *** illume has quit IRC
[08:59:58] *** sigurding has joined #angularjs
[09:00:11] *** biba8163 has joined #angularjs
[09:00:13] *** subnl21 has quit IRC
[09:00:15] *** Vloz_ has joined #angularjs
[09:00:19] *** TorchDragon has joined #angularjs
[09:00:22] *** mrkake has joined #angularjs
[09:00:34] *** rbw has joined #angularjs
[09:01:48] *** Left_Turn has joined #angularjs
[09:02:00] *** colin_ has quit IRC
[09:02:03] *** kas84 has quit IRC
[09:02:23] *** hannesvdvreken has joined #angularjs
[09:02:32] *** mguillech has joined #angularjs
[09:02:38] *** DevAntoine has joined #angularjs
[09:02:53] *** Vloz__ has joined #angularjs
[09:03:34] *** Vloz has quit IRC
[09:03:36] *** AngularUI has joined #angularjs
[09:03:37]
<AngularUI> [ng-grid] rkushappanavar closed pull request #1300: Fixed issue with vertical scroll bar in IE 10. (master...IE-Scroll-Fix) http://git.io/JQ_2XQ
[09:03:37] *** AngularUI has left #angularjs
[09:03:42] *** wilmoore has joined #angularjs
[09:04:01] *** AngularUI has joined #angularjs
[09:04:02]
<AngularUI> [ng-grid] rkushappanavar reopened pull request #1300: Fixed issue with vertical scroll bar in IE 10. (master...IE-Scroll-Fix) http://git.io/JQ_2XQ
[09:04:02] *** AngularUI has left #angularjs
[09:04:42] *** jonog has quit IRC
[09:04:47] *** TorchDragon has quit IRC
[09:04:53] *** swirlycheetah has joined #angularjs
[09:05:12] *** richiebkr has quit IRC
[09:05:30] *** Tidwell has quit IRC
[09:05:36] *** swirlycheetah has quit IRC
[09:05:53] *** swirlycheetah has joined #angularjs
[09:06:04] *** Vloz_ has quit IRC
[09:06:04] *** bkuberek has joined #angularjs
[09:06:11] *** richiebkr has joined #angularjs
[09:06:41] *** Gambit- has quit IRC
[09:06:42] *** oa_ has quit IRC
[09:06:48] *** Veer89 has joined #angularjs
[09:06:52] *** bphogan is now known as bphogan_afk
[09:07:20] *** tangorri has joined #angularjs
[09:07:25] *** biba8163 has quit IRC
[09:07:48] *** mtsr has joined #angularjs
[09:08:14] *** benhx has joined #angularjs
[09:08:14] <DevAntoine> hi
[09:08:16] *** foofoobar has quit IRC
[09:08:32] <DevAntoine> is it normal that a directive not used on a given page is still called?
[09:08:57] *** scmx has joined #angularjs
[09:09:54] *** Vloz_ has joined #angularjs
[09:10:47] *** bkuberek has quit IRC
[09:10:52] *** styles has quit IRC
[09:11:00] *** jstroem has quit IRC
[09:11:19] *** dariocravero has joined #angularjs
[09:11:23] *** caitp has joined #angularjs
[09:11:34] *** jstroem has joined #angularjs
[09:12:28] *** dariocravero has quit IRC
[09:13:02] *** jstimm has quit IRC
[09:13:04] *** Vloz__ has quit IRC
[09:14:02] *** sk87 has joined #angularjs
[09:14:46] *** zeroquake has quit IRC
[09:16:04] *** jstroem has quit IRC
[09:17:26] *** AndyFTP has joined #angularjs
[09:17:52] *** JosephSilber has quit IRC
[09:17:58] *** delerium_ has quit IRC
[09:18:28] *** V0id_ is now known as V0id
[09:18:34] *** delerium_ has joined #angularjs
[09:19:38] *** dob_ has joined #angularjs
[09:20:09] *** anu_ has joined #angularjs
[09:20:13] *** crooksey has joined #angularjs
[09:20:15] *** tangorri has quit IRC
[09:20:17] *** fdrechsler has joined #angularjs
[09:20:23] <anu_> hi
[09:20:33] *** anu_ is now known as Guest52352
[09:20:39] <Guest52352> what use of $destroy and $eval service
[09:20:45] *** AndChat60249 has joined #angularjs
[09:21:44] <Guest52352> more confusing about $destory and $eval
[09:21:55] <Guest52352> can you please help me
[09:22:04] <swirlycheetah> destroy runs when a controller is no longer being used i believe
[09:22:15] *** bicranial has quit IRC
[09:22:49] <crooksey> Hi guys, I have used ng-repeat to loop through json data which works perfectly, when I define the json manually in $scope, now I have changed the code slightly, so the JSON comes from an ajax request, the request works fine, however, using the same data I can then not loop through, I get an error off"Duplicates repeater are not allowed" I have ammended my code to combat this, but it doesnt seem to work: Working code:
[09:23:20] <Guest52352> swirlycheetah @ can you please give more explanation about $destroy
[09:23:38] *** richiebkr has quit IRC
[09:24:06] <swirlycheetah> sure, you could do something like $scope.$on('$destroy', function() { stopPolling(); });
[09:24:14] *** decached has joined #angularjs
[09:24:45] <swirlycheetah> anytime i've used it is to generally just tidy up once a controller is destroyed
[09:25:54] <swirlycheetah> crooksey: do you have something duplicated in that json?
[09:26:09] <crooksey> swirlycheetah: just realised I may
[09:26:26] <crooksey> I will need a unique ID won't I for each json entry?
[09:26:49] <swirlycheetah> you could track by something unique in the data
[09:27:25] <swirlycheetah> or perhaps track by $index might work
[09:27:42] *** MaxV has joined #angularjs
[09:27:51] *** HypnotiX has quit IRC
[09:28:39] *** mettjus has joined #angularjs
[09:29:41] <swirlycheetah> crooksey: ah i see you were tracking by orderno but there were duplicates
[09:29:59] *** dc has quit IRC
[09:30:30] <swirlycheetah> crooksey: you don't necessarily need to use 'track by' but if you want to use it then 'track by $index' should sort you out
[09:30:51] <AndChat60249> Crooksey, I think ng repeat don't accept identical objects in the collection - same object hash - that means you can have duplicated properties (even id) but the object must be different
[09:31:19] *** bweston has joined #angularjs
[09:31:26] *** w1ther has joined #angularjs
[09:31:32] *** nfroidure_ has joined #angularjs
[09:31:53] *** slainer68 has quit IRC
[09:34:50] *** Aswebb has joined #angularjs
[09:35:14] <Aswebb> Hello
[09:35:23] *** danielpquinn has joined #angularjs
[09:36:02] <AndChat60249> Hi
[09:36:05] *** phuh has joined #angularjs
[09:36:39] *** defaultdict has joined #angularjs
[09:36:40] <Aswebb> Does someone here use ngInfiniteScroll ?
[09:37:05] <AndChat60249> I did
[09:37:43] <AndChat60249> Got it from bower...
[09:37:56] *** tgkokk has quit IRC
[09:39:08] *** joker666 has quit IRC
[09:39:31] *** dc has joined #angularjs
[09:39:40] *** terrykfwong has joined #angularjs
[09:39:58] *** bengillies has joined #angularjs
[09:40:11] *** danielpquinn has quit IRC
[09:40:25] *** _jpfm has joined #angularjs
[09:40:53] *** ericrav has joined #angularjs
[09:41:02] *** AndChat60249 has quit IRC
[09:41:21] *** toastynerd has joined #angularjs
[09:42:08] *** _jpfm has quit IRC
[09:42:19] *** yadong has joined #angularjs
[09:42:37] *** yadong has left #angularjs
[09:43:35] *** dc has quit IRC
[09:43:37] <ckboii89> does angular have a redirect method
[09:43:51] *** milka has joined #angularjs
[09:44:03] *** bengillies has quit IRC
[09:45:03] *** ericrav has quit IRC
[09:45:05] *** dc has joined #angularjs
[09:45:08] *** mguillech has quit IRC
[09:45:15] <ckboii89> thanks
[09:45:19] *** Left_Turn has quit IRC
[09:45:41] <ckboii89> also, where would i put the logic to check if form input is not a valid input( has to be integers)
[09:46:10] *** milka_ has joined #angularjs
[09:46:13] *** hugorodrigues has joined #angularjs
[09:46:24] *** milka_ has quit IRC
[09:46:41] <robdubya> dudes my shit is so hot right now
[09:46:49] *** ericrav has joined #angularjs
[09:47:34] *** gnrlbzik has joined #angularjs
[09:47:47] <swirlycheetah> with pattern matching
[09:47:49] *** pozytron has left #angularjs
[09:48:32] *** AciD``` has joined #angularjs
[09:48:59] *** jstroem has joined #angularjs
[09:49:00] *** andrepadez has joined #angularjs
[09:49:19] *** mattwynne has joined #angularjs
[09:49:22] <andrepadez> Hi, is there a channel for UI Bootstrap?
[09:49:26] *** July_ has joined #angularjs
[09:49:40] <July_> hello help me please
[09:50:13] *** Vloz has joined #angularjs
[09:50:37] <July_> anyone help me ?
[09:50:47] *** vader has joined #angularjs
[09:50:59] *** kalusn has joined #angularjs
[09:51:12] *** guilbep has joined #angularjs
[09:51:14] <July_> nobody :(
[09:51:33] <swirlycheetah> dude just ask the question =)
[09:51:34] *** mattwynne has quit IRC
[09:51:39] *** ericrav has quit IRC
[09:51:42] <ckboii89> lol
[09:51:54] *** mattwynne has joined #angularjs
[09:52:00] *** tschundeee has joined #angularjs
[09:52:04] *** gnrlbzik has quit IRC
[09:52:38] *** Jdubs_ has quit IRC
[09:53:04] *** foofoobar has joined #angularjs
[09:53:31] *** Emperor_Earth_ has joined #angularjs
[09:53:34] *** Vloz_ has quit IRC
[09:53:35] <July_> working on a website and am interested to put location to select regions and cities, which opens in a poopup
[09:54:16] *** xavia has joined #angularjs
[09:54:34] *** Vloz has quit IRC
[09:54:37] *** Vloz_ has joined #angularjs
[09:55:01] *** santaloci has quit IRC
[09:55:47] *** Emperor_Earth has quit IRC
[09:56:04] *** Successful has joined #angularjs
[09:56:15] *** tfennelly has joined #angularjs
[09:57:00] <July_> anyone help me please ?
[09:57:08] <swirlycheetah> that's a pretty substantial piece of functionality July_, have you tried building it yet?
[09:57:16] *** Vloz has joined #angularjs
[09:57:18] *** Zoroastre has joined #angularjs
[09:57:24] *** illume has joined #angularjs
[09:57:51] <July_> no
[09:57:58] *** fiedor has joined #angularjs
[09:58:14] <July_> I do not know anything and do not know how to do
[09:58:21] *** Dimlock has joined #angularjs
[09:58:29] <ckboii89> uh
[09:58:47] <ckboii89> how you expect help if you can't do anything?
[09:59:03] <swirlycheetah> i'm not sure this is the right place to ask, perhaps look for a developer on elance or odesk?
[09:59:09] *** illume has quit IRC
[09:59:11] *** kas84 has joined #angularjs
[09:59:18] *** Emperor_Earth_ has quit IRC
[09:59:24] *** nemothekid has joined #angularjs
[09:59:53] *** mdedetrich has joined #angularjs
[10:00:05] *** intellix has joined #angularjs
[10:00:09] *** tfennelly has quit IRC
[10:00:21] *** tfennelly has joined #angularjs
[10:00:32] <July_> I want someone to clarify how to do this ajax code that opens poopup the location of cities
[10:00:34] *** Vloz_ has quit IRC
[10:00:36] <crooksey> swirlycheetah: thanks track by $index works, (well no errors) but it doesnt populate my table
[10:00:53] <crooksey> Do I need to set up a .watch as its an ajax call, rather than pre-defined json?
[10:01:07] <swirlycheetah> no you shouldn't need to
[10:01:07] *** TorchDragon has joined #angularjs
[10:01:11] *** jamesbdev has quit IRC
[10:01:14] <swirlycheetah> did you see what AndChat60249 said?
[10:01:27] *** phuh has quit IRC
[10:01:35] *** Left_Turn has joined #angularjs
[10:01:39] <crooksey> Yea
[10:01:52] *** phuh has joined #angularjs
[10:02:06] <swirlycheetah> perhaps that's the issue, if you've got two identical objects it may be an issue
[10:02:08] <crooksey> My code now runs with no errors, my table just doesn't populate
[10:02:30] <July_> anyone can help me to my problem?
[10:02:40] <crooksey> That cant be, as the same data pre-defined works
[10:02:47] <crooksey> Only difference is now it comes from ajax
[10:03:01] *** Sonderblade has joined #angularjs
[10:03:21] *** Sonderblade has quit IRC
[10:03:44] *** Sonderblade has joined #angularjs
[10:04:03] <swirlycheetah> let me take a quick look at your code again
[10:04:07] *** Joulse has joined #angularjs
[10:04:08] <swirlycheetah> 1 sec
[10:04:15] *** illume has joined #angularjs
[10:04:31] <July_> I apologize if I do not make it clear as translated by google translator
[10:05:01] *** leftblank has joined #angularjs
[10:05:28] *** TorchDragon has quit IRC
[10:05:28] *** fbenoit has joined #angularjs
[10:06:13] *** andrepadez has quit IRC
[10:06:32] *** sbeam has joined #angularjs
[10:06:34] *** mercwithamouth has quit IRC
[10:06:44] *** dc has quit IRC
[10:06:52] *** bkuberek has joined #angularjs
[10:06:54] *** mennea has joined #angularjs
[10:07:20] *** mkulke has joined #angularjs
[10:07:38] <swirlycheetah> crooksey: what happens when you remove track by?
[10:07:47] <swirlycheetah> and is the data definitely on the scope?
[10:08:18] *** andrepadez has joined #angularjs
[10:08:23] *** sbeam has quit IRC
[10:08:46] *** TheAceOfHearts has quit IRC
[10:09:03] <ckboii89> does anyone know if theres a certain value to pass to the close to dismass the modal?
[10:09:11] *** marmalade___ has quit IRC
[10:09:24] <ckboii89> nothing seems to dismass the modal no matter what i pass it
[10:09:29] <crooksey> swirlycheetah: track by $index works if I pre-define my json
[10:09:36] <July_> Sorry I can not notice any help from anyone :(
[10:11:12] *** mercwithamouth has joined #angularjs
[10:11:16] *** July_ has quit IRC
[10:11:18] *** fbenoit has quit IRC
[10:11:23] *** bkuberek has quit IRC
[10:11:23] <andrepadez> Is there a channel for angular-ui?
[10:11:49] *** mrogne has quit IRC
[10:12:01] *** mrogne has joined #angularjs
[10:12:15] *** backinnam has quit IRC
[10:12:38] *** Yancy has quit IRC
[10:12:41] *** mtsr has quit IRC
[10:12:49] *** [n0b0dy] has joined #angularjs
[10:13:58] *** fbenoit has joined #angularjs
[10:14:29] *** toastynerd has quit IRC
[10:14:53] *** mtsr has joined #angularjs
[10:16:38] <crooksey> swirlycheetah: yea my data is definitely in scope
[10:16:40] *** umesh has joined #angularjs
[10:16:43] *** bengillies has joined #angularjs
[10:17:13] <umesh> will u expalin ng-controller actual use
[10:17:19] <swirlycheetah> crooksey: hmm i'm stumped sorry
[10:17:33] <swirlycheetah> crooksey: feels like it's something really obvious though
[10:17:50] <umesh> call function..?
[10:17:56] <crooksey> yea
[10:18:10] *** dve has joined #angularjs
[10:18:16] *** umesh has quit IRC
[10:18:43] *** amar has joined #angularjs
[10:19:00] <Aswebb> Is there a way to detect in angular, when the user scroll to the end of his window?
[10:19:07] *** amar is now known as Guest9272
[10:19:13] <Guest9272> in this it use angular.module so what the use of it
[10:19:30] *** Aartsie has joined #angularjs
[10:19:39] *** nodedfree has joined #angularjs
[10:20:39] <swirlycheetah> crooksey: perhaps add '$scope.loaded = true;' into the success and then 'ng-if="loaded"' to the <tr>
[10:21:01] *** Brayniverse has joined #angularjs
[10:21:16] *** Archit has quit IRC
[10:21:24] *** Guest9272 has quit IRC
[10:21:31] *** slainer68 has joined #angularjs
[10:21:59] *** satish has joined #angularjs
[10:22:39] *** Sebastien-L has joined #angularjs
[10:23:31] *** Jdubs has joined #angularjs
[10:24:14] *** tgkokk has joined #angularjs
[10:25:05] *** mchapman has quit IRC
[10:25:14] *** mykz_ has quit IRC
[10:26:31] *** satish has quit IRC
[10:26:58] *** mennea has quit IRC
[10:28:41] *** charuru has quit IRC
[10:30:12] *** Jdubs has quit IRC
[10:32:16] *** anderskristo has joined #angularjs
[10:32:52] *** Vinnyceptr has joined #angularjs
[10:32:58] *** AlSquire has joined #angularjs
[10:34:27] *** lopy has joined #angularjs
[10:34:47] *** mguillech has joined #angularjs
[10:34:49] *** lopy has quit IRC
[10:35:12] *** zwacky has joined #angularjs
[10:35:20] *** bengillies has quit IRC
[10:35:31] *** noviceme has joined #angularjs
[10:36:02] *** danielpquinn has joined #angularjs
[10:36:09] *** InezK is now known as InezK_away
[10:37:00] *** Vloz_ has joined #angularjs
[10:38:21] *** Vloz__ has joined #angularjs
[10:38:22] <foofoobar> ckboii89, inside your modal controller you can use $modalInstance.dismiss('cancel');
[10:38:58] *** mguillech has quit IRC
[10:39:06] <foofoobar> from the outside I guess you can save a link to the created modalInstance and call .dissmiss (or .close) on this
[10:39:40] <foofoobar> $scope.myModalInstance = $modal.open(...); $scope.closeModal = function() { $scope.myModalInstance.close8) }
[10:39:44] <foofoobar> Maybe something like this
[10:39:51] *** eutheria has joined #angularjs
[10:39:54] <crooksey> swirlycheetah: no such luck, ill keep trying
[10:40:04] *** Vloz has quit IRC
[10:40:18] *** OffTheRails has quit IRC
[10:40:18] *** danielpquinn has quit IRC
[10:40:37] *** noviceme_ has joined #angularjs
[10:40:49] *** ericrav has joined #angularjs
[10:40:53] *** mettjus has quit IRC
[10:41:06] *** zemanel has joined #angularjs
[10:41:17] *** bengillies has joined #angularjs
[10:41:34] *** Vloz_ has quit IRC
[10:41:55] *** noviceme has quit IRC
[10:42:51] *** mykz_ has joined #angularjs
[10:42:58] *** andrepadez has quit IRC
[10:43:05] <Guest52352> what is $eval , when we are using $eval service
[10:43:18] <Guest52352> why using $eval
[10:43:38] *** tgkokk has quit IRC
[10:43:39] <Guest52352> can you please explain $eval
[10:44:39] <Guest52352> swirlycheetah: what is $eval? , when we are using $eval service ?
[10:44:48] *** hugorodrigues has quit IRC
[10:44:58] *** intellix has quit IRC
[10:45:04] *** ericrav has quit IRC
[10:45:10] <DevAntoine> I've got a directive with the compile function which returns the link one. Inside the compile I've got two functions. Is it ok, in the link function, to call some the two functions defined inside the compile?
[10:45:13] <swirlycheetah> Guest52352: i've never used $eval sorry
[10:46:11] *** azizur has joined #angularjs
[10:46:41] *** ericrav has joined #angularjs
[10:46:57] *** intellix has joined #angularjs
[10:48:19] *** gnrlbzik has joined #angularjs
[10:48:39] *** AxldenieD has joined #angularjs
[10:48:39] *** someones_dad has joined #angularjs
[10:48:48] <AxldenieD> hey :)
[10:49:03] *** ncbw has joined #angularjs
[10:49:05] *** Moon has joined #angularjs
[10:49:29] *** Moon is now known as Guest42725
[10:49:57] *** Aartsie has quit IRC
[10:51:03] *** ericrav has quit IRC
[10:51:46] *** mettjus has joined #angularjs
[10:51:52] *** AlSquire has quit IRC
[10:52:51] <AxldenieD> is there a simple way to make an <input type='file'> ton only accept pictures ? is it possible to use a kind of ng-pattern ?
[10:53:03] *** someones_dad has quit IRC
[10:53:06] *** tfennelly has quit IRC
[10:53:23] *** gnrlbzik has quit IRC
[10:53:27] *** SomeKittens has quit IRC
[10:53:30] *** mguillech has joined #angularjs
[10:53:41] *** tschundeee has quit IRC
[10:54:31] <AxldenieD> :o
[10:54:33] <prikk> very specific mimetype lists work (and others don't)
[10:54:35] <AxldenieD> thank you !
[10:54:37] *** TyrfingMjolnir has quit IRC
[10:54:37] <prikk> np
[10:55:05] *** kas84 has quit IRC
[10:55:23] *** mguillech has quit IRC
[10:55:25] *** mettjus has quit IRC
[10:55:50] *** Aartsie has joined #angularjs
[10:56:11] *** tarnus has joined #angularjs
[10:56:50] *** Hadrien has joined #angularjs
[10:57:38] *** mguillech has joined #angularjs
[10:58:37] *** RandomStranger- has joined #angularjs
[10:58:43] *** java has joined #angularjs
[10:58:46] *** RandomStranger has quit IRC
[10:59:07] *** java is now known as Guest56942
[10:59:43] *** e-dard_afk is now known as e-dard
[11:00:09] *** mguillech has quit IRC
[11:00:17] *** balboah has joined #angularjs
[11:00:22] *** mguillech has joined #angularjs
[11:00:32] *** tarnus has quit IRC
[11:00:38] *** nemothekid has quit IRC
[11:00:42] *** Xsz has joined #angularjs
[11:01:25] *** Guest56942 has quit IRC
[11:01:27] *** phuh has quit IRC
[11:01:39] *** hugorodrigues has joined #angularjs
[11:01:47] *** Hadrien has joined #angularjs
[11:01:48] *** rchavik has quit IRC
[11:01:55] *** phuh has joined #angularjs
[11:01:57] *** Hadrien has quit IRC
[11:02:03] *** TorchDragon has joined #angularjs
[11:02:21] *** tangorri has joined #angularjs
[11:03:11] *** [n0b0dy] has quit IRC
[11:03:21] *** [n0b0dy] has joined #angularjs
[11:03:30] *** RogerWS has quit IRC
[11:03:42] *** lelu has joined #angularjs
[11:03:47] *** RogerWS has joined #angularjs
[11:04:34] *** azizur has quit IRC
[11:05:25] *** wafflejock has quit IRC
[11:05:32] *** rawry has joined #angularjs
[11:06:03] *** mtsr has quit IRC
[11:06:04] *** noviceme_ has quit IRC
[11:06:31] *** TorchDragon has quit IRC
[11:06:35] *** wafflejock has joined #angularjs
[11:07:14] *** wafflejock has quit IRC
[11:07:34] *** bkuberek has joined #angularjs
[11:08:30] *** dazs has joined #angularjs
[11:08:51] *** Grokling_ has quit IRC
[11:09:01] *** thomasfuston has joined #angularjs
[11:09:18] *** kalusn has quit IRC
[11:09:21] *** dhcar is now known as dhcar_AFK
[11:09:28] *** AciD``` is now known as AciD``
[11:10:34] <Guest52352> my application left side and right side contnet. if we click on left side dynamicaly changed to right side. in that list current object Need to highlight. old link need to disbaled mode can you please suggest me
[11:10:48] *** azizur has joined #angularjs
[11:11:03] *** scmx has quit IRC
[11:11:14] <Guest52352> am using directive concept
[11:11:15] *** Hiran has joined #angularjs
[11:11:16] *** Drako_ has joined #angularjs
[11:11:26] <Hiran> Hi
[11:11:43] <Guest52352> my application left side and right side contnet. if we click on left side dynamicaly changed to right side. in that list current object Need to highlight. old link need to disbaled mode can you please suggest me
[11:12:03] <Guest52352> list have
[11:12:03] *** bkuberek has quit IRC
[11:12:04] *** mdel has quit IRC
[11:12:04] *** angelazou has joined #angularjs
[11:12:35] <angelazou> I'm having some issues with ng-click in a mobile environment
[11:12:58] <angelazou> sometimes, the click event would fire once correctly, but many times, the click event would fire twice
[11:13:13] <Guest52352> 1,2,3 ..etc ... bydefault 1 is active mode . if we click on 2 means 2 is active automaticaly diactive as 1. how to do ? can you suggest me ?
[11:13:24] <angelazou> on the same element. This element do not have any child elements, and I have e.stopPropagation and preventDefault called
[11:13:33] *** bhaveshletter has joined #angularjs
[11:13:51] <Hiran> can you provide me any good example or pdf link..
[11:13:57] <angelazou> ng-click="currentTab = 2"
[11:14:04] <Hiran> it will be helpfull for me
[11:14:15] *** discipolo has joined #angularjs
[11:14:49] <Xsz> Could anyone suggest how I may go about this? I am printing the contents of an exception report XML file that has been converted into JSON to a HTML table. However the licensing info is deeply nested so I have currently resorted to 10 divs with ng-repeats on them just to access the info... What would the best way to refactor this be?
[11:14:52] <Guest52352> ncbw: can you please tel me
[11:15:01] <Guest52352> any example link send me
[11:15:45] <ncbw> Guest52352: huh?
[11:15:45] *** vader has quit IRC
[11:15:51] *** Foxandxss has joined #angularjs
[11:15:55] *** Hiran has quit IRC
[11:16:00] *** motionman has quit IRC
[11:16:07] <Xsz> Sorry, ignore the part about it being in a table, the licensing is outside of the table :)
[11:16:14] <rawry> Xsz I think you might want to transform that JSON to make more friendly
[11:16:27] <Guest52352> ncbw : not clear
[11:16:48] <ncbw> what my example?
[11:16:52] <Xsz> Okay, the only problem is that I have thousands of exception reports, all with different structures as some may or may not have licensing, and some contain inner exceptions etc.
[11:17:05] *** moritzs has joined #angularjs
[11:17:15] *** dob_ has quit IRC
[11:17:17] *** mettjus has joined #angularjs
[11:17:41] *** dob_ has joined #angularjs
[11:18:01] <rawry> well the problem then lies outside of angular :) you gotta pipeline those reports through some sort of service to transform to a single format that you will use in your app
[11:18:28] <Xsz> Okie doke, I guessed that had something to do with it
[11:18:31] <Xsz> Cheers.
[11:18:56] *** vader has joined #angularjs
[11:18:56] *** dob_ has quit IRC
[11:19:02] *** dob_ has joined #angularjs
[11:19:38] *** mtsr has joined #angularjs
[11:19:43] *** Xsz has quit IRC
[11:19:56] *** rchavik has joined #angularjs
[11:20:46] <mdedetrich> I seem to have encountered a regression ng-animate
[11:20:48] *** syed99 has joined #angularjs
[11:20:56] <mdedetrich> is there any documentation regarding this?
[11:21:02]
<ncbw> anyone any ideas ? http://jsfiddle.net/Dy5GL/ - i want a directive ‘wrapper’ to pass scope values to child directives
[11:21:22] *** Hounddog has joined #angularjs
[11:22:00] *** wilmoore has quit IRC
[11:22:18] *** fiedor has quit IRC
[11:22:41] *** strfcks has joined #angularjs
[11:23:23] *** Obversity has quit IRC
[11:23:45] <strfcks> hello guys, i want to use angular js variable in Laravel blade template, do you have any idea how to do it ? {{ route('download', array('file_id'=> <% file.id %>)) }}
[11:24:12] *** tfennelly has joined #angularjs
[11:24:13] *** e-dard has left #angularjs
[11:24:15] <strfcks> *file_id variable is angular and using <% %> tags
[11:25:10] *** hilling has joined #angularjs
[11:25:19] <prikk> it doesn't exist on the server-side, so you can't use it
[11:25:25] *** Reskp has joined #angularjs
[11:25:27] <Foxandxss> I wouldn't use angular on template engines
[11:25:33] *** rchavik has quit IRC
[11:26:20] *** bullicon has joined #angularjs
[11:28:13] <strfcks> Foxandxss: i know but i am new on this
[11:28:45] <Foxandxss> more reason then
[11:28:56] <Foxandxss> plain .html is easier
[11:29:06] *** HypnotiX has joined #angularjs
[11:29:48] *** lordkryss has joined #angularjs
[11:31:55] *** hilling has quit IRC
[11:32:29] *** one_zero has quit IRC
[11:32:30] *** upsell5 has joined #angularjs
[11:32:34] *** jabr has left #angularjs
[11:33:15] *** benvds has quit IRC
[11:33:20] *** [n0b0dy] has quit IRC
[11:33:30] *** [n0b0dy] has joined #angularjs
[11:33:40] *** BlinkyBill has quit IRC
[11:34:40] *** benvds has joined #angularjs
[11:34:46] *** kustes has joined #angularjs
[11:35:15] *** mdix has joined #angularjs
[11:35:50] <mdedetrich> man another regression in animations
[11:35:51] <mdedetrich> wtf
[11:36:13] <ckboii89> anyone here
[11:36:49] *** danielpquinn has joined #angularjs
[11:37:21] *** strfcks has quit IRC
[11:37:34] *** bosco has joined #angularjs
[11:37:52] *** xastey has joined #angularjs
[11:38:32] *** mennea has joined #angularjs
[11:38:38] *** foofoobar has quit IRC
[11:39:03] *** wizibe has quit IRC
[11:40:06] *** roolo has joined #angularjs
[11:40:11] *** k-dawg has joined #angularjs
[11:40:50] *** ericrav has joined #angularjs
[11:41:12] *** styles_ has joined #angularjs
[11:41:12] *** styles_ has joined #angularjs
[11:41:20] *** rchavik has joined #angularjs
[11:41:33] *** danielpquinn has quit IRC
[11:42:04] *** davek has quit IRC
[11:43:54] <mdedetrich> no
[11:44:53] *** MANCHUCK has joined #angularjs
[11:45:08] *** ericrav has quit IRC
[11:45:36] *** shaym_ has joined #angularjs
[11:45:51] *** Mouzi has joined #angularjs
[11:45:56] *** S-Work has joined #angularjs
[11:46:32] *** fbenoit_ has joined #angularjs
[11:46:43] *** ericrav has joined #angularjs
[11:46:56] *** ckboii89 has quit IRC
[11:46:58] *** combat has quit IRC
[11:47:00] *** KimP has quit IRC
[11:47:23] *** cebor has quit IRC
[11:47:42] *** combat has joined #angularjs
[11:48:29] *** cebor has joined #angularjs
[11:49:03] *** azizur has quit IRC
[11:49:08] *** gnrlbzik has joined #angularjs
[11:49:28] *** amedia has joined #angularjs
[11:49:30] *** mykz_ has quit IRC
[11:49:32] *** fbenoit has quit IRC
[11:49:47] *** MANCHUCK has quit IRC
[11:49:58] *** mykz_ has joined #angularjs
[11:50:19] *** KamalKaur has joined #angularjs
[11:50:47] *** nielsle has joined #angularjs
[11:51:12] *** ericrav has quit IRC
[11:52:34] *** okdamn has joined #angularjs
[11:52:39] *** KamalKaur has quit IRC
[11:52:39] <okdamn> hello dears!
[11:52:49] <okdamn> :)
[11:53:33] *** gnrlbzik has quit IRC
[11:54:39] *** davek has joined #angularjs
[11:55:20] <okdamn> ncbw: you mean scope.user ?
[11:55:54] <okdamn> what you trying to achieve? inheirt scope from controller to directive?
[11:56:14] *** mettjus has quit IRC
[11:56:24] <ncbw> okdamn: i want to get/set properties of parent controller directive in child directives
[11:56:51] <okdamn> ncbw: so inherit directives settings from child directives?
[11:56:52] <ncbw> so i want to get to get user.name form child directive. but parentCtrl.$scope is undefined
[11:57:04] <ncbw> okdamn: yeah
[11:57:06] <okdamn> ah ok let me check a minute
[11:57:32] <okdamn> i usually use scope:true when i want to inherit things from parents in directives
[11:57:49] <okdamn> so you always have parents scope available in childs
[11:58:13] <ncbw> yeah i had a look at that but the user object changes depending on the page
[11:58:18] *** mdix has quit IRC
[11:58:33] <ncbw> it needs to be universal
[11:58:57] <okdamn> ncbw: let me try a second probably i fix this
[11:59:25] <ncbw> okdamn: ok thanks. looks like might have to use ‘this.user’ in the ctrl
[12:00:08] <okdamn> ncbw: why you define scope.u and then try to print scope.user ?
[12:00:18] <okdamn> ahhh i see
[12:00:23] <okdamn> data-user="u"
[12:00:28] <ncbw> yep :)
[12:00:31] <okdamn> first change it to data-user="{{u}}"
[12:00:40] <okdamn> but this wont help to make it change
[12:00:48] <okdamn> you need to watch for attribute in the directive
[12:01:00] <ncbw> okdamn: yeah it needs to be binded so it changes the object outside of the directive
[12:01:18] <okdamn> ncbw: outside mmm :P damn im not so expert :D
[12:01:18] *** bengillies has quit IRC
[12:01:27] *** phuh has quit IRC
[12:01:44] <ncbw> ncbw: hah thanks for looking anyways
[12:01:53] *** phuh has joined #angularjs
[12:01:57] *** jonathanph has joined #angularjs
[12:02:04] *** jonathanph has left #angularjs
[12:02:09] *** jonathanph has joined #angularjs
[12:02:32] *** joshontheweb has joined #angularjs
[12:02:33] <Foxandxss> I don't open fiddles normally
[12:02:44] <Foxandxss> I will make another exception today
[12:02:46] *** TorchDragon has joined #angularjs
[12:02:50] *** mdix has joined #angularjs
[12:03:45] *** DevAntoine has quit IRC
[12:03:54] <Foxandxss> ncbw: why the dollar signs?
[12:04:00] *** bengillies has joined #angularjs
[12:04:01] <okdamn> ncbw: is you inherit scope from parents you dont need the data attribute afaik
[12:04:02] *** _jpfm has joined #angularjs
[12:04:15] <okdamn> nope? Foxandxss
[12:04:52] *** garmur has joined #angularjs
[12:05:00] <Foxandxss> okdamn: data- are for html validation
[12:05:04] <Foxandxss> other than that, they are not needed
[12:05:07] *** greengriminal has joined #angularjs
[12:05:11] <okdamn> Foxandxss: ah ok :)
[12:05:33] <ncbw> habbit ^ to both $ and data-
[12:05:45] <Foxandxss> that is wrong
[12:05:48] <ncbw> i would of plunkered, but its down atm
[12:05:55] <Foxandxss> they shouldn't (in the link)
[12:06:03] <Foxandxss> but should on the controller
[12:06:11] <Foxandxss> the parameters on the link function are normal parameter
[12:06:13] <Foxandxss> not injections
[12:06:19] <Foxandxss> that is why you don't add the $ signs
[12:06:23] <Foxandxss> leaving that apart
[12:06:28] <Foxandxss> what do you expect on that log?
[12:06:41] *** mykz_ has quit IRC
[12:06:47] *** ineedarobot has joined #angularjs
[12:06:49] <Foxandxss> and plunker works fine
[12:07:12] *** Vinoop has joined #angularjs
[12:07:33] *** zwacky has quit IRC
[12:07:47] *** TorchDragon has quit IRC
[12:08:03] <amedia> hey, is it possible to pass form.$valid into a controller around the form?
[12:08:19] *** bkuberek has joined #angularjs
[12:08:40] <Foxandxss> I don't follow
[12:09:02] <ncbw> Foxandxss: ah ok. and yes just checked plunker is back up for me. for the directive i want to access the isolated ‘user’ from the child directive
[12:09:20] *** k-dawg has quit IRC
[12:09:22] <Foxandxss> okey
[12:09:22] *** wiherek has joined #angularjs
[12:09:23] <wiherek> hi
[12:09:29] <Foxandxss> you can't access $scope from the child
[12:09:39] <wiherek> whats a reasonable size for a production app?
[12:09:43] *** bkuberek has quit IRC
[12:10:00] <Foxandxss> the one that loads in a reasonable time on a mobile :P
[12:10:08] <wiherek> my bower dependencies weigh 500KB after uglification I wonder if thats ok
[12:10:11] *** bkuberek has joined #angularjs
[12:10:15] <wiherek> its all under 1MB
[12:10:27] *** dazs has quit IRC
[12:10:34] <wiherek> not counting the pictures
[12:10:43] <Foxandxss> don't ask me anyway, I don't see those numbers problematic
[12:10:45] <dob_> are there any best practieve
[12:10:49] <Foxandxss> but you have to try yourselve
[12:10:55] *** BMCouto has joined #angularjs
[12:11:00] <ncbw> Foxandxss: yeah i figured. am trying to do it through this.$scope on the controller
[12:11:34] <Foxandxss> fwiw, you can access in that example the user from child directly
[12:11:38] <Foxandxss> that is not the idea tho
[12:11:49] <Foxandxss> this.user = $scope.user; on the controller
[12:11:53] <Foxandxss> so you can access it like parentCtrl.user
[12:12:00] *** mdedetrich has quit IRC
[12:12:03] *** raghunayyar has joined #angularjs
[12:12:36] *** joshontheweb has quit IRC
[12:13:18] <dob_> are there any best practices on how to use template files? I want to create a library which ships it's templates as files. I want to be able to add this library to my main project (sub paths...). And i want to be able to add a file to my main project to overwrite the sub projects template if needed. I also want that the templates will be shipped with with the dist of my library.
[12:14:30] *** fwielstra has quit IRC
[12:14:33] *** bkuberek has quit IRC
[12:14:54] *** kalusn has joined #angularjs
[12:15:53] <Foxandxss> I put all of them in a cache
[12:15:59] <Foxandxss> using $templateCache
[12:17:58] <swirlycheetah> me too, and use a gulp plugin to build the templateCache module
[12:17:58] *** nielsle has quit IRC
[12:18:19] *** dc has joined #angularjs
[12:18:39] *** Gue______ has joined #angularjs
[12:20:49] <ncbw> Foxandxss: works. thanks!
[12:20:56] *** Brayniverse has quit IRC
[12:21:55] *** dkenzik_ has quit IRC
[12:22:18] *** Sebastien-L has quit IRC
[12:23:10] <wiherek> do you guys concatenate directive templates?
[12:23:49] *** angelazou has quit IRC
[12:24:04] <wiherek> html minify / concatenate
[12:24:45] *** roolo has quit IRC
[12:24:53] <okdamn> guys when retrieving geolocation trough html5 geolocation api how can i be sure the location is not fake or hacked by the user?
[12:25:01] <okdamn> any way? workaround?
[12:26:59] *** Jdubs has joined #angularjs
[12:27:24] *** hugofirth has joined #angularjs
[12:27:28] *** arizzo has joined #angularjs
[12:27:54] <blackkbot> no
[12:27:58] *** syed99 has quit IRC
[12:28:12] *** Reskp has quit IRC
[12:28:18] *** Aswebb has quit IRC
[12:28:38] *** fwielstra has joined #angularjs
[12:28:57] *** joshontheweb has joined #angularjs
[12:28:58] *** Grokling__ has quit IRC
[12:29:55] *** joshontheweb has quit IRC
[12:30:49] *** davedev24_ has joined #angularjs
[12:30:58] *** Jdubs has quit IRC
[12:33:15] *** Reskp has joined #angularjs
[12:33:41] *** balboah has quit IRC
[12:35:05] *** jtimon has joined #angularjs
[12:36:11] *** Nneon has joined #angularjs
[12:36:33] *** andre__ has joined #angularjs
[12:36:53] *** andre__ is now known as Guest165
[12:37:34] *** danielpquinn has joined #angularjs
[12:38:31] *** azizur has joined #angularjs
[12:39:15] *** bayousoft has joined #angularjs
[12:40:12] *** okdamn has quit IRC
[12:40:30] *** Aswebb has joined #angularjs
[12:40:54] <Guest165> hi - how to i "cache"/save the result of some filter without loosing the data binding functionality? (my code looks like this <span ng-init="foo = (bar | filter:...)"> and foo looks fine until bar changes - i guess it's because of the "(", but it doesn't work without it
[12:41:03] *** DuelShark has quit IRC
[12:41:05] *** ericrav has joined #angularjs
[12:41:17] *** raghavk has joined #angularjs
[12:41:27] *** roolo has joined #angularjs
[12:41:34] *** raghavk has quit IRC
[12:41:40] *** ckboii89 has joined #angularjs
[12:41:47] *** mennea has quit IRC
[12:42:03] *** danielpquinn has quit IRC
[12:42:53] *** anderskristo has quit IRC
[12:43:05] *** jtimon has quit IRC
[12:43:38] <blackkbot> idk about ng-init but isn't a single bar | a bitwise or
[12:44:07] *** foofoobar has joined #angularjs
[12:44:15] <blackkbot> i don't know about ng-init i remember seeing that elsewhere
[12:44:33] *** agnitio has joined #angularjs
[12:45:03] *** ericrav has quit IRC
[12:46:03] *** ckboii89 has quit IRC
[12:46:08] *** BlinkyBill has joined #angularjs
[12:46:17] *** arizzo has quit IRC
[12:46:37] *** ericrav has joined #angularjs
[12:46:49] *** amedia has quit IRC
[12:46:52] *** azizur has quit IRC
[12:46:56] *** arizzo has joined #angularjs
[12:46:59] *** arek_at_work has joined #angularjs
[12:47:32] *** upsell5 has quit IRC
[12:48:18] *** DuelShark has joined #angularjs
[12:48:30] *** mykz_ has joined #angularjs
[12:48:33] *** TyrfingMjolnir has joined #angularjs
[12:49:10] *** Aartsie has quit IRC
[12:49:19] <Guest165> blackkbot: maybe @ bitwise or, but it's also used for filter - i guess thats the reason i need the "(" for
[12:49:28] *** arek_at_work has quit IRC
[12:49:44] *** Aartsie has joined #angularjs
[12:49:57] *** gnrlbzik has joined #angularjs
[12:50:04] *** someones_dad has joined #angularjs
[12:50:06] <blackkbot> yeah i see it in angular expressions in other parts of angular but not in ng-init because that appears to just be an eval
[12:50:14] *** mdix has quit IRC
[12:50:58] *** tschundeee has joined #angularjs
[12:51:00] *** ericrav has quit IRC
[12:51:35] *** arizzo has quit IRC
[12:52:20] <Guest165> any other way to avoid writing the complete filter expression multiple times? (i need the result for ng-if and i can't use ng-switch because i need some logic operator (or, and))
[12:52:44] *** Aswebb has quit IRC
[12:54:03] *** Aartsie has quit IRC
[12:54:03] *** sysko has quit IRC
[12:54:09] *** tarkus has joined #angularjs
[12:54:18] *** someones_dad has quit IRC
[12:54:22] *** gnrlbzik has quit IRC
[12:55:06] *** InezK_away is now known as InezK
[12:55:07] *** starblow1 has joined #angularjs
[12:55:15] <starblow1> hi
[12:55:16] *** Aswebb has joined #angularjs
[12:56:15] <starblow1> hmm quiet silent here
[12:56:37] *** starblow1 has quit IRC
[12:56:51] *** Cydmax has joined #angularjs
[12:57:06] *** tarnus has joined #angularjs
[12:57:21] *** JKL130 has joined #angularjs
[12:57:24] <JKL130> hey
[12:57:24] <blackkbot> starblow1 did you fart?
[12:58:14] <house> silent deadly over here
[12:58:52] <JKL130> i have a button with ng-click, inside the handler i send an ajax request off. when it returns, i set a scope var to some value. it doesn't update in the view. it is on the same network so returns very quickly, so you cant $apply as a digest is already going
[12:59:05] <JKL130> i tried putting it through $evalAsync too and no luck
[12:59:07] *** DuelShark has quit IRC
[13:00:02] *** hugorodrigues has quit IRC
[13:00:06] *** kureus has joined #angularjs
[13:00:11] *** eon has joined #angularjs
[13:00:15] *** makeable has joined #angularjs
[13:00:16] *** arek_at_work has joined #angularjs
[13:00:20] *** Cryzze has joined #angularjs
[13:00:31] <Cryzze> hi!
[13:00:31] *** eon has quit IRC
[13:00:55] *** eonlepapillon has joined #angularjs
[13:01:04] <eonlepapillon> Hi
[13:01:29] *** phuh has quit IRC
[13:01:30] *** peey has quit IRC
[13:01:43] *** tarnus has quit IRC
[13:01:45] *** DuelShark has joined #angularjs
[13:01:48] *** Aartsie has joined #angularjs
[13:01:54] *** phuh has joined #angularjs
[13:02:22] <eonlepapillon> Im looking for a good angularjs (oreilly) book. Any suggestions?
[13:02:31] *** azizur has joined #angularjs
[13:02:36] *** jonathanph has quit IRC
[13:02:37] <airtonix> ugh all these context menu implementations in angular are horrible
[13:03:04] *** kureus has quit IRC
[13:03:20] *** hugofirth has quit IRC
[13:03:31] *** hugofirth has joined #angularjs
[13:03:46] *** TorchDragon has joined #angularjs
[13:03:59] *** jkremser has joined #angularjs
[13:03:59] *** jkremser has joined #angularjs
[13:04:26] *** avens has joined #angularjs
[13:04:52] *** Mouzi has quit IRC
[13:05:05] *** InezK is now known as InezK_away
[13:05:19] *** walden|afk is now known as walden
[13:05:36] *** mokush has joined #angularjs
[13:06:04] *** nan has joined #angularjs
[13:06:28] *** nan is now known as Guest98111
[13:07:36] *** eonlepapillon has quit IRC
[13:07:42] *** MaxV has quit IRC
[13:08:09] *** MaxV has joined #angularjs
[13:08:13] *** TorchDragon has quit IRC
[13:08:17] *** bosphorus has quit IRC
[13:08:43] *** teeray has joined #angularjs
[13:10:48] *** mehlah has joined #angularjs
[13:11:16] *** ncbw has quit IRC
[13:12:35] *** MaxV has quit IRC
[13:12:44] *** Efrem has joined #angularjs
[13:12:44] *** jkremser_ has joined #angularjs
[13:13:01] *** jkremser_ has joined #angularjs
[13:13:31] *** Cavallari has joined #angularjs
[13:13:36] *** Cryzze has quit IRC
[13:14:56] *** JKL130 has quit IRC
[13:15:09] *** Grokling__ has joined #angularjs
[13:15:57] *** Guest165 has quit IRC
[13:16:04] *** Reskp has quit IRC
[13:16:12] *** amedia has joined #angularjs
[13:16:22] <wiherek> is it ok to load all the templates from templateCache?
[13:16:26] *** lelu_ has joined #angularjs
[13:16:27] *** lelu has quit IRC
[13:16:35] <wiherek> should I do something like this in my directives and states:
[13:16:39] *** holymac has joined #angularjs
[13:16:49] *** sk87 has quit IRC
[13:17:02] <wiherek> template: $templateCache.get('/my/template/name')
[13:17:04] <wiherek> ??
[13:17:11] *** tschundeee has quit IRC
[13:17:52] *** milkshoes has joined #angularjs
[13:18:02] *** ncbw has joined #angularjs
[13:18:14] *** DrMabuse_ has joined #angularjs
[13:18:31] *** henn1nk has joined #angularjs
[13:19:16] *** mennea has joined #angularjs
[13:19:33] *** FunnyLookinHat has joined #angularjs
[13:19:40] *** BlinkyBill_ has joined #angularjs
[13:19:40] *** BlinkyBill has quit IRC
[13:22:33] *** DrMabuse has quit IRC
[13:23:21] <amedia> can someone please give me some help?
[13:23:41] <amedia> i need to bind form.$valid value into a model, which is available in controller
[13:23:50] <amedia> how do i do it?
[13:26:02] *** BlinkyBill_ has quit IRC
[13:26:32] *** syed99 has joined #angularjs
[13:28:06] *** sdouglas has joined #angularjs
[13:28:37] *** dazs has joined #angularjs
[13:29:53] *** AciD` has quit IRC
[13:29:53] *** AciD` has joined #angularjs
[13:30:13] *** eutheria has quit IRC
[13:30:22] *** retzloff has joined #angularjs
[13:30:26] *** bengillies has quit IRC
[13:30:56] *** Reskp has joined #angularjs
[13:31:35] *** cctom_ has quit IRC
[13:31:58] *** fbenoit_ has quit IRC
[13:32:04] *** retzloff has quit IRC
[13:32:33] *** sdouglas has quit IRC
[13:32:50] <syed99> Hii, i am adding bootstrap date picker in a cell of my html table, but when i click the cell in the first row all the rows datepicker are opening, any suggestions
[13:33:03] *** calumet has joined #angularjs
[13:33:25] *** Vinoop has quit IRC
[13:35:44] *** ineedarobot has quit IRC
[13:35:48] *** mokush has quit IRC
[13:36:51] *** jpstone has quit IRC
[13:37:00] *** H1FuelCell has joined #angularjs
[13:37:48] *** hugofirt_ has joined #angularjs
[13:37:59] *** gjvc has joined #angularjs
[13:38:03] *** hugofirth has quit IRC
[13:38:20] *** danielpquinn has joined #angularjs
[13:38:36] <leftblank> hi. when mocking with httpBackend, i want to verify that the data i pass to the expectPOST object is indeed the data that was called with. is that possible?
[13:38:37] *** SomeDude has joined #angularjs
[13:38:44] *** Aartsie has quit IRC
[13:39:16] *** Aartsie has joined #angularjs
[13:39:44] *** MaxV has joined #angularjs
[13:39:53] *** ineedarobot has joined #angularjs
[13:40:23] <blackkbot> so just console log the data you pass to expectPOST
[13:40:31] *** moritzs has quit IRC
[13:40:32] *** bosphorus has joined #angularjs
[13:40:52] *** ericrav has joined #angularjs
[13:42:05] *** ckboii89 has joined #angularjs
[13:42:35] *** mogaj has quit IRC
[13:42:53] *** danielpquinn has quit IRC
[13:43:18] *** Aartsie has quit IRC
[13:44:32] *** makeable has quit IRC
[13:44:43] *** mattwynn_ has joined #angularjs
[13:45:03] *** calumet has quit IRC
[13:45:04] *** mattwynne has quit IRC
[13:45:04] *** mattwynn_ has quit IRC
[13:45:10] *** ericrav has quit IRC
[13:45:28] *** calumet has joined #angularjs
[13:45:33] *** kalusn has quit IRC
[13:46:16] *** kalusn has joined #angularjs
[13:46:20] *** ckboii89 has quit IRC
[13:46:24] <thomasfuston> The funny part is, the Tabs itself works, but no content is shown
[13:46:29] <agronholm> thomasfuston: it's easier for others to figure out if you use plunker instead
[13:46:41] *** ericrav has joined #angularjs
[13:46:43] *** robdubya has quit IRC
[13:46:54] <agronholm> set up your example there
[13:47:02] <agronholm> so others can run it
[13:47:04] <agronholm> and tweak it
[13:47:05] <thomasfuston> ok
[13:47:08] <thomasfuston> thx
[13:48:02] *** lsiv568 has joined #angularjs
[13:48:11] *** milka has quit IRC
[13:49:06] *** zwacky has joined #angularjs
[13:49:40] *** makeable_ has joined #angularjs
[13:50:10] *** gnrlbzik has joined #angularjs
[13:50:32] *** zulu has joined #angularjs
[13:50:41] *** milka has joined #angularjs
[13:50:43] *** motionman has joined #angularjs
[13:50:43] *** motionman has joined #angularjs
[13:50:50] *** zulu has quit IRC
[13:51:01] *** agnitio has quit IRC
[13:51:11] *** zuler has joined #angularjs
[13:51:25] *** ericrav has quit IRC
[13:51:32] *** someones_dad has joined #angularjs
[13:51:57] <zuler> can class directives have parameters?
[13:52:09] *** mguillech has quit IRC
[13:52:14] *** joshontheweb has joined #angularjs
[13:52:43] *** mguillech has joined #angularjs
[13:53:05] *** vbabiy has joined #angularjs
[13:53:18] *** FuCone has joined #angularjs
[13:53:38] *** SomeDude has quit IRC
[13:55:02] *** mguillech has quit IRC
[13:55:15] *** mguillech has joined #angularjs
[13:55:15] *** mguillech has joined #angularjs
[13:55:33] *** someones_dad has quit IRC
[13:55:38] *** azizur has quit IRC
[13:55:55] *** InezK_away is now known as InezK
[13:56:08] *** DrMabuse_ has quit IRC
[13:56:58] *** KimP has joined #angularjs
[13:57:01] *** eutheria has joined #angularjs
[13:57:25] *** ingshtrom has joined #angularjs
[13:57:28] *** bengillies has joined #angularjs
[13:58:03] *** Reskp has quit IRC
[13:58:06] *** fold has joined #angularjs
[13:58:18] *** Notte has joined #angularjs
[13:58:35] *** edzez_ is now known as edzez
[13:58:36] *** juampy has joined #angularjs
[13:59:06] *** tschundeee has joined #angularjs
[13:59:53] *** DrMabuse_ has joined #angularjs
[13:59:54] *** zuler has quit IRC
[14:00:06] *** hugofirth has joined #angularjs
[14:00:29] *** ineedarobot has quit IRC
[14:00:46] *** tarnus has joined #angularjs
[14:01:01] *** teeray has quit IRC
[14:01:03] *** hugofirt_ has quit IRC
[14:01:29] *** phuh has quit IRC
[14:01:50] *** juampy has quit IRC
[14:01:54] *** arizzo has joined #angularjs
[14:01:55] *** phuh has joined #angularjs
[14:01:58] *** mercwithamouth has quit IRC
[14:02:02] *** DrMabuse_ has quit IRC
[14:02:05] *** juampy has joined #angularjs
[14:02:17] *** gnrlbzik has quit IRC
[14:02:33] *** Vinnyceptr has quit IRC
[14:02:37] *** kayloos has joined #angularjs
[14:02:40] *** Sgeo has quit IRC
[14:02:48] *** Cydmax has quit IRC
[14:03:07] *** DrMabuse has joined #angularjs
[14:03:25] *** gregc2_ is now known as ioudas
[14:03:37] <wiherek> i am getting a weird error
[14:03:42] *** dkenzik has joined #angularjs
[14:03:49] <wiherek> 'the template must have exactly one root element;
[14:03:57] <wiherek> well, it does have one root element :S
[14:04:08] <wiherek> it happens when I load the template
[14:04:13] <wiherek> with templateCache
[14:04:20] *** TorchDragon has joined #angularjs
[14:04:25] *** cctom_ has joined #angularjs
[14:04:27] *** kalusn has quit IRC
[14:05:00] *** Vinnyceptr has joined #angularjs
[14:05:04] *** ngbot has joined #angularjs
[14:05:04] <ngbot> angular.js/master eb2bab4 Peter Bacon Darwin: chore(package): update to latest dgeni-packages...
[14:05:04] *** ngbot has left #angularjs
[14:05:39] *** InezK is now known as InezK_away
[14:05:39] *** Wedgybo has joined #angularjs
[14:07:11] *** plysiu has quit IRC
[14:07:32] *** jtimon has joined #angularjs
[14:08:37] *** DuelShark_ has joined #angularjs
[14:08:38] *** TorchDragon has quit IRC
[14:08:43] *** FrEaKmAn_ has joined #angularjs
[14:09:12] <FrEaKmAn_> hi all.. is there a way to use ng-repeat for associative array and somehow order it by key?
[14:09:33] *** DuelShark has quit IRC
[14:09:44] <zelrik> I think track by does it
[14:09:46] *** mattwynne has joined #angularjs
[14:10:06] *** Wedgybo has quit IRC
[14:10:20] <zelrik> not sure though
[14:10:20] *** benjamingr has quit IRC
[14:10:24] *** mac_ified has joined #angularjs
[14:10:30] *** SomeDude has joined #angularjs
[14:10:55] <xastey> 44 tests from 14 in a few hours.. think thats a good start for the day
[14:11:18] *** cctom_ has quit IRC
[14:11:31] *** bkuberek has joined #angularjs
[14:11:41] <zelrik> yeah
[14:11:58] <zelrik> today I just took my breakfast and listened to some stupid music
[14:12:02] *** fbenoit has joined #angularjs
[14:12:02] <zelrik> so you re far ahead
[14:12:05] <xastey> need to get into the happen of writing tests why coding though.. have a crazy backlog of tests to wright
[14:12:23] *** jtimon has quit IRC
[14:12:34] <xastey> yeah been listening to mickey factz all morning.. woke up at 3am 7 now hehe
[14:12:40] *** Sebastien-L has joined #angularjs
[14:13:00] <zelrik> when I find new music I love,I just put it in a loop
[14:13:01] <xastey> silly kids, waking up at all hours of the night cause he can't find the remote to his tv.. he's only 4
[14:13:05] <zelrik> until I dont love it anymore
[14:13:10] *** bullicon has quit IRC
[14:13:22] <xastey> dont wait me up at 3am cause you are away can you can't find your damn remote
[14:13:28] <xastey> should of never got him hooked on netflix
[14:13:35] <xastey> *awake
[14:13:39] <zelrik> lol
[14:13:57] <xastey> kid is too smart i swear
[14:14:20]
<thomasfuston> Aloha, so now, i just "learning" angularjs, but i dont get why the tabs dont work prober, the tabs itself works, but the content dont get shown, here is the example http://plnkr.co/edit/kITriJbrzaZe0EhSZ8PR
[14:15:30] <thomasfuston> but if i use the logic within the html it works, like "tab = 1" for the setTab and "tab ===1" is Tab
[14:15:33] <xastey> drop lib.content and just do content .. also it should be $scope.content=books in your controller
[14:15:57] *** Brayniverse has joined #angularjs
[14:16:03] *** bkuberek has quit IRC
[14:16:41] *** holymac has quit IRC
[14:16:53] *** orion1111 has joined #angularjs
[14:16:58] *** Obversity has joined #angularjs
[14:17:13] *** dc has quit IRC
[14:17:23] *** leftblank has quit IRC
[14:17:37] *** holymac has joined #angularjs
[14:18:01] *** tschundeee has quit IRC
[14:18:18] *** mac_ified has quit IRC
[14:19:42] <thomasfuston> xastey: thx for the info, i take a look in it, wont fix the initial problem
[14:21:10] <lite_> If I need to broadcast an event with the resulting dimensions of a dialog(widget), what would be the safest way of doing this?
[14:21:33] <lite_> It doesnt take long to draw the directive so would using the $timeout service and setting a 500ms delay be considered "good enough" ?
[14:22:02] *** Alina-malina has joined #angularjs
[14:22:11] *** sysko has joined #angularjs
[14:22:11] <swirlycheetah> that'd probably be up to you to decide lite_
[14:22:12] *** sneakertack has joined #angularjs
[14:22:19] <swirlycheetah> is it calling an api?
[14:22:27] <lite_> yes
[14:22:39] *** akrikos has joined #angularjs
[14:23:12] *** DevAntoine has joined #angularjs
[14:23:16] <swirlycheetah> i'd go with returning a promise and run the broadcast once the promise has returned success perhaps
[14:23:38] <xastey> the main problem was that you were trying to access 'panel' from the LibController but it wasn't found in the scope
[14:23:55] *** zombiek has joined #angularjs
[14:24:07] <xastey> second problem was you didn't pass $scope to the controllers so you can reference the objects in your template
[14:24:40] *** sloops has joined #angularjs
[14:24:48] <xastey> the last one was trying to reference panel and lib from the template, you don't need to do that if you apply the values to $scope. Seems you may have got mixed up with services/controllers
[14:25:05] <sloops> i have a list of scope properties displayed on a view. i want to create/destroy above each displayed property a custom UI that will edit the value. what would be the wisest way to implement that ?
[14:25:12] *** slainer68 has quit IRC
[14:25:38] <zombiek> hi, can anyone help me with the following: I'm having a directive, where I'm passing in some variables into my isolated scope. Then I use a controller to fetch some data from a service and finally I need to append a list of fetched data to the template. But inside the link function the angular.element won't render my scopes variables. Why is that so? what am I doing wrong?
[14:26:05] *** slainer68 has joined #angularjs
[14:27:09] *** uf6667 has quit IRC
[14:27:21] <Notte> zombiek: hi, there could be 10000 reasons, you should show us a snippet of code
[14:27:34] *** mettjus has joined #angularjs
[14:28:00] *** uf6667 has joined #angularjs
[14:28:07] *** Kingdutch has quit IRC
[14:28:13] *** feelfine has joined #angularjs
[14:28:24] *** MTGap has joined #angularjs
[14:28:40] *** Aartsie has joined #angularjs
[14:28:41] *** fbenoit has quit IRC
[14:28:49] <thomasfuston> xastey: thx for your help, it works now, gonna read some more
[14:28:56] <zombiek> Notte: right, I'm just doing it ;)
[14:29:59] *** dc has joined #angularjs
[14:30:58] *** hswolff has joined #angularjs
[14:31:17] *** mccarrontr1ck has joined #angularjs
[14:31:40] <FrEaKmAn_> how to order by index? orderBy:'$index':true
[14:31:44] <FrEaKmAn_> doesn't seem to work
[14:32:03] <AciD`> having a php (backend) + js (angular frontend) app, what would be the usual way to store internationalized strings ? using .po file from gettext ? using the 'Jed' js library ? any other way I don't know (yet) about ?
[14:32:06] *** tomzx`afk is now known as tomzx
[14:32:20] <AciD`> is there an angular way ?
[14:32:38] *** fbenoit has joined #angularjs
[14:33:05] <uf6667> I know it's got nothing to do with angularjs but can someone please help me with aligning two panels next to each other please?
[14:33:13] <uf6667> I've been struggling with it for a whole week now
[14:33:53] *** ineedarobot has joined #angularjs
[14:33:53] <the-erm> uf6667: What are you trying to do?
[14:33:57] <Nneon> uf6667: are you referring to bootstrap panels?
[14:33:58] *** Kingdutch has joined #angularjs
[14:34:08] <uf6667> yes bootstrap panels
[14:34:19] <uf6667> the-erm: I have forms in two panels
[14:34:27] <uf6667> let me show you
[14:34:30] <Nneon> are you also using the bootstrap grid?
[14:34:33] <uf6667> yes
[14:35:00] *** Alina-malina has quit IRC
[14:35:07] <uf6667> I'm kind of a "do and hope it works" kinda guy
[14:35:12] *** shorne has joined #angularjs
[14:35:17] <uf6667> so I don't really understand how those grids work
[14:35:34] <uf6667> I get that md is for medium size
[14:35:39] <uf6667> and sm is for small
[14:35:48] <uf6667> other than that, I'm clueless
[14:35:52] *** JasonStoltz has joined #angularjs
[14:36:13] *** Notte has quit IRC
[14:36:14] <Nneon> the number refers to the number of columns
[14:36:32] <uf6667> OH
[14:36:33] <Nneon> i'm pretty sure by default the bootstrap grid is 12 columns
[14:36:33] *** bengillies has quit IRC
[14:36:41] <uf6667> sec
[14:36:44] <uf6667> letm e try sth then brb
[14:37:20] <zombiek> the problem is that the select field is not showing up the values that it should (or that I'm just too dumb to it)
[14:38:02] *** asdofindia has quit IRC
[14:38:09] *** Alina-malina has joined #angularjs
[14:38:21] <uf6667> cheers the-erm
[14:38:39] *** bengillies has joined #angularjs
[14:39:06] *** danielpquinn has joined #angularjs
[14:39:09] <FrEaKmAn_> how to use ng-repeat and sort by index?
[14:39:28]
<zombiek> hi, can anyone help me with the following: I'm having a directive, where I'm passing in some variables into my isolated scope. Then I use a controller to fetch some data from a service and finally I need to append a list of fetched data to the template. But inside the link function the angular.element won't render my scopes variables. Why is that so? what am I doing wrong? The code is here: http://jsbin.com/lasigaji/1/edit
[14:39:49] *** sk87 has joined #angularjs
[14:40:52] *** ericrav has joined #angularjs
[14:41:31] *** jobelenus has joined #angularjs
[14:41:33] *** guilbep has quit IRC
[14:41:37] <rawry> zombiek, you have a mistake in template code
[14:41:54] *** asdofindia has joined #angularjs
[14:42:02] <rawry> in the ng-options expression: "data.id for data in scope.dataset"
[14:42:08] <rawry> that "scope." is not needed
[14:42:13] <rawry> it should be 'data.id for data in dataset"
[14:42:42] *** ckboii89 has joined #angularjs
[14:42:58] <Nneon> for those using the recommended angular app structure... where do you place app-wide styles?
[14:43:10] *** juampy is now known as juampy_gnomgnom
[14:43:18] <AciD`> so i10n and i18n really are the last wheel of the angular wagon heh..
[14:43:32] <AciD`> T_T
[14:43:33] *** danielpquinn has quit IRC
[14:43:36] *** Sarusan has quit IRC
[14:44:58] *** ericrav has quit IRC
[14:45:10] *** guilbep has joined #angularjs
[14:45:42] *** motionman has quit IRC
[14:45:53] *** mikaeldice has joined #angularjs
[14:46:13]
<Hounddog> I have a 404 interceptor with redirection... http://pastebin.com/5r33kUBB apparently this works everywhere but not in safary
[14:46:40] *** ericrav has joined #angularjs
[14:46:44] *** ckboii89 has quit IRC
[14:46:50] <zombiek> rawry: ah thanks!
[14:47:05] *** DrMabuse has quit IRC
[14:47:24] <DevAntoine> is there a reason that the angular-generator declares the app on the body tag and not the html one?
[14:47:36] *** zombiek has quit IRC
[14:48:46] *** mehlah has quit IRC
[14:48:48] *** mdel has joined #angularjs
[14:48:58] *** scmx has joined #angularjs
[14:49:31] *** bayousoft has quit IRC
[14:49:32] *** DrMabuse_ has joined #angularjs
[14:49:34] *** fedenunez has joined #angularjs
[14:49:45] <the-erm> DevAntoine: I think you can do <anything ng-app> I did <div ng-app> and it worked. I'm not sure if that's 'bad' practice or not but it worked.
[14:50:09] *** Notte has joined #angularjs
[14:50:24] *** bmac has joined #angularjs
[14:50:43] *** milkshoes has quit IRC
[14:51:02] *** ericrav has quit IRC
[14:51:17] *** SpearThruster has joined #angularjs
[14:51:32] *** OdinIncarnate has quit IRC
[14:52:03] <DevAntoine> the-erm: there must be a reason, coming from the angular team
[14:52:09] *** DrMabuse_ has quit IRC
[14:52:17] <DevAntoine> because declaring the ng-app on the body makes it impossible to translate the title tag
[14:52:37] *** ccohn has joined #angularjs
[14:52:58] <xastey> np thomasfuston
[14:53:12] *** mdedetrich has joined #angularjs
[14:53:15] <the-erm> DevAntoine: I'm assuming you mean document.title ?
[14:54:15] <DevAntoine> the-erm: I'm talking about the title tag
[14:54:18] <DevAntoine> in the head
[14:54:22] <DevAntoine> above the body
[14:54:59] <Foxandxss> DevAntoine: and what's document.title?
[14:55:04] <the-erm> Honestly if it's messing things up then by all means use <div ng-app> :) Have you checked that you have a closing </head> tag ?
[14:55:18] *** shinnya has joined #angularjs
[14:55:33] *** gauravsaini03 has quit IRC
[14:55:40] <DevAntoine> what are you talking about?
[14:55:42] <DevAntoine> Foxandxss: ??
[14:55:53] <Hounddog> i fucking hate safari...
[14:55:56] <the-erm> Foxandxss: document.title is how you'd set the page's title in javascript.
[14:56:02] <Foxandxss> yes
[14:56:03] *** doodlehaus has joined #angularjs
[14:56:07] *** DrMabuse has joined #angularjs
[14:56:09] <the-erm> document.title = "my page title";
[14:56:10] *** krawchyk has joined #angularjs
[14:56:12] <DevAntoine> so why should I set the title in JS
[14:56:16] <DevAntoine> that makes no sense
[14:56:26] <Foxandxss> dynamic update?
[14:56:37] <DevAntoine> at least don't let a title tag empty
[14:56:42] <DevAntoine> even if you update it after
[14:56:43] *** edan has joined #angularjs
[14:56:57] <edan> hi all, I have a small question-
[14:57:15] <DevAntoine> but my main question was "why the angular-generator have the app declared on the body tag, there must be a reason?"
[14:57:30] <the-erm> DevAntoine: I'm sorry if I've confused you. Did you check for a closing </head> tag just before <body> :)
[14:57:36] *** FrEaKmAn_ has quit IRC
[14:57:36] <edan> I'm trying to add a directive onto a page with jquery, basically just "append"-ing <my-directive> to the page. But, angularJS isn't catching this and isn't doing anything with it.
[14:57:43] <DevAntoine> the-erm: WHAT????????????????
[14:57:56] <DevAntoine> the-erm: I think you don't udnerstand what I'm saying
[14:57:58] *** _jpfm has quit IRC
[14:58:01] <Foxandxss> DevAntoine: ah, didn't read the question
[14:58:06] <Foxandxss> if you don't need to touch the h eader
[14:58:07] <edan> what do I need to do to get Angular to recompile/etc?
[14:58:12] *** dob_ has quit IRC
[14:58:13] <Foxandxss> the ng-app tag works good on body
[14:58:22] <DevAntoine> the-erm: I'm saying that y declaring the app on the body tag you can't use translation above
[14:58:33] <DevAntoine> Foxandxss: ok, but why?
[14:58:38] *** dob_ has joined #angularjs
[14:58:39] <DevAntoine> why not on html?
[14:58:40] <Foxandxss> don't ask me
[14:58:50] <the-erm> I'm saying that if you <head><body> and not <head></head><body> there might be a bug in your browser :)
[14:58:56] *** mdedetrich has quit IRC
[14:58:57] <DevAntoine> Foxandxss: so you're just saying that without knowing why?
[14:59:01] *** BillCriswell has joined #angularjs
[14:59:15] <DevAntoine> the-erm: did I say I had an issues with my tags?
[14:59:18] *** quantax_ has quit IRC
[14:59:19] <DevAntoine> lol
[14:59:28] *** mnngfltg has joined #angularjs
[14:59:37] <DevAntoine> you really don't understand what I'm saying
[14:59:40] *** gauravsaini03 has joined #angularjs
[14:59:42] <Foxandxss> DevAntoine: I already said
[14:59:45] *** wiherek_ has joined #angularjs
[14:59:47] <Foxandxss> if you don't need to touch the header on angular
[14:59:50] *** darrin has joined #angularjs
[14:59:51] <Foxandxss> it works fine on the body
[14:59:51] *** darrin has quit IRC
[15:00:04] <sloops> i would like to make a directive that will be used as an attribute over a <li> that holds a numerical value fetched from a controller scope. how can i edit this value in my directive scope ?
[15:00:40] <DevAntoine> Foxandxss: it still doesn't answer my question. "Working fine" means nothing. Why it would work more fine on the body than on the html?
[15:01:02] *** darrin has joined #angularjs
[15:01:04] <Foxandxss> eh
[15:01:08] <Foxandxss> don't being offensive
[15:01:11] <Foxandxss> be*
[15:01:14] <Foxandxss> I can be more than you
[15:01:28] <Foxandxss> if you don't understand what I said, not my problem
[15:01:30] *** phuh has quit IRC
[15:01:54] *** gnrlbzik has joined #angularjs
[15:01:56] *** phuh has joined #angularjs
[15:02:02] *** mfunkie has joined #angularjs
[15:02:15] <DevAntoine> Foxandxss: I'm not, but I don't get what there's to understand by "it works fine on the body"
[15:02:29] *** coder2 has joined #angularjs
[15:02:33] <Foxandxss> I don't want to repeat myself anymore sorry
[15:02:42] *** m0t0r has joined #angularjs
[15:03:02] <the-erm> If you feel more comfortable using <div ng-app> then please by all means use <div ng-app> :)
[15:03:05] <DevAntoine> Foxandxss: I'm really not seeing where you answer the question
[15:03:21] *** Sonderblade has quit IRC
[15:03:23] <DevAntoine> the-erm: yep, you've already told that
[15:03:25] *** bullicon has joined #angularjs
[15:03:29] *** bullicon has quit IRC
[15:03:35] *** wiherek has quit IRC
[15:03:37] <Foxandxss> DevAntoine: whatever
[15:03:42] <DevAntoine> the-erm: the completely unrelated answer
[15:03:47] *** DrMabuse has quit IRC
[15:03:48] <coder2> i am developing a web app using angular, but video is not playing on chrome. do i have to use third party api for that?
[15:03:49] *** blak422 has quit IRC
[15:03:52] <DevAntoine> I hate taking things for granted that's all
[15:03:54] <Foxandxss> ok, I had enough of this question DevAntoine
[15:03:56] <Foxandxss> ask on SO
[15:04:02] <DevAntoine> loooool
[15:04:09] <Hounddog> bah installed safari under ubuntu and now see all that ios apple shit on opening the browser...
[15:04:27] <the-erm> Q: is there a reason that the angular-generator declares the app on the body tag and not the html one?
[15:04:28] <the-erm> A: Not that I know of.
[15:04:34] *** peey has joined #angularjs
[15:04:47] *** DrMabuse has joined #angularjs
[15:04:50] <Foxandxss> Hounddog: safari is a PITA
[15:05:03] *** TorchDragon has joined #angularjs
[15:05:09] <Hounddog> Foxandxss: i currently have nothing than hate for it
[15:05:12] *** dob_ has quit IRC
[15:05:18] *** dob_ has joined #angularjs
[15:05:19] <DevAntoine> the-erm: ok, that's a real answer, thanks.
[15:05:28] <Foxandxss> I had to patch ui-bootstrap some times to fix safari issues
[15:05:38] *** wdgreg has joined #angularjs
[15:05:39] <Hounddog> created 404 interceptor checked/tested uploaded immidiate feedback... doesnt work
[15:05:40] *** balboah has joined #angularjs
[15:06:13] *** bengillies has quit IRC
[15:06:24] <DevAntoine> the-erm: I wasn't saying I had any issue, I was just trying to understand why
[15:06:45] *** TorchDragon has quit IRC
[15:07:00] *** TorchDragon has joined #angularjs
[15:07:07] <DevAntoine> because in the bootstrap doc it states: "Place ng-app to the root of your application, typically on the <html> tag if you want angular to auto-bootstrap your application."
[15:07:09] *** nodeleaf has joined #angularjs
[15:07:11] *** bengillies has joined #angularjs
[15:07:21] <DevAntoine> so I was wondering why that wasn't the case on the angular-generator that's all
[15:07:34] *** rchavik has quit IRC
[15:08:05] *** imehesz has joined #angularjs
[15:08:06] *** intellix has quit IRC
[15:08:09] <Foxandxss> As I said
[15:08:15] <Foxandxss> if you don't need to modify your head tag
[15:08:21] <Foxandxss> the ng-app tag works fine on the body
[15:08:31] <Foxandxss> If that is not an answer, well, I don't know what is
[15:08:38] <DevAntoine> Foxandxss: yes, I totally agree with you
[15:08:46] <DevAntoine> but that's just not what I ask ;)
[15:08:48] <DevAntoine> anyway
[15:09:10] *** teeray has joined #angularjs
[15:09:15] <Foxandxss> well, some guy in his chair, decided one day that he wants the ng-app tag on the body
[15:09:25] <Foxandxss> so he did that and pushed to the repo
[15:09:30] *** cacts has joined #angularjs
[15:09:32] <Foxandxss> there is no real reason behind that decision
[15:09:47] <Foxandxss> yes
[15:09:49] <DevAntoine> Foxandxss: ok, that was just what I was asking for, thanks
[15:09:57] <Foxandxss> the element and his children are inside the app
[15:10:00] <Foxandxss> the elements outside are not
[15:10:08] <Foxandxss> and body is a pretty "root" element
[15:10:22] *** intellix has joined #angularjs
[15:10:39] *** syed99 has quit IRC
[15:10:54] *** Cydmax has joined #angularjs
[15:11:27] <DevAntoine> alright Foxandxss
[15:11:27] *** geiltalasdair has joined #angularjs
[15:11:44] <Foxandxss> all what's inside of the body will be an angular app
[15:11:48] <Foxandxss> that makes the <head> outside angular
[15:11:57] *** gnrlbzik has quit IRC
[15:11:59] <Foxandxss> but if you don't need to do anything on it, ng-app works fine
[15:12:01] *** linojon has joined #angularjs
[15:12:07] *** krawchyk has quit IRC
[15:12:07] <Foxandxss> that is what the guy behind that push thought in his day
[15:12:10] *** nodeleaf_ has joined #angularjs
[15:12:12] <Foxandxss> still, I prefer it on the html
[15:12:14] <Foxandxss> doesn't hurt
[15:12:28] <the-erm> All I know is I like angular, and I've manage to make a really awesome app in 3-4 days that would have taken me weeks, if not months :)
[15:12:33] *** gnrlbzik has joined #angularjs
[15:12:50] <Foxandxss> indeed
[15:12:52] <Foxandxss> angular++
[15:12:59] <caitp> yay ungular
[15:13:08] <Guest52352> how to get current element Id
[15:13:18] *** shaym_ has quit IRC
[15:13:23] <caitp> window[elementId]
[15:13:29] *** cctom_ has joined #angularjs
[15:13:34] *** mguillech has quit IRC
[15:13:43] <caitp> wait
[15:13:47] <caitp> get the current element id?
[15:13:50] <caitp> what does that mean
[15:13:58] <Guest52352> i have list
[15:14:01] *** marmalade___ has joined #angularjs
[15:14:11] <Guest52352> in that list need to highlight
[15:14:20] *** Sonderblade has joined #angularjs
[15:14:27] <Guest52352> A, B, C
[15:14:28] <caitp> if you're using ng-repeat to iterate over the list, each item in the list gets a new $scope with an $index property
[15:14:39] *** Sonderblade has quit IRC
[15:14:40] <caitp> so you can look at the $index property in scope
[15:14:46] *** FIFOd[a] has joined #angularjs
[15:14:58] *** texinwien has joined #angularjs
[15:14:58] <Guest52352> based on that id i need to add once class
[15:14:59] *** geilt has quit IRC
[15:15:01] <Foxandxss> or just pass the element itself to a function
[15:15:03] *** cctom_ has quit IRC
[15:15:06] *** azizur has joined #angularjs
[15:15:07] *** leftblank has joined #angularjs
[15:15:07] <Guest52352> please suggest me
[15:15:21] <Foxandxss> create a plunker with your idea
[15:15:30] <Foxandxss> working idea so we can look at it
[15:15:50] *** Reskp has joined #angularjs
[15:15:52] *** DrMabuse has quit IRC
[15:16:11] *** SomeDude has quit IRC
[15:16:25] *** DrMabuse has joined #angularjs
[15:16:29] *** henn1nk has quit IRC
[15:16:41] <teeray> does $provide support registering filters anymore with a filter function? The tutorial still seems to indicate that it does :-/
[15:16:43] *** nodeleaf_ has quit IRC
[15:16:55] *** dve has quit IRC
[15:17:05] <teeray> specifically, I'm referring to doing `angular.module("foo", []).filter("blah", function() {})
[15:17:13] *** mkc has joined #angularjs
[15:17:22] *** Evanion has joined #angularjs
[15:17:23] *** gnrlbzik has quit IRC
[15:17:23] *** MTGap has quit IRC
[15:17:36] *** edan has quit IRC
[15:17:36] <caitp> are you asking if you can still register filters via the module object?
[15:17:46] <teeray> caitp: yeah
[15:17:50] <caitp> yes you can
[15:17:57] *** Siecje1 has joined #angularjs
[15:18:07] <Guest52352> <div> <a tooltip="A" href="#/A" class="active"</a> <a tooltip="B" href="#/B" </a> <a tooltip="C" href="#/C" </a> </div>
[15:18:13] <Guest52352> this the my code
[15:18:18] <FuCone> tee ray, unless something changed on angular 1.2, you can... I've used it before
[15:18:19] <Guest52352> by default
[15:18:24] <Guest52352> A is active
[15:18:31] <Guest52352> when we click on B
[15:18:39] *** dve_ has joined #angularjs
[15:18:40] <teeray> caitp: alrighty thanks, I must be doing something dumb then... I'll keep plugging away :)
[15:18:47] <Guest52352> A must deactive B is active mode
[15:18:50] <caitp> if you're having trouble feel free to post code
[15:18:54] <FuCone> Guest, use mg-class
[15:18:56] <Guest52352> can you suggest me how to do ?
[15:18:56] <caitp> heaven knows I always need stuff to do
[15:19:04] <FuCone> to interpret your class based on a condition
[15:19:24] *** ReactiveIO has joined #angularjs
[15:19:24] <Guest52352> confusing
[15:19:35] <Guest52352> caitp: please suggest me
[15:19:39] *** tfennell_ has joined #angularjs
[15:19:49] *** tfennelly has quit IRC
[15:19:56] *** cthrax has joined #angularjs
[15:20:03] *** FunnyLookinHat has quit IRC
[15:20:12] <caitp> okay, well you can use ng-class as was suggested
[15:20:19] <caitp> ui router has ui-sref-active
[15:20:23] <FuCone> for example... $scope.myItem = 1; then on your tooltips, add this attribute ng-class="myItem === 1 ? 'active' : ''"
[15:20:24] <caitp> and there are some other things
[15:20:25] *** mpaarating has joined #angularjs
[15:20:25] <FuCone> etcetc
[15:20:28] <Hounddog> Awesome, installed safari and now people with original safari are seeing different things then me...
[15:20:33] *** jtimon has joined #angularjs
[15:20:37] *** gordroid has joined #angularjs
[15:20:45] <caitp> Hounddog, safari is magic
[15:20:53] <Hounddog> caitp: magic shit
[15:21:06] <coder2> I am not able to play <video> in my app in chrome, in firefox it is working, any ideas?
[15:21:06] <caitp> yes
[15:21:08] *** BillCris_ has joined #angularjs
[15:21:09] <caitp> but still magic
[15:21:31] *** the_fog has joined #angularjs
[15:21:46] <the-erm> coder2: It might be that you need the same video in a different codec.
[15:21:53] *** jtimon has quit IRC
[15:21:53] *** DrMabuse has quit IRC
[15:21:57] *** uf6667 has quit IRC
[15:22:06] *** SomeDude has joined #angularjs
[15:22:18] *** SomeDude has quit IRC
[15:22:31]
<Hounddog> rofl... https://clingr.de/ on safari i get directly the error module htmlapp" is not available
[15:22:33] <FuCone> code2.. I bet is browser related, not angular.. if you just declare a static html with <video> can you play on chrome.?
[15:22:34] *** cctom_ has joined #angularjs
[15:22:39] *** uf6667 has joined #angularjs
[15:22:48] <coder2> the-erm: which format supports on all browsers? i have no clue.
[15:23:02] *** sirkitree|afk is now known as sirkitree
[15:23:15] *** xaxisx has joined #angularjs
[15:23:19] *** DrMabuse has joined #angularjs
[15:23:22] *** tfennell_ has quit IRC
[15:23:27] <the-erm> That page also has a table explaining which codecs are supported by which browsers.
[15:23:29] *** tfennelly has joined #angularjs
[15:23:47] *** jtimon has joined #angularjs
[15:24:00] *** gnrlbzik has joined #angularjs
[15:24:04] <coder2> the-erm: i am using webm, but stilll not working. is it something to do with ng-src?
[15:24:14] *** jeffszusz has joined #angularjs
[15:24:19] *** drej has joined #angularjs
[15:24:22] *** BillCriswell has quit IRC
[15:24:33] *** mden has joined #angularjs
[15:24:35] <the-erm> Honestly IDK.
[15:24:36] <the-erm> :)
[15:24:49] *** rburns has joined #angularjs
[15:24:56] <teeray> caitp: hah! I figured it out... in my specs I forgot to add the automatically-added "Filter" suffix
[15:24:59] <FuCone> did you try declaring a static <video> tag without any angular attributes and see if it plays on chrome?
[15:25:10] <Hounddog> is delete some kind of reserved keyword in safari?
[15:25:18] *** azizur has quit IRC
[15:25:31] <caitp> woo
[15:25:34] *** richiebkr has joined #angularjs
[15:25:37] <rawry> it is
[15:25:41] <Hounddog> ...
[15:25:43] <rawry> in javascript actually, not just safari
[15:25:46] *** mguillech has joined #angularjs
[15:25:47] <FuCone> delete is reserved javascript word
[15:25:47] <rawry> IE will also break
[15:25:48] <the-erm> coder2: You could right click and inspect the html and see what the src= attribute is set to :)
[15:25:54] *** teslanick has joined #angularjs
[15:26:06] <FuCone> yep
[15:26:28] *** teslanick has left #angularjs
[15:27:02] <rawry> use ugly $http['delete'](..) instead I guess
[15:27:05] *** cboden has joined #angularjs
[15:27:08] *** coder2 has quit IRC
[15:27:10] <rawry> that sucks though
[15:27:32] *** mden has left #angularjs
[15:27:33] *** DrMabuse has quit IRC
[15:27:37] *** mac_ified has joined #angularjs
[15:27:38] *** hugorodrigues has joined #angularjs
[15:27:39] <rawry> same thing for $q's `finally` method
[15:27:42] *** raghunayyar has quit IRC
[15:27:54] <rawry> because finally is also a reserved keyword
[15:27:59] <Hounddog> ...
[15:28:15] *** azizur has joined #angularjs
[15:28:22] <FuCone> at least finally is ever used..on a try/catch block
[15:28:31] <FuCone> why is delete reserved?
[15:28:31] <FuCone> :P
[15:28:33] <Hounddog> nice though thaf neither ff nor chrome complain about it
[15:28:42] *** Aartsie has quit IRC
[15:28:52] *** shaym_ has joined #angularjs
[15:28:56] <rawry> that's because only outdated browsers complain about it
[15:29:02] <rawry> like IE8 I think
[15:29:07] <rawry> and maybe some versions of Safari?
[15:29:18] *** Aartsie has joined #angularjs
[15:29:21] *** alex88 has joined #angularjs
[15:29:38] *** richiebkr has quit IRC
[15:30:23] *** MANCHUCK has joined #angularjs
[15:30:44] <the-erm> FuCone: is `delete` a key word in javascript? I can't remember if it's `del` or `delete` ...
[15:30:52] <the-erm> I know too many languages....
[15:30:53] <caitp> the-erm: delete is a keyword
[15:30:59] <caitp> a reserved word
[15:31:02] <FuCone> delete is..
[15:31:18] <FuCone> I just don't know where it would fit
[15:31:19] *** hugorodrigues has quit IRC
[15:31:26] <the-erm> Well then that might be why it's implemented that way.
[15:31:40] *** cphil has joined #angularjs
[15:31:43] *** sloops has quit IRC
[15:32:12] <rawry> i.e.: delete myObj.foo;
[15:32:18] *** azizur has quit IRC
[15:32:19] <rawry> instead of myObj.foo = null;
[15:32:29] <the-erm> Never mind that doesn't make sense ... because I've foo.reservedWord before.
[15:32:51] <caitp> strict-mode vs sloppy-mode can have an impact on this
[15:33:02] <caitp> some engines are more lenient than others
[15:33:02] <cboden> Is there a tutorial anywhere on how I can create a form element in Angular? I need to create a directive that acts as a form element but the markup is just divs
[15:33:05] <FuCone> oh...interesting
[15:33:18] *** Aartsie has quit IRC
[15:33:31] <caitp> cboden: <div ng-form="name">
[15:33:44] <alex88> hi guys, I'm using angular with the rails assets pipeline, I've multiple files, each one should add an element to a global array, that I don't want to expose binding it on window but instead make it available only in my module
[15:33:46] <alex88> what should I use?
[15:34:14] <cboden> catip: Sorry, my bad. I need the element(s) to represent an input/value
[15:34:25] <caitp> wait what
[15:34:28] <DevAntoine> I have a directive working almost fine except when there's another directive. For instance, to avoid big html files, we use directives to include smaller templates inside the main one. So, when I'm adding my directive into a template's directive, it's not working and I don't know why. I guess it's related to the scope once again?
[15:34:39] <caitp> you want a form control implemented with divs?
[15:35:04] <caitp> that's gonna be hard, but I think adam barth or daniel glazkov might want to make that possible
[15:35:19] <caitp> did I say daniel
[15:35:21] <caitp> why do I get that wrong
[15:35:25] <caitp> not enough coffee
[15:35:31] <cboden> catip: Yes, that’s correct. A tree structure menu thingie that you can select as a value for the form
[15:35:33] *** shepheb has quit IRC
[15:35:38] <Hounddog> well at least i was right with my suggestion... seems safari doesnt know about URL
[15:35:44] <caitp> it's caitp, not catip ;)
[15:35:46] <caitp> anyways
[15:35:54] *** KimP has quit IRC
[15:36:00] <cboden> wow, sorry caitp. I haven’t had my coffee yet either ;)
[15:36:25] <cphil> cat's ip is much more interesting
[15:36:34] *** no1uknow has joined #angularjs
[15:36:36] <FuCone> alex88... maybe you can use the broadcast system to fire elements
[15:36:37] *** BillCris_ is now known as BillCriswell
[15:36:48] *** francisl has joined #angularjs
[15:36:51] <alex88> FuCone: isn't it only within scopes?
[15:36:55] *** shepheb has joined #angularjs
[15:37:04] *** ncbw has quit IRC
[15:37:05] <FuCone> and you module subscribe to those events and add to it's local array
[15:37:06] <cboden> So any ides or leads on how I would implement such a silly thing?
[15:37:23] <alex88> FuCone: what kind of module should I use? value, factory, service, provider?
[15:37:48] <alex88> that's my problem, I don't see any way to edit a module-wide array and use it later in another service+
[15:38:47] <FuCone> I think I didn't understand it well... you don't want to use $rootScope
[15:38:50] <FuCone> right?
[15:38:52] <the-erm> alex88: (keep in mind I'm kinda a newbie) however I think you could create a service that uses the $rootScope
[15:39:19] <alex88> the-erm: will it be executed on file loading? or just when it gets injected?
[15:39:19] *** ncbw has joined #angularjs
[15:39:24] *** FunnyLookinHat has joined #angularjs
[15:39:28] *** Aartsie has joined #angularjs
[15:39:52] *** danielpquinn has joined #angularjs
[15:40:32] <FuCone> alex88 you want to populate your array prior to the angular app loads up
[15:40:33] <FuCone> ?
[15:40:43] *** ericrav has joined #angularjs
[15:40:46] <alex88> yeah
[15:41:01] <alex88> I mean before running it, when the javascript files are loaded
[15:41:15] <alex88> like as I would do with a window.someval.push({}) in every file
[15:41:37] *** xavia has quit IRC
[15:41:50] *** livingstn has joined #angularjs
[15:41:59] *** bengillies has quit IRC
[15:42:20] *** KimP has joined #angularjs
[15:42:23] *** yoshokatana has joined #angularjs
[15:42:33] *** user3 has joined #angularjs
[15:42:39] <FuCone> hum...I see
[15:42:43] <FuCone> well when your app loads up
[15:42:48] <FuCone> you can still access window
[15:43:33] *** shaym_ has quit IRC
[15:43:37] *** ckboii89 has joined #angularjs
[15:43:56] <FuCone> your array should be there and you can make it available on the rootScope to the rest of the app... I never did hybrid solutions...there maybe a better way to initialise the app with some DOM data
[15:44:02] *** mmitchel_ has joined #angularjs
[15:44:20] *** danielpquinn has quit IRC
[15:44:55] *** bengillies has joined #angularjs
[15:45:12] *** ericrav has quit IRC
[15:45:26] <alex88> I wanted to make it available only within module
[15:45:30] <alex88> that's the thing
[15:45:35] *** dob__ has joined #angularjs
[15:45:35] <alex88> otherwise yeah I could have used window
[15:45:36] *** mattwynn_ has joined #angularjs
[15:45:42] *** tgkokk has joined #angularjs
[15:45:53] <the-erm> Sounds like you just need to <script> var someVar = {{ some_python_var | tojson }}</script>
[15:45:53] *** tgkokk has quit IRC
[15:46:05] <yoshokatana> morning angulots
[15:46:08] <the-erm> Keep in mind that's a flask jinja2 example.
[15:46:28] <the-erm> Probably should have added | safe on there as well ...
[15:46:29] *** bayousoft has joined #angularjs
[15:46:36] *** ericrav has joined #angularjs
[15:47:02] *** dc has quit IRC
[15:47:08] <the-erm> with php it'd be <script> var someVar = <?php echo json_encode($foo); ?>; </script>
[15:47:56] *** ckboii89 has quit IRC
[15:48:07] *** dob_ has quit IRC
[15:48:07] *** mattwynne has quit IRC
[15:48:26] *** cboden has quit IRC
[15:48:50] *** cboden has joined #angularjs
[15:48:51] <the-erm> wait I'm sorry ... I missunderstood the question. (just do the same thing within your scope.)
[15:48:52] *** imsys has quit IRC
[15:48:59] <the-erm> or service ... function etc.
[15:49:05] *** dc has joined #angularjs
[15:49:20] *** apetro_ has quit IRC
[15:49:50] *** shackleford has joined #angularjs
[15:49:56] *** apetro_ has joined #angularjs
[15:50:04] *** IanOlson has joined #angularjs
[15:50:56] *** azizur has joined #angularjs
[15:51:09] *** ericrav has quit IRC
[15:51:51] *** Reskp has quit IRC
[15:52:23] *** mfunkie has quit IRC
[15:52:25] <the-erm> There's no rule against making your script src like: <script src="/some-dynamic.php&ext=.js"></script> (so you could do it that way)
[15:52:48] *** DrMabuse has joined #angularjs
[15:53:23] *** mguillech has quit IRC
[15:53:23] *** ericrav has joined #angularjs
[15:53:26] *** amedia has quit IRC
[15:53:29] *** dcherman has joined #angularjs
[15:53:31] *** bkuberek has joined #angularjs
[15:53:48] <the-erm> Just add a <?php header("Content-type: text/javascript"); ?> at the top of the file and then $scope.foo = <?php echo json_encode($foo); ?>; where needed.
[15:54:03] *** user3 has quit IRC
[15:54:09] <the-erm> although some people might consider that bad practice.
[15:54:27] *** mguillec_ has joined #angularjs
[15:54:49] *** m0t0r has quit IRC
[15:55:04] *** retzloff has joined #angularjs
[15:55:19] *** dc has quit IRC
[15:55:50] *** jdowdle has joined #angularjs
[15:55:54] *** Reskp_ has joined #angularjs
[15:56:18] *** texinwien has quit IRC
[15:56:18] <Ownix> ngRoute gives me {"routes":{}} why wont it show any of the query strings in my URL?
[15:56:28] <Ownix> Same with $location, I get {}
[15:56:50] *** amedia has joined #angularjs
[15:56:53] *** tgkokk has joined #angularjs
[15:57:03] *** DrMabuse has quit IRC
[15:57:06] *** tgkokk has quit IRC
[15:57:06] *** burattino has joined #angularjs
[15:57:19] *** Aartsie_ has joined #angularjs
[15:57:26] *** Sarusan has joined #angularjs
[15:57:38] *** Sarusan has quit IRC
[15:57:46] *** tgkokk has joined #angularjs
[15:57:48] *** mfunkie has joined #angularjs
[15:57:51] *** digia|away is now known as digia
[15:57:52] *** Aartsie_ has quit IRC
[15:57:57] *** makeable_ is now known as makeable
[15:58:05] *** ngoyal has joined #angularjs
[15:58:18] *** Willow___ has joined #angularjs
[15:58:23] *** ccohn has quit IRC
[15:58:35] *** mgb has joined #angularjs
[15:58:52] *** mdedetrich has joined #angularjs
[15:58:58] *** ccohn has joined #angularjs
[15:59:28] <mgb> hello everyone, I was wondering if this was the right place to ask a question about angular-ui/bootstrap ?
[16:00:34] *** ericrav has quit IRC
[16:00:58] *** davedev24_ has quit IRC
[16:01:11] *** Aartsie has quit IRC
[16:01:11] *** davedev24_ has joined #angularjs
[16:01:18] *** shepheb has quit IRC
[16:01:19] *** bradmc has joined #angularjs
[16:01:20] <the-erm> mgb go for it ... best case we know :) worst case we don't :)
[16:01:26] *** Notte has quit IRC
[16:01:33] *** phuh has quit IRC
[16:01:59] *** phuh has joined #angularjs
[16:02:43] <mgb> I'm trying to figure out why the dropdown directive forces itself closed on $locationChangeSuccess
[16:02:46] *** lite_ has quit IRC
[16:02:58] *** eutheria has quit IRC
[16:03:07] *** ccohn has quit IRC
[16:03:09] *** MickeyO has joined #angularjs
[16:03:21] <mgb> I'm working on an app where the query string parameters are updated based on user input inside the dropdown
[16:03:31] <mgb> but my desired behavior is to keep the dropdown open
[16:03:43] <rawry> is it possible that browser tab has different FPS number on different monitors? :D I'm just tried opening my angular app on my main monitor, and it's visibly smoother than on my other monitor I use to keep it open with auto-refresh
[16:03:57] *** mykz_ has quit IRC
[16:04:04] <mgb> calling .preventDefault does properly stop it from closing, but prevents the query params from updating too
[16:04:08] <rawry> that's probably the most stupid question ever
[16:04:08] *** shackleford has quit IRC
[16:04:15] *** mettjus has quit IRC
[16:04:43] *** shackleford has joined #angularjs
[16:04:47] *** Tidwell has joined #angularjs
[16:05:04] *** davedev2_ has joined #angularjs
[16:05:25] *** tomzx is now known as tomzx`afk
[16:05:34] *** mettjus has joined #angularjs
[16:06:55] *** davedev2_ has quit IRC
[16:06:58] *** azizur has quit IRC
[16:06:59] *** jshultz has joined #angularjs
[16:07:08] *** davedev24_ has quit IRC
[16:07:09] *** juampy_gnomgnom is now known as juampy
[16:07:20] *** Bade has joined #angularjs
[16:07:31] *** davedev24_ has joined #angularjs
[16:08:13] *** Limix has joined #angularjs
[16:09:05] *** lucasefe has joined #angularjs
[16:09:13] *** _jpfm has joined #angularjs
[16:09:15] *** arrty has joined #angularjs
[16:09:26] <jobelenus> is anyone available to help me better understand the $q in angular? I want to use it manually (e.g. i want to to create a promise that i can resolve or reject)… but my brain hasn't wrapped around it yet.. (i have working code that i want to refactor to use promises available)
[16:09:52] <caitp> jobelenus, it's basically like jQuery's Deferred, right now
[16:10:10] <caitp> $q.defer() -> creates a deferred object with a promise, 'resolve' and 'reject' methods
[16:10:11] *** dc has joined #angularjs
[16:10:12] <intellix> so with ionic touches, I have some extra information like: velocityX and direction…. can I get this sort of stuff from ngTouch in any way?
[16:10:17] <caitp> (also notify, but ignore that)
[16:10:21] *** milkshoes__ has joined #angularjs
[16:10:46] *** xaxisx has quit IRC
[16:10:48] <jobelenus> caitp: yea.. i guess, in my mind it looks backwards for some reason...
[16:11:01] *** motionman has joined #angularjs
[16:11:02] <jobelenus> when i look at the docs.. the examples look inverted to what i want to do :/
[16:11:05] <guilbep> soo .. element.unbind is a good idea in directive scope.$on('$destroy') event ?
[16:11:11] *** dc has quit IRC
[16:11:29] *** joshbrw has joined #angularjs
[16:11:39] *** teeray has quit IRC
[16:12:18] *** squeakytoy has joined #angularjs
[16:13:16] *** simsketch has joined #angularjs
[16:13:21] *** dnxt has joined #angularjs
[16:13:33] *** someones_dad has joined #angularjs
[16:13:59] *** Hounddog has quit IRC
[16:14:13] *** stodan has quit IRC
[16:14:20] *** cacts|works has joined #angularjs
[16:14:31] <jobelenus> from all the examples i've seen the reject/resolve would be called in the directive (where i made the promise)… when i want to call reject/resolve from the controller...
[16:15:08] <jobelenus> or am i crazy?
[16:15:12] <jobelenus> (legit could be)
[16:15:51] *** Brayniverse has quit IRC
[16:15:55] *** mary5030 has joined #angularjs
[16:16:53] *** poeticninja has joined #angularjs
[16:17:45] <Zerot> jobelenus: reject and resolve in general need to be called at the place the promise is created. if you do that somewhere else, then it becomes extremely hard to track where it is resolved in the code
[16:18:01] *** mehlah has joined #angularjs
[16:18:32] <jobelenus> Zerot: yea.. thats why i feel like its inverted.. i don't know how to do what i want to do (since i can't pass references to DOM elements out of directives)
[16:18:37] *** foofoobar has quit IRC
[16:18:39] <rawry> you may put a method with your async stuff somwhere in a injectable service, do all the internal work with promises there
[16:18:58] *** cthrax has quit IRC
[16:19:02] <rawry> and just call that method wherever you want
[16:19:12] <rawry> directive or controller or whatever
[16:19:25] <jobelenus> rawry: well the issue is not with data, all that is fine.. the issue is: the directive is the only thing that can muck with the DOM… but the drective doesn't know success/fail
[16:19:32] *** jbogarin has quit IRC
[16:19:41] <jobelenus> (when i say "only thing" i mean i can't pass dom references out of the directive intot he controller)
[16:20:13] <Zerot> jobelenus: reading at those comments in that gist, it seems you are confused about resolve and the handlers
[16:20:18] <jobelenus> ok
[16:20:28] <Zerot> the handlers that you set with .then are called when the promise resolves
[16:20:40] *** bsmithgall has joined #angularjs
[16:20:44] *** jbogarin has joined #angularjs
[16:21:01] <Zerot> so your timeout function should be in the success handler of the promise
[16:21:02] *** Grokling__ has quit IRC
[16:21:08] <DevAntoine> I have a directive working almost fine except when there's another directive. For instance, to avoid big html files, we use directives to include smaller templates inside the main one. So, when I'm adding my directive into a template's directive, it's not working and I don't know why. I guess it's related to the scope once again?
[16:21:23] <Zerot> the actual resolve should be done where you create the promise/async operation
[16:21:42] *** dcherman2 has joined #angularjs
[16:22:05] *** TorchDra_ has joined #angularjs
[16:22:08] *** dob_ has joined #angularjs
[16:22:13] *** squeakytoy2 has joined #angularjs
[16:22:14] <rawry> on the side note, I don't see many issues in that gist. there's nothing wrong with using setTimeout (may replace with $timeout though) instead of putting promises there. Especially if you don't understand the general purpose of the Promise
[16:22:28] *** Tidwell has quit IRC
[16:22:42] *** shacklef_ has joined #angularjs
[16:22:48] *** jobelenus_ has joined #angularjs
[16:22:51] *** bradmc_ has joined #angularjs
[16:23:06] *** jkremser has quit IRC
[16:23:07] *** jkremser_ has quit IRC
[16:23:09] *** KimP_ has joined #angularjs
[16:23:25] *** KimP has quit IRC
[16:23:36] *** leftblank_ has joined #angularjs
[16:23:39] *** amedia_ has joined #angularjs
[16:23:49] *** fwielstra has quit IRC
[16:23:54] <Zerot> jobelenus: I already did
[16:23:56] *** jkremser has joined #angularjs
[16:23:56] *** jkremser has joined #angularjs
[16:24:02] *** Siecje2 has joined #angularjs
[16:24:12] *** cctom_ has quit IRC
[16:24:13] *** dc has joined #angularjs
[16:24:23] *** wiherek_ has quit IRC
[16:24:55] *** m0t0r has joined #angularjs
[16:25:37] <Zerot> jobelenus: also, this sounds like the wrong way of doing it. the promise should be starting in the update function. Which at that point will be resolved or rejected by the update function
[16:25:46] <Zerot> at which point you don't need the watch anymore
[16:25:54] *** bkuberek has quit IRC
[16:26:03] <Zerot> but you can just add that code to the update promise handlers
[16:26:10] *** Cavallari1 has joined #angularjs
[16:26:15] <jobelenus_> if i dont make the promise inside the directive i cannot manipulate the DOM elements i want to.. b/c i don't have references to them
[16:26:34] *** darrin_ has joined #angularjs
[16:26:37] *** jstroem has quit IRC
[16:26:38] *** Reskp has joined #angularjs
[16:26:40] *** mennea_ has joined #angularjs
[16:26:53] *** someon___ has joined #angularjs
[16:27:13] <DevAntoine> rofl, if I set transclude to true my element where my directive is set just "disappear"
[16:27:15] *** jstroem has joined #angularjs
[16:27:34] *** kil0byte has joined #angularjs
[16:28:41] *** bhaveshletter has quit IRC
[16:28:53] *** jstroem has quit IRC
[16:29:25] *** jstroem has joined #angularjs
[16:29:29] <Zerot> jobelenus: let me rewrite it a bit to show you of a way I would possibly solve it
[16:29:30] *** ccohn has joined #angularjs
[16:29:47] *** sdouglas has joined #angularjs
[16:29:51] *** lelu_ has quit IRC
[16:29:52] <prikk> DevAntoine did you set the ng-transclude directive in the markup of your directive's template?
[16:30:00] *** retzloff has quit IRC
[16:30:03] <prikk> [..as well]
[16:30:05] *** bkuberek has joined #angularjs
[16:30:57] *** asdofindia has quit IRC
[16:31:16] *** someones_dad has quit IRC
[16:31:16] *** squeakytoy has quit IRC
[16:31:17] *** motionman has quit IRC
[16:31:17] *** shackleford has quit IRC
[16:31:17] *** bradmc has quit IRC
[16:31:18] *** amedia has quit IRC
[16:31:18] *** dcherman has quit IRC
[16:31:18] *** dob__ has quit IRC
[16:31:19] *** Siecje1 has quit IRC
[16:31:19] *** leftblank has quit IRC
[16:31:19] *** TorchDragon has quit IRC
[16:31:20] *** darrin has quit IRC
[16:31:23] *** jobelenus has quit IRC
[16:31:24] *** mennea has quit IRC
[16:31:24] *** Cavallari has quit IRC
[16:31:25] *** cofeineSunshine has quit IRC
[16:31:25] *** jobelenus_ is now known as jobelenus
[16:31:28] *** amedia_ is now known as amedia
[16:31:28] *** leftblank_ is now known as leftblank
[16:31:38] *** dnxt has quit IRC
[16:31:41] *** bphogan_afk is now known as bphogan
[16:31:47] *** Reskp has quit IRC
[16:32:05] *** dnxt has joined #angularjs
[16:32:48] <Siecje2> I have a route that you need to log in. After I log in if I go to that route again the request never makes it to the server. I have to make sure the correct route is in the url and refresh without caching in order to get to the route.
[16:33:00] *** mehlah has quit IRC
[16:33:15] *** TimmyTones has joined #angularjs
[16:33:18] *** Brayniverse has joined #angularjs
[16:33:46] *** FuCone has quit IRC
[16:33:56] *** calumet_ has joined #angularjs
[16:33:57] *** jstroem has quit IRC
[16:34:03] *** ccohn has quit IRC
[16:34:04] *** leftblank has quit IRC
[16:34:05] *** S234567a has joined #angularjs
[16:34:33] *** calumet has quit IRC
[16:34:33] *** calumet_ is now known as calumet
[16:35:14] *** teeray has joined #angularjs
[16:35:14] *** the-erm has quit IRC
[16:35:34] *** lsiv568 has quit IRC
[16:35:36] *** andrew9183 has joined #angularjs
[16:35:46] *** cacts|works has quit IRC
[16:35:48] *** milkshoes__ has quit IRC
[16:35:52] *** mgb has quit IRC
[16:36:16] *** leftblank has joined #angularjs
[16:36:31] *** the-erm has joined #angularjs
[16:36:34] *** milkshoes__ has joined #angularjs
[16:36:35] *** mfunkie has quit IRC
[16:36:40] *** m0t0r has quit IRC
[16:36:53] *** dob_ has quit IRC
[16:37:09] *** S234567a has left #angularjs
[16:37:12] *** mguillech has joined #angularjs
[16:37:13] *** ccohn has joined #angularjs
[16:37:19] *** dob_ has joined #angularjs
[16:38:46] *** jbogarin has left #angularjs
[16:39:11] *** Willow___ has quit IRC
[16:39:21] *** Tidwell has joined #angularjs
[16:39:48] *** Willow___ has joined #angularjs
[16:40:04] <jobelenus> Zerot: why are you passing null as the resolve argument to the update() promise?
[16:40:14] <jobelenus> i like keeping all that in the directive though.. much cleaner
[16:40:25] *** sdouglas has quit IRC
[16:40:38] *** danielpquinn has joined #angularjs
[16:40:49] <Zerot> jobelenus: that null there is so there is because I only needed a reject handler there
[16:40:51] *** mguillec_ has quit IRC
[16:40:52] *** feelfine has quit IRC
[16:40:54] *** milkshoes__ has quit IRC
[16:40:59] *** sdouglas has joined #angularjs
[16:41:04] <jobelenus> then how does the promise made in the directive ever get resolved? (e.g. show "Success")
[16:41:10] *** milkshoes__ has joined #angularjs
[16:41:12] *** jbogarin has joined #angularjs
[16:41:34] <Zerot> jobelenus: they chain? it will go to the next one in the chain if it is missing
[16:41:48] <Zerot> and the promise is not made in the directive
[16:41:48] *** rho has joined #angularjs
[16:41:48] *** rho has joined #angularjs
[16:41:53] *** milkshoes__ has quit IRC
[16:41:55] <Zerot> the directive has no async operation
[16:42:00] <jobelenus> oo the return
[16:42:04] <jobelenus> i didnt see the return
[16:42:08] <Zerot> your update in the controller does
[16:42:08] <DevAntoine> prikk: my directive doesn't have any template
[16:42:14] *** cofeineSunshine has joined #angularjs
[16:42:14] *** cacts|works has joined #angularjs
[16:42:17] <jobelenus> i will try this approach, thanks Zerot
[16:42:23] *** Fire-Dragon-DoL has joined #angularjs
[16:42:34] <prikk> DevAntoine: oh ok, isn't that what you want it to do, then?
[16:42:55] <DevAntoine> prikk: my directive manipulates some dom nodes by adding classes and copying them
[16:43:19] <DevAntoine> the thing is, if there is a ng-if or some other directive on the element where I use my directive, my directive doesn't work anymore
[16:43:21] *** gnrlbzik has quit IRC
[16:43:49] <prikk> alright, you're doing the dom manipulation in the link method of the directive or something?
[16:44:01] *** Willow____ has joined #angularjs
[16:44:23] *** Willow___ has quit IRC
[16:44:23] *** ckboii89 has joined #angularjs
[16:44:37] *** amedia has quit IRC
[16:44:42] *** poeticninja has quit IRC
[16:44:49] *** Click66 has quit IRC
[16:45:12] <shacklef_> in a SPA, how is a link persisted? For example, if I have page that runs a process, and I want to share the link to that page so someone else can see the progress of the process?
[16:45:22] *** mehlah has joined #angularjs
[16:45:35] *** danielpquinn has quit IRC
[16:45:39] *** feelfine has joined #angularjs
[16:45:41] *** artisangoose has joined #angularjs
[16:45:58] *** cacts has quit IRC
[16:46:04] *** bbnewey has joined #angularjs
[16:46:09] *** teeray has quit IRC
[16:46:15] <DevAntoine> prikk: dom manipulations inside the compile function which returns another function to be used as the link function
[16:46:16] <shacklef_> Currently, when I share the link, I get a 500 error
[16:46:38] <prikk> DevAntoine: ok, soz can't help ya :/
[16:47:10] *** sdouglas has quit IRC
[16:47:22] <bbnewey> Anyone know about using <form> or <ng-form>? <form> works in IE8 but not chrome and <ng-form> does the exact opposite...
[16:47:49] *** Nneon has quit IRC
[16:48:13] *** xaxisx has joined #angularjs
[16:48:20] *** ckboii89 has quit IRC
[16:48:39] *** ericrav has joined #angularjs
[16:48:50] *** jdcasey has joined #angularjs
[16:49:09] *** teeray has joined #angularjs
[16:49:23] *** dob_ has quit IRC
[16:49:29] *** dob_ has joined #angularjs
[16:49:51] *** olveraricardo72 has joined #angularjs
[16:50:08] *** bbnewey has quit IRC
[16:50:19] *** DrMabuse has joined #angularjs
[16:50:33] *** scmx has quit IRC
[16:50:59] *** juanlas has joined #angularjs
[16:51:08] *** tomzx`afk is now known as tomzx
[16:51:17] *** mven_ has quit IRC
[16:51:23] <ansu> i'm having multiple tabs (ui.bootstrap.tabs) and I assign each it's own controller. any idea how I could defer instantiation of the controller until the tab is active?
[16:51:27] *** MickeyO has quit IRC
[16:51:41] *** davi has joined #angularjs
[16:51:50] *** DrMabuse has quit IRC
[16:51:52] *** someon___ is now known as encrypt3d_fractl
[16:52:28] <DevAntoine> it seems that I just can't use multiple directives on the same element
[16:52:32] *** mfunkie has joined #angularjs
[16:53:04] *** ineedarobot has quit IRC
[16:53:08] *** DuelShark has joined #angularjs
[16:53:24] *** hannesvd_ has joined #angularjs
[16:53:35] *** davedev2_ has joined #angularjs
[16:53:37] *** jobelenus_ has joined #angularjs
[16:53:45] *** slainer6_ has joined #angularjs
[16:53:50] *** mac_ifie_ has joined #angularjs
[16:53:53] *** mmitche__ has joined #angularjs
[16:53:54] *** makeable_ has joined #angularjs
[16:54:08] *** gordroid_ has joined #angularjs
[16:54:14] *** Obversity_ has joined #angularjs
[16:54:14] *** ccohn_ has joined #angularjs
[16:54:18] *** TorchDragon has joined #angularjs
[16:54:30] *** ncbw has quit IRC
[16:54:34] *** bosphoru_ has joined #angularjs
[16:54:34] *** no1uknow_ has joined #angularjs
[16:54:40] *** iksik has quit IRC
[16:54:46] *** ChrisOei_ has joined #angularjs
[16:54:51] *** tarkus_ has joined #angularjs
[16:55:01] *** t1mmen has joined #angularjs
[16:55:02] *** bosco has quit IRC
[16:55:07] *** UncleHo has joined #angularjs
[16:55:08] *** leftblank_ has joined #angularjs
[16:55:20] *** makeable has quit IRC
[16:55:24] *** bweston has quit IRC
[16:55:27] *** akrikos_ has joined #angularjs
[16:55:30] *** bradmc__ has joined #angularjs
[16:55:30] *** Evanion_ has joined #angularjs
[16:55:30] *** francisl_ has joined #angularjs
[16:55:35] *** thedodd has joined #angularjs
[16:55:45] *** zemanel_ has joined #angularjs
[16:56:04] *** amedia has joined #angularjs
[16:56:04] *** benhx_ has joined #angularjs
[16:56:05] *** Joulse_ has joined #angularjs
[16:56:15] *** nodeleaf_ has joined #angularjs
[16:56:43] *** makeable_ is now known as makeable
[16:56:58] *** rbw has quit IRC
[16:57:16] *** backinnam has joined #angularjs
[16:57:16] *** ineedarobot has joined #angularjs
[16:57:27] *** Scymex has joined #angularjs
[16:57:48] *** elxa_ has joined #angularjs
[16:57:56] *** Cavallari has joined #angularjs
[16:58:03] *** GeertJohan_ has joined #angularjs
[16:58:04] *** tekky has joined #angularjs
[16:58:05] *** encrypt3_ has joined #angularjs
[16:58:09] *** imehesz1 has joined #angularjs
[16:58:16] *** InezK_away is now known as InezK
[16:58:19] *** heathkit_ has joined #angularjs
[16:58:23] *** TimmyTones has quit IRC
[16:58:24] *** sneakert1ck has joined #angularjs
[16:58:27] *** icfantv has joined #angularjs
[16:58:29] *** rburns_ has joined #angularjs
[16:58:32] *** jaawerth has joined #angularjs
[16:58:35] *** lite_ has joined #angularjs
[16:58:38] *** TimmyTones has joined #angularjs
[16:58:52] *** Tidwell has quit IRC
[16:58:53] *** kvnm has joined #angularjs
[16:59:02] *** iksik has joined #angularjs
[16:59:48] *** kvnm has quit IRC
[16:59:54] *** ppppaul has joined #angularjs
[17:00:02] *** gauravsaini03 has quit IRC
[17:00:03] *** jstroem has joined #angularjs
[17:00:15] *** kvnm has joined #angularjs
[17:00:15] *** lite_ has quit IRC
[17:00:44] *** krawchyk has joined #angularjs
[17:00:50] *** Tidwell has joined #angularjs
[17:00:59] *** lite_ has joined #angularjs
[17:01:09] *** dcadenas- has joined #angularjs
[17:01:15] *** davi_ has joined #angularjs
[17:01:31] *** shinnya_ has joined #angularjs
[17:01:34] *** phuh has quit IRC
[17:01:34] *** jamto11 has joined #angularjs
[17:01:42] *** stirlingw has joined #angularjs
[17:01:42] *** plysiu has joined #angularjs
[17:01:57] *** phuh has joined #angularjs
[17:01:58] *** mfunkie has quit IRC
[17:02:11] <DevAntoine> I don't understand why my directive works when there's no other directives on the element. A simple ngIf makes it fail
[17:02:33] <jamto11> hi there, does anyone know for gulp serve (how do i get it to output a message in terminal whenever a file it is watching is changed)?
[17:02:34] *** feelfine has quit IRC
[17:02:38] *** recidive has joined #angularjs
[17:02:39] *** mehlah has quit IRC
[17:02:41] *** leftblank has quit IRC
[17:02:41] *** encrypt3d_fractl has quit IRC
[17:02:41] *** Cavallari1 has quit IRC
[17:02:42] *** jobelenus has quit IRC
[17:02:43] *** cboden has quit IRC
[17:02:46] *** FunnyLookinHat has quit IRC
[17:02:46] *** no1uknow has quit IRC
[17:02:46] *** imehesz has quit IRC
[17:02:47] *** shinnya has quit IRC
[17:02:48] *** akrikos has quit IRC
[17:02:48] *** Obversity has quit IRC
[17:02:51] *** DuelShark_ has quit IRC
[17:02:51] *** juampy has quit IRC
[17:02:52] *** joshontheweb has quit IRC
[17:02:52] *** bosphorus has quit IRC
[17:02:52] *** arek_at_work has quit IRC
[17:02:53] *** Gue______ has quit IRC
[17:02:53] *** davek has quit IRC
[17:02:54] *** Foxandxss has quit IRC
[17:02:55] *** discipolo has quit IRC
[17:02:55] *** tangorri has quit IRC
[17:02:56] *** delerium_ has quit IRC
[17:02:56] *** hannesvdvreken has quit IRC
[17:02:57] *** ChrisOei has quit IRC
[17:02:57] *** lukegb has quit IRC
[17:02:58] *** jaawerth_ has quit IRC
[17:02:58] *** GeertJohan has quit IRC
[17:02:58] *** uxtx_ has quit IRC
[17:02:58] *** 18VAAD345 has quit IRC
[17:03:01] *** heathkit has quit IRC
[17:03:01] *** jobelenus_ is now known as jobelenus
[17:03:02] *** akrikos_ is now known as akrikos
[17:03:02] *** leftblank_ is now known as leftblank
[17:03:03] *** davi has quit IRC
[17:03:03] *** ericrav has quit IRC
[17:03:03] *** ccohn has quit IRC
[17:03:04] *** bradmc_ has quit IRC
[17:03:04] *** TorchDra_ has quit IRC
[17:03:05] *** davedev24_ has quit IRC
[17:03:05] *** burattino has quit IRC
[17:03:06] *** mmitchel_ has quit IRC
[17:03:06] *** francisl has quit IRC
[17:03:06] *** mac_ified has quit IRC
[17:03:07] *** rburns has quit IRC
[17:03:08] *** gordroid has quit IRC
[17:03:08] *** Evanion has quit IRC
[17:03:08] *** Cydmax has quit IRC
[17:03:08] *** nodeleaf has quit IRC
[17:03:09] *** slainer68 has quit IRC
[17:03:10] *** sneakertack has quit IRC
[17:03:11] *** dazs has quit IRC
[17:03:11] *** tarkus has quit IRC
[17:03:12] *** styles_ has quit IRC
[17:03:13] *** vader has quit IRC
[17:03:13] *** zemanel has quit IRC
[17:03:14] *** Joulse has quit IRC
[17:03:14] *** benhx has quit IRC
[17:03:15] *** GeertV_ has quit IRC
[17:03:15] *** titanomachy has quit IRC
[17:03:16] *** Sean-Der has quit IRC
[17:03:16] *** elxa has quit IRC
[17:03:17] *** dcadenas has quit IRC
[17:03:18] *** G1eb has quit IRC
[17:03:19] *** Joulse_ is now known as Joulse
[17:03:19] *** UncleHo is now known as Cydmax
[17:03:21] *** lukegb_ has joined #angularjs
[17:03:21] *** dc has quit IRC
[17:03:21] *** delerium_ has joined #angularjs
[17:03:22] *** swirlycheetah has quit IRC
[17:03:22] *** lukegb_ is now known as lukegb
[17:03:22] *** marmalade___ has quit IRC
[17:03:46] *** francisl_ is now known as francisl
[17:03:46] *** Evanion_ is now known as Evanion
[17:03:47] *** zemanel_ is now known as zemanel
[17:04:07] *** Foxandxss has joined #angularjs
[17:04:22] *** jstroem has quit IRC
[17:04:22] *** uxtx has joined #angularjs
[17:04:23] *** demands has joined #angularjs
[17:04:25] *** JosephSilber has joined #angularjs
[17:04:30] *** feelfine has joined #angularjs
[17:05:12] *** sk87 has quit IRC
[17:05:15] *** kvnm has quit IRC
[17:05:43] *** Sean-Der has joined #angularjs
[17:05:49] *** jordandotdev has joined #angularjs
[17:06:17] *** kvnm has joined #angularjs
[17:06:17] *** IanOlson has quit IRC
[17:06:21] *** titanomachy has joined #angularjs
[17:06:28] *** styles_ has joined #angularjs
[17:06:33] *** chrislerum has joined #angularjs
[17:06:37] <intellix> from a directive I want to use the controller from another on the page…. can I reference it, if it’s not a parent?
[17:07:03] *** discipolo has joined #angularjs
[17:07:22] *** cboden has joined #angularjs
[17:07:23] *** jb076 has joined #angularjs
[17:07:24] *** juampy has joined #angularjs
[17:07:42] *** 18VAAECCM has joined #angularjs
[17:07:42] *** davek has joined #angularjs
[17:07:47] *** Notte has joined #angularjs
[17:07:51] *** mac_ifie_ has quit IRC
[17:08:01] *** blueadept has joined #angularjs
[17:08:03] *** mennea_ has quit IRC
[17:08:04] *** InezK is now known as InezK_away
[17:08:04] <jb076> hey all. is there a “right” way to wrap another directive? basically, I need ngClick to do a check before it fires
[17:08:09] *** dazs has joined #angularjs
[17:08:28] <DevAntoine> jb076: then do the check in the function called by the ngclick
[17:08:41] *** FunnyLookinHat has joined #angularjs
[17:08:49] <jb076> yeah, that’s the current solution. Feels really messy. it’s in a lot of places.
[17:09:19] *** xavia has joined #angularjs
[17:09:32] <DevAntoine> jb076: what is messy is to have the logic in the view and not in the controller
[17:09:40] *** G1eb has joined #angularjs
[17:09:40] *** G1eb has joined #angularjs
[17:10:00] *** tangorri has joined #angularjs
[17:10:03] *** cthrax has joined #angularjs
[17:10:53] *** texinwien has joined #angularjs
[17:12:00] *** zeroquake has joined #angularjs
[17:12:18] *** S-Work has quit IRC
[17:12:50] *** Successful has quit IRC
[17:12:52] *** c0bra has joined #angularjs
[17:12:55] <jb076> DevAntoine: I get that. But let’s say I wanted to do it for reasons people didn’t have philisophical issues with: is there a “right” way to take an extant directive, wrap it with some additional logic and have me a custom directive?
[17:12:58] *** conan_the_destro has joined #angularjs
[17:13:14] <zeroquake> How to use directives inside tooltip-html-unsafe???
[17:13:32] *** ncbw has joined #angularjs
[17:13:38] <c0bra> Has anyone had a strange problem with angular 1.2.20 and ng-show inside a ui-bootstrap modal? My elements with ng-show="false" aren't being hidden until ~4 seconds after the modal opens. This worked fine in 1.2.16
[17:13:38] *** Limix has quit IRC
[17:13:54] *** jdowdle_ has joined #angularjs
[17:13:56] *** jdowdle_ is now known as Guest58326
[17:14:23] *** gnrlbzik has joined #angularjs
[17:15:03] *** Notte has quit IRC
[17:15:16] *** crocket has joined #angularjs
[17:15:18] <crocket> angularjs doesn't seem to work on casperjs.
[17:16:08] *** gnrlbzik has quit IRC
[17:16:19] *** gnrlbzik has joined #angularjs
[17:17:02] *** sonofdirt has joined #angularjs
[17:17:25] *** bradmc__ has quit IRC
[17:17:48] *** IanOlson has joined #angularjs
[17:17:48] *** azizur has joined #angularjs
[17:18:12] *** lsiv568 has joined #angularjs
[17:18:19] *** jbogarin has quit IRC
[17:18:28] *** peey has quit IRC
[17:18:38] *** dawhite has joined #angularjs
[17:18:43] *** gnrlbzik_ has joined #angularjs
[17:19:24] *** nodeleaf_ has quit IRC
[17:19:30] *** clamstar has quit IRC
[17:19:35] *** gnrlbzik has quit IRC
[17:19:35] *** shepheb has joined #angularjs
[17:19:45] *** lsiv568 has quit IRC
[17:20:34] *** richiebkr has joined #angularjs
[17:20:55] *** richiebkr has joined #angularjs
[17:21:49] *** delerium_ has quit IRC
[17:22:10] *** upsell5 has joined #angularjs
[17:22:57] *** phuh has quit IRC
[17:23:04] *** clamstar has joined #angularjs
[17:23:36] <DevAntoine> jb076: I don't know. I'm struggling with directives too right now
[17:24:14] *** juampy is now known as juampy_backlater
[17:24:30] *** Limix has joined #angularjs
[17:24:43] *** naneau has joined #angularjs
[17:24:50] *** blueadept has quit IRC
[17:25:34] *** CodeFriar has joined #angularjs
[17:26:02] *** encrypt3_ is now known as sickOfAmeteurs
[17:26:04] *** mattupstate has joined #angularjs
[17:26:21] *** Limix has quit IRC
[17:26:36] *** sickOfAmeteurs is now known as thomsBrother
[17:26:37] *** foobarbazbat has joined #angularjs
[17:27:28] *** Reskp has joined #angularjs
[17:27:33] *** poeticninja has joined #angularjs
[17:27:33] <mattupstate> or something similar
[17:27:40] *** chrislerum has quit IRC
[17:27:59] *** mchapman has joined #angularjs
[17:28:01] *** thomsBrother is now known as ugh
[17:28:01] *** kas84 has joined #angularjs
[17:28:11] *** mdedetrich has quit IRC
[17:28:14] *** hugorodrigues has joined #angularjs
[17:28:31] *** ugh is now known as Guest8552
[17:28:44] *** tmrudick has joined #angularjs
[17:28:45] *** Tidwell has quit IRC
[17:28:47] *** IanOlson has quit IRC
[17:28:49] *** Guest8552 is now known as encrypt3d_fracti
[17:29:45] *** AndyFTP has quit IRC
[17:29:49] *** dani0010 has joined #angularjs
[17:30:00] <simsketch> i've seen some toggles in my day
[17:30:04] <simsketch> that's a nice library
[17:30:04] *** jstroem has joined #angularjs
[17:30:14] *** danielpquinn has joined #angularjs
[17:30:22] *** Nizumzen has joined #angularjs
[17:30:41] *** c0bra has quit IRC
[17:30:44] *** tekky has quit IRC
[17:30:48] *** Jdubs has joined #angularjs
[17:30:52] *** jdowdle has quit IRC
[17:30:52] *** Guest58326 is now known as jdowdle
[17:31:11] *** chrislerum has joined #angularjs
[17:31:20] <mattupstate> oh damn, looks like its bootstrap 2
[17:31:21] <mattupstate> nevermind
[17:31:22] *** jdowdle is now known as Guest43540
[17:31:41] *** orion1111 has quit IRC
[17:31:49] *** tekky has joined #angularjs
[17:31:56] <dani0010> I'm new to Angular, and I'm trying to figure out whether I can use older js bits I have in conjunction with Angular. For example, I have a zoom and pan control I use on img tags that would take ages to rewrite in Angular.
[17:32:13] <crocket> Why do angularjs pages appear white on phantomjs?
[17:32:14] *** Reskp has quit IRC
[17:32:15] *** Obversity_ has quit IRC
[17:32:33] *** hugorodrigues has quit IRC
[17:32:45] *** Obversity has joined #angularjs
[17:33:01] *** Aswebb has quit IRC
[17:33:10] *** bphogan is now known as bphogan_afk
[17:33:12] *** milkshoes has joined #angularjs
[17:33:49] *** naneau has quit IRC
[17:34:17] *** waylon999 has joined #angularjs
[17:34:33] *** mathmatiks has joined #angularjs
[17:34:33] *** jstroem has quit IRC
[17:34:38] *** jbogarin has joined #angularjs
[17:34:50] *** squeakytoy2 has quit IRC
[17:34:51] <caitp> appear white?
[17:35:11] <caitp> i'm curious how you're getting a headless browser to render anything
[17:35:20] *** mathmatiks has quit IRC
[17:35:22] *** chrislerum has quit IRC
[17:35:56] <oniijin> skeels
[17:36:04] *** HelperW has quit IRC
[17:36:31] <oniijin> ok 1h23m to workout before destiny beta starts
[17:36:52] *** Limix has joined #angularjs
[17:36:59] *** mivv has joined #angularjs
[17:37:12] *** chrislerum has joined #angularjs
[17:37:12] *** bengillies has quit IRC
[17:37:31] *** dani0010 has quit IRC
[17:38:19] *** TweedleDee has quit IRC
[17:38:32] *** Limix has quit IRC
[17:38:33] *** chrislerum has quit IRC
[17:38:45] *** hannesvd_ has quit IRC
[17:38:54] <mivv> Anyone familiar with ui-router and could help me out? I'm trying to capture everything after a static string in my url param. It's working well except when there is an added ? in the path. Here is the current setting url: "/settings/{path:.*}"
[17:39:07] *** Jdubs_ has joined #angularjs
[17:39:16] *** Jdubs has quit IRC
[17:39:30] *** blueadept has joined #angularjs
[17:39:32] *** waylon999 has quit IRC
[17:39:36] *** mtsr has quit IRC
[17:39:59] *** cthrax has quit IRC
[17:40:10] *** jacuqesdancona__ has quit IRC
[17:40:29] *** cthrax has joined #angularjs
[17:40:41] *** defaultdict has quit IRC
[17:40:42] *** Limix has joined #angularjs
[17:40:45] *** jacuqesdancona__ has joined #angularjs
[17:42:03] *** davi_ has quit IRC
[17:42:11] *** lsiv568 has joined #angularjs
[17:42:32] *** janp has joined #angularjs
[17:42:47] *** jb076 has quit IRC
[17:42:57] *** vader has joined #angularjs
[17:43:21] <janp> I have a question concerning ui-bootstrap: When using modal why do you have to pass functions as the values of the resolve object properties?
[17:43:37] *** cuong has quit IRC
[17:44:24] <janp> I mean why does it have to be this: resolve: {x: function() {return $scope.x}} instead of this resolve: {x : $scope.x}
[17:44:44] *** kareypowell has joined #angularjs
[17:44:47] *** jacuqesdancona__ has quit IRC
[17:45:08] *** ckboii89 has joined #angularjs
[17:45:27] *** JimTheDev has joined #angularjs
[17:46:25] *** no1uknow_ has quit IRC
[17:46:33] *** jkremser has quit IRC
[17:46:41] *** no1uknow has joined #angularjs
[17:47:10] *** subnl2 has joined #angularjs
[17:47:28] *** mrogne is now known as mrogne_afk
[17:47:33] *** mrogne_afk has joined #angularjs
[17:48:18] *** mehlah has joined #angularjs
[17:48:26] *** blueadept has quit IRC
[17:48:51] *** milka has quit IRC
[17:49:03] *** ckboii89 has quit IRC
[17:49:17] *** janp has quit IRC
[17:49:20] *** hychen has joined #angularjs
[17:50:13] <DevAntoine> I don't understand why my directive works when there's no other directives on the element. A simple ngIf makes it fail
[17:50:34] *** raul782 has joined #angularjs
[17:50:40] *** makeable has quit IRC
[17:50:47] *** crooksey has quit IRC
[17:50:50] *** disorder20 has joined #angularjs
[17:51:04] *** umib0zu has joined #angularjs
[17:51:05] *** apetro_ has quit IRC
[17:51:41] <Ownix> How do I set a variable inside document and not have angular see it?
[17:51:41] *** user3 has joined #angularjs
[17:51:44] *** svycka has quit IRC
[17:51:55] *** krawchyk has quit IRC
[17:52:04] <Ownix> For example, I just want to pass the updated object, I dont want angular to know I changed it
[17:52:12] *** xaxisx has left #angularjs
[17:52:47] *** DrMabuse has joined #angularjs
[17:53:09] *** sirkitree is now known as sirkitree|afk
[17:53:45] *** disorder20 is now known as kkuno
[17:53:57] *** shorne has quit IRC
[17:53:59] *** shinnya_ has quit IRC
[17:54:09] *** DrMabuse has quit IRC
[17:54:16] *** IanOlson has joined #angularjs
[17:54:26] <mmitche__> i need to parse a query string into an object, and then also convert an object back into a query string. I've used the URI library for this, but it uses jQuery as a dependency - anyone know of a good/lightweight uri lib for this sort of thing?
[17:54:35] *** Guest43540 has quit IRC
[17:54:41] *** DrMabuse has joined #angularjs
[17:55:13] <Ownix> I had to use angular.copy() to copy the object, make my changes to the copied object, then on the success callback of my http function I actual update the object angular is watching
[17:55:23] *** mpw has quit IRC
[17:55:28] *** jdowdle_ has joined #angularjs
[17:55:34] *** AlSquire has joined #angularjs
[17:55:36] *** jdowdle_ is now known as Guest28083
[17:56:19] *** davedev2_ has quit IRC
[17:56:33] *** mettjus has quit IRC
[17:56:53] *** davedev24_ has joined #angularjs
[17:56:59] *** InezK_away is now known as InezK
[17:58:05] *** ericrav has joined #angularjs
[17:58:17] *** bkuberek_ has joined #angularjs
[17:58:20] *** alex88 has quit IRC
[17:59:23] *** DrMabuse has quit IRC
[17:59:33] <xastey> anyone using intellij/webstorm here.. trying to figure out how I can have it pickup my documentations for some of my objects
[17:59:46] *** InezK is now known as InezK_away
[17:59:50] *** bphogan_afk is now known as bphogan
[17:59:56] *** icfantv1 has joined #angularjs
[18:00:02] *** spencercarnage has joined #angularjs
[18:01:04] *** crocket has left #angularjs
[18:01:08] *** bkuberek has quit IRC
[18:01:11] *** tsalb has joined #angularjs
[18:01:13] *** gr1nd has joined #angularjs
[18:01:14] *** waylon999 has joined #angularjs
[18:01:39] *** davedev24_ has quit IRC
[18:01:41] *** mrogne_afk is now known as mrogne
[18:01:49] *** combat has quit IRC
[18:01:51] *** icfantv has quit IRC
[18:02:09] *** calumet has quit IRC
[18:02:13] *** davedev24_ has joined #angularjs
[18:02:33] *** Aswebb has joined #angularjs
[18:02:33] *** ericrav has quit IRC
[18:02:50] *** subnl2 has quit IRC
[18:03:04] *** toastynerd has joined #angularjs
[18:03:35] *** wafflejock_ has joined #angularjs
[18:04:28] *** the_fog has quit IRC
[18:04:30] *** lsiv568 has quit IRC
[18:04:58] <mac_nibblet> Heya guys, i have a really strange issue
[18:05:06] *** Willow____ has quit IRC
[18:05:11] *** HypnotiX has quit IRC
[18:05:11] <mac_nibblet> $http is escaping valid utf-8 characters
[18:05:14] *** snapwich has joined #angularjs
[18:05:20] <mac_nibblet> Causing the backend application to fail to decode them
[18:05:23] *** bengillies has joined #angularjs
[18:05:28] <mac_nibblet> Anyone have any experience with that ?
[18:05:47] *** Jdubs_ has quit IRC
[18:05:59] *** waylon999 has quit IRC
[18:06:28] *** simsketch_ has joined #angularjs
[18:06:37] *** Joulse has quit IRC
[18:06:49] *** Guest28083 has quit IRC
[18:06:49] *** waylon999 has joined #angularjs
[18:06:59] *** umib0zu has quit IRC
[18:07:40] *** garmur has quit IRC
[18:07:49] *** makeable_ has joined #angularjs
[18:07:57] *** chrislerum has joined #angularjs
[18:08:12] *** asdofindia has joined #angularjs
[18:08:23] *** cthrax has quit IRC
[18:08:59] *** quartzmo has joined #angularjs
[18:09:01] *** dylukes has joined #angularjs
[18:09:27] *** Willow has joined #angularjs
[18:09:34] *** rawry has quit IRC
[18:09:47] *** simsketch has quit IRC
[18:09:56] *** hugofirth has quit IRC
[18:10:14] *** sdouglas has joined #angularjs
[18:10:18] *** kil0byte has quit IRC
[18:11:02] *** waylon999 has quit IRC
[18:11:37] *** DevAntoine has quit IRC
[18:11:46] *** fedenunez has quit IRC
[18:12:26] *** mpaarating has quit IRC
[18:12:32] *** fedenunez has joined #angularjs
[18:14:10] *** CodeFriar has quit IRC
[18:14:10] *** MaxV has quit IRC
[18:14:19] *** jsoverson has joined #angularjs
[18:14:41] *** ReactiveIO has quit IRC
[18:14:58] *** sdouglas has quit IRC
[18:15:07] *** patrickarlt has joined #angularjs
[18:15:16] *** encrypt3d_fracti has quit IRC
[18:15:17] *** ReactiveIO has joined #angularjs
[18:15:23] *** CodeFriar has joined #angularjs
[18:16:09] *** klaut has quit IRC
[18:16:47] *** Scymex has quit IRC
[18:17:11] *** tangorri has quit IRC
[18:17:26] *** fbenoit has quit IRC
[18:17:59] *** homework1 has joined #angularjs
[18:18:02] *** mattwynn_ has quit IRC
[18:18:31] *** stevvooe has joined #angularjs
[18:18:55] *** sdouglas has joined #angularjs
[18:19:22] *** ReactiveIO has quit IRC
[18:19:30] *** encrypt3d_fracti has joined #angularjs
[18:19:54] *** wiherek has joined #angularjs
[18:19:58] *** waylon999 has joined #angularjs
[18:20:10] *** chrislerum has quit IRC
[18:20:14] *** heidi has joined #angularjs
[18:20:22] *** Gambit- has joined #angularjs
[18:20:23] *** Gambit- has joined #angularjs
[18:21:24] *** cboden has quit IRC
[18:21:29] <wiherek> hi
[18:21:32] *** sigurding has quit IRC
[18:21:44] <wiherek> can I change the path without triggering a state change?
[18:21:55] *** mchammer has quit IRC
[18:21:59] *** jamps has joined #angularjs
[18:22:33] *** francisl has quit IRC
[18:22:37] <oniijin> $location.path
[18:22:47] *** bosphoru_ has quit IRC
[18:23:32] *** gnrlbzik_ has quit IRC
[18:23:47] *** gnrlbzik has joined #angularjs
[18:23:50]
<mivv> I'm having issues with ui-router. I need to capture the entire rest of the string in the "path" variable including the search params. Is that possible? Here is a plunker showing what I'm trying to do: http://plnkr.co/edit/uqvnzwwPNJe1belfU9k7?p=preview
[18:23:59] *** TimmyTones has quit IRC
[18:24:00] <Siecje2> Someone helped me add a resolve to my routes and retrieve objects before loading the route, however I would like to be able to remove objects from the cache when I create a new object, so it will show up in the list view.
[18:24:00]
<Siecje2> I'm using local storage so that I can unset the key in the controller but now my users paramter is undefined. So I can load the page but my resolve is resolving into undefined. https://dpaste.de/q7Rm
[18:24:05] *** _tpavel has quit IRC
[18:24:17] *** roolo has quit IRC
[18:24:18] <wiherek> onijin, tx
[18:24:23] *** Willow has quit IRC
[18:24:59] *** Willow has joined #angularjs
[18:25:07] *** dutis has quit IRC
[18:25:16] *** danizord has joined #angularjs
[18:26:28] <wiherek> onijin but that's impossibru
[18:26:36] <wiherek> or what I really mean is
[18:26:59] <wiherek> this will reload my controller
[18:27:43] *** mercwithamouth has joined #angularjs
[18:28:04] *** azizur6 has joined #angularjs
[18:28:08] <wiherek> however i love the way $location is modified under the link provided.
[18:28:08] *** Reskp has joined #angularjs
[18:28:21] *** Dimlock has quit IRC
[18:28:28] *** liri has quit IRC
[18:29:04] *** arabot has joined #angularjs
[18:29:23] *** arabot has left #angularjs
[18:29:26] *** Willow has quit IRC
[18:30:03] *** azizur has quit IRC
[18:30:05] <wiherek> I 'THINK' I can do that with $locationChangeStart
[18:30:09] *** sdouglas_ has joined #angularjs
[18:30:30] <gr1nd> Is there a way to prevent ngView from removing the view from DOM? Every time I load my (expensive) HomeController, the view is rendered again and its quite slow. If I could just have it hidden instead or removed, I believe it will boost performance.
[18:30:35] *** sdouglas has quit IRC
[18:30:49] *** jstroem has joined #angularjs
[18:30:53] *** blueadept has joined #angularjs
[18:32:00] *** jdowdle has joined #angularjs
[18:32:03] *** jdowdle is now known as Guest75887
[18:32:07] *** blueadept has quit IRC
[18:32:17] *** blueadept has joined #angularjs
[18:32:17] *** blueadept has joined #angularjs
[18:32:30] *** jamto11 has quit IRC
[18:32:33] *** Reskp has quit IRC
[18:32:50] *** Guest42725 has quit IRC
[18:32:54] *** matiasow has joined #angularjs
[18:33:12] *** Brayniverse has quit IRC
[18:33:37] *** ericrav has joined #angularjs
[18:33:44] *** mettjus has joined #angularjs
[18:34:03]
<jamps> hello, i am trying to make a list of numbers which i can click on to display a '+1' button in order to increment the value. i am trying to do that through a 'incrementable' attribute directive. http://plnkr.co/edit/fJPjLksRhuiCqqSQmKLd?p=preview
[18:34:19] *** francisl has joined #angularjs
[18:34:21] *** Guest75887 has quit IRC
[18:34:40] *** jerev is now known as jerev_away
[18:35:07] *** blueadept has quit IRC
[18:35:28] *** subnl has joined #angularjs
[18:35:30] *** jstroem has quit IRC
[18:35:31] *** blueadept has joined #angularjs
[18:35:31] *** blueadept has joined #angularjs
[18:35:35] *** cthrax has joined #angularjs
[18:35:41] *** heidi has quit IRC
[18:35:56] *** makeable_ has quit IRC
[18:36:06] *** stirling_ has joined #angularjs
[18:37:31] *** mnngfltg has quit IRC
[18:37:31] *** stirling_ has quit IRC
[18:37:53] *** stirling_ has joined #angularjs
[18:38:09] *** ericrav has quit IRC
[18:39:30] <teslan> how do i set up my project so that angularjs and other libraries are come from a folder when running on localhost and from CDN when running from a site?
[18:39:34] *** heidi has joined #angularjs
[18:40:03] *** stirlingw has quit IRC
[18:40:44] *** marcio_ has joined #angularjs
[18:40:49] *** hugorodrigues has joined #angularjs
[18:40:55] *** marcio_ has quit IRC
[18:41:05] *** mpaarating has joined #angularjs
[18:41:15] *** mennea has joined #angularjs
[18:41:15] *** ngoyal_ has joined #angularjs
[18:41:30] *** Cydmax has quit IRC
[18:41:34] *** soupedreiro has joined #angularjs
[18:42:18] *** sdouglas_ has quit IRC
[18:42:38] *** kayloos has quit IRC
[18:43:00] *** RobinBAwesome has joined #angularjs
[18:43:06] *** leftblank has quit IRC
[18:43:45] *** mrogne has quit IRC
[18:43:47] *** ngoyal has quit IRC
[18:43:50] *** balboah has quit IRC
[18:44:32] *** ckboii89 has joined #angularjs
[18:44:38] *** Cavallari1 has joined #angularjs
[18:44:39] *** ngoyal_ has quit IRC
[18:45:12] *** ineedarobot has quit IRC
[18:45:21] *** hugorodrigues has quit IRC
[18:45:30] *** 18VAAECCM has quit IRC
[18:45:33] *** ngoyal has joined #angularjs
[18:45:56] *** s3shs has joined #angularjs
[18:46:14] *** makeable_ has joined #angularjs
[18:46:20] *** Cavallari has quit IRC
[18:46:42] *** bkuberek_ has quit IRC
[18:46:53] *** sdouglas has joined #angularjs
[18:47:18] *** bkuberek has joined #angularjs
[18:47:53] *** mac_ified has joined #angularjs
[18:48:27] *** teeray has quit IRC
[18:48:31] *** makeable_ has quit IRC
[18:48:33] *** mattwynne has joined #angularjs
[18:49:28] *** xaxisx has joined #angularjs
[18:49:36] *** xaxisx has left #angularjs
[18:50:00] <teslan> thanks xastey
[18:50:16] <s3shs> Why is my angular-ui carousel doing a dance when it first appears?
[18:50:16] *** ncbw has quit IRC
[18:50:26] *** azizur6 has quit IRC
[18:51:17] *** backinnam has quit IRC
[18:51:25] *** jacuqesdancona__ has joined #angularjs
[18:51:27] *** hswolff has quit IRC
[18:51:41] <MalfaitRobin> s3shs because everybody wants to dance!
[18:51:43] <xastey> s3shs rendering it.. hide it until ready
[18:51:53] <s3shs> MalfaitRobin, hah.
[18:52:01] <s3shs> xastey, how can I tell when it's ready?
[18:52:04] <MalfaitRobin> ng-cloak that stuff
[18:52:07] *** tangorri has joined #angularjs
[18:52:11] <s3shs> Ahh. Thanks.
[18:52:13] *** MaxV has joined #angularjs
[18:52:18] *** ngoyal_ has joined #angularjs
[18:52:36] <xastey> what he said.. then drop down and get your eagle on
[18:52:37] <s3shs> And this had no effect: <carousel ng-cloak>
[18:52:50] *** ericrav has joined #angularjs
[18:53:02] *** DrMabuse has joined #angularjs
[18:53:04] <s3shs> I feel like I'm missing something.
[18:53:12] *** joshontheweb has joined #angularjs
[18:53:39] <wiherek> ok
[18:53:48] *** Matt_Ricketts has quit IRC
[18:53:51] <MalfaitRobin> s3shs you have to apply the css
[18:53:56] *** intellix has quit IRC
[18:54:00] <wiherek> well, if I preventDefault on locationChangeStart, the location doesnt change
[18:54:06] <wiherek> but the url doesnt update either.
[18:54:22] *** nemothekid has joined #angularjs
[18:54:22] <wiherek> i need to update the url and not reload controller
[18:54:40] <s3shs> Why don't I see this problem on the demo page
[18:54:41] <s3shs> ?
[18:54:41] *** DrMabuse_ has joined #angularjs
[18:54:51] *** Matt_Ricketts has joined #angularjs
[18:55:12] *** sdouglas has quit IRC
[18:55:18] *** cs44 has joined #angularjs
[18:55:22] <s3shs> The stock css doesn't do that? Hmm.
[18:55:23] *** mtsr has joined #angularjs
[18:55:23] <jamps> i am trying to acheive a transparent transclusion just for understanfing how it works. but in cant make it work
[18:55:28] *** kareypowell has quit IRC
[18:55:36] <s3shs> MalfaitRobin, nope.
[18:55:38] *** jacuqesdancona__ has quit IRC
[18:55:38] *** ngoyal has quit IRC
[18:55:40] <s3shs> Didn't have any effect.
[18:55:50] *** ngoyal has joined #angularjs
[18:55:52] *** mattwynne has quit IRC
[18:56:09] *** mtsr has quit IRC
[18:56:15] <jamps> i would like my element to appear as it was before being compiled/linked
[18:56:51] *** ngoyal_ has quit IRC
[18:57:02] <s3shs> Does the carousel mess with the route?!
[18:57:03] *** ericrav has quit IRC
[18:57:25] *** DrMabuse has quit IRC
[18:57:29] *** JosephSilber has quit IRC
[18:57:53] <s3shs> Or is there something I can't watch to see when it's done dancing? There's something ridiculous going on.
[18:58:18] *** Evanion has quit IRC
[18:58:19] *** motionman has joined #angularjs
[18:58:25] *** motionman has joined #angularjs
[18:59:00] *** Kyleb has joined #angularjs
[18:59:06] <xastey> this magic carousel.. it must be the only carousel to go by carousel
[18:59:23] *** illume has quit IRC
[18:59:48] *** mac_ified has quit IRC
[18:59:50] *** dkenzik has quit IRC
[19:00:19] *** Aswebb has quit IRC
[19:00:22] *** Jdubs has joined #angularjs
[19:00:31] *** kkuno has quit IRC
[19:00:35] <s3shs> Stop that.
[19:00:52] *** darrin_ has quit IRC
[19:00:59] *** kvnm has quit IRC
[19:01:04] *** whunt has joined #angularjs
[19:01:20] *** zouave has quit IRC
[19:01:41] <Kyleb> Does anyone have experience using ng-attr-hidden? It doesn't seem to evaluate unless its wrapped in {{}} and even then it doesn't seem to respect true/false values
[19:02:07] *** spencercarnage has quit IRC
[19:02:39] *** _jpfm has quit IRC
[19:02:44] *** davedev24_ has quit IRC
[19:02:53] *** wallerdev has joined #angularjs
[19:02:54] *** naneau has joined #angularjs
[19:03:17] *** davedev24_ has joined #angularjs
[19:03:19] <Kyleb> aka ng-attr-hidden={{someVal}}, where someVal == true, has the same result as someVal == false
[19:03:33] *** joshbrw has quit IRC
[19:04:01] *** SomeKittens has joined #angularjs
[19:04:30] *** motionman has quit IRC
[19:05:03] *** Fire-Dragon-DoL has quit IRC
[19:05:05] *** mac_ified has joined #angularjs
[19:05:55] *** slainer6_ has quit IRC
[19:06:00] *** cthrax has quit IRC
[19:07:02] *** bengillies has quit IRC
[19:07:15] *** szymek_ has joined #angularjs
[19:07:23] *** bsmithga_ has joined #angularjs
[19:07:27] *** jdowdle_ has joined #angularjs
[19:07:28] *** calumet has joined #angularjs
[19:08:45] *** sigurding has joined #angularjs
[19:09:04] *** Willow has joined #angularjs
[19:09:05] *** cthrax has joined #angularjs
[19:10:18] *** zemanel has quit IRC
[19:10:47] *** rho has quit IRC
[19:10:55] *** doodlehaus has quit IRC
[19:11:02] *** discipolo has quit IRC
[19:11:02] *** bsmithgall has quit IRC
[19:11:05] *** heidi has quit IRC
[19:11:38] *** heidi has joined #angularjs
[19:11:53] <Jdubs> hey guys
[19:11:54] *** tfennelly has quit IRC
[19:11:56] *** nanoyak has joined #angularjs
[19:11:57] *** jdowdle_ is now known as jdowdle
[19:12:02] <Jdubs> is there a way to inject a directive so that I can access functions inside of it?
[19:12:19] *** wiherek has quit IRC
[19:12:37] *** mehlah has quit IRC
[19:12:39] *** tilgovi has joined #angularjs
[19:12:59] <Siecje2> If I log a promise and I log promise.success() why are they the same?
[19:13:11] *** Sebastien-L has quit IRC
[19:13:17] *** bsmithgall has joined #angularjs
[19:13:20] *** Zesty has joined #angularjs
[19:13:31] *** icfantv1 is now known as icfantv
[19:14:08] *** Guest52352 has quit IRC
[19:14:24] *** heidi has quit IRC
[19:14:27] *** Aliks_ has joined #angularjs
[19:14:47] *** bsmithga_ has quit IRC
[19:14:54] *** bsmithga_ has joined #angularjs
[19:15:41] *** Aswebb has joined #angularjs
[19:15:44] *** henn1nk has joined #angularjs
[19:17:24] *** lsiv568 has joined #angularjs
[19:17:45] *** dob_ has quit IRC
[19:17:55] *** lsiv568 has quit IRC
[19:18:03] *** stirling_ has quit IRC
[19:18:11] *** dob_ has joined #angularjs
[19:18:13] *** bradmc has joined #angularjs
[19:18:57] *** bsmithgall has quit IRC
[19:19:52] *** mkulke has quit IRC
[19:19:54] *** gnarMatix has joined #angularjs
[19:20:25] <gnarMatix> anyone here use requirejs with angular?
[19:21:08] *** chrislerum has joined #angularjs
[19:21:58] *** michaelm has joined #angularjs
[19:22:06] <bradmc> I've gotta configure proxy stuff now thanks to corp. Where should I but the global .bowerrc file on a windows box?
[19:22:22] <Kyleb> I don't anywhere here actually answers questions
[19:22:41]
<Siecje2> I have a resolve on a route and when I use the value inside the controller it contains something that I can use but in the resolve I can't seem to get the same object. What sorcery is this ? https://dpaste.de/2EBD#L29
[19:22:45] *** L8TR has quit IRC
[19:22:57] <Kyleb> *I don't think anyone here actually answers questions
[19:23:22] *** discipolo has joined #angularjs
[19:23:22] <oniijin> not for snotty rude people, no
[19:23:41] <Kyleb> haha sorry just trolling
[19:23:42] *** rho has joined #angularjs
[19:23:47] *** Ankhular has quit IRC
[19:24:26] <texinwien> Kyleb: I think you misunderstand what ng-attr does
[19:24:29] *** IanOlson has quit IRC
[19:24:42] *** jonnybro has joined #angularjs
[19:25:02] *** davedev2_ has joined #angularjs
[19:25:02] *** MistahKurtz has quit IRC
[19:25:04] *** cboden has joined #angularjs
[19:25:11] <Jdubs> Anyone know how I can instantiate a directive so i can access it's methods from a different controller?
[19:25:38] *** chrislerum has quit IRC
[19:25:45] <gnarMatix> Jdubs: why
[19:25:47] *** JosephSilber has joined #angularjs
[19:25:51] <oniijin> sounds smelly
[19:26:22] <Jdubs> because the directive controls a bunch of stuff, and my coworker needs wants to use something it does (creating and saving something) without having to load an element into the dom for it
[19:26:47] <Jdubs> it's a graphical editor, but it could technically be used without being seen...he wants to use it to save a random configuration
[19:26:52] <Jdubs> i can't figure out a way to allow that though
[19:27:46] *** squeakytoy has joined #angularjs
[19:27:56] *** Fire-Dragon-DoL has joined #angularjs
[19:27:56] *** naneau has quit IRC
[19:28:21] <texinwien> AFAIK, there is no special ng-attr-hide directive. Rather, there is an ng-attr directive that can be postfixed with an attribute name
[19:28:32] *** davedev24_ has quit IRC
[19:29:04] *** Reskp has joined #angularjs
[19:29:17] *** jstroem has joined #angularjs
[19:29:40] *** retzloff has joined #angularjs
[19:29:43] *** TehShrike|Work has quit IRC
[19:30:06] *** retzloff has quit IRC
[19:30:35] *** night-owl-MBP has joined #angularjs
[19:31:24] <sal1191_> any idea why an angularstrap bs-datepicker directive wouldnt be working?
[19:31:27] *** retzloff has joined #angularjs
[19:31:32] <Siecje2> oniijin: I too was trying to make a directive but had functionality to it. So I can use the same table but for admins have extra fields.
[19:31:33] <sal1191_> ive been troubleshooting this looking through the source
[19:31:44] <Siecje2> how do you do that without smelling?
[19:31:58] *** Nijikokun has quit IRC
[19:32:06] <Kyleb> Hmm okay. I'm trying to support legacy animations that trigger off the html5 hidden attribute. I've tried just directly injecting a string 'hidden' into the element but that didn't evaluate
[19:32:09] *** mindlace has joined #angularjs
[19:32:22] *** whunt has quit IRC
[19:32:50] <texinwien> Kyleb: can you link to some docs about the feature?
[19:33:03] *** kkuno has joined #angularjs
[19:33:14] <texinwien> I'm not sure I understand what you're trying to do.
[19:33:23] *** heidi has joined #angularjs
[19:33:27] *** Reskp has quit IRC
[19:33:37] *** thedodd has quit IRC
[19:33:54] <Jdubs> Can anyone help me with this injection problem please?
[19:33:55] <Jdubs> :(
[19:34:29] <Kyleb> Then css triggers off of a '.exampleClass[hidden]
[19:34:41] <texinwien> ugh, not w3schools
[19:34:47] *** chrislerum has joined #angularjs
[19:35:02] *** chrislerum has quit IRC
[19:35:05] *** kas84 has left #angularjs
[19:35:27] *** Luciendub has joined #angularjs
[19:35:33] <Luciendub> Hi
[19:35:47] *** evilaliv3 has joined #angularjs
[19:35:49] *** dob__ has joined #angularjs
[19:36:01] <Luciendub> Where could I find a way to save modifications like this: wire-up-a-backend to a database instantly ?
[19:36:06] *** upsell5 has quit IRC
[19:36:29] <texinwien> Kyleb: am looking around for a solution, however
[19:36:39] *** arthas has quit IRC
[19:36:41] <texinwien> I haven't needed to do that before
[19:37:02] *** hashtd has joined #angularjs
[19:37:07] *** whunt has joined #angularjs
[19:37:23] *** anjumkaiser has joined #angularjs
[19:37:38] *** geardev has joined #angularjs
[19:37:52] *** TheAceOfHearts has joined #angularjs
[19:38:21] *** mindlace has quit IRC
[19:38:25] <Kyleb> texinwien: lol, suprisingly its one of the only places that documents this
[19:38:36] *** patrickarlt has quit IRC
[19:38:58] *** jareddlc has joined #angularjs
[19:39:00] <linagee> how do I know that angular is done rendering my page?
[19:39:12] <texinwien> the developer.mozilla.org link I posted does, as well
[19:39:22] *** hswolff has joined #angularjs
[19:39:24] <texinwien> I blocked w3schools from my google search results long ago.
[19:39:28] *** dob_ has quit IRC
[19:39:30] *** umib0zu has joined #angularjs
[19:39:41] <texinwien> but that's another topic. I'm still looking into adding/removing attributes
[19:39:52] *** patrickarlt has joined #angularjs
[19:39:57] <linagee> texinwien: what's wrong with w3schools?
[19:40:11] *** Luciendub has quit IRC
[19:40:21] *** mindlace has joined #angularjs
[19:40:24] *** dob__ has quit IRC
[19:40:27] <texinwien> what's the event you'll base whether or not the hidden att is in the el?
[19:40:40] <texinwien> linagee: see that link
[19:40:52] <linagee> texinwien: was looking at it before you even posted it. :P
[19:41:03] *** nfroidure_ has quit IRC
[19:41:33] *** sysko has quit IRC
[19:41:44] *** geardev has left #angularjs
[19:42:16] *** stirlingw has joined #angularjs
[19:42:25] <texinwien> linagee: it may have improved over the past year or so. I wouldn't know since I never visit it.
[19:42:40] *** mdix has joined #angularjs
[19:42:41] *** ender_ has joined #angularjs
[19:42:50] *** tgkokk has quit IRC
[19:42:50] *** anjumkaiser has quit IRC
[19:43:31] <Kyleb> texinwien : an ng-click event where I set a scope value
[19:43:33] *** wdgreg has quit IRC
[19:43:36] <linagee> texinwien: even if they are a bit crappy, I don't understand why they are search-ban-worthy. (all that time to remove them from the results seems a bit... different.)
[19:43:44] *** dylukes has quit IRC
[19:43:51] *** htowngangsta has joined #angularjs
[19:44:13] <texinwien> hm - I think some people don't like them because of their (mis)appropriation of the 'w3' prefix
[19:44:20] <texinwien> I mean, that's one reason
[19:44:22] <texinwien> among others
[19:44:42] <texinwien> is the click on the element where you want to add the att?
[19:44:43] *** dylukes has joined #angularjs
[19:44:46] *** Limix has quit IRC
[19:44:50] *** dylukes has quit IRC
[19:45:10] *** Vinnyceptr has quit IRC
[19:46:04] *** sdouglas has joined #angularjs
[19:46:33] *** htowngangsta has quit IRC
[19:46:39] *** ericrav has joined #angularjs
[19:47:21] *** marcospgp has joined #angularjs
[19:47:42] *** darkelda has joined #angularjs
[19:47:51] <ender_> Question - if I have a website where users can come in over http, but some pages (feedback, etc.) must be https, is there a way to go from http to https without essentially reloading everything?
[19:48:01] *** htowngangsta has joined #angularjs
[19:48:11] *** mrded has joined #angularjs
[19:48:16] <ender_> assuming a single page angularjs application
[19:48:57] *** joshontheweb has quit IRC
[19:49:10] <cacts|works> ender_, nope
[19:49:14] *** amedia has quit IRC
[19:49:21] *** slash77 has joined #angularjs
[19:49:29] <texinwien> ender_ : you can't change http to https in the address bar without loading new content
[19:49:30] *** jhulten has joined #angularjs
[19:49:38] <Cixis> i feel like the only developer who finds w3schools userful as a quick ref
[19:49:39] *** makeable_ has joined #angularjs
[19:49:41] <texinwien> your best bet would be to use https for everything
[19:49:46] *** Zesty has quit IRC
[19:49:47] *** oniijin has quit IRC
[19:49:48] *** Limix has joined #angularjs
[19:49:52] *** jhulten has quit IRC
[19:50:03] *** oniijin has joined #angularjs
[19:50:05] *** cthrax has quit IRC
[19:50:09] <texinwien> Cixis: I used to depend on w3schools heavily, way way back.
[19:50:33] *** Dchen has joined #angularjs
[19:50:33] <texinwien> I soured on what, to me, seemed to be very shallow treatments of a number of issues I was researching
[19:50:44] *** lw has joined #angularjs
[19:50:49] <texinwien> long before I heard of w3fools or knew that anyone else had a problem with w3schools
[19:51:15] *** ericrav has quit IRC
[19:51:26] <texinwien> so familiarity bred contempt, in my case, and I developed my own dislike of the site, independent of anyone else.
[19:51:32] *** kvnm has joined #angularjs
[19:51:42] *** Vinnyceptr has joined #angularjs
[19:52:05] *** Matt_Ricketts has quit IRC
[19:52:08] *** OddDuck has joined #angularjs
[19:52:18] *** spencercarnage has joined #angularjs
[19:52:19] *** no1uknow has quit IRC
[19:52:21] <texinwien> Perhaps it's just a case of advancing beyond the shallow level of content they (at least used to) provide. It got to the point where the only questions they were answering were ones to which I already knew the answers, for the most part
[19:52:36] *** Matt_Ricketts has joined #angularjs
[19:52:41] *** dhcar_AFK is now known as dhcar
[19:52:56] *** MistahKurtz has joined #angularjs
[19:53:00] *** oniijin_ has joined #angularjs
[19:53:16] <texinwien> Kyleb : not finding anything that does what you're asking for
[19:53:27] <texinwien> natively, in angular, anyway. Not saying it's impossible
[19:53:37] <Cixis> texinwien: i've got a decade in this field and still find it useful
[19:53:43] *** DrMabuse has joined #angularjs
[19:53:56] *** makeable_ has quit IRC
[19:54:03] *** Reskp has joined #angularjs
[19:54:04] <Kyleb> texinwien : ya I think its a lost cause
[19:54:05] *** Reskp has quit IRC
[19:54:08] <Cixis> if i forget the order of arguments to xhr.open, i just google it. first result. easy example
[19:54:12] <texinwien> but I haven't found it. May be a case for either writing your own custom directive or passing the id of the element in to your controller and doing it there.
[19:54:28] <michaelm> howdy
[19:54:36] *** feelfine has quit IRC
[19:54:45] *** Nizumzen has quit IRC
[19:54:56] *** gnrlbzik has quit IRC
[19:54:56] <Kyleb> I can't believe I can't just do <div class="details" {{something}}> where something == "hidden" or " " depending on scope element
[19:55:05] *** night-owl-MBP has quit IRC
[19:55:15] <texinwien> Cixis: I've been at it a little longer than you. Was working with javascript object notation before the term JSON was coined, and was doing xhr with Microsoft's very first xmlhttp component back in 2000, working at Dell
[19:55:19] <texinwien> :D
[19:56:06] *** oniijin has quit IRC
[19:56:21] <texinwien> in the meantime, I've advanced to leading and mentoring teams of developers and managing larger projects
[19:56:55] <Cixis> same here. just saying, all the bickering about whether w3schools is quality or not is unfortunate because it's a useful quick ref
[19:56:59] *** Sebastien-L has joined #angularjs
[19:57:05] *** Nijikokun has joined #angularjs
[19:57:05] <Cixis> mdn is fine too, but sometimes verbose, and not as many example
[19:57:06] <Cixis> s
[19:57:07] *** mattwynne has joined #angularjs
[19:57:19] <texinwien> Cixis: dunno, I haven't missed it since I blocked the site in my google searches
[19:57:26] *** RobinBAwesome has quit IRC
[19:57:34] *** amargherio has joined #angularjs
[19:57:38] <texinwien> when I search for xhr, now, the MDN article is #2, and has plenty of meat
[19:57:42] <prikk> at least there's no Experts Exchange anymore
[19:57:46] *** Kyleb has quit IRC
[19:57:50] *** DrMabuse has quit IRC
[19:57:50] *** calumet has quit IRC
[19:57:53] <prikk> just crappy Quora
[19:57:54] <prikk> :)
[19:57:57] <texinwien> prikk: no kidding - I blocked most of those sites, as well
[19:57:57] <Cixis> heh yea
[19:58:16] <prikk> (you can brute-force Quora with a ?share=1 param btw!)
[19:58:16] <texinwien> stackoverflow killed experts exchange
[19:58:21] *** dve_ has quit IRC
[19:58:28] *** TehShrike|Work has joined #angularjs
[19:58:32] <Cixis> expersexchange killed expertsexchange
[19:58:46] *** RobinBAwesome has joined #angularjs
[19:58:53] *** dve has joined #angularjs
[19:58:56] *** lsiv568 has joined #angularjs
[19:58:58] <the-erm> I really like stackoverflow. It's very helpful.
[19:59:03] *** tmrudick has quit IRC
[19:59:19] *** tmrudick has joined #angularjs
[19:59:33] *** zwacky has quit IRC
[19:59:51] *** francisl has quit IRC
[20:00:08] *** lsiv568 has quit IRC
[20:00:10] *** tfennelly has joined #angularjs
[20:00:11] *** shacklef_ has quit IRC
[20:00:13] *** Zesty has joined #angularjs
[20:00:14] *** cs44 has quit IRC
[20:00:18] <texinwien> Cixis: would you mind posting a link to the w3schools article on it?
[20:00:25] *** MaxV has quit IRC
[20:00:29] *** shackleford has joined #angularjs
[20:00:31] *** calumet has joined #angularjs
[20:00:44] *** michaelm has quit IRC
[20:00:46] *** Reskp has joined #angularjs
[20:01:44] *** RobinBAwesome has quit IRC
[20:01:44] *** wallerdev has quit IRC
[20:01:59] <texinwien> Cixis: Interestingly enough, no w3schools results show up on the first page of Bing results when searching for xhr
[20:01:59] <szymek_> link: function(scope, element, attrs) {
[20:02:00] <szymek_> element.find('button').on('click', function() {
[20:02:01] <szymek_> how can i change a text in button after click? i use it in directive.
[20:02:28] *** teeray has joined #angularjs
[20:03:07] *** dve has quit IRC
[20:03:11] <texinwien> nor on the 2nd, 3rd or 4th pages. same for MDN - no results from there, either.
[20:03:16] *** Reskp has quit IRC
[20:03:36] <Cixis> i tried to give bing an honest shot
[20:03:47] <Cixis> but i couldn't handle the 10 ads and then irrelevant results
[20:03:53] *** lsiv568 has joined #angularjs
[20:04:00] <texinwien> don't use it - just gave it a go since I've blocked w3schools from my google results
[20:04:11] *** alinou has joined #angularjs
[20:04:28] <quan__> howd you block that ?
[20:04:34] <Cixis> i have a windows phone, so i was determined to deal
[20:04:46] <jamps> i dont get why i have div wrapping everything
[20:05:45] *** IanOlson has joined #angularjs
[20:05:48] <quan__> thats awesome
[20:05:51] <prikk> texinwien: good developers google, great developers Bing!
[20:05:54] <texinwien> quan__ indeed
[20:06:03] <nickeddy> lol prikk wat
[20:06:04] *** jdowdle has quit IRC
[20:06:17] *** Reskp has joined #angularjs
[20:06:19] <nickeddy> angular.js is... google's
[20:06:23] <texinwien> I blocked experts exchange and a bunch of scraper sites - I block anything that is onise
[20:06:24] <texinwien> noise
[20:06:27] <prikk> ('twas a joke)
[20:06:32] *** jdowdle has joined #angularjs
[20:06:36] *** no1uknow has joined #angularjs
[20:06:39] <nickeddy> oh good :P
[20:06:52] *** ChrisOei_ has quit IRC
[20:07:23] *** bphogan is now known as bphogan_afk
[20:08:16] *** mdix has quit IRC
[20:08:41] <homework1> I need help building a GUI whitelabeling feature for my app. Essentially user's can customize the UI colors of the app, then when the app loads based on the domain it loads a different stylesheet which is saved on the server.
[20:08:53] <homework1> Would I just use ng-href on the css link tag
[20:09:00] <jamps> anyoone ? is it hard stuff ?
[20:09:04] *** mattwynne has quit IRC
[20:09:16] *** InezK_away is now known as InezK
[20:09:17] <homework1> and then use some logic in the .run section of the app to configure it?
[20:09:19] *** Zesty has quit IRC
[20:09:30] <homework1> that's probably not even possible now that I thnk of it
[20:10:06] *** tmrudick has quit IRC
[20:10:12] *** MaxV has joined #angularjs
[20:10:17] *** no1uknow_ has joined #angularjs
[20:10:23] *** mindlace has quit IRC
[20:10:42] *** tmrudick has joined #angularjs
[20:11:09] <texinwien> This was one of my go-to reference sites way back in the day, when I was working with classic ASP
[20:11:21] *** slainer68 has joined #angularjs
[20:11:34] *** no1uknow has quit IRC
[20:12:14] *** raghunayyar has joined #angularjs
[20:12:14] *** Zesty has joined #angularjs
[20:12:37] <Zesty> is there a popular ORM framework for angular?
[20:12:42] <Zesty> or is that frowned upon
[20:12:46] *** no1uknow_ has quit IRC
[20:13:38] *** tangorri has quit IRC
[20:14:34] *** plysiu has quit IRC
[20:14:48] <texinwien> jamps your template has a div
[20:14:55] *** upsell5 has joined #angularjs
[20:15:04] *** tmrudick has quit IRC
[20:15:36] <jamps> texinwien : you mean transparent.html ? but i need to put ng-transclude somewhere right ?
[20:16:07] *** DuelShark has quit IRC
[20:16:15] *** dariocravero has joined #angularjs
[20:16:20] *** Willow_ has joined #angularjs
[20:16:20] *** mal20k has joined #angularjs
[20:16:34] *** michaelm has joined #angularjs
[20:17:05] *** fedenunez1 has joined #angularjs
[20:17:11] *** kas84 has joined #angularjs
[20:17:13] *** mettjus has quit IRC
[20:17:34] *** sheperson has joined #angularjs
[20:17:34] *** Willow has quit IRC
[20:17:46] *** mdix has joined #angularjs
[20:18:09] *** Limix has quit IRC
[20:18:31] *** fedenunez has quit IRC
[20:18:35] *** krotscheck has quit IRC
[20:19:25] *** partikus has joined #angularjs
[20:20:00] *** stirling_ has joined #angularjs
[20:20:07] *** guilbep has quit IRC
[20:20:25] *** ckboii89 has quit IRC
[20:21:01] *** ckboii89 has joined #angularjs
[20:21:14] *** Obversity has quit IRC
[20:21:29] <texinwien> I passed in the element (also scope and attrs) to the function, set transclude=true and removed the template property
[20:21:55] <texinwien> no more surrounding div - is that what you were looking for?
[20:21:55] *** delerium_ has joined #angularjs
[20:21:56] *** dylukes has joined #angularjs
[20:22:20] <jamps> woohoo thats exactly what i was looking for. thanks texinwien. got to understand how it works now
[20:22:23] *** dc has joined #angularjs
[20:22:39] *** DrMabuse_ has quit IRC
[20:22:55] <texinwien> the section entitled "Creating a Directive that Manipulates the DOM"
[20:23:18] *** dariocravero has quit IRC
[20:23:32] *** dariocravero has joined #angularjs
[20:23:42] *** Strues has joined #angularjs
[20:23:59] *** stirlingw has quit IRC
[20:24:01] <Strues> Can anyone please help me out with a quick question about angular w/ mongo?
[20:24:05] *** partikus has left #angularjs
[20:24:14] <texinwien> Strues: what's the question?
[20:24:22] *** Alina-malina has quit IRC
[20:24:25] <wafflejock_> homework1: pretty sure if you just don't have the style tag included in advance and you build the style element and add it to the head programatically it will be processed
[20:24:53] <jamps> texinwien : why did you called the function link' ?
[20:25:10] <texinwien> did you read what I suggested you read?
[20:25:30] *** MistahKurtz has quit IRC
[20:25:30] <texinwien> The third sentence there says, "Directives that want to modify the DOM typically use the link option."
[20:25:50] <Strues> Texinwien: Ive got a user signup and all which is working perfect. Now I'm trying to create a form and I'd like to auto fill in the details in the form that are the same as the fields from the sign up
[20:26:01] *** jsoverson has quit IRC
[20:26:31] <texinwien> ok
[20:27:03] *** bphogan_afk is now known as bphogan
[20:27:18] *** mal20k has quit IRC
[20:27:45] *** shaym_ has joined #angularjs
[20:28:16] <Strues> The form, say ApplicationCtrl and the SignupCtrl have their own model schema each with some commonalities. Id like to call them table columns but thats probably not right :P First time going this far deep in NoSQL
[20:29:02] *** gnrlbzik has joined #angularjs
[20:29:34] *** tilgovi has quit IRC
[20:29:45] <texinwien> Strues: ok
[20:29:53] <mvovchak_> I was given an app that I have to write unit tests for...where do I even start...? controllers? services?
[20:29:59] <texinwien> is wafflejock_'s resource helping you out?
[20:30:35] <texinwien> mvovchak_ I'd probably start with services
[20:30:46] *** stirling_ has quit IRC
[20:31:07] *** zumba_addict has joined #angularjs
[20:31:07] <mvovchak_> texinwien: cool, that will do :)
[20:31:08] *** stirlingw has joined #angularjs
[20:31:11] <mvovchak_> texinwien: thanks
[20:31:19] <texinwien> no worries
[20:31:25] <texinwien> :)
[20:31:36] *** Notte has joined #angularjs
[20:31:50]
<Strues> I think so, I'm looking at one of the fiddles http://jsfiddle.net/5LL3U/2/ and just for clarification, I can pick and choose which objects to tie into the factory and still use the values that dont overlap provided I inject the factory?
[20:32:10] *** dc has quit IRC
[20:32:19] <zumba_addict> question guys, do you think it's a good approach for a backend api to ignore random query key string that has been submitted by a client?
[20:32:28] <wafflejock_> Strues: yup after you inject the factory you can cherry pick info off it to put into the model you store in the controller scope
[20:33:28] *** jamto11 has joined #angularjs
[20:33:34] *** gnrlbzik has quit IRC
[20:34:00] <wafflejock_> Strues: typically I model the data in the factory so it can just be referenced from the controller scope but it's a matter of how you want things to be updated and organized
[20:34:10] <homework1> interesting wafflejock_ how would you build the style element programatically?
[20:34:48] *** teeray has quit IRC
[20:34:50] <Strues> Wafflejock: Appreciate it.
[20:35:21] *** dc has joined #angularjs
[20:35:32] *** mindlace has joined #angularjs
[20:35:34] *** mikehaas763 has joined #angularjs
[20:35:45] <homework1> So when would you execute this line of code? In the .run block?
[20:36:05] <wafflejock_> homework1: not sure whenever I can get the data I need as early as possible
[20:36:14] <Strues> Texinwien: Thanks
[20:36:38] *** Zesty has quit IRC
[20:36:39] <homework1> But I'd have to make an $http request to get the URL for the style sheet. Can you use $http inside .run?
[20:36:44] *** darkelda has quit IRC
[20:37:42] *** jamto11 has quit IRC
[20:38:17] <wafflejock_> homework1: Run blocks - get executed after the injector is created and are used to kickstart the application. Only instances and constants can be injected into run blocks. This is to prevent further system configuration during application run time.
[20:38:41] <szymek_> how can i change a text in button after click? i use it in directive.
[20:38:44] <szymek_> link: function(scope, element, attrs) {
[20:38:46] <szymek_> element.find('button').on('click', function() {
[20:39:07] <homework1> Yeah that's what I thought. But I need to have the .css file loaded into the app as soon as possible. But the link to the .css file is generated dynamically
[20:39:08] *** jonnybro has quit IRC
[20:39:17] *** feelfine has joined #angularjs
[20:39:18] *** thedodd has joined #angularjs
[20:39:19] *** teeray has joined #angularjs
[20:39:38] *** calumet has quit IRC
[20:39:40] <wafflejock_> homework1: this might be one of the few cases when I would say maybe have the backend write that into the index file
[20:40:20] <homework1> yeah see that's how it currrently is in the app. The app lives inside the rails pipeline. But we're trying to separate the rails app into its own separate api app
[20:40:26] <homework1> and have the web client be pure angular
[20:40:39] <wafflejock_> yeah I generally use that approach too
[20:40:44] *** ericrav has joined #angularjs
[20:40:58] *** calumet has joined #angularjs
[20:41:03] <wafflejock_> I suppose you can have some basic stylesheet loaded first that either hides everything or just makes it look decent until you have the new css loaded
[20:41:17] *** jsoverson has joined #angularjs
[20:41:22] *** nanoyak has quit IRC
[20:41:28] *** mettjus has joined #angularjs
[20:41:57] <Ownix> Is there a way to avoid writing ng-click on the last two td elements?
[20:42:01] *** Jdubs has quit IRC
[20:42:11] <Ownix> It seems silly I cant wrap <td> in a span or something
[20:42:33] *** lsiv568 has quit IRC
[20:42:58] *** JakeSays_ has quit IRC
[20:43:17] *** sdouglas has quit IRC
[20:43:32] *** dariocra_ has joined #angularjs
[20:44:29] *** Jdubs has joined #angularjs
[20:44:40] *** Aswebb has quit IRC
[20:44:58] *** ericrav has quit IRC
[20:45:25] *** defaultdict has joined #angularjs
[20:45:38] *** dariocravero has quit IRC
[20:45:54] *** merpnderp has joined #angularjs
[20:45:59] *** doodlehaus has joined #angularjs
[20:46:14] *** plysiu has joined #angularjs
[20:46:18] <merpnderp> How would I have a function executed when a scope value changes?
[20:46:27] <wafflejock_> merpnderp: watch the scope value
[20:46:31] *** mattupstate has left #angularjs
[20:46:36] <wafflejock_> merpnderp: typically you are doing this in directives
[20:46:46] <merpnderp> wafflejock_: $scope.watch($scope.value, myFunction()); ?
[20:46:47] *** ericrav has joined #angularjs
[20:46:53] <Strues> Wafflejock; Could I pick your brain one more time? I'm still what I would call not quite a beginner but nowhere near 100% comfortable w/ my angular
[20:46:59] *** patrickarlt has quit IRC
[20:47:13] <jamps> texinwien ; i feel quite confused with the 'link' function; shouldnt there be a 'link:someFunction()' method in the returned object ?
[20:47:41] *** krotscheck has joined #angularjs
[20:47:49] <texinwien> jamps: not sure I follow you.
[20:47:59] *** kas84 has quit IRC
[20:48:07] *** ishi has joined #angularjs
[20:48:18] *** Cydmax has joined #angularjs
[20:48:24] <wafflejock_> merpnderp: $scope.$watch("someScopeVar", function(newVal,oldVal){}) or $scope.$watch(function(){ return $scope.someVar}, function(newVal,oldVal){}) also optional third arg to $watch for watching entire objects instead of just the reference for changes
[20:48:50] <wafflejock_> Strues: always feel free to just ask in the IRC no need to ask to ask if I have time and/or the answer I'll do it :)
[20:48:52] *** dve has joined #angularjs
[20:49:20] *** upsell5 has quit IRC
[20:49:24] *** cthrax has joined #angularjs
[20:49:28] *** Reskp has quit IRC
[20:49:34] *** Somatt_wrk has joined #angularjs
[20:49:43] *** calumet has quit IRC
[20:50:25] *** rockfordal has joined #angularjs
[20:50:53] <jamps> texinwien ; in your example you give directly the link function
[20:51:29] <tomzx> is there any way to tell angularjs that I want null values to equal to the value=“” option without using a directive?
[20:51:35] *** ericrav has quit IRC
[20:51:37] <Strues> Awesome, thanks. Im just putting this into a fiddle real quick. Probably easier than loads of text
[20:51:55] *** t1mmen has quit IRC
[20:51:58] *** snurfery has joined #angularjs
[20:52:08] <snurfery> sup yall
[20:52:09] <mrded> are there anything like 'classy' which works with services and directives?
[20:52:24] <snurfery> ng-monocle?
[20:52:34] <snurfery> (kidding)
[20:52:52] *** m0t0r has joined #angularjs
[20:52:55] *** Aswebb has joined #angularjs
[20:53:39] *** MacWinner has joined #angularjs
[20:54:05] *** t1mmen has joined #angularjs
[20:54:10] *** richiebkr has quit IRC
[20:54:17] *** DrMabuse has joined #angularjs
[20:54:22] *** mikehaas763 has quit IRC
[20:54:27] <MacWinner> i was about to try out some of the bindonce solutions out there.. any recommendations on which one to use? I see angular-once and angular-bindonce
[20:54:34] *** dariocra_ has quit IRC
[20:55:10] *** marcospgp has quit IRC
[20:55:29] <jamps> texinwien ; you just gave the postLink function right ? skipped the directive definition object
[20:55:34] *** ziyadb has joined #angularjs
[20:55:42] <texinwien> jamps: yeah, I just did that quick and dirth
[20:55:44] <texinwien> dirty
[20:56:09] <texinwien> I'd follow the convention laid out on the Directives page, if I were you
[20:56:32] *** nemothekid has quit IRC
[20:57:11] *** tilgovi has joined #angularjs
[20:57:39] *** anjumkaiser has joined #angularjs
[20:58:03] *** dariocravero has joined #angularjs
[20:58:25] <wafflejock_> Strues: yup actually there's a plunkr link in the IRC topic to a template with angular loaded too, typically I prefer plnkr but examples are good either way
[20:58:29] *** michaelm has quit IRC
[20:58:40] <Strues> Yeah im throwing it in plnkr as I prefer it too
[20:58:43] *** dhcar is now known as dhcar_AFK
[20:59:23] *** DrMabuse has quit IRC
[21:01:03] *** Alina-malina has joined #angularjs
[21:01:04] <snurfery> MacWinner: I heard some stuff about that in angular2, you're saying there are existing libraries that have that functionality? Sweet baby jeebus
[21:01:18] <MacWinner> yeah
[21:01:23] <MacWinner> angular-once
[21:01:26] <MacWinner> and bindonce
[21:01:26] *** lsiv568 has joined #angularjs
[21:01:28] <snurfery> hot diggity
[21:01:30] <MacWinner> i'm about to try out angular-once
[21:01:52] <snurfery> that sounds amazing
[21:01:58] <snurfery> this is why I have a crush on this channel
[21:02:00] <snurfery> <3
[21:02:07] <snurfery> =D
[21:02:09] <MacWinner> will see how well it works though.. seems nice in theory
[21:02:22] *** schuran_ has joined #angularjs
[21:02:27] *** Reskp has joined #angularjs
[21:02:28] *** poeticninja has quit IRC
[21:02:51] *** scmx has joined #angularjs
[21:02:55] *** poeticninja has joined #angularjs
[21:02:57] <schuran_> I have a question about resolve in controls. I'm looking to preload my data before showing the view. So I have a resolve set to loadData but I'm not sure where the data is stored after
[21:03:10] *** hashtd has quit IRC
[21:03:13] *** dman777_alter has joined #angularjs
[21:03:28] <dman777_alter> what tool is best to measure angular.js performance?
[21:03:34] *** apetro_ has joined #angularjs
[21:03:42] *** Aliks_ has quit IRC
[21:03:54] *** cthrax has quit IRC
[21:04:06] *** mettjus has quit IRC
[21:04:11] *** kas84 has joined #angularjs
[21:04:13] *** poeticninja has quit IRC
[21:04:19] *** poeticninja has joined #angularjs
[21:04:25] *** kas84 has quit IRC
[21:04:28] *** mdix has quit IRC
[21:04:46] *** apetro__ has joined #angularjs
[21:05:02] <szymek_> anybody can help me?
[21:05:07] *** krotscheck has quit IRC
[21:05:08] *** apetro__ has quit IRC
[21:05:24] <szymek_> in directive link function?
[21:05:25] *** hugorodrigues has joined #angularjs
[21:05:37] *** krotscheck has joined #angularjs
[21:05:44] <snurfery> short answer: batarang
[21:05:48] *** rhp has joined #angularjs
[21:05:57] <dman777_alter> snurfery: thanks, was just about to ask about that
[21:06:40] <merpnderp> wafflejock_: nice, thanks you.
[21:07:07] <merpnderp> Another question. Why does it seem like putting an expression in an ng-click doesn't work. But if I call a function on the scope in the ng-click it of course works.
[21:07:23] *** Aartsie has joined #angularjs
[21:07:38] *** tomh- has joined #angularjs
[21:08:15] *** wallerdev has joined #angularjs
[21:08:18] *** oniijin_ has quit IRC
[21:08:19] *** apetro_ has quit IRC
[21:09:17] *** jsoverson has quit IRC
[21:09:29] *** klaut has joined #angularjs
[21:09:33] *** mattwynne has joined #angularjs
[21:09:59] <mrded> are there anything like 'classy' which works with services and directives? please :)
[21:10:17] <snurfery> merpnderp: let's see your expression
[21:10:21] <snurfery> quit teasing yo
[21:10:45] <texinwien> your scope was the problem
[21:10:50] *** cthrax has joined #angularjs
[21:10:50] *** walden is now known as walden|afk
[21:11:04] *** richiebkr has joined #angularjs
[21:11:13] *** bchoate has quit IRC
[21:11:30] *** jonnybro has joined #angularjs
[21:11:43] *** oniijin has joined #angularjs
[21:12:15] *** JosephSilber has quit IRC
[21:12:25] *** sigurding has quit IRC
[21:12:35] <schuran_> I was wondering how do you cache a resolve so the app isn't always calling the service if you switch views.
[21:13:47] <texinwien> jamps: dunno, but I think the one I linked last looks more like the sample code
[21:13:48] <snurfery> schuran_: build a cache service and stash objects in there. In your resolve, first check if it exists there and return it, otherwise do the actual fetch, put it in the cache then return it
[21:14:23] *** mattwynne has quit IRC
[21:14:30] <jamps> well thanks texinwien. got alot to learn about directives
[21:14:36] *** BMCouto has quit IRC
[21:15:15] *** klaut_ has joined #angularjs
[21:15:27] <texinwien> sure!
[21:15:31] *** the-erm has quit IRC
[21:15:38] *** mikehaas763 has joined #angularjs
[21:16:34] *** DrMabuse has joined #angularjs
[21:16:52] *** klaut has quit IRC
[21:17:43] *** sheperson has quit IRC
[21:17:56] *** ericrav has joined #angularjs
[21:18:01] *** the-erm has joined #angularjs
[21:18:19] *** waylon999 has quit IRC
[21:18:31] *** mikehaas_ has joined #angularjs
[21:19:26] *** tfennelly has quit IRC
[21:19:31] *** whunt has quit IRC
[21:19:59] *** tfennelly has joined #angularjs
[21:19:59] *** patrickarlt has joined #angularjs
[21:20:07] *** mdix has joined #angularjs
[21:21:04] *** jtimon has quit IRC
[21:21:12] *** Click66 has joined #angularjs
[21:21:28] *** Rebirth has quit IRC
[21:21:35] *** mikehaas763 has quit IRC
[21:22:34] *** Gambit- has quit IRC
[21:22:53] *** tfennelly has quit IRC
[21:23:11] *** mikehaas_ has quit IRC
[21:23:14] *** mikehaas763 has joined #angularjs
[21:24:11] <Strues> waffle: Did that link work for you?
[21:24:46] *** DrMabuse_ has joined #angularjs
[21:25:43] *** Rebirth has joined #angularjs
[21:25:55] *** mglvl has joined #angularjs
[21:26:09] *** mrogne has joined #angularjs
[21:26:13] *** Reskp has quit IRC
[21:27:18] *** siddart has quit IRC
[21:27:32] *** DrShoggoth has joined #angularjs
[21:28:20] *** wallerdev has quit IRC
[21:28:28] *** bphogan is now known as bphogan_afk
[21:28:32] *** francisl has joined #angularjs
[21:28:39] *** whunt has joined #angularjs
[21:29:03] *** bsmithgall has joined #angularjs
[21:29:09] *** DrMabuse_ has quit IRC
[21:29:17] *** mdix has quit IRC
[21:29:22] *** jamto11 has joined #angularjs
[21:29:40] *** MistahKurtz has joined #angularjs
[21:29:47] *** bsmithg__ has joined #angularjs
[21:29:49] *** gnrlbzik has joined #angularjs
[21:30:19] *** mettjus has joined #angularjs
[21:30:36] *** ericrav has quit IRC
[21:30:41] *** saucey has joined #angularjs
[21:30:44] *** bphogan_afk is now known as bphogan
[21:31:00] *** bsmithga_ has quit IRC
[21:31:12] <saucey> hey guys i cant seem to get ng-submit to work on my forms
[21:31:16] *** ASUChander has joined #angularjs
[21:31:35] <saucey> ive just installed angular today and its my first time using it
[21:31:48] *** Click66 has quit IRC
[21:32:00] *** waylon999 has joined #angularjs
[21:32:04] *** henn1nk has quit IRC
[21:32:08] *** xastey- has joined #angularjs
[21:32:10] <merpnderp> snurfery: I was just doing ng-click="scopeVar = ngrepeatVar"
[21:32:17] *** marr has joined #angularjs
[21:32:28] *** ngbot has joined #angularjs
[21:32:28] <ngbot> angular.js/master 7c31220 Brian Ford: docs(triaging): clarify severity and frequency labels
[21:32:28] *** ngbot has left #angularjs
[21:32:58] *** ericrav has joined #angularjs
[21:33:18] *** bsmithgall has quit IRC
[21:34:13] *** stirlingw has quit IRC
[21:34:14] *** D-Boy has quit IRC
[21:34:47] *** gnrlbzik has quit IRC
[21:35:46] *** dnxt has quit IRC
[21:35:58] *** xastey has quit IRC
[21:36:07] <snurfery> merpnderp: your scope is probably off
[21:36:33] <snurfery> merpnderp: especially when you're inside of ng-repeats, it's very easy to accidentally get scope wrong
[21:36:37] <merpnderp> snurfery: okay, but I'm right in thinking the contents of an ngclick are just evluated as a normal expression?
[21:36:41] *** upsell5 has joined #angularjs
[21:36:51] *** lw has quit IRC
[21:37:12] <snurfery> merpnderp: yes, your expression works fine, but the scope variable you're assigning it to is getting lost
[21:37:14] *** lw has joined #angularjs
[21:37:39] <snurfery> merpnderp: try this.. in your controller make an empty object, say $scope.myObj = {}
[21:37:49] <merpnderp> snurfery: well it wasn't my code, but a new jr dev, so I'll let him know he can remove his one liner function and try to get it working inside the ng-click.
[21:37:57] <snurfery> then in ng-click do this:
[21:38:07] *** elux has joined #angularjs
[21:38:21] <snurfery> ng-click="myObj.scopeVar = ngrepeatVar"
[21:39:10] <snurfery> now, if it's a jr dev maybe you should bring up 2 issues
[21:39:18] *** tmrudick has joined #angularjs
[21:39:25] *** tgkokk has joined #angularjs
[21:39:42] <snurfery> 1. you should always have a dot in your model (i.e. the dot in myObj.scopeVar) to avoid this type of issue
[21:40:04] *** Gambit- has joined #angularjs
[21:40:06] *** IanOlson has quit IRC
[21:40:15] *** jonnybro has quit IRC
[21:40:23] <snurfery> 2. it's not the best style in the world to have too much naked js in your markup
[21:40:54] *** dariocravero has quit IRC
[21:41:03] <snurfery> ng-click="updateRecord(ngrepeatVar)" looks a little better
[21:41:09] *** jacuqesdancona__ has joined #angularjs
[21:42:09] *** tarkus_ has quit IRC
[21:42:17] <sal1191_> does ng-click="deleteObj({{$index}})" not work?
[21:42:23] *** tarkus has joined #angularjs
[21:42:24] <sal1191_> if I had a deleteObj function in scope
[21:42:55] <sal1191_> and I was trying to generate links which deleted the obj at their respective index
[21:42:55] *** no1uknow has joined #angularjs
[21:43:13] <snurfery> sal1191_: deleted or removed them from the array?
[21:43:20] <sal1191_> removed, I say deleted
[21:43:23] <sal1191_> spliced out
[21:43:24] *** mac_ified has quit IRC
[21:43:25] *** hychen has quit IRC
[21:43:38] *** jamto11 has quit IRC
[21:43:43] *** drej has quit IRC
[21:44:03] <sal1191_> here is the page im working on
[21:44:04] *** cobakobodob has quit IRC
[21:44:04] <snurfery> I don't see why not, add a console.log in deleteObj to make sure it's receiving the correct $index
[21:44:18] *** dylukes has quit IRC
[21:44:29] <sal1191_> angular throws an error
[21:44:34] <sal1191_> when I use it
[21:44:39] *** bsmithgall has joined #angularjs
[21:44:44] <sal1191_> but im not certain that its because I'm using it that way
[21:44:57] *** cphil has quit IRC
[21:44:58] *** bsmithg__ has quit IRC
[21:45:03] *** saucey has quit IRC
[21:45:18] *** jacuqesdancona__ has quit IRC
[21:45:20] *** phuh has joined #angularjs
[21:45:21] <sal1191_> i find myself wondering if there is a better way
[21:45:29] *** bsmithga_ has joined #angularjs
[21:45:33] *** juampy_backlater is now known as juampy
[21:45:34] *** AxldenieD has quit IRC
[21:45:36] *** cobakobodob has joined #angularjs
[21:45:45] <snurfery> how would I see the error, I'm on the page
[21:46:06] <phuh> Can I use "." in service name?
[21:46:06] <sal1191_> refresh it
[21:46:10] <sal1191_> i just put it back in
[21:46:17] *** CodeFriar has quit IRC
[21:46:20] *** mattwynne has joined #angularjs
[21:46:28] <cboden> I have this strange error and no backtrace but Angular enteres an infinite $digest loop ONLY in FF and Safari but not Chrome....
[21:46:30] <snurfery> phuh: sure
[21:46:52] *** wallerdev has joined #angularjs
[21:46:53] <sal1191_> dont mind teh stuff at the bottom im replacing php code
[21:46:55] <sal1191_> as i go
[21:47:18] <sal1191_> the red cross should delete the 'timeline' from $scope.timelines
[21:47:20] *** wallerdev has quit IRC
[21:47:30] *** wallerdev has joined #angularjs
[21:48:04] *** e-dard has joined #angularjs
[21:48:07] *** whunt has quit IRC
[21:48:08] <sal1191_> as you can see the green cross adds a timeline as expected
[21:48:27] <sal1191_> i wonder if this is a scenario where I should try to write a directive
[21:48:38] <sal1191_> to generate the row and its associated delete button
[21:48:52] *** dylukes has joined #angularjs
[21:48:53] <e-dard> Hi, I want to do some initialisation (passing config to a third party API) but not sure where is a good place to put it. It applies to all of my application.
[21:48:55] *** jamto11 has joined #angularjs
[21:48:55] <snurfery> sal1191_: this might be a stupid question
[21:49:06] *** teeray has quit IRC
[21:49:06] <snurfery> but won't your php interpret the $index as a variable ?
[21:49:11] *** bsmithgall has quit IRC
[21:49:13] <snurfery> (I don't know php)
[21:49:18] <sal1191_> no php is all on the server
[21:49:20] <phuh> snurfery: is it widely used? what's the best practices?
[21:49:26] <e-dard> I tried in the main.js controller but it relies on an object that's loaded in index.html so it wasn't available when code in main.js evaluates
[21:49:27] <snurfery> no never mind, of course you're right
[21:49:27] <snurfery> haha
[21:49:30] <sal1191_> php is done doing its work by the time you get served the page that executes the javascript
[21:49:33] <sal1191_> :P
[21:49:37] <sal1191_> trust me, I dont know shit about php myself
[21:49:46] *** D-Boy has joined #angularjs
[21:49:48] <snurfery> of course, that was a newb moment on my part haha
[21:49:50] <snurfery> ok
[21:49:50] <sal1191_> my job is essentially to hack the old huskyhunt
[21:49:53] <sal1191_> which is entirely php
[21:49:56] <snurfery> take out the mustaches
[21:50:05] <snurfery> deleteTimeline($index)
[21:50:13] <sal1191_> kk
[21:50:19] <snurfery> I say that with confidence
[21:50:26] <snurfery> but have no idea if it'll work
[21:50:28] <snurfery> ;)
[21:50:29] *** stirlingw has joined #angularjs
[21:50:34] *** mettjus has quit IRC
[21:50:36] *** mettjus1 has joined #angularjs
[21:50:37] <e-dard> I kind of thought index.html will get evaluated before anything else. Is that wrong?
[21:50:43] *** teeray has joined #angularjs
[21:50:54] *** andrew9183 has quit IRC
[21:51:01] <wafflejock_> Strues: just noticed the message yup looks fine so far
[21:51:07] *** dylukes has quit IRC
[21:51:29] <snurfery> also sal1191_ are you really using minified versions of everything during development, or is that just because this is deployed to a real server?
[21:51:43] <snurfery> because if so, you sir are a masochist
[21:51:49] *** Notte has quit IRC
[21:52:08] <e-dard> can someone explain how index.html works? Is it use for all views in your app?
[21:52:20] <sal1191_> Nice!
[21:52:25] *** sneakert1ck has quit IRC
[21:52:31] <sal1191_> it works
[21:52:36] <snurfery> sweet
[21:52:51] *** morenoh150 has joined #angularjs
[21:52:51] <sal1191_> i wouldnt have guessed that. i thought $index was only interpretted in the html
[21:53:08] <snurfery> it's a variable that's added to the scope inside of an ng-repeat
[21:53:11] <e-dard> wafflejock_: kind of confused what that has to do with angular, but OK
[21:53:24] <sal1191_> that makes sense
[21:53:24] <wafflejock_> e-dard: exactly index.html has nothing to do with angular
[21:53:35] <wafflejock_> e-dard: it's just the file a web server serves
[21:53:49] *** Nizumzen has joined #angularjs
[21:53:54] <wafflejock_> e-dard: if you don't specify a file name then index.html is typically the default file the server looks for
[21:53:55] <snurfery> I'm acting like I knew this before 2 minutes ago heh
[21:53:56] <sal1191_> anyway, yes I am using minified versions
[21:54:09] <sal1191_> i have the all the full versions
[21:54:11] <sal1191_> in my bower folder
[21:54:13] *** morenoh149 has quit IRC
[21:54:18] *** SaintMoriarty has joined #angularjs
[21:54:22] <SaintMoriarty> hello!
[21:54:22] <sal1191_> i just linked to the mins
[21:54:23] <e-dard> wafflejock_: yeah I know that. I'm very familiar with servers. What I don't know is at what point things loaded in index.html become available in controllers in angular
[21:54:33] <wafflejock_> e-dard: when it load up in your browser the head is interpreted before anything is shown this is HTML stuff, the scripts load in the order they're specified in the page
[21:54:33] <sal1191_> is that unwise? this is my first time trying to develop a full application
[21:54:51] <e-dard> wafflejock_: yes, but when do controllers have access to the objects in those scripts?
[21:54:59] <snurfery> sal1191_: use the full ones until your app is done, otherwise your tracebacks are largely useless/obfuscated
[21:55:01] <SaintMoriarty> I have the fallowing in my jade file "a(ng-click="rowform.$show(); alert('test')", ng-show="!rowform.$visible") Edit" but when i click it the link does not hide. am I missing something?
[21:55:12] <wafflejock_> e-dard: typically the order isn't a problem if you can show what you're doing in a plunkr or otherwise I can tell you what's wrong with the setup
[21:55:21] *** m0t0r has quit IRC
[21:55:26] <SaintMoriarty> by the way the alert function I have in my controller is firing properly
[21:55:30] *** milkshoes has quit IRC
[21:55:35] *** Adrian__ has joined #angularjs
[21:55:52] <wafflejock_> SaintMoriarty: you can't do multiple statements in an ng-click
[21:56:06] <wafflejock_> SaintMoriarty: it expects an "expression" check out the ngClick docs and search angular expression to see what this means
[21:56:12] <e-dard> wafflejock_: I'm trying to do Parse.initialize('app_key', 'shared_secret'); I have Parse object available in a browser console (because it's loaded in script tag in index.html) but it's not available in controllers
[21:56:27] *** jtimon has joined #angularjs
[21:56:28] <SaintMoriarty> wafflejock_, even if I do just ng-click="rowform.$show()" it does not work
[21:56:51] <Strues> wafflejock: Thanks. If you still have it up, line 73 is giving me a TypeError: undefined is not a function
[21:57:02] <sal1191_> snurfery: this is true, thanks for that
[21:57:04] *** uf6667 has quit IRC
[21:57:27] <e-dard> wafflejock_: I've literally (1) created skeleton with yeoman; (2) added <script src="scripts/parse-1.2.19.min.js"></script> to index.html
[21:57:41] <wafflejock_> e-dard: need to see your full index.html
[21:57:52] *** fold has quit IRC
[21:58:18] <wafflejock_> Strues: nope nothing obvious also would need to see the code for that line to guess
[21:58:29] *** DrShoggoth has quit IRC
[21:58:46] <wafflejock_> e-dard: pastebin if you can't plunkr a sample of your problem in action
[21:58:48] <wafflejock_> ah k
[21:58:50] *** DrShoggoth has joined #angularjs
[21:59:12] <e-dard> wafflejock_: never heard of plunkr. I'm a backend engineer who's out of his depth with front-end stuff ;)
[21:59:27] *** Aartsie has quit IRC
[21:59:33] <snurfery> e-dard what language?
[21:59:34] <wafflejock_> e-dard: ah k there's a link in the IRC topic
[21:59:39] <snurfery> I'm backend too =)
[21:59:49] <e-dard> wafflejock_: line 48. In a browser I can see Parse object fine, but not in controllers
[21:59:59] <snurfery> now I'm bi-curious apparently
[21:59:59] <snurfery> haha
[22:00:02] <wafflejock_> e-dard: are you trying to run this out of the app folder or are you running a build?
[22:00:11] <e-dard> snurfery: mostly Go, historically Ruby, Python and Java
[22:00:17] <snurfery> kewl
[22:00:18] *** Nizumzen has quit IRC
[22:00:31] <e-dard> wafflejock_: ah.. I'm runnign grunt serve
[22:00:44] <e-dard> wafflejock_: do I need to do a full grunt build?
[22:00:44] <s3shs> I asked this earlier. Carousel from angular-ui is doing a dance when my page loads. How do I stop this insanity?
[22:00:51] <wafflejock_> hmm k I'm wondering if having it outside the build block is causing it not to be included
[22:00:55] *** waylon999 has quit IRC
[22:01:00] <snurfery> I'm a python/django nut personally
[22:01:23] *** tylerjohnst has joined #angularjs
[22:01:30] *** siddart has joined #angularjs
[22:01:33] <e-dard> snurfery: ah cool. I used Flask. Never really got into Django (have a massive distaste for Rails too)
[22:01:35] <wafflejock_> e-dard: the order looks okay on first glance at least, if you put a "debugger;" statement in the JS before the error and have the debug panel open Chrome will hit it as a breakpoint then you can see if the parse script has loaded
[22:01:40] *** phuh has quit IRC
[22:01:53] *** BillCris_ has joined #angularjs
[22:02:05] <e-dard> wafflejock_: no problems in Chrome (everything works fine) The problem is when I try to access Parse object in a controller
[22:02:06] *** phuh has joined #angularjs
[22:02:10] <wafflejock_> s3shs: believe you need to disable the ngAnimate stuff for the carousel if you google on disable nganimate you should find it
[22:02:15] *** Strues has quit IRC
[22:02:24] *** delerium_ has quit IRC
[22:02:25] <wafflejock_> e-dard: right I'm saying in the controller put a breakpoint using debugger;
[22:02:38] <wafflejock_> e-dard: then check out the network panel at that point in time and see what it loaded for that parse script
[22:02:49] <s3shs> wafflejock_, thanks for the tip.
[22:02:49] *** drej has joined #angularjs
[22:02:55] <wafflejock_> s3shs: yup np
[22:03:04] <wafflejock_> e-dard: sometimes these libraries do some async loading
[22:03:05] *** nemothekid has joined #angularjs
[22:03:12] <e-dard> ah right :-/
[22:03:15] <wafflejock_> e-dard: I wonder if it fetched the script in time but didn't load
[22:03:30] *** nemothekid has quit IRC
[22:03:42] <wafflejock_> e-dard: typically you can just wrap up async services in an angular service though and work it that way
[22:04:13] *** nemothekid has joined #angularjs
[22:04:47] *** cthrax has quit IRC
[22:05:18] *** BillCriswell has quit IRC
[22:05:31] <snurfery> e-dard: parse.View requires jquery
[22:05:47] <snurfery> and your script comes before the jquery include
[22:05:52] <e-dard> snurfery: not sure that's relevant. I have no problem doing what I need to do in the browser
[22:05:58] <s3shs> wafflejock_, I'm trying to figure out if what I really want is a manual control instead of overriding a bunch of css.
[22:05:59] <s3shs> :-)
[22:06:04] <sal1191_> snurfery: my timeline deletion button deletes all but the last element
[22:06:06] <e-dard> snurfery: the only time I have a problem is when I try to do stuff in a controller :)
[22:06:07] *** ppppaul has quit IRC
[22:06:14] <sal1191_> is there a chance I am using splice incorrectly?
[22:06:15] <e-dard> wafflejock_: I'll try and add a service
[22:06:19] <snurfery> oh mebbe I misunderstood what the issue is
[22:06:20] <snurfery> ah
[22:06:28] *** KernelCurry has joined #angularjs
[22:06:37] <e-dard> wafflejock_: no idea what a service is, but heh. :)
[22:06:38] <snurfery> can you give me a minimalist example of somethig you're trying to do in the controller?
[22:06:53] <snurfery> or if you already posted code, point me to a link
[22:07:07] <e-dard> snurfery: Parse.Initialize('foo', 'bar');
[22:07:11] *** jamps has quit IRC
[22:07:11] *** mettjus1 has quit IRC
[22:07:20] <snurfery> and is it saying that Parse is undefined or something?
[22:07:27] <e-dard> yup
[22:07:36] <snurfery> you're probably using strict mode
[22:07:36] <e-dard> but if I do it in the browser console it's fine
[22:07:42] <sal1191_> i am using $scope.deleteTimeline = function (index) { $scope.module.timelines = $scope.module.timelines.splice(index, 1) }
[22:07:46] *** RobinBAwesome has joined #angularjs
[22:07:53] *** daivyk has joined #angularjs
[22:07:59] *** patrickarlt has quit IRC
[22:08:18] *** ededagic has joined #angularjs
[22:08:25] *** Strues has joined #angularjs
[22:08:48] *** tmrudick has quit IRC
[22:09:27] *** cobakobodob has quit IRC
[22:09:39] *** whunt has joined #angularjs
[22:10:10] <wafflejock_> s3shs: honestly you might be better off rolling your own, the animation left right bits are tricky but if you want really tight control you might just want to use the bootstrap carousel as a reference and make your own... alternatively you can overridde the templates provided with ui-bootstrap
[22:10:26] <e-dard> snurfery: yeah that's what I'm using
[22:10:29] <snurfery> damn
[22:10:31] <snurfery> ok
[22:10:35] *** Johnny13371337 has joined #angularjs
[22:10:44] *** thomasreggi has joined #angularjs
[22:10:52] <s3shs> wafflejock_, this is more for a little wizard. I'm coding it myself in a little controller. I'm just about done with it already.
[22:11:27] <wafflejock_> kk actually gotta crank through some work here, will be back on later tonight
[22:11:33] <wafflejock_> CST
[22:11:44] <Strues> sure thing. appreciate your help
[22:11:55] <wafflejock_> np good luck everyone
[22:11:56] <snurfery> e-dard: did you declare 'parse-angular' as a dependency on your module?
[22:12:03] <e-dard> I did
[22:14:01] <snurfery> do any of your angular scripts have 'use strict'; at the top?
[22:14:17] <e-dard> snurfery: not unless yeoman put them there.
[22:14:17] *** delerium_ has joined #angularjs
[22:14:22] <snurfery> it might have
[22:14:41] <sal1191_> figured it out :D
[22:14:44] <e-dard> snurfery: looks like they do yes
[22:14:48] *** partikus has joined #angularjs
[22:14:56] <sal1191_> was using splice wrizzong
[22:14:57] *** cthrax has joined #angularjs
[22:14:58] <snurfery> e-dard: I'm not totally sure about this, but try commenting them out
[22:15:01] *** lite_ has quit IRC
[22:15:04] <snurfery> sal1191_: nice.
[22:15:09] <snurfery> good find
[22:15:11] <sal1191_> caused a recursive splice
[22:15:38] <snurfery> sal1191_: what was the correct way to do it?
[22:15:38] *** lite_ has joined #angularjs
[22:15:39] <e-dard> snurfery now grunt serve complains about them being missing
[22:15:53] *** dazs has quit IRC
[22:15:55] <snurfery> does it run still?
[22:15:56] <snurfery> =)
[22:16:12] <sal1191_> snurfery: I actually redid my delete function so it takes the timeline object instead of the index so i didnt have to use $index directly
[22:16:19] <sal1191_> <a ng-click="deleteTimeline(timeline)">
[22:16:27] <sal1191_> and then my deleteTimeline function
[22:16:41] *** ftwordrin has joined #angularjs
[22:16:55] <sal1191_> just does, { var index = $scope.module.timelines.indexOf(timeline); $scope.module.timelines.splice(index, 1); }
[22:17:17] *** Matt_Ricketts has quit IRC
[22:18:27] <ftwordrin> I'm trying to setup my test suite (jasmine) for one of my controllers that uses a factory to obtain it's properties. What's the best practice for testing that my controller obtains the properties it expects to be defined from the factory? Should I set up tests for the factory and then mock the data in the controller tests?
[22:18:31] *** Nek has joined #angularjs
[22:18:49] *** lw has quit IRC
[22:18:59] <snurfery> e-dard: alternatively you can inject $window and refer to Parse as $window.Parse
[22:19:15] *** Matt_Ricketts has joined #angularjs
[22:19:27] *** bweston has joined #angularjs
[22:19:27] *** lancero has joined #angularjs
[22:19:35] <e-dard> snurfery: to be honest I don't really understand the design decision to not have a single "init" place in an angular app :-p
[22:19:39] *** dutis has joined #angularjs
[22:19:47] *** lite_ has quit IRC
[22:19:48] <snurfery> the explanation being that I believe 'use strict' is stopping angular from seeing the global Parse variable
[22:20:29] <e-dard> snurfery: ah yes!!!!!
[22:20:42] <snurfery> e-dard: angular has more of a concept of init 'stages' or more commonly known as its bootstrap process
[22:21:01] <e-dard> snurfery: I commented out use strict. Got rid of the piece of shit that is jshint and everything works! console.log(Parse) in controller comes out :)
[22:21:18] *** scmx has quit IRC
[22:21:34] <nickeddy> e-dard: you should be doing 'use strict'; though
[22:21:38] <snurfery> e-dard: that's cool, though there is a lot of value to keeping use strict in there
[22:21:42] <nickeddy> ^
[22:21:55] <snurfery> now that we know that's the problem, let's work around it =)
[22:21:57] <e-dard> OK, well would love to figure out how to get this working "properly' :)
[22:21:59] <nickeddy> generally doing hacky shit is bad, and use strict keeps you from doing them :p
[22:22:05] *** bosphorus has joined #angularjs
[22:22:12] <snurfery> can you try the $window thing I suggested?
[22:22:20] *** alinou has quit IRC
[22:22:20] <e-dard> ok
[22:22:26] *** dazs has joined #angularjs
[22:22:44] *** nanoyak has joined #angularjs
[22:23:32] <MacWinner> does $http use jquery in the background?
[22:23:41] <MacWinner> if jquery is present..
[22:23:52] *** KernelCurry has quit IRC
[22:23:54] *** mettjus has joined #angularjs
[22:24:15] *** dkenzik has joined #angularjs
[22:24:15] *** dutis has quit IRC
[22:24:35] <Inge-_> I thought it only used jquery for finding elements and stuff
[22:24:52] *** ccohn_ has quit IRC
[22:25:01] *** vbabiy has quit IRC
[22:25:05] *** ccohn has joined #angularjs
[22:25:19] *** dve has quit IRC
[22:25:32] *** DrMabuse_ has joined #angularjs
[22:25:46] <MacWinner> Inge-_, i was looking at the timeline in chrome tools, and it seems to indicate the call to send request was from jquery..
[22:25:47] *** MANCHUCK has quit IRC
[22:26:01] *** MANCHUCK has joined #angularjs
[22:26:46] *** darrin has joined #angularjs
[22:26:52] *** Limix has joined #angularjs
[22:26:58] *** Gambit- has quit IRC
[22:26:58] *** recidive has quit IRC
[22:27:12] *** dve_ has joined #angularjs
[22:27:34] *** bsmithga_ has quit IRC
[22:27:36] <e-dard> snurfery: do I declare the $window service as a dependecy of my controller?
[22:27:48] <e-dard> (reading up waht injecting $window means(
[22:27:49] *** edzez has quit IRC
[22:28:07] *** KernelCurry has joined #angularjs
[22:28:16] *** edzez has joined #angularjs
[22:28:21] *** drej has quit IRC
[22:28:28] *** robdubya has joined #angularjs
[22:28:41] *** Jrichardson has joined #angularjs
[22:29:00] *** Aliks_ has joined #angularjs
[22:29:01] *** mguillech has quit IRC
[22:29:09] <Cixis> egads. any one else see the apirary for teams email?
[22:29:09] <snurfery> e-dard: check it
[22:29:15] <ftwordrin> MacWinner: all of angular is open source, you can check
[22:29:28] <snurfery> that's a pretty sexy set of examples right there, if I do say so myself
[22:29:38] *** DrMabuse_ has quit IRC
[22:29:51] *** jonnybro has joined #angularjs
[22:30:13] <snurfery> that code might be distributed amongst different files... some in app.js, some in main.js, etc
[22:30:34] *** dylukes has joined #angularjs
[22:30:35] *** gnrlbzik has joined #angularjs
[22:32:24] *** gnrlbzik has quit IRC
[22:32:24] *** gnrlbzik_ has joined #angularjs
[22:32:25] *** KernelCurry has quit IRC
[22:32:31] *** fold has joined #angularjs
[22:32:32] *** howzus has joined #angularjs
[22:33:32] *** apetro_ has joined #angularjs
[22:33:32] <e-dard> snurfery: cool. I'm trying the service approach now. Thanks so mucj
[22:33:33] *** Dchen has quit IRC
[22:33:35] <Strues> Probably a stupid question, given this " $scope.application = function(form) {
[22:33:35] <Strues> $scope.submitted = true;
[22:33:35] <Strues> if(form.$valid) {
[22:33:36] <Strues> create.newApplication({" Im getting an error regarding the create.newapplication line telling me its not defined. Where could I define it so that it posts the form to my mongo?
[22:33:37] *** tfennelly has joined #angularjs
[22:33:40] *** mrded has quit IRC
[22:34:44] *** bsmithgall has joined #angularjs
[22:34:53] <homework1> Having a weird glitch in my app. I upgraded to Angular 1.2 and now I can't click on my checkboxes unless I move my mouse to the right edge of the box. Any idea why this would happen?
[22:34:55] *** nemothek_ has joined #angularjs
[22:34:57] *** hugorodrigues has quit IRC
[22:35:02] *** waylon999 has joined #angularjs
[22:35:04] <homework1> I am using a custom checkbox directive but its nothing crazy
[22:35:31] *** howzus has quit IRC
[22:36:00] *** cobakobodob has joined #angularjs
[22:36:17] *** vbabiy has joined #angularjs
[22:36:43] <e-dard> snurfery: woooo got it working!
[22:36:49] *** DrMabuse has quit IRC
[22:37:04] *** gnrlbzik_ has quit IRC
[22:37:11] <snurfery> e-dard: yeeeeah
[22:38:08] <e-dard> snurfery: in console I now have window.Parse and Parse; I guess Anuglar will affect the window.Parse one right/
[22:38:21] *** ericrav has quit IRC
[22:38:51] *** nanoyak has quit IRC
[22:38:54] *** enigmarm has joined #angularjs
[22:38:54] *** charuru has joined #angularjs
[22:38:59] *** nemothekid has quit IRC
[22:39:08] *** ingshtrom has quit IRC
[22:39:10] <dkenzik> hmmm... before i create a sandbox to debug/illustrate, has anyone encountered problems closing alerts with ui-bootstrap? the event is fireing, per $log, but the alert remains visible in the dom.
[22:39:20] *** encrypt3d_fracti has quit IRC
[22:39:25] <snurfery> Parse (the global) is the same as window.Parse
[22:39:33] <snurfery> 'window' is the global namespace
[22:39:33] *** Strues has quit IRC
[22:39:47] <homework1> Here's a plunk of my weird glitch with my checkbox directive
[22:40:00] <homework1> I didn't write this. I inherited this at my job
[22:40:02] <e-dard> snurfery: ah cool ok
[22:40:27] *** phrozensilver has joined #angularjs
[22:41:59] *** DrShoggoth has quit IRC
[22:42:04] *** Bade has quit IRC
[22:42:41] <dkenzik> err, angular-boostrap... gah. beer debugging!
[22:42:56] *** decached has left #angularjs
[22:43:11] *** decached has joined #angularjs
[22:43:28] *** whunt has left #angularjs
[22:43:30] <ftwordrin> homework1: I don't think that's the right plunk, didn't even have a chkbox
[22:44:03] *** phrozensilver1 has joined #angularjs
[22:44:07] *** enomar has joined #angularjs
[22:44:19] <enomar> Hello?
[22:44:27] *** tmrudick has joined #angularjs
[22:44:40] <decached> I am using ui-router. How do I show a view (404.html) instead of redirecting using $urlRouterProvider.otherwise()
[22:44:47] *** jobelenus has quit IRC
[22:45:06] *** enomar has quit IRC
[22:45:08] <decached> I want the url to be as it is and simply show a 404
[22:45:15] <decached> I want the url to be as it is and simply show a 404.html
[22:45:46] *** henn1nk has joined #angularjs
[22:45:58] *** s3shs has quit IRC
[22:46:04] *** phrozensilver has quit IRC
[22:46:09] *** Notte has joined #angularjs
[22:47:11] *** decached has left #angularjs
[22:47:55] <dkenzik> decached - intercept $stateChangeError
[22:47:57] *** vader has quit IRC
[22:47:58] *** bsmithgall has quit IRC
[22:48:04] *** Matt_Ricketts has quit IRC
[22:48:13] *** jonnybro has quit IRC
[22:48:40] *** henn1nk has quit IRC
[22:48:54] *** Matt_Ricketts has joined #angularjs
[22:48:57] *** bsmithgall has joined #angularjs
[22:49:10] *** makeable_ has joined #angularjs
[22:49:20] *** DrMabuse has joined #angularjs
[22:51:13] *** retzloff has quit IRC
[22:51:24] *** KernelCurry has joined #angularjs
[22:51:45] *** Limix has quit IRC
[22:51:51] <merpnderp> snurfery: I get what you're saying, but for stupid little one-liner functions it seems appropriate. And it still isn't working for any of us (now there's another dev trying to figure it out).
[22:53:05] *** akrikos has quit IRC
[22:53:07] *** vbabiy has quit IRC
[22:53:14] *** jonnybro has joined #angularjs
[22:53:33] *** makeable_ has quit IRC
[22:53:35] <snurfery> merpnderp: let's see the code
[22:53:38] *** SpearThruster has quit IRC
[22:53:42] *** Limix has joined #angularjs
[22:53:59] *** spencercarnage has quit IRC
[22:54:16] *** FIFOd[a] has quit IRC
[22:54:47] <ishi> grr... I'm trying to make this plunk with ui-router work...
[22:55:19] *** dreb has joined #angularjs
[22:55:54] *** Gambit- has joined #angularjs
[22:55:59] *** bbankes has quit IRC
[22:56:05] *** MetalMatze has joined #angularjs
[22:56:11] *** MetalMatze has quit IRC
[22:56:11] *** bosphorus has quit IRC
[22:56:11] *** jsoverson has joined #angularjs
[22:56:28] <dreb> I'm trying to scope a variable inside a directive link, is this possible?
[22:56:55] *** IanOlson has joined #angularjs
[22:56:57] <homework1> Hey ftwordrin sorry about that it was living in a separate template file
[22:57:01] *** whunt has joined #angularjs
[22:57:03] <homework1> fixed
[22:57:13] *** SpearThruster has joined #angularjs
[22:57:24] <ishi> First, I tried to change my code to use whatever is there, but I hit a wall... Thus my first question: how can I debug js applications? Can I enable trace logging, or something like this?
[22:57:29] *** mattwynne has quit IRC
[22:57:47] <ishi> I know that the $state.go() method is invoked, but that's all
[22:57:51] *** Cavallari1 has quit IRC
[22:58:03] *** KernelCurry has quit IRC
[22:58:04] <ishi> the page is blank and nothing on console
[22:58:08] *** Notte has quit IRC
[22:58:16] *** mattwynne has joined #angularjs
[22:58:30] *** dkenzik has quit IRC
[22:58:40] *** Grokling_ has joined #angularjs
[22:58:58] *** tmrudick has quit IRC
[22:59:23] <snurfery> ishi: I don't see any code, did you hit 'save'?
[22:59:38] <snurfery> press save then paste the new link plz
[22:59:48] *** poeticninja has quit IRC
[22:59:54] <ishi> well... it's not even my plunk
[23:00:05] *** katsh has quit IRC
[23:00:10] *** encrypt3d_fracti has joined #angularjs
[23:00:15] <snurfery> ..?
[23:00:17] *** waylon999 has quit IRC
[23:00:20] <ishi> oh... blah... you are right
[23:00:30] *** s3shs has joined #angularjs
[23:00:31] <ishi> sorry... clipboard ;)
[23:00:45] * snurfery is pacing
[23:00:55] *** nemothek_ has quit IRC
[23:00:57] <snurfery> the anticipation
[23:01:08] <ishi> plnkr.co/edit/tpl:HFHN76Qtc0zGdflOSb?p=preview
[23:01:21] *** waylon999 has joined #angularjs
[23:01:23] <ishi> sorry... I wanted to make sure it's the correct one this time
[23:01:38] <snurfery> did you hit save?
[23:01:39] *** IanOlson has quit IRC
[23:01:44] *** phuh has quit IRC
[23:02:08] *** phuh has joined #angularjs
[23:02:09] *** danizord has quit IRC
[23:02:24] *** tgkokk has quit IRC
[23:02:30] <ishi> sorry... :(
[23:02:51] *** Reskp has joined #angularjs
[23:02:54] <ishi> does it show now?
[23:02:59] <snurfery> yeah
[23:03:17] <snurfery> what do I have to do to see the problem? I see Foo List and a list of elements
[23:03:37] <ishi> naah.... there is no problem with this one
[23:03:46] *** patrickarlt has joined #angularjs
[23:03:52] <ishi> it's not mine... I wanted to create something similar
[23:03:59] <ishi> however, mine doesn't render at all
[23:04:18] <ishi> and I was wondering if you could give me some pointers as to how to find out what's wrong...
[23:04:23] <ishi> there are no errors on console
[23:04:27] *** hugorodrigues has joined #angularjs
[23:04:34] <ishi> nothing, in fact...
[23:04:38] *** ngbot has joined #angularjs
[23:04:38]
<ngbot> [angular.js] petebacondarwin pushed 3 new commits to master: http://git.io/fo04fw
[23:04:38] <ngbot> angular.js/master c6c9d26 Steve Purcell: fix(ngList): use custom separators for re-joining list items...
[23:04:38] <ngbot> angular.js/master 8d18d20 Peter Bacon Darwin: feat(ngList): use ngTrim to manage whitespace handling when splitting...
[23:04:38] <ngbot> angular.js/master d181726 Peter Bacon Darwin: test(ngList): add protractor test to example
[23:04:38] *** ngbot has left #angularjs
[23:05:05] <ishi> I added $log.info('xxx') just before the $scope.go(...) method and this one shows
[23:05:09] <ishi> but nothing else is called
[23:05:30] *** mattwynne has quit IRC
[23:05:52] *** spencercarnage has joined #angularjs
[23:06:03] *** mattwynne has joined #angularjs
[23:06:08] *** upsell5 has quit IRC
[23:06:19] *** mattwynne has quit IRC
[23:06:22] <snurfery> I was asking to see your nonworking code
[23:06:24] *** patrickarlt has quit IRC
[23:06:43] *** phrozensilver has joined #angularjs
[23:06:47] *** Ethix has joined #angularjs
[23:06:53] *** BillCris_ has quit IRC
[23:06:53] *** quartzmo has left #angularjs
[23:06:54] *** mattwynne has joined #angularjs
[23:06:56] *** darrin has quit IRC
[23:07:00] *** phrozensilver1 has quit IRC
[23:07:17] *** mattwynne has quit IRC
[23:07:23] <supermassiv> anyone have any good references for managing authentication while using ui-router? have something in mind, just checking around still
[23:07:29] *** mac_ified has joined #angularjs
[23:07:49] *** mattwynne has joined #angularjs
[23:08:11] <ishi> snurfery: well... I have a problem with this one as well
[23:08:16] *** nemothekid has joined #angularjs
[23:08:23] <ishi> snurfery: I tried to download it, but it looks different when I run it
[23:08:51] *** AndyFTP has joined #angularjs
[23:08:59] <ishi> probably css, but I couldn't find bower package for twitter-bootstrap
[23:09:01] *** gordroid_ has quit IRC
[23:09:03] *** dylukes has quit IRC
[23:09:39] <snurfery> looks like you have some stuff to work through to narrow down what you're asking
[23:09:45] *** mattwynne has joined #angularjs
[23:09:46] *** tmrudick has joined #angularjs
[23:09:58] <ishi> snurfery: I'm pretty sure what I'm asking
[23:10:05] <ishi> snurfery: how do I go about debuging application?
[23:10:06] <ishi> :)
[23:10:14] *** s3shs has quit IRC
[23:10:17] <snurfery> look in the console for errors
[23:10:19] <ishi> is there a way to increase logging level or something like this?
[23:10:22] <ishi> snurfery: there are none
[23:10:28] <snurfery> if that doesn't work, add console.log statements throughout your app
[23:10:31] <merpnderp> snurfery: <button class="btn btn-default" ng-click="selectedCategory = category; showSuccess = false; $('#UpdateCategoryModal').modal('show');" style="margin-right:25px;">Edit</button>
[23:10:38] <ishi> snurfery: I did...
[23:10:52] <icfantv> does angular fire an event after it's done doing all the {{ }} replacements?
[23:10:53] <snurfery> if that doesn't work, put your nonworking code in a public place like plunkr so other people can look
[23:10:54] <ishi> and the only thing I see is the one I added just before invoking $scope.go(...)
[23:10:58] <icfantv> if so, what's the name?
[23:11:26] <snurfery> ishi: so let's see your nonworking code, as-is, in plunkr or a similar code service
[23:11:44] <ishi> snurfery: I'd like to be able to find so basic problems ... :(
[23:11:45] *** arrty has quit IRC
[23:11:51] *** phrozensilver has quit IRC
[23:11:59] *** tarnus has quit IRC
[23:12:23] *** arrty has joined #angularjs
[23:12:35] *** JasonStoltz has quit IRC
[23:12:59] <ishi> I'll have a look... with this plunkr, I have to copy and paste it one by one... it's maddening and I'm more likely than not to end up with something which is more different from what I have originally than my code from the one in the example
[23:13:03] <ishi> :)
[23:13:04] *** mattwynne has quit IRC
[23:13:10] *** tarkus has quit IRC
[23:13:17] <snurfery> merpnderp: that's a lotta stuff in ng-click
[23:13:19] *** bchoate has joined #angularjs
[23:13:23] *** tarkus has joined #angularjs
[23:13:36] *** Sauvin has joined #angularjs
[23:13:38] *** mattwynne has joined #angularjs
[23:14:25] *** mchapman has quit IRC
[23:14:28] *** mattwynne has joined #angularjs
[23:14:43] <snurfery> merpnderp: be generous with your code. i.e. post more of it
[23:14:45] *** mattwynne has quit IRC
[23:14:52] <snurfery> I don't wanna ask for it line by line haha
[23:14:59] <snurfery> "can you show me line 13?" ;)
[23:15:03] *** KernelCurry has joined #angularjs
[23:15:18] *** mattwynne has joined #angularjs
[23:15:49] *** lite_ has joined #angularjs
[23:16:05] *** lsiv568 has quit IRC
[23:16:18] *** arrty has quit IRC
[23:16:45] <snurfery> ishi: you can point to a github repo, or a webpage, or upload the files directly to gist.github.com rather than copy/pasting
[23:16:50] *** michaelm has joined #angularjs
[23:16:59] *** BlinkyBill has joined #angularjs
[23:17:01] *** vbabiy has joined #angularjs
[23:17:41] <snurfery> icfantv: I think it's related to the $digest cycle
[23:17:51] *** badon_ has quit IRC
[23:17:51] <robdubya> today is the day i say goodbye to native iOS for-ev
[23:17:52] <robdubya> a
[23:18:16] <robdubya> all bluetooth circuits operational. victory is mine
[23:18:23] *** AndyFTP has quit IRC
[23:18:33] *** badon_ has joined #angularjs
[23:18:41] *** badon_ is now known as badon
[23:18:48] <icfantv> snurfery: so is there a way to say $scope.on('whenYouAreDone', function() {})?
[23:19:51] *** waylon999 has quit IRC
[23:19:53] <ishi> snurfery: sorry... had to import it to github
[23:20:09] *** ftwordrin has quit IRC
[23:20:12] *** lite_ has quit IRC
[23:21:21] *** Willow_ has quit IRC
[23:21:27] *** mennea has quit IRC
[23:21:35] *** dve_ has quit IRC
[23:21:35] *** bmac has quit IRC
[23:21:48] *** Willow_ has joined #angularjs
[23:21:57] *** Jdubs has quit IRC
[23:22:02] *** Adrian__ has quit IRC
[23:22:11] *** dve has joined #angularjs
[23:22:22] *** Willow_ has quit IRC
[23:22:39] *** Willow_ has joined #angularjs
[23:22:43] *** mccarrontr1ck has quit IRC
[23:23:02] *** sigurding has joined #angularjs
[23:23:10] *** jsoverson has quit IRC
[23:23:20] *** jonnybro has quit IRC
[23:23:27] <snurfery> icfantv: uh, every time? it does that __a lot__
[23:23:41] *** Johnny13371337 has left #angularjs
[23:23:55] *** vbabiy has quit IRC
[23:24:02] <nickeddy> robdubya: how are you doing it now
[23:24:25] *** mpaarating has quit IRC
[23:24:31] *** dc has quit IRC
[23:24:32] <icfantv> so i think i'm going about this the wrong way
[23:24:34] <snurfery> icfantv: can you explain what you're trying to do at a higher level? what're you trying to accomplish?
[23:24:35] *** bweston has quit IRC
[23:24:42] <icfantv> yes, gladly
[23:24:42] *** tarnus has joined #angularjs
[23:24:58] *** bphogan is now known as bphogan_afk
[23:25:02] *** teeray has quit IRC
[23:25:04] *** DrShoggoth has joined #angularjs
[23:25:32] *** partikus has quit IRC
[23:25:42] *** no1uknow has quit IRC
[23:25:45] <icfantv> in my child controller i want to do a $scope.emit('snoopy') and in the parent do something when that event is fired. so i think i can just do a $scope.on('snoopy', function () {})
[23:25:56] *** linojon has quit IRC
[23:26:15] <icfantv> long story short, i have to make a table take up the full height of the remaining space in our page
[23:26:16] *** spencercarnage has quit IRC
[23:26:18] *** DrMabuse_ has joined #angularjs
[23:26:31] <icfantv> and i have jquery code to set all that correctly on a resize event
[23:26:38] *** Willow_ has quit IRC
[23:26:38] *** dve has quit IRC
[23:26:40] <icfantv> and all that works.
[23:26:46] *** AndyFTP has joined #angularjs
[23:26:51] <snurfery> ishi: none of your states have urls
[23:26:52] *** dreb has quit IRC
[23:26:53] *** partikus has joined #angularjs
[23:26:55] <icfantv> but for the initial page load, a resize event is not fired
[23:27:04] *** jsoverson has joined #angularjs
[23:27:04] *** CodeFriar has joined #angularjs
[23:27:05] *** Aswebb has quit IRC
[23:27:08] *** jstroem has quit IRC
[23:27:09] <icfantv> er, the code executed by a resize event isn't executed
[23:27:12] *** partikus has left #angularjs
[23:27:32] <ishi> snurfery: blah... I tried with... must have lost this version when I was publishing it to github
[23:27:34] <icfantv> and i need to manually do it once after the template is loaded and the grid is populated.
[23:27:35] <ishi> :(
[23:27:37] <enigmarm> Anyone used Phonegap Build?
[23:27:42] <ishi> snurfery: it doesn't make much of a diff
[23:27:43] *** Sebastien-L has quit IRC
[23:27:45] <snurfery> ishi: i.e. .state('mdConApp', {templateUrl: 'whatever.html', controller: 'whateverCtrl', url: '/'})
[23:27:58] *** dc has joined #angularjs
[23:28:00] *** waylon999 has joined #angularjs
[23:28:03] *** feelfine has quit IRC
[23:28:03] *** kvnm has quit IRC
[23:28:04] <snurfery> ishi: pretty sure it makes all the difference
[23:28:07] *** BlinkyBill has quit IRC
[23:28:21] *** lw has joined #angularjs
[23:28:32] <ishi> snurfery: ok, I'll try again *with* url
[23:28:46] <ishi> I'm sure I did... :)
[23:28:51] <ishi> thanks... perhaps I'm just tired
[23:30:02] *** CodeFriar has quit IRC
[23:30:13] <snurfery> icfantv: ok, in the controller for your page, after everything else is done
[23:30:15] *** pizzza is now known as crispus
[23:30:17] *** JimTheDev has quit IRC
[23:30:24] *** TorchDragon has quit IRC
[23:30:37] *** DrMabuse_ has quit IRC
[23:31:02] <snurfery> $timeout(function() { whateverFunctionDoesTheGridStuff();}, 0);
[23:31:19] <snurfery> (you'll need to inject $timeout into your controller of course)
[23:31:33] *** doodlehaus has quit IRC
[23:31:43] <snurfery> that's it, it should do exactly what you need
[23:32:28] <icfantv> i remember the $timeout solutions, but they always seemed hacky
[23:32:35] <snurfery> $timeout waits until all currently running $digest cycles finish (i.e. angular is done messing with data/the dom) before running its code
[23:32:40] <icfantv> we're using $resource instead of $http
[23:32:48] *** Siecje2 has left #angularjs
[23:32:52] <icfantv> so IDEALLY, it would be on .success
[23:33:00] <icfantv> but that's not exposed, i don't believe
[23:33:00] <snurfery> icfantv: this is actually kind of the perfect use case for using it
[23:33:03] <ishi> snurfery: still the same :(.... I also taken out the fluid content div outside the container (now I have just one div in <body> --- like in the example)
[23:33:08] *** gnrlbzik has joined #angularjs
[23:33:12] <ishi> no luck
[23:33:17] *** Schrodinger`Cat has joined #angularjs
[23:33:24] <icfantv> snurfery: but what if the REST call is slow
[23:33:27] <snurfery> icfantv: then use it inside of your .then() function
[23:33:59] <icfantv> snurfery: not sure where that function is exposed
[23:34:15] <snurfery> .then(function(data) { $timeout(function() { whateverFunctionDoesTheGridStuff(); }, 0); });
[23:34:34] <snurfery> it looks better with newlines ;)
[23:35:11] <icfantv> sorry, i wasn't clear
[23:35:24] <icfantv> on what object do i call .then(…)
[23:35:47] <icfantv> our $resource is in our service and we don't even expose the query function
[23:35:50] *** Jdubs has joined #angularjs
[23:36:01] <icfantv> i suppose i could...
[23:36:04] <snurfery> your service returns something right?
[23:36:13] *** morenoh150 has quit IRC
[23:36:47] *** whunt_ has joined #angularjs
[23:36:50] *** jamto11 has quit IRC
[23:37:20] *** AlSquire has quit IRC
[23:37:49] <snurfery> ishi did you push to git so I can see the changes you made?
[23:37:51] *** gnrlbzik has quit IRC
[23:38:09] *** Drako_ has quit IRC
[23:38:27] <snurfery> showing your code is an ongoing process yo
[23:38:31] <snurfery> =)
[23:38:40] *** lw has quit IRC
[23:38:58] *** feelfine has joined #angularjs
[23:39:18] *** whunt has quit IRC
[23:39:30] <icfantv> snurfery: yes
[23:39:45] *** Notte has joined #angularjs
[23:40:09] *** yoshokatana has quit IRC
[23:40:15] *** ccohn has quit IRC
[23:40:18] <ishi> snurfery: :)
[23:40:21] <ishi> ok, will do :)
[23:40:32] *** upsell5 has joined #angularjs
[23:40:37] *** adebabs has joined #angularjs
[23:41:47] *** spencercarnage has joined #angularjs
[23:41:51] *** sigurding has quit IRC
[23:42:10] *** discipolo has quit IRC
[23:42:55] *** Cydmax has quit IRC
[23:43:55] *** Notte has quit IRC
[23:44:07] *** jsoverson has quit IRC
[23:44:43] *** dcherman2 has quit IRC
[23:45:01] *** Notte has joined #angularjs
[23:45:13] *** adebabs has quit IRC
[23:45:17] <reduce> if i have the chrome javascript cpu per monitor running while i use my app, and it says the cpu was idle for 97.79% of the time, does that mean my app is performant?
[23:45:33] *** jordandotdev has quit IRC
[23:46:16] <icfantv> my $emit and $on "worked" in that the event was fired and received (yay, i proved angular works) but the height resize code didn't work. this makes me think the div wasn't shown yet, or something.
[23:46:27] <ishi> snurfery: pushed
[23:46:38] *** jeffisabelle has quit IRC
[23:47:20] *** jsoverson has joined #angularjs
[23:47:39] <snurfery> still going $emit and $on eh?
[23:48:49] <icfantv> no, didn't work
[23:48:56] <icfantv> i'm using ng-show
[23:49:19] *** Grokling__ has joined #angularjs
[23:49:20] *** szymek_ has quit IRC
[23:49:27] <icfantv> and stepping through the debugger revealed that the div wasn't visible yet and apparenlty setting the height doesn't work on that.
[23:49:45] <icfantv> in real-time….in debugger time, it works because i'm going through slowly
[23:49:50] <snurfery> so
[23:50:00] <snurfery> in your function that's messing with the height
[23:50:03] <snurfery> are you using jquery?
[23:50:06] *** prikk has quit IRC
[23:50:09] <ishi> is there a way to *not* start a browser on bower serve?
[23:50:16] <ishi> it's @#$@# annoying...
[23:50:20] *** KendrickVT has joined #angularjs
[23:50:31] <icfantv> yes
[23:50:37] <icfantv> snurfery: yes
[23:50:42] *** BillCriswell has joined #angularjs
[23:50:46] *** nanoyak has joined #angularjs
[23:50:52] <snurfery> icfantv: wrap whatever you're doing in $timeout
[23:50:54] *** amargherio has quit IRC
[23:50:54] *** homework1 has quit IRC
[23:51:00] <icfantv> yea, ok
[23:51:01] <snurfery> seriously tho
[23:51:03] <snurfery> haha
[23:51:05] *** AndyFTP has quit IRC
[23:51:06] <icfantv> heh
[23:51:07] *** KendrickVT has left #angularjs
[23:51:41] *** XoRoN has joined #angularjs
[23:51:52] *** zumba_addict has quit IRC
[23:52:17] *** Reskp has quit IRC
[23:53:10] *** morenoh150 has joined #angularjs
[23:53:19] <ishi> snurfery: I added new logging statements, the config is read correctly (nav.json, I mean)
[23:53:29] <davek> Anyone have a bright idea for creating unique asset ids? I'm thinking just base36 encode the userId + time then postfix with the variant?
[23:53:39] *** spencercarnage has quit IRC
[23:54:06] *** greg5gre_ has quit IRC
[23:54:08] *** dcherman has joined #angularjs
[23:54:29] *** imehesz1 has quit IRC
[23:55:31] *** Willow_ has joined #angularjs
[23:55:51] *** bphogan_afk is now known as bphogan
[23:56:01] <ishi> davek: if it's persisted to a db, why not let it worry about ids?
[23:56:05] *** livingstn has quit IRC
[23:56:22] *** AndyFTP has joined #angularjs
[23:56:23] *** slash77 has quit IRC
[23:56:30] *** Jrichardson has quit IRC
[23:56:31] *** lw has joined #angularjs
[23:56:37] <felixn> davek: eh? are you talking about static files or user uploaded files?
[23:56:52] *** bosphorus has joined #angularjs
[23:56:53] *** phrozensilver has joined #angularjs
[23:56:55] *** BillCris_ has joined #angularjs
[23:57:00] <ishi> oh... I understood 'asset' differently
[23:57:01] <ishi> sorry
[23:57:06] *** thomasreggi has quit IRC
[23:57:06] <felixn> ishi: lol I dunno either
[23:57:08] <icfantv> snurfery: ok this is weird. i have the timeout set to 5ms and it works. it's almost like the events are not asynchronous
[23:57:19] *** XoRoN has quit IRC
[23:57:35] *** [n0b0dy] has quit IRC
[23:57:45] *** [n0b0dy] has joined #angularjs
[23:57:46] *** Jrichardson has joined #angularjs
[23:57:58] *** broski has joined #angularjs
[23:58:04] *** BillCriswell has quit IRC
[23:58:11] *** Gambit- has quit IRC
[23:58:50] *** bosphorus has quit IRC
[23:59:03] *** bosphorus has joined #angularjs
[23:59:39] *** TehShrike|Work has quit IRC
[23:59:49] *** BillCriswell has joined #angularjs