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

Toggle Join/Part | bottom
[00:00:00] *** Tidwell has quit IRC
[00:00:03] *** dcherman2 has quit IRC
[00:00:18] <zelrik> yeah I am sure it s bad code
[00:00:39] *** texinwien_ has joined #angularjs
[00:00:54] *** ustunozgur has joined #angularjs
[00:01:34] <cthrax> jonashw, is this still odd? This is much closer to what I'm doing.
[00:01:35] <zelrik> I am actually interested by a clean way to do it
[00:01:35] <cthrax> http://plnkr.co/edit/LGhdfvCvhYNqkEZLPVED?p=preview
[00:01:45] <cthrax> zelrik, me too! :)
[00:01:48] <texinwien_> is there a way to ng-repeat every x items? For instance, to put 3 items on one row, then start a new row?
[00:02:04] *** roymiloh has quit IRC
[00:02:26] <robdubya> cthrax http://plnkr.co/edit/LZUEVcm9TUUqa8Xh57HK?p=preview
[00:02:56] *** jpiasetz has quit IRC
[00:02:58] <jonashw> texinwien_, you could just break rows when $index % x == 0
[00:03:03] *** justinob_ has quit IRC
[00:03:08] <jonashw> with ng-if
[00:03:31] *** hannesvdvreken has quit IRC
[00:03:36] <texinwien_> jonashw: I'd prefer to use a <div> element to contain each row
[00:03:53] *** basichash has joined #angularjs
[00:03:55] <jonashw> you could instead partition your array before looping
[00:03:57] <robdubya> texinwien_ filter is your best bet
[00:04:01] <robdubya> or that
[00:04:10] <cthrax> robdubya, looking...
[00:04:12] <basichash> Is there a drag/drop library for angular?
[00:04:27] *** jbourassa has quit IRC
[00:04:32] <robdubya> cthrax there's about a million ways to do whatever, but note the lack of $q.defer
[00:04:37] *** cphil has quit IRC
[00:04:43] *** zumba_addict has quit IRC
[00:04:58] <zelrik> robdubya, how would you stop the chain without a $q.defer though
[00:05:26] <texinwien_> robdubya, jonashw: thanks - I'd considered those but was hoping for a built-in, configurable solution
[00:05:28] <cthrax> robdubya, noted, it seems odd to me, and maybe that's what I'm missing, that you would pass a promise to a then
[00:05:47] <texinwien_> Something a designer could configure rather than something I'd need to code
[00:05:47] *** metakungfu has quit IRC
[00:05:50] <jonashw> texinwien_, as far as I know, there isn't one
[00:06:00] <texinwien_> figured that might be the case. Thanks...
[00:06:08] <robdubya> zelrik you shouldn't ever have to do it
[00:06:12] <robdubya> that's the beauty of promises
[00:06:24] <jonashw> texinwien_, however, what you want could also be achieved with a CSS grid system
[00:06:43] <robdubya> cthrax is request 2 dependent on something from request 1?
[00:06:43] <jonashw> with bootstrap 3 you can just change the classes on the repeated item to get different row sizes
[00:06:47] *** winsyee has joined #angularjs
[00:06:58] *** fedenunez has quit IRC
[00:07:01] *** krawek has quit IRC
[00:07:04] <zelrik> robdubya, well I just read you could return $q.reject('error message')
[00:07:05] <jonashw> texinwien_, bootstrap 3: ie. col-md-4 will give you 3 items per row
[00:07:12] <cthrax> robdubya, request 2 is dependent insomuch if request 1 fails, request 2 should not happen
[00:07:18] *** encryptd_fractl has quit IRC
[00:07:25] <texinwien_> jonashw: thanks, will consider that option. I've used that method before, as well.
[00:07:32] <zelrik> in practice I never used it though
[00:07:44] <robdubya> zelrik in this case, $http is already returning promises
[00:07:49] *** sdouglas has quit IRC
[00:07:54] *** encryptd_fractl has joined #angularjs
[00:07:55] <robdubya> (and resolving / rejecting them as appropriate
[00:08:03] <Zerot> cthrax: in general you do the error handling at the very end of the chain. So request 2 is not called when request 1 fails
[00:08:06] <robdubya> so there's little reason to add extra deferred
[00:08:14] <jonashw> +!
[00:08:17] <jonashw> +1
[00:08:18] <basichash> Is there a drag/drop library for angular?
[00:08:24] <jonashw> basichash, have you tried google?
[00:08:34] <zelrik> robdubya, so if you dont return anything it stops?
[00:08:45] <cthrax> Zerot, that is exactly the behavior I want, but am not receiving, I am going to rewrite as robdubya suggests though.
[00:08:48] *** heathkit has joined #angularjs
[00:08:49] *** profelm has quit IRC
[00:09:04] <Zerot> cthrax: in your latest example you have 2 reject handlers
[00:09:08] <Zerot> that is causing you problems
[00:09:14] *** Lingo has quit IRC
[00:09:19] <Zerot> you only need 1 at the very end of the chain
[00:09:38] *** rho has quit IRC
[00:09:42] *** justinobney has quit IRC
[00:09:47] *** klaut has joined #angularjs
[00:09:57] <cthrax> Zerot, hmmm, ok, that kind of makes sense
[00:10:14] *** PCChris_ has joined #angularjs
[00:10:22] <Zerot> cthrax: e.g. http://plnkr.co/edit/xQ02zgrrsjzgfoR1ciNW?p=preview
[00:10:36] <cthrax> thanks for the help Zerot, zelrik jonashw and robdubya . I'm going to write something up with my understanding and organization and see how that goes
[00:11:13] <Zerot> zelrik: no. if you don't return something explicitly it will return "undefined"
[00:11:16] *** heidi has quit IRC
[00:11:23] <Zerot> but the chain will keep going
[00:11:35] <zelrik> ok
[00:11:41] <zelrik> so you cant stop the chain
[00:11:43] *** ceephax has joined #angularjs
[00:11:53] <Zerot> zelrik: what do you mean with stop the chain?
[00:11:58] *** imjakechapman has quit IRC
[00:12:13] *** crazy_v_k has quit IRC
[00:12:18] *** dariocravero has quit IRC
[00:12:21] <Zerot> if there is no reject handler, it will keep going down the chain trying to execute a reject handler until it finds one
[00:12:30] <Zerot> it will not execute the success handlers
[00:12:40] *** heidi has joined #angularjs
[00:12:41] *** monochrom has joined #angularjs
[00:12:41] *** Aliks has quit IRC
[00:12:42] *** Ronyrun has quit IRC
[00:12:46] *** monochrom has quit IRC
[00:12:58] <jonashw> zelrik, what if you register a success/error handler that doesn't explicitly return anything?
[00:13:04] <zelrik> but you told me you can have a success with an undefined response
[00:13:16] <jonashw> er,, zerot
[00:13:20] <Zerot> zelrik: sure. but that will not stop the chain
[00:13:36] <zelrik> so you wreck the whole chain without stopping it
[00:13:37] <zelrik> :)
[00:13:42] <Zerot> jonashw: a function that does not have an explicit return value returns undefined
[00:13:47] *** PCChris has quit IRC
[00:13:52] *** bsmithgall has joined #angularjs
[00:13:54] <Zerot> zelrik: ?
[00:13:57] <zelrik> not sure if there is any good practical example of that though
[00:14:12] <jonashw> Zerot, so that undefined is wrapped into another promise?
[00:14:33] *** mattwynne has joined #angularjs
[00:14:39] <zelrik> Zerot, I was just wondering if there is a case where you wanna generate an error 'manually'
[00:14:43] <Zerot> jonashw: the next handler will get "undefined" as the value
[00:14:59] *** edrocks has quit IRC
[00:15:01] <Zerot> zelrik: you can use "return $q.reject(bla)" for that
[00:15:10] <zelrik> yeah
[00:15:26] <zelrik> that s what I said earlier
[00:15:31] *** hswolff has quit IRC
[00:15:37] <zelrik> but people told me there isnt a use case for it
[00:16:03] *** conner_ has quit IRC
[00:16:07] <Zerot> there is plenty of use case for it
[00:16:09] <zelrik> unless I misunderstood
[00:16:10] *** AlSquire has quit IRC
[00:16:18] <zelrik> alright
[00:16:23] <zelrik> that s all I needed to know
[00:16:30] <Zerot> I think what robdubya was trying to say is that you almost never need to do $q.defer
[00:16:56] *** nerdfiles has quit IRC
[00:17:01] <zelrik> I still have a $q.defer in my code
[00:17:05] <Zerot> because unless you create you own async functions from scratch almost all async operations already return a promise
[00:17:13] <zelrik> that I added as a hack
[00:17:17] <zelrik> not sure it s needed
[00:17:22] <Zerot> most likely not
[00:17:27] <Zerot> plnker your code?
[00:17:33] *** nerdfiles has joined #angularjs
[00:17:43] *** jareddlc has joined #angularjs
[00:17:54] *** avree has joined #angularjs
[00:18:03] *** bmac has quit IRC
[00:18:05] <cthrax> Zerot, alright, this still isn't doing what I expect http://plnkr.co/edit/LGhdfvCvhYNqkEZLPVED?p=preview
[00:18:07] *** bayousoft has quit IRC
[00:18:18] <zelrik> Zerot, https://github.com/AlexCppns/ac-fancy-input/blob/master/src/ac-fancy-input/directives/fancy-input-suggestions.js
[00:18:35] *** bsmithgall has quit IRC
[00:18:38] <zelrik> Zerot, I wrote that when I didnt know what I was doing, so might not need it anymore
[00:18:41] <robdubya> cthrax scenarios http://plnkr.co/edit/twaGGTUy2M6Gio2vPvMB?p=preview
[00:19:02] <robdubya> cthrax you're not returning anything
[00:19:05] <robdubya> tht's your issue
[00:19:17] <zelrik> I was trying to fix some weird sync thing at the time
[00:19:30] <Zerot> cthrax: you are calling req2 normally
[00:19:32] <cthrax> robdubya, ahhhh, that very well could be
[00:19:36] <Zerot> not as a part of a handler
[00:19:40] <robdubya> also what zerot said
[00:19:41] *** alekibango has joined #angularjs
[00:19:44] <cthrax> robdubya, looking at your example now
[00:19:50] <robdubya> then(req2)
[00:20:09] <cthrax> oh ooops
[00:20:18] *** VictorBjelkholm has quit IRC
[00:20:25] <Zerot> cthrax: http://plnkr.co/edit/JoJdLZJBPlPRPSocbxps?p=preview here you go. fixed
[00:20:32] <cthrax> fixing req2 actually does what I expect
[00:21:04] <robdubya> the result of req1 then gets passed into your req2
[00:21:10] <Zerot> in general you will almost always want to return a value in a handler which will be the data passed along to the next handler
[00:21:12] <robdubya> which is proper chaining
[00:21:38] <robdubya> that's assuming you need something from a before requesting b, otherwise you can $q.all them in parallel
[00:21:39] *** VictorBjelkholm has joined #angularjs
[00:21:58] *** jdowdle has quit IRC
[00:22:10] <Zerot> zelrik: that defer makes no sense there
[00:22:32] <cthrax> robdubya, well, I don't want to $q.all them if order is important right? Well, order and I don't want to move past one, right?
[00:22:35] <zelrik> Zerot, I agree it doesnt, I am just too scared to remove it :D
[00:22:35] *** foo-bar- has joined #angularjs
[00:22:50] *** justinobney has joined #angularjs
[00:22:54] *** sonofdirt has quit IRC
[00:23:08] <jonashw> chexxor, I finished watching that video. It's interesting how he brought so many Haskell idioms into his javascript
[00:23:20] <jonashw> also, it's nice to think of a Promise as a Functor
[00:23:22] *** senayar has quit IRC
[00:23:31] <chexxor> yeah! right?
[00:23:34] *** metasansana has joined #angularjs
[00:23:35] *** metasansana has joined #angularjs
[00:23:35] <chexxor> his points are great
[00:23:38] *** ustunozgur has quit IRC
[00:23:41] <robdubya> cthrax right, assuming they are truly dependent
[00:23:46] *** encryptd_fractl has quit IRC
[00:24:01] <Zerot> zelrik: the only effect it has there is that it forces it to be executed the next event loop
[00:24:08] <Zerot> well, $digest loop
[00:24:11] <cthrax> alright, well I think I have a better understanding of all this, thanks a lot for the help all!
[00:24:36] <chexxor> jonashw, It's just too bad the JS library alternatives he mentions don't have a big userbase (it appears). I'm a little hesitant to use something which doesn't have a lot of help to maintain.
[00:24:44] <zelrik> Zerot, maybe there are other errors in my code that makes it necessary
[00:24:53] <robdubya> cthrax more scenarios http://plnkr.co/edit/DD5ItG9vse5QUQR4qodv?p=info
[00:25:05] *** bphogan is now known as bphogan_afk
[00:25:11] *** nerdfiles has quit IRC
[00:25:25] <robdubya> see also promise-nuggets.github.io
[00:25:26] *** DigitallyBorn has quit IRC
[00:25:37] <robdubya> which isn't specific to ng, but promises in general
[00:26:26] <jonashw> are promises as ubiquitous in nodejs as they are in angularjs?
[00:26:32] *** crazy_v_k has joined #angularjs
[00:26:50] *** Absolute0 has joined #angularjs
[00:26:50] <snapwich> no
[00:26:51] *** JimTheDev has quit IRC
[00:27:06] <cthrax> robdubya, will do, thanks again!
[00:27:21] <Absolute0> If angular does authentication, couldn't a developer easily hack the system and log in using chrome inspector?
[00:27:35] *** foo-bar- has quit IRC
[00:27:48] <ckuehl> Absolute0: presumably it's authenticating to a server/remote resource, yeah?
[00:27:50] <Zerot> zelrik: You should find out, but for now you can rewrite it as: "$scope.AcfiData.watching = false; return $q.resolve(true);"
[00:27:53] <cthrax> Absolute0, only if you're holding your user database on the client and don't make any API calls to authenticate
[00:27:55] <robdubya> jonashw nope, but bluebird is frickin radical
[00:27:58] *** joshontheweb has joined #angularjs
[00:28:01] *** cbeacock has quit IRC
[00:28:03] *** amargherio has joined #angularjs
[00:28:06] <Absolute0> ckuehl: yeah
[00:28:11] <snurfery> bluebird?
[00:28:13] <zelrik> Zerot, ok
[00:28:23] *** sonofdirt has joined #angularjs
[00:28:28] <Zerot> Absolute0: client side authentication checking is only for convenience. it is *never* a replacement for server side checking
[00:28:35] <robdubya> https://github.com/petkaantonov/bluebird/blob/master/API.md
[00:28:36] <Absolute0> cthrax: so now every single request needs to authenticate?
[00:28:39] <ckuehl> Absolute0: so you send the credentials to the server, which does the actual authentication
[00:28:40] <snurfery> I tend to pay attention to robdubya endorsements, what's this "bluebird" thing
[00:28:42] <snurfery> ah thx
[00:28:50] <cthrax> Absolute0, needs to authorize, but yes
[00:28:50] *** m0t0r has quit IRC
[00:28:58] <jonashw> robdubya, woh, that appears to be a truly full-featured library
[00:29:04] <cthrax> Absolute0, typically you end up with a token based system
[00:29:16] <cthrax> Absolute0, authenticate, get a token, pass token with every request
[00:29:19] <Absolute0> I see. So a global user/pass dict will be stored in the dom, which would be sent to the server for every request
[00:29:29] <robdubya> yarp. note the promisify stuff for wrapping node style callbacks things, and nodeify for the inverse
[00:29:30] <cthrax> Absolute0, NOOOOO!!!
[00:29:35] <Zerot> no. it is better to work with an token system
[00:29:39] <cthrax> Absolute0, don't store the password
[00:29:41] <Absolute0> Is there a tutorial for this that explains how to do this the "correct" way?
[00:29:49] *** tomzx`afk is now known as tomzx
[00:29:53] <robdubya> https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/
[00:30:07] *** sonofdirt has quit IRC
[00:30:11] <cthrax> Absolute0, I like this one https://medium.com/opinionated-angularjs/techniques-for-authentication-in-angularjs-applications-7bbf0346acec
[00:30:11] <Absolute0> thank you.
[00:30:13] *** edrocks has joined #angularjs
[00:30:16] <snapwich> <head><script>var users = {"snapwich: "hunter2", "bob":"pass123"};</script></head>
[00:30:19] <snapwich> that's how i do security
[00:30:24] *** Destos has quit IRC
[00:30:34] <cthrax> snapwich, you don't just put it in the URL?
[00:30:41] <robdubya> Absolute0 see also https://github.com/robwormald/node-jwt-demo
[00:30:41] <zelrik> lol
[00:31:02] <snapwich> well i make sure to base64 encode the passwords first
[00:31:03] <Absolute0> If I am doing a business critical app should have any concerns before jumping on the angular bandwagon?
[00:31:07] <Absolute0> Security-wise
[00:31:11] <TehShrike|Work> Using Angular 1.2, how would I use $q in a karma/jasmine unit test? My .then functions never get called when I resolve them. I see some things on the internet talking about having to apply on root scopes and stuff, but they also claim that things will change with 1.2, which is what I have.
[00:31:21] <cthrax> http://example.com/index.html?OMG_MY_PASSWORD=password
[00:31:24] <robdubya> angular is no more or less secure than any client side JS framework
[00:31:28] <robdubya> which is to say, not at all secure
[00:31:37] <snapwich> Absolute0: security is a server-side concern
[00:31:43] <robdubya> hence why you dont store frickin passwords on the client
[00:31:58] <cthrax> ^^^^^
[00:32:07] <zelrik> you store tokens
[00:32:08] *** cphil has joined #angularjs
[00:32:21] *** krawek has joined #angularjs
[00:32:21] *** krawek has joined #angularjs
[00:32:34] <cthrax> and you use SSL
[00:32:39] *** mmealling has quit IRC
[00:32:43] <cthrax> at least for authentication
[00:32:48] <robdubya> for everything
[00:32:49] <robdubya> always
[00:32:54] <Zerot> snapwich: http://www.bash.org/?244321 :D
[00:32:55] <TehShrike|Work> does anyone use $q in unit tests? Is it possible?
[00:33:02] <zelrik> I use SSL when I brush my teeth
[00:33:09] <cthrax> robdubya, I agree, but authentication is the only real scary part
[00:33:09] <Zerot> TehShrike|Work: yes. it is possible
[00:33:18] *** Drako_ has quit IRC
[00:33:22] <snurfery> zelrik: ha
[00:33:41] <Zerot> TehShrike|Work: $q is bound to the digest loop, so you will have to run the digest a couple of times to have it resolve the promises
[00:33:57] *** djam90 has joined #angularjs
[00:34:10] <Absolute0> Is a node backend the preferred way to create a backend for an angular app or is something like flask/python just as good?
[00:34:19] <snapwich> anything is fine
[00:34:21] <zelrik> Rails
[00:34:25] <jonashw> I use C#.net
[00:34:26] <snapwich> we have a custom C webserver
[00:34:36] *** wxo has joined #angularjs
[00:34:41] <TehShrike|Work> Zerot: is there a test-approved way to do that?
[00:34:44] <Absolute0> all the tutorials seem to use node
[00:34:47] <cthrax> Absolute0, whatever you want to use on the backend will be preferred
[00:34:53] <snapwich> because most people that know angular know javascript
[00:34:57] <snapwich> so node is a good bet
[00:34:58] <cthrax> my team uses flask/python
[00:34:59] <robdubya> because node is hot like fiya
[00:35:11] <cthrax> but does it shard?
[00:35:17] <snapwich> it clusters
[00:35:19] <jonashw> but does it shart?
[00:35:23] <felixn> bro, do you even shard?
[00:35:24] <robdubya> webscale bitches
[00:35:38] <TehShrike|Work> my pants are webscale
[00:35:38] <zelrik> I thought node was not really a framework
[00:35:39] <zelrik> is it
[00:35:45] <jonashw> it's a platform
[00:35:54] <TehShrike|Work> zelrik: it's a JavaScript interpreter with some core libraries
[00:35:55] <jonashw> a VM
[00:36:02] <snapwich> it's walmart.com
[00:36:05] <robdubya> wgaf
[00:36:09] <felixn> I have no idea what's going on in here, but I like it
[00:36:12] <snapwich> my website is walmart.com/snapwich
[00:36:12] *** fedenunez has joined #angularjs
[00:36:25] <jonashw> no it's not
[00:36:38] *** Nek has quit IRC
[00:36:43] <cthrax> for all those missing out, https://www.youtube.com/watch?v=bzkRVzciAZg&feature=kp
[00:36:53] *** edrocks has quit IRC
[00:37:14] <snapwich> sorry, i meant snapwich.walmart.copm
[00:37:15] <TehShrike|Work> Zerot: do I just inject $scope and call .apply on it after I resolve the deferred?
[00:37:22] *** tylerlh has quit IRC
[00:37:27] *** edrocks has joined #angularjs
[00:37:58] *** tylerlh has joined #angularjs
[00:38:06] *** lucasjans has joined #angularjs
[00:38:23] *** Schtive has quit IRC
[00:38:56] *** Aliks has joined #angularjs
[00:39:44] *** Absolute0 has quit IRC
[00:39:46] <snapwich> inject $rootScope
[00:40:00] <Zerot> TehShrike|Work: you would most likely call $digest in the test
[00:40:03] <robdubya> TehShrike|Work typically you'd want to mock out the promisy things
[00:40:11] <felixn> TehShrike|Work: I prefer app.config(function ($parseProvider) { $parseProvider.unwrapPromises(true); });
[00:40:16] <Zerot> and you should already have the correct scope available at that point
[00:40:34] <felixn> TehShrike|Work: the disabled unwrapping promises, but that's just silly, and nobody will change my mind!
[00:40:35] *** MacWinner has joined #angularjs
[00:40:37] <felixn> they*
[00:41:08] *** Tidwell has joined #angularjs
[00:41:09] <felixn> TehShrike|Work: also, you can call $apply with a function and set your scope, instead of setting the scope first and then calling $apply(), just slightly more idiomatic
[00:41:12] <MacWinner> is there a way to get an event when using $http to get data.. the event contains the current downloaded bytes
[00:41:31] <MacWinner> I have a long running download and would like ot give an indication that a kb count is increasing
[00:41:58] <felixn> MacWinner: just hook into the event you want, and keep calling $scope.apply(...) with the data
[00:42:28] <robdubya> MacWinner you're not going to get a progress type thing, n
[00:42:33] *** tylerlh has quit IRC
[00:42:36] <MacWinner> felixn, was hoping to find some working sample code
[00:42:51] *** fedenunez has quit IRC
[00:42:58] <TehShrike|Work> felixn: what would that look like? I don't know how to set my scope in a unit test :-x
[00:43:00] <felixn> MacWinner: ah, that issue is more intrinsic with the DOM http api than angular.... not sure how to get the progress
[00:43:02] *** VictorBjelkholm has quit IRC
[00:43:07] <TehShrike|Work> I'm just trying to get started with unit tests and do things right for once
[00:43:07] *** jonashw has quit IRC
[00:43:10] <MacWinner> robdubya, not looking for a % progress because we don't know the total data size, but can we get any idication of actual download happening?
[00:43:10] <robdubya> can you paginate? doing 10 tiny requests > 1 huge
[00:43:34] <felixn> TehShrike|Work: perhaps show me what's not working on gist.github.com ? make it private
[00:43:37] *** tfennelly has quit IRC
[00:43:43] <robdubya> MacWinner nope, not as far as i'm aware
[00:43:55] <MacWinner> yeah.. was thinking of doing that.. but was hoping not to need to since it'll add a bunch of re-factoring and complications
[00:44:13] *** jharbaugh has quit IRC
[00:44:18] *** Hypnotizes has quit IRC
[00:44:20] <robdubya> MacWinner you can do tricky things like parallel paginators
[00:44:39] <Zerot> MacWinner: You might be able to using the actual XHR, but $http does not provide any progress info
[00:44:48] <robdubya> can make a big performance
[00:44:49] *** jharbaugh has joined #angularjs
[00:45:12] <felixn> TehShrike|Work: I cut this out of my application, so there may be a syntax error but: https://gist.github.com/anonymous/dcbec07ee72279b8ef82
[00:45:26] <MacWinner> cool, thanks guys.. i'll see if there is anything wit XHR directly
[00:45:45] <TehShrike|Work> felixn: https://gist.github.com/TehShrike/af945f7e0a2fa12526d9
[00:45:51] *** snapwich has quit IRC
[00:46:06] <felixn> MacWinner: also a tip on making it pretty, you should write your own $httpProgress service
[00:46:34] *** krawek has quit IRC
[00:47:02] *** krawek has joined #angularjs
[00:47:03] *** krawek has joined #angularjs
[00:47:32] *** MistahKurtz has joined #angularjs
[00:47:42] *** jharbaug_ has joined #angularjs
[00:47:43] *** richardbaker has quit IRC
[00:48:35] *** jharbaugh has quit IRC
[00:48:54] *** richardbaker has joined #angularjs
[00:49:41] *** MikaAK has joined #angularjs
[00:49:41] *** justinobney has quit IRC
[00:50:14] *** justinobney has joined #angularjs
[00:50:52] *** tylerlh has joined #angularjs
[00:50:58] *** cigarshark has quit IRC
[00:51:23] <Zerot> MacWinner: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest#Monitoring_progress
[00:51:37] *** FunnyLookinHat has quit IRC
[00:52:04] *** cthrax has quit IRC
[00:52:25] <TehShrike|Work> $rootScope.$digest makes $q work :-\
[00:52:40] *** TehShrike|Work has quit IRC
[00:52:43] <felixn> TehShrike|Work: weird, is that the test framework provided by angular?
[00:53:23] *** richardbaker has quit IRC
[00:54:13] *** MTGap has quit IRC
[00:54:30] *** VictorBjelkholm has joined #angularjs
[00:55:01] *** justinobney has quit IRC
[00:55:18] *** krawek has quit IRC
[00:55:27] *** InezK is now known as InezK_away
[00:55:36] *** instence has joined #angularjs
[00:55:37] <robdubya> i'm gonna do something stupid and see if i can plug famous into di.js
[00:56:21] *** bbankes has quit IRC
[00:56:38] *** Tidwell has quit IRC
[00:59:31] *** richardbaker has joined #angularjs
[01:00:33] *** whunt_ has quit IRC
[01:00:38] <davemerwin> ok, I need a good tutorial for integrating django.auth and angular. Any suggestions? Do you guys use some 3rd party apps for it?
[01:00:55] *** mac_ified has joined #angularjs
[01:00:58] *** ustunozgur has joined #angularjs
[01:01:07] <davemerwin> I've been looking and hacking all day, but most of the solutions I'm finding have huge holes in them
[01:01:17] *** tfennelly has joined #angularjs
[01:01:22] *** Val_ has joined #angularjs
[01:01:29] *** L8TR has joined #angularjs
[01:01:59] *** InezK_away is now known as InezK
[01:02:03] *** kalusn has joined #angularjs
[01:02:14] *** upsell5 has joined #angularjs
[01:02:15] <robdubya> https://github.com/GetBlimp/django-rest-framework-jwt
[01:02:17] <robdubya> sessions ftl
[01:02:49] <Foxandxss> robdubya: it is cool to see more people using JWT
[01:03:15] <robdubya> its a beautiful thing
[01:03:30] <davemerwin> oh my gosh, I'm in lov.
[01:03:43] *** bmac has joined #angularjs
[01:04:09] *** krawek has joined #angularjs
[01:04:18] *** InezK is now known as InezK_away
[01:04:44] *** IRTheWinner has joined #angularjs
[01:04:58] *** mac_ified has quit IRC
[01:06:14] *** jeffisabelle has joined #angularjs
[01:06:35] *** cthrax has joined #angularjs
[01:06:58] *** shackleford has quit IRC
[01:07:11] *** crazy_v_k has quit IRC
[01:07:12] <robdubya> davemerwin this is node, but might help get what's happening with jwt https://gist.github.com/robwormald/9987338
[01:07:14] *** jbogarin1 is now known as jbogarin
[01:07:26] *** LuxuryMode has joined #angularjs
[01:07:38] <davemerwin> thanks!
[01:07:42] <Foxandxss> robdubya: sadly, apart from node / ruby, the other language's libraries are not that cool
[01:07:48] *** pluma has joined #angularjs
[01:07:49] *** pluma has joined #angularjs
[01:07:56] <LuxuryMode> Is there any to get an $interval with a random delay for each call?
[01:08:38] <pluma> Is there a "standalone" implementation of AngularJS-style data binding? I'm only aware of rivets.js, but that essentially uses observables (rather than ng's "scope" magic).
[01:10:14] <robdubya> pluma https://github.com/angular/templating if you're brave
[01:11:35] <pluma> robdubya: yikes. I'm looking for something that works in IE8, so ng 2.0 (or new 1.x) is out.
[01:12:23] <robdubya> LuxuryMode $timeout + math.random?
[01:12:38] *** enigmarm has quit IRC
[01:12:45] <LuxuryMode> robdubya yeah i realize it was actually a stupid question for what im trying to do
[01:12:45] <LuxuryMode> thanks though
[01:13:20] *** mtho11 has quit IRC
[01:14:22] <robdubya> LuxuryMode http://plnkr.co/edit/vvz71H3GsgffCzBxF0N6?p=preview
[01:14:56] <LuxuryMode> robdubya that will schedule in such a way that they dont overlap?
[01:15:05] <LuxuryMode> like i need one tick, then another some n seconds after the last
[01:15:07] <LuxuryMode> and so on
[01:15:08] *** davedev24_ has quit IRC
[01:15:11] <LuxuryMode> does that make sense?
[01:15:11] *** brianturgeon has joined #angularjs
[01:15:41] <LuxuryMode> oh yeah i see the logs
[01:15:44] *** rho has joined #angularjs
[01:15:44] <LuxuryMode> perfect!
[01:15:44] *** rho has quit IRC
[01:15:44] *** rho has joined #angularjs
[01:16:47] *** davedev24_ has joined #angularjs
[01:16:49] <robdubya> why on earth do you need that?
[01:16:55] *** Nizumzen has quit IRC
[01:17:29] *** busticated has joined #angularjs
[01:17:34] <MacWinner> Zerot, is there any reason that $http doesn't have this baked in? is it some cross browser issue?
[01:17:41] *** bmac has quit IRC
[01:18:02] *** conner_ has joined #angularjs
[01:18:27] *** doddstack has quit IRC
[01:18:39] *** jerev is now known as jerev_away
[01:19:05] *** MikaAK has quit IRC
[01:19:18] <robdubya> MacWinner https://github.com/angular/angular.js/issues/1934
[01:19:21] *** tilgovi has quit IRC
[01:19:22] <LuxuryMode> robdubya long story
[01:19:24] <LuxuryMode> and boring
[01:19:28] *** bmac has joined #angularjs
[01:19:36] *** pluma_ has joined #angularjs
[01:19:42] *** MikaAK has joined #angularjs
[01:19:57] *** pluma has quit IRC
[01:19:58] *** kroogs has quit IRC
[01:20:16] <robdubya> MacWinner specifically https://github.com/angular/angular.js/issues/1934#issuecomment-41469790
[01:20:17] *** pluma_ has quit IRC
[01:21:00] *** MikaAK_ has joined #angularjs
[01:21:04] *** davedev24_ has quit IRC
[01:21:07] *** pluma has joined #angularjs
[01:21:13] *** MikaAK has quit IRC
[01:21:34] *** edrocks has quit IRC
[01:22:34] *** conner_ has quit IRC
[01:22:52] *** brianturgeon has quit IRC
[01:23:26] *** tilgovi has joined #angularjs
[01:23:59] <robdubya> MacWinner if you truuuuly need it you could wrap XHR yo own damn self
[01:24:04] *** ustunozgur has quit IRC
[01:24:11] <robdubya> and use $q.notify, though the consensus seems to be that's a dead end
[01:24:20] *** davedev24_ has joined #angularjs
[01:24:28] *** lucasjans has quit IRC
[01:24:37] <MacWinner> robdubya, cool, thanks for the link!
[01:24:45] *** quartzmo has quit IRC
[01:25:25] *** subnl has joined #angularjs
[01:25:36] <sakustar> pluma: http://www.lucaongaro.eu/blog/2012/12/02/easy-two-way-data-binding-in-javascript/ any good?
[01:25:51] *** subnl has left #angularjs
[01:26:48] *** brownbathrobe has joined #angularjs
[01:27:02] <pluma> sakustar: isn't that basically rivets.js with all adapters being explicit getters/setters? I was hoping for something that behaves more like ng's implicit scope changes.
[01:27:14] <MistahKurtz> hmm
[01:27:29] <optikalmouse> warning: if you name your file differently from the component name in the file, you will be punched. how can you name something new_appointment.js and then declare it as newAppointmentCtrl. what kind of mental disconnect do you ahve to have to do that.
[01:27:35] <MistahKurtz> i'm writing tests for a scope function in a directive, which accepts $event as the first param
[01:27:51] <MistahKurtz> (to call $event.stopPropagation() at the top of the function)
[01:28:13] *** lw has quit IRC
[01:28:13] *** brownbathrobe has quit IRC
[01:28:22] <MistahKurtz> so in my test, I need to call the function with an $event supplied as an argument
[01:28:28] <MistahKurtz> is there a mock event object that I can use?
[01:28:52] <robdubya> optikalmouse uhh what
[01:29:25] *** mtsr has quit IRC
[01:29:32] *** jc_ has joined #angularjs
[01:30:13] *** jc_ has quit IRC
[01:30:16] *** whunt has joined #angularjs
[01:31:27] *** cacts|works has quit IRC
[01:31:49] <optikalmouse> robdubya: contracting gig, the previous ad agency devs were PHP devs and mis-named all their files.
[01:32:25] <optikalmouse> robdubya: everything is prefixed with App as well, AppMyCtrl, AppMyModule, APpMyDirective.
[01:33:18] *** mattwynne has quit IRC
[01:33:27] <robdubya> awesome
[01:34:05] *** IRTheWinner has quit IRC
[01:34:24] <optikalmouse> I'm very close to either charging 100/hr for code reviews, or to setup a name & shame site for bad coders so that others can avoid hiring these guys -_-'
[01:34:27] *** InezK_away is now known as InezK
[01:34:36] *** crazy_v_k has joined #angularjs
[01:34:47] *** avree has quit IRC
[01:34:50] *** jeffszusz has quit IRC
[01:35:04] *** rho has quit IRC
[01:36:17] *** m3l720_ has quit IRC
[01:36:50] *** kirfu has joined #angularjs
[01:36:51] <snurfery> so they have one file per component name?
[01:36:55] <snurfery> I have a lot of components
[01:36:59] *** L8TR has quit IRC
[01:37:00] <snurfery> that'd be a lot of files
[01:37:16] *** tilgovi has quit IRC
[01:37:32] *** pkayfire has quit IRC
[01:37:50] <snurfery> that reminds me more of a java style of organizing code, where everything is hella verbose and everyone can be expected to be using an IDE
[01:38:15] *** patrickarlt has quit IRC
[01:38:31] *** DrMabuse has quit IRC
[01:38:53] *** L8TR has joined #angularjs
[01:39:30] <optikalmouse> snurfery: I don't mind one component per file, it makes it super easy to just use `find` to find the file instead of grepping through them all
[01:39:32] <felixn> snurfery: word, I've fallen in love with django's organization strategy .. where you group things together at the high level .. recently I saw a talk where someone put words to this idea, basically people are seperating on technology, not concerns
[01:39:34] *** upsell5 has quit IRC
[01:39:55] <felixn> http://facebook.github.io/react/docs/videos.html first video, near the end talks about separation of technology vs concerns
[01:40:01] <optikalmouse> ^^ that, I'm used to Django. you start with app/views.py and then start splitting when it becomes too gigantic
[01:40:02] <snurfery> felixn: yeah I'm a django guy too, hence why I'm not too fond of a thousand files lying around
[01:40:14] <snurfery> optikalmouse: yep, agreed
[01:40:32] <snurfery> but I do grep like it's going out of style
[01:40:34] *** klaut has quit IRC
[01:40:38] *** CptChaos has quit IRC
[01:40:38] <snurfery> I should probably make a shortcut
[01:40:38] <felixn> I recommend watching that video then! he puts it into words fairly eloquently :D
[01:40:56] <snurfery> find . -name "*.py" -exec grep -Hn someImportName {} \;
[01:41:08] <optikalmouse> snurfery: you should just use ack-grep.
[01:41:26] *** L8TR has quit IRC
[01:41:32] <snurfery> I think whenever I try to use something better I rage when I'm on a system that doesn't have it
[01:42:05] <snurfery> but that's no excuse on my local machines/vms, I'll check it out
[01:42:13] <snurfery> =)
[01:42:14] *** L8TR has joined #angularjs
[01:42:53] *** MikaAK_ has quit IRC
[01:43:18] *** nickp has joined #angularjs
[01:43:25] *** conan_the_destro has quit IRC
[01:43:29] *** MikaAK has joined #angularjs
[01:43:57] *** rburns has quit IRC
[01:44:03] *** edrocks has joined #angularjs
[01:44:08] *** L8TR has quit IRC
[01:44:16] *** MikaAK has joined #angularjs
[01:44:21] *** InezK is now known as InezK_away
[01:44:34] *** pluma has quit IRC
[01:45:46] *** dylanlindgren has joined #angularjs
[01:45:46] *** marcospgp has joined #angularjs
[01:45:51] *** bmac has quit IRC
[01:46:06] <marcospgp> The shared secret for JSON web tokens is only needed on the server side, right?
[01:46:14] <robdubya> yup
[01:46:27] *** L8TR has joined #angularjs
[01:46:29] <marcospgp> so it is only really useful when two servers are sharing info through it
[01:46:39] *** nickpellegrino has joined #angularjs
[01:46:47] <marcospgp> for server - client, it doesnt really do much does it?
[01:47:23] *** djam90 has quit IRC
[01:47:24] *** MikaAK has quit IRC
[01:47:34] *** cthrax has quit IRC
[01:47:37] *** rburns has joined #angularjs
[01:47:37] *** nickpellegrino has quit IRC
[01:47:50] *** jchamberlain has quit IRC
[01:48:04] *** Jdubs has quit IRC
[01:48:05] *** MikaAK has joined #angularjs
[01:48:07] <robdubya> wha?
[01:48:18] *** jbourassa has joined #angularjs
[01:48:28] <marcospgp> like, if a user is redirected to you, you authenticate him and then redirect him
[01:48:36] <robdubya> post username and password -> get JWT -> post JWT -> get profile
[01:48:39] <marcospgp> you send the info to the server you redirect the user to through a JWT
[01:48:53] <marcospgp> so both servers need the shared secret
[01:49:06] <marcospgp> but in the case only your server is dealing with the JWT
[01:49:07] *** kroogs has joined #angularjs
[01:49:11] <marcospgp> in the case where*
[01:49:13] *** L8TR has quit IRC
[01:49:15] *** mindlace has quit IRC
[01:49:26] <marcospgp> the shared secret is only shared with you so
[01:49:29] <marcospgp> hm
[01:49:40] <marcospgp> its still a secret... makes sense
[01:49:55] <marcospgp> still useful i guess
[01:49:58] <marcospgp> my bad
[01:50:03] *** nickp has quit IRC
[01:50:30] *** L8TR has joined #angularjs
[01:50:44] *** justinobney has joined #angularjs
[01:50:47] *** jbourassa has quit IRC
[01:50:50] *** zakj has quit IRC
[01:51:01] *** L8TR has quit IRC
[01:51:03] *** KernelCurry has quit IRC
[01:51:52] *** AciD``` has quit IRC
[01:52:04] *** jbourassa has joined #angularjs
[01:52:57] *** Lingo has joined #angularjs
[01:53:32] *** TazDev has quit IRC
[01:53:37] *** spookyfork has joined #angularjs
[01:54:40] *** faddah has quit IRC
[01:55:02] *** justinobney has quit IRC
[01:55:25] *** Jdubs has joined #angularjs
[01:55:42] <Cixis> snurfery: http://beyondgrep.com/install/
[01:55:43] <Cixis> curl http://beyondgrep.com/ack-2.12-single-file > ~/bin/ack && chmod 0755 !#:3
[01:55:48] <Cixis> easy peasy lemon squeezy
[01:55:56] <optikalmouse> please don't copy/paste that though
[01:55:57] *** spookyfork has left #angularjs
[01:56:07] <optikalmouse> Cixis probably pointed to a virus.
[01:56:09] <optikalmouse> ;)
[01:56:16] <Cixis> you really think so?
[01:56:58] *** kroogs has quit IRC
[01:57:05] *** KernelCurry has joined #angularjs
[01:57:35] <snurfery> I'd rather just wget and pipe it straight to sudo bash
[01:57:42] <snurfery> #yolo
[01:57:45] <snurfery> ;)
[01:58:05] *** crazy_v_k has quit IRC
[01:58:19] *** Jdubs has quit IRC
[01:58:26] *** Jdubs_ has joined #angularjs
[01:58:45] <Cixis> you would end up piping the output of wget to bash, which would just error
[01:59:00] <robdubya> nerds
[01:59:55] <snurfery> errors are part of the yolo philosophy dammit
[02:00:06] <snurfery> ugh I'm gonna stop, I can't say that word anymore
[02:00:17] <snurfery> even in joke form
[02:00:24] <snurfery> some things go too far
[02:00:31] *** markisonfire has quit IRC
[02:00:33] *** Jdubs_ has quit IRC
[02:01:01] *** cpciv has joined #angularjs
[02:01:04] <snurfery> joking about atrocities? no biggie. Trying to use #yolo or 'smarmy' in a sentence? gtfo.
[02:02:27] <Cixis> quit being so smarmy
[02:02:31] *** spencercarnage has quit IRC
[02:02:41] * snurfery cringes
[02:02:41] *** kalehv has joined #angularjs
[02:02:47] <sal1191> is there anything stopping you from writing a directive which can be applied to other directives? or are the attributes applied to an element directive only available in the attr parameter of the link function
[02:02:50] <snurfery> verbal masochism
[02:02:56] <snurfery> =
[02:02:59] <snurfery> "say it again!"
[02:03:12] <Cixis> that's a legitimate user of the word "smarmy."
[02:03:15] <Cixis> use*
[02:03:33] <snurfery> no doubt
[02:03:35] *** L8TR has joined #angularjs
[02:03:35] *** caitp has quit IRC
[02:03:38] *** pkayfire has joined #angularjs
[02:03:43] <Cixis> indubitably
[02:03:46] <snurfery> lol
[02:04:25] <Cixis> sal1191: elaborate. what are you trying to do?
[02:04:36] *** Jdubs has joined #angularjs
[02:04:48] *** L8TR has quit IRC
[02:04:56] <sal1191> i am experimenting with writing my own sidebar directive
[02:05:33] *** danielpquinn has quit IRC
[02:05:42] <sal1191> I am just curious if the attributes of an element directive can be other directives
[02:05:44] <Foxandxss> one directive can decorate another
[02:05:47] <Foxandxss> that is true
[02:05:49] *** cphil has quit IRC
[02:05:57] <Cixis> ah
[02:06:00] <Cixis> yep
[02:06:00] *** L8TR has joined #angularjs
[02:06:03] <Foxandxss> well, since the non leaking isolated scopes that is a little bit harded though
[02:06:21] *** mindlace has joined #angularjs
[02:06:22] *** enigmarm has joined #angularjs
[02:06:25] *** mindlace has quit IRC
[02:06:29] *** OddDuck` has quit IRC
[02:06:50] <sal1191> i see
[02:07:36] <Foxandxss> bed
[02:07:38] *** Foxandxss has quit IRC
[02:07:47] *** ecantin has quit IRC
[02:07:54] *** SpearThruster has quit IRC
[02:07:55] *** CodeFriar has quit IRC
[02:08:35] *** davemerwin has quit IRC
[02:08:58] *** [n0b0dy] has joined #angularjs
[02:09:29] *** davemerwin has joined #angularjs
[02:09:31] *** DrMabuse has joined #angularjs
[02:10:25] *** JoshGlzBrk has joined #angularjs
[02:11:04] *** DrMabuse_ has joined #angularjs
[02:11:21] *** DrMabuse has quit IRC
[02:12:06] *** L8TR has quit IRC
[02:12:28] *** Jdubs has quit IRC
[02:13:26] *** marcospgp has quit IRC
[02:13:33] *** davemerwin has quit IRC
[02:14:47] *** marr has quit IRC
[02:15:10] *** spencercarnage has joined #angularjs
[02:15:28] *** DHowett_ is now known as DHowett
[02:15:30] <LuxuryMode> any easy way to duplicate the elements of an array n times? e.g. [1,2, 3] 2 times becomes [1, 2, 3, 1, 2, 3]
[02:15:32] <LuxuryMode> ?
[02:15:37] *** imjakechapman has joined #angularjs
[02:15:41] *** jpstone has joined #angularjs
[02:16:11] *** DrMabuse_ has quit IRC
[02:16:14] <LuxuryMode> guess i can use something like this: http://kaliko.com/blog/repeat-array-in-javascript/
[02:16:24] *** niop has joined #angularjs
[02:16:34] *** DigitallyBorn has joined #angularjs
[02:17:14] *** [n0b0dy] has quit IRC
[02:17:45] <Cixis> function dupe(arr, num) { var i = 0; while (i < num) { Array.prototype.push.apply(arr); } }
[02:17:48] <Cixis> that might do it
[02:17:53] *** [n0b0dy] has joined #angularjs
[02:17:56] *** MikaAK has quit IRC
[02:17:56] <Cixis> oh and i++
[02:18:12] *** edrocks has quit IRC
[02:18:33] *** slainer68 has quit IRC
[02:18:56] *** richardbaker has quit IRC
[02:19:11] *** wxo has quit IRC
[02:20:35] *** slainer68 has joined #angularjs
[02:20:47] *** MikaAK has joined #angularjs
[02:20:58] *** bayousoft has joined #angularjs
[02:20:59] *** MikaAK has quit IRC
[02:21:35] *** ckboii89 has joined #angularjs
[02:22:42] *** darrin has joined #angularjs
[02:22:42] *** hecatonicosachor has joined #angularjs
[02:22:55] *** vintik has quit IRC
[02:23:21] *** foo-bar- has joined #angularjs
[02:23:33] *** jonog has joined #angularjs
[02:24:01] *** rabaznaz has quit IRC
[02:24:32] *** tyfighter has quit IRC
[02:26:07] *** henn1nk has quit IRC
[02:26:23] *** sacho_ has quit IRC
[02:27:35] *** Willow has quit IRC
[02:27:57] *** foo-bar- has quit IRC
[02:27:58] *** darrin has quit IRC
[02:28:01] *** Willow has joined #angularjs
[02:28:12] *** bmac has joined #angularjs
[02:28:17] *** MikaAK has joined #angularjs
[02:28:51] *** Jdubs has joined #angularjs
[02:28:51] *** blueadept has quit IRC
[02:29:11] *** jonog has quit IRC
[02:29:19] *** Alleh has joined #angularjs
[02:29:32] *** bphogan_afk is now known as bphogan
[02:29:43] *** jonog has joined #angularjs
[02:29:59] *** enigmarm has quit IRC
[02:30:13] *** lebek has joined #angularjs
[02:30:44] *** Aliks has quit IRC
[02:31:07] *** Willow_ has joined #angularjs
[02:32:17] *** Willow has quit IRC
[02:33:07] *** carpediembaby has quit IRC
[02:33:18] *** ngoyal has quit IRC
[02:33:31] *** helen__ has joined #angularjs
[02:33:49] *** jonog has quit IRC
[02:33:54] *** bbrown has quit IRC
[02:33:55] *** tsalb has quit IRC
[02:34:23] *** bbrown has joined #angularjs
[02:34:23] *** darrin has joined #angularjs
[02:34:45] *** bbrown has quit IRC
[02:35:02] *** subnl2 has joined #angularjs
[02:35:16] *** InezK_away is now known as InezK
[02:35:27] *** KernelCurry has quit IRC
[02:35:59] *** TazDev has joined #angularjs
[02:36:16] *** danielpquinn has joined #angularjs
[02:36:48] *** LuxuryMode has quit IRC
[02:38:41] *** Brocken is now known as zz_Brocken
[02:38:43] *** drewisthe has joined #angularjs
[02:41:23] *** danielpquinn has quit IRC
[02:41:23] *** stirlingw has quit IRC
[02:42:00] *** MikaAK has quit IRC
[02:42:35] *** lw has joined #angularjs
[02:42:52] *** Alleh has left #angularjs
[02:42:57] *** lw has quit IRC
[02:43:30] *** bphogan is now known as bphogan_afk
[02:43:34] *** richardbaker has joined #angularjs
[02:43:39] *** lw has joined #angularjs
[02:43:56] *** lw has quit IRC
[02:44:29] *** Ysurian has joined #angularjs
[02:44:31] *** lw has joined #angularjs
[02:44:59] *** InezK is now known as InezK_away
[02:45:42] *** Gambit- has quit IRC
[02:45:51] *** bkuberek has joined #angularjs
[02:46:31] *** Ir1sh has joined #angularjs
[02:47:10] *** L8TR has joined #angularjs
[02:47:18] *** phuh has joined #angularjs
[02:47:29] *** BobbieBarker has joined #angularjs
[02:47:33] *** kirfu has quit IRC
[02:49:08] <BobbieBarker> hey what do people usually use for that "star" that favorites something
[02:49:14] <BobbieBarker> i mean specifically do they use a glyph
[02:49:56] <BobbieBarker> nvm i was being stupid
[02:50:48] *** TazDev has quit IRC
[02:50:51] *** MistahKurtz has quit IRC
[02:50:58] *** Ir1sh has quit IRC
[02:51:49] *** MistahKurtz has joined #angularjs
[02:52:04] *** MTGap has joined #angularjs
[02:52:35] *** postitnote has quit IRC
[02:52:46] *** JimTheDev has joined #angularjs
[02:52:54] *** JimTheDev has joined #angularjs
[02:52:59] *** aviraldg has quit IRC
[02:53:13] *** krawek has quit IRC
[02:55:05] *** whunt has quit IRC
[02:55:34] *** TazDev has joined #angularjs
[02:55:57] *** whunt has joined #angularjs
[02:56:22] *** jonog has joined #angularjs
[02:58:26] *** cacts has joined #angularjs
[02:58:43] *** hswolff has joined #angularjs
[02:59:58] *** L8TR has quit IRC
[03:00:29] *** lw_ has joined #angularjs
[03:01:11] *** rburns has quit IRC
[03:01:25] *** gnarMatix has quit IRC
[03:01:47] *** lw has quit IRC
[03:02:37] *** heidi has quit IRC
[03:04:03] *** jonog has quit IRC
[03:04:44] *** patrickarlt has joined #angularjs
[03:04:58] *** jonog has joined #angularjs
[03:05:18] *** L8TR has joined #angularjs
[03:05:20] *** jareddlc has quit IRC
[03:07:17] *** aviraldg has joined #angularjs
[03:07:54] *** justinobney has joined #angularjs
[03:09:03] *** CodeFriar has joined #angularjs
[03:09:04] *** jonog has quit IRC
[03:09:04] *** asdofindia has quit IRC
[03:09:35] *** jonog has joined #angularjs
[03:09:47] *** stirlingw has joined #angularjs
[03:09:52] *** L8TR has quit IRC
[03:10:16] *** stirlingw has quit IRC
[03:10:18] *** niop has quit IRC
[03:10:59] *** bphogan_afk is now known as bphogan
[03:11:12] *** darrin has quit IRC
[03:11:54] *** DrMabuse has joined #angularjs
[03:12:03] *** justinobney has quit IRC
[03:12:33] *** busticated has quit IRC
[03:13:00] *** rburns has joined #angularjs
[03:13:33] *** CodeFriar has quit IRC
[03:13:34] *** texinwien_ has quit IRC
[03:13:39] *** Ethix has joined #angularjs
[03:14:09] *** L8TR has joined #angularjs
[03:14:58] *** imjakechapman has quit IRC
[03:15:32] *** lw_ has quit IRC
[03:16:18] *** DrMabuse has quit IRC
[03:17:09] *** PCChris__ has joined #angularjs
[03:17:13] *** [n0b0dy] has quit IRC
[03:17:23] *** [n0b0dy] has joined #angularjs
[03:20:04] *** patrickarlt has quit IRC
[03:20:23] *** PCChris_ has quit IRC
[03:21:01] *** visionary has joined #angularjs
[03:21:03] *** tfennelly has quit IRC
[03:21:04] *** caitp has joined #angularjs
[03:21:22] *** asdofindia has joined #angularjs
[03:21:26] *** PCChris has joined #angularjs
[03:21:38] *** shinnya has quit IRC
[03:22:23] <visionary> thoughts on a simple scalable architecture for a small team?
[03:22:37] *** bmac has quit IRC
[03:22:47] *** PCChris__ has quit IRC
[03:23:04] *** justinobney has joined #angularjs
[03:23:17] *** PCChris_ has joined #angularjs
[03:25:51] <snurfery> my thoughts: that's a super vague question
[03:25:55] *** richardbaker has quit IRC
[03:26:32] <zelrik> visionary, thoughts on life?
[03:26:59] *** PCChris has quit IRC
[03:27:25] *** Siecje has joined #angularjs
[03:27:35] *** justinobney has quit IRC
[03:27:44] *** bphogan is now known as bphogan_afk
[03:28:40] *** shinnya has joined #angularjs
[03:30:07] *** TheAceOfHearts has quit IRC
[03:30:14] *** snurfery has quit IRC
[03:30:41] *** kalehv has quit IRC
[03:31:08] *** MikaAK has joined #angularjs
[03:31:16] *** kalehv has joined #angularjs
[03:31:47] *** slainer68 has quit IRC
[03:33:32] *** winsyee has quit IRC
[03:33:54] *** sneakertack has joined #angularjs
[03:34:04] *** josh-k has joined #angularjs
[03:34:46] *** jonog has quit IRC
[03:35:11] *** sdouglas has joined #angularjs
[03:35:26] *** jonog has joined #angularjs
[03:35:36] *** morenoh149 has quit IRC
[03:35:50] *** kalehv has quit IRC
[03:35:59] *** MikaAK has quit IRC
[03:36:08] *** InezK_away is now known as InezK
[03:36:32] *** ngoyal has joined #angularjs
[03:36:50] *** bmac has joined #angularjs
[03:36:54] *** ngoyal has quit IRC
[03:36:58] *** visionary has quit IRC
[03:37:00] *** whunt has quit IRC
[03:37:08] *** danielpquinn has joined #angularjs
[03:37:19] *** ninsei has joined #angularjs
[03:37:30] *** phuh has quit IRC
[03:37:31] *** ngoyal has joined #angularjs
[03:37:56] *** phuh has joined #angularjs
[03:38:05] *** PCChris__ has joined #angularjs
[03:38:30] *** jonog_ has joined #angularjs
[03:38:32] *** wallerdev has quit IRC
[03:39:36] *** lucasjans has joined #angularjs
[03:39:39] *** bsmithgall has joined #angularjs
[03:39:55] *** jonog has quit IRC
[03:40:47] *** PCChris_ has quit IRC
[03:41:07] *** elrabin has quit IRC
[03:41:26] *** PCChris_ has joined #angularjs
[03:41:45] *** lynusblan has joined #angularjs
[03:41:49] *** whunt has joined #angularjs
[03:41:55] <lynusblan> hello!
[03:41:59] *** danielpquinn has quit IRC
[03:42:13] *** nickp has joined #angularjs
[03:42:39] *** nicholaswyoung has joined #angularjs
[03:42:43] *** visionary has joined #angularjs
[03:42:48] <lynusblan> anyone knows how to add angular proprierties programatically to directives? for example, elemenet.$set('ngMaxlength', 20)
[03:42:54] <lynusblan> ?
[03:43:34] <jpstone> can anyone help me understand why my ng-shows aren't working here? http://plnkr.co/edit/DbLomycvnewdpdARJJsM?p=preview
[03:44:17] *** mmitchell has quit IRC
[03:44:24] *** pkayfire has quit IRC
[03:45:00] *** PCChris__ has quit IRC
[03:45:03] *** ninsei has quit IRC
[03:45:13] *** lw has joined #angularjs
[03:45:36] *** ninsei has joined #angularjs
[03:45:53] *** InezK is now known as InezK_away
[03:45:57] *** ninsei has joined #angularjs
[03:46:01] *** nickp has quit IRC
[03:46:07] <helen__> jpstone: u need an $apply
[03:46:09] <MistahKurtz> lynusblan I would have a property on your $scope like `$scope.max_length` and in your template ng-max-length="max_length"
[03:46:17] *** ninsei has joined #angularjs
[03:46:23] <jpstone> helen...thanks...where?
[03:46:35] <helen__> http://plnkr.co/edit/sqjH1HAtJOFTRRtKPZdg?p=preview
[03:46:36] *** HACKING-TWITTER has joined #angularjs
[03:46:36] *** ninsei has joined #angularjs
[03:46:38] *** HACKING-TWITTER has quit IRC
[03:46:55] <lynusblan> jpstone: http://plnkr.co/edit/pGizR522wEGQZVxR2zYA?p=preview
[03:46:57] *** ninsei has joined #angularjs
[03:47:01] *** Guest24019 has joined #angularjs
[03:47:03] *** dylukes has joined #angularjs
[03:47:13] <lynusblan> jpstone: the fix is simple, just add scope.$apply() after scope.wo.clicked = true;
[03:47:15] <jpstone> interesting
[03:47:15] *** ninsei has joined #angularjs
[03:47:22] *** Guest24019 has joined #angularjs
[03:47:28] <jpstone> helen__: thanks
[03:47:37] *** ninsei has joined #angularjs
[03:47:38] <jpstone> lynusblan: thanks
[03:47:38] *** jonog_ has quit IRC
[03:47:39] *** ninsei has quit IRC
[03:47:50] *** shinnya has quit IRC
[03:48:02] <lynusblan> MistahKurtz: it should be set with directives
[03:48:07] *** Guest24019 has joined #angularjs
[03:48:12] *** HACKING-TWITTER] has quit IRC
[03:48:17] *** ninsei has joined #angularjs
[03:48:21] *** jonog has joined #angularjs
[03:48:26] *** JoshGlzBrk has quit IRC
[03:48:31] <MistahKurtz> lynusblan what do you mean
[03:48:36] *** Guest24019 has joined #angularjs
[03:48:37] *** jonog has quit IRC
[03:48:37] *** Guest24019 has quit IRC
[03:48:38] *** ninsei has joined #angularjs
[03:48:43] *** Left_Turn has quit IRC
[03:48:50] *** jonog has joined #angularjs
[03:48:57] *** ninsei has joined #angularjs
[03:49:01] *** Guest24019 has joined #angularjs
[03:49:09] <lynusblan> MistahKurtz: if I add ng-maxlength="maxlength" and $scope.maxlength = undefined, the form validation will assume that maxlength = 0
[03:49:11] <jpstone> would I need scope.$apply if I put a value in bp-assign, and used '=' on an isolate scope?
[03:49:14] *** jonog has quit IRC
[03:49:26] <jpstone> and just updated the value?
[03:49:35] <MistahKurtz> What are you trying to do, lynusblan?
[03:49:49] *** jonog has joined #angularjs
[03:50:07] *** ninsei has joined #angularjs
[03:50:17] *** blueadept has joined #angularjs
[03:50:17] *** blueadept has joined #angularjs
[03:50:18] <lynusblan> MistahKurtz: I'm building a form builder, I'll create a plunker and send to you, gimme a minute please
[03:50:51] <MistahKurtz> sure
[03:51:00] <MistahKurtz> building a builder that builds forms, eh?
[03:51:08] <MistahKurtz> yo dawg, I heard you like building forms
[03:51:17] *** [HACKING-TWITTER has joined #angularjs
[03:51:46] *** asdofindia has quit IRC
[03:51:51] *** PCChris__ has joined #angularjs
[03:51:54] *** tfennelly has joined #angularjs
[03:51:59] <helen__> jpstone: element.bind needs to trigger a digest cycle
[03:53:35] <jpstone> hmm. I'm trying to understand this. So the data binding updates, but the DOM doesn't, it seems. When I inspect and type $scope.mybinding, it is changed in Chrome console. But for some reason $apply is needed
[03:53:36] <jpstone> why?
[03:53:50] *** jonog has quit IRC
[03:53:51] *** bmac has quit IRC
[03:54:06] *** MikaAK has joined #angularjs
[03:54:38] *** shinnya has joined #angularjs
[03:55:06] <helen__> jpstone: a digest cycle triggers watches, if the watches arent triggered, then stuff wont update
[03:55:11] *** PCChris_ has quit IRC
[03:55:19] <helen__> such as ng show
[03:55:29] *** tbo_ has joined #angularjs
[03:55:54] <jpstone> but direct bindings will...{{my.binding}} for example?
[03:56:04] *** tfennelly has quit IRC
[03:56:15] <jpstone> if I did elem.on('click', function(){scope.my.binding = 'newvalue'})
[03:56:16] *** ustunozgur has joined #angularjs
[03:56:17] <jpstone> that would show, right?
[03:56:28] <jpstone> in the DOM
[03:56:38] <helen__> douby iy?
[03:56:42] <helen__> doubt it?
[03:57:00] *** lw has quit IRC
[03:57:13] *** Alina-malina has joined #angularjs
[03:57:15] *** Alina-malina has joined #angularjs
[03:57:17] <BobbieBarker> hey if you have a list of email addys, what is a slick way to parse them so that you only get a list of the domain names?
[03:57:31] <BobbieBarker> i.e how to sort emails by domain name
[03:57:31] *** sdouglas has quit IRC
[03:57:48] *** bmac has joined #angularjs
[03:58:26] *** sdouglas has joined #angularjs
[03:59:50] *** PCChris_ has joined #angularjs
[04:00:00] *** charuru has quit IRC
[04:00:01] *** whunt has quit IRC
[04:00:07] <jpstone> this is weird...I have another app where it's all updating without scope.$apply
[04:00:27] *** Hypnotizes has joined #angularjs
[04:01:33] <helen__> uh were u using element.bind?
[04:01:36] *** phuh has quit IRC
[04:01:42] <robdubya> BobbieBarker string.split('@') ?
[04:01:57] <BobbieBarker> yeah
[04:01:57] *** bzitzow has quit IRC
[04:01:59] <jpstone> nope. but everything is wrapped in a promise in my other directive...that wouldn't make a difference though, right?
[04:01:59] <BobbieBarker> i just realized that
[04:02:05] <BobbieBarker> i as hoping there would be a slick way of doing it rob
[04:02:11] <helen__> jpstone: promises trigger digest cycles too
[04:02:15] <jpstone> ahhh
[04:02:17] <jpstone> maybe that's why?
[04:02:22] <BobbieBarker> good looking out though dude
[04:02:24] <helen__> lots of built in stuff trigger digest cycles
[04:02:26] *** Deseaus has quit IRC
[04:02:30] *** gnarMatix has joined #angularjs
[04:02:30] <jpstone> gotcha
[04:02:30] <helen__> for example ng-click triggers one
[04:02:33] <jpstone> ok, that would make sense then
[04:02:33] <robdubya> orderBy: foo.email.split('@') ?
[04:02:47] <robdubya> orderBy: foo.email.split('@')[1] ?
[04:02:47] <jpstone> Yeah, I should probably just use ng-click
[04:02:53] <jpstone> totally spaced on that one
[04:02:55] <robdubya> iunno
[04:03:02] *** helen__ has quit IRC
[04:03:35] *** PCChris__ has quit IRC
[04:04:01] *** ninsei has quit IRC
[04:04:35] *** spencercarnage has quit IRC
[04:06:11] *** jpiasetz has joined #angularjs
[04:06:14] *** zanea|away is now known as zanea
[04:06:34] *** davemerwin has joined #angularjs
[04:06:38] *** gnarMatix has quit IRC
[04:08:06] *** asdofindia has joined #angularjs
[04:08:50] *** justinobney has joined #angularjs
[04:09:02] *** CodeFriar has joined #angularjs
[04:12:11] *** phuh has joined #angularjs
[04:13:21] *** justinobney has quit IRC
[04:13:58] *** CodeFriar has quit IRC
[04:14:36] *** systematik has joined #angularjs
[04:16:09] *** nicholaswyoung has quit IRC
[04:16:23] *** phuh has quit IRC
[04:16:52] *** phuh has joined #angularjs
[04:18:58] *** digia|away is now known as digia
[04:19:43] *** foo-bar- has joined #angularjs
[04:19:55] *** [n0b0dy] has quit IRC
[04:20:06] *** [n0b0dy] has joined #angularjs
[04:20:13] *** itsananderson has quit IRC
[04:20:15] <lynusblan> MistahKurtz: http://plnkr.co/edit/3mOSX1aZomcv12i0aAL9?p=preview
[04:20:17] *** Jdubs_ has joined #angularjs
[04:20:42] <lynusblan> MistahKurtz: type something in the field, you should see that if maxlength isnt set, it assumes as 0
[04:21:16] <lynusblan> MistahKurtz: what I need, is a check in my directive, for example: if (field.maxlength) { attrs.$set('ngMaxlength', field.maxlength); }
[04:21:35] *** phuh has quit IRC
[04:22:16] *** Hackwar1 has joined #angularjs
[04:23:33] *** Jdubs has quit IRC
[04:23:50] *** foo-bar- has quit IRC
[04:23:50] *** justinobney has joined #angularjs
[04:24:34] *** Hackwar has quit IRC
[04:25:33] *** bayousoft has quit IRC
[04:26:17] *** jonog has joined #angularjs
[04:28:20] *** cpciv has quit IRC
[04:28:39] <MistahKurtz> lol I tried setting it to Infinity lynusblan
[04:28:45] <MistahKurtz> (the Infinity js object)
[04:28:47] *** justinobney has quit IRC
[04:29:12] *** bayousoft has joined #angularjs
[04:29:26] *** digia is now known as digia|away
[04:30:14] <MistahKurtz> well lynusblan this is a good question
[04:30:36] <MistahKurtz> You could manually add the attribute, and re-compile your gear-field.html template
[04:30:41] <MistahKurtz> but that feels a bit messy
[04:30:57] <lynusblan> yep :(
[04:31:14] <lynusblan> another question
[04:31:25] *** gnrlbzik has joined #angularjs
[04:31:28] <lynusblan> MistahKurtz: "$parent[form.name][field.name].$error.required" is bad to use or it's ok?
[04:31:47] <MistahKurtz> I think what you might want to do here is create another directive that wraps the ng-maxlength directive. Then you use the 'require' property to require ng-maxlength's controller
[04:31:56] *** sdouglas has quit IRC
[04:32:07] <MistahKurtz> Then you could augment how ng-maxlength returns
[04:32:43] <lynusblan> cool idea, I saw in angular source somehting like $validators, I think I could use this
[04:32:48] <MistahKurtz> like always return true (valid) if max length is disabled
[04:33:01] <MistahKurtz> otherwise, return the result from ng-maxlength's controller
[04:33:12] <MistahKurtz> something like that
[04:33:24] <robdubya> lynusblan i think that you should have two distinct things
[04:33:26] <robdubya> the form instance
[04:33:30] <robdubya> and the model instance
[04:33:45] <robdubya> right now they're sort of blurred
[04:34:39] *** snurfery has joined #angularjs
[04:34:58] *** drej has quit IRC
[04:35:35] *** DrMabuse has joined #angularjs
[04:36:08] <lynusblan> robdubya: oh yeah, I'll fix that in the futue
[04:36:23] <lynusblan> robdubya: do you think it's ok to use "$parent[form.name][field.name].$error.required"? $paret isnt a bad thing?
[04:36:29] <lynusblan> $parent*
[04:36:29] <robdubya> no
[04:36:33] <robdubya> its bad
[04:36:49] <lynusblan> any idea how to fix this?
[04:36:51] *** InezK_away is now known as InezK
[04:37:02] <robdubya> i'm not sure of a better way really. tbh i think the whole formbuilder concept is kinda ungular
[04:37:07] <zelrik> what is it
[04:37:18] <zelrik> $parent[form.name]
[04:37:38] *** conner_ has joined #angularjs
[04:37:39] *** bkuberek has quit IRC
[04:37:42] <robdubya> i mean i get there's use cases, but its trivial to whip up a form and i figure its just an unnecessary abstraction
[04:37:44] <robdubya> ymmv
[04:37:55] *** danielpquinn has joined #angularjs
[04:38:04] *** VictorBjelkholm has quit IRC
[04:38:29] <zelrik> oh
[04:38:31] <zelrik> hmm
[04:38:37] <zelrik> I just understood something
[04:39:09] <lynusblan> I used $parent[form.name] to get form validation $errors
[04:39:29] *** bicranial has joined #angularjs
[04:39:38] *** ckboii89 has joined #angularjs
[04:39:46] <zelrik> there are still things in angularJS that make me feel like a noob
[04:40:33] *** DrMabuse has quit IRC
[04:40:33] *** ckboii89 has quit IRC
[04:40:52] *** ckboii89 has joined #angularjs
[04:40:59] *** amargherio has quit IRC
[04:41:54] *** dylanlin_ has joined #angularjs
[04:42:13] *** danielpquinn has quit IRC
[04:42:46] <lynusblan> robdubya: a better approach: link: function (scope, element, attrs) { scope.formRef = scope[scope.form.name]; }
[04:43:05] <lynusblan> then I can use formRef[field.name] instead $parent[form.name][field.name]
[04:43:06] <robdubya> that's closer, yeah
[04:43:14] <lynusblan> what do you think robdubya ?
[04:43:18] *** dylanlindgren has quit IRC
[04:43:40] <lynusblan> i could be added on controller instead link?
[04:43:41] <robdubya> do you have a bunch of forms already stored as json, or what?
[04:43:52] *** bayousoft has quit IRC
[04:43:59] <lynusblan> I'm building a app creator
[04:44:15] <lynusblan> the forms, routes, and things like that I'll fetched from CouchDB
[04:44:32] <lynusblan> will*
[04:44:50] <robdubya> you must be a recovering java developer
[04:44:56] *** bkuberek has joined #angularjs
[04:45:10] <lynusblan> not really
[04:45:12] <lynusblan> haha
[04:45:18] <lynusblan> I was a php developer
[04:45:30] *** DigitallyBorn has quit IRC
[04:45:32] <lynusblan> I'm using nodejs + express now
[04:45:39] *** basichash has quit IRC
[04:45:47] *** jonog has quit IRC
[04:46:07] <lynusblan> robdubya: what's the difference between controller and link in directives? when to use one and another?
[04:46:09] *** L8TR has quit IRC
[04:46:39] *** InezK is now known as InezK_away
[04:46:51] <robdubya> http://jasonmore.net/angular-js-directives-difference-controller-link/
[04:47:08] <snurfery> this man has googled your exact question
[04:47:11] <snurfery> haha
[04:47:52] *** tfennelly has joined #angularjs
[04:48:32] *** cmoneylulz has joined #angularjs
[04:49:03] *** bkuberek has quit IRC
[04:49:13] *** gil has joined #angularjs
[04:49:23] <lynusblan> thank you robdubya !
[04:49:28] *** bmac has quit IRC
[04:49:40] <robdubya> lynusblan just to play devils advocate a bit
[04:49:45] *** foo-bar- has joined #angularjs
[04:49:58] *** conner_ has quit IRC
[04:50:17] *** paperElectron is now known as Paper_bounced
[04:50:35] <robdubya> since i'm dabbling in the app-builder business myself - i reckon doing dynamic layout types things might be better suited to ui-router + lots of dynamic states
[04:50:57] <robdubya> vs hypercomplicated directives
[04:51:24] <robdubya> at some point somebody's going to have to write a controller i assume
[04:51:58] *** tfennelly has quit IRC
[04:52:06] *** fixl has joined #angularjs
[04:52:45] *** cmoneylulz has quit IRC
[04:52:51] <lynusblan> robdubya: I don't know yet if it'll be really an app builder
[04:52:57] *** davedev24_ has quit IRC
[04:53:20] *** bphogan_afk is now known as bphogan
[04:53:20] <lynusblan> robdubya: my client project's needs a lot of custom fields, so I'm trying to create at least a field configurator
[04:53:39] *** davedev24_ has joined #angularjs
[04:53:40] <robdubya> lynusblan see, a specific custom field is a good use case for a directive
[04:54:03] *** foo-bar- has quit IRC
[04:54:13] <robdubya> but the whole point (imo) of angular is that's its super simple to write a template and hook it up to a controller
[04:54:41] <robdubya> its sort of ... writing a web app vs trying to describe a web app
[04:54:44] *** bkuberek has joined #angularjs
[04:54:54] <moogumbo> Is it possible/reasonable to write a directive that uses different templates based on the attributes passed in?
[04:55:07] <robdubya> moogumbo yes.
[04:55:15] <robdubya> google it, there's a bunch of tuts out there
[04:55:29] <robdubya> angular directive dynamic template
[04:55:33] <lynusblan> robdubya: so you mean that angular already is "an app builder"
[04:55:34] <lynusblan> ?
[04:56:41] <robdubya> lynusblan kinda. i just find myself to be far more productive when i can write JS and html, slap em together, and move on. my designer can work with it. its readable. it just stinks of backbone / jquery thinking to me
[04:57:21] <robdubya> a custom i dunno, daterangepicker is easily resuable
[04:57:44] <robdubya> <my-datepicker ng-model="someObject.date" ng-required="true">
[04:57:46] <robdubya> next
[04:57:55] <moogumbo> robdubya: Oh, I have to use $compile and the link function?
[04:58:17] <robdubya> generally yes
[04:58:17] <lynusblan> robdubya: I think you are right
[04:58:26] <moogumbo> Hm, that's annoying. Maybe I should just have two different directives.
[04:58:42] <robdubya> moogumbo depends on how many types you end up with
[04:58:43] <lynusblan> robdubya: my problem is, each enterprise has a set of custom fields
[04:59:03] <moogumbo> robdubya: Only two, and the templates are one line each with a minor difference. I was just trying to be clever about it and do it all in 1 directive.
[04:59:03] <lynusblan> robdubya: I'll attach a json that describes this fields
[04:59:05] <robdubya> lynusblan so you could easily build up a library of directives for the fields
[04:59:18] *** nickp has joined #angularjs
[04:59:19] <robdubya> but not the *forms*
[04:59:21] <robdubya> if that makes sense
[04:59:37] <lynusblan> yeah, this makes sense
[04:59:43] <robdubya> a field is resuseable. a form, not so much without some silly complex directive
[05:00:03] *** MistahKurtz has quit IRC
[05:00:08] <aviraldg> moogumbo, ng-include also works
[05:00:30] <aviraldg> of course, not *exactly* what you want
[05:00:37] *** VictorBjelkholm has joined #angularjs
[05:00:47] *** justinobney has joined #angularjs
[05:00:56] <robdubya> moogumbo if its truly that simple you could ng-switch/ng-if/etc within a single template
[05:01:38] <lynusblan> robdubya: you are totally right my friend, thank you for your great help!
[05:02:16] <lynusblan> I need to leave now, I hope see you later in this chat room robdubya :)
[05:02:25] <robdubya> lynusblan coolio. you'll find once you have a set of custom elements, and setup services, you can toss together an app in minutes
[05:02:42] <robdubya> much easier than trying to describe the whole thing with metadata
[05:03:04] *** sdouglas has joined #angularjs
[05:03:22] *** Gooder`` has joined #angularjs
[05:03:29] *** MistahKurtz has joined #angularjs
[05:04:13] *** bayousoft has joined #angularjs
[05:04:43] * robdubya saves the world from yet-another-formbuilder
[05:05:05] *** wilmoore has joined #angularjs
[05:05:12] *** Gooder` has quit IRC
[05:07:40] *** drej has joined #angularjs
[05:10:23] *** [n0b0dy] has quit IRC
[05:10:34] *** [n0b0dy] has joined #angularjs
[05:11:46] *** MikaAK has quit IRC
[05:13:29] *** badon has quit IRC
[05:14:23] *** badon has joined #angularjs
[05:15:41] *** MTGap has quit IRC
[05:16:11] *** bayousoft has quit IRC
[05:17:23] *** sdouglas has quit IRC
[05:19:18] *** wilmoore has quit IRC
[05:20:25] *** [n0b0dy] has quit IRC
[05:20:35] *** [n0b0dy] has joined #angularjs
[05:21:23] *** slainer68 has joined #angularjs
[05:21:46] *** tbo_ has quit IRC
[05:21:57] <moogumbo> Hm, when I write the template in my directive, how do I give it access to functions defined within the directive?
[05:22:00] *** agronholm has quit IRC
[05:22:55] <aviraldg> by actually reading the angular docs
[05:23:14] <moogumbo> Looks like I can't get around having to use $compile
[05:23:16] *** iateadonut has left #angularjs
[05:23:43] <jpstone> chances are, if you have to use $compile, you're doing things wrong.
[05:24:06] <moogumbo> I was told to use $compile literally 20 minutes ago
[05:24:13] *** Hypnotizes has quit IRC
[05:24:30] *** lucasjans has quit IRC
[05:24:35] *** VictorBjelkholm has quit IRC
[05:24:37] *** davek is now known as tracekill
[05:24:43] <aviraldg> ng-include
[05:24:45] *** tracekill has left #angularjs
[05:24:49] <jpstone> I was told to use $compile once in here, and then a day later, when another guy saw my code, was blatently honest and told me how to do it correctly :)
[05:25:26] <moogumbo> ng-include is definitely not what I'm looking for
[05:25:38] *** VictorBjelkholm has joined #angularjs
[05:25:45] <moogumbo> jpstone: What was the alternative approach?
[05:26:05] <hecatonicosachor> moogumbo, what do you mean "when I write the template in my directive"?
[05:26:07] *** hecatonicosachor is now known as sacho
[05:26:11] *** agronholm has joined #angularjs
[05:26:13] <sacho> template: "stringofhtml"?
[05:26:16] *** MikaAK has joined #angularjs
[05:26:16] <moogumbo> Let me throw together a simple plunkr
[05:26:21] <moogumbo> sacho: Yes
[05:26:39] <jpstone> I would need to know what you're trying to do. Do you have a plunker or something?
[05:26:40] <moogumbo> I'd like to do template: "{{ foobar() }}" where foobar is a function defined in the directive
[05:26:42] <jpstone> robdubya: do you recommend any form builders?
[05:26:51] *** ninsei has joined #angularjs
[05:26:52] <sacho> it's actualy irrelevant - if you want functions defined in your directive to be visible in the template, you need them on the scope
[05:27:35] <moogumbo> So I should write a link method that puts the function into the scope?
[05:27:35] *** ninsei has quit IRC
[05:27:40] <jpstone> moogumbo: are you defining the function like this: scope.foobar = function() etc ?
[05:27:40] <sacho> yeah
[05:28:07] <moogumbo> I was really trying to get away with not having to write a link or a compile method, but maybe that's silly
[05:28:19] *** kalusn has quit IRC
[05:28:27] <jpstone> Where you you defining the function, if not in the link?
[05:28:32] <jpstone> *were
[05:28:40] <moogumbo> Just... in the directive, right above where I define the template string
[05:28:45] <jpstone> lol
[05:28:57] <moogumbo> I guess that does sound ridiculous now that I've explained it
[05:28:58] <sacho> moogumbo, there's just no way otherwise, the calling code that compiles and links the directive is defined elsewhere, so it has no access to your scope
[05:29:08] <jpstone> the link gets called after everything is compiled, I believe
[05:29:11] <moogumbo> sacho: Fair enough
[05:29:56] <jpstone> see, no need for $compile :)
[05:30:12] <sacho> rather, compile wouldn't really help him
[05:30:31] <moogumbo> Well, I was going to do something like this using compile http://onehungrymind.com/angularjs-dynamic-templates/
[05:31:17] <jpstone> Yeah, he's creating HTML strings in his directive
[05:31:21] <jpstone> In angular, that's almost always a no-no
[05:31:46] *** starfox_21 has quit IRC
[05:32:13] <moogumbo> Oh, hm. Alright.
[05:32:32] *** k-dawg has joined #angularjs
[05:32:49] <jpstone> That's what's so fun about angular. You can have tons of fun creating awesome data models that allow you to have static html files, which hang on your model :)
[05:32:51] <sacho> eh?
[05:33:24] <sacho> nothing would change if it was a tempate specified by a url/id
[05:34:16] *** phuh has joined #angularjs
[05:34:32] <jpstone> If you find yourself writing html strings in your javascript the (ala jQuery-style), you should think about creating a model that will do all the work for you, and leverage it in a static html file
[05:35:12] <sacho> moogumbo, the same way he defines html strings in his directive, you can have multiple urls/ids for your templates
[05:35:19] * aviraldg wonders why no one's asking moogumbo to go read through the docs + tutorial.
[05:35:27] <jpstone> not saying that's always the way it should be, but most likely the best rule of thumb
[05:35:43] *** conner_ has joined #angularjs
[05:35:43] *** pkayfire has joined #angularjs
[05:36:19] *** DrMabuse has joined #angularjs
[05:37:15] *** slainer68 has quit IRC
[05:37:33] *** fedenunez has joined #angularjs
[05:37:38] *** InezK_away is now known as InezK
[05:37:53] *** slainer68 has joined #angularjs
[05:37:59] *** ninsei has joined #angularjs
[05:37:59] *** pkayfire_ has joined #angularjs
[05:38:40] *** danielpquinn has joined #angularjs
[05:39:49] *** postitnote has joined #angularjs
[05:40:45] *** dylukes has quit IRC
[05:41:03] *** DrMabuse has quit IRC
[05:41:23] *** pkayfire has quit IRC
[05:41:23] *** ngoyal has quit IRC
[05:42:56] *** pkayfire_ has quit IRC
[05:43:02] *** danielpquinn has quit IRC
[05:43:15] *** phuh has quit IRC
[05:43:47] *** pkayfire has joined #angularjs
[05:44:13] *** quantax_ has joined #angularjs
[05:44:58] *** ngoyal has joined #angularjs
[05:45:19] *** quantax- has quit IRC
[05:46:55] *** bphogan is now known as bphogan_afk
[05:47:01] *** dylukes has joined #angularjs
[05:47:25] *** InezK is now known as InezK_away
[05:47:28] *** ustunozgur has quit IRC
[05:47:50] *** VictorBjelkholm has quit IRC
[05:49:21] *** pkayfire has quit IRC
[05:49:40] *** phuh has joined #angularjs
[05:49:47] *** ngoyal has quit IRC
[05:50:11] *** phuh has quit IRC
[05:50:33] *** spencercarnage has joined #angularjs
[05:51:36] *** hnordt has joined #angularjs
[05:52:25] *** onr has quit IRC
[05:52:52] *** lynusblan has quit IRC
[05:54:38] *** mven_ has joined #angularjs
[05:56:55] *** homey has joined #angularjs
[05:57:21] *** avree has joined #angularjs
[05:58:47] *** kalusn has joined #angularjs
[05:58:50] <robdubya> no reason you couldn't preload those templates from html files insdie the directive
[05:59:35] *** steffengy has joined #angularjs
[06:00:42] *** davemerwin has quit IRC
[06:00:42] *** mattt_ has quit IRC
[06:01:16] *** davemerwin has joined #angularjs
[06:01:28] *** josh-k has quit IRC
[06:01:57] *** optikalmouse has quit IRC
[06:01:58] *** ustunozgur has joined #angularjs
[06:01:59] *** VictorBjelkholm has joined #angularjs
[06:02:17] *** steffengy1 has quit IRC
[06:02:41] *** zanea is now known as zanea|away
[06:02:42] <sacho> yup.
[06:02:56] *** Siecje has quit IRC
[06:03:25] *** Deseaus has joined #angularjs
[06:03:32] *** Ethix has quit IRC
[06:03:51] *** neurotech has joined #angularjs
[06:04:09] *** josh-k has joined #angularjs
[06:04:40] *** tbo_ has joined #angularjs
[06:04:55] <ckboii89> hey guys im trying to use autocomplete in my modal form, but the problem is that the <script> tag from the angular ui website is screwing wiht it, therefore not allowing my autocomplete to work. any work arounds?
[06:05:23] *** kalusn has quit IRC
[06:05:28] *** bphogan_afk is now known as bphogan
[06:05:33] *** Jdubs_ has quit IRC
[06:05:45] <neurotech> Hi guys. Can anyone help me with this problem? https://gist.github.com/neurotech/e505fc706fcfcc7b29f1
[06:05:59] *** davemerwin has quit IRC
[06:06:09] *** aviraldg has quit IRC
[06:07:38] *** Deseaus has quit IRC
[06:07:40] <robdubya> neurotech use tokens
[06:07:50] <robdubya> or, at least investigate them
[06:08:03] <robdubya> sessions are old school
[06:08:19] <robdubya> https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/
[06:08:47] <robdubya> https://github.com/robwormald/node-jwt-demo
[06:09:33] <neurotech> oh neat
[06:09:48] *** gnarMatix has joined #angularjs
[06:09:52] *** InezK_away is now known as InezK
[06:11:18] *** VictorBjelkholm has quit IRC
[06:11:26] *** ninsei has quit IRC
[06:11:37] *** Shrooms has joined #angularjs
[06:11:38] *** ninsei has joined #angularjs
[06:11:48] *** aviraldg has joined #angularjs
[06:11:55] *** ninsei has joined #angularjs
[06:12:02] *** aviraldg has quit IRC
[06:12:10] *** ninsei has joined #angularjs
[06:12:23] *** patrickarlt has joined #angularjs
[06:12:27] *** ninsei has joined #angularjs
[06:13:20] *** xmmp has quit IRC
[06:13:39] *** ninsei has joined #angularjs
[06:13:40] *** josh-k has quit IRC
[06:14:10] *** josh-k has joined #angularjs
[06:14:37] *** gnarMatix has quit IRC
[06:15:39] *** josh-k_ has joined #angularjs
[06:15:46] *** ziyadb has quit IRC
[06:15:59] *** josh-k has quit IRC
[06:16:10] *** hswolff has quit IRC
[06:16:53] *** lebek has quit IRC
[06:17:00] *** JimTheDev has quit IRC
[06:17:45] *** starfox_21 has joined #angularjs
[06:18:09] *** chrisbirk has joined #angularjs
[06:19:14] *** josh-k_ has quit IRC
[06:19:47] *** josh-k has joined #angularjs
[06:20:07] *** patrickarlt has quit IRC
[06:20:32] *** TheAceOfHearts has joined #angularjs
[06:21:08] *** dylukes has quit IRC
[06:22:04] *** motionman has joined #angularjs
[06:22:05] *** motionman has joined #angularjs
[06:24:03] *** josh-k has quit IRC
[06:24:15] *** avree has quit IRC
[06:24:28] *** VictorBjelkholm has joined #angularjs
[06:25:19] *** ninsei_j has joined #angularjs
[06:25:27] *** justinob_ has joined #angularjs
[06:25:35] *** ninsei_o has joined #angularjs
[06:25:50] *** ninsei_i has joined #angularjs
[06:26:03] *** ckboii89 has quit IRC
[06:26:04] *** ninsei has quit IRC
[06:26:04] *** ninsei_u has joined #angularjs
[06:26:19] *** ninsei has joined #angularjs
[06:26:34] *** ninsei has joined #angularjs
[06:26:49] *** ninsei has joined #angularjs
[06:26:54] *** bkuberek_ has joined #angularjs
[06:27:02] *** patrickarlt has joined #angularjs
[06:27:05] *** ninsei has joined #angularjs
[06:27:20] *** ninsei has joined #angularjs
[06:27:35] *** ninsei has joined #angularjs
[06:27:46] *** tbo_ has quit IRC
[06:27:50] *** ninsei has joined #angularjs
[06:28:05] *** ninsei has joined #angularjs
[06:28:20] *** ninsei has joined #angularjs
[06:28:24] *** xmmp has joined #angularjs
[06:28:35] *** ninsei has joined #angularjs
[06:28:55] *** PCChris__ has joined #angularjs
[06:29:23] *** cacts has quit IRC
[06:29:50] *** bkuberek has quit IRC
[06:29:57] *** ninsei has joined #angularjs
[06:29:59] *** justinob_ has quit IRC
[06:30:12] *** ninsei has joined #angularjs
[06:30:27] *** ninsei has joined #angularjs
[06:30:37] *** mindlace has joined #angularjs
[06:30:41] *** ninsei has joined #angularjs
[06:30:56] *** ninsei has joined #angularjs
[06:31:16] *** ckboii89 has joined #angularjs
[06:31:30] *** postitnote has quit IRC
[06:31:47] *** PCChris_ has quit IRC
[06:32:27] <hnordt> why ui-route is better than traditional angular route?
[06:32:29] *** mindlace has quit IRC
[06:32:30] <hnordt> router*
[06:32:56] *** avree has joined #angularjs
[06:33:33] *** mindlace has joined #angularjs
[06:33:38] *** visionary has quit IRC
[06:34:29] *** justinobney has quit IRC
[06:35:18] <TheAceOfHearts> because ngRoute assumes a flat state
[06:35:24] <TheAceOfHearts> which is rarely the case for normal applications
[06:36:55] *** DrMabuse has joined #angularjs
[06:37:38] *** bicranial has quit IRC
[06:37:39] *** bobdobbs` has joined #angularjs
[06:37:57] <hnordt> I'm sorry, but what's a flat state?
[06:38:01] <hnordt> :S
[06:39:23] *** danielpquinn has joined #angularjs
[06:41:32] *** bobdobbs has quit IRC
[06:41:49] *** DrMabuse has quit IRC
[06:41:56] <TheAceOfHearts> there's no nested states..?
[06:42:05] <TheAceOfHearts> so you have 1 controller associated with 1 view
[06:42:06] <TheAceOfHearts> that's it
[06:42:10] <TheAceOfHearts> that's all ngRoute gives you
[06:43:04] *** homey has quit IRC
[06:43:50] *** danielpquinn has quit IRC
[06:44:13] <hnordt> ah, I understood
[06:44:18] <hnordt> thank you TheAceOfHearts
[06:45:51] *** tomzx is now known as tomzx`afk
[06:47:18] <hnordt> TheAceOfHearts:
[06:47:28] <TheAceOfHearts> no problem
[06:47:35] <hnordt> with ui-router I can't type: controller: 'appController'?
[06:47:51] <hnordt> I need to use a anonymous function ? function($scope) {}
[06:48:05] <TheAceOfHearts> no… you can pass it a controller name
[06:49:47] *** wdgreg has quit IRC
[06:50:21] *** patrickarlt has quit IRC
[06:51:03] <hnordt> thanks :)
[06:51:31] <hnordt> anyone knows a simple token-based implementation for express?
[06:52:33] *** Milanito has joined #angularjs
[06:52:44] <robdubya> https://github.com/robwormald/node-jwt-demo
[06:52:47] *** conner_ has quit IRC
[06:53:32] *** kalehv has joined #angularjs
[06:55:03] *** thaden has quit IRC
[06:55:41] *** Illianthe has joined #angularjs
[06:55:56] *** JoshGlzBrk has joined #angularjs
[06:57:59] *** festa has joined #angularjs
[06:58:54] *** homey has joined #angularjs
[06:59:08] *** homey has joined #angularjs
[06:59:23] *** pkayfire has joined #angularjs
[07:00:25] *** lotus has joined #angularjs
[07:00:34] *** avree has quit IRC
[07:00:38] *** Gambit- has joined #angularjs
[07:01:11] *** badon has quit IRC
[07:03:03] *** MikaAK has quit IRC
[07:03:59] <lotus> hey is it possible to have a directive invoke another directive? i.e. there's angular-ui-select2 which takes an optional option object as a parameter. I want to have another directive that builds the options params and then calls angular-ui-select2 -- yes/no?
[07:04:47] *** Vinnyceptr has quit IRC
[07:05:31] *** Sgeo has joined #angularjs
[07:05:39] *** Gambit-_f has joined #angularjs
[07:07:10] *** Gambit-- has joined #angularjs
[07:07:18] *** Gambit- has quit IRC
[07:07:44] *** tk has joined #angularjs
[07:07:57] *** Willow_ has quit IRC
[07:08:07] *** sigurding has joined #angularjs
[07:08:12] *** bsmithgall has quit IRC
[07:08:25] *** Willow_ has joined #angularjs
[07:09:13] *** TheAceOfHearts has quit IRC
[07:09:23] *** tfennelly has joined #angularjs
[07:09:35] *** nemothekid has quit IRC
[07:09:58] *** jstimm has joined #angularjs
[07:10:03] *** Gambit-_f has quit IRC
[07:10:07] *** jstimm has quit IRC
[07:10:56] *** Jdubs has joined #angularjs
[07:11:29] <moogumbo> You can nest directives, yes
[07:12:39] <robdubya> its not really "calling" the other directive
[07:12:52] <robdubya> they both just need to *bind* to the same object
[07:13:00] <lotus> I'd like to replace a call to ui-select2 with a call to my-select2 which then simply builds an options object from attribute values and passes it into ui-select2 as if the options were attached to <select ui-select="{...}">
[07:13:11] *** Willow_ has quit IRC
[07:13:13] *** bkuberek_ has quit IRC
[07:13:38] *** tfennelly has quit IRC
[07:13:45] <robdubya> why not just fix the data before it gets to the view?
[07:14:00] <lotus> hmm?
[07:14:11] <lotus> like, build the options ahh
[07:14:15] <lotus> in scope.
[07:14:25] *** Shrooms` has joined #angularjs
[07:14:26] <robdubya> preferably in a servie
[07:14:28] <robdubya> *service
[07:14:35] <lotus> then just do ui-select2="[[scopeVar]]"
[07:14:40] <robdubya> yup
[07:14:45] *** nickp has quit IRC
[07:14:56] <lotus> in a service? I thought services just provided utilities to directives...
[07:14:56] *** sdouglas has joined #angularjs
[07:15:03] *** Jdubs has quit IRC
[07:15:10] *** nickp has joined #angularjs
[07:15:17] *** Willow_ has joined #angularjs
[07:15:26] *** tbo_ has joined #angularjs
[07:15:49] *** asdofindia has quit IRC
[07:16:25] *** mennea has joined #angularjs
[07:16:38] *** starfox_21 has quit IRC
[07:17:11] <robdubya> no
[07:17:27] <robdubya> data comes from services, goes to controllers, and bind to the view
[07:17:32] <robdubya> typicaly
[07:18:36] *** vintik has joined #angularjs
[07:19:47] *** sdouglas has quit IRC
[07:20:00] *** Ethix has joined #angularjs
[07:20:46] *** pkayfire has quit IRC
[07:21:44] *** badon has joined #angularjs
[07:22:47] *** homey has quit IRC
[07:24:17] *** jbourassa has quit IRC
[07:24:19] <lotus> If I want to dump json data into an attribute as in ui-select2="[[options | json]]" is there a way to stop the quotation marks from breaking, or is angular smarter than that?
[07:26:36] *** Gues_____ has joined #angularjs
[07:27:06] *** sgnl has joined #angularjs
[07:27:54] *** starfox_21 has joined #angularjs
[07:30:25] *** sigurding has quit IRC
[07:30:49] *** LuxuryMode has joined #angularjs
[07:30:56] *** [n0b0dy] has quit IRC
[07:31:03] *** lotus has quit IRC
[07:31:07] *** [n0b0dy] has joined #angularjs
[07:31:54] *** sgnl has quit IRC
[07:32:42] *** Alina-malina has quit IRC
[07:33:53] *** psyma has joined #angularjs
[07:35:10] *** psyma has quit IRC
[07:35:37] *** nickp has quit IRC
[07:36:05] *** nemothekid has joined #angularjs
[07:37:50] *** DrMabuse has joined #angularjs
[07:40:12] *** danielpquinn has joined #angularjs
[07:40:56] *** [n0b0dy] has quit IRC
[07:41:06] *** [n0b0dy] has joined #angularjs
[07:42:14] *** DrMabuse has quit IRC
[07:42:18] <hnordt> in token based auth, the token is always the same?
[07:44:37] *** danielpquinn has quit IRC
[07:45:00] *** TheAceOfHearts has joined #angularjs
[07:46:29] *** Shrooms` has quit IRC
[07:46:51] *** Shrooms has quit IRC
[07:46:58] *** LuxuryMode has quit IRC
[07:47:11] *** vintik has quit IRC
[07:48:07] *** cpciv has joined #angularjs
[07:48:57] *** dancrew32 has joined #angularjs
[07:49:14] *** pkayfire has joined #angularjs
[07:49:47] *** PCChris__ has quit IRC
[07:50:44] *** kroogs has joined #angularjs
[07:50:44] *** Milanito has quit IRC
[07:50:54] *** morenoh149 has joined #angularjs
[07:50:59] *** LuxuryMode has joined #angularjs
[07:55:10] *** cpciv has quit IRC
[07:55:12] *** mindlace has quit IRC
[07:55:34] *** kroogs has quit IRC
[07:57:38] *** jonog has joined #angularjs
[08:01:02] *** mindlace has joined #angularjs
[08:01:51] *** davemerwin has joined #angularjs
[08:02:51] *** dc_ has joined #angularjs
[08:03:37] *** Deseaus has joined #angularjs
[08:05:09] *** delerium_ has joined #angularjs
[08:06:15] *** davemerwin has quit IRC
[08:07:02] *** lucasjans has joined #angularjs
[08:08:23] *** Deseaus has quit IRC
[08:08:24] *** bbrown has joined #angularjs
[08:10:10] *** lw has joined #angularjs
[08:12:08] *** Aerospar_ has quit IRC
[08:12:13] *** subnl2 has quit IRC
[08:12:52] *** dc_ has quit IRC
[08:12:53] *** TheAceOfHearts has quit IRC
[08:13:12] *** gnarMatix has joined #angularjs
[08:13:15] *** TheAceOfHearts has joined #angularjs
[08:14:50] *** gnarMati_ has joined #angularjs
[08:14:50] *** gnarMatix has quit IRC
[08:16:25] *** dc_ has joined #angularjs
[08:16:25] *** pdillinger1 has joined #angularjs
[08:17:08] *** Ethix has quit IRC
[08:17:14] *** josh-k has joined #angularjs
[08:18:33] *** fedenunez has quit IRC
[08:18:58] *** gnarMati_ has quit IRC
[08:21:24] *** firefly_ has joined #angularjs
[08:21:39] <firefly_> guys a quick question
[08:21:58] <firefly_> how can i call a function defined in a directives controller from the same controllers link function?
[08:22:34] *** roymiloh has joined #angularjs
[08:23:11] *** RandomStranger- has joined #angularjs
[08:25:15] *** conner_ has joined #angularjs
[08:25:31] *** kalehv has quit IRC
[08:25:45] *** wa5ted_ has joined #angularjs
[08:26:05] *** RandomStranger has quit IRC
[08:26:17] <firefly_> guys anybody know how to call a function defined in a directives controller from the same controllers link function?
[08:26:41] <RandomStranger-> Didn't you just asked this question not even 5 minutes ago? o.o
[08:27:05] *** jedrek has left #angularjs
[08:27:11] <firefly_> RandomStranger-: yea i did, didnt you joined the channel after that
[08:27:29] <RandomStranger-> No
[08:27:34] *** wa5ted has quit IRC
[08:27:39] *** wa5ted_ is now known as wa5ted
[08:27:40] <firefly_> [09:21] <firefly_> how can i call a function defined in a directives controller from the same controllers link function? [09:22] == roymiloh [~roymiloh at 37 dot 142.233.109] has joined #angularjs [09:23] == RandomStranger- [~RandomStr at x2f073ff dot dyn.telefonica.de] has joined #angularjs
[08:27:51] <RandomStranger-> Lies
[08:28:08] <firefly_> so do you know how can i do it?
[08:29:25] *** conner_ has quit IRC
[08:29:37] *** cdaringe has joined #angularjs
[08:30:04] <RandomStranger-> No, else I'd have answered the first time.
[08:30:44] <firefly_> RandomStranger-: thank you for taking the time
[08:31:11] *** jonog has quit IRC
[08:31:19] <RandomStranger-> You're welcome. Better be patient.
[08:31:21] *** L8TR has joined #angularjs
[08:34:48] *** LuxuryMode has quit IRC
[08:35:44] *** RuslanDrake has joined #angularjs
[08:37:26] *** Gues_____ has quit IRC
[08:38:01] *** chrisbirk has quit IRC
[08:38:20] *** RuslanDrake has quit IRC
[08:38:26] *** DrMabuse has joined #angularjs
[08:39:53] *** Lingo has quit IRC
[08:41:01] *** danielpquinn has joined #angularjs
[08:41:24] *** Aerospark has joined #angularjs
[08:42:33] *** blueadept has quit IRC
[08:43:01] *** DrMabuse has quit IRC
[08:43:10] *** lasha has joined #angularjs
[08:43:29] *** dc_ has quit IRC
[08:44:14] *** ngoyal has joined #angularjs
[08:44:18] *** lasha has quit IRC
[08:44:25] *** spencercarnage has quit IRC
[08:44:36] *** lasha has joined #angularjs
[08:45:10] *** lucasjans has quit IRC
[08:45:18] *** danielpquinn has quit IRC
[08:46:03] *** dc_ has joined #angularjs
[08:48:15] *** itsananderson has joined #angularjs
[08:48:38] *** ngoyal has quit IRC
[08:50:19] *** josh-k has quit IRC
[08:50:53] *** josh-k has joined #angularjs
[08:51:02] *** Ericx2x has joined #angularjs
[08:51:24] *** foo-bar- has joined #angularjs
[08:51:26] *** caitp has quit IRC
[08:51:39] *** lasha has quit IRC
[08:51:54] *** caitp has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:01] *** bkuberek has joined #angularjs
[08:55:02] *** josh-k has quit IRC
[08:55:38] *** foo-bar- has quit IRC
[08:57:01] *** firefly_ has quit IRC
[08:58:18] *** H1FuelCell has joined #angularjs
[08:59:31] *** bkuberek has quit IRC
[09:02:59] *** bphogan is now known as bphogan_afk
[09:03:04] *** Ericx2x has quit IRC
[09:03:27] *** SomeKittens has quit IRC
[09:05:26] *** bphogan_afk is now known as bphogan
[09:05:34] *** senayar has joined #angularjs
[09:06:58] *** pheze has quit IRC
[09:07:01] *** senayar has quit IRC
[09:07:47] *** bbrown has quit IRC
[09:08:43] *** senayar has joined #angularjs
[09:09:24] *** tfennelly has joined #angularjs
[09:11:32] *** cctom_ has joined #angularjs
[09:13:27] *** mindlace has quit IRC
[09:14:23] *** tfennelly has quit IRC
[09:16:33] *** AciD``` has joined #angularjs
[09:16:49] *** sdouglas has joined #angularjs
[09:17:39] *** pdillinger1 has quit IRC
[09:21:02] *** sdouglas has quit IRC
[09:23:17] *** Schtive has joined #angularjs
[09:23:58] *** stevvooe has quit IRC
[09:26:59] *** caitp has quit IRC
[09:30:59] *** instence_ has joined #angularjs
[09:31:37] *** Milanito has joined #angularjs
[09:31:41] *** marr has joined #angularjs
[09:32:21] *** instence has quit IRC
[09:33:09] *** sdouglas has joined #angularjs
[09:34:04] *** Rahul_Roy has joined #angularjs
[09:38:27] *** cdaringe has quit IRC
[09:38:37] *** cctom_ has quit IRC
[09:38:56] *** cctom__ has joined #angularjs
[09:39:21] *** DrMabuse has joined #angularjs
[09:40:04] *** Jon30 has quit IRC
[09:41:42] *** tk has quit IRC
[09:41:46] *** danielpquinn has joined #angularjs
[09:42:34] *** jonog has joined #angularjs
[09:43:38] *** DrMabuse has quit IRC
[09:44:10] *** dc_ has quit IRC
[09:45:14] *** lw has quit IRC
[09:45:20] *** TheAceOfHearts has quit IRC
[09:46:13] *** danielpquinn has quit IRC
[09:46:37] *** dc_ has joined #angularjs
[09:46:37] *** jonog has quit IRC
[09:47:11] *** Nek has joined #angularjs
[09:48:50] *** ustunozgur has quit IRC
[09:50:42] *** jonog has joined #angularjs
[09:51:39] *** dutis has joined #angularjs
[09:52:20] *** Ir1sh has joined #angularjs
[09:55:01] *** festa has quit IRC
[09:55:47] *** bkuberek has joined #angularjs
[09:57:01] *** Ir1sh has quit IRC
[09:57:58] *** clavin has joined #angularjs
[09:59:23] *** Schtive has quit IRC
[10:00:03] *** bkuberek has quit IRC
[10:01:00] *** ustunozgur has joined #angularjs
[10:01:05] *** kroogs has joined #angularjs
[10:02:44] *** davemerwin has joined #angularjs
[10:02:50] *** ppppaul has joined #angularjs
[10:02:51] *** nemothekid has quit IRC
[10:05:04] *** scmx has joined #angularjs
[10:05:25] *** kroogs has quit IRC
[10:05:26] *** siddart has joined #angularjs
[10:07:01] *** davemerwin has quit IRC
[10:07:09] *** L8TR has quit IRC
[10:07:17] *** klaut has joined #angularjs
[10:11:08] *** InezK is now known as InezK_away
[10:13:03] *** ppppaul has quit IRC
[10:13:28] *** conner_ has joined #angularjs
[10:14:12] *** Aerospark has quit IRC
[10:15:31] *** starfox_21 has quit IRC
[10:15:36] *** bphogan is now known as bphogan_afk
[10:16:54] *** JoshGlzBrk has quit IRC
[10:17:49] *** conner_ has quit IRC
[10:19:59] *** marr has quit IRC
[10:21:05] *** lucasjans has joined #angularjs
[10:21:41] *** rinceRepeat has quit IRC
[10:23:21] *** sdouglas has quit IRC
[10:26:43] *** ppppaul has joined #angularjs
[10:26:46] *** vonnegut has quit IRC
[10:29:11] *** Captain_Picard has joined #angularjs
[10:32:49] *** Captain_Picard has quit IRC
[10:32:59] *** knownasilya has quit IRC
[10:33:07] *** homey has joined #angularjs
[10:33:16] *** nemothekid has joined #angularjs
[10:33:37] *** tfennelly has joined #angularjs
[10:37:50] *** jerev_away is now known as jerev
[10:38:23] *** tfennelly has quit IRC
[10:38:25] *** dylanlin_ has quit IRC
[10:40:31] *** leyluj has joined #angularjs
[10:42:12] *** roymiloh has quit IRC
[10:42:30] *** danielpquinn has joined #angularjs
[10:43:28] *** tfennelly has joined #angularjs
[10:44:07] *** tbo_ has quit IRC
[10:44:30] *** marthinal has joined #angularjs
[10:45:00] *** T0lkman has joined #angularjs
[10:45:09] *** ngoyal has joined #angularjs
[10:46:18] *** jonog has quit IRC
[10:46:51] *** jonog has joined #angularjs
[10:47:23] *** danielpquinn has quit IRC
[10:47:23] *** homey has quit IRC
[10:47:37] *** tbo_ has joined #angularjs
[10:47:39] *** Ir1sh has joined #angularjs
[10:47:52] *** nemothekid has quit IRC
[10:49:33] *** ngoyal has quit IRC
[10:51:09] *** jonog has quit IRC
[10:51:10] *** kroogs has joined #angularjs
[10:51:23] *** michaelm has joined #angularjs
[10:52:10] *** foo-bar- has joined #angularjs
[10:53:57] *** caitp has joined #angularjs
[10:54:19] *** starfox_21 has joined #angularjs
[10:55:30] *** nemothekid has joined #angularjs
[10:55:39] <T0lkman> angular is too slow when there are hg-include with heavy calculations e.g. D# charts painting etc ;[
[10:56:33] *** bkuberek has joined #angularjs
[10:56:59] *** foo-bar- has quit IRC
[10:58:27] *** RandomStranger has joined #angularjs
[10:58:37] *** leyluj has quit IRC
[10:58:47] *** caitp has quit IRC
[10:59:40] *** tbo_ has quit IRC
[10:59:49] *** RandomStranger- has quit IRC
[11:00:13] *** tbo_ has joined #angularjs
[11:00:35] *** morenoh149 has quit IRC
[11:00:38] *** bkuberek has quit IRC
[11:00:53] *** roymiloh has joined #angularjs
[11:01:28] *** Drako_ has joined #angularjs
[11:02:24] *** nemothekid has quit IRC
[11:03:02] *** ckboii89 has quit IRC
[11:03:41] <michaelm> hey. im new to angularjs and playing around with it. i have a list of 100 items, each item has several functions (delete, save, ..). should i implement a Ctrl for each item or is it better to create one overall controller for the whole list?
[11:06:01] *** InezK_away is now known as InezK
[11:06:12] <bealtine> kind of vague question...but based on what you say I'd go for one controller
[11:07:28] *** DrMabuse has joined #angularjs
[11:07:35] <michaelm> thx. but its possible to do it with many controllers, isnt it? or is there any performance issues by instancing hundreds of controller-objects
[11:07:54] *** cctom__ has quit IRC
[11:07:57] <bealtine> obviously yes
[11:08:53] *** kroogs has quit IRC
[11:09:16] <Zerot> it doesn't make sense to have controllers for that
[11:09:33] *** DrMabuse has quit IRC
[11:09:44] <Zerot> it makes sense to have an object with a prototype for those items, but not controllers
[11:09:46] *** nemothekid has joined #angularjs
[11:09:48] <bealtine> agreed
[11:09:48] *** DrMabuse has joined #angularjs
[11:10:24] *** Willow_ has quit IRC
[11:10:43] <Petazz> How can I make a "delete" button visible only if my repeat object is already in another list?
[11:11:40] <michaelm> Zerot: sounds interesting. do you have a example?
[11:11:51] <Petazz> ng-repeat="p in pictures" and I'd like to show "add to favourites" or "remove from favourites" depending on if it already is in the list favourites
[11:12:10] <Zerot> michaelm: sure. look up any docs regarding inheritance and prototypes for javascript
[11:12:38] <Zerot> Petazz: quick solution: do an indexof on the favorites list to see if it is in there
[11:13:38] <Zerot> Petazz: performant solution: store the favorite state on the picture object itself so it doesn't have to go through the favorites list every digest
[11:13:57] <Petazz> Zerot: Theres no ng-show="p in favourites" sort of solution?
[11:14:02] *** one_zero has joined #angularjs
[11:14:11] <Zerot> Petazz: as I said, indexof
[11:14:30] <Zerot> ng-show="favourites.indexOf(p)>=0"
[11:14:39] <Petazz> Hmm.. I'm loading the favourite list from the service also. Maybe I'll have to initiate both queries at beginning and then store state
[11:15:43] *** InezK is now known as InezK_away
[11:17:24] *** dariocravero has joined #angularjs
[11:18:35] *** itsananderson has quit IRC
[11:18:42] *** gstef74 has joined #angularjs
[11:18:57] *** schonert has joined #angularjs
[11:19:09] <michaelm> Zerot: i`m familiar with the basic idea of prototypes. but how would that look like for my case. you said that i shouldnt use controllers.
[11:19:11] <gstef74> hi there, anyone to help with this? http://plnkr.co/edit/zijm24?p=preview
[11:19:34] *** Left_Turn has joined #angularjs
[11:19:37] <gstef74> can't call function from dynamically loaded template
[11:19:47] *** H1FuelCell has quit IRC
[11:20:01] <Zerot> michaelm: like normal? just instantiate your items as normal? e.g. have a service provide them?
[11:20:10] *** w1ther has joined #angularjs
[11:20:20] *** cctom_ has joined #angularjs
[11:21:21] <Zerot> michaelm: your items are data, i.e. models. It makes no sense to have a controller per model
[11:21:25] <michaelm> oh, i missed to say a very important detail. the list itselfs is not managed by any model. its just a large html-list generated by php.
[11:21:43] *** nemothekid has quit IRC
[11:22:06] <michaelm> and each item should have several options (that triggers ajax-requests)
[11:22:13] <Zerot> michaelm: instead of having php generate it, have angular generate it. It will make your life a lot easier
[11:22:47] <michaelm> Zerot: maybe. but its a public website and i need to provide google some content
[11:23:20] *** nyks has joined #angularjs
[11:23:27] <nyks> hola
[11:23:33] <michaelm> hi
[11:23:44] <nyks> \como estas?
[11:24:01] <nyks> I meant how are you?
[11:24:09] *** Deseaus has joined #angularjs
[11:24:25] <michaelm> fine :)
[11:24:26] *** hychen has joined #angularjs
[11:24:42] *** moritzs has joined #angularjs
[11:24:57] <nyks> grt
[11:25:11] *** gstef74 has quit IRC
[11:25:11] <blackkbot> yo tengo es mucho gato en mi pantalones
[11:25:14] <Zerot> gstef74: you are making an isolate scope
[11:25:19] *** KamalKaur has joined #angularjs
[11:25:39] *** gp has joined #angularjs
[11:25:45] *** nyks has quit IRC
[11:25:52] <Zerot> michaelm: Google already uses js for indexing. and besides that, look at other options for SEO for SPAs
[11:26:04] *** gp is now known as Guest58714
[11:26:05] <Zerot> angular is not a good option if you want easy SEO
[11:26:40] <blackkbot> you want seo goto w3schools and figure out why they are always first for anything javascript
[11:26:50] <michaelm> hm okay. thx
[11:26:50] <sacho> you can just not use routing
[11:27:15] *** jk-5 is now known as jk-5|gone
[11:27:17] <Zerot> sacho: routing is not the problem
[11:27:25] *** cctom_ has quit IRC
[11:27:33] <Zerot> it is any dynamic dom modification that causes the problem
[11:27:47] <Zerot> e.g. directives including templates
[11:27:55] *** Emperor_Earth has joined #angularjs
[11:28:51] *** KamalKaur has left #angularjs
[11:28:52] <blackkbot> yeah async functions
[11:29:15] *** quantax_ has quit IRC
[11:31:05] <Zerot> not just async functions. it was normal that crawlers did *not* execute any js, so they could only parse the html as supplied by the server. Only recently has google started with executing js for pages
[11:33:58] *** scmx has quit IRC
[11:34:04] *** ckboii89 has joined #angularjs
[11:34:16] *** H1FuelCell has joined #angularjs
[11:34:38] *** Hypnotizes has joined #angularjs
[11:35:07] <blackkbot> yes but they started and its not like everyone has to update their computer to use the update for google crawlers... what is done, is done.
[11:36:56] <Zerot> yes. however, google is not the only crawler out there
[11:37:08] <Zerot> it is a start. we're not there yet
[11:37:34] <blackkbot> it isn't?
[11:38:13] *** ckboii89 has quit IRC
[11:38:15] <blackkbot> yeah those other are there just to keep google honest
[11:38:43] *** michaelm has quit IRC
[11:39:34] *** cctom_ has joined #angularjs
[11:39:38] *** mtsr has joined #angularjs
[11:40:11] *** T0lkman has quit IRC
[11:41:19] *** zz_Brocken is now known as Brocken
[11:41:59] <Petazz> Hi! I have a resolved Resource object with one item, why does angular.forEach(myList,func..) call the callback func with null object?
[11:42:03] *** pluma has joined #angularjs
[11:42:04] *** pluma has joined #angularjs
[11:42:09] *** lucasjans has quit IRC
[11:44:10] *** KamalKaur has joined #angularjs
[11:45:35] *** ckboii89 has joined #angularjs
[11:46:24] *** mtsr has quit IRC
[11:46:24] *** ustunozgur has quit IRC
[11:46:33] *** drej has quit IRC
[11:47:28] *** marr has joined #angularjs
[11:48:59] *** dariocravero has quit IRC
[11:49:02] *** JmZ_ is now known as JmZ
[11:51:48] *** jonog has joined #angularjs
[11:52:27] *** Se has joined #angularjs
[11:53:08] *** nemothekid has joined #angularjs
[11:54:00] <Se> where is the best place to merge jquery and angular?
[11:54:39] *** Se has quit IRC
[11:54:40] <w1ther> Hey Se, have you looked at directives?
[11:54:48] *** caitp has joined #angularjs
[11:54:59] *** dancrew32 has quit IRC
[11:55:26] <sacho> Petazz, show some code
[11:56:41] *** Vinnyceptr has joined #angularjs
[11:59:08] *** bkuberek_ has joined #angularjs
[11:59:59] *** caitp has quit IRC
[12:00:45] *** slainer68 has quit IRC
[12:01:01] *** slainer68 has joined #angularjs
[12:02:13] *** ckboii89 has quit IRC
[12:02:15] *** conner_ has joined #angularjs
[12:03:25] *** bkuberek_ has quit IRC
[12:03:30] *** senayar has quit IRC
[12:03:33] *** mtsr has joined #angularjs
[12:03:47] *** davemerwin has joined #angularjs
[12:04:38] *** scmx has joined #angularjs
[12:05:20] *** [n0b0dy] has quit IRC
[12:05:59] *** [n0b0dy] has joined #angularjs
[12:06:13] *** Ir1sh has quit IRC
[12:06:38] *** conner_ has quit IRC
[12:06:45] *** InezK_away is now known as InezK
[12:07:02] *** jk-5|gone is now known as jk-5
[12:08:13] *** dutis has quit IRC
[12:08:23] *** davemerwin has quit IRC
[12:08:59] *** m3l720_ has joined #angularjs
[12:10:50] *** m3l720_ has quit IRC
[12:11:36] *** orion1111 has joined #angularjs
[12:11:42] *** sneakertack has quit IRC
[12:14:01] *** xjiujiu has joined #angularjs
[12:14:14] *** dazs has joined #angularjs
[12:16:02] <Chepra> Can anyone recommend ng-table, ng-grid or something similar?
[12:16:32] *** InezK is now known as InezK_away
[12:16:38] <blackkbot> if you need a table use ng-table if you need a grid...
[12:17:12] *** sigurding has joined #angularjs
[12:17:51] *** metasansana has quit IRC
[12:18:07] *** CptChaos has joined #angularjs
[12:19:08] *** schonert has quit IRC
[12:19:17] *** one_zero has quit IRC
[12:19:37] *** one_zero has joined #angularjs
[12:21:01] *** moritzs has quit IRC
[12:22:04] *** H1FuelCell has quit IRC
[12:23:07] *** joaoh82 has joined #angularjs
[12:23:23] *** KamalKaur has quit IRC
[12:23:48] *** xjiujiu has quit IRC
[12:24:37] *** xmmp has quit IRC
[12:24:41] *** k-dawg has quit IRC
[12:24:53] *** michaelm has joined #angularjs
[12:25:07] *** xjiujiu has joined #angularjs
[12:25:30] *** mehlah has joined #angularjs
[12:25:48] *** Deseaus has quit IRC
[12:28:34] *** michaelm has quit IRC
[12:32:39] *** schonert has joined #angularjs
[12:32:53] *** sdouglas has joined #angularjs
[12:33:09] *** jpstone has quit IRC
[12:34:18] *** Left_Turn has quit IRC
[12:34:21] *** ckboii89 has joined #angularjs
[12:34:43] *** lite_ has joined #angularjs
[12:35:39] *** tylerlh has quit IRC
[12:36:01] *** H1FuelCell has joined #angularjs
[12:36:15] *** tylerlh has joined #angularjs
[12:37:24] *** nemothekid has quit IRC
[12:37:24] *** vonnegut has joined #angularjs
[12:37:25] *** sdouglas has quit IRC
[12:37:47] *** xjiujiu has quit IRC
[12:38:01] *** xjiujiu has joined #angularjs
[12:38:09] *** lite_ has quit IRC
[12:38:43] *** ckboii89 has quit IRC
[12:40:47] *** tylerlh has quit IRC
[12:43:54] *** danielpquinn has joined #angularjs
[12:45:50] *** ngoyal has joined #angularjs
[12:46:56] *** xjiujiu has quit IRC
[12:47:23] *** xjiujiu has joined #angularjs
[12:48:14] *** danielpquinn has quit IRC
[12:48:58] *** VictorBjelkholm has quit IRC
[12:49:58] *** lucasjans has joined #angularjs
[12:50:13] *** ngoyal has quit IRC
[12:50:17] *** joaoh82 has quit IRC
[12:50:50] *** sigurding has quit IRC
[12:51:18] *** H1FuelCell has quit IRC
[12:52:02] *** schonert has quit IRC
[12:52:14] *** starfox_21 has quit IRC
[12:52:54] *** foo-bar- has joined #angularjs
[12:53:25] <tbo_> anyone used the ngInfinateScroll directive before?
[12:54:48] *** xjiujiu has quit IRC
[12:55:16] *** xjiujiu has joined #angularjs
[12:55:44] *** caitp has joined #angularjs
[12:55:46] *** H1FuelCell has joined #angularjs
[12:57:12] *** tarnus has joined #angularjs
[12:57:21] *** Ir1sh has joined #angularjs
[12:57:35] *** foo-bar- has quit IRC
[12:58:27] *** Foxandxss has joined #angularjs
[12:59:44] *** bkuberek has joined #angularjs
[13:00:35] *** caitp has quit IRC
[13:01:31] *** Deseaus has joined #angularjs
[13:01:47] *** tarnus has quit IRC
[13:02:03] *** Ir1sh has quit IRC
[13:02:09] *** VictorBjelkholm has joined #angularjs
[13:03:28] *** lucasjans has quit IRC
[13:03:46] *** lucasjans has joined #angularjs
[13:04:04] *** bkuberek has quit IRC
[13:04:04] *** scmx has quit IRC
[13:04:04] *** marr has quit IRC
[13:05:53] *** kirk1h has joined #angularjs
[13:06:01] *** kirk1h has left #angularjs
[13:06:24] *** Ir1sh has joined #angularjs
[13:06:36] *** schonert has joined #angularjs
[13:06:40] *** neurotech has quit IRC
[13:07:29] *** InezK_away is now known as InezK
[13:07:40] *** AlSquire has joined #angularjs
[13:08:38] *** lucasjans has quit IRC
[13:10:33] *** tschundeee has quit IRC
[13:10:36] *** dc_ has quit IRC
[13:10:58] *** dc_ has joined #angularjs
[13:11:00] *** schonert has quit IRC
[13:11:35] *** cedricziel has joined #angularjs
[13:11:49] *** Left_Turn has joined #angularjs
[13:12:15] *** tbo_ has quit IRC
[13:13:19] *** L8TR has joined #angularjs
[13:14:33] *** Rahul_Roy has quit IRC
[13:14:53] *** slainer68 has quit IRC
[13:15:35] *** H1FuelCell has quit IRC
[13:15:48] *** starfox_21 has joined #angularjs
[13:17:15] *** InezK is now known as InezK_away
[13:17:36] *** L8TR has quit IRC
[13:18:21] *** L8TR has joined #angularjs
[13:20:40] <orion1111> this is how I get path in app.run: $location.path() . But how do I get template url?
[13:20:57] *** Mr_Tac has joined #angularjs
[13:20:58] *** derrzzaa has joined #angularjs
[13:22:00] *** thanpolas has joined #angularjs
[13:26:05] *** tbo_ has joined #angularjs
[13:26:38] *** DrMabuse has quit IRC
[13:26:40] *** xjiujiu has quit IRC
[13:27:02] *** klaut has quit IRC
[13:27:07] *** xjiujiu has joined #angularjs
[13:27:57] *** H1FuelCell has joined #angularjs
[13:28:19] *** moritzs has joined #angularjs
[13:28:33] *** Ir1sh has quit IRC
[13:28:42] *** Milanito has quit IRC
[13:29:53] *** hswolff has joined #angularjs
[13:31:43] *** nicholaswyoung has joined #angularjs
[13:31:49] *** Guest58714 has quit IRC
[13:32:34] *** josh-k has joined #angularjs
[13:35:07] *** ckboii89 has joined #angularjs
[13:35:48] *** klaut has joined #angularjs
[13:35:53] *** Ir1sh has joined #angularjs
[13:37:33] *** orion1111 has quit IRC
[13:38:24] *** mmone has joined #angularjs
[13:38:29] *** DrMabuse has joined #angularjs
[13:38:39] *** darkelda has joined #angularjs
[13:38:40] *** darkelda has joined #angularjs
[13:39:32] *** ckboii89 has quit IRC
[13:41:07] *** dazs has quit IRC
[13:41:08] *** orion1111 has joined #angularjs
[13:41:19] <orion1111> I was dropped out
[13:41:24] <orion1111> has anyone answered me?
[13:42:17] *** xmmp has joined #angularjs
[13:44:46] *** danielpquinn has joined #angularjs
[13:46:01] <orion1111> .
[13:47:43] *** josh-k_ has joined #angularjs
[13:49:01] *** danielpquinn has quit IRC
[13:49:26] *** mamarilmanson has joined #angularjs
[13:50:09] *** conner_ has joined #angularjs
[13:51:02] *** josh-k has quit IRC
[13:51:50] *** cctom_ has quit IRC
[13:52:34] *** H1FuelCell has quit IRC
[13:54:39] *** intellix has joined #angularjs
[13:54:45] *** conner_ has quit IRC
[13:54:48] *** Milanito has joined #angularjs
[13:55:03] <sacho> orion1111, I don't think you can - but you can make it available to your directive's link/compile functions if you assign it to a variable
[13:55:42] <sacho> since there's no "current" template
[13:55:57] *** sbeam has joined #angularjs
[13:55:58] <sacho> unless you're looking for the template for your current route
[13:56:05] <sacho> then you can do $route.current.templateUrl
[13:56:12] *** Deseaus has quit IRC
[13:56:14] *** caitp has joined #angularjs
[13:58:10] *** xjiujiu has quit IRC
[13:59:12] *** jonog has quit IRC
[13:59:48] *** jonog has joined #angularjs
[14:00:29] *** bkuberek has joined #angularjs
[14:00:33] <blackkbot> "Who do you think was smarter, Jesus or Buddha? I mean, just in terms of not letting themselves get crucified."
[14:00:46] *** tarnus has joined #angularjs
[14:01:11] *** caitp has quit IRC
[14:01:21] *** faviouz has joined #angularjs
[14:01:37] *** jonog has quit IRC
[14:02:12] *** jonog has joined #angularjs
[14:03:30] *** starfox_21 has quit IRC
[14:03:35] *** VictorBjelkholm has quit IRC
[14:04:15] *** raju has joined #angularjs
[14:04:35] *** davemerwin has joined #angularjs
[14:04:44] *** bkuberek has quit IRC
[14:04:58] <raju> hi fnds ........... i have big doubt
[14:05:04] <raju> can anyone help me
[14:05:23] *** ceephax has quit IRC
[14:05:23] <raju> i need to load 5 dropdowns with differnt parameters at a time
[14:05:49] <raju> is async=false will work in angular js
[14:06:32] *** dc_ has quit IRC
[14:06:33] *** Foxandxss has quit IRC
[14:06:34] *** mtsr has quit IRC
[14:06:35] *** w1ther has quit IRC
[14:06:35] *** Drako_ has quit IRC
[14:06:38] *** mennea has quit IRC
[14:06:39] *** badon has quit IRC
[14:06:40] *** Illianthe has quit IRC
[14:06:40] *** steffengy has quit IRC
[14:06:41] *** Gooder`` has quit IRC
[14:06:42] *** systematik has quit IRC
[14:06:43] *** sacho has quit IRC
[14:06:43] *** jharbaug_ has quit IRC
[14:06:44] *** D-Boy has quit IRC
[14:06:45] *** jdcasey has quit IRC
[14:06:45] *** forcer has quit IRC
[14:06:46] *** AWAW has quit IRC
[14:06:47] *** jamieshepherd has quit IRC
[14:06:47] *** kadamwhite has quit IRC
[14:06:48] *** MJD_ has quit IRC
[14:06:48] *** digia|away has quit IRC
[14:06:49] *** lahwran has quit IRC
[14:06:50] *** jbogarin has quit IRC
[14:06:52] *** night-owl has quit IRC
[14:06:53] *** RedOrangeZ has quit IRC
[14:06:54] *** terrykfwong has quit IRC
[14:06:54] *** Nijikokun has quit IRC
[14:06:55] *** livingstn has quit IRC
[14:06:56] *** sixr420- has quit IRC
[14:06:57] *** mvovchak has quit IRC
[14:06:58] *** elxa has quit IRC
[14:06:58] *** Zaran has quit IRC
[14:06:59] *** paddymahoney has quit IRC
[14:07:00] *** cswelin has quit IRC
[14:07:01] *** matthew_r has quit IRC
[14:07:01] *** joepie91 has quit IRC
[14:07:03] *** greg5green has quit IRC
[14:07:04] *** ch3pa has quit IRC
[14:07:04] *** Zariel has quit IRC
[14:07:04] *** ratsupremacy has quit IRC
[14:07:06] *** Huevos has quit IRC
[14:07:06] *** zarul has quit IRC
[14:07:07] *** opus_ has quit IRC
[14:07:07] *** alanp has quit IRC
[14:07:08] *** wachpwnski has quit IRC
[14:07:08] *** zonetti has quit IRC
[14:07:10] *** joshfinnie has quit IRC
[14:07:10] *** phpxadmin_ has quit IRC
[14:07:11] *** bretep has quit IRC
[14:07:13] *** webster has quit IRC
[14:07:13] *** aarellano has quit IRC
[14:07:15] *** thanpolas has quit IRC
[14:07:15] *** derrzzaa has quit IRC
[14:07:15] *** Mr_Tac has quit IRC
[14:07:17] *** mamarilmanson has quit IRC
[14:07:17] *** xmmp has quit IRC
[14:07:18] *** cedricziel has quit IRC
[14:07:19] *** vonnegut has quit IRC
[14:07:19] *** roymiloh has quit IRC
[14:07:21] *** [HACKING-TWITTER has quit IRC
[14:07:23] *** Val_ has quit IRC
[14:07:24] *** rbueno has quit IRC
[14:07:24] *** Jae has quit IRC
[14:07:27] *** TheJH has quit IRC
[14:07:28] *** ajph has quit IRC
[14:07:29] *** ericduran has quit IRC
[14:07:29] *** KimP_ has quit IRC
[14:07:31] *** cami1000 has quit IRC
[14:07:34] *** Paper_bounced has quit IRC
[14:07:36] *** tomaw has quit IRC
[14:07:36] *** pagenoare has quit IRC
[14:07:38] *** SFeser has quit IRC
[14:07:38] *** _ds82 has quit IRC
[14:07:39] *** ajf- has quit IRC
[14:07:40] *** casarock has quit IRC
[14:07:41] *** ChanServ has quit IRC
[14:07:42] *** sbeam has quit IRC
[14:07:43] *** DrMabuse has quit IRC
[14:07:43] *** L8TR has quit IRC
[14:07:44] *** AlSquire has quit IRC
[14:07:47] *** [n0b0dy] has quit IRC
[14:07:47] *** pluma has quit IRC
[14:07:48] *** Emperor_Earth has quit IRC
[14:07:48] *** marthinal has quit IRC
[14:07:48] *** wa5ted has quit IRC
[14:07:49] *** delerium_ has quit IRC
[14:07:49] *** gnrlbzik has quit IRC
[14:07:51] *** mven has quit IRC
[14:07:52] *** nagappan has quit IRC
[14:07:52] *** spion has quit IRC
[14:07:53] *** ajmitch_ has quit IRC
[14:07:53] *** Vye_ has quit IRC
[14:07:56] *** TyrfingMjolnir has quit IRC
[14:07:56] *** Thorn has quit IRC
[14:07:56] *** G1eb has quit IRC
[14:07:57] *** shorne has quit IRC
[14:07:57] *** jaawerth has quit IRC
[14:07:59] *** uxtx has quit IRC
[14:08:01] *** theahindle has quit IRC
[14:08:02] *** aesinv`w has quit IRC
[14:08:02] *** pushrax has quit IRC
[14:08:02] *** Kane`_ has quit IRC
[14:08:03] *** plantain_ has quit IRC
[14:08:03] *** slobo has quit IRC
[14:08:04] *** iksik has quit IRC
[14:08:04] *** OnkelTem has quit IRC
[14:08:04] *** JakeSays has quit IRC
[14:08:05] *** Sna4x8 has quit IRC
[14:08:05] *** mrpj has quit IRC
[14:08:06] *** HeN has quit IRC
[14:08:06] *** zbzzn has quit IRC
[14:08:07] *** benvds has quit IRC
[14:08:07] *** lebster has quit IRC
[14:08:08] *** Templarian_ has quit IRC
[14:08:08] *** Dwarf has quit IRC
[14:08:09] *** Thylith has quit IRC
[14:08:09] *** RoryHughes has quit IRC
[14:08:10] *** TBSliver has quit IRC
[14:08:10] *** sgronblo has quit IRC
[14:08:11] *** jedediah has quit IRC
[14:08:11] *** mst has quit IRC
[14:08:11] *** masak has quit IRC
[14:08:12] *** pswizzle has quit IRC
[14:08:12] *** boneskull has quit IRC
[14:08:13] *** oddalot has quit IRC
[14:08:14] *** ASUChander has quit IRC
[14:08:14] *** Seich has quit IRC
[14:08:15] *** machty has quit IRC
[14:08:15] *** th2389_ has quit IRC
[14:08:15] *** gregc2_ has quit IRC
[14:08:16] *** aslate has quit IRC
[14:08:16] *** sirkitree|afk has quit IRC
[14:08:18] *** chovy has quit IRC
[14:08:18] *** AciD` has quit IRC
[14:08:18] *** yhsiang has quit IRC
[14:08:19] *** arcanis has quit IRC
[14:08:20] *** justicefries_ has quit IRC
[14:08:20] *** eshlox has quit IRC
[14:08:21] *** isacloud___ has quit IRC
[14:08:21] *** lietu has quit IRC
[14:08:22] *** lq has quit IRC
[14:08:23] *** zenodub has quit IRC
[14:08:23] *** MerlinDMC has quit IRC
[14:08:24] *** Guest22956 has quit IRC
[14:08:25] *** wolfman2000 has quit IRC
[14:08:26] *** hubertusanton has quit IRC
[14:08:27] *** emps has quit IRC
[14:08:28] *** quan__ has quit IRC
[14:08:28] *** clamstar has quit IRC
[14:08:28] *** salah has quit IRC
[14:08:29] *** veturi has quit IRC
[14:08:30] *** dvq has quit IRC
[14:08:31] *** bd has quit IRC
[14:08:32] *** ManneW has quit IRC
[14:08:32] *** dfyock has quit IRC
[14:08:33] *** Birdbones_____ has quit IRC
[14:08:34] *** fuziontech_____ has quit IRC
[14:08:34] *** travisc____ has quit IRC
[14:08:35] *** red_racer12 has quit IRC
[14:08:35] *** kwmiebach_ has quit IRC
[14:08:35] *** Takumo has quit IRC
[14:08:36] *** daleharvey has quit IRC
[14:08:37] *** bchoate has quit IRC
[14:08:37] *** Dekans has quit IRC
[14:08:38] *** kevinfagan_ has quit IRC
[14:08:38] *** toin0u|away has quit IRC
[14:08:39] *** Grokling has quit IRC
[14:08:40] *** m_gol has quit IRC
[14:08:41] *** jerev has quit IRC
[14:08:43] *** renstrm has quit IRC
[14:08:43] *** wycats has quit IRC
[14:08:44] *** octarine has quit IRC
[14:08:45] *** NickMass has quit IRC
[14:08:45] *** kStolen has quit IRC
[14:08:46] *** yocapybara has quit IRC
[14:08:46] *** adhipg has quit IRC
[14:08:47] *** philp has quit IRC
[14:08:47] *** quicksnap has quit IRC
[14:08:47] *** supermassiv has quit IRC
[14:08:48] *** merlinsbrain has quit IRC
[14:08:48] *** matkl has quit IRC
[14:08:49] *** Mrgoose has quit IRC
[14:08:50] *** kba has quit IRC
[14:08:51] *** joshtau has quit IRC
[14:08:51] *** digitalfiz has quit IRC
[14:08:52] *** eide__ has quit IRC
[14:08:52] *** JuiceSSH has quit IRC
[14:08:52] *** xxtjaxx has quit IRC
[14:08:53] *** harpyon has quit IRC
[14:08:53] *** cjimti has quit IRC
[14:08:55] *** ajaxan has quit IRC
[14:08:55] *** apipkin has quit IRC
[14:08:56] *** cpitt has quit IRC
[14:08:59] *** josh-k_ has quit IRC
[14:08:59] *** clavin has quit IRC
[14:09:00] *** TwinkleHood has quit IRC
[14:09:01] *** map7 has quit IRC
[14:09:02] *** zeroz has quit IRC
[14:09:03] *** Spockz has quit IRC
[14:09:04] *** demands has quit IRC
[14:12:54] *** echelog-2 has joined #angularjs
[14:14:28] *** sixr420 has joined #angularjs
[14:14:28] *** squeakytoy has joined #angularjs
[14:14:28] <marcospgp> can someone please explain JSON Web Tokens work and how they are signed?
[14:14:28] *** ggherdov has joined #angularjs
[14:14:28] <marcospgp> explain how*
[14:14:36] <marcospgp> blackkbot, but you know the lingua franca is english right? americans have that lucky privilege
[14:14:52] *** systematik has quit IRC
[14:14:54] *** sixr420- has quit IRC
[14:15:07] *** tbo_ has quit IRC
[14:15:09] *** paddymahoney has quit IRC
[14:15:11] <blackkbot> only because of the british/american imperialism
[14:15:12] <marcospgp> blackkbot, just because english speakers dont learn other languages doesn't mean everyone can go around speaking their own thing around the internet and expect to be understood
[14:15:19] *** badon has quit IRC
[14:15:26] *** RedOrangeZ has quit IRC
[14:15:33] *** lite_ has quit IRC
[14:15:36] <marcospgp> blackkbot, doesn't matter why, it's what everyone agrees upon nowadays. and english is dead easy also
[14:16:00] *** RedOrangeZ has joined #angularjs
[14:16:07] <marcospgp> blackkbot, and by the way I am not even a native english speaker, I'm portuguese
[14:16:50] *** one_zero has quit IRC
[14:16:57] *** Trow has joined #angularjs
[14:16:57] *** badon has joined #angularjs
[14:17:07] <blackkbot> cool i agree its really easy but we have regional differences in english mostly based on segregation and other forms of isolation
[14:17:07] *** VictorBjelkholm has joined #angularjs
[14:17:31] *** Deseaus has joined #angularjs
[14:17:49] *** zazzi has joined #angularjs
[14:18:10] *** InezK is now known as InezK_away
[14:18:11] <blackkbot> i would say raju sounded like he was from mississippi or the south
[14:18:42] *** paddymahoney has joined #angularjs
[14:19:01] <marcospgp> blackkbot, I would say he's from somewhere in the middle east, no american is called raju
[14:19:04] <orion1111> I found solution for retrieving template url at app.run level
[14:19:11] *** zazzi has left #angularjs
[14:19:28] <zelrik> hi
[14:19:43] <marcospgp> zelrik, sup, anything we can help you with?
[14:19:53] <zelrik> no
[14:19:58] <zelrik> I live here
[14:20:01] <zelrik> thanks though
[14:20:12] <blackkbot> well yeah i would agree based on his name but the use of is in that manner is a very southern thing
[14:20:15] <Trow> could we pass parameters from route provider to a controller ?
[14:20:31] *** marthinal has quit IRC
[14:21:13] *** slainer68 has joined #angularjs
[14:21:17] <marcospgp> blackkbot, I don't believe it's syntactically correct though (not sure if that's how you write that word aha :p irony)
[14:21:24] <zelrik> Trow, there is a service called $routeParams
[14:21:26] <zelrik> I think
[14:21:39] <zelrik> if not, you can parse $location.path()
[14:23:10] *** klaut has quit IRC
[14:23:16] <blackkbot> yeah i guess its just a sign of lack of education of the english language really but i associate that with the south :P
[14:23:59] <Trow> thanks zelrik
[14:24:41] *** Illianthe2 has joined #angularjs
[14:25:13] <marcospgp> blackkbot, aha don't know which is worse :D
[14:25:18] <zelrik> I use $location.path() but I have special contraints
[14:25:24] <zelrik> constraints
[14:25:57] *** klaut has joined #angularjs
[14:26:01] *** basichash has joined #angularjs
[14:26:59] *** Illianthe has quit IRC
[14:27:55] *** bphogan_afk is now known as bphogan
[14:28:00] *** JimTheDev has joined #angularjs
[14:28:14] *** scmx has joined #angularjs
[14:28:17] *** JimTheDev has quit IRC
[14:30:08] *** JimTheDev has joined #angularjs
[14:30:44] *** Willow_ has joined #angularjs
[14:32:51] *** xavia has joined #angularjs
[14:33:48] *** J0514H has joined #angularjs
[14:34:08] *** ckboii89 has joined #angularjs
[14:34:15] *** tfennelly has quit IRC
[14:34:54] <marcospgp> I'll ask again /: can someone explain to me JWT signing? How it works, how does it prevent data manipulation?
[14:34:58] *** orion1111 has quit IRC
[14:34:59] <marcospgp> JWT - Json Web Tokens
[14:35:00] *** lordkryss has joined #angularjs
[14:36:02] *** [n0b0dy] has quit IRC
[14:36:12] *** [n0b0dy] has joined #angularjs
[14:36:16] *** ninsei has quit IRC
[14:36:33] *** DrMabuse has quit IRC
[14:36:39] *** bphogan is now known as bphogan_afk
[14:37:03] *** slainer68 has quit IRC
[14:38:10] *** Nek has quit IRC
[14:38:20] *** ckboii89 has quit IRC
[14:39:37] <Zerot> marcospgp: because you encrypt or sign them. and the encyption key, or the signature algorithm+keys are only known on the server
[14:41:00] *** ninsei has joined #angularjs
[14:41:01] <Zerot> so the client could change data, but it can either not encrypt it in a a valid manner, or can't create a valid signature
[14:42:26] *** josh-k_ has quit IRC
[14:44:30] *** orion1111 has joined #angularjs
[14:45:12] *** roymiloh has quit IRC
[14:45:28] *** H1FuelCell has joined #angularjs
[14:45:32] *** danielpquinn has joined #angularjs
[14:45:48] *** bayousoft has joined #angularjs
[14:46:21] <Chepra> is there a way, when I have a collection (returned from a resource) to just $save the ones which changed?
[14:46:49] *** pdillinger1 has joined #angularjs
[14:46:51] *** bphogan_afk is now known as bphogan
[14:46:53] *** ngoyal has joined #angularjs
[14:47:13] <marcospgp> zerot, but how does the signing work?
[14:47:48] <marcospgp> zerot, more specifically what is the signature? where does it come from?
[14:48:00] <Zerot> you create it on the server based on the payload
[14:48:01] <marcospgp> zerot, it can't be just the hashed secret string right
[14:48:10] <Zerot> no
[14:48:19] <Zerot> it can be a hash though
[14:48:26] <marcospgp> zerot, hm, so maybe the payload concatenated with the secret, and then hashed
[14:48:28] *** fixl has quit IRC
[14:48:41] <Zerot> marcospgp: there should be tons of info about signing stuff like that
[14:48:54] <marcospgp> well I have searched a looot and didn't find anything /:
[14:49:05] <marcospgp> maybe it's somewhere in those long specifications but that's mostly gibberish to me
[14:49:49] *** danielpquinn has quit IRC
[14:50:55] *** CodeFriar has joined #angularjs
[14:51:04] *** ngoyal has quit IRC
[14:51:16] *** michaelm has joined #angularjs
[14:51:54] *** joaoh82 has joined #angularjs
[14:53:44] *** foo-bar- has joined #angularjs
[14:54:20] *** ustunozgur has joined #angularjs
[14:56:13] <Zerot> marcospgp: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-31#page-6
[14:56:18] <Zerot> read sections 3.1 and 3.2
[14:56:34] *** joaoh82 has quit IRC
[14:56:37] *** mamarilmanson has quit IRC
[14:56:41] *** bkuberek has joined #angularjs
[14:57:00] <marcospgp> Zerot, will do, thanks
[14:57:15] *** Oxelist has joined #angularjs
[14:57:22] *** cacts has joined #angularjs
[14:57:40] <Zerot> marcospgp: also, this: http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-31#appendix-A.1.1
[14:57:43] <Zerot> and example
[14:57:45] <Zerot> an*
[14:57:49] *** foo-bar- has quit IRC
[14:58:18] <marcospgp> Zerot, thanks a lot!
[14:59:57] *** tfennelly has joined #angularjs
[15:01:11] *** Foxandxss has quit IRC
[15:01:22] *** tfennelly has quit IRC
[15:01:35] *** tfennelly has joined #angularjs
[15:02:23] *** MTGap has joined #angularjs
[15:02:34] *** H1FuelCell has quit IRC
[15:02:59] *** Oxelist has quit IRC
[15:03:47] *** Foxandxss has joined #angularjs
[15:03:49] *** fedenunez has joined #angularjs
[15:04:51] *** Nizumzen has joined #angularjs
[15:05:07] *** Oxelist has joined #angularjs
[15:05:11] *** hugorodrigues has joined #angularjs
[15:05:16] *** lite_ has joined #angularjs
[15:05:20] *** tedwing has joined #angularjs
[15:06:21] *** slainer68 has joined #angularjs
[15:07:14] *** DrMabuse has joined #angularjs
[15:08:58] *** InezK_away is now known as InezK
[15:08:59] *** DrMabuse has quit IRC
[15:09:01] *** DrMabuse_ has joined #angularjs
[15:09:49] *** lite_ has quit IRC
[15:10:56] *** DuelShark has joined #angularjs
[15:11:04] *** bayousoft has quit IRC
[15:11:24] *** quantax- has joined #angularjs
[15:12:01] *** bayousoft has joined #angularjs
[15:12:27] *** L0u1s has joined #angularjs
[15:13:30] *** waf has left #angularjs
[15:13:52] <L0u1s> hi, in a directive I use $(content).hide().appendTo(element);
[15:14:05] *** DrMabuse_ has quit IRC
[15:14:05] <L0u1s> which worls fine when content is plain old html
[15:14:32] <L0u1s> but I would like to use ng-include, but it doesn't seem to render the template
[15:15:08] <L0u1s> I tried compiling 'content' with $compile(content)(scope) but without luck
[15:15:09] <Foxandxss> using jQuery for that suck and you need $compile to make that work
[15:15:21] *** nicholaswyoung has quit IRC
[15:15:49] *** hugorodrigues has quit IRC
[15:15:52] <L0u1s> Foxandxss what's a better way?
[15:16:02] *** roymiloh has joined #angularjs
[15:16:08] <Foxandxss> no jquery
[15:16:25] *** bealtine has quit IRC
[15:16:32] *** fit-dev2 has joined #angularjs
[15:16:38] <oniijin> lol
[15:16:57] <oniijin> all that stuff you can do without jq
[15:17:28] <L0u1s> fair enough, but the real issue is the ng-include that doesn't work
[15:17:40] <blackkbot> you can do everything in javascript without libraries but why?
[15:17:45] <fit-dev2> Help. I have a magento application in my subdirectory.. how could i make url go there from ui-router ?
[15:18:24] <Foxandxss> blackkbot: the question is: why use jQuery if you have jQlite?
[15:18:32] <Foxandxss> that is adding an extra library for literally nothing
[15:18:36] <oniijin> +1
[15:18:53] *** InezK is now known as InezK_away
[15:18:53] *** bphogan is now known as bphogan_afk
[15:19:06] <oniijin> and in general, doing actions outside of ngland gives you extra work, bc ng usually won't know about it and you'll have to wrap it in $apply
[15:19:13] <blackkbot> but i mean most of the library is still probably useless
[15:19:54] *** foo-bar- has joined #angularjs
[15:19:55] <oniijin> no idea what you mean, assuming you're a bot
[15:20:18] *** roymiloh has quit IRC
[15:20:27] <Foxandxss> blackkbot: don't include the useless
[15:20:29] <Foxandxss> is not that hard
[15:20:34] *** ustunozgur has quit IRC
[15:20:53] *** CodeFriar has quit IRC
[15:21:25] *** foo-bar- has quit IRC
[15:21:32] *** foo-bar- has joined #angularjs
[15:21:38] <L0u1s> oniijin what exactly should I wrap in an $apply?
[15:21:46] <oniijin> u shouldnt have to
[15:21:48] <Foxandxss> L0u1s: I told you what to do already
[15:22:03] <blackkbot> yeah you could even assign the jq object to null after you have used its functions
[15:22:12] *** slainer68 has quit IRC
[15:22:21] <L0u1s> Foxandxss that I shouldn't use jquery?
[15:22:31] <Foxandxss> blackkbot: I encourage you to try
[15:22:37] <Foxandxss> that is going to be real real fun
[15:22:44] <Foxandxss> L0u1s: no, I said more
[15:23:09] *** slainer68 has joined #angularjs
[15:23:21] <L0u1s> Foxandxss $compile didn't work, if that is what you're referring to
[15:23:28] <oniijin> lol Foxandxss not starting off that well eh
[15:23:50] <Foxandxss> L0u1s: define: didn't work
[15:24:28] <L0u1s> Foxandxss in the DOM <div ng-include="foo.bar"></div> is visible
[15:24:30] *** hswolff has quit IRC
[15:24:36] <L0u1s> but the template foo.bar didn't render
[15:24:41] <Foxandxss> L0u1s: but is that what you add with append?
[15:24:51] <L0u1s> yes
[15:24:57] *** drej has joined #angularjs
[15:24:58] <Foxandxss> then $compile is what you need
[15:25:24] *** bayousoft has quit IRC
[15:25:25] <L0u1s> so compile what exactly?
[15:25:27] *** richardbaker has joined #angularjs
[15:25:35] <Foxandxss> the html you want to append
[15:25:42] <Foxandxss> so the directives in it will work
[15:25:49] *** foo-bar- has quit IRC
[15:26:06] <L0u1s> tried that
[15:26:24] *** knownasilya has joined #angularjs
[15:26:26] <L0u1s> content = '<div ng-include="\'views/tooltips/' + template + '\'"></div>';
[15:26:27] <L0u1s> $compile(content)(scope);
[15:26:33] *** rburns has quit IRC
[15:27:28] <Foxandxss> that sounds better
[15:27:33] <Foxandxss> you could try on a plunker
[15:28:43] <fit-dev2> Help. I have a magento application in my subdirectory.. how could i make url go there from ui-router ?
[15:29:48] *** orion1111 has quit IRC
[15:29:54] <Foxandxss> no idea
[15:30:04] *** richardbaker has quit IRC
[15:30:06] *** mamarilmanson has joined #angularjs
[15:30:59] *** foofoobar has quit IRC
[15:31:05] <tedwing> Can someone help me with serializing a form? I have a set of checkboxes that need to be serialized for an AJAX form post. The checkboxes have models that allow them to be checked from a click on the parent element. My problem is that they get serialized when false and unserialized when true - the opposite of what I would expect. Using jQuery to serialize the form into params as there doesn't seem to be a built-in way to do so. He
[15:31:38] *** fit-dev2 has quit IRC
[15:33:16] <oniijin> cant u just tojson the object
[15:33:23] *** hychen has quit IRC
[15:33:36] *** CodeFriar has joined #angularjs
[15:33:48] <tedwing> unfortunately the backend expects the params as regular form POST params
[15:34:43] <tedwing> and I need to resubmit the form whenever a checkbox changes
[15:34:47] *** ckboii89 has joined #angularjs
[15:35:10] *** sdouglas has joined #angularjs
[15:35:22] *** illume has joined #angularjs
[15:35:59] *** darkelda has quit IRC
[15:36:40] *** gil has quit IRC
[15:37:03] *** Oxelist_ has joined #angularjs
[15:37:05] *** Oxelist has quit IRC
[15:37:23] *** Oxelist_ has quit IRC
[15:37:23] *** hswolff has joined #angularjs
[15:37:56] <sacho> they get serialized when false and unserialized when true, huh?
[15:38:03] *** gil has joined #angularjs
[15:38:12] <sacho> you mean they don't get serialized when true?
[15:38:21] <tedwing> apparently
[15:38:32] *** conner_ has joined #angularjs
[15:38:51] <sacho> that doesn't really make sense, do you have a test case?
[15:39:08] *** ckboii89 has quit IRC
[15:39:33] <tedwing> I'm able to reproduce the behavior in the plunker I posted
[15:39:49] *** sdouglas has quit IRC
[15:40:02] <L0u1s> Foxandxss could you have a look? http://plnkr.co/edit/O6XVBYw6BDaJg9YgTOyI?p=info
[15:40:11] *** crocket has joined #angularjs
[15:40:12] <crocket> hey
[15:40:18] <sacho> where'd you post it
[15:40:20] *** J0514H has quit IRC
[15:40:34] <crocket> There is a table that displays a list of angularjs items.
[15:40:40] <tedwing> sacho: http://plnkr.co/edit/9CFuYdV2Bw2D8FD22LF2?p=preview
[15:41:05] <crocket> How do I find a table row that is true for item.type == 'folder' && item.name == 'ui-test'?
[15:41:06] <L0u1s> Foxandxss quick n dirty, but my problem is shown
[15:41:13] <Foxandxss> sure
[15:41:15] <crocket> How do I find a table row that is true for item.type == 'folder' && item.name == 'ui-test' in protractor?
[15:42:50] <sacho> tedwing, update_c() is ran before angular has a chance to digest your model changes and update the input
[15:43:11] *** conner_ has quit IRC
[15:43:35] *** oal_ is now known as oal
[15:43:36] <tedwing> sacho: ah, that explains it. What should I do in that case?
[15:43:51] <Trow> how shall i pass a parameter from controller to a factory ?
[15:43:53] <Trow> app.factory('PostsFactory', function($http, $q, $timeout) {})
[15:43:53] <Trow> app.controller('PostsCtrl', function ($scope, postsFactory, $rootScope) {});
[15:44:10] <sacho> tedwing, technically, you can $http.post() your models just fine
[15:44:14] <Foxandxss> L0u1s: it is too much jquery-ish, I will adapt it to more angular-ish
[15:44:39] <L0u1s> Foxandxss appreciate it
[15:46:18] *** danielpquinn has joined #angularjs
[15:46:57] *** Oxelist has joined #angularjs
[15:47:36] <Foxandxss> L0u1s: http://plnkr.co/edit/yN55zpDDrHzIXmxYqJYR?p=preview
[15:47:44] <Foxandxss> if you don't understand something, ask right away
[15:47:46] <Foxandxss> ah, no jQuery
[15:48:19] *** nickp has joined #angularjs
[15:48:39] <sacho> tedwing, otherwise, I'm not actually sure how to do it in a elegant way :)
[15:48:53] *** nickp has left #angularjs
[15:48:59] <L0u1s> Foxandxss nice! thanks a lot, look more clean as well
[15:49:05] <L0u1s> *looks
[15:49:09] <tedwing> heh, thanks sacho
[15:49:10] <sacho> do $watch-es get executed in guaranteed order?
[15:49:51] <Foxandxss> sacho: maybe
[15:49:57] <Foxandxss> but that shouldn't be something you need
[15:50:23] <Zerot> you should never rely on the order of watches executing
[15:50:44] *** Brocken is now known as zz_Brocken
[15:50:46] <sacho> mm yeah
[15:51:04] *** danielpquinn has quit IRC
[15:51:12] <L0u1s> Foxandxss actually how does the scope.open work?
[15:51:18] <Zerot> also, it might be a fixed order now, but it is not in the specification/docs. so any change to that code could potentially change the order
[15:51:27] <Foxandxss> L0u1s: ng-if on your tooltip template
[15:51:35] <L0u1s> ah, yes
[15:51:36] <L0u1s> nice
[15:51:37] <Foxandxss> if it is false, that div won't exist, if it is true, it appears
[15:52:11] *** Rahul_Roy has joined #angularjs
[15:52:43] *** joaoh82 has joined #angularjs
[15:52:55] *** nerdy has joined #angularjs
[15:53:38] *** MTGap has quit IRC
[15:53:43] *** foo-bar- has joined #angularjs
[15:53:53] *** tarkus has joined #angularjs
[15:55:05] *** foo-bar- has quit IRC
[15:55:34] *** foo-bar- has joined #angularjs
[15:56:41] *** illume has quit IRC
[15:56:58] *** joaoh82 has quit IRC
[15:57:31] *** ustunozgur has joined #angularjs
[15:57:57] *** Milanito has quit IRC
[15:57:58] <crocket> Hello?
[15:58:05] <crocket> Is there anyone familiar with protractor?
[15:59:17] *** illume has joined #angularjs
[15:59:29] *** lite_ has joined #angularjs
[15:59:38] *** tangorri has joined #angularjs
[15:59:56] *** mmone has quit IRC
[16:00:33] *** Hypnotizes has quit IRC
[16:00:35] *** foo-bar- has quit IRC
[16:01:39] *** kayoone has quit IRC
[16:02:08] *** wdgreg has joined #angularjs
[16:02:32] *** hugorodrigues has joined #angularjs
[16:03:56] *** lite_ has quit IRC
[16:04:58] *** shinnya has quit IRC
[16:05:47] *** ceephax has joined #angularjs
[16:05:48] *** pheze has joined #angularjs
[16:05:51] *** davemerwin has joined #angularjs
[16:05:57] *** Gooder``` has joined #angularjs
[16:06:55] *** Gooder`` has quit IRC
[16:07:45] <marcospgp> how should I divide my app's services/controllers etc. in modules?
[16:08:23] *** wdgreg has quit IRC
[16:09:18] *** mamarilmanson has quit IRC
[16:09:18] *** VictorBjelkholm has quit IRC
[16:09:35] *** toastynerd has joined #angularjs
[16:09:47] *** InezK_away is now known as InezK
[16:09:49] *** pheze has quit IRC
[16:09:58] *** davemerwin has quit IRC
[16:10:14] *** DrMabuse has joined #angularjs
[16:10:46] *** dbouwman has joined #angularjs
[16:10:54] *** Nizumzen has quit IRC
[16:11:49] *** cphil has joined #angularjs
[16:11:51] *** noobee has joined #angularjs
[16:11:54] <noobee> hi
[16:11:55] <hnordt> marcospgp: yeah, modules is ok
[16:11:57] <noobee> i have a question
[16:12:00] <hnordt> are ok*
[16:12:22] *** VictorBjelkholm has joined #angularjs
[16:12:28] <noobee> how can i have an array for ng-model
[16:12:37] <noobee> such as ng-model='room.facilities[somevariable]'
[16:12:55] *** Sna4x8 has quit IRC
[16:13:34] *** pluma has quit IRC
[16:13:43] *** Sna4x8 has joined #angularjs
[16:13:59] *** bayousoft has joined #angularjs
[16:14:18] *** DrMabuse has quit IRC
[16:14:38] *** nerdfiles has joined #angularjs
[16:15:28] *** Ethix has joined #angularjs
[16:15:37] *** P1RATEZ has joined #angularjs
[16:16:02] <noobee> angular js is so not flexible ...
[16:16:12] *** dbouwman has quit IRC
[16:16:13] <crocket> column in by.repeater('book in library').column('book.name') is not documented in protractor.
[16:16:22] <crocket> Where can I find relevant documentation?
[16:16:50] *** dbouwman has joined #angularjs
[16:16:56] *** jonog has joined #angularjs
[16:17:35] *** Aerospark has joined #angularjs
[16:18:46] *** jonog has quit IRC
[16:19:36] *** InezK is now known as InezK_away
[16:20:46] <hnordt> noobee: you can do that
[16:21:13] <hnordt> in a ng-repeat for example, you could define ng-model="ng.facilities[$index]"
[16:21:15] <hnordt> ops
[16:21:27] <hnordt> ng-model="room.facilities[$index]"
[16:21:32] *** Aerospark has quit IRC
[16:21:33] <noobee> the problem is its a nested loop
[16:21:37] <noobee> i cannot use $index
[16:22:06] <hnordt> you mean you have two $index's?
[16:22:06] *** mamarilmanson has joined #angularjs
[16:22:09] *** CodeFriar has quit IRC
[16:22:14] <noobee> https://gist.github.com/beeant/146e34363b5530c66534
[16:22:15] <noobee> yes
[16:22:49] <noobee> if i use $index
[16:22:52] <hnordt> I'm confused with this template engine, so I can't modify the code
[16:22:53] <noobee> there will be duplicates
[16:23:02] <noobee> im using jade
[16:23:03] <hnordt> but you could use ngInit in the loop you want
[16:23:12] <hnordt> I don't use template engines, sorry hehe
[16:23:15] <Foxandxss> noobee: angular is as flexible as your knowledge
[16:23:16] <noobee> you can just pay attention to the ng-repeat
[16:23:29] <hnordt> ngInit was made for this case
[16:23:32] *** testerde has joined #angularjs
[16:23:36] <hnordt> ng-init="myCoolIndex = $index"
[16:24:02] <hnordt> take a look at https://docs.angularjs.org/api/ng/directive/ngInit
[16:24:59] <hnordt> and I disagree that angular isnt flexible, it's VERY flexible :)
[16:25:13] *** wxo has joined #angularjs
[16:25:44] <noobee> i just changed it to html
[16:26:04] <noobee> but the templating is kind of not intuitive
[16:26:15] <noobee> normally i can learn template engine in less than an hour
[16:26:17] <zelrik> http://osrc.dfm.io/torvalds/
[16:26:19] <zelrik> dat site
[16:26:52] <Foxandxss> html is really easy to understand
[16:26:54] <hnordt> noobee:
[16:26:59] <Foxandxss> so I don't see the need of others template engines
[16:27:09] <noobee> https://gist.github.com/beeant/146e34363b5530c66534
[16:27:14] <noobee> just changed it to html
[16:27:15] <obert_> html is a hard programmin lang
[16:27:17] <hnordt> I think ngInit will solve your problem, take a lot at the docs
[16:27:31] <noobee> how can i make this ng-model="room.facilities[$index]" have unique index?
[16:27:33] <Foxandxss> normally you don't need ng-init in any case
[16:28:03] *** pheze has joined #angularjs
[16:28:05] <hnordt> as Douglas Crockford said, the problem is not what you write, is how you write
[16:28:06] *** mtsr has quit IRC
[16:28:13] <obert_> i can code html for food, please help
[16:28:28] <hnordt> html is just a markup language
[16:28:48] <hnordt> if you want to get faster, use Emmet
[16:29:05] <obert_> someone is young here
[16:29:24] *** bealtine has joined #angularjs
[16:29:28] <noobee> i just inserted the data in the comment
[16:29:46] <hnordt> web development is already full of complexicity, there is no need to add an extra layer with templating engines
[16:29:50] *** michaelm has quit IRC
[16:29:56] *** ededagic has joined #angularjs
[16:30:01] <obert_> hnordt: http://img2.wikia.nocookie.net/__cb20070820063439/uncyclopedia/images/1/15/Will_code_html_for_food.jpg
[16:30:28] <noobee> jade is really good template engine
[16:30:33] <Foxandxss> obert_: I bet you're the youngest :P
[16:30:48] *** jonog has joined #angularjs
[16:30:49] <Foxandxss> I close all the bins I see with jade
[16:30:49] *** sacho has quit IRC
[16:30:50] <hnordt> someday obert_ will know that less is more :)
[16:31:04] <noobee> @hnordt have you checked the gist please
[16:31:14] *** sacho has joined #angularjs
[16:31:29] <noobee> can i do ng init like ng-init="a = 0"
[16:31:37] <obert_> Foxandxss: bet how?
[16:31:38] <noobee> and then increment "a" along the way
[16:32:03] <hnordt> noobee: please create a plunker with the full code, so I cant test
[16:32:06] <hnordt> can*
[16:32:26] <Foxandxss> obert_: that was just a way of speaking
[16:32:28] <hnordt> not the full app code, just the necessary to test it
[16:32:35] <obert_> Foxandxss: i meant that someone should be young if he/she dunno the joke about 'html is coding'
[16:32:35] <noobee> its ok then
[16:32:53] <noobee> so tell me how can i increment the variable defined in ng-init?
[16:32:58] *** wxo has quit IRC
[16:32:58] <Foxandxss> I wasn't aware of that joke obert_
[16:33:07] <obert_> weird
[16:33:10] <hnordt> ng-init="a = $index" will be incremented
[16:33:16] <hnordt> because it's inside a loop
[16:33:19] <obert_> Foxandxss: that picture is very old
[16:33:31] <Foxandxss> I know the picture
[16:33:32] <hnordt> every time ng-repeat loops $index will be incremented
[16:33:50] <obert_> Foxandxss: that's the joke
[16:33:54] <Foxandxss> ah
[16:34:01] *** CodeFriar has joined #angularjs
[16:34:02] *** joaoh82 has joined #angularjs
[16:34:18] *** roymiloh has joined #angularjs
[16:34:22] <obert_> 'html is coding', 'can code html for food', that's the joke
[16:34:34] <hnordt> well, there is not problem with templating engines, if you like, just use it, I prefer stay with HTML
[16:35:29] *** ckboii89 has joined #angularjs
[16:35:42] <obert_> Foxandxss: it made me smile always
[16:36:30] <noobee> i did ng-init="i = 0" and then {{i+1}} and then ng-model="testing[i]"
[16:36:37] *** tk has joined #angularjs
[16:36:37] <noobee> and it doesnt work at testing[i]
[16:36:42] <noobee> its weird
[16:36:48] <noobee> should i use $i?
[16:36:51] <Foxandxss> noobee: create a plunker
[16:36:55] <Foxandxss> is way easy to debug
[16:36:56] *** jonog has quit IRC
[16:37:34] *** jonog has joined #angularjs
[16:38:18] *** DrMabuse has joined #angularjs
[16:38:30] *** L0u1s is now known as L0u0s
[16:38:45] <noobee> how can i put variable inside ng-model array key?
[16:38:47] <noobee> like
[16:38:54] <noobee> variable[variable2]
[16:39:03] <noobee> ng-model="variable[variable2]"
[16:39:13] *** L0u0s is now known as L0u1s
[16:39:17] <testerde> hi there, can anyone help me with a nested template tree view?
[16:39:32] *** ckboii89 has quit IRC
[16:39:34] <noobee> tried variable[{{i}}] and doesnt work
[16:40:27] *** blueadept has joined #angularjs
[16:40:31] <testerde> I am having it working to add and remove nodes, but now i don't wanna display the buttons if there are siblings inside the tree (or better: only the lastly created node (no matter which depth) should be able to be deleted)
[16:40:57] <noobee> in this way angular is not so flexible
[16:40:59] <noobee> >.<
[16:41:16] *** Deseaus has quit IRC
[16:41:17] <Foxandxss> noobee: create a plunker
[16:41:18] <Foxandxss> is way easy to debug
[16:41:56] *** jonog has quit IRC
[16:41:57] <noobee> how can i debug without knowing how to solve the problem
[16:42:01] <noobee> trial and error?
[16:42:18] <Foxandxss> no, you create a working example (with the error)
[16:42:21] <Foxandxss> and we take a look
[16:42:24] <noobee> just need to know how to do ng-model="variable[variable2]"
[16:42:32] <noobee> is it impossible?
[16:43:03] *** DrMabuse has quit IRC
[16:43:36] *** jonog has joined #angularjs
[16:44:03] *** scmx has quit IRC
[16:44:16] *** Jon30 has joined #angularjs
[16:44:16] *** Jon30 has joined #angularjs
[16:46:39] *** obert_ has quit IRC
[16:47:07] *** danielpquinn has joined #angularjs
[16:47:16] *** jk-5 is now known as jk-5|gone
[16:47:32] *** CodeFriar has quit IRC
[16:50:48] *** CodeFriar has joined #angularjs
[16:51:33] *** danielpquinn has quit IRC
[16:51:58] *** flocca has joined #angularjs
[16:51:59] *** gil has quit IRC
[16:51:59] *** vonnegut is now known as yogananda
[16:52:06] *** yogananda is now known as vonnegut
[16:52:46] *** bwin has joined #angularjs
[16:53:17] <bwin> hi, is there any event or something that triggers when routeProvider changes it's path?
[16:53:22] *** ziyadb has joined #angularjs
[16:53:36] *** lite_ has joined #angularjs
[16:53:55] <bwin> i want to trigger my own function when user browses pages
[16:54:07] *** gil has joined #angularjs
[16:54:38] <testerde> I have created a plunker here for my problem: http://plnkr.co/edit/zKq7doHvbubM0pvkuEGQ and an image, where the problem is (i guess the visual description is much better that my explanation): http://postimg.org/image/mos6zmh7p/ Anyone can help me?
[16:54:53] *** stickperson has joined #angularjs
[16:55:02] *** clavin has quit IRC
[16:55:13] <oniijin> bwin of course. it's in the docs
[16:55:34] <bwin> oniijin: it's locatioChangeStart&
[16:55:34] <bwin> ?
[16:56:23] <bwin> i wanted to show my loading animation when user does some network operations. where i can find info, i need event when ajax request happens
[16:56:24] *** mamarilmanson has quit IRC
[16:57:25] <oniijin> why would your location be changing when you make ajax req
[16:57:43] *** Siecje has joined #angularjs
[16:57:59] *** nostro has joined #angularjs
[16:58:04] *** lite_ has quit IRC
[16:58:39] *** Illianthe3 has joined #angularjs
[16:58:42] <bwin> i wanted to say when some network operations happen
[16:58:59] <stickperson> i’m using d3.js to make a graph and want to show a popup when i hover over some stuff. i can do that no problem (makng a directive for the graph) . for the popup, i only want to show certain values if they exist in the dataset. i’m using ngIf, but it’s not working. i think it’s probably because it’s in the tooltip or something
[16:59:00] <stickperson> http://jsfiddle.net/u935f/
[16:59:14] *** delerium_ has quit IRC
[16:59:15] *** AlSquire has quit IRC
[16:59:15] *** flocca has quit IRC
[16:59:16] *** Emperor_Earth_ has joined #angularjs
[16:59:19] <stickperson> any ideas?
[16:59:22] *** AlSquire has joined #angularjs
[16:59:25] *** badon has quit IRC
[16:59:28] *** flocca has joined #angularjs
[16:59:35] *** delerium_ has joined #angularjs
[16:59:38] *** Thorn__ has joined #angularjs
[16:59:44] *** wa5ted_ has joined #angularjs
[16:59:48] *** Milanito has joined #angularjs
[16:59:50] *** badon has joined #angularjs
[17:00:26] *** Fire-Dragon-DoL has joined #angularjs
[17:00:27] <noobee> its been an hour
[17:00:34] <noobee> stuck with this problem :(
[17:00:34] *** wa5ted has quit IRC
[17:00:42] *** wa5ted_ is now known as wa5ted
[17:00:48] <Foxandxss> noobee: create a plunker
[17:00:50] <Foxandxss> is way easy to debug
[17:00:57] <oniijin> only an hour?
[17:01:34] *** mven has quit IRC
[17:01:38] *** Illianthe2 has quit IRC
[17:02:04] *** Emperor_Earth has quit IRC
[17:02:04] *** Thorn has quit IRC
[17:02:12] *** mven has joined #angularjs
[17:02:30] *** L0u1s is now known as L0u0s
[17:02:37] <bwin> is there way to fire event between page start load and complete load?
[17:03:16] <Foxandxss> I think so
[17:03:20] <Foxandxss> but normally that is not needed
[17:03:32] <bwin> $locationChangeStart and $locationChangeSuccess are not the case, because second is'n fired if first broadcasted
[17:03:38] *** dbouwman has quit IRC
[17:03:45] <noobee> @Foxandxss http://plnkr.co/edit/qmkVkgze4gKla2fb5TVT
[17:04:01] <noobee> @oniijin you spent more?
[17:04:05] <Foxandxss> uh, it only took 3 messages
[17:04:26] <oniijin> everyone's been stuck on problems at some point for well over an hour
[17:04:33] *** mamarilmanson has joined #angularjs
[17:04:48] <bwin> how do you handle loading animations when page loads?
[17:05:24] <oniijin> ngcloak?
[17:05:33] <Foxandxss> Japanese, seriously
[17:05:52] <Foxandxss> I don't even know what belongs to any repeat
[17:05:56] *** ssbr has quit IRC
[17:06:08] <noobee> you don't need to care about the texts
[17:06:12] <noobee> just the checkboxes
[17:06:18] <oniijin> how considerate
[17:06:20] <noobee> i cannot click the checkbox now
[17:07:52] <noobee> @Foxandxss changed it to alphabets
[17:07:55] *** Deseaus has joined #angularjs
[17:08:00] *** ustunozgur has quit IRC
[17:08:18] <Foxandxss> appreciated
[17:08:29] <noobee> how can you solve that problem?
[17:08:36] <noobee> ive been spending more than an hour
[17:08:40] *** dcherman has joined #angularjs
[17:08:40] <Foxandxss> let me read
[17:08:43] *** crocket has left #angularjs
[17:08:45] <noobee> with my limited knowledge of angularjs
[17:09:40] <bwin> noobee: you have Cannot set property '0' of undefined in console
[17:09:47] <bwin> noobee: you code is not correct
[17:09:49] *** michaelm has joined #angularjs
[17:09:51] *** Sengoku has quit IRC
[17:10:02] <bwin> noobee: you have dummy ng-repeats, and undefined room var
[17:10:06] <Foxandxss> what's room.facilities?
[17:10:10] *** Sengoku has joined #angularjs
[17:10:26] <oniijin> looks like a filter for renting apartments
[17:10:34] *** InezK_away is now known as InezK
[17:10:39] <noobee> i just fixed that
[17:10:41] <noobee> yes
[17:10:52] <Sengoku> any reason my directive variables are "undefined" in one partial, but proper in another
[17:11:15] <noobee> if i check a and then check e, then a will change too to be unchecked
[17:11:38] <noobee> the prblem is due to this ng-model="room.facilities[$index]"
[17:11:38] *** kalehv has joined #angularjs
[17:11:55] <noobee> @Sengoku I just fixed it
[17:12:00] <hnordt> it is a problem use ng-disabled="disabled($index)" if $scope.disabled isn't defined?
[17:12:06] <Sengoku> noobee: ?
[17:12:11] <Sengoku> mine was a question
[17:12:36] <noobee> i dont want to disable the checkbox >.<
[17:12:51] <noobee> the problem is ng-model="room.facilities[$index]"
[17:12:55] <noobee> the $index part
[17:13:08] *** illume has quit IRC
[17:13:11] <noobee> it will have duplicate index
[17:13:16] <noobee> i want to make $index unique
[17:13:33] <noobee> by having ng-model="room.facilities[variable]" but i cant
[17:13:42] *** Shai-Tan has joined #angularjs
[17:13:56] <Shai-Tan> What databases does angular support?
[17:14:09] *** jpstone has joined #angularjs
[17:14:46] *** blueadept has quit IRC
[17:14:55] *** encryptd_fractl has joined #angularjs
[17:15:14] <Foxandxss> angular is frontend
[17:15:21] *** illume has joined #angularjs
[17:15:21] <Foxandxss> databases are for backends
[17:15:41] <Shai-Tan> ahh, I was thinking it was a bit of both..
[17:15:44] <Shai-Tan> thanks
[17:15:49] *** Shai-Tan has quit IRC
[17:15:49] <noobee> can I use room.facilities[$index1][$index2] in nested loop?
[17:16:06] <Foxandxss> there is only one $index
[17:16:11] *** disorder20 has joined #angularjs
[17:16:40] <noobee> then how can i access the $index in parent loop of a nested loop?
[17:16:41] *** rbs has joined #angularjs
[17:16:49] <noobee> is it impossible?
[17:16:52] *** encryptd_fractl has quit IRC
[17:16:54] <hnordt> Foxandxss: there is a problem using ng-disabled="disabled($index)" if $scope.disabled isnt defined?
[17:17:06] *** ad_libr has quit IRC
[17:17:07] <Foxandxss> your whole ng-repeat smells really hard
[17:17:08] *** Blazedd has joined #angularjs
[17:17:20] *** CodeFriar has quit IRC
[17:17:24] <noobee> its just a normal 2 times nested loop
[17:17:25] <hnordt> noobee: use ng-init="index1 = $index" and then in the outer repeat ng-init="index2 = $index"
[17:17:30] <Foxandxss> you willl get errors probably hnordt
[17:17:44] <Blazedd> Is there a way to prevent ng-options from converting the values to integers? I've got a series of digits like '01' and it converts it to '1'.
[17:17:45] *** Willow_ has quit IRC
[17:17:50] <noobee> then i can use ng-model="room.facilities[index2][$index] ?
[17:18:12] *** Willow_ has joined #angularjs
[17:18:12] <noobee> i think its not gonna work since ng-model="room.facilities[variable]" doesnt work
[17:18:32] *** kalusn has joined #angularjs
[17:18:36] <noobee> see angularjs is not that flexible...
[17:18:41] *** ssbr has joined #angularjs
[17:19:00] <Sengoku> why wouldn't this work : <clabel text="workflow.payload.status"></clabel>
[17:19:08] <hnordt> Foxandxss: not really, http://plnkr.co/edit/D1JhiQtjEjfrm60jIOvn?p=preview
[17:19:11] *** illume has quit IRC
[17:19:22] <hnordt> Foxandxss: no errors, but I want to know if it's ok
[17:19:25] <sacho> Sengoku, doesn't work is not a program error
[17:19:41] <hnordt> maybe ng-disabled="disabled && disabled('test')" is a better choose
[17:19:44] <Sengoku> sacho: Directives "scope.text" is undefined
[17:19:53] <Foxandxss> can't look atm
[17:19:58] <Foxandxss> but if thre is no errors,that is fine
[17:20:05] <Sengoku> sacho: but I used this same directive in another partial and it's fine
[17:20:23] *** InezK is now known as InezK_away
[17:20:39] <sacho> well, is workflow.payload.status defined?
[17:21:02] <Sengoku> sacho: definitely, if I put {{workflow.payload.status}} right beside it, it renders on the page
[17:21:05] *** illume has joined #angularjs
[17:21:38] *** jk-5|gone is now known as jk-5
[17:21:48] <sacho> okay, and how is this directive defined?
[17:21:57] <Sengoku> sacho: let me paste it
[17:22:22] <hnordt> Foxandxss: thanks
[17:22:32] *** Willow_ has quit IRC
[17:22:37] <Sengoku> http://pastebin.com/Fq9nay6K , sacho
[17:22:58] *** caitp has joined #angularjs
[17:23:04] <sacho> = is a binding to the parent scope
[17:23:09] <sacho> not to an attribute
[17:23:12] <testerde> I have created a plunker here for my problem: http://plnkr.co/edit/zKq7doHvbubM0pvkuEGQ and an image, where the problem is (i guess the visual description is much better that my explanation): http://postimg.org/image/mos6zmh7p/ Anyone can help me?
[17:23:39] <Sengoku> sacho: oh...
[17:24:16] *** ustunozgur has joined #angularjs
[17:26:07] <Sengoku> sacho: attrs.text
[17:26:11] <Sengoku> is what i want?
[17:26:37] <sacho> well, you'd want to interpolate it, in your case
[17:26:41] *** pheze has quit IRC
[17:26:43] *** bwin has quit IRC
[17:26:45] *** conner_ has joined #angularjs
[17:26:51] *** elrabin has joined #angularjs
[17:26:52] *** hswolff has quit IRC
[17:27:03] <Sengoku> sacho: text="{{scope.var}}" gives me an error
[17:27:06] <Sengoku> if taht's what you mean
[17:27:25] <sacho> what error?
[17:28:00] <Sengoku> sacho: Error: Syntax Error: Token 'workflow.payload.status' is unexpected, expecting [:] at column 3 of the expression [{{workflow.payload.status}}] starting at [workflow.payload.status}}].
[17:28:16] *** klaut has quit IRC
[17:28:21] <Blazedd> nvm, i'm being dumb
[17:28:28] <caitp> A Smi walks into a bar and says:
[17:28:29] <caitp> "I'm so deoptimized today!"
[17:28:29] <caitp> The doubles heard this and started to unbox.
[17:28:29] <caitp> The Smi looked at them and.....
[17:28:36] *** KushS has joined #angularjs
[17:29:11] <oniijin> the only thing I understood was 'bar'
[17:29:38] *** ppppaul has quit IRC
[17:30:58] *** conner_ has quit IRC
[17:31:08] *** nerdfiles has quit IRC
[17:32:35] *** bc___ is now known as bc_
[17:32:44] *** bc_ has joined #angularjs
[17:33:08] *** Tidwell has joined #angularjs
[17:33:09] *** ayman has joined #angularjs
[17:33:20] *** Milanito has quit IRC
[17:33:37] *** drewisthe has joined #angularjs
[17:34:32] *** stickperson has quit IRC
[17:35:49] <ayman> how can I remove element content in angularjs directive, $element.remove() does not work, and $element.html('') triggers this "TypeError: Cannot read property 'childNodes' of undefined at compositeLinkFn" ref here : https://github.com/angular/angular.js/issues/5069 ??
[17:35:51] *** mindlace has joined #angularjs
[17:35:58] *** Drako_ has quit IRC
[17:36:25] *** ckboii89 has joined #angularjs
[17:37:06] <caitp> ayman: what is the directive?
[17:37:17] <caitp> sounds like an element transclusion directive
[17:37:49] *** avree has joined #angularjs
[17:38:31] *** avree has joined #angularjs
[17:38:38] *** Drako_ has joined #angularjs
[17:39:04] *** DrMabuse has joined #angularjs
[17:39:35] *** tfennelly has quit IRC
[17:39:52] *** Deseaus has quit IRC
[17:40:11] *** bkuberek_ has joined #angularjs
[17:40:44] *** ckboii89 has quit IRC
[17:41:51] *** rho has joined #angularjs
[17:41:51] *** rho has joined #angularjs
[17:42:16] *** Willow_ has joined #angularjs
[17:42:19] <Sengoku> sacho: no dice, eh?
[17:42:45] <caitp> ayman: provide more context yo
[17:43:08] *** wolfman2000 has quit IRC
[17:43:19] *** zz_Brocken is now known as Brocken
[17:43:38] *** DrMabuse has quit IRC
[17:43:58] *** patrickarlt has joined #angularjs
[17:44:01] *** jonog has quit IRC
[17:44:04] *** bkuberek has quit IRC
[17:44:37] *** jonog has joined #angularjs
[17:44:45] <sacho> Sengoku, looks like something is already trying to interpolate that attribute
[17:44:56] *** InezK_away is now known as InezK
[17:46:31] *** ustunozgur has quit IRC
[17:46:56] *** stickperson has joined #angularjs
[17:47:46] *** lite_ has joined #angularjs
[17:47:50] *** danielpquinn has joined #angularjs
[17:48:13] *** pdillinger1 has quit IRC
[17:48:18] *** PCChris has joined #angularjs
[17:48:22] *** blueadept has joined #angularjs
[17:49:08] *** jonog has quit IRC
[17:49:10] <Sengoku> sacho: i remove the scope stuff from teh directive now i just get the workflow.payload.status string in the directive
[17:49:18] *** kirfu has joined #angularjs
[17:49:20] <Sengoku> not interpolated
[17:49:28] *** dutis has joined #angularjs
[17:49:39] <Sengoku> <clabel text="{{workflow.payload.status}}"
[17:49:48] *** blueadept has quit IRC
[17:50:22] <Sengoku> oh nevermind, it's just undefined
[17:50:23] *** Ericx2x has joined #angularjs
[17:51:02] *** mamarilmanson2 has joined #angularjs
[17:51:54] *** mamarilmanson2 has quit IRC
[17:52:20] *** lite_ has quit IRC
[17:52:22] *** mamarilmanson2 has joined #angularjs
[17:52:28] *** hannesvdvreken has joined #angularjs
[17:52:47] *** danielpquinn has quit IRC
[17:54:33] *** Rahul_Roy has quit IRC
[17:54:37] *** mamarilmanson has quit IRC
[17:54:47] *** mamarilmanson2 has quit IRC
[17:55:03] *** VictorBjelkholm has quit IRC
[17:55:46] *** mamarilmanson has joined #angularjs
[17:56:01] *** kalehv has quit IRC
[17:56:14] *** foo-bar- has joined #angularjs
[17:56:48] <marcospgp> The only thing preventing JSON web tokens from being manipulated is the server side shared secret, right?
[17:57:16] *** Ericx2x_ has joined #angularjs
[17:57:29] *** drewisthe has quit IRC
[17:57:34] *** Ericx2x has quit IRC
[17:58:40] *** dutis has quit IRC
[18:00:38] *** dutis has joined #angularjs
[18:00:41] *** foo-bar- has quit IRC
[18:01:08] *** P1RATEZ has quit IRC
[18:01:53] *** zumba_addict has joined #angularjs
[18:02:22] *** P1RATEZ has joined #angularjs
[18:02:35] *** motionman has quit IRC
[18:03:11] *** mamarilmanson has quit IRC
[18:04:03] *** bend has joined #angularjs
[18:04:42] <bend> Hello does anyone have a good source for a plugin who do background switching with angular as they did here -> http://ng-conf.org/ ?
[18:04:43] *** Shrooms has joined #angularjs
[18:04:58] *** Oxelist has quit IRC
[18:05:32] *** Ericx2x_ has quit IRC
[18:06:23] *** davemerwin has joined #angularjs
[18:08:28] *** VictorBjelkholm has joined #angularjs
[18:09:12] *** tylerlh has joined #angularjs
[18:09:40] *** Sengoku has quit IRC
[18:10:00] *** hannesvdvreken has quit IRC
[18:10:44] <testerde> bend: why a plugin? just a few lines of code: http://ng-conf.org/javascripts/background.js
[18:11:04] *** davemerwin has quit IRC
[18:12:18] *** kirfu has quit IRC
[18:12:22] *** pluma has joined #angularjs
[18:12:22] *** elrabin has quit IRC
[18:13:15] *** tomzx`afk is now known as tomzx
[18:14:54] *** postitnote has joined #angularjs
[18:15:08] *** dcherman has quit IRC
[18:15:41] *** illume has quit IRC
[18:20:16] *** kalehv has joined #angularjs
[18:21:15] *** Siecje has quit IRC
[18:22:49] *** upsell5 has joined #angularjs
[18:23:39] *** Nizumzen has joined #angularjs
[18:24:40] *** stickperson has quit IRC
[18:24:46] *** michaelm has quit IRC
[18:26:45] *** ceephax has quit IRC
[18:27:15] *** Yahkob has joined #angularjs
[18:27:48] *** [n0b0dy] has quit IRC
[18:27:58] *** [n0b0dy] has joined #angularjs
[18:28:44] *** stickperson has joined #angularjs
[18:29:08] *** arabot has joined #angularjs
[18:29:15] *** arabot has quit IRC
[18:29:19] *** Tidwell has quit IRC
[18:29:37] *** H1FuelCell has joined #angularjs
[18:29:57] *** lw has joined #angularjs
[18:29:57] *** lasha has joined #angularjs
[18:30:08] *** michaelm has joined #angularjs
[18:30:20] *** roymiloh has quit IRC
[18:31:17] *** bkuberek_ has quit IRC
[18:31:20] *** bsmithgall has joined #angularjs
[18:31:33] *** lw has quit IRC
[18:33:05] *** ededagic has quit IRC
[18:33:14] *** lasha has quit IRC
[18:33:34] *** kalehv_ has joined #angularjs
[18:33:54] *** InezK is now known as InezK_away
[18:34:13] *** lotus has joined #angularjs
[18:34:33] *** pkayfire has quit IRC
[18:34:44] *** wa5ted_ has joined #angularjs
[18:34:47] *** kalehv has quit IRC
[18:35:38] *** bsmithgall has quit IRC
[18:36:04] *** asdofindia has joined #angularjs
[18:36:07] *** intellix has quit IRC
[18:36:47] *** kalehv has joined #angularjs
[18:37:03] *** wa5ted has quit IRC
[18:37:08] *** wa5ted_ is now known as wa5ted
[18:37:09] *** ckboii89 has joined #angularjs
[18:37:26] *** roymiloh has joined #angularjs
[18:38:10] *** jbourassa has joined #angularjs
[18:38:26] *** bkuberek has joined #angularjs
[18:38:38] *** kalehv_ has quit IRC
[18:39:05] *** sdouglas has joined #angularjs
[18:39:52] *** DrMabuse has joined #angularjs
[18:41:32] *** ckboii89 has quit IRC
[18:41:38] *** pluma has quit IRC
[18:41:56] <luisgrin> .
[18:41:56] *** Ir1sh has quit IRC
[18:41:57] *** lite_ has joined #angularjs
[18:41:59] *** stickperson has quit IRC
[18:43:10] *** josh-k has joined #angularjs
[18:43:14] *** Ir1sh has joined #angularjs
[18:43:38] *** sdouglas has quit IRC
[18:43:47] *** ayman has quit IRC
[18:44:15] *** bkuberek has quit IRC
[18:44:17] *** pluma has joined #angularjs
[18:44:35] *** P1RATEZ has quit IRC
[18:44:53] *** DrMabuse has quit IRC
[18:45:27] *** H1FuelCell has quit IRC
[18:46:00] *** Sijdesign has joined #angularjs
[18:46:09] *** Milanito has joined #angularjs
[18:46:13] *** Tidwell has joined #angularjs
[18:46:31] *** J0514H has joined #angularjs
[18:46:34] *** lite_ has quit IRC
[18:47:21] *** intellix has joined #angularjs
[18:47:30] *** JimTheDev has quit IRC
[18:47:38] *** davedev24_ has quit IRC
[18:47:59] *** josh-k has quit IRC
[18:48:34] *** danielpquinn has joined #angularjs
[18:48:57] *** morenoh149 has joined #angularjs
[18:49:14] *** gnarMatix has joined #angularjs
[18:49:20] *** DuelShark has quit IRC
[18:49:32] *** Siecje has joined #angularjs
[18:50:25] *** dcherman has joined #angularjs
[18:50:33] *** hugorodrigues has quit IRC
[18:50:45] *** stickperson has joined #angularjs
[18:51:47] *** phuh has joined #angularjs
[18:52:17] *** phuh has quit IRC
[18:52:28] *** stickperson has quit IRC
[18:53:01] *** danielpquinn has quit IRC
[18:54:29] *** s3ri0us has joined #angularjs
[18:54:57] *** pdillinger1 has joined #angularjs
[18:55:14] *** KamalKaur has joined #angularjs
[18:55:23] *** gnarMatix has quit IRC
[18:55:46] *** Yahkob has quit IRC
[18:56:30] *** gnarMatix has joined #angularjs
[18:56:34] *** moritzs has quit IRC
[18:57:34] *** davedev24_ has joined #angularjs
[18:57:42] *** OnkelTem has quit IRC
[18:58:28] *** JimTheDev has joined #angularjs
[18:58:28] *** JimTheDev has joined #angularjs
[18:58:57] *** OnkelTem has joined #angularjs
[18:59:01] *** klaut has joined #angularjs
[18:59:03] *** pdillinger1 has quit IRC
[18:59:24] *** jbourassa has quit IRC
[18:59:41] *** corban has joined #angularjs
[19:00:14] *** Aerospark has joined #angularjs
[19:00:30] *** CodeFriar has joined #angularjs
[19:01:00] *** DuelShark has joined #angularjs
[19:01:28] *** morenoh149 has quit IRC
[19:02:18] *** avree has quit IRC
[19:02:19] *** CodeFriar has quit IRC
[19:02:44] *** TehShrike|Work has joined #angularjs
[19:03:04] *** ru_proton has joined #angularjs
[19:03:08] *** jpstone- has joined #angularjs
[19:03:38] *** TehShrike|Work has left #angularjs
[19:05:26] *** patrickarlt has quit IRC
[19:06:08] *** patrickarlt has joined #angularjs
[19:06:18] *** gnarMatix has quit IRC
[19:06:23] *** Sengoku has joined #angularjs
[19:06:38] *** davedev24_ has quit IRC
[19:06:45] *** dextorion has joined #angularjs
[19:06:59] *** davedev24_ has joined #angularjs
[19:10:37] *** patrickarlt has quit IRC
[19:10:48] *** Sengoku has quit IRC
[19:12:20] *** gnarMatix has joined #angularjs
[19:12:23] *** mehlah has quit IRC
[19:12:40] *** gnarMatix has quit IRC
[19:12:58] <ru_proton> Hi all! I'm newbie in angularjs.
[19:13:05] <ru_proton> <img ng-src='{{photo.big.href}}'> is ok
[19:13:10] <ru_proton> <img ng-src='{{photo[size].href}}'> is not ok :(
[19:13:14] <ru_proton> size is variable (size=='big')
[19:14:00] *** Ir1sh has quit IRC
[19:14:31] *** Ir1sh has joined #angularjs
[19:14:49] *** mattt_ has joined #angularjs
[19:16:37] *** Siecje has quit IRC
[19:16:47] *** dextorion has quit IRC
[19:17:25] *** dextorion has joined #angularjs
[19:18:19] *** s3ri0us has quit IRC
[19:18:24] *** sdouglas has joined #angularjs
[19:18:44] *** tomh- has joined #angularjs
[19:19:11] *** heidi has joined #angularjs
[19:19:37] *** upsell5 has quit IRC
[19:20:20] <mattt_> I’m trying to run some unit tests with Karma, but keep running into this error (which was supposedly fixed): “TypeError: Attempted to assign to readonly property.” Stack trace shows angular-mocks.js:17
[19:20:57] <mattt_> angular 1.2.19
[19:21:33] *** cacts has quit IRC
[19:22:04] *** pkayfire has joined #angularjs
[19:22:39] *** Yahkob has joined #angularjs
[19:23:41] <luisgrin> hi, i would like to get some angular complex layout example (kind of outlook)
[19:23:58] *** KushS has quit IRC
[19:24:38] *** Th34rchitekt has joined #angularjs
[19:24:44] *** tfennelly has joined #angularjs
[19:24:46] *** nerdy has quit IRC
[19:24:58] *** heidi has quit IRC
[19:26:13] *** pkayfire has quit IRC
[19:27:08] *** ru_proton has quit IRC
[19:28:09] *** heidi has joined #angularjs
[19:28:32] *** lw has joined #angularjs
[19:28:58] *** tfennelly has quit IRC
[19:29:55] <postitnote> luisgrin: Probably try ui-router
[19:30:22] <postitnote> luisgrin: Particularly, ui-router's abstract routes.
[19:30:38] <luisgrin> postitnote thanks ill see
[19:31:30] <postitnote> What you need ui-router for is to make sub views/controllers, rather than one big ng-view (sort of useless for a SPA app).
[19:32:43] *** Stephen has joined #angularjs
[19:33:29] *** elrabin has joined #angularjs
[19:33:47] *** Sebastien-L has joined #angularjs
[19:34:06] *** Milanito has quit IRC
[19:34:36] <luisgrin> ok, i saw it ... thanks postitnote
[19:35:40] *** phuh has joined #angularjs
[19:36:37] *** KamalKaur has quit IRC
[19:38:05] *** [n0b0dy] has quit IRC
[19:38:20] *** rkalfane has quit IRC
[19:38:37] *** dcherman has quit IRC
[19:38:44] *** [n0b0dy] has joined #angularjs
[19:39:00] <sal1191> has anyone used Ionic?
[19:39:01] *** dextorion has quit IRC
[19:39:12] <testerde> argh, this drives me nuts! I want to check recursively, ob a node is on the way between root and a special leaf...
[19:39:19] *** Oxelist has joined #angularjs
[19:39:19] *** Milanito has joined #angularjs
[19:39:29] <testerde> i should have learnt better on the data structure course :(
[19:39:47] *** Dextorion has joined #angularjs
[19:39:56] <robdubya> morning all
[19:40:03] *** heidi has quit IRC
[19:40:07] <sal1191> howdy rob
[19:40:42] <sal1191> im liking ionic, been messing with code examples for a couple days learnin the directives
[19:40:45] *** ededagic has joined #angularjs
[19:41:04] <robdubya> nice
[19:41:37] <sal1191> its taught me new things about ui-router as well
[19:41:58] *** ustunozgur has joined #angularjs
[19:42:05] *** pheze has joined #angularjs
[19:42:57] *** Jae has quit IRC
[19:43:14] *** bkuberek_ has joined #angularjs
[19:43:38] *** Oxelist has quit IRC
[19:44:06] *** Siecje has joined #angularjs
[19:44:07] *** rkalfane has joined #angularjs
[19:44:18] *** jbourassa has joined #angularjs
[19:46:07] *** Oxelist has joined #angularjs
[19:46:23] *** pdillinger1 has joined #angularjs
[19:47:16] <postitnote> morning rob.
[19:47:24] *** amargherio has joined #angularjs
[19:47:42] *** vintik has joined #angularjs
[19:48:00] *** [n0b0dy] has quit IRC
[19:48:09] *** asdofindia has quit IRC
[19:48:11] *** [n0b0dy] has joined #angularjs
[19:48:20] *** ckboii89 has joined #angularjs
[19:48:58] *** J0514H has quit IRC
[19:49:29] *** phrozensilver has joined #angularjs
[19:49:36] *** obert has joined #angularjs
[19:49:38] *** J0514H has joined #angularjs
[19:50:37] *** pdillinger1 has quit IRC
[19:50:51] *** morenoh149 has joined #angularjs
[19:51:43] *** Milanito has quit IRC
[19:51:47] *** JmZ is now known as JmZ_
[19:52:38] *** obert has quit IRC
[19:53:21] *** obert has joined #angularjs
[19:53:34] *** flocca has quit IRC
[19:53:38] *** KushS has joined #angularjs
[19:55:06] <testerde> aaah finally got it working
[19:57:02] *** foo-bar- has joined #angularjs
[19:57:40] *** pkayfire has joined #angularjs
[19:58:06] *** bbrown has joined #angularjs
[19:58:11] <zumba_addict> any ideas folks why localhost works while 127.0.0.1 doesn't work in CORS?
[19:58:30] *** foofoobar has joined #angularjs
[19:58:43] <zumba_addict> and my apache is Header set Access-Control-Allow-Origin "*" which should cover everything
[20:00:25] *** jonnyynnoj has joined #angularjs
[20:00:53] *** davedev24_ has quit IRC
[20:01:32] *** Jon30 has quit IRC
[20:01:40] *** foo-bar- has quit IRC
[20:01:48] *** davedev24_ has joined #angularjs
[20:01:54] *** T0lkman has joined #angularjs
[20:02:10] <T0lkman> angular is too slow when there are hg-include with heavy calculations e.g. D# charts painting etc ;[
[20:02:32] *** ccohn has joined #angularjs
[20:03:10] <testerde> zumba_addict: what does the developer console show in network tab?
[20:03:13] *** Paper_bounced is now known as paperElectron
[20:03:54] <testerde> zumba_addict: maybe there is a host solution in chrome that resolves something and uses internally the other representation
[20:04:24] <testerde> zumba_addict: and did you add the apache header to all or just to the localhost settings. its a difference for the apache
[20:05:28] *** Rahul_Roy has joined #angularjs
[20:06:33] *** Sengoku has joined #angularjs
[20:06:49] *** L8TR has quit IRC
[20:07:17] *** davemerwin has joined #angularjs
[20:08:38] *** paperElectron is now known as Paper_bounced
[20:09:02] *** pdillinger1 has joined #angularjs
[20:09:23] *** vintik has quit IRC
[20:10:12] *** KushS has quit IRC
[20:10:27] *** hswolff has joined #angularjs
[20:10:37] *** shinnya has joined #angularjs
[20:10:37] *** Sengoku has quit IRC
[20:10:39] *** KushS has joined #angularjs
[20:10:42] *** scmx has joined #angularjs
[20:10:46] <wafflejock> T0lkman: always profile before pointing fingers
[20:11:12] *** sigurding has joined #angularjs
[20:11:18] *** davemerwin has quit IRC
[20:11:32] *** KushS has quit IRC
[20:11:50] <wafflejock> and I'm not talking about racial profiling :P
[20:12:54] *** ustunozgur has quit IRC
[20:13:27] *** kirfu has joined #angularjs
[20:13:55] *** Stephen has quit IRC
[20:15:03] *** Sijdesign has quit IRC
[20:15:11] *** elrabin has quit IRC
[20:15:19] *** Rebirth has quit IRC
[20:15:44] *** bbrown has quit IRC
[20:15:47] <Left_Turn> is css common in angular apps or is it all bootstrap?
[20:15:50] <wafflejock> mornin' robdubya
[20:16:01] <wafflejock> Left_Turn: not sure what that ? means?
[20:16:03] *** pluma has quit IRC
[20:16:18] <wafflejock> Left_Turn: CSS is it's own thing Angular generally doesn't have much to do with it
[20:16:35] <Left_Turn> ok probably a silly question
[20:16:43] *** djam90 has joined #angularjs
[20:16:50] *** alinou has joined #angularjs
[20:17:23] <wafflejock> Left_Turn: yeah people use various CSS frameworks/boilerplates to make things easier like bootstrap or foundation but they are working side by side with angular basically and only supply the CSS for styling elements and helping with layout
[20:17:58] *** Emperor_Earth__ has joined #angularjs
[20:18:02] <Left_Turn> oh ok i see wafflejock
[20:18:44] *** Tidwell has quit IRC
[20:18:46] <oniijin> that question didn't make sense
[20:19:04] *** Tidwell has joined #angularjs
[20:19:40] <robdubya> mornin wafflejock
[20:19:56] *** kayloos has joined #angularjs
[20:20:34] *** Emperor_Earth_ has quit IRC
[20:20:42] *** Rebirth has joined #angularjs
[20:22:25] *** jbourassa has quit IRC
[20:22:56] *** odin_ has joined #angularjs
[20:23:02] <obert> easier?!
[20:23:16] <wafflejock> obert: yeah the grid is nice
[20:23:18] *** okapi has joined #angularjs
[20:23:28] <obert> what is easier to have to override all bootstrap rules?
[20:23:30] <wafflejock> obert: DIY layout can be a real pain especially supporting mobile
[20:23:36] *** quantax- has quit IRC
[20:24:05] <wafflejock> obert: or you can start with the plain unstyled controls cause they look great and take no tweaking right :P
[20:24:19] <oniijin> smh
[20:24:29] <obert> sincerely i hate fw
[20:24:39] *** ngoyal has joined #angularjs
[20:24:53] <oniijin> then do it from scratch yourself
[20:25:13] <oniijin> if you use it correctly it saves time
[20:25:14] <obert> neither my pycsser helps me in those cases
[20:25:39] *** apetro_ has joined #angularjs
[20:26:03] <obert> yeah oniijin but override rules after loaded an entire fw is not that great thing imo
[20:26:15] <oniijin> if you dont need it all y load it all?
[20:26:28] <wafflejock> right no one is saying you have to use anything
[20:26:37] <oniijin> don't bitch about something that's provided for free, just bc y ou don't know how to use it correctly
[20:26:47] <intellix> more ngAnimate woes -.-
[20:27:02] <obert> oniijin: don't offend me.
[20:27:11] <oniijin> you offend me
[20:27:21] <obert> how
[20:27:23] <intellix> why the hell is ng-switch animation adding this to the ng-enter item? “-webkit-transition-property: none;-webkit-transition-duration: 10s;”
[20:27:54] <intellix> (10s is the animation time so I can debug it), but why did it add transition-property none?
[20:28:26] <obert> i don't know i always try to start a discussion and end up with a troll conversation
[20:28:34] <oniijin> bc you're the troll
[20:28:39] <oniijin> if you hate fw, why are you using ng
[20:28:46] <oniijin> go vanilla js from scratch
[20:28:56] <wafflejock> obert: right you start off with a very negative point you will get negativity back
[20:28:57] <obert> oniijin: perfect. peace. irc is really a useless.
[20:29:02] <wafflejock> obert: later
[20:29:33] *** roymiloh has quit IRC
[20:29:47] <obert> goodbye i would say. i really stop to try to improve my skills by using irc and write to the perfect people like the amazing oniijin and such
[20:29:49] <oniijin> you're done
[20:29:58] *** pheze has quit IRC
[20:29:59] <oniijin> good bye
[20:30:09] *** roobik_ has joined #angularjs
[20:30:26] <obert> and enjoy your irc boss level oniijin
[20:30:29] *** brianturgeon has joined #angularjs
[20:30:38] *** sdouglas has quit IRC
[20:30:38] <oniijin> yup
[20:30:48] *** lasha has joined #angularjs
[20:30:48] <obert> mussolini was very similar.
[20:30:53] *** shinnya has quit IRC
[20:31:31] <intellix> I’ve never understood people who hate frameworks :P
[20:31:32] <robdubya> yeah, onijin is a total fascist dictator.
[20:31:37] <wafflejock> haha
[20:31:46] *** Foxandxss has quit IRC
[20:31:51] <wafflejock> off with their heads he once said
[20:31:52] *** kirfu has left #angularjs
[20:31:52] <robdubya> literally hitler
[20:31:53] <wafflejock> i heard it
[20:31:59] *** Sebastien-L has quit IRC
[20:32:00] <oniijin> lol
[20:32:09] <oniijin> cant be robdubya, i cant really grow a mustache
[20:32:15] <robdubya> haha
[20:33:14] *** roobik- has joined #angularjs
[20:33:33] *** roobik- has quit IRC
[20:33:38] *** roobik_ has quit IRC
[20:33:57] *** apetro_ has quit IRC
[20:34:23] *** roobik_ has joined #angularjs
[20:34:35] *** apetro_ has joined #angularjs
[20:35:05] <intellix> argh, trying to do a ng-switch animation. it’s so obvious, my code is fine but for some reason the ng-enter doesn’t animate because transition-property: none; is added -.- I don’t get it
[20:35:23] <postitnote> obert: I'm not trying to be rude or anything, but I, along with many others, was stealing UI elements from twitter long before they released bootstrap :)
[20:35:45] *** roobik_ has quit IRC
[20:36:14] <wafflejock> obert: we are really a pretty civil group here, if you are open minded about things and see the bigger picture that everyone is not in your situation, also if someone chooses to help you here it's volunteer work, if you really are coming to the IRC for help you need to present as much info as you can and an example of the failure or your not likely going to get help, having elitest answers about how you have xyz tool and bob uses
[20:36:14] <wafflejock> abc is pointless
[20:36:16] <postitnote> The people who weren't, the people who I find most critical of twbs, without fail, are terrible UI designers or have nothing to show to back up their conjecture. I was on dribbble the day it launched. I know what UI stuff is out there.
[20:36:26] <wafflejock> intellix: have you tried adding DOM watchers in the debug panel
[20:36:37] <intellix> good idea, will try, thanks
[20:37:06] *** roobik_ has joined #angularjs
[20:37:08] *** roymiloh has joined #angularjs
[20:37:14] *** jbourassa has joined #angularjs
[20:37:30] <oniijin> postitnote +1
[20:37:31] *** bbankes has joined #angularjs
[20:37:33] *** pheze has joined #angularjs
[20:37:52] *** lasha has quit IRC
[20:38:07] <oniijin> postitnote drives me insane when people complain they hate bs because "it all looks the same"
[20:38:08] *** obert has left #angularjs
[20:38:19] <oniijin> btw, it's no longer twbs.
[20:38:25] <oniijin> haha nubbynub left
[20:38:28] <intellix> I was doing everything completely custom since TWBS and since learning it I really try to stay away from doing anything much custom
[20:38:33] *** apetro_ has quit IRC
[20:38:36] *** Al` has joined #angularjs
[20:39:14] <oniijin> just simplifies life having that grid in place
[20:39:24] <robdubya> intellix are you trying to do it with ng-animate?
[20:39:28] *** brianturgeon has quit IRC
[20:39:43] <intellix> exactly this robdubya: http://www.nganimate.org/angularjs/ng-switch/slider-css3-transition-animation
[20:39:48] *** roobik_ has quit IRC
[20:39:54] <intellix> exit slides out, enter slides in
[20:40:10] *** shinnya has joined #angularjs
[20:40:18] *** roobik_ has joined #angularjs
[20:40:26] *** tfennelly has joined #angularjs
[20:40:33] *** Nizumzen has quit IRC
[20:40:36] <robdubya> ahh intellix that's angular 1.1x
[20:40:38] <postitnote> oniijin so true…stand behind a user who is actually using something you've designed to accomplish a task and ask them if they have any complaints about your interface being "too familiar" <-- never, ever, not once in the history of mankind.
[20:40:43] <robdubya> works differently in 1.2x
[20:40:43] *** roobik_ is now known as roobik
[20:40:44] <intellix> yeah I’m not using that
[20:41:00] <intellix> but the same idea
[20:41:04] *** obert has joined #angularjs
[20:41:16] *** roobik has quit IRC
[20:41:18] *** DrMabuse has joined #angularjs
[20:41:18] <intellix> ng-enter, ng-leave being the setup states. ng-enter-active, ng-leave-active being the finishing states
[20:41:34] <intellix> but for some reason, the one node entering, has inline-styling applied that makes it do nothing
[20:41:44] <postitnote> I think my federal government should mandate the use of bootstrap on all government websites.
[20:41:55] <oniijin> lol
[20:42:16] <postitnote> Seriously! Who are these government contractors who make these UIs? It's comical.
[20:42:20] <robdubya> intellix plunker?
[20:42:34] <intellix> i’ve got a feeling if plnkr it, it’s going to work :P cause it’s so easy. will try
[20:42:38] <oniijin> postitnote the main criticism I see about BS all stems from people not knowing how to use the tool
[20:43:00] *** roobik has joined #angularjs
[20:43:02] <postitnote> Yup. Not knowing how powerful less css is, too.
[20:43:02] <robdubya> healthcare.gov uses bootstrap :D
[20:43:09] <oniijin> if you use a hammer to tighten screws in your phone, ur gonna have a bad time
[20:43:20] <oniijin> robdubya ugh. forever unclean
[20:43:28] <postitnote> robdubya: Ha! Awesome. Hopefully that part worked from the beginning :)
[20:43:39] <wafflejock> well I could understand if you have a custom designed site and are having to override everything it can be a pain but there are just different use cases and different solutions
[20:45:02] <wafflejock> I use bootstrap a ton too for a lot of the reasons mentioned already but if I was targetting mobile I'd use ionic and if I had some completely custom design with all the controls designed to fit the overall design I could see using some other grid css and doing the rest of the styling manually
[20:45:12] <wafflejock> but dude just had a bad attitude
[20:45:19] <robdubya> everything is a remix
[20:45:22] <oniijin> it's ok i banned him from bootstrap
[20:45:23] <oniijin> =p
[20:45:29] <postitnote> wafflejock: In my experience, with bootstrap, it's amazing how much just editing variables can completely transform the "bootstrap aesthetic" into something different yet still very nice.
[20:45:32] *** JakeSays has quit IRC
[20:45:32] <robdubya> FUCKING FASCIST
[20:45:35] <oniijin> lol
[20:45:40] <wafflejock> postitnote: yeah totally true
[20:45:48] <oniijin> mustacheless fascist, let's be precise now
[20:45:58] *** InezK_away is now known as InezK
[20:46:00] *** DrMabuse has quit IRC
[20:46:04] *** J0514H has quit IRC
[20:46:09] <oniijin> postitnote when people bitch about sites looking the same I show them my site
[20:46:12] <oniijin> usually shuts them up
[20:46:23] <robdubya> http://bootswatch.com/
[20:46:33] <oniijin> colororororos
[20:47:34] <obert> oniijin: get a life, kid
[20:47:40] <oniijin> yawwwnn
[20:47:45] <oniijin> learn to dev kid
[20:47:46] *** obert has left #angularjs
[20:47:55] <robdubya> do you even dev bro?
[20:48:04] <oniijin> "dev"
[20:48:05] *** obert has joined #angularjs
[20:48:10] *** starfox_21 has joined #angularjs
[20:48:21] <intellix> well it works in the plnkr, so something else must be screwing with it
[20:48:22] <oniijin> o it's back
[20:48:23] <intellix> http://plnkr.co/edit/IctQYWhERYUBfzLkFq43?p=preview
[20:48:30] <obert> oniijin: i had to work with bootstrap. i wasnt there just as a hobby
[20:48:49] *** brianturgeon has joined #angularjs
[20:48:53] <obert> oniijin: so you made me in troubles. job troubles. you are just an idiot.
[20:48:59] <postitnote> obert: I'm glad you came back. I used to share your disdain for aesthetic influence in frameworks, heh. It took me WAY too long to achieve total zen :)
[20:49:24] <obert> get a life Mussolini. and come back to work if you don't have nothing to do
[20:49:27] <sacho> job troubles are pretty made.
[20:49:27] <oniijin> don't even know what you're sayin bro
[20:49:30] <obert> you and your irc
[20:49:32] *** obert has left #angularjs
[20:49:35] <oniijin> zzz
[20:49:50] <oniijin> where's fox when u need that banhammer
[20:50:10] *** danielpquinn has joined #angularjs
[20:50:13] <robdubya> [ ] Not told
[20:50:19] <robdubya> [ x ] Told
[20:50:37] <intellix> ooo I like bootswatch, wish I knew about it before :P
[20:51:16] <oniijin> there needs to be random color generator
[20:51:25] <oniijin> just randomly color all the less variables
[20:51:27] <oniijin> lol
[20:51:33] <oniijin> win!
[20:51:35] *** scmx has quit IRC
[20:52:01] <postitnote> Go to dribbble and steal some ui color palettes :) -- i.e. do what every good designer does.
[20:52:04] *** encryptd_fractl has joined #angularjs
[20:52:27] *** bayousoft has quit IRC
[20:52:33] *** rburns has joined #angularjs
[20:52:34] *** DuelShark has quit IRC
[20:52:40] *** nagappan has quit IRC
[20:52:53] <oniijin> shhhh it's a secret postitnote
[20:52:59] <oniijin> dont be givin that away
[20:53:15] <oniijin> tho, do u happen to have any invites =p
[20:53:24] *** Aerospark has quit IRC
[20:53:34] <postitnote> oniijin: I made this joke at a bar with some developers and severe laughter erupted hahahaha. That was when I knew I wasn't the only one.
[20:53:36] *** nagappan has joined #angularjs
[20:53:41] *** brianturgeon has quit IRC
[20:53:58] *** DrMabuse has joined #angularjs
[20:54:01] <oniijin> lol
[20:54:25] <postitnote> No; let me clarify something: When I said I was on dribbble the day it launched, I didn't mean ON dribbble, I meant on dribbble stealing ideas from awesome designers.
[20:54:37] *** danielpquinn has quit IRC
[20:55:13] *** pheze has quit IRC
[20:55:47] *** tfennelly has quit IRC
[20:55:48] *** InezK is now known as InezK_away
[20:55:59] <postitnote> I'm a longtime fan of its founder Dan Cederholm so I was a very early lurker :)
[20:56:09] <oniijin> haha
[20:56:14] <oniijin> can u get an invite then =p
[20:56:18] *** encryptd_fractl has quit IRC
[20:56:22] <oniijin> it's like ft knox tryin to get in
[20:56:27] *** Th34rchitekt has quit IRC
[20:56:39] <oniijin> aka, opposite our sw border
[20:56:48] <postitnote> I wish I did. What's troubling to me is the people who have gotten an invite, but aren't terribly good designers!
[20:56:49] *** Aliks has joined #angularjs
[20:57:00] <postitnote> It's gone a bit down hill over the past couple years.
[20:57:24] <Aliks> how often do you guys require: ngModel for custom dropdowns etc?
[20:57:24] *** Paper_bounced is now known as paperElectron
[20:57:27] <oniijin> there is a lot of crap on there for sure
[20:57:33] <postitnote> Since the classics https://dribbble.com/shots/486991-the-back-of-the-instagram-icon
[20:57:37] <oniijin> or just the same crap different variations
[20:58:13] *** postitnote has left #angularjs
[20:58:15] *** [n0b0dy] has quit IRC
[20:58:25] *** [n0b0dy] has joined #angularjs
[20:59:24] *** cphil has quit IRC
[20:59:31] *** ccohn has quit IRC
[20:59:35] *** cigarshark has joined #angularjs
[21:01:18] <intellix> my animation woes seem ot be connected to forms….. but why?
[21:01:59] *** Aerospark has joined #angularjs
[21:02:15] <intellix> yep, you can’t ng-enter animate forms -.-
[21:02:20] <intellix> http://plnkr.co/edit/IctQYWhERYUBfzLkFq43?p=preview
[21:02:43] *** fold has quit IRC
[21:03:46] *** hydrozen has joined #angularjs
[21:03:49] *** michaelm has quit IRC
[21:04:25] <intellix> is that expected? if not, i’ll open a ticket
[21:04:28] *** Mevolution has joined #angularjs
[21:04:53] <caitp> what do you mean
[21:04:56] *** MTGap has joined #angularjs
[21:05:00] *** strfcks has joined #angularjs
[21:05:06] <intellix> sec
[21:05:25] *** rho has quit IRC
[21:05:27] *** DrMabuse has quit IRC
[21:05:38] <intellix> http://plnkr.co/edit/IctQYWhERYUBfzLkFq43?p=preview
[21:05:41] *** Sooped has joined #angularjs
[21:05:54] <intellix> that shows <article> working as expected, but not <form>
[21:06:07] *** DrMabuse has joined #angularjs
[21:06:31] <Sooped> Is there anyone in here familiar with MEANjs?
[21:06:32] <Mevolution> anyone know a better meanstack than meanjs or is this the good one?
[21:06:43] *** awestroke has joined #angularjs
[21:07:03] *** T0lkman has quit IRC
[21:07:06] <awestroke> I've created a minimal test case for a problem I struggle with, help appreciated: http://plnkr.co/edit/jDPMZJEVdWwt2MGSfSFP?p=preview
[21:07:39] <Sooped> Mev, I am pretty happy with Meanjs. Also like generator-fullstack
[21:07:42] <caitp> intellix: that sounds like an error from a while ago
[21:07:43] *** noord has quit IRC
[21:07:44] *** noord has joined #angularjs
[21:07:59] <caitp> a problem when you have multiple enter/leave animations
[21:08:03] <wafflejock> intellix: check out line 1310 of angular-animate
[21:08:06] <caitp> it would only work for the last one
[21:08:07] <intellix> it seems the form has inline styles applied
[21:08:17] <intellix> well even if you swap them, it still happens
[21:08:20] <wafflejock> intellix: er look for blockTransitions in there
[21:08:28] <wafflejock> think it's hitting that when you use the forms
[21:08:49] *** Aliks has quit IRC
[21:08:57] <intellix> as you can see, it’s not caused by multiple transitions, it just doesn’t work for forms: http://plnkr.co/edit/IctQYWhERYUBfzLkFq43?p=preview
[21:09:36] *** kirfu has joined #angularjs
[21:09:42] *** cphil has joined #angularjs
[21:09:50] *** Aliks has joined #angularjs
[21:09:50] *** TheAceOfHearts has joined #angularjs
[21:10:06] *** instence has joined #angularjs
[21:10:21] <wafflejock> awestroke: http://plnkr.co/edit/EMtY4XXs3xrZaVIPPvDp?p=preview
[21:10:22] *** instence_ has quit IRC
[21:10:45] <Sooped> Whats the best way to restrict access to a section? For example dashboard being restricted unless rank is Admin or XA
[21:10:49] <wafflejock> intellix: you can probably trace back and see if the call is due to something intentional
[21:11:00] *** SomeKittens has joined #angularjs
[21:11:02] *** bayousoft has joined #angularjs
[21:11:32] <caitp> sooped: anything you do on the client side is purely cosmetic
[21:11:36] <awestroke> wafflejock: In my original code, I'm using socket.io `on('event', func(){})`, how do I do an "angular-safe" update of the service object from that callback?
[21:11:44] <caitp> to do it properly you need to restrict unauthorized clients from the server
[21:11:57] <wafflejock> awestroke: basically you just need to trigger $apply somewhere
[21:11:59] <caitp> send them a 401 when they ask for data/views they aren't supposed to see
[21:12:02] <wafflejock> awestroke: $timeout does it for you
[21:12:09] <wafflejock> awestroke: you can inject $rootScope and call it on that
[21:12:09] *** okapi has quit IRC
[21:12:12] *** endash has joined #angularjs
[21:12:49] *** kayloos has quit IRC
[21:12:53] <wafflejock> I just keep restricted stuff out of the view code and only supply it through data calls and protect it there
[21:13:08] <wafflejock> you can just change the nav display based on the user type then
[21:13:34] *** michaelm has joined #angularjs
[21:13:41] <Sooped> Would adding the restriction on the routes work? Or is there a better way to go about it?
[21:13:50] *** squeakytoy has quit IRC
[21:14:01] <wafflejock> Sooped: what are you trying to protect in the view?
[21:14:19] <wafflejock> like caitp said if you really do need to restrict access to the view you need to do it server side
[21:14:32] *** hydrozen has quit IRC
[21:14:43] <wafflejock> but for the most part the view code only defines how to use the data which is the important part
[21:14:58] *** V0id has quit IRC
[21:15:05] *** Siecje has quit IRC
[21:15:34] *** Brocken is now known as zz_Brocken
[21:15:50] <strfcks> hello, i have a problem about remote data sharing between different controllers. I want to share the data comming with $http in Factory. At the beginning ControllerA and ControllerB getting data successfully from Factory but when i add new a value to data through ControllerA which is using http request in Factory, ControllerB doesn’t get updated. Should i use something else other than Service ?
[21:15:54] <awestroke> wafflejock: thanks
[21:16:04] <wafflejock> awestroke: np
[21:16:13] <Sooped> @wafflejock: I've got a form setup. I'd like to add a dashboard area that is restricted to only admin and another role to which they can view the form data and comment
[21:16:30] <Sooped> thats the short version
[21:16:30] *** Mevolution has quit IRC
[21:16:35] *** mindlace has quit IRC
[21:16:35] <marcospgp> strfcks, hm weren't services supposed to be singletons everyone?
[21:17:22] <wafflejock> Sooped: okay so in the protection really just needs to be on the server side for the data so the non-admin users can't edit the form data right?
[21:17:25] <strfcks> marcospgp: yes, they are
[21:18:12] <marcospgp> strfcks, oh I know this one! :D
[21:18:29] <marcospgp> strfcks, add a function to your service that changes the data inside it. then, call that function from your controller
[21:18:32] *** V0id has joined #angularjs
[21:18:35] <TheAceOfHearts> went to PayPal today, learned how to program for the Chromecast lol; has anyone tried running Angular on it?
[21:19:10] <strfcks> marcospgp: but update needs to be done from other Controller
[21:19:17] *** sacho_ has joined #angularjs
[21:19:22] <wafflejock> Sooped: then client side you can just toggle which elements you display regarding the editable form vs the label display only version of the form based on the signed in user, typically I have a service setup to do handle and store stuff about login, so I'd just inject that service into a controller that's used for the dashboard display and toggle which type of form gets shown, editable or view only
[21:19:23] <Sooped> Wafflejock: Correct. Ive got it hacked together at the moment where the page displays blank if the user isnt logged in w/ an admin rank. However i feel like thats a makeshift way of doing it
[21:19:25] <marcospgp> strfcks, what do you mean?
[21:19:25] *** mattt_ has quit IRC
[21:19:36] <marcospgp> strfcks, if you have a function in your service you can call it from any controller
[21:19:56] <marcospgp> (any that has called it as dependency, of course)
[21:19:57] <strfcks> marcospgp: i do it already which are addData and getData
[21:20:03] *** Rebirth has quit IRC
[21:20:20] <marcospgp> and the changes don't get applied? can we see some code?
[21:20:20] <wafflejock> Sooped: since you protect the data insertion server side it doesn't matter if someone gets access to the code for the edtiable form because they still can't insert data
[21:20:24] *** jharbaug_ has quit IRC
[21:20:38] <strfcks> marcospgp: ControllerA addData but other one doesn’t get updated with that action
[21:20:51] *** mattt_ has joined #angularjs
[21:20:52] <strfcks> marcospgp: i am thinking it is about $http request
[21:20:58] *** jharbaugh has joined #angularjs
[21:21:02] *** lw has quit IRC
[21:21:03] <marcospgp> does controllerB do getData after controllerA does addData?
[21:21:03] <Sooped> Im using the meanjs generator, but i feel like its limiting me or taking longer to do what I need to do. Could be wrong tho :P
[21:21:20] <wafflejock> Sooped: anyone who is trying to hack something is just going to be sending data either randomly or by having sniffed some other traffic and modifying it
[21:21:28] *** lw has joined #angularjs
[21:21:30] <wafflejock> Sooped: yeah not sure about MeanJS
[21:21:43] <strfcks> marcospgp: how does controllerB knows that controllerA added a data ?
[21:22:25] <Sooped> Wafflejock: do you use a yeoman gen that you'd recommend or would you just go fully by hand
[21:22:34] <marcospgp> strfcks, well there are many ways to do that, let me think
[21:22:47] *** sacho has quit IRC
[21:23:01] *** sgnl has joined #angularjs
[21:23:21] <wafflejock> Sooped: it depends on how comforatable you are with Grunt/Gulp.... I used the yeoman generator at first cause I didn't know what I was doing, but since then I stripped down the Gruntfile to just what I need and it's been fine... that said I think gulp seems more understandable
[21:23:37] *** roymilder has joined #angularjs
[21:23:50] <wafflejock> think it's good to at least check it out to see what they're doing there and nice to have all the test structure setup for you
[21:23:59] *** pheze has joined #angularjs
[21:24:10] <Sooped> Initially I was fairly comfortable with Grunt until I saw the light and switched to Gulp.
[21:24:39] <marcospgp> strfcks: you should know when there is a need to check for changes in the context of your app, and maybe have a function isThereNewContent or something that you can call from your controller
[21:25:01] *** jharbaugh has quit IRC
[21:25:12] <marcospgp> strfcks, or better yet, the addData function could change a certain value that your controller would be listening to
[21:25:34] <marcospgp> strfcks, but I'm still not sure how to do that with angular. others here know a lot more than me (:
[21:25:53] <strfcks> marcospgp: :) i am new to angular too :)
[21:26:00] *** hydrozen has joined #angularjs
[21:26:13] *** ngoyal has quit IRC
[21:26:18] <strfcks> marcospgp: i read alot about data sharing but asyn data is probably different
[21:26:29] *** avens has joined #angularjs
[21:26:40] <wafflejock> strfcks: hey I can help you out I think... do you have any code posted I wasn't paying attention to that whole conversation
[21:26:46] <marcospgp> strfcks, the solution here seems to be listening to the functions that change data
[21:26:48] *** ngoyal has joined #angularjs
[21:27:12] <strfcks> let me add it to plnkr
[21:27:20] <wafflejock> strfcks: awesome thanks
[21:27:21] *** fauverism has joined #angularjs
[21:27:58] *** roymilder has quit IRC
[21:27:58] <wafflejock> TheAceOfHearts: WAA!
[21:28:13] <TheAceOfHearts> I HAVE BEEN SUMMONED
[21:28:15] <TheAceOfHearts> hi
[21:28:17] <TheAceOfHearts> what'd I do?
[21:28:18] <wafflejock> TheAceOfHearts: didn't know there was an API for chromecast
[21:28:25] *** Sijdesign has joined #angularjs
[21:28:26] *** Willow_ has quit IRC
[21:28:26] <TheAceOfHearts> of course
[21:28:34] <TheAceOfHearts> how do you think it works with youtube?
[21:28:39] <wafflejock> Google
[21:28:42] *** flocca has joined #angularjs
[21:28:44] <TheAceOfHearts> lol
[21:28:49] <wafflejock> I just figured since Google owns everything it works :)
[21:28:50] <TheAceOfHearts> you can make it work with any website
[21:28:54] <wafflejock> nice
[21:28:59] *** Willow_ has joined #angularjs
[21:29:53] *** tylerlh has quit IRC
[21:30:12] *** T0lkman has joined #angularjs
[21:30:27] *** tylerlh has joined #angularjs
[21:30:36] *** cacts has joined #angularjs
[21:30:38] <wafflejock> fun when I find out I already have a device I can mess with
[21:30:55] *** Ir1sh has quit IRC
[21:30:58] *** ngoyal has quit IRC
[21:31:39] *** phrozensilver1 has joined #angularjs
[21:31:44] *** phrozensilver has quit IRC
[21:31:47] *** sgnl has quit IRC
[21:32:44] *** flocca has quit IRC
[21:33:45] *** Willow_ has quit IRC
[21:33:58] *** alinou has quit IRC
[21:34:04] *** Oxelist has quit IRC
[21:34:11] *** Aerospark has quit IRC
[21:34:14] *** J0514H has joined #angularjs
[21:34:47] *** tylerlh has quit IRC
[21:34:58] *** phrozensilver has joined #angularjs
[21:34:58] <marcospgp> strfcks: did you die? o:
[21:35:05] <strfcks> marcospgp: here sec
[21:35:34] *** phrozensilver1 has quit IRC
[21:36:33] <strfcks> marcospgp: http://plnkr.co/edit/DYoKS7R2bgLv5y6yZkny
[21:36:50] *** testerde has quit IRC
[21:36:52] *** alinou has joined #angularjs
[21:36:58] *** Milanito has joined #angularjs
[21:37:02] *** fold has joined #angularjs
[21:37:08] <strfcks> wafflejock: i did
[21:38:48] *** intellix has quit IRC
[21:39:06] *** Sooped has quit IRC
[21:40:14] *** T0lkman has quit IRC
[21:41:04] *** Happyhaha has joined #angularjs
[21:41:45] <wafflejock> strfcks: alright working on it http://plnkr.co/edit/XvIGFgoH20MgHOrEVCAU?p=preview but will need to remove the POST calls and simulate some things but will show how it would work conceptually
[21:42:39] <wafflejock> strfcks: also jQuery selectors should really only be used in directives
[21:42:46] <strfcks> wafflejock: yeah i know my bad
[21:42:46] *** hoppi is now known as hoppitestchange
[21:42:59] *** hoppitestchange is now known as hoppi
[21:43:20] *** ascarter has joined #angularjs
[21:43:21] *** pkayfire has quit IRC
[21:43:25] <Happyhaha> Hi guys! How are you doing? Im a newbie, so Im very excited with AngularJs, I have a PHP background, so I have worked with Databases, but in here, I see only json files, and it seems very tough to me, filling this(json) files, what you think about it? or maybe I dont know something yet...Thanks
[21:43:58] *** pkayfire has joined #angularjs
[21:43:58] *** VictorBjelkholm has quit IRC
[21:44:16] *** tomzx is now known as tomzx`afk
[21:45:46] *** T0lkman has joined #angularjs
[21:46:10] *** sdouglas has joined #angularjs
[21:46:30] *** sgnl has joined #angularjs
[21:46:48] *** InezK_away is now known as InezK
[21:46:53] *** ededagic has quit IRC
[21:47:16] *** hoppi is now known as blablacar
[21:47:41] *** blablacar is now known as hoppi
[21:47:57] *** wilmoore has joined #angularjs
[21:48:35] *** pkayfire has quit IRC
[21:48:54] *** apetro_ has joined #angularjs
[21:49:15] *** patrickarlt has joined #angularjs
[21:49:15] *** hoppi is now known as marmiteisthebest
[21:49:20] *** arildrotmo has joined #angularjs
[21:49:49] *** marmiteisthebest is now known as hoppi
[21:50:53] *** danielpquinn has joined #angularjs
[21:50:59] *** djam90 has quit IRC
[21:50:59] *** stickperson has joined #angularjs
[21:51:36] *** arildrotmo has left #angularjs
[21:52:33] *** mtsr has joined #angularjs
[21:52:54] *** DuelShark has joined #angularjs
[21:52:58] *** wilmoore has quit IRC
[21:53:07] <zumba_addict> just got back
[21:53:42] *** scmx has joined #angularjs
[21:53:42] *** fcanela has joined #angularjs
[21:53:42] *** fcanela has joined #angularjs
[21:53:44] *** tfennelly has joined #angularjs
[21:54:06] *** roymilder has joined #angularjs
[21:54:55] *** conner_ has joined #angularjs
[21:54:57] <TheAceOfHearts> just got front. what now?
[21:55:01] *** danielpquinn has quit IRC
[21:55:04] <TheAceOfHearts> WHERE'S YOUR GOD NOW?
[21:55:10] *** Oxelist has joined #angularjs
[21:55:11] *** roymilder has quit IRC
[21:55:45] *** roymilder has joined #angularjs
[21:55:46] *** wilmoore has joined #angularjs
[21:55:47] *** ziyadb has quit IRC
[21:56:04] *** JesusAbarca has joined #angularjs
[21:56:35] *** Rebirth has joined #angularjs
[21:56:42] <wafflejock> haha
[21:56:43] *** Oxelist has quit IRC
[21:56:45] *** Oxelist_ has joined #angularjs
[21:56:46] <wafflejock> strfcks: almost there
[21:56:56] *** sigurding has quit IRC
[21:57:17] <JesusAbarca> Hi everyone, I'm stuck with a piece of code. I'm new in AngularJs, is this the right place to ask?
[21:57:32] *** JoshGlzBrk has joined #angularjs
[21:57:48] *** foo-bar- has joined #angularjs
[21:57:56] *** tfennelly has quit IRC
[21:57:57] *** dazs has joined #angularjs
[21:57:59] *** VictorBjelkholm has joined #angularjs
[21:58:12] <wafflejock> strfcks: http://plnkr.co/edit/XvIGFgoH20MgHOrEVCAU?p=preview
[21:58:16] *** jonnyynnoj has quit IRC
[21:58:41] <wafflejock> Happyhaha: that's just to make the front end learning server agnostic
[21:59:04] *** rburns has quit IRC
[21:59:04] <strfcks> wafflejock: i am looking
[21:59:08] <wafflejock> Happyhaha: you want your PHP or whatever you do server side to return JSON and expect JSON cause that's what Angular is going to assume when you use $http or $resource
[21:59:23] *** conner_ has quit IRC
[21:59:26] <wafflejock> Happyhaha: this is easy in PHP using json_encode to turn PHP objects into JSON for returning results
[21:59:58] *** roymilder has quit IRC
[22:00:08] <wafflejock> Happyhaha: lots of people are using NodeJS and MongoDB and stuff like that too where they are more "JS native"
[22:00:26] *** anjumkaiser has joined #angularjs
[22:00:31] <wafflejock> JesusAbarca: yup
[22:00:49] <marcospgp> Foxandxss: weren't you the guy behind the angular-tips blog? I finally came across your post on JWT and I have to say that it's awesome, I wish I would have seen it earlier
[22:00:59] *** sdouglas has quit IRC
[22:01:17] <wafflejock> marcospgp: not in the chat I don't think but pretty sure he is
[22:01:41] <marcospgp> wafflejock: yea I noticed
[22:01:49] *** Ir1sh has joined #angularjs
[22:01:49] *** cobakobodob has quit IRC
[22:02:08] *** anjumkaiser has quit IRC
[22:02:16] *** sgnl has quit IRC
[22:02:19] *** jbourassa has quit IRC
[22:02:32] *** foo-bar- has quit IRC
[22:02:44] <JesusAbarca> I'm using the Chrome Storage API for storing two objects with information for offline usage
[22:02:45] *** InezK is now known as InezK_away
[22:03:05] <JesusAbarca> I have successfully written the data into the Chrome Storage and even have retrieved it, the only problem is, the variables in which I am storing that retrieved data won't update my html page.
[22:03:21] <wafflejock> JesusAbarca: ah okay this is probably simple
[22:03:42] *** ascarter has quit IRC
[22:03:53] <wafflejock> JesusAbarca: if you are doing some async thing "outside of angular context" meaning not using some angular service or directive then you typically have to trigger a call to $scope.$apply to make angular run a digest to update the display
[22:04:05] *** Nizumzen has joined #angularjs
[22:04:06] <JesusAbarca> I've been reading about it the last couple of days and seems like the issue is that I'm not telling angular to update the view after the asynchronous function executes
[22:04:30] <wafflejock> JesusAbarca: can you show a snippet of your code that retrieves the data and is supposed to update the model
[22:04:55] <JesusAbarca> I tried putting $scope.$apply and I got an error
[22:05:07] <wafflejock> JesusAbarca: yeah show a bit of code and can tell you more
[22:05:30] <JesusAbarca> thanks a lot, let me put it on plnkr
[22:05:37] <wafflejock> k cool
[22:06:16] *** Ir1sh has quit IRC
[22:06:19] *** L0u0s has quit IRC
[22:06:27] *** mtsr has quit IRC
[22:06:27] *** Nizumzen has quit IRC
[22:06:40] *** sdouglas has joined #angularjs
[22:06:57] <zelrik> what s you guys favorite backend
[22:07:01] <strfcks> wafflejock: i couldn’t make it work => http://plnkr.co/edit/5TBcSKdUBpVGlXMK5jJr?p=preview
[22:07:14] <strfcks> wafflejock: did it work for you ?
[22:07:22] *** anjumkaiser has joined #angularjs
[22:07:30] *** mtsr has joined #angularjs
[22:07:47] *** jpstone has quit IRC
[22:07:57] *** sdouglas has quit IRC
[22:08:01] *** sgnl has joined #angularjs
[22:08:12] *** davemerwin has joined #angularjs
[22:08:44] <Happyhaha> wafflejock, Thank you very much! You made my "mind" clear! :)
[22:09:27] *** pkayfire has joined #angularjs
[22:09:59] *** subnl2 has joined #angularjs
[22:10:07] *** Yahkob has quit IRC
[22:10:47] *** apetro_ has quit IRC
[22:11:24] *** apetro_ has joined #angularjs
[22:11:29] <JesusAbarca> http://plnkr.co/edit/K4msDfdrkUIGmggc8IKn?p=preview
[22:11:50] *** sdouglas_ has joined #angularjs
[22:12:01] *** weaktea__ has joined #angularjs
[22:12:10] *** Milanito has quit IRC
[22:12:18] <JesusAbarca> <wafflejock> That's the code
[22:12:34] *** davemerwin has quit IRC
[22:12:34] *** pkayfire has quit IRC
[22:12:36] *** Willow_ has joined #angularjs
[22:14:11] *** Sijdesign has quit IRC
[22:14:12] <wafflejock> strfcks: didn't update all the HTML i guess http://plnkr.co/edit/jfcOIn6L7nS4mSBpPY4s?p=preview
[22:14:35] *** jbourassa has joined #angularjs
[22:15:14] *** mac_ified has joined #angularjs
[22:15:14] <strfcks> wafflejock: ohh great :)
[22:15:26] <strfcks> wafflejock: what was my fault ?
[22:15:34] *** apetro_ has quit IRC
[22:15:46] *** travm has joined #angularjs
[22:16:16] <strfcks> wafflejock: and what is that $timeout for ?
[22:16:17] <wafflejock> strfcks: well in the factory I include the data I want to share in the object that gets returned and instead of replacing the array I just use angular.copy to empty it and repopulate it with results from fetching the data
[22:16:26] <wafflejock> strfcks: the $timeout was just to fake the $http call
[22:16:39] <wafflejock> strfcks: will cause a $scope.apply just like $http
[22:17:08] *** Trow has quit IRC
[22:17:10] *** Happyhaha has quit IRC
[22:17:18] <wafflejock> strfcks: so how I have it setup all the references from both the controllers and within the factory are pointing to 1 object the array I defined in there
[22:17:25] *** hugorodrigues has joined #angularjs
[22:17:37] <strfcks> wafflejock: hmm, i did it in the $scope, that might be the problem ?
[22:18:08] <wafflejock> strfcks: the problem is just with creating new objects instead of pointing at the same object
[22:18:13] *** mac_ified has quit IRC
[22:18:13] *** fauverism has quit IRC
[22:18:41] <wafflejock> the way you were doing it the local scope object would only be updated when the then was triggered
[22:21:10] <TheAceOfHearts> wafflejock: http://i.imgur.com/OucJ33h.png
[22:21:16] *** JoshGlzBrk has quit IRC
[22:21:29] <wafflejock> haha nice
[22:21:43] *** s3shs has quit IRC
[22:22:27] *** dorkboy1971 has joined #angularjs
[22:22:47] *** cswelin has quit IRC
[22:23:04] *** anjumkaiser has quit IRC
[22:23:33] *** gnrlbzik has quit IRC
[22:24:15] <wafflejock> JesusAbarca: something like this I imagine http://plnkr.co/edit/i33zU7Dw1VzHAqphEJn1?p=preview
[22:24:32] <wafflejock> JesusAbarca: since it needs to be a chrome extension to have the manifest it's hard to test
[22:24:51] *** cswelin has joined #angularjs
[22:24:59] *** phuh has quit IRC
[22:25:16] <strfcks> wafflejock: thank you very much btw still trying to understand :)
[22:25:40] <wafflejock> strfcks: np... let me see if I can find a diagram that might make it easier
[22:25:42] *** JimTheDev has quit IRC
[22:25:46] *** phuh has joined #angularjs
[22:26:22] *** jharbaugh has joined #angularjs
[22:27:14] <JesusAbarca> wafflejock: let me test it
[22:28:36] *** cobakobodob has joined #angularjs
[22:28:46] *** sdouglas_ has quit IRC
[22:29:38] <strfcks> wafflejock: i have another question, why did you need to repopulate array data with angular.copy ?
[22:29:52] *** snapwich has joined #angularjs
[22:29:52] *** gnrlbzik has joined #angularjs
[22:29:56] *** phuh has quit IRC
[22:30:04] *** awestroke has quit IRC
[22:30:44] *** Shrooms has quit IRC
[22:30:59] *** tylerlh has joined #angularjs
[22:31:42] <JesusAbarca> wafflejock: it won't execute now
[22:31:52] *** Thorn__ is now known as Thorn
[22:32:00] <JesusAbarca> I'm not getting the logs showing that the data has been retrieved
[22:33:10] <wafflejock> JesusAbarca: you need to use the debugger to tell us what line and what error you get
[22:33:29] <wafflejock> JesusAbarca: you can drop the word debugger; in your script and chrome will break there if you have the debug tools open
[22:33:59] <wafflejock> strfcks: http://i.imgur.com/jQWFlA6.png <-- this is something I started sketching up, really the overall point though is you can have references from the controller that point to some real data that is stored in a service or factory
[22:34:11] *** dancrew32 has joined #angularjs
[22:34:55] <wafflejock> strfcks: so in your allergyFactory I created the allergyList setting it equal to an empty array [];
[22:35:07] <wafflejock> after that in each controller we setup a property to point to that array
[22:35:08] *** tylerlh has quit IRC
[22:35:08] *** dancrew32 has joined #angularjs
[22:35:31] <wafflejock> when we populate the array by pushing things into it or popping things that's fine because we haven't changed the reference to the original array we created above
[22:36:04] *** michaelchum has joined #angularjs
[22:36:05] <wafflejock> if we were to do something like allergyFactory.allergyList = resp.data; now the references we had in the controller are still pointing at the original array but we've assigned the factory to use a new array
[22:36:23] <strfcks> wafflejock: you are awesome
[22:36:34] *** jbourassa has quit IRC
[22:36:34] <wafflejock> thx I'm glad that made some sense
[22:36:35] <strfcks> wafflejock: let me absorve all for a while
[22:37:03] *** alinou has quit IRC
[22:37:15] <JesusAbarca> wafflejock: it reads "Error in response to storage.get: ReferenceError: $scope is not defined"
[22:37:21] *** tfennelly has joined #angularjs
[22:37:35] <wafflejock> JesusAbarca: did you inject it in the function
[22:37:45] <wafflejock> JesusAbarca: it should be injected where you had $http injected
[22:38:13] *** gnrlbzik has quit IRC
[22:38:49] <JesusAbarca> yes, I wrote : app.controller('infoMaestros', function($scope, $http) {
[22:39:20] *** tylerlh has joined #angularjs
[22:39:48] *** dancrew32 has quit IRC
[22:40:20] *** roymiloh has quit IRC
[22:40:26] *** dancrew32 has joined #angularjs
[22:40:34] *** Dextorion has quit IRC
[22:40:57] *** gnrlbzik has joined #angularjs
[22:42:20] *** gnrlbzik_ has joined #angularjs
[22:42:21] *** gnrlbzik has quit IRC
[22:42:25] *** tomzx`afk is now known as tomzx
[22:44:18] *** Sengoku has joined #angularjs
[22:45:37] *** T0lkman has quit IRC
[22:45:43] *** lite_ has joined #angularjs
[22:46:11] *** J0514H has quit IRC
[22:47:29] <marcospgp> "Storing cookies in RGB values of auto-generated, force-cached PNGs using HTML5 Canvas tag to read pixels (cookies) back out" These are some rambo cookies
[22:47:36] *** jbourassa has joined #angularjs
[22:48:40] *** conner_ has joined #angularjs
[22:48:44] *** Ir1sh has joined #angularjs
[22:49:10] *** alinou has joined #angularjs
[22:49:11] *** caitp has quit IRC
[22:49:56] *** lite_ has quit IRC
[22:51:40] *** danielpquinn has joined #angularjs
[22:52:48] *** hydrozen has quit IRC
[22:53:03] *** Nizumzen has joined #angularjs
[22:53:31] *** JimTheDev has joined #angularjs
[22:53:31] *** JimTheDev has joined #angularjs
[22:55:56] *** danielpquinn has quit IRC
[22:56:13] *** patrickarlt has quit IRC
[22:56:30] *** roymilder has joined #angularjs
[22:56:48] *** ilmgb has joined #angularjs
[22:56:52] *** starfox_21 has quit IRC
[22:56:57] *** patrickarlt has joined #angularjs
[22:57:26] *** ilmgb has joined #angularjs
[22:57:38] *** Sengoku has quit IRC
[22:58:07] *** hydrozen has joined #angularjs
[22:59:12] *** T0lkman has joined #angularjs
[23:00:27] *** Tidwell has quit IRC
[23:00:37] *** roymilder has quit IRC
[23:01:17] <JesusAbarca> wafflejock: it keeps telling me $scope is not defined
[23:01:18] *** patrickarlt has quit IRC
[23:01:43] *** PCChris_ has joined #angularjs
[23:02:16] *** starfox_21 has joined #angularjs
[23:03:06] *** InezK_away is now known as InezK
[23:03:58] *** Yyydelilah has joined #angularjs
[23:04:44] *** PCChris has quit IRC
[23:04:52] *** Yyydelilah has quit IRC
[23:04:54] *** darrin has joined #angularjs
[23:05:04] *** dextorion has joined #angularjs
[23:06:38] *** dorkboy1971 has quit IRC
[23:07:41] *** travm has quit IRC
[23:08:34] <wafflejock> JesusAbarca: http://plnkr.co/edit/i33zU7Dw1VzHAqphEJn1?p=preview
[23:08:58] *** morenoh149 has quit IRC
[23:08:59] <wafflejock> JesusAbarca: it should just be a matter of replacing setTimeout with your async call since both are "outside angular context"
[23:09:00] *** [n0b0dy] has quit IRC
[23:09:10] *** [n0b0dy] has joined #angularjs
[23:09:19] <wafflejock> JesusAbarca: I think I was missing $ before apply initially
[23:09:45] *** dextorion has quit IRC
[23:10:16] *** tylerlh has quit IRC
[23:10:51] *** tylerlh has joined #angularjs
[23:11:13] *** snurfery has quit IRC
[23:11:18] *** ceephax has joined #angularjs
[23:11:49] *** roymiloh has joined #angularjs
[23:12:41] *** caitp has joined #angularjs
[23:12:46] *** InezK is now known as InezK_away
[23:13:03] *** bkuberek has joined #angularjs
[23:13:39] *** kayloos has joined #angularjs
[23:13:43] <wafflejock> marcospgp: reminds me of http://en.wikipedia.org/wiki/AACS_encryption_key_controversy
[23:14:15] *** senayar has joined #angularjs
[23:14:45] *** sdouglas has joined #angularjs
[23:15:03] *** darrin has quit IRC
[23:15:08] *** tylerlh has quit IRC
[23:15:31] *** chrisbirk has joined #angularjs
[23:16:13] *** bkuberek_ has quit IRC
[23:16:23] *** LuxuryMode has joined #angularjs
[23:16:36] *** nemothekid has joined #angularjs
[23:17:30] <JesusAbarca> wafflejock: thank you very much, that worked really well
[23:17:41] <wafflejock> JesusAbarca: awesome glad it's sorted
[23:17:49] *** kayloos has quit IRC
[23:17:58] *** bkuberek_ has joined #angularjs
[23:18:04] <JesusAbarca> If you were in Mexico I would buy you a beer :)
[23:18:31] <wafflejock> JesusAbarca: ah it's cool have one for me :)
[23:19:00] *** JesusAbarca has quit IRC
[23:19:04] *** roymiloh has quit IRC
[23:19:08] *** ChrisC_ has joined #angularjs
[23:19:20] *** JimTheDev has quit IRC
[23:20:23] *** wilmoore has quit IRC
[23:21:18] *** bkuberek has quit IRC
[23:21:36] *** dextorion has joined #angularjs
[23:21:43] *** InezK_away is now known as InezK
[23:22:14] <ChrisC_> for anybody that uses ui-router is there an easy way to break up the config into multiple files? i've tried but it only uses the last config i setup
[23:22:48] <oniijin> should be fine.
[23:23:07] *** davek has joined #angularjs
[23:24:25] *** darrin has joined #angularjs
[23:24:57] *** endash has quit IRC
[23:25:24] *** roymiloh has joined #angularjs
[23:25:26] *** InezK is now known as InezK_away
[23:25:43] *** wilmoore has joined #angularjs
[23:25:48] *** tangorri has quit IRC
[23:26:26] *** Jae has joined #angularjs
[23:26:38] *** tangorri has joined #angularjs
[23:26:58] *** jbourassa has quit IRC
[23:27:18] *** ilmgb has quit IRC
[23:29:00] *** subnl2 has left #angularjs
[23:30:10] *** Sengoku has joined #angularjs
[23:30:31] *** ratra has joined #angularjs
[23:30:52] <ratra> Всем привет
[23:30:54] *** Vinnyceptr has quit IRC
[23:31:29] <ratra> Кто знает как переводится на русский scope именно в смысле angularJS ?
[23:31:45] *** mattt_ has quit IRC
[23:33:08] *** wilmoore has quit IRC
[23:33:25] *** fedenunez has quit IRC
[23:34:02] *** hydrozen has quit IRC
[23:34:13] *** vonnegut has quit IRC
[23:34:20] *** Sengoku has quit IRC
[23:34:39] *** travm has joined #angularjs
[23:34:52] <marcospgp> hello comrade
[23:35:38] *** emeve89 has joined #angularjs
[23:35:51] <emeve89> hello guys! how u doing?
[23:35:59] *** Aerospark has joined #angularjs
[23:36:10] *** wilmoore has joined #angularjs
[23:37:23] <emeve89> I'm putting my nose into the MEAN stack, which book/tutorial/whatever do you recommend me?
[23:38:13] *** InezK_away is now known as InezK
[23:38:32] *** quantax- has joined #angularjs
[23:39:22] *** josh-k has joined #angularjs
[23:40:15] *** ratra has quit IRC
[23:40:31] *** RATRA has joined #angularjs
[23:40:37] <T0lkman> mg-book by lerner
[23:41:02] <marcospgp> vimeo jsla channel, lots of starting presentations there emeve89
[23:41:24] *** tangorri has quit IRC
[23:41:34] *** JimTheDev has joined #angularjs
[23:41:34] *** JimTheDev has joined #angularjs
[23:41:35] *** ilmgb has joined #angularjs
[23:42:13] *** alinou has quit IRC
[23:42:45] *** JimTheDev has quit IRC
[23:44:25] *** michaelm has quit IRC
[23:44:25] *** akrikos has joined #angularjs
[23:45:02] <emeve89> mg-book talks only about angular
[23:45:22] *** starfox_21 has quit IRC
[23:45:36] *** t1mmen has joined #angularjs
[23:45:55] *** travm has quit IRC
[23:46:35] *** lite_ has joined #angularjs
[23:47:29] *** InezK is now known as InezK_away
[23:49:15] *** akrikos has quit IRC
[23:49:25] *** vonnegut has joined #angularjs
[23:50:10] *** marr has joined #angularjs
[23:50:16] *** bmac has joined #angularjs
[23:50:29] *** travm has joined #angularjs
[23:50:44] *** lite_ has quit IRC
[23:50:58] *** Foxandxss has joined #angularjs
[23:50:59] *** Aerospark has quit IRC
[23:51:35] *** pdillinger1 has quit IRC
[23:52:25] *** danielpquinn has joined #angularjs
[23:52:40] <Al`> hmm where am I going wrong here?
[23:52:41] <Al`> http://plnkr.co/edit/CycUyrxHl6SH7f0FNm5B?p=preview
[23:52:47] <Al`> the groceries collection is always empty
[23:52:52] *** travm has quit IRC
[23:53:16] *** Notte has joined #angularjs
[23:53:30] *** lasha has joined #angularjs
[23:54:08] *** lasha has left #angularjs
[23:54:27] <marcospgp> Al': let me see
[23:54:54] <RATRA> How to call factory method to be executed from run ?
[23:55:00] <marcospgp> Al': I believe your problem is with setTimeOut. It doesn't trigger changes in the scope to angular I think
[23:55:01] *** nostro has quit IRC
[23:55:21] <marcospgp> Al': https://docs.angularjs.org/api/ng/service/$timeout
[23:55:31] *** bmac has quit IRC
[23:56:03] *** kalehv_ has joined #angularjs
[23:56:06] *** spencercarnage has joined #angularjs
[23:57:11] *** roymilder has joined #angularjs
[23:57:19] *** roymiloh has quit IRC
[23:57:20] *** danielpquinn has quit IRC
[23:57:59] *** noren has joined #angularjs
[23:58:01] *** kirfu has quit IRC
[23:59:01] *** kalehv has quit IRC
[23:59:26] *** [n0b0dy] has quit IRC
[23:59:36] *** [n0b0dy] has joined #angularjs
top

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